@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700;800&family=Plus+Jakarta+Sans:wght@300;400;500;600;700;800&display=swap');

:root {
    --primary-color: #0066cc;
    --primary-dark: #004fb0;
    --primary-light: #eef5fc;
    --secondary-color: #3b82f6;
    --dark-bg: #0b1a30;
    --light-bg: #f8fafc;
    --border-color: #e2e8f0;
    --text-color: #334155;
    --text-dark: #0f172a;
    --text-light: #64748b;
    --white: #ffffff;
    --accent-blue: #0ea5e9;
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Plus Jakarta Sans', sans-serif;
    --shadow-sm: 0 1px 3px rgba(0,0,0,0.05), 0 1px 2px rgba(0,0,0,0.02);
    --shadow-md: 0 4px 6px -1px rgba(0,0,0,0.05), 0 2px 4px -1px rgba(0,0,0,0.03);
    --shadow-lg: 0 10px 15px -3px rgba(0,0,0,0.06), 0 4px 6px -2px rgba(0,0,0,0.04);
    --shadow-xl: 0 20px 25px -5px rgba(0,0,0,0.08), 0 10px 10px -5px rgba(0,0,0,0.04);
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --border-radius: 12px;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: var(--font-body);
    background-color: var(--white);
    color: var(--text-color);
    line-height: 1.6;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    color: var(--text-dark);
    font-weight: 700;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* Layout Utilities */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

.section-padding {
    padding: 80px 0;
}

/* Header Styles */
.top-header {
    background-color: var(--white);
    border-bottom: 1px solid var(--border-color);
    padding: 15px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: var(--shadow-sm);
}

.top-header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo img {
    height: 48px;
}

.logo-text {
    display: flex;
    flex-direction: column;
}

.logo-title {
    font-size: 24px;
    font-weight: 800;
    color: var(--text-dark);
    line-height: 1;
    letter-spacing: -0.5px;
}

.logo-title span {
    color: var(--primary-color);
}

.logo-subtitle {
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: var(--text-light);
    margin-top: 2px;
}

nav ul {
    display: flex;
    list-style: none;
    gap: 32px;
    align-items: center;
}

nav ul li a {
    font-family: var(--font-heading);
    font-size: 15px;
    font-weight: 600;
    color: var(--text-dark);
}

nav ul li a:hover, nav ul li a.active {
    color: var(--primary-color);
}

.call-badge {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 8px 16px;
    border: 1px dashed var(--primary-color);
    border-radius: 30px;
    background-color: var(--primary-light);
}

.call-badge i {
    color: var(--primary-color);
    font-size: 18px;
}

.call-text {
    font-size: 11px;
    color: var(--text-light);
    font-weight: 500;
    line-height: 1.2;
}

.call-number {
    font-size: 14px;
    font-family: var(--font-heading);
    font-weight: 700;
    color: var(--primary-color);
}

/* Dropdown Menu styling */
.nav-dropdown {
    position: relative;
}

.nav-dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background-color: var(--white);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    box-shadow: var(--shadow-lg);
    padding: 10px 0;
    min-width: 200px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: var(--transition);
}

.nav-dropdown:hover .nav-dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.nav-dropdown-menu li {
    width: 100%;
}

.nav-dropdown-menu li a {
    padding: 8px 20px;
    display: block;
    font-size: 14px;
}

.nav-dropdown-menu li a:hover {
    background-color: var(--primary-light);
}

/* Button Styles */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 12px 28px;
    border-radius: 30px;
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 15px;
    cursor: pointer;
    transition: var(--transition);
    border: none;
}

.btn-primary {
    background-color: var(--primary-color);
    color: var(--white);
}

.btn-primary:hover {
    background-color: var(--primary-dark);
    box-shadow: 0 4px 12px rgba(0, 102, 204, 0.25);
}

.btn-outline {
    background-color: transparent;
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
}

.btn-outline:hover {
    background-color: var(--primary-light);
}

.btn-white {
    background-color: var(--white);
    color: var(--primary-color);
}

.btn-white:hover {
    background-color: #f1f5f9;
}

/* Hero Section */
.hero-section {
    position: relative;
    background-color: #f8fafc;
    padding: 100px 0;
    overflow: hidden;
}

.hero-section::after {
    content: '';
    position: absolute;
    right: 0;
    top: 0;
    width: 50%;
    height: 100%;
    background-image: url('assets/hero-bg.jpg');
    background-size: cover;
    background-position: center;
    border-radius: 40px 0 0 40px;
    z-index: 1;
}

