﻿@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&display=swap');

:root {
    --primary-blue: #00aaff;
    --dark-navy: #001f3f;
    --light-blue-bg: #f8fbff;
    --text-color: #333;
    --text-light: #555;
    --white: #ffffff;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Inter', sans-serif;
}

header {
    width: 100%;
    background: #ffffff;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    position: relative;
    z-index: 1000;
    /* Establish positioning context for mega menu */
}

.navbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 180px;
}

.nav-links {
    list-style: none;
    display: flex;
    align-items: center;
    gap: 25px;
    white-space: nowrap;
}

.dropdown-menu ul li a {
    color: #fff;
}

.nav-links li a {
    text-decoration: none;
    font-size: 16px;
    color: #334155;
    transition: 0.3s;
    display: inline-block;
}

.nav-links li a:hover {
    color: #0ea5e9;
}

.dropdown {
    position: relative;
    /* Changed from static to relative for scoped positioning */
}

/* Redesigned Services Dropdown */
.dropdown-menu {
    position: absolute;
    top: 247%;
    left: 0;
    width: 340px;
    background: #ffffff;
    padding: 0;
    list-style: none;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
    display: none;
    /* Controlled by JS */
    z-index: 1000;
    border-radius: 4px;
    border-top: 3px solid #00aaff;
    /* Teal/Blue highlight line */
}

/* Only show when display: block is set by JS */
.dropdown-menu[style*="display: block"] {
    display: block !important;
}

.dropdown-menu ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.dropdown-menu ul li {
    margin: 0;
    padding: 0;
}

.dropdown-menu ul li a {
    display: block;
    padding: 14px 20px;
    font-size: 15px;
    font-weight: 500;
    color: #333;
    /* Dark text */
    text-decoration: none;
    border-bottom: 1px solid #f1f5f9;
    /* Subtle divider */
    transition: all 0.2s ease;
}

.dropdown-menu ul li:last-child a {
    border-bottom: none;
}

/* Hover Effect */
.dropdown-menu ul li a:hover {
    background-color: #f8fbff;
    /* Very light blue bg */
    color: #00aaff;
    /* Blue text on hover */
    padding-left: 25px;
    /* Subtle slide effect */
}

/* Mega menu styles removal/override */
.mega-column {
    display: none;
    /* Ensure old classes don't interfere if present */
}

/* Mobile responsive */
.menu-icon {
    display: none;
    font-size: 22px;
    cursor: pointer;
}

/* Mobile */
@media (min-width: 1024px)and (max-width: 1439px) {
    .navbar {
        padding: 0 30px;
    }

    .dropdown-menu {
        padding: 30px;
    }
}

@media (max-width: 1023px) {

    .navbar {
        padding: 15px 30px;
    }

    .menu-icon {
        display: block;
    }

    .nav-links {
        position: absolute;
        top: 75px;
        right: 0;
        width: 100%;
        background: linear-gradient(to bottom, #0f172a, #1e293b);
        flex-direction: column;
        gap: 0;
        padding: 20px 0;
        display: none;
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    }

    .nav-links.show {
        display: flex;
    }

    .nav-links li {
        width: 100%;
        text-align: center;
    }

    .nav-links li a {
        display: block;
        padding: 15px 0;
        font-size: 18px;
        color: #ffffff;
        border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    }

    .nav-links li a:hover {
        background: rgba(255, 255, 255, 0.05);
        color: #38bdf8;
    }

    .dropdown-menu {
        position: relative;
        top: 0;
        left: 0;
        transform: none;
        width: 100%;
        box-shadow: none;
        display: none;
        grid-template-columns: 1fr;
        padding: 0;
        gap: 0;
        background: rgba(0, 0, 0, 0.2);
        border-top: none;
    }

    .dropdown-menu[style*="display: block"] {
        display: grid !important;
    }

    .mega-column {
        padding: 20px 30px;
        border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    }

    .mega-column h3 {
        margin-top: 0;
        margin-bottom: 15px;
        font-size: 16px;
        color: #38bdf8;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
        text-align: left;
    }

    .mega-column ul {
        text-align: left;
    }

    .mega-column li {
        padding: 8px 0;
        font-size: 14px;
        color: #cbd5e1;
        border-bottom: 1px solid rgba(255, 255, 255, 0.05);
        width: auto;
        text-align: left;
    }

    .mega-column li:hover {
        color: #fff;
        transform: translateX(5px);
        background: transparent;
    }
}

/* Banner  */

.banner {
    width: 100%;
    height: 500px;
    /* Background moved to slides */
    background-color: #0f172a;
    display: flex;
    align-items: center;
    padding-left: 150px;
    color: white;
    position: relative;
    overflow: hidden;
}

.banner-slider {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transition: opacity 1.5s ease-in-out;
}

.slide.active {
    opacity: 1;
}

.slider-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.1);
    color: white;
    border: none;
    font-size: 24px;
    padding: 15px;
    cursor: pointer;
    z-index: 10;
    transition: 0.3s;
    border-radius: 50%;
}

.slider-btn:hover {
    background: rgba(255, 255, 255, 0.3);
}

.prev-btn {
    left: 20px;
}

.next-btn {
    right: 20px;
}

.banner::after {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.25);
}

.banner-content {
    position: relative;
    z-index: 2;
    max-width: 550px;
}

.banner h1 {
    font-size: 48px;
    font-weight: 700;
    line-height: 1.2;
}

.banner p {
    margin-top: 10px;
    font-size: 22px;
}

.banner-buttons {
    margin-top: 25px;
    display: flex;
    gap: 20px;
}

.banner_btn {
    padding: 12px 28px;
    font-size: 16px;
    font-weight: bold;
    border-radius: 6px;
    text-decoration: none;
    transition: 0.3s ease;
}

.primary {
    background: #0ea5e9;
    color: white;
}

.primary:hover {
    background: #019ce3;
}

.secondary {
    background: transparent;
    border: 2px solid #fff;
    color: white;
}

.secondary:hover {
    background: white;
    color: #333;
}

@media (max-width: 1024px) {
    .banner {
        padding-left: 80px;
        height: 450px;
    }

    .banner h1 {
        font-size: 40px;
    }
}

@media (max-width: 767px) {
    .banner {
        padding: 40px;
        text-align: left;
        height: auto;
        padding-top: 120px;
        padding-bottom: 120px;
    }

    .banner h1 {
        font-size: 32px;
    }

    .banner p {
        font-size: 18px;
    }

    .banner-buttons {
        flex-direction: column;
        width: 200px;
    }
}

/* Overview */
.overview {
    padding: 80px 150px;
    background: #ffffff;
    font-family: Arial, sans-serif;
}

.overview-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 50px;
}

.overview-left {
    flex: 1;
}

.overview-left h2 {
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 20px;
    color: #0f172a;
}

.overview-left p {
    font-size: 18px;
    color: #475569;
    line-height: 1.6;
    margin-bottom: 15px;
}

.overview-right {
    flex: 1;
    display: flex;
    justify-content: center;
}

.overview-right img {
    width: 100%;
    max-width: 500px;
    border-radius: 8px;
    object-fit: cover;
}

/* ---------- RESPONSIVE ---------- */

@media (max-width: 1024px) {
    .overview {
        padding: 60px 80px;
    }
}

@media (max-width: 767px) {
    .overview {
        padding: 40px 30px;
    }

    .overview-container {
        flex-direction: column;
        text-align: center;
    }

    .overview-right img {
        max-width: 350px;
    }
}


/* Footer */

.footer {
    background: #0f172a;
    color: #94a3b8;
    padding: 60px 150px 40px;
    font-family: Arial, sans-serif;
}

.footer-container {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 60px;
}

.footer-section h3 {
    color: #ffffff;
    margin-bottom: 15px;
    font-size: 20px;
}

.footer-section ul {
    list-style: none;
    padding: 0;
}

.footer-section ul li {
    margin-bottom: 10px;
    font-size: 15px;
}

.footer-section a {
    text-decoration: none;
    color: #94a3b8;
    transition: 0.3s;
}

.footer-section a:hover {
    color: #ffffff;
}

.footer-bottom {
    text-align: center;
    margin-top: 40px;
    padding-top: 20px;
    border-top: 1px solid #1e293b;
    font-size: 14px;
}

/* ---------- RESPONSIVE ---------- */

