:root {
    --accent-color: #03346c;
    --accent-color-light: #006eff;
    --accent-gradient: linear-gradient(135deg, var(--accent-color), var(--accent-color-light));
    --light-blue: rgba(0, 110, 255, 0.1);
    --text-dark: #333;
    --text-light: #666;
    --white: #fff;
    --shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    --card-shadow: 0 15px 35px rgba(0, 0, 0, 0.06);
    --transition: all 0.3s ease;
    --border-radius: 15px;
    --font-primary: 'Poppins', sans-serif;
}



.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    position: relative;
    z-index: 1;
}

/* Badge Styles */
.badge-wrapper {
    margin-bottom: 20px;
}

.badge, .section-badge {
    display: inline-block;
    background: var(--light-blue);
    color: var(--accent-color-light);
    font-size: 14px;
    font-weight: 600;
    padding: 8px 16px;
    border-radius: 50px;
    margin-bottom: 15px;
    letter-spacing: 0.5px;
}

.section-badge {
    background: linear-gradient(to right, rgba(3, 52, 108, 0.15), rgba(0, 110, 255, 0.15));
}

/* Hero Section */
.hero {
    padding: 180px 0 100px;
    background-color: var(--white);
    position: relative;
    overflow: hidden;
}

.hero-content {
    display: flex;
    align-items: center;
    gap: 60px;
    position: relative;
    z-index: 2;
}

.hero-text {
    flex: 1;
    position: relative;
}

.hero-title {
    font-size: 48px;
    font-weight: 700;
    color: var(--accent-color);
    margin-bottom: 20px;
    line-height: 1.2;
    animation: fadeIn 1s ease-out;
}

.hero-description {
    font-size: 18px;
    color: var(--text-light);
    margin-bottom: 30px;
    animation: fadeIn 1.2s ease-out;
    max-width: 600px;
}

.hero-image {
    flex: 1;
    animation: float 6s ease-in-out infinite;
    position: relative;
}

.hero-image img {
    width: 100%;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
}

.floating-icon {
    position: absolute;
    width: 60px;
    height: 60px;
    background: var(--accent-gradient);
    border-radius: 50%;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    box-shadow: 0 10px 25px rgba(0, 110, 255, 0.3);
    z-index: 2;
}

.icon-1 {
    top: 20%;
    left: -30px;
    animation: float 7s ease-in-out infinite;
}

.icon-2 {
    bottom: 15%;
    left: 15%;
    animation: float 5s ease-in-out infinite 1s;
}

.icon-3 {
    top: 40%;
    right: -20px;
    animation: float 6s ease-in-out infinite 0.5s;
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 16px 32px;
    background: var(--accent-gradient);
    color: var(--white);
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    box-shadow: 0 10px 20px rgba(3, 52, 108, 0.2);
    transition: var(--transition);
    border: none;
    cursor: pointer;
    animation: fadeIn 1.4s ease-out;
    overflow: hidden;
    position: relative;
    z-index: 1;
}

.btn::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--accent-color-light), var(--accent-color));
    z-index: -1;
    transition: opacity 0.5s ease;
    opacity: 0;
}

.btn:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(3, 52, 108, 0.3);
}

.btn:hover::after {
    opacity: 1;
}

.btn i {
    transition: transform 0.3s ease;
}

.btn:hover i {
    transform: translateX(5px);
}

.shape-divider {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    overflow: hidden;
    line-height: 0;
}

.shape-divider svg {
    position: relative;
    display: block;
    width: calc(100% + 1.3px);
    height: 60px;
}

.shape-divider .shape-fill {
    fill: #f8faff;
}