/* In case hero-bg doesn't exist, we fallback nicely with a gradient */
.hero-section.no-img::after {
    background: linear-gradient(135deg, #e0f2fe 0%, #bae6fd 100%);
}

.hero-content {
    width: 50%;
    position: relative;
    z-index: 2;
    padding-right: 40px;
}

.hero-tag {
    color: var(--primary-color);
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 12px;
    display: inline-block;
}

.hero-title {
    font-size: 48px;
    line-height: 1.15;
    margin-bottom: 20px;
    color: var(--text-dark);
}

.hero-title span {
    color: var(--primary-color);
}

.hero-desc {
    color: var(--text-light);
    font-size: 16px;
    margin-bottom: 35px;
    max-width: 500px;
}

/* Hero Badges */
.hero-badges {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-top: 50px;
    background-color: var(--white);
    padding: 24px;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-lg);
    position: relative;
    z-index: 5;
}

.badge-item {
    display: flex;
    align-items: flex-start;
    gap: 16px;
}

.badge-icon {
    font-size: 24px;
    color: var(--primary-color);
    background-color: var(--primary-light);
    padding: 12px;
    border-radius: 50%;
}

.badge-title {
    font-size: 15px;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 2px;
}

.badge-desc {
    font-size: 12px;
    color: var(--text-light);
}

/* Section Header */
.section-header {
    text-align: center;
    max-width: 600px;
    margin: 0 auto 50px auto;
}

.section-tag {
    color: var(--primary-color);
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-weight: 700;
    margin-bottom: 12px;
    display: inline-block;
}

.section-title {
    font-size: 36px;
    margin-bottom: 16px;
}

.section-desc {
    color: var(--text-light);
    font-size: 15px;
}

/* Services Grid */
.services-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 20px;
    margin-bottom: 40px;
}

/* For services grid on Home page, showing 12 services in cards */
.service-card {
    grid-column: span 1;
    background-color: var(--white);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    padding: 24px 16px;
    text-align: center;
    transition: var(--transition);
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary-color);
}

.service-card-icon {
    font-size: 32px;
    color: var(--primary-color);
    margin-bottom: 16px;
}

.service-card-title {
    font-size: 15px;
    font-weight: 700;
    margin-bottom: 8px;
    line-height: 1.3;
}

.service-card-desc {
    font-size: 12px;
    color: var(--text-light);
    margin-bottom: 16px;
    min-height: 36px;
}

.service-card-link {
    font-size: 12px;
    font-weight: 700;
    color: var(--primary-color);
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.service-card-link:hover {
    gap: 10px;
}

/* Responsive columns for services */
@media (max-width: 1200px) {
    .services-grid {
        grid-template-columns: repeat(4, 1fr);
    }
    .service-card {
        grid-column: span 1;
    }
}
@media (max-width: 900px) {
    .services-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}
@media (max-width: 600px) {
    .services-grid {
        grid-template-columns: repeat(1, 1fr);
    }
}

.view-all-wrapper {
    text-align: center;
    margin-top: 30px;
}

/* Process Section */
.process-section {
    background-color: var(--light-bg);
}

.process-steps {
    display: flex;
    justify-content: space-between;
    position: relative;
    margin-top: 50px;
}

.process-steps::before {
    content: '';
    position: absolute;
    top: 40px;
    left: 10%;
    right: 10%;
    height: 2px;
    background-image: linear-gradient(to right, var(--primary-color) 50%, rgba(255,255,255,0) 0%);
    background-position: top;
    background-size: 10px 2px;
    background-repeat: repeat-x;
    z-index: 1;
}

.process-item {
    width: 18%;
    text-align: center;
    position: relative;
    z-index: 2;
}

.process-icon-wrapper {
    width: 80px;
    height: 80px;
    background-color: var(--white);
    border: 2px solid var(--border-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px auto;
    font-size: 24px;
    color: var(--primary-color);
    transition: var(--transition);
    box-shadow: var(--shadow-sm);
}

.process-item:hover .process-icon-wrapper {
    border-color: var(--primary-color);
    background-color: var(--primary-light);
    transform: scale(1.05);
}

.process-step-num {
    font-size: 12px;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 4px;
}

.process-item-title {
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 8px;
}

.process-item-desc {
    font-size: 12px;
    color: var(--text-light);
}

@media (max-width: 768px) {
    .process-steps {
        flex-direction: column;
        gap: 30px;
        align-items: center;
    }
    .process-steps::before {
        display: none;
    }
    .process-item {
        width: 100%;
        max-width: 300px;
    }
}

/* Why Choose Us Grid */
.why-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.why-card {
    background-color: var(--white);
    border: 1px solid var(--border-color);
    padding: 30px;
    border-radius: var(--border-radius);
    transition: var(--transition);
}

.why-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary-color);
}