/* 1024px screens */
@media (max-width: 1024px) {
    .footer {
        padding: 50px 80px;
    }

    .footer-container {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* 768px screens */
@media (max-width: 767px) {
    .footer {
        padding: 40px 30px;
    }

    .footer-container {
        grid-template-columns: 1fr;
    }
}


/* Contact Us Section */
.contact-us-section {
    padding: 60px 20px;
    background-color: #f8fbff;
    color: #333;
    font-family: Arial, sans-serif;
}

.contact-header {
    text-align: center;
    margin-bottom: 50px;
}

.contact-header h2 {
    font-size: 2.5rem;
    color: #001f3f;
    margin-bottom: 15px;
}

.contact-header p {
    max-width: 700px;
    margin: 0 auto;
    color: #555;
    line-height: 1.6;
}

/* Global Presence */
.global-presence {
    max-width: 1200px;
    margin: 0 auto 60px;
    text-align: center;
}

.global-presence h3 {
    font-size: 2rem;
    color: #001f3f;
    margin-bottom: 30px;
}

.presence-cards {
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
    margin-bottom: 30px;
}

.presence-card {
    background: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    padding: 30px;
    width: 45%;
    min-width: 300px;
    display: flex;
    gap: 20px;
    text-align: left;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
}

.card-icon {
    font-size: 2rem;
    color: #3498db;
    background: #eef6fc;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    flex-shrink: 0;
}

.card-content h4 {
    font-size: 1.5rem;
    margin-bottom: 5px;
    color: #001f3f;
}

.hub-type {
    color: #3498db;
    font-weight: 600;
    font-size: 0.9rem;
    display: block;
    margin-bottom: 15px;
}

.card-content p {
    font-size: 0.9rem;
    color: #555;
    margin-bottom: 20px;
    line-height: 1.5;
}

.card-footer {
    background: #f0f8ff;
    padding: 10px;
    border-radius: 4px;
    font-size: 0.85rem;
    color: #333;
    text-align: center;
}

.expansion-banner {
    background: #eef6fc;
    padding: 30px;
    border-radius: 8px;
    max-width: 95%;
    margin: 0 auto;
}

.expansion-banner h4 {
    color: #001f3f;
    margin-bottom: 10px;
}

.expansion-banner p {
    color: #555;
    font-size: 0.9rem;
}

/* Get in Touch */
.get-in-touch-container {
    max-width: 1200px;
    margin: 0 auto 60px;
    display: flex;
    flex-wrap: wrap;
    gap: 50px;
    background: #fff;
    padding: 0;
}

.get-in-touch-left {
    flex: 1;
    min-width: 300px;
}

.get-in-touch-left h3 {
    font-size: 1.8rem;
    color: #001f3f;
    margin-bottom: 30px;
}

.contact-item {
    display: flex;
    gap: 15px;
    margin-bottom: 25px;
    align-items: flex-start;
}

.icon-box {
    width: 40px;
    height: 40px;
    background: #eef6fc;
    color: #3498db;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    font-size: 1.2rem;
    flex-shrink: 0;
}

.contact-item strong {
    display: block;
    color: #333;
    margin-bottom: 5px;
}

.contact-item a {
    color: #3498db;
    text-decoration: none;
}

.contact-item p {
    color: #666;
    font-size: 0.9rem;
}

.expect-box {
    border: 1px solid #eee;
    padding: 20px;
    border-radius: 8px;
    margin-top: 30px;
    background: #fff;
}

.expect-box h4 {
    margin-bottom: 15px;
    color: #001f3f;
}

.expect-box ul {
    padding-left: 20px;
    margin-bottom: 20px;
}

.expect-box ul li {
    margin-bottom: 10px;
    color: #555;
    font-size: 0.9rem;
}

.get-in-touch-right {
    flex: 1;
    min-width: 300px;
    background: #fff;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    border: 1px solid #eee;
}

.get-in-touch-right h3 {
    font-size: 1.5rem;
    color: #001f3f;
    margin-bottom: 25px;
}

.contact-form .form-group {
    margin-bottom: 20px;
}

.contact-form label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    font-size: 0.9rem;
    color: #333;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 0.95rem;
    color: #333;
    font-family: inherit;
}

.contact-form input:focus,
.contact-form textarea:focus {
    border-color: #3498db;
    outline: none;
}

.submit-btn {
    width: 100%;
    padding: 12px;
    background: #00aaff;
    /* Bright blue button */
    color: #fff;
    border: none;
    border-radius: 4px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.3s;
}

.submit-btn:hover {
    background: #008ecc;
}

/* Trusted Partnership */
.trusted-partnership {
    text-align: center;
    max-width: 900px;
    margin: 0 auto;
    padding-top: 40px;
}

.trusted-partnership h3 {
    font-size: 1.8rem;
    color: #001f3f;
    margin-bottom: 20px;
}

.trusted-partnership p {
    color: #555;
    line-height: 1.6;
    font-size: 0.95rem;
}

@media (max-width: 767px) {
    .presence-card {
        width: 100%;
    }

    .get-in-touch-container {
        flex-direction: column;
        gap: 30px;
    }
}

/* Thought Leadership Page Styles */

.tl-hero {
    padding: 120px 20px;
    background: linear-gradient(rgba(15, 23, 42, 0.7), rgba(15, 23, 42, 0.7)), url('images/Avionics-Engineering-Services.webp');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    text-align: center;
}

.tl-hero-content {
    max-width: 800px;
    margin: 0 auto;
}

.tl-hero h1 {
    font-size: 3rem;
    color: #ffffff;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
    margin-bottom: 20px;
    font-weight: 700;
}

.tl-hero p {
    font-size: 1.1rem;
    color: #e2e8f0;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
    line-height: 1.6;
}

/* Section Title */
.section-title {
    text-align: center;
    font-size: 2rem;
    color: var(--dark-navy);
    margin-bottom: 50px;
    font-weight: 700;
}

/* Featured Articles */
.featured-articles {
    padding: 0 150px 80px 150px;
    background: #fff;
}

.articles-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;

    .article-category {
        font-size: 0.8rem;
        color: var(--primary-blue);
        font-weight: 600;
        text-transform: uppercase;
        margin-bottom: 10px;
        display: block;
    }
}

.article-card {
    background: #f8fbff;
    border: 1px solid #eef6fc;
    border-radius: 8px;
    padding: 30px;
    display: flex;
    gap: 20px;
    align-items: flex-start;
    transition: transform 0.3s ease, box-shadow 0.3s ease, background 0.3s ease;
}

.article-card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.15);
    background: linear-gradient(135deg, #f8fbff, #e6f7ff);
}

.article-icon {
    width: 50px;
    height: 50px;
    background: #fff;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-blue);
    font-size: 1.5rem;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, color 0.3s ease;
}

.article-card:hover .article-icon {
    transform: rotate(10deg);
    color: var(--primary-blue);
}

.article-content h3 {
    font-size: 1.4rem;
    color: var(--dark-navy);
    margin-bottom: 15px;
}

.article-content p {
    font-size: 0.95rem;
    color: var(--text-light);
    line-height: 1.6;
    margin-bottom: 20px;
}

.key-topics h4 {
    font-size: 1.1rem;
    color: var(--dark-navy);
    margin-bottom: 15px;
}

.key-topics ul {
    padding-left: 20px;
}

.key-topics ul li {
    margin-bottom: 8px;
    font-size: 0.9rem;
    color: var(--text-light);
}

/* New Index Page Sections */

.convergence {
    padding: 80px 20px;
    background: #f8fbff;
    text-align: center;
}

.convergence-content {
    max-width: 800px;
    margin: 0 auto;
}

.convergence h2 {
    font-size: 2.5rem;
    color: #001f3f;
    margin-bottom: 20px;
    line-height: 1.2;
}

.convergence p {
    font-size: 1.1rem;
    color: #555;
    line-height: 1.6;
}

/* Why Choose Mach Global */
.why-choose {
    padding: 80px 150px;
    background: #fff;
    text-align: center;
}

.why-choose-container h2 {
    font-size: 2rem;
    color: #001f3f;
    margin-bottom: 50px;
}

.why-choose-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.why-item {
    text-align: center;

}

.why-icon {
    width: 60px;
    height: 60px;
    background: #eef6fc;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    color: #00aaff;
    font-size: 1.5rem;
}

.why-item h3 {
    font-size: 1.2rem;
    color: #001f3f;
    margin-bottom: 10px;
}

.why-item p {
    font-size: 0.9rem;
    color: #555;
    line-height: 1.5;
}

/* Our Mission */
.our-mission {
    padding: 80px 20px 0 20px;
    background: #f8fbff;
    text-align: center;
}

.mission-content {
    max-width: 800px;
    margin: 0 auto;
}

.mission-content h2 {
    font-size: 2rem;
    color: #001f3f;
    margin-bottom: 30px;
}

.mission-content p {
    font-size: 1rem;
    color: #555;
    line-height: 1.6;
    margin-bottom: 20px;
}

/* Our Approach */
.our-approach {
    padding: 10px 150px 80px 150px;
    background: #fff;
    text-align: center;
}

.approach-container h2 {
    font-size: 2rem;
    color: #001f3f;
    margin-bottom: 50px;
}

.approach-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.approach-card {
    background: #f8fbff;
    padding: 40px 30px;
    border-radius: 8px;
    text-align: left;
}

.approach-card h3 {
    font-size: 1.2rem;
    color: #001f3f;
    margin-bottom: 15px;
}

.approach-card p {
    font-size: 0.95rem;
    color: #555;
    line-height: 1.6;
}

/* Responsive for New Sections */
@media (max-width: 1024px) {

    .why-choose,
    .our-approach {
        padding: 60px 80px;
    }

    .why-choose-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .approach-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 767px) {

    .why-choose,
    .our-approach {
        padding: 40px 30px;
    }

    .why-choose-grid,
    .approach-grid {
        grid-template-columns: 1fr;
    }

    .convergence h2 {
        font-size: 2rem;
    }
}

.key-topics h4 {
    font-size: 0.9rem;
    color: var(--dark-navy);
    margin-bottom: 10px;
}

.key-topics ul {
    padding-left: 20px;
}

.key-topics ul li {
    font-size: 0.85rem;
    color: var(--text-light);
    margin-bottom: 5px;
}

/* Industry Insights */
.industry-insights {
    padding: 80px 150px;
    background: #f8fbff;
}

.insights-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

.insight-card {
    background: #fff;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.03);
    transition: transform 0.35s ease, box-shadow 0.35s ease, background 0.35s ease;
}

.insight-card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 20px 40px rgba(14, 165, 233, 0.15), 0 0 0 1px rgba(14, 165, 233, 0.1);
    background: linear-gradient(135deg, #f8fbff 0%, #e6f7ff 100%);
}

.insight-card h3 {
    font-size: 1.2rem;
    color: var(--dark-navy);
    margin-bottom: 15px;
}

.insight-card p {
    font-size: 0.95rem;
    color: var(--text-light);
    line-height: 1.6;
}

/* Commitment Section */
.commitment-section {
    padding: 80px 150px;
    background: #fff;
}

.commitment-content {
    max-width: 900px;
    margin: 0 auto;
}