/* Services Section */
.section {
    padding: 100px 0;
    position: relative;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

/* Badge above the title */
.section-badge {
    display: inline-block;
    background: linear-gradient(to right, rgba(3, 52, 108, 0.15), rgba(0, 110, 255, 0.15));
    color: var(--primary-color, #003366); /* fallback if variable missing */
    font-size: 14px;
    font-weight: 600;
    padding: 6px 16px;
    border-radius: 30px;
    margin-bottom: 15px;
    letter-spacing: 0.7px;
    text-transform: uppercase;
    border: 1px solid rgba(0, 110, 255, 0.2);
}

/* Section title */
.section-title {
    font-size: 36px;
    font-weight: 700;
    color: var(--accent-color);
    margin-bottom: 15px;
    position: relative;
    display: inline-block;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: var(--accent-gradient);
}

/* Subtitle below title */
.section-subtitle {
    font-size: 18px;
    color: var(--text-light);
    max-width: 700px;
    margin: 15px auto 0;
}


.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
    gap: 30px;
}

/* Make sure the last item fills the row if it's alone */
.services-grid::after {
    content: "";
    grid-column: span 1;
}

.service-card {
    background-color: var(--white);
    border-radius: var(--border-radius);
    padding: 40px 30px;
    box-shadow: var(--card-shadow);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    z-index: 1;
    border: 1px solid rgba(0, 0, 0, 0.03);
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 5px;
    height: 100%;
    background: var(--accent-gradient);
    transition: var(--transition);
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.1);
}

.service-card:hover::before {
    width: 100%;
    opacity: 0.05;
    z-index: -1;
}

.service-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 80px;
    height: 80px;
    background: var(--accent-gradient);
    border-radius: 20px;
    margin-bottom: 25px;
    color: var(--white);
    font-size: 32px;
    box-shadow: 0 10px 20px rgba(0, 110, 255, 0.2);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.service-icon::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.2), transparent);
    top: -50%;
    left: -50%;
    transform: rotate(35deg);
    transition: var(--transition);
}

.service-card:hover .service-icon {
    transform: rotateY(360deg);
}

.service-card:hover .service-icon::after {
    top: 100%;
    left: 100%;
}

.service-title {
    font-size: 22px;
    font-weight: 600;
    color: var(--accent-color);
    margin-bottom: 15px;
}

.service-description {
    color: var(--text-light);
    margin-bottom: 20px;
}

.card-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--accent-color-light);
    font-weight: 600;
    text-decoration: none;
    transition: var(--transition);
}

.card-link i {
    transition: transform 0.3s ease;
}

.card-link:hover {
    color: var(--accent-color);
}

.card-link:hover i {
    transform: translateX(5px);
}

.section-bg-decoration {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: 0;
}

.bg-circle {
    position: absolute;
    border-radius: 50%;
    z-index: -1;
}

.circle-1 {
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(0, 110, 255, 0.05) 0%, rgba(0, 110, 255, 0) 70%);
    top: 10%;
    left: -150px;
}

.circle-2 {
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(3, 52, 108, 0.03) 0%, rgba(3, 52, 108, 0) 70%);
    bottom: 5%;
    right: -250px;
}

/* Technologies Section */
.tech-section {
    background-color: #f8faff;
    position: relative;
}

.tech-tabs {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 40px;
    gap: 15px;
}

.tech-tab {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 25px;
    background-color: var(--white);
    border-radius: 30px;
    font-weight: 500;
    color: var(--text-dark);
    cursor: pointer;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: var(--transition);
    border: 1px solid rgba(0, 0, 0, 0.03);
}

.tech-tab i {
    font-size: 18px;
}

.tech-tab.active {
    background: var(--accent-gradient);
    color: var(--white);
    border-color: transparent;
}

.tech-tab:hover:not(.active) {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
}

.tech-grid {
    display: none;
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    gap: 25px;
    margin-top: 40px;
}

.tech-grid.active {
    display: grid;
    animation: fadeIn 0.5s ease-out;
}

.tech-item {
    background-color: var(--white);
    border-radius: var(--border-radius);
    padding: 25px 20px;
    text-align: center;
    box-shadow: var(--card-shadow);
    transition: var(--transition);
    border: 1px solid rgba(0, 0, 0, 0.03);
}

.tech-item:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.tech-icon {
    font-size: 45px;
    margin-bottom: 15px;
    color: var(--accent-color-light);
    transition: var(--transition);
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.tech-item:hover .tech-icon {
    transform: scale(1.15);
    color: var(--accent-color);
}

.tech-name {
    font-weight: 500;
}

/* AI Section */
.ai-section {
    position: relative;
    background: linear-gradient(to bottom, #fff, #f8faff);
}

.ai-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.ai-card {
    background-color: var(--white);
    border-radius: var(--border-radius);
    padding: 30px;
    box-shadow: var(--card-shadow);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(0, 0, 0, 0.03);
}

.ai-card::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: var(--accent-gradient);
    transition: var(--transition);
}

.ai-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.1);
}