.why-card-icon {
    font-size: 32px;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.why-card-title {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 10px;
}

.why-card-desc {
    font-size: 14px;
    color: var(--text-light);
}

@media (max-width: 900px) {
    .why-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}
@media (max-width: 600px) {
    .why-grid {
        grid-template-columns: repeat(1, 1fr);
    }
}

/* Banner Sections */
.call-to-action-banner {
    background: linear-gradient(135deg, var(--primary-color) 0%, #1d4ed8 100%);
    border-radius: var(--border-radius);
    padding: 50px;
    color: var(--white);
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 50px;
}

.cta-text h3 {
    font-size: 32px;
    color: var(--white);
    margin-bottom: 10px;
}

.cta-text p {
    font-size: 16px;
    opacity: 0.9;
}

.cta-buttons {
    display: flex;
    gap: 15px;
}

@media (max-width: 900px) {
    .call-to-action-banner {
        flex-direction: column;
        gap: 30px;
        text-align: center;
        padding: 40px 24px;
    }
    .cta-buttons {
        justify-content: center;
    }
}

/* Stats Counter Banner */
.stats-banner {
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
    padding: 40px 0;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.stat-item {
    display: flex;
    align-items: center;
    gap: 20px;
}

.stat-icon {
    font-size: 32px;
    color: var(--primary-color);
}

.stat-number {
    font-size: 28px;
    font-weight: 800;
    color: var(--text-dark);
}

.stat-label {
    font-size: 13px;
    color: var(--text-light);
    font-weight: 500;
}

@media (max-width: 768px) {
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Footer Styles */
footer {
    background-color: var(--dark-bg);
    color: #e2e8f0;
    padding-top: 80px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr 1fr;
    gap: 40px;
    padding-bottom: 60px;
    border-bottom: 1px solid #1e293b;
}

.footer-brand p {
    font-size: 14px;
    color: #94a3b8;
    margin: 20px 0;
    line-height: 1.7;
}

.social-links {
    display: flex;
    gap: 12px;
}

.social-links a {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background-color: #1e293b;
    color: #94a3b8;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.social-links a:hover {
    background-color: var(--primary-color);
    color: var(--white);
    transform: translateY(-3px);
}

.footer-col h4 {
    color: var(--white);
    font-size: 16px;
    margin-bottom: 24px;
    position: relative;
    padding-bottom: 8px;
}

.footer-col h4::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 30px;
    height: 2px;
    background-color: var(--primary-color);
}

.footer-col ul {
    list-style: none;
}

.footer-col ul li {
    margin-bottom: 12px;
}

.footer-col ul li a {
    font-size: 14px;
    color: #94a3b8;
}

.footer-col ul li a:hover {
    color: var(--white);
    padding-left: 5px;
}

.contact-info-list li {
    display: flex;
    gap: 12px;
    font-size: 14px;
    color: #94a3b8;
    margin-bottom: 16px;
}

.contact-info-list li i {
    color: var(--primary-color);
    font-size: 16px;
    margin-top: 3px;
}

.copyright-bar {
    padding: 25px 0;
    font-size: 13px;
    color: #94a3b8;
}

.copyright-bar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

@media (max-width: 1024px) {
    .footer-grid {
        grid-template-columns: 2fr 1.5fr 1.5fr;
    }
}
@media (max-width: 768px) {
    .footer-grid {
        grid-template-columns: 1fr;
    }
    .copyright-bar .container {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }
}

/* Contact Us Page Layout */
.contact-page .container {
    max-width: 1420px;
    padding-left: 12px;
    padding-right: 12px;
}

.contact-layout {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 40px;
    margin-bottom: 60px;
}

.contact-card {
    background-color: var(--white);
    border: 1px solid var(--border-color);
    padding: 30px;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.contact-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
    border-color: rgba(0, 102, 204, 0.3);
}

.info-box {
    display: flex;
    gap: 20px;
    padding: 20px 15px;
    border-bottom: 1px solid var(--border-color);
    transition: var(--transition);
    border-radius: var(--border-radius);
}

.info-box:hover {
    background-color: var(--primary-light);
    transform: translateX(5px);
}

.info-box:last-child {
    border-bottom: none;
}

.info-icon {
    width: 50px;
    height: 50px;
    background-color: var(--primary-light);
    color: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    flex-shrink: 0;
    transition: var(--transition);
}

.info-box:hover .info-icon {
    background-color: var(--primary-color);
    color: var(--white);
    transform: scale(1.1);
}

.info-title {
    font-size: 16px;
    font-weight: 700;
    color: var(--text-dark);
}

.info-details {
    font-size: 14px;
    color: var(--text-light);
    margin-top: 4px;
}

.contact-form-wrapper {
    background-color: #f8fafc;
    padding: 40px;
    border-radius: var(--border-radius);
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.contact-form-wrapper:hover {
    border-color: rgba(0, 102, 204, 0.3);
    box-shadow: var(--shadow-md);
}

.form-title {
    font-size: 24px;
    margin-bottom: 24px;
}

.form-group {
    margin-bottom: 20px;
}

.form-label {
    display: block;
    font-size: 14px;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 8px;
}

.form-label span {
    color: #ef4444;
}

.form-control {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    font-family: var(--font-body);
    font-size: 14px;
    background-color: var(--white);
    transition: var(--transition);
}

.form-control:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(0, 102, 204, 0.1);
}

textarea.form-control {
    resize: vertical;
    min-height: 120px;
}

.form-footer-note {
    font-size: 12px;
    color: var(--text-light);
    margin-top: 15px;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
}

@media (max-width: 900px) {
    .contact-layout {
        grid-template-columns: 1fr;
    }
}

/* FAQ Accordion */
.faq-section {
    margin-top: 60px;
}

.faq-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
}

.faq-accordion {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.accordion-item {
    border: 1px solid var(--border-color);
    border-radius: 8px;
    background-color: var(--white);
    overflow: hidden;
}

.accordion-header {
    padding: 18px 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    font-weight: 600;
    font-family: var(--font-heading);
    color: var(--text-dark);
    transition: var(--transition);
}

.accordion-header:hover {
    background-color: var(--primary-light);
}

.accordion-icon {
    font-size: 14px;
    transition: var(--transition);
}

.accordion-content {
    padding: 0 24px;
    max-height: 0;
    overflow: hidden;
    color: var(--text-light);
    font-size: 14px;
    transition: max-height 0.3s ease-out, padding 0.3s ease-out;
}

.accordion-item.active .accordion-icon {
    transform: rotate(45deg);
    color: var(--primary-color);
}

.accordion-item.active .accordion-content {
    padding: 0 24px 20px 24px;
    max-height: 200px;
}

/* Projects Page styles */
.filter-tabs {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.filter-tab {
    padding: 10px 24px;
    border-radius: 30px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    border: 1px solid var(--border-color);
    background-color: var(--white);
    color: var(--text-color);
    transition: var(--transition);
}

.filter-tab:hover, .filter-tab.active {
    background-color: var(--primary-color);
    color: var(--white);
    border-color: var(--primary-color);
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.project-card {
    background-color: var(--white);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    overflow: hidden;
    transition: var(--transition);
}

.project-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.project-img-wrapper {
    position: relative;
    overflow: hidden;
    height: 200px;
    background-color: #cbd5e1;
}

.project-img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.project-card:hover .project-img-wrapper img {
    transform: scale(1.05);
}

.project-tag {
    position: absolute;
    top: 15px;
    left: 15px;
    background-color: var(--primary-light);
    color: var(--primary-color);
    font-size: 11px;
    font-weight: 700;
    padding: 4px 10px;
    border-radius: 20px;
    text-transform: uppercase;
}

.project-body {
    padding: 20px;
}

.project-title {
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 6px;
}

.project-desc {
    font-size: 12px;
    color: var(--text-light);
    margin-bottom: 12px;
}

.project-location {
    font-size: 11px;
    color: var(--text-light);
    display: flex;
    align-items: center;
    gap: 6px;
}

.project-location i {
    color: var(--primary-color);
}

@media (max-width: 1024px) {
    .projects-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}
@media (max-width: 768px) {
    .projects-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}
@media (max-width: 500px) {
    .projects-grid {
        grid-template-columns: 1fr;
    }
}

/* About Us and Team Styles */
.about-story {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 50px;
    align-items: center;
}

.about-image {
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow-xl);
    height: 350px;
    background-color: #e2e8f0;
}

.about-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.team-card {
    text-align: center;
    background-color: var(--white);
    border: 1px solid var(--border-color);
    padding: 24px;
    border-radius: var(--border-radius);
    transition: var(--transition);
}

.team-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}

.team-img-wrapper {
    width: 130px;
    height: 130px;
    border-radius: 50%;
    overflow: hidden;
    margin: 0 auto 20px auto;
    border: 3px solid var(--primary-light);
    background-color: #cbd5e1;
}

.team-img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.team-name {
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 4px;
}

.team-role {
    font-size: 12px;
    color: var(--primary-color);
    font-weight: 600;
    margin-bottom: 12px;
}

.team-socials {
    display: flex;
    justify-content: center;
    gap: 10px;
}

.team-socials a {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background-color: var(--primary-light);
    color: var(--primary-color);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
}

.team-socials a:hover {
    background-color: var(--primary-color);
    color: var(--white);
}

@media (max-width: 900px) {
    .team-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}
@media (max-width: 500px) {
    .team-grid {
        grid-template-columns: 1fr;
    }
}

/* Modals */
.modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(15, 23, 42, 0.6);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    z-index: 2000;
    transition: var(--transition);
}

.modal.active {
    opacity: 1;
    pointer-events: auto;
}

.modal-content {
    background-color: var(--white);
    border-radius: var(--border-radius);
    max-width: 500px;
    width: 90%;
    padding: 30px;
    position: relative;
    box-shadow: var(--shadow-xl);
    transform: translateY(20px);
    transition: var(--transition);
}

.modal.active .modal-content {
    transform: translateY(0);
}

.modal-close {
    position: absolute;
    top: 20px;
    right: 20px;
    font-size: 20px;
    cursor: pointer;
    color: var(--text-light);
}

.modal-title {
    font-size: 22px;
    margin-bottom: 20px;
}

/* Toast Messages */
.toast-container {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 3000;
}

.toast {
    background-color: #10b981;
    color: var(--white);
    padding: 12px 24px;
    border-radius: 8px;
    box-shadow: var(--shadow-lg);
    font-size: 14px;
    font-weight: 600;
    margin-top: 10px;
    opacity: 0;
    transform: translateY(10px);
    transition: var(--transition);
}

.toast.active {
    opacity: 1;
    transform: translateY(0);
}

.toast.error {
    background-color: #ef4444;
}

/* Page Sub-hero / Breadcrumbs banner */
.page-hero {
    background: linear-gradient(135deg, var(--light-bg) 0%, #edf2f7 100%);
    padding: 50px 0;
    border-bottom: 1px solid var(--border-color);
}

.page-hero .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* Mobile Responsiveness for Page Hero & Contact Section */
@media (max-width: 768px) {
    .page-hero {
        padding: 60px 0 !important;
    }
    .page-hero .container {
        text-align: center;
    }
    .page-hero .container > div {
        max-width: 100% !important;
        margin: 0 auto;
    }
    /* Set vertical gradient overlay on mobile for best readability */
    section.page-hero {
        background-image: linear-gradient(to bottom, rgba(248, 250, 252, 0.95) 0%, rgba(248, 250, 252, 0.85) 100%), url('assets/img/contact_hero.png') !important;
        background-position: center !important;
    }
}

@media (max-width: 500px) {
    .contact-form-wrapper {
        padding: 20px !important;
    }
    .contact-card {
        padding: 20px !important;
    }
    .info-box {
        gap: 15px !important;
        padding: 15px 10px !important;
    }
    .info-icon {
        width: 44px !important;
        height: 44px !important;
        font-size: 16px !important;
    }
}

.breadcrumbs {
    font-size: 13px;
    color: var(--text-light);
}

.breadcrumbs a:hover {
    color: var(--primary-color);
}

.breadcrumbs span {
    margin: 0 8px;
    color: #cbd5e1;
}

/* Map Mockup */
.map-mockup {
    height: 300px;
    border-radius: var(--border-radius);
    background-color: #e2e8f0;
    border: 1px solid var(--border-color);
    position: relative;
    overflow: hidden;
}

.map-mockup iframe {
    width: 100%;
    height: 100%;
    border: 0;
}

/* Why Choose Us page */
.why-page {
    background:
        linear-gradient(180deg, #ffffff 0%, #f8fbff 46%, #ffffff 100%);
    color: #243449;
}

.why-page .container {
    max-width: 1420px;
    padding-left: 12px;
    padding-right: 12px;
}

.why-hero {
    position: relative;
    min-height: 455px;
    padding: 34px 0 86px;
    background-size: cover;
    background-position: center right;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.why-hero::after {
    content: '';
    position: absolute;
    inset: auto 0 0 0;
    height: 86px;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0), rgba(248, 251, 255, 0.92));
    pointer-events: none;
}

.why-hero-content {
    position: relative;
    z-index: 1;
    max-width: 515px;
}

.why-breadcrumbs {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 35px;
    font-size: 13px;
    color: #56667d;
    font-weight: 600;
}

.why-breadcrumbs i {
    font-size: 9px;
    color: #94a3b8;
}

.why-breadcrumbs a:hover {
    color: var(--primary-color);
}

.why-eyebrow {
    display: inline-block;
    margin-bottom: 12px;
    padding: 7px 12px;
    border: 1px solid #d9ebff;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.78);
    color: var(--primary-color);
    font-family: var(--font-heading);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.3px;
    text-transform: uppercase;
    box-shadow: 0 8px 20px rgba(15, 23, 42, 0.05);
}

.why-hero h1 {
    margin-bottom: 22px;
    color: #071b3a;
    font-size: 48px;
    line-height: 1.12;
    font-weight: 800;
}

.why-hero h1 span {
    color: #0070df;
    text-shadow: 0 10px 24px rgba(0, 112, 223, 0.12);
}

.why-hero p {
    max-width: 500px;
    margin-bottom: 28px;
    color: #334155;
    font-size: 15px;
    line-height: 1.85;
    font-weight: 500;
}

.why-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
    min-height: 48px;
    padding: 0 24px;
    border: 0;
    border-radius: 7px;
    background: linear-gradient(135deg, #0076ff 0%, #0058c7 100%);
    color: #ffffff;
    font-family: var(--font-heading);
    font-size: 14px;
    font-weight: 800;
    cursor: pointer;
    box-shadow: 0 14px 26px rgba(0, 102, 204, 0.24);
    transition: var(--transition);
}

.why-btn:hover {
    background: linear-gradient(135deg, #006be8 0%, #004fae 100%);
    transform: translateY(-2px);
    box-shadow: 0 18px 34px rgba(0, 102, 204, 0.28);
}

.why-hero-trust {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 20px;
}

.why-hero-trust span {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 8px 12px;
    border: 1px solid rgba(0, 112, 223, 0.12);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.82);
    color: #1e3a5f;
    font-family: var(--font-heading);
    font-size: 12px;
    font-weight: 800;
    box-shadow: 0 8px 20px rgba(15, 23, 42, 0.045);
}

.why-hero-trust i {
    color: #0070df;
}

.why-feature-wrap {
    margin-top: -55px;
    position: relative;
    z-index: 3;
}

.why-feature-strip {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    overflow: hidden;
    border: 1px solid #e7eef8;
    border-radius: 10px;
    background: #ffffff;
    box-shadow: 0 22px 46px rgba(13, 30, 59, 0.12);
}

.why-feature {
    position: relative;
    min-height: 190px;
    padding: 32px 22px 24px;
    text-align: center;
    border-right: 1px solid #e5edf7;
    transition: var(--transition);
}

.why-feature::before {
    content: '';
    position: absolute;
    left: 22px;
    right: 22px;
    top: 0;
    height: 3px;
    border-radius: 0 0 999px 999px;
    background: transparent;
    transition: var(--transition);
}

.why-feature:hover {
    background: #f8fbff;
    transform: translateY(-3px);
}

.why-feature:hover::before {
    background: #0070df;
}

.why-feature:last-child {
    border-right: 0;
}

.why-feature i {
    width: 58px;
    height: 58px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 22px;
    border-radius: 18px;
    background: linear-gradient(135deg, #eef7ff 0%, #ffffff 100%);
    color: #0070df;
    font-size: 31px;
    box-shadow: inset 0 0 0 1px #dceeff, 0 12px 24px rgba(0, 112, 223, 0.1);
}

.why-feature h3 {
    margin-bottom: 11px;
    color: #0a1f3f;
    font-size: 15px;
    font-weight: 800;
}

.why-feature p {
    max-width: 145px;
    margin: 0 auto;
    color: #44546a;
    font-size: 12px;
    line-height: 1.8;
    font-weight: 500;
}

.why-stats-section {
    padding: 34px 0 42px;
}

.why-stats-card {
    position: relative;
    display: grid;
    grid-template-columns: 1.55fr repeat(4, 1fr);
    align-items: center;
    min-height: 165px;
    overflow: hidden;
    border-radius: 10px;
    background:
        linear-gradient(135deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0)),
        linear-gradient(135deg, #004fb0 0%, #0073df 100%);
    color: #ffffff;
    box-shadow: 0 18px 36px rgba(0, 75, 170, 0.24);
}

.why-stats-card::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(115deg, transparent 0%, rgba(255, 255, 255, 0.12) 46%, transparent 62%);
    pointer-events: none;
}

.why-stats-copy {
    height: 100%;
    padding: 34px 34px;
    background: linear-gradient(135deg, rgba(4, 34, 86, 0.25), rgba(4, 34, 86, 0));
}

.why-stats-copy h2 {
    position: relative;
    margin-bottom: 24px;
    color: #ffffff;
    font-size: 23px;
    line-height: 1.2;
}

.why-stats-copy h2::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -11px;
    width: 32px;
    height: 2px;
    background: #ffffff;
    opacity: 0.85;
}

.why-stats-copy p {
    max-width: 300px;
    color: rgba(255, 255, 255, 0.9);
    font-size: 13px;
    line-height: 1.75;
    font-weight: 500;
}

.why-stat {
    position: relative;
    z-index: 1;
    min-height: 96px;
    padding: 10px 26px;
    text-align: center;
    border-left: 1px solid rgba(255, 255, 255, 0.28);
}

.why-stat strong {
    display: block;
    margin-bottom: 9px;
    color: #ffffff;
    font-family: var(--font-heading);
    font-size: 46px;
    line-height: 1;
    font-weight: 800;
}

.why-count {
    display: inline-block;
    min-width: 3.2ch;
    font-variant-numeric: tabular-nums;
}

.why-stat > span {
    display: block;
    color: rgba(255, 255, 255, 0.92);
    font-size: 12px;
    font-weight: 800;
}

.why-section {
    padding: 38px 0 30px;
}

.why-section-title {
    margin-bottom: 30px;
    text-align: center;
}

.why-section-title h2 {
    position: relative;
    display: inline-block;
    padding-bottom: 13px;
    color: #071b3a;
    font-size: 28px;
    line-height: 1.2;
    font-weight: 800;
}

.why-section-title h2::after {
    content: '';
    position: absolute;
    left: 50%;
    bottom: 0;
    width: 36px;
    height: 3px;
    border-radius: 999px;
    background: #0070df;
    transform: translateX(-50%);
}

.why-card-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
}

.why-reason-card {
    position: relative;
    display: grid;
    grid-template-columns: 72px 1fr;
    gap: 20px;
    min-height: 145px;
    padding: 27px 24px;
    overflow: hidden;
    border: 1px solid #e6f0fb;
    border-radius: 8px;
    background: linear-gradient(180deg, #ffffff 0%, #f9fcff 100%);
    box-shadow: 0 12px 26px rgba(15, 23, 42, 0.045);
    transition: var(--transition);
}

.why-reason-card::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    width: 4px;
    height: 100%;
    background: #0070df;
    opacity: 0;
    transition: var(--transition);
}

.why-reason-card:hover {
    transform: translateY(-6px);
    border-color: #cfe7ff;
    box-shadow: 0 22px 42px rgba(15, 23, 42, 0.09);
}

.why-reason-card:hover::before {
    opacity: 1;
}

.why-reason-icon {
    width: 62px;
    height: 62px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #eef6ff 0%, #ffffff 100%);
    color: #0070df;
    font-size: 30px;
    box-shadow: inset 0 0 0 1px #dceeff;
    transition: var(--transition);
}

.why-reason-card:hover .why-reason-icon {
    background: #0070df;
    color: #ffffff;
    transform: scale(1.04);
}

.why-reason-card h3 {
    margin-bottom: 9px;
    color: #12213c;
    font-size: 15px;
    font-weight: 800;
}

.why-reason-card p {
    color: #44546a;
    font-size: 12px;
    line-height: 1.8;
    font-weight: 500;
}

.why-process {
    padding-top: 38px;
    background: linear-gradient(180deg, rgba(238, 246, 255, 0), rgba(238, 246, 255, 0.58), rgba(238, 246, 255, 0));
}

.why-process-line {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    position: relative;
    gap: 18px;
    padding-top: 2px;
}

.why-process-line::before {
    content: '';
    position: absolute;
    top: 25px;
    left: 9%;
    right: 9%;
    height: 1px;
    background: #d7e2ef;
}

.why-process-line article {
    position: relative;
    text-align: center;
    padding: 0 8px;
}

.why-process-line span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    margin-bottom: 25px;
    border: 7px solid #ddecff;
    border-radius: 50%;
    background: linear-gradient(135deg, #0076ff, #0058c7);
    color: #ffffff;
    font-family: var(--font-heading);
    font-size: 13px;
    font-weight: 800;
    position: relative;
    z-index: 2;
    box-shadow: 0 10px 22px rgba(0, 102, 204, 0.18);
    transition: var(--transition);
}

.why-process-line article:hover span {
    transform: translateY(-4px);
    box-shadow: 0 16px 30px rgba(0, 102, 204, 0.25);
}

.why-process-line h3 {
    margin-bottom: 17px;
    color: #12213c;
    font-size: 13px;
    font-weight: 800;
}

.why-process-line p {
    max-width: 165px;
    margin: 0 auto;
    color: #44546a;
    font-size: 12px;
    line-height: 1.75;
    font-weight: 500;
}

.why-testimonials {
    padding-top: 34px;
}

.why-testimonial-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}