.commitment-content h2 {
    font-size: 2rem;
    color: var(--dark-navy);
    margin-bottom: 30px;
    text-align: center;
}

.commitment-content p {
    font-size: 1rem;
    color: var(--text-light);
    line-height: 1.8;
    margin-bottom: 20px;
}

.stay-updated-banner {
    background: var(--primary-blue);
    padding: 60px 20px;
    text-align: center;
}

.stay-updated-banner h2 {
    color: #fff;
    font-size: 2rem;
    margin: 0;
}

/* Responsive for TL Page */
@media (max-width: 1024px) {

    .featured-articles,
    .industry-insights,
    .commitment-section {
        padding: 60px 80px;
    }

    .articles-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 767px) {

    .featured-articles,
    .industry-insights,
    .commitment-section {
        padding: 40px 30px;
    }

    .insights-grid {
        grid-template-columns: 1fr;
    }

    .tl-hero h1 {
        font-size: 2.2rem;
    }
}

/* Careers Hero */
.careers-hero {
    width: 100%;
    height: 500px;
    background: url('./images/Avionics-Engineering-Services-1.webp') no-repeat center center/cover;
    display: flex;
    align-items: center;
    padding-left: 150px;
    color: white;
    position: relative;

}

.careers-hero::after {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.25);
}

.careers-hero-content {
    position: relative;
    z-index: 2;
    max-width: 550px;
}

.careers-hero h1 {
    font-size: 3rem;
    line-height: 1.6;
}

.careers-hero p {
    font-size: 1.1rem;
    color: #fff;
    line-height: 1.6;
}

/* Why Mach Global */
.why-mach {
    padding: 0 150px 80px 150px;
    background: #fff;
}

.why-mach-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

.benefit-card {
    background: #fff;
    border-radius: 12px;
    padding: 30px 25px;
    text-align: center;
    border: 1px solid #f0f4f8;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.02);
    position: relative;
    overflow: hidden;
}

.benefit-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
    border-color: #e0f2fe;
    background: linear-gradient(to bottom, #ffffff, #f0f9ff);
}

.benefit-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #0ea5e9 0%, #3b82f6 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 1.5rem;
    margin: 0 auto 25px;
    position: relative;
    z-index: 2;
    transition: all 0.5s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    box-shadow: 0 8px 20px rgba(14, 165, 233, 0.3);
}

/* Pulsing ring effect for benefit cards */
.benefit-icon::before {
    content: "";
    position: absolute;
    top: -8px;
    left: -8px;
    right: -8px;
    bottom: -8px;
    border: 2px solid #0ea5e9;
    border-radius: 50%;
    opacity: 0;
    transform: scale(0.8);
    transition: all 0.5s ease;
}

.benefit-card:hover .benefit-icon {
    transform: rotate(360deg) scale(1.15);
    box-shadow: 0 12px 30px rgba(14, 165, 233, 0.5);
}

.benefit-card:hover .benefit-icon::before {
    opacity: 0.6;
    transform: scale(1.2);
    animation: pulse-ring 1.5s infinite;
}

.benefit-card:hover h3 {
    color: #0ea5e9;
    transform: translateY(-2px);
}

.benefit-card h3 {
    font-size: 1.1rem;
    color: var(--dark-navy);
    margin-bottom: 15px;
}

.benefit-card p {
    font-size: 0.9rem;
    color: var(--text-light);
    line-height: 1.5;
}

/* Career Opportunities */
.career-opportunities {
    padding: 80px 150px;
    background: #f8fbff;
    text-align: center;
}

.section-subtitle {
    max-width: 700px;
    margin: 0 auto 50px;
    color: var(--text-light);
    line-height: 1.6;
}

.jobs-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

.job-card {
    background: #fff;
    border-radius: 12px;
    text-align: left;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
    border: 1px solid #eee;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    position: relative;
}

.job-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.job-card-content {
    padding: 30px;
}

.job-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
    border-color: #e0f2fe;
}

.job-card:hover img {
    transform: scale(1.05);
}

.job-card h3 {
    font-size: 1.2rem;
    color: var(--dark-navy);
    margin-bottom: 10px;
    transition: color 0.3s ease;
}

.job-card:hover h3 {
    color: var(--primary-blue);
}

.job-tag {
    display: inline-block;
    background: #eef6fc;
    color: var(--primary-blue);
    padding: 4px 10px;
    border-radius: 4px;
    font-size: 0.8rem;
    font-weight: 600;
    margin-bottom: 15px;
}

.job-card p {
    font-size: 0.9rem;
    color: var(--text-light);
    line-height: 1.5;
}

/* Career Progression */
.career-progression {
    padding: 80px 150px;
    background: #fff;
}

.progression-container {
    max-width: 900px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.progression-step {
    background: #f8fbff;
    padding: 25px;
    border-radius: 8px;
    border-left: 4px solid var(--primary-blue);
}

.progression-step h3 {
    font-size: 1.2rem;
    color: var(--dark-navy);
    margin-bottom: 10px;
}

.progression-step p {
    font-size: 0.95rem;
    color: var(--text-light);
    line-height: 1.5;
}

/* Our Culture */
.our-culture {
    padding: 0 150px 80px 150px;
    background: #fff;
    text-align: center;
}

.culture-content {
    max-width: 800px;
    margin: 0 auto;
}

.culture-content p {
    font-size: 1rem;
    color: var(--text-light);
    line-height: 1.8;
    margin-bottom: 20px;
}

/* Responsive for Careers Page */
@media (max-width: 1024px) {

    .why-mach,
    .career-opportunities,
    .career-progression,
    .our-culture {
        padding: 60px 80px;
    }

    .why-mach-grid,
    .jobs-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 767px) {

    .why-mach,
    .career-opportunities,
    .career-progression,
    .our-culture {
        padding: 40px 30px;
    }

    .why-mach-grid,
    .jobs-grid {
        grid-template-columns: 1fr;
    }

    .careers-hero {
        padding-left: 40px;
    }


    .careers-hero h1 {
        font-size: 2.2rem;
    }
}

/* About Hero */
.about-hero {
    padding: 120px 20px;
    background: linear-gradient(rgba(15, 23, 42, 0.7), rgba(15, 23, 42, 0.7)), url('./images/front\ page\ header.png');
    background-position: center;
    background-repeat: no-repeat;
    text-align: center;
}

.about-hero-content {
    max-width: 800px;
    margin: 0 auto;
}

.about-hero h1 {
    font-size: 3rem;
    color: #ffffff;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
    margin-bottom: 20px;
    font-weight: 700;
}

.about-hero p {
    font-size: 1.1rem;
    color: #e2e8f0;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
    line-height: 1.6;
}

/* Our Story */
.our-story {
    padding: 0 150px 80px 150px;
    background: #fff;
    text-align: center;
}

.story-content {
    max-width: 800px;
    margin: 0 auto;
}

.story-content p {
    font-size: 1.1rem;
    color: var(--text-light);
    line-height: 1.8;
}

/* Core Values */
.core-values {
    padding: 80px 150px;
    background: #f8fbff;
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

.value-card {
    background: #fff;
    padding: 40px 30px;
    border-radius: 12px;
    text-align: left;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.03);
    border: 1px solid #eee;
    transition: transform 0.35s ease, box-shadow 0.35s ease, background 0.35s ease;
}

.value-card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 20px 40px rgba(14, 165, 233, 0.15), 0 0 0 1px rgba(14, 165, 233, 0.1);
    background: linear-gradient(135deg, #f8fbff 0%, #e6f7ff 100%);
}

.value-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #0ea5e9 0%, #3b82f6 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 1.5rem;
    margin-bottom: 25px;
    position: relative;
    z-index: 2;
    transition: all 0.5s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    box-shadow: 0 8px 20px rgba(14, 165, 233, 0.3);
}

/* Pulsing ring effect for values grid */
.value-icon::before {
    content: "";
    position: absolute;
    top: -8px;
    left: -8px;
    right: -8px;
    bottom: -8px;
    border: 2px solid #0ea5e9;
    border-radius: 50%;
    opacity: 0;
    transform: scale(0.8);
    transition: all 0.5s ease;
}

.value-card:hover .value-icon {
    transform: rotate(360deg) scale(1.15);
    box-shadow: 0 12px 30px rgba(14, 165, 233, 0.5);
}

.value-card:hover .value-icon::before {
    opacity: 0.6;
    transform: scale(1.2);
    animation: pulse-ring 1.5s infinite;
}

.value-card:hover h3 {
    color: #0ea5e9;
    transform: translateY(-2px);
}

.value-card h3 {
    font-size: 1.3rem;
    color: var(--dark-navy);
    margin-bottom: 15px;
}

.value-card p {
    font-size: 0.95rem;
    color: var(--text-light);
    line-height: 1.6;
}

/* About Expertise */
.about-expertise {
    padding: 80px 150px;
    background: #fff;
}

.expertise-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 60px;
    max-width: 1000px;
    margin: 0 auto;
}

.expertise-column h3 {
    font-size: 1.3rem;
    color: var(--dark-navy);
    margin-bottom: 20px;
}

.expertise-column ul {
    padding-left: 20px;
}

.expertise-column ul li {
    font-size: 1rem;
    color: var(--text-light);
    margin-bottom: 15px;
}

/* Responsive for About Us */
@media (max-width: 1024px) {

    .our-story,
    .core-values,
    .about-expertise {
        padding: 60px 80px;
    }

    .values-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 767px) {

    .our-story,
    .core-values,
    .about-expertise {
        padding: 0 30px 40px 30px;
    }

    .expertise-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .about-hero h1 {
        font-size: 2.2rem;
    }
}