.ai-card:hover::after {
    height: 100%;
    opacity: 0.05;
    z-index: -1;
}

.ai-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 70px;
    height: 70px;
    background: var(--accent-gradient);
    border-radius: 50%;
    margin-bottom: 20px;
    color: var(--white);
    font-size: 28px;
    box-shadow: 0 10px 20px rgba(0, 110, 255, 0.2);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.ai-icon::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.2), transparent);
    top: -50%;
    left: -50%;
    transform: rotate(35deg);
    transition: var(--transition);
}

.ai-card:hover .ai-icon {
    transform: scale(1.1);
}

.ai-card:hover .ai-icon::after {
    top: 100%;
    left: 100%;
}

.ai-title {
    font-size: 20px;
    font-weight: 600;
    color: var(--accent-color);
    margin-bottom: 15px;
}

.ai-bg-decoration {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: 0;
}

.ai-circle {
    position: absolute;
    border-radius: 50%;
    z-index: -1;
}

.circle-1 {
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(0, 110, 255, 0.03) 0%, rgba(0, 110, 255, 0) 70%);
    top: 20%;
    right: -200px;
}

.circle-2 {
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(3, 52, 108, 0.04) 0%, rgba(3, 52, 108, 0) 70%);
    bottom: 10%;
    left: -150px;
}

.circle-3 {
    width: 200px;
    height: 200px;
    background: radial-gradient(circle, rgba(0, 110, 255, 0.05) 0%, rgba(0, 110, 255, 0) 70%);
    top: 40%;
    left: 10%;
}

/* Industries Section */
.industries {
    background-color: #f8faff;
}

.industries-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 25px;
}

/* Make sure the last row is fully filled */
.industries-grid::after {
    content: "";
    grid-column: auto / span 1;
}

.industry-card {
    background-color: var(--white);
    border-radius: var(--border-radius);
    padding: 30px;
    text-align: center;
    box-shadow: var(--card-shadow);
    transition: var(--transition);
    border: 1px solid rgba(0, 0, 0, 0.03);
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.industry-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 0;
    background: var(--accent-gradient);
    opacity: 0.05;
    transition: var(--transition);
    z-index: -1;
}

.industry-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.industry-card:hover::before {
    height: 100%;
}

.industry-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 70px;
    height: 70px;
    background: var(--accent-gradient);
    border-radius: 50%;
    margin-bottom: 20px;
    color: var(--white);
    font-size: 28px;
    box-shadow: 0 10px 20px rgba(0, 110, 255, 0.2);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.industry-icon::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.2), transparent);
    top: -50%;
    left: -50%;
    transform: rotate(35deg);
    transition: var(--transition);
}

.industry-card:hover .industry-icon {
    transform: scale(1.15);
}

.industry-card:hover .industry-icon::after {
    top: 100%;
    left: 100%;
}

/* Global Reach */
.global-section {
    position: relative;
    background: linear-gradient(to bottom, #f8faff, #fff);
}

.global-map {
    position: relative;
    height: 400px;
    background-image: url('https://i.imgur.com/YIWgQM4.png');
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
    margin: 50px 0;
}

.location {
    position: absolute;
    width: 20px;
    height: 20px;
    background-color: var(--accent-color-light);
    border-radius: 50%;
    transform: translate(-50%, -50%);
}

.location::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 40px;
    height: 40px;
    background-color: rgba(0, 110, 255, 0.3);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    animation: pulse 2s infinite;
}

.location.usa {
    top: 40%;
    left: 20%;
}

.location.uk {
    top: 35%;
    left: 45%;
}

.location.india {
    top: 55%;
    left: 70%;
}