.why-testimonial-card {
    position: relative;
    min-height: 230px;
    padding: 28px 30px;
    overflow: hidden;
    border: 1px solid #e6f0fb;
    border-radius: 8px;
    background: linear-gradient(180deg, #ffffff 0%, #fbfdff 100%);
    box-shadow: 0 14px 30px rgba(15, 23, 42, 0.055);
    transition: var(--transition);
}

.why-testimonial-card::after {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    height: 4px;
    background: linear-gradient(90deg, #0070df, #44b3ff);
    opacity: 0;
    transition: var(--transition);
}

.why-testimonial-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 24px 45px rgba(15, 23, 42, 0.09);
}

.why-testimonial-card:hover::after {
    opacity: 1;
}

.why-testimonial-card > i {
    margin-bottom: 16px;
    color: #0070df;
    font-size: 30px;
    opacity: 0.9;
}

.why-testimonial-card p {
    margin-bottom: 22px;
    color: #334155;
    font-size: 13px;
    line-height: 1.9;
    font-weight: 500;
}

.why-client {
    display: flex;
    align-items: center;
    gap: 14px;
}

.why-client img {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    object-fit: cover;
    object-position: center;
    border: 3px solid #eef6ff;
    box-shadow: 0 8px 18px rgba(15, 23, 42, 0.12);
    flex: 0 0 56px;
}

.why-client strong,
.why-client small {
    display: block;
}

.why-client strong {
    color: #071b3a;
    font-size: 13px;
    line-height: 1.3;
}

.why-client small {
    color: #64748b;
    font-size: 11px;
}

.why-stars {
    margin-top: 3px;
    color: #f8c12c;
    font-size: 13px;
    letter-spacing: 1px;
}

.why-slider-dots {
    display: flex;
    justify-content: center;
    gap: 9px;
    margin-top: 25px;
}

.why-slider-dots span {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #cbd5e1;
}

.why-slider-dots span.active {
    background: #0070df;
}

.why-bottom-cta {
    padding: 28px 0 42px;
}

.why-cta-card {
    position: relative;
    display: grid;
    grid-template-columns: 76px 1fr auto;
    align-items: center;
    gap: 24px;
    padding: 25px 36px;
    overflow: hidden;
    border: 1px solid #dbeeff;
    border-radius: 10px;
    background:
        linear-gradient(90deg, rgba(255, 255, 255, 0.86) 0%, rgba(255, 255, 255, 0.4) 100%),
        #eef6ff;
    box-shadow: 0 18px 40px rgba(15, 23, 42, 0.07);
}

.why-cta-card::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    width: 6px;
    height: 100%;
    background: #0070df;
}