/* Contact Hero */
.contact-hero {
    padding: 120px 20px;
    background: linear-gradient(rgba(15, 23, 42, 0.7), rgba(15, 23, 42, 0.7)), url('images/Our_project_CH47.jpeg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    text-align: center;
}

.contact-hero-content {
    max-width: 800px;
    margin: 0 auto;
}

.contact-hero h1 {
    font-size: 3rem;
    color: #ffffff;
    margin-bottom: 20px;
    font-weight: 700;
}

.contact-hero p {
    font-size: 1.1rem;
    color: #ffffff;
    line-height: 1.6;
}

/* Global Presence Page */
.global-presence-page {
    padding: 0 150px 80px 150px;
    background: #fff;
    text-align: center;
}

.presence-cards-page {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.presence-card-page {
    background: #fff;
    border: 1px solid #eef6fc;
    border-radius: 8px;
    padding: 30px;
    width: 45%;
    min-width: 300px;
    display: flex;
    gap: 20px;
    text-align: left;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
    transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.presence-card-page:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 30px rgba(14, 165, 233, 0.15);
}

.card-icon-page {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #0ea5e9 0%, #3b82f6 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 1.5rem;
    flex-shrink: 0;
    position: relative;
    z-index: 2;
    transition: all 0.5s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    box-shadow: 0 8px 20px rgba(14, 165, 233, 0.3);
}

/* Pulsing ring effect for presence cards */
.card-icon-page::before {
    content: "";
    position: absolute;
    top: -8px;
    left: -8px;
    right: -8px;
    bottom: -8px;
    border: 2px solid #0ea5e9;
    border-radius: 50%;
    opacity: 0;
    transform: scale(0.8);
    transition: all 0.5s ease;
}

.presence-card-page:hover .card-icon-page {
    transform: rotate(360deg) scale(1.15);
    box-shadow: 0 12px 30px rgba(14, 165, 233, 0.5);
}

.presence-card-page:hover .card-icon-page::before {
    opacity: 0.6;
    transform: scale(1.2);
    animation: pulse-ring 1.5s infinite;
}

.presence-card-page:hover h3 {
    color: #0ea5e9;
}

.card-content-page h3 {
    font-size: 1.4rem;
    color: var(--dark-navy);
    margin-bottom: 5px;
}

.hub-type-page {
    display: block;
    color: var(--primary-blue);
    font-weight: 600;
    font-size: 0.9rem;
    margin-bottom: 15px;
}

.card-content-page p {
    font-size: 0.95rem;
    color: var(--text-light);
    line-height: 1.5;
    margin-bottom: 20px;
}

.card-footer-page {
    background: #f8fbff;
    padding: 10px;
    border-radius: 4px;
    font-size: 0.85rem;
    color: var(--text-color);
    text-align: center;
}

.expansion-banner-page {
    background: #f0f8ff;
    padding: 30px;
    border-radius: 8px;
    max-width: 100%;
    margin: 0 auto;
}

.expansion-banner-page h3 {
    color: var(--dark-navy);
    margin-bottom: 10px;
    font-size: 1.2rem;
}

.expansion-banner-page p {
    color: var(--text-light);
    font-size: 0.95rem;
}

/* Get in Touch Page */
.get-in-touch-page {
    padding: 80px 150px;
    background: #fff;
}

.get-in-touch-container-page {
    display: flex;
    gap: 60px;
    max-width: 1200px;
    margin: 0 auto;
}

.get-in-touch-left-page {
    flex: 1;
}

.get-in-touch-left-page h2 {
    font-size: 1.8rem;
    color: var(--dark-navy);
    margin-bottom: 30px;
}

.contact-info-item {
    display: flex;
    gap: 15px;
    margin-bottom: 25px;
    align-items: flex-start;
}

.info-icon {
    width: 45px;
    height: 45px;
    background: linear-gradient(135deg, #0ea5e9 0%, #3b82f6 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 1.25rem;
    flex-shrink: 0;
    position: relative;
    z-index: 2;
    transition: all 0.5s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    box-shadow: 0 4px 12px rgba(14, 165, 233, 0.25);
}

/* Pulsing ring effect for contact info */
.info-icon::before {
    content: "";
    position: absolute;
    top: -6px;
    left: -6px;
    right: -6px;
    bottom: -6px;
    border: 1.5px solid #0ea5e9;
    border-radius: 50%;
    opacity: 0;
    transform: scale(0.8);
    transition: all 0.5s ease;
}

.contact-info-item:hover .info-icon {
    transform: rotate(360deg) scale(1.15);
    box-shadow: 0 8px 20px rgba(14, 165, 233, 0.4);
}

.contact-info-item:hover .info-icon::before {
    opacity: 0.6;
    transform: scale(1.2);
    animation: pulse-ring 1.5s infinite;
}

.contact-info-item:hover strong {
    color: #0ea5e9;
    transition: color 0.3s ease;
}

.contact-info-item strong {
    display: block;
    color: var(--text-color);
    margin-bottom: 5px;
}

.contact-info-item a {
    color: var(--primary-blue);
    text-decoration: none;
}

.contact-info-item p {
    color: var(--text-light);
    font-size: 0.9rem;
}

.expect-box-page {
    border: 1px solid #eee;
    padding: 25px;
    border-radius: 8px;
    margin-top: 30px;
    background: #fff;
}

.expect-box-page h4 {
    margin-bottom: 15px;
    color: var(--dark-navy);
}

.expect-box-page ul {
    padding-left: 20px;
}

.expect-box-page ul li {
    font-size: 0.9rem;
    color: var(--text-light);
    margin-bottom: 10px;
}

.get-in-touch-right-page {
    flex: 1;
    background: #fff;
    padding: 40px;
    border-radius: 8px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
    border: 1px solid #eee;
}

.get-in-touch-right-page h2 {
    font-size: 1.5rem;
    color: var(--dark-navy);
    margin-bottom: 25px;
}

.contact-form-page .form-group-page {
    margin-bottom: 20px;
}

.contact-form-page label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--text-color);
}

.contact-form-page input,
.contact-form-page textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 0.95rem;
    color: var(--text-color);
    font-family: inherit;
}

.contact-form-page input:focus,
.contact-form-page textarea:focus {
    border-color: var(--primary-blue);
    outline: none;
}

.submit-btn-page {
    width: 100%;
    padding: 12px;
    background: var(--primary-blue);
    color: #fff;
    border: none;
    border-radius: 4px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.3s;
}

.submit-btn-page:hover {
    background: #008ecc;
}

/* Partnership Section */
.partnership-section {
    padding: 0 150px 80px 150px;
    background: #fff;
    text-align: center;
}

.partnership-section p {
    max-width: 900px;
    margin: 0 auto;
    color: var(--text-light);
    line-height: 1.6;
    font-size: 1rem;
}

/* Responsive for Contact Page */
@media (max-width: 1024px) {

    .global-presence-page,
    .get-in-touch-page,
    .partnership-section {
        padding: 60px 80px;
    }

    .presence-card-page {
        width: 100%;
    }

    .get-in-touch-container-page {
        flex-direction: column;
    }
}

@media (max-width: 767px) {

    .global-presence-page,
    .get-in-touch-page,
    .partnership-section {
        padding: 40px 30px;
    }

    .contact-hero h1 {
        font-size: 2.2rem;
    }
}

/* Convergence Section */
.convergence {
    padding: 80px 20px;
    background: #f8fbff;
    text-align: center;
}

.convergence-content {
    max-width: 800px;
    margin: 0 auto;
}

.convergence h2 {
    font-size: 2.5rem;
    color: #001f3f;
    margin-bottom: 20px;
    line-height: 1.2;
}

.convergence p {
    font-size: 1.1rem;
    color: #555;
    line-height: 1.6;
}

/* Why Choose Mach Global */
.why-choose {
    padding: 80px 150px;
    background: #fff;
    text-align: center;
}

.why-choose-container h2 {
    font-size: 2rem;
    color: #001f3f;
    margin-bottom: 50px;
}

.why-choose-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.why-item {
    text-align: center;
}

.why-icon {
    width: 60px;
    height: 60px;
    background: #eef6fc;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    color: #00aaff;
    font-size: 1.5rem;
}

.why-item h3 {
    font-size: 1.2rem;
    color: #001f3f;
    margin-bottom: 10px;
}

.why-item p {
    font-size: 0.9rem;
    color: #555;
    line-height: 1.5;
}

/* Our Mission */
.our-mission {
    padding: 80px 20px;
    background: #fff;
    text-align: center;
}

.mission-content {
    max-width: 800px;
    margin: 0 auto;
}

.mission-content h2 {
    font-size: 2rem;
    color: #001f3f;
    margin-bottom: 30px;
}

.mission-content p {
    font-size: 1rem;
    color: #555;
    line-height: 1.6;
    margin-bottom: 20px;
}

/* Our Approach */
.our-approach {
    padding: 80px 150px;
    background: #fff;
    text-align: center;
}

.approach-container h2 {
    font-size: 2rem;
    color: #001f3f;
    margin-bottom: 50px;
}

.approach-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.approach-card {
    background: #f8fbff;
    padding: 40px 30px;
    border-radius: 8px;
    text-align: left;
}

.approach-card h3 {
    font-size: 1.2rem;
    color: #001f3f;
    margin-bottom: 15px;
}

.approach-card p {
    font-size: 0.95rem;
    color: #555;
    line-height: 1.6;
}

/* Responsive for New Sections */
@media (max-width: 1024px) {

    .why-choose,
    .our-approach {
        padding: 60px 80px;
    }

    .why-choose-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .approach-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 767px) {

    .why-choose,
    .our-approach {
        padding: 40px 30px;
    }

    .why-choose-grid,
    .approach-grid {
        grid-template-columns: 1fr;
    }

    .convergence h2 {
        font-size: 2rem;
    }
}