.offices {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.office {
    background-color: var(--white);
    border-radius: var(--border-radius);
    padding: 30px;
    box-shadow: var(--card-shadow);
    text-align: center;
    transition: var(--transition);
    border: 1px solid rgba(0, 0, 0, 0.03);
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.office::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: var(--accent-gradient);
    transition: var(--transition);
}

.office:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.office:hover::before {
    height: 100%;
    opacity: 0.05;
    z-index: -1;
}

.office-flag {
    font-size: 48px;
    margin-bottom: 20px;
}

.office-title {
    font-size: 22px;
    font-weight: 600;
    color: var(--accent-color);
    margin-bottom: 15px;
}

/* Why Choose Us */
.why-choose {
    background-color: #f8faff;
}

.features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

/* Make sure the last row has proper spacing */
.features::after {
    content: "";
    grid-column: auto / span 1;
}

.feature {
    background-color: var(--white);
    border-radius: var(--border-radius);
    padding: 40px 30px;
    box-shadow: var(--card-shadow);
    transition: var(--transition);
    display: flex;
    align-items: flex-start;
    border: 1px solid rgba(0, 0, 0, 0.03);
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.feature::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 5px;
    height: 100%;
    background: var(--accent-gradient);
    transition: var(--transition);
}

.feature:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.feature:hover::before {
    width: 100%;
    opacity: 0.05;
    z-index: -1;
}

.feature-number {
    font-size: 60px;
    font-weight: 700;
    color: var(--accent-color-light);
    opacity: 0.15;
    margin-right: 20px;
    line-height: 1;
}

.feature-content h3 {
    font-size: 22px;
    font-weight: 600;
    color: var(--accent-color);
    margin-bottom: 15px;
}

/* CTA Section */
.cta {
    background: linear-gradient(135deg, rgba(3, 52, 108, 0.04), rgba(0, 110, 255, 0.04));
    border-radius: var(--border-radius);
    padding: 80px 40px;
    text-align: center;
    margin: 100px 0 50px;
    position: relative;
    overflow: hidden;
    box-shadow: var(--card-shadow);
    border: 1px solid rgba(0, 0, 0, 0.03);
}

.cta-pattern {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url("data:image/svg+xml,%3Csvg width='100' height='100' viewBox='0 0 100 100' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M11 18c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7zm48 25c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7zm-43-7c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zm63 31c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zM34 90c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zm56-76c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zM12 86c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm28-65c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm23-11c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm-6 60c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm29 22c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zM32 63c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm57-13c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm-9-21c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM60 91c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM35 41c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM12 60c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2z' fill='%23006eff' fill-opacity='0.05' fill-rule='evenodd'/%3E%3C/svg%3E");
    opacity: 0.8;
    z-index: 0;
}

.cta-title {
    font-size: 36px;
    font-weight: 700;
    color: var(--accent-color);
    margin-bottom: 20px;
    position: relative;
    z-index: 1;
}

.cta-text {
    font-size: 18px;
    color: var(--text-light);
    margin-bottom: 40px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    position: relative;
    z-index: 1;
}

.btn-cta {
    position: relative;
    z-index: 1;
    background: var(--accent-gradient);
    padding: 18px 36px;
    font-size: 18px;
}

/* Animations */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes float {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-20px); }
    100% { transform: translateY(0px); }
}

@keyframes pulse {
    0% { transform: translate(-50%, -50%) scale(0.5); opacity: 1; }
    100% { transform: translate(-50%, -50%) scale(1.5); opacity: 0; }
}

.animate-fadeIn {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.animate-fadeIn.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Responsive styles */
@media (max-width: 992px) {
    .hero-content {
        flex-direction: column-reverse;
    }
    
    .hero-title {
        font-size: 36px;
    }
    
    .hero-image {
        margin-bottom: 40px;
    }
    
    .services-grid {
        grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    }
}

@media (max-width: 768px) {
    .section {
        padding: 80px 0;
    }
    
    .tech-tabs {
        flex-direction: row;
        flex-wrap: wrap;
        gap: 10px;
    }
    
    .tech-tab {
        padding: 10px 15px;
        font-size: 14px;
    }
    
    .tech-grid {
        grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
    }
    
    .features {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 576px) {
    .hero {
        padding: 130px 0 70px;
    }
    
    .hero-title {
        font-size: 30px;
    }
    
    .section {
        padding: 70px 0;
    }
    
    .section-title {
        font-size: 28px;
    }
    
    .tech-grid {
        grid-template-columns: repeat(auto-fill, minmax(100px, 1fr));
    }
    
    .btn {
        width: 100%;
        text-align: center;
        justify-content: center;
    }
    
    .cta {
        padding: 60px 20px;
    }
    
    .cta-title {
        font-size: 28px;
    }
    
    .floating-icon {
        width: 40px;
        height: 40px;
        font-size: 18px;
    }
}