.why-cta-icon {
    width: 62px;
    height: 62px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: #ffffff;
    color: #0070df;
    font-size: 34px;
    box-shadow: 0 10px 24px rgba(15, 23, 42, 0.08);
}

.why-cta-card h2 {
    margin-bottom: 6px;
    color: #071b3a;
    font-size: 26px;
    line-height: 1.2;
}

.why-cta-card p {
    color: #334155;
    font-size: 14px;
    font-weight: 500;
}

@media (max-width: 1100px) {
    .why-feature-strip,
    .why-stats-card {
        grid-template-columns: repeat(2, 1fr);
    }

    .why-stats-copy {
        grid-column: 1 / -1;
    }

    .why-stat {
        border-top: 1px solid rgba(255, 255, 255, 0.22);
    }
}

@media (max-width: 900px) {
    .why-hero {
        min-height: auto;
        padding: 40px 0 95px;
        background-position: center;
    }

    .why-hero-content {
        max-width: 620px;
    }

    .why-hero h1 {
        font-size: 40px;
    }

    .why-card-grid,
    .why-testimonial-grid {
        grid-template-columns: 1fr;
    }

    .why-process-line {
        grid-template-columns: 1fr;
        gap: 28px;
    }

    .why-process-line::before {
        display: none;
    }

    .why-process-line span {
        margin-bottom: 14px;
    }

    .why-process-line p {
        max-width: 320px;
    }

    .why-cta-card {
        grid-template-columns: 1fr;
        justify-items: center;
        text-align: center;
    }
}

@media (max-width: 640px) {
    .why-page .container {
        padding: 0 18px;
    }

    .why-hero {
        padding-top: 26px;
        background-image: linear-gradient(90deg, rgba(248, 251, 255, 0.96), rgba(248, 251, 255, 0.86)), url('assets/img/contact_hero.png') !important;
    }

    .why-breadcrumbs {
        margin-bottom: 25px;
    }

    .why-hero h1 {
        font-size: 34px;
    }

    .why-feature-strip,
    .why-stats-card {
        grid-template-columns: 1fr;
    }

    .why-feature {
        min-height: auto;
        border-right: 0;
        border-bottom: 1px solid #e5edf7;
    }

    .why-feature:last-child {
        border-bottom: 0;
    }

    .why-stat {
        border-left: 0;
    }

    .why-reason-card {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .why-reason-icon {
        margin: 0 auto;
    }
}