/* Services Hero */
.services-hero {
    padding: 80px 20px;
    background: linear-gradient(rgba(15, 23, 42, 0.7), rgba(15, 23, 42, 0.7)), url('images/istockphoto.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    text-align: center;
}

.services-hero-content {
    max-width: 800px;
    margin: 0 auto;
}

.services-hero h1 {
    font-size: 3rem;
    color: #ffffff;
    margin-bottom: 20px;
    font-weight: 700;
}

.services-hero p {
    font-size: 1.1rem;
    color: #ffffff;
    line-height: 1.6;
}

/* Services Section */
.services-section {
    padding: 80px 150px;
    background: #fff;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto;
}

.service-card {
    background: #f8fbff;
    padding: 40px;
    border-radius: 16px;
    border: 1px solid #e2e8f0;
    border-left: 4px solid #00aaff;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    position: relative;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.02);
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
    background: #fff;
    border-left-color: #0077cc;
    border-color: #e2e8f0;
}

.service-icon {
    width: 60px;
    height: 60px;
    background: #fff;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #00aaff;
    font-size: 1.8rem;
    margin-bottom: 25px;
    transition: all 0.4s ease;
    box-shadow: 0 4px 10px rgba(0, 170, 255, 0.1);
}

.service-card:hover .service-icon {
    background: #00aaff;
    color: #fff;
    transform: rotate(10deg) scale(1.1);
    box-shadow: 0 8px 20px rgba(0, 170, 255, 0.2);
}

.service-card h3 {
    font-size: 1.4rem;
    color: #001f3f;
    margin-bottom: 15px;
    transition: color 0.3s ease;
    font-weight: 700;
}

.service-card:hover h3 {
    color: #00aaff;
}

.service-card p {
    font-size: 1rem;
    color: #475569;
    line-height: 1.7;
    margin-bottom: 25px;
}

.service-features {
    list-style: none;
    padding: 0;
    margin: 0;
}

.service-features li {
    font-size: 0.95rem;
    color: #64748b;
    margin-bottom: 12px;
    padding-left: 28px;
    position: relative;
    transition: color 0.3s ease;
}

.service-features li::before {
    content: '\f00c';
    font-family: 'Font Awesome 5 Free';
    font-weight: 900;
    color: #00aaff;
    position: absolute;
    left: 0;
    top: 2px;
    font-size: 0.9rem;
}

.service-card:hover .service-features li {
    color: #334155;
}

/* End-to-End Solutions */
.end-to-end-solutions {
    padding: 80px 150px;
    background: #f8fbff;
    text-align: center;
}

.solutions-content {
    max-width: 900px;
    margin: 0 auto;
}

.solutions-content h2 {
    font-size: 2rem;
    color: #001f3f;
    margin-bottom: 30px;
}

.solutions-content p {
    font-size: 1rem;
    color: #555;
    line-height: 1.8;
}

/* Responsive for Services Page */
@media (max-width: 1024px) {

    .services-section,
    .end-to-end-solutions {
        padding: 60px 80px;
    }

    .services-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 767px) {

    .services-section,
    .end-to-end-solutions {
        padding: 40px 30px;
    }

    .services-hero h1 {
        font-size: 2.2rem;
    }

    .service-card {
        padding: 30px;
    }
}

/* Capabilities Hero */
.capabilities-hero {
    padding: 80px 20px;
    background: linear-gradient(rgba(15, 23, 42, 0.7), rgba(15, 23, 42, 0.7)), url('images/jets.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    text-align: center;
}

.capabilities-hero-content {
    max-width: 800px;
    margin: 0 auto;
}

.capabilities-hero h1 {
    font-size: 3rem;
    color: #ffffff;
    margin-bottom: 20px;
    font-weight: 700;
}

.capabilities-hero p {
    font-size: 1.1rem;
    color: #e2e8f0;
    line-height: 1.6;
}

/* Section Icon */
.section-icon {
    width: 60px;
    height: 60px;
    background: #eef6fc;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #00aaff;
    font-size: 1.8rem;
    margin: 0 auto 30px;
}

.section-description {
    max-width: 800px;
    margin: 0 auto 50px;
    font-size: 1rem;
    color: #555;
    line-height: 1.6;
}

/* Certification Standards Section */
.cert-standards-section {
    position: relative;
    height: 400vh;
    background: #000;
    overflow: clip;
}

.cert-standards-container {
    position: sticky;
    top: 0;
    height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    /* Vertical alignment */
    align-items: center;
    background: #000;
    overflow: hidden;
    padding: 20px 40px;
    text-align: center;
}

.cert-standards-container h2 {
    font-size: 2.5rem;
    color: #fff;
    margin-bottom: 20px;
}

.cert-standards-container .section-description {
    color: #ccc;
}

.cert-standards-grid {
    display: flex;
    flex-wrap: nowrap;
    overflow-x: auto;
    gap: 60px;
    padding: 40px 0;
    -webkit-overflow-scrolling: touch;
    width: 100%;
}

.cert-standards-grid::-webkit-scrollbar {
    display: none;
}

.cert-card {
    display: flex;
    flex-direction: row;
    width: 66%;
    min-width: 66%;
    flex: 0 0 66%;
    height: 500px;
    background: #111;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(255, 255, 255, 0.05);
}

.cert-card h3 {
    font-size: 1.1rem;
    color: #001f3f;
    margin: 0;
}

.cert-img-wrapper {
    flex: 1;
    height: 100%;
    background: #000;
}

.cert-card img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.cert-content {
    flex: 1;
    padding: 40px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    text-align: left;
}

/* Tool Fluency Section */
.tool-fluency-section {
    padding: 80px 150px;
    background: #f8fbff;
    text-align: center;
}

.tool-fluency-container h2 {
    font-size: 2rem;
    color: #001f3f;
    margin-bottom: 20px;
}

.tool-categories-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto;
}

.tool-category {
    text-align: left;
}

.tool-category h3 {
    font-size: 1.1rem;
    color: #001f3f;
    margin-bottom: 15px;
}

.tool-category ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.tool-category ul li {
    font-size: 0.95rem;
    color: #555;
    margin-bottom: 8px;
    padding-left: 15px;
    position: relative;
}

.tool-category ul li::before {
    content: '';
    color: #00aaff;
    position: absolute;
    left: 0;
    font-weight: bold;
}

/* Systems Knowledge Section */
.systems-knowledge-section {
    padding: 80px 150px;
    background: #fff;
    text-align: center;
}

.systems-knowledge-container h2 {
    font-size: 2rem;
    color: #001f3f;
    margin-bottom: 20px;
}

.systems-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    max-width: 1000px;
    margin: 0 auto;
}

.system-card {
    background: #f8fbff;
    padding: 25px 20px;
    border-radius: 8px;
    text-align: left;
}

.system-card h3 {
    font-size: 1.1rem;
    color: #001f3f;
    margin-bottom: 8px;
}

.system-card p {
    font-size: 0.9rem;
    color: #555;
    margin: 0;
    line-height: 1.4;
}

/* Capabilities Assurance Section */
.capabilities-assurance {
    padding: 80px 150px;
    background: #00aaff;
    text-align: center;
}

.assurance-content {
    max-width: 900px;
    margin: 0 auto;
}

.assurance-content h2 {
    font-size: 2rem;
    color: #fff;
    margin-bottom: 30px;
}

.assurance-content p {
    font-size: 1rem;
    color: #fff;
    line-height: 1.8;
    margin-bottom: 20px;
}

/* Responsive for Capabilities Page */
@media (max-width: 1024px) {

    .cert-standards-section,
    .tool-fluency-section,
    .systems-knowledge-section,
    .capabilities-assurance {
        /* padding: 60px 80px; */
    }

    .cert-standards-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .tool-categories-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .systems-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 767px) {

    .cert-standards-section,
    .tool-fluency-section,
    .systems-knowledge-section,
    .capabilities-assurance {
        /* padding: 40px 30px; */
    }

    .capabilities-hero h1 {
        font-size: 2.2rem;
    }

    .cert-standards-grid,
    .tool-categories-grid,
    .systems-grid {
        grid-template-columns: 1fr;
    }
}

/* Case Studies Hero */
.case-studies-hero {
    padding: 80px 20px;
    background: linear-gradient(rgba(15, 23, 42, 0.7), rgba(15, 23, 42, 0.7)), url('images/aerospacecasestudy.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    text-align: center;
}

.case-studies-hero-content {
    max-width: 800px;
    margin: 0 auto;
}

.case-studies-hero h1 {
    font-size: 3rem;
    /* color: #001f3f; */
    color: #ffffff;
    margin-bottom: 20px;
    font-weight: 700;
}

.case-studies-hero p {
    font-size: 1.1rem;
    /* color: #555; */
    color: #ffffff;
    line-height: 1.6;
}

.case-studies-section {
    padding: 80px 150px;
    background: #fff;
}

.case-studies-container {
    max-width: 1000px;
    margin: 0 auto;
}

.case-study-card {
    background: #f8fbff;
    padding: 50px;
    border-radius: 8px;
    margin-bottom: 50px;
    border-left: 4px solid #00aaff;
}

.case-study-icon {
    width: 60px;
    height: 60px;
    background: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #00aaff;
    font-size: 1.8rem;
    margin-bottom: 25px;
}

.case-study-card h2 {
    font-size: 1.8rem;
    color: #001f3f;
    margin-bottom: 30px;
}

.case-study-content {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.case-section h3 {
    font-size: 1.2rem;
    color: #001f3f;
    margin-bottom: 15px;
}

.case-section p {
    font-size: 1rem;
    color: #555;
    line-height: 1.7;
}

.results-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
    margin-top: 15px;
}

.result-item {
    display: flex;
    align-items: flex-start;
    gap: 10px;
}

.result-item i {
    color: #00aaff;
    font-size: 1.1rem;
    margin-top: 3px;
    flex-shrink: 0;
}

.result-item span {
    font-size: 0.95rem;
    color: #555;
    line-height: 1.5;
}

.case-section.impact {
    background: #fff;
    padding: 25px;
    border-radius: 6px;
    border-left: 3px solid #00aaff;
}

/* Proven Track Record */
.proven-track-record {
    padding: 80px 150px;
    background: #f8fbff;
    text-align: center;
}

.track-record-content {
    max-width: 900px;
    margin: 0 auto;
}

.track-record-content h2 {
    font-size: 2rem;
    color: #001f3f;
    margin-bottom: 30px;
}

.track-record-content p {
    font-size: 1rem;
    color: #555;
    line-height: 1.8;
}

/* Industries Hero */
.industries-hero {
    padding: 80px 20px;
    background: linear-gradient(rgba(15, 23, 42, 0.7), rgba(15, 23, 42, 0.7)), url('images/Our_project_CH47.jpeg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    text-align: center;
}

.industries-hero-content {
    max-width: 800px;
    margin: 0 auto;
}

.industries-hero h1 {
    font-size: 3rem;
    /* color: #001f3f; */
    color: #ffffff;
    margin-bottom: 20px;
    font-weight: 700;
}

.industries-hero p {
    font-size: 1.1rem;
    /* color: #555; */
    color: #ffffff;
    line-height: 1.6;
}

/* Industries Section */
.industries-section {
    padding: 80px 150px;
    background: #fff;
}

.industries-container {
    max-width: 1000px;
    margin: 0 auto;
}

.industry-block {
    background: #f8fbff;
    padding: 50px;
    border-radius: 8px;
    margin-bottom: 50px;
}

.industry-icon {
    width: 60px;
    height: 60px;
    background: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #00aaff;
    font-size: 1.8rem;
    margin-bottom: 25px;
}

.industry-block h2 {
    font-size: 1.8rem;
    color: #001f3f;
    margin-bottom: 20px;
}

.industry-description {
    font-size: 1rem;
    color: #555;
    line-height: 1.7;
    margin-bottom: 30px;
}

.industry-details {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
    margin-bottom: 30px;
}

.detail-column h3 {
    font-size: 1.1rem;
    color: #001f3f;
    margin-bottom: 15px;
}

.detail-column ul {
    padding-left: 20px;
    margin-bottom: 15px;
}

.detail-column ul li {
    font-size: 0.95rem;
    color: #555;
    margin-bottom: 10px;
}

.industry-standards {
    background: #fff;
    padding: 20px;
    border-radius: 6px;
}

.industry-standards h4 {
    font-size: 1rem;
    color: #001f3f;
    margin-bottom: 10px;
}

.industry-standards p {
    font-size: 0.9rem;
    color: #555;
    margin: 0;
}

/* Multi-Domain Excellence */
.multi-domain-excellence {
    padding: 80px 150px;
    background: #f8fbff;
}

.excellence-content {
    max-width: 1000px;
    margin: 0 auto;
}

.excellence-content h2 {
    font-size: 2rem;
    color: #001f3f;
    margin-bottom: 50px;
    text-align: center;
}

.excellence-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}

.excellence-card {
    background: #fff;
    padding: 30px;
    border-radius: 8px;
}

.excellence-card h3 {
    font-size: 1.2rem;
    color: #001f3f;
    margin-bottom: 15px;
}

.excellence-card p {
    font-size: 0.95rem;
    color: #555;
    line-height: 1.6;
    margin: 0;
}

/* Versatile Partner */
.versatile-partner {
    padding: 80px 150px;
    background: #00aaff;
    text-align: center;
}

.partner-content {
    max-width: 900px;
    margin: 0 auto;
}

.partner-content h2 {
    font-size: 2rem;
    color: #fff;
    margin-bottom: 30px;
}

.partner-content p {
    font-size: 1rem;
    color: #fff;
    line-height: 1.8;
}

/* Responsive for Case Studies and Industries Pages */
@media (max-width: 1024px) {

    .case-studies-section,
    .industries-section,
    .proven-track-record,
    .multi-domain-excellence,
    .versatile-partner {
        padding: 60px 80px;
    }

    .results-grid,
    .industry-details,
    .excellence-grid {
        grid-template-columns: 1fr;
    }
}

.industry-icon {
    width: 60px;
    height: 60px;
    background: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #00aaff;
    font-size: 1.8rem;
    margin-bottom: 25px;
}

.industry-block h2 {
    font-size: 1.8rem;
    color: #001f3f;
    margin-bottom: 20px;
}

.industry-description {
    font-size: 1rem;
    color: #555;
    line-height: 1.7;
    margin-bottom: 30px;
}

.industry-details {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
    margin-bottom: 30px;
}

.detail-column h3 {
    font-size: 1.1rem;
    color: #001f3f;
    margin-bottom: 15px;
}

.detail-column ul {
    padding-left: 20px;
    margin-bottom: 15px;
}

.detail-column ul li {
    font-size: 0.95rem;
    color: #555;
    margin-bottom: 10px;
}

.industry-standards {
    background: #fff;
    padding: 20px;
    border-radius: 6px;
}

.industry-standards h4 {
    font-size: 1rem;
    color: #001f3f;
    margin-bottom: 10px;
}

.industry-standards p {
    font-size: 0.9rem;
    color: #555;
    margin: 0;
}

/* Multi-Domain Excellence */
.multi-domain-excellence {
    padding: 80px 150px;
    background: #f8fbff;
}

.excellence-content {
    max-width: 1000px;
    margin: 0 auto;
}

.excellence-content h2 {
    font-size: 2rem;
    color: #001f3f;
    margin-bottom: 50px;
    text-align: center;
}

.excellence-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}

.excellence-card {
    background: #fff;
    padding: 30px;
    border-radius: 8px;
}

.excellence-card h3 {
    font-size: 1.2rem;
    color: #001f3f;
    margin-bottom: 15px;
}

.excellence-card p {
    font-size: 0.95rem;
    color: #555;
    line-height: 1.6;
    margin: 0;
}

/* Versatile Partner */
.versatile-partner {
    padding: 80px 150px;
    background: #00aaff;
    text-align: center;
}

.partner-content {
    max-width: 900px;
    margin: 0 auto;
}

.partner-content h2 {
    font-size: 2rem;
    color: #fff;
    margin-bottom: 30px;
}

.partner-content p {
    font-size: 1rem;
    color: #fff;
    line-height: 1.8;
}

/* Responsive for Case Studies and Industries Pages */
@media (max-width: 1024px) {

    .case-studies-section,
    .industries-section,
    .proven-track-record,
    .multi-domain-excellence,
    .versatile-partner {
        padding: 60px 80px;
    }

    .results-grid,
    .industry-details,
    .excellence-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 767px) {

    .case-studies-section,
    .industries-section,
    .proven-track-record,
    .multi-domain-excellence,
    .versatile-partner {
        padding: 40px 30px;
    }

    .case-studies-hero h1,
    .industries-hero h1 {
        font-size: 2.2rem;
    }

    .case-study-card,
    .industry-block {
        padding: 30px;
    }
}

/* ========================================
   WHY CHOOSE MACH GLOBAL - PREMIUM INTERACTIVE DESIGN
   ======================================== */

.why-choose {
    padding: 80px 150px;
    background: linear-gradient(135deg, #f8fbff 0%, #eef6fc 100%);
}

.why-choose-container {
    max-width: 1400px;
    margin: 0 auto;
}

.why-choose-container h2 {
    text-align: center;
    font-size: 2.8rem;
    color: #0f172a;
    margin-bottom: 60px;
    font-weight: 700;
    position: relative;
}

.why-choose-container h2::after {
    content: "";
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, #0ea5e9, #3b82f6);
    border-radius: 2px;
}

.why-choose-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 35px;
}

.why-item {
    background: #ffffff;
    border-radius: 16px;
    padding: 40px 30px;
    text-align: center;
    position: relative;
    overflow: hidden;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border: 2px solid transparent;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
}

/* Gradient overlay that appears on hover */
.why-item::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(14, 165, 233, 0.05) 0%, rgba(59, 130, 246, 0.05) 100%);
    opacity: 0;
    transition: opacity 0.4s ease;
    z-index: 0;
}

/* Animated corner accent */
.why-item::after {
    content: "";
    position: absolute;
    top: -2px;
    right: -2px;
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 0 60px 60px 0;
    border-color: transparent #0ea5e9 transparent transparent;
    opacity: 0;
    transition: all 0.4s ease;
    z-index: 1;
}

.why-item:hover {
    transform: translateY(-12px) scale(1.02);
    border-color: #0ea5e9;
    box-shadow: 0 20px 40px rgba(14, 165, 233, 0.25),
        0 0 0 1px rgba(14, 165, 233, 0.1);
}

.why-item:hover::before {
    opacity: 1;
}

.why-item:hover::after {
    opacity: 1;
}

.why-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 25px;
    background: linear-gradient(135deg, #0ea5e9 0%, #3b82f6 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    z-index: 2;
    transition: all 0.5s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    box-shadow: 0 8px 20px rgba(14, 165, 233, 0.3);
}

/* Pulsing ring effect */
.why-icon::before {
    content: "";
    position: absolute;
    top: -8px;
    left: -8px;
    right: -8px;
    bottom: -8px;
    border: 2px solid #0ea5e9;
    border-radius: 50%;
    opacity: 0;
    transform: scale(0.8);
    transition: all 0.5s ease;
}

.why-item:hover .why-icon {
    transform: rotate(360deg) scale(1.15);
    box-shadow: 0 12px 30px rgba(14, 165, 233, 0.5);
}

.why-item:hover .why-icon::before {
    opacity: 0.6;
    transform: scale(1.2);
    animation: pulse-ring 1.5s infinite;
}

@keyframes pulse-ring {

    0%,
    100% {
        transform: scale(1.2);
        opacity: 0.6;
    }

    50% {
        transform: scale(1.4);
        opacity: 0;
    }
}

.why-icon i {
    font-size: 2rem;
    color: #ffffff;
    transition: all 0.3s ease;
    position: relative;
    z-index: 3;
}

.why-item:hover .why-icon i {
    transform: scale(1.1);
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.2));
}

.why-item h3 {
    font-size: 1.5rem;
    color: #0f172a;
    margin-bottom: 15px;
    font-weight: 700;
    position: relative;
    z-index: 2;
    transition: all 0.3s ease;
}

.why-item:hover h3 {
    color: #0ea5e9;
    transform: translateY(-3px);
}

.why-item p {
    font-size: 1rem;
    color: #64748b;
    line-height: 1.7;
    position: relative;
    z-index: 2;
    transition: all 0.3s ease;
}

.why-item:hover p {
    color: #475569;
}

/* Staggered animation on page load */
.why-item:nth-child(1) {
    animation: fadeInUp 0.6s ease forwards;
    animation-delay: 0.1s;
    opacity: 0;
}

.why-item:nth-child(2) {
    animation: fadeInUp 0.6s ease forwards;
    animation-delay: 0.2s;
    opacity: 0;
}

.why-item:nth-child(3) {
    animation: fadeInUp 0.6s ease forwards;
    animation-delay: 0.3s;
    opacity: 0;
}

.why-item:nth-child(4) {
    animation: fadeInUp 0.6s ease forwards;
    animation-delay: 0.4s;
    opacity: 0;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Active/Click state */
.why-item:active {
    transform: translateY(-8px) scale(0.98);
}

/* Responsive adjustments */
@media (max-width: 1024px) {
    .why-choose {
        padding: 60px 80px;
    }

    .why-choose-container h2 {
        font-size: 2.4rem;
    }
}

@media (max-width: 767px) {
    .why-choose {
        padding: 50px 30px;
    }

    .why-choose-container h2 {
        font-size: 2rem;
        margin-bottom: 40px;
    }

    .why-choose-grid {
        grid-template-columns: 1fr;
        gap: 25px;
    }

    .why-item {
        padding: 35px 25px;
    }
}

.our-approach {
    padding: 80px 150px;
    background: #ffffff;
    position: relative;
    overflow: hidden;
}

.our-approach::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image:
        radial-gradient(circle at 20% 50%, rgba(14, 165, 233, 0.03) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(59, 130, 246, 0.03) 0%, transparent 50%);
    pointer-events: none;
}

.approach-container {
    max-width: 1400px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.approach-container h2 {
    text-align: center;
    font-size: 2.8rem;
    color: #0f172a;
    margin-bottom: 60px;
    font-weight: 700;
    position: relative;
    display: inline-block;
}

/* Animated underline */
.approach-container h2::after {
    content: "";
    position: absolute;
    bottom: -15px;
    left: 0;
    width: 0;
    height: 4px;
    background: linear-gradient(90deg, #0ea5e9, #3b82f6, #8b5cf6);
    border-radius: 2px;
    animation: expandUnderline 1s ease forwards;
    animation-delay: 0.3s;
}

@keyframes expandUnderline {
    to {
        width: 100%;
    }
}

.approach-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 40px;
}

.approach-card {
    background: linear-gradient(135deg, #ffffff 0%, #f8fbff 100%);
    border-radius: 20px;
    padding: 45px 35px;
    position: relative;
    overflow: hidden;
    cursor: pointer;
    transition: all 0.5s cubic-bezier(0.23, 1, 0.32, 1);
    border: 2px solid #e2e8f0;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
}

/* Gradient border effect */
.approach-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border-radius: 20px;
    padding: 2px;
    background: linear-gradient(135deg, #0ea5e9, #3b82f6, #8b5cf6);
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    mask-composite: exclude;
    opacity: 0;
    transition: opacity 0.5s ease;
}

/* Shine effect overlay */
.approach-card::after {
    content: "";
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg,
            transparent 30%,
            rgba(255, 255, 255, 0.3) 50%,
            transparent 70%);
    transform: translateX(-100%) translateY(-100%) rotate(45deg);
    transition: transform 0.8s ease;
}

.approach-card:hover {
    transform: translateY(-15px) scale(1.03);
    box-shadow:
        0 25px 50px rgba(14, 165, 233, 0.2),
        0 10px 25px rgba(59, 130, 246, 0.15),
        0 0 0 1px rgba(14, 165, 233, 0.1);
    border-color: transparent;
}

.approach-card:hover::before {
    opacity: 1;
}

/* Shine effect on hover */
.approach-card:hover::after {
    transform: translateX(100%) translateY(100%) rotate(45deg);
}

.approach-card h3 {
    font-size: 1.6rem;
    color: #0f172a;
    margin-bottom: 20px;
    font-weight: 700;
    position: relative;
    z-index: 2;
    transition: all 0.4s ease;
    display: flex;
    align-items: center;
    gap: 15px;
}

/* Number badge that appears before title */
.approach-card h3::before {
    content: attr(data-number);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 45px;
    height: 45px;
    background: linear-gradient(135deg, #0ea5e9, #3b82f6);
    color: #ffffff;
    border-radius: 12px;
    font-size: 1.2rem;
    font-weight: 700;
    opacity: 0;
    transform: scale(0) rotate(-180deg);
    transition: all 0.5s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    box-shadow: 0 4px 15px rgba(14, 165, 233, 0.4);
}

.approach-card:hover h3::before {
    opacity: 1;
    transform: scale(1) rotate(0deg);
}

.approach-card:hover h3 {
    color: #0ea5e9;
    transform: translateX(10px);
}

.approach-card p {
    font-size: 1.05rem;
    color: #64748b;
    line-height: 1.8;
    position: relative;
    z-index: 2;
    transition: all 0.3s ease;
}

.approach-card:hover p {
    color: #475569;
}

/* Add decorative icon in bottom right */
.approach-card>*:last-child::after {
    content: "â†’";
    position: absolute;
    bottom: 25px;
    right: 25px;
    font-size: 2rem;
    color: #0ea5e9;
    opacity: 0;
    transform: translateX(-20px);
    transition: all 0.4s ease;
    font-weight: 300;
}

.approach-card:hover>*:last-child::after {
    opacity: 0.3;
    transform: translateX(0);
}

/* Staggered entrance animation */
.approach-card:nth-child(1) {
    animation: slideInLeft 0.8s ease forwards;
    animation-delay: 0.2s;
    opacity: 0;
}

.approach-card:nth-child(2) {
    animation: slideInLeft 0.8s ease forwards;
    animation-delay: 0.4s;
    opacity: 0;
}

.approach-card:nth-child(3) {
    animation: slideInLeft 0.8s ease forwards;
    animation-delay: 0.6s;
    opacity: 0;
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Active/Click state */
.approach-card:active {
    transform: translateY(-12px) scale(1.01);
}

/* Add number data attributes via CSS */
.approach-card:nth-child(1) h3::before {
    content: "01";
}

.approach-card:nth-child(2) h3::before {
    content: "02";
}

.approach-card:nth-child(3) h3::before {
    content: "03";
}

/* Responsive adjustments */
@media (max-width: 1024px) {
    .our-approach {
        padding: 60px 80px;
    }

    .approach-container h2 {
        font-size: 2.4rem;
    }

    .approach-grid {
        gap: 30px;
    }
}

@media (max-width: 767px) {
    .our-approach {
        padding: 50px 30px;
    }

    .approach-container h2 {
        font-size: 2rem;
        margin-bottom: 40px;
    }

    .approach-grid {
        grid-template-columns: 1fr;
        gap: 25px;
    }

    .approach-card {
        padding: 35px 28px;
    }

    .approach-card h3 {
        font-size: 1.4rem;
    }

    .approach-card p {
        font-size: 1rem;
    }
}

/* Legacy Section Styles */
.legacy-section {
    padding: 0 0 20px 0;
    overflow: hidden;
    background: #fff;
}

.legacy-container {
    display: flex;
    align-items: center;
    justify-content: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    gap: 60px;
}

.legacy-content {
    flex: 1;
    max-width: 500px;
}

.legacy-content h2 {
    font-size: 42px;
    color: #001f3f;
    line-height: 1.2;
    margin-bottom: 25px;
    font-weight: 700;
}

.legacy-content p {
    font-size: 16px;
    color: #555;
    line-height: 1.6;
    margin-bottom: 35px;
}

.legacy-btn {
    display: inline-block;
    padding: 12px 30px;
    border: 2px solid #e11d48;
    color: #e11d48;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

.legacy-btn:hover {
    background: #e11d48;
    color: #fff;
}

.legacy-image {
    flex: 1.2;
    position: relative;
    clip-path: polygon(15% 0, 100% 0, 100% 100%, 0% 100%);
}

.legacy-image img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
}

@media (max-width: 900px) {
    .legacy-container {
        flex-direction: column;
        text-align: center;
    }

    .legacy-content {
        max-width: 100%;
    }

    .legacy-content h2 {
        font-size: 20px;
    }

    .legacy-image {
        width: 100%;
        clip-path: none;
        margin-top: 30px;
    }
}

/* Overview heading */
.legacy-overview {
    display: block;
    text-align: center;
    font-size: 2.8rem;
    color: #0f172a;
    margin-bottom: 60px;
    font-weight: 700;
    position: relative;
}

.legacy-overview::after {
    content: "";
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, #0ea5e9, #3b82f6);
    border-radius: 2px;
}

/* Cutting-Edge Solutions Section */
/* Cutting-Edge Solutions Section */
/* Innovative "Fly-Move" Logo Section */
.logo_animation {
    position: relative;
    height: 180px;
    width: 100%;
    background: transparent;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 20px 0;
    overflow: visible;
    perspective: 1000px;
}

/* Flying Shadow Effect */
.logo_animation::before {
    content: "";
    position: absolute;
    bottom: 20px;
    width: 60px;
    height: 15px;
    background: rgba(0, 170, 255, 0.1);
    filter: blur(8px);
    border-radius: 50%;
    animation: shadowMove 6s ease-in-out infinite;
}

.logo_animation .logo {
    position: relative;
    z-index: 10;
    max-width: 90px;
    height: auto;
    filter: drop-shadow(0 10px 20px rgba(0, 0, 0, 0.1));
    transform-style: preserve-3d;
    animation: flyMove 6s cubic-bezier(0.445, 0.05, 0.55, 0.95) infinite;
}

@keyframes flyMove {
    0% {
        transform: translate3d(-40px, 0, 0) rotateX(10deg) rotateY(20deg) rotateZ(-5deg) scale(0.9);
    }

    25% {
        transform: translate3d(0, -20px, 50px) rotateX(-5deg) rotateY(0deg) rotateZ(0deg) scale(1.1);
    }

    50% {
        transform: translate3d(40px, 0, 0) rotateX(10deg) rotateY(-20deg) rotateZ(5deg) scale(0.9);
    }

    75% {
        transform: translate3d(0, 20px, 50px) rotateX(-5deg) rotateY(0deg) rotateZ(0deg) scale(1.1);
    }

    100% {
        transform: translate3d(-40px, 0, 0) rotateX(10deg) rotateY(20deg) rotateZ(-5deg) scale(0.9);
    }
}

@keyframes shadowMove {

    0%,
    100% {
        transform: translateX(-40px) scale(0.8);
        opacity: 0.3;
    }

    25%,
    75% {
        transform: translateX(0) scale(1.2);
        opacity: 0.1;
    }

    50% {
        transform: translateX(40px) scale(0.8);
        opacity: 0.3;
    }
}

/* Hide old elements */
.logo_animation::after,
.logo_animation .data-point {
    display: none;
}

.solutions-section {
    padding: 80px 0;
    background: #f8fbff;
}

.solutions-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    gap: 60px;
}

.solutions-content {
    flex: 1;
    max-width: 500px;
}

.solutions-content h2 {
    font-size: 36px;
    color: #001f3f;
    margin-bottom: 20px;
    font-weight: 700;
}

.solutions-content p {
    font-size: 16px;
    color: #555;
    line-height: 1.6;
    margin-bottom: 30px;
}

.solutions-btn {
    display: inline-block;
    padding: 12px 30px;
    border: 2px solid #e11d48;
    color: #e11d48;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

.solutions-btn:hover {
    background: #e11d48;
    color: #fff;
}

.solutions-image {
    flex: 1.2;
    position: relative;
}

.solutions-image img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
}

@media (max-width: 900px) {
    .solutions-container {
        flex-direction: column;
        text-align: center;
    }

    .solutions-image {
        margin-top: 30px;
    }
}

/* Certification & Regulatory Engineering Section */
.cert-reg-section {
    padding: 80px 0;
    background: url('./images/cert-reg-banner.webp') center/cover no-repeat;
    color: #fff;
    text-align: center;
}

.cert-reg-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.cert-reg-section h2 {
    font-size: 2.8rem;
    margin-bottom: 20px;
    font-weight: 700;
}

.cert-reg-section p {
    font-size: 1rem;
    margin-bottom: 30px;
}

.cert-reg-section ul {
    list-style: none;
    padding: 0;
    display: inline-block;
    text-align: left;
}

.cert-reg-section li {
    font-size: 1rem;
    margin: 5px 0;
}

@media (max-width: 900px) {
    .cert-reg-section {
        background-position: top;
        padding: 60px 0;
    }
}

/* Certification Page Hero */
.cert-hero {
    padding: 120px 20px;
    background: linear-gradient(rgba(15, 23, 42, 0.7), rgba(15, 23, 42, 0.7)), url('images/certification_banner.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    text-align: center;
    color: white;
}

.cert-hero-content {
    max-width: 800px;
    margin: 0 auto;
}

.cert-hero h1 {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 20px;
}

.cert-hero p {
    font-size: 1.2rem;
    line-height: 1.6;
}

/* Certification Details */
.cert-details {
    padding: 0 150px 80px 150px;
    background-color: #fff;
    text-align: center;
}

.cert-details h2 {
    font-size: 2.5rem;
    color: #001f3f;
    margin-bottom: 30px;
}

.cert-details p {
    color: #555;
    font-size: 1.1rem;
    margin-bottom: 50px;
    line-height: 1.6;
}

.cert-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

.cert-item {
    background: #f8fbff;
    padding: 40px 30px;
    border-radius: 8px;
    border: 1px solid #eef6fc;
    transition: transform 0.3s ease;
}

.cert-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.cert-item h3 {
    color: #001f3f;
    margin-bottom: 15px;
    font-size: 1.3rem;
}

.cert-item p {
    font-size: 1rem;
    margin-bottom: 0;
}

@media (max-width: 1024px) {
    .cert-details {
        padding: 60px 80px;
    }

    .cert-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 767px) {
    .cert-details {
        padding: 40px 30px;
    }

    .cert-hero h1 {
        font-size: 2.5rem;
    }
}


/* Certification Standards Grid - Redesign */
/* Cleaned up duplicate cert-standards redesign blocks */

.cert-content h3 {
    font-size: 2.2rem;
    color: #fff;
    /* Dark navy */
    margin-bottom: 20px;
    font-weight: 600;
}

.cert-content p {
    font-size: 1.1rem;
    color: #ccc;
    /* Dark gray */
    line-height: 1.6;
}

/* Responsive Grid Details */
@media (max-width: 1024px) {
    .cert-standards-section {
        height: 400vh !important;
    }

    .cert-standards-container {
        position: sticky !important;
        top: 0 !important;
        height: 100vh !important;
        display: flex !important;
        flex-direction: column !important;
        justify-content: center !important;
        align-items: center !important;
        padding: 40px !important;
        background: #000 !important;
    }

    .cert-standards-grid {
        display: flex !important;
        flex-direction: row !important;
        flex-wrap: nowrap !important;
        overflow: hidden !important;
        gap: 40px !important;
        width: 100% !important;
    }

    .cert-card {
        flex-direction: row !important;
        /* side-by-side layout like desktop */
        width: 75vw !important;
        min-width: 75vw !important;
        height: 450px !important;
        background: #111 !important;
        border-radius: 12px !important;
        overflow: hidden !important;
        flex-shrink: 0 !important;
    }

    .cert-img-wrapper {
        flex: 1 !important;
        height: 100% !important;
        background: #000 !important;
    }

    .cert-card img {
        width: 100% !important;
        height: 100% !important;
        object-fit: contain !important;
    }

    .cert-content {
        flex: 1 !important;
        padding: 30px !important;
        text-align: left !important;
        display: flex !important;
        flex-direction: column !important;
        justify-content: center !important;
    }

    .cert-content h3 {
        font-size: 1.6rem !important;
        color: #fff !important;
        margin-bottom: 15px !important;
    }

    .cert-content p {
        font-size: 1rem !important;
        color: #ccc !important;
        line-height: 1.6 !important;
    }

    .cert-standards-container h2 {
        font-size: 2.2rem !important;
        color: #fff !important;
        margin-bottom: 15px !important;
    }

    .cert-standards-container .section-description {
        font-size: 1rem !important;
        color: #ccc !important;
        margin-bottom: 30px !important;
    }
}

@media (max-width: 767px) {
    .cert-standards-section {
        height: 400vh !important;
    }

    .cert-standards-container {
        position: sticky !important;
        top: 0 !important;
        height: 100vh !important;
        display: flex !important;
        flex-direction: column !important;
        justify-content: center !important;
        align-items: center !important;
        background: #000 !important;
        padding: 5px 15px !important;
    }

    .cert-standards-grid {
        display: flex !important;
        flex-direction: row !important;
        flex-wrap: nowrap !important;
        overflow: hidden !important;
        /* Essential for scrollLeft */
        gap: 20px !important;
        width: 100% !important;
        padding: 0 !important;
    }

    .cert-card {
        flex-direction: column !important;
        width: 85vw !important;
        min-width: 85vw !important;
        height: 60vh !important;
        background: #111 !important;
        border-radius: 12px !important;
        overflow: hidden !important;
        flex-shrink: 0 !important;
        margin: 0 !important;
    }

    .cert-img-wrapper {
        height: 25vh !important;
        width: 100% !important;
        background: #000 !important;
        border-right: none !important;
        border-bottom: 1px solid #333 !important;
    }

    .cert-card img {
        width: 100% !important;
        height: 100% !important;
        object-fit: cover !important;
    }

    .cert-content {
        padding: 15px !important;
        text-align: left !important;
        flex: 1 !important;
        display: flex !important;
        flex-direction: column !important;
        justify-content: center !important;
    }

    .cert-content h3 {
        font-size: 1.2rem !important;
        margin-bottom: 5px !important;
        color: #fff !important;
    }

    .cert-content p {
        font-size: 0.85rem !important;
        color: #ccc !important;
        line-height: 1.4 !important;
    }

    .cert-standards-container h2 {
        font-size: 1.2rem !important;
        margin-bottom: 5px !important;
        color: #fff !important;
    }

    .cert-standards-container .section-description {
        font-size: 0.7rem !important;
        margin-bottom: 15px !important;
        color: #ccc !important;
        max-width: 95% !important;
    }
}