/* Reset & base styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

:root {
    --nav-bg: #021526;
    --body-bg: #000;
    --text: #021526;
    --light-bg: #EDEBE7; /* hero + breadcrumb */
    --alt-bg: #F5F1EB;   /* alternating light sections */
    --accent: #F78C30;
}

body {
    font-family: 'Poppins', sans-serif;
    background-color: var(--body-bg);
    color: #fff;
    overflow-x: hidden;
}

/* -------- Page Layout Utilities (for service pages) -------- */
.page-hero {
    background: var(--light-bg);
    margin-top: 90px; /* offset fixed navbar */
    padding: 60px 20px;
    color: #021526;
}

.tile-section {
    position: relative;
    padding: 60px 20px;
    color: #fff;
    background: linear-gradient(135deg, #021526, #0a2a3f);
    overflow: hidden;
}
.tile-section::before {
    content: "";
    position: absolute;
    inset: 0;
    opacity: 0.25;
    pointer-events: none;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grid" width="10" height="10" patternUnits="userSpaceOnUse"><path d="M 10 0 L 0 0 0 10" fill="none" stroke="%23ffffff" stroke-width="0.5" opacity="0.25"/></pattern></defs><rect width="100" height="100" fill="url(%23grid)"/></svg>');
}

/* 404 page hero */
.error-hero {
    min-height: 70vh;
    display: flex;
    align-items: center;
    text-align: center;
}
.error-hero .container { flex-direction: column; gap: 16px; }
.error-code {
    font-size: 96px;
    font-weight: 800;
    letter-spacing: 2px;
    color: #fff;
    opacity: 0.9;
}
.error-hero h1 { color: #fff; font-size: 28px; }
.error-hero p { color: #dbe7f3; }

/* Coming Soon hero */
.coming-hero {
    min-height: 70vh;
    display: flex;
    align-items: center;
    text-align: center;
}
.coming-hero .container {
    flex-direction: column;
    gap: 20px;
}
.coming-badge {
    display: inline-block;
    padding: 6px 12px;
    border-radius: 999px;
    background: rgba(255,255,255,0.1);
    border: 1px solid rgba(255,255,255,0.2);
    color: #fff;
    font-weight: 600;
    letter-spacing: 0.3px;
}
.coming-hero h1 {
    color: #fff;
    font-size: 32px;
    line-height: 1.25;
}
.coming-hero .lead {
    color: #dbe7f3;
}

.countdown {
    display: flex;
    gap: 14px;
    margin-top: 12px;
}
.countdown .unit {
    min-width: 90px;
    padding: 12px 14px;
    border-radius: 10px;
    background: rgba(255,255,255,0.08);
    border: 1px solid rgba(255,255,255,0.15);
}
.countdown .num {
    font-size: 28px;
    font-weight: 800;
    line-height: 1;
}
.countdown .label {
    font-size: 12px;
    opacity: 0.85;
}

.notify-form {
    margin-top: 10px;
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    justify-content: center;
}
.notify-form input[type="email"] {
    width: 280px;
    max-width: 90vw;
    padding: 12px 14px;
    border: 1px solid #d9d9d9;
    border-radius: 6px;
    outline: none;
}
.notify-form .btn-accent { cursor: pointer; }

/* Improve outline button contrast on dark hero */
.coming-hero .btn-outline {
    border-color: #ffffff;
    color: #ffffff;
}
.coming-hero .btn-outline:hover {
    background-color: #ffffff;
    color: var(--text);
}

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

.page-hero h1 {
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 20px;
    color: var(--text);
}

.lead-block {
    border-left: 4px solid var(--accent);
    padding-left: 15px;
    margin-bottom: 25px;
}

.btn-accent {
    display: inline-block;
    background-color: var(--accent);
    color: var(--text);
    padding: 12px 24px;
    text-decoration: none;
    border-radius: 6px;
    font-weight: 700;
}

.breadcrumb-bar {
    background-color: var(--light-bg);
    padding: 14px 20px;
    color: var(--text);
}
.breadcrumb-bar a { color: var(--text); text-decoration: none; }
.breadcrumb-bar .crumb-spacer { color: var(--text); margin: 0 6px; }
/* Fix spacing: override container flex spacing for breadcrumbs */
.breadcrumb-bar .container {
    justify-content: flex-start;
    gap: 8px;
    align-items: center;
}

.section { padding: 60px 20px; color: var(--text); background: #fff; }
.section.alt { background: var(--alt-bg); }

.section-cta {
    padding: 60px 20px;
    background-color: var(--nav-bg);
    color: #fff;
    text-align: center;
}
.section-cta h2 { color: var(--accent); }

/* Navbar */
.navbar {
    background-color: var(--nav-bg);
    padding: 1rem 0;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
    z-index: 1000;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

/* Normalize old inline backgrounds on service pages to match palette */
section[style*="background-color: #edebe7"],
section[style*="background: #edebe7"] { background: var(--light-bg) !important; color: var(--text) !important; }
section[style*="background: #f5f1eb"],
section[style*="background-color: #f5f1eb"] { background: var(--alt-bg) !important; color: var(--text) !important; }


.container {
    max-width: 1200px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 2rem;
    margin: 0 auto;
}

.logo-img {
    height: 60px;
    width: auto;
    margin-left: 0;
}

/* Center nav links */
.nav-center {
    flex: 1;
    display: flex;
    justify-content: center;
    margin: 0 auto;
    margin-left: 60px;
}

.nav-links {
    list-style: none;
    display: flex;
    gap: 2.5rem;
    align-items: center;
}

.nav-links a {
    text-decoration: none;
    color: #ffffff;
    font-weight: 500;
    padding: 0.75rem 1.25rem;
    transition: all 0.3s ease;
    border-radius: 6px;
    position: relative;
    overflow: hidden;
}

.nav-links a:hover {
    color: #021526;
    background-color: rgba(255, 255, 255, 0.1);
    transform: translateY(-2px);
}

.has-dropdown {
    position: relative;
}

.dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    background: #f2f1ef;
    padding: 1rem 2rem;
    display: none;
    flex-direction: column;
    box-shadow: 0 0 16px rgba(0, 0, 0, 0.15);
    /* transition: all 0.3s ease; */
    z-index: 999;
}

.has-dropdown:hover .dropdown {
    display: flex;
}


/* === Hamburger === */
.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    padding: 8px;
    border-radius: 4px;
    transition: all 0.3s ease;
}

.hamburger:hover {
    background-color: rgba(255, 255, 255, 0.1);
}

.hamburger span {
    width: 24px;
    height: 3px;
    background: #fff;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border-radius: 2px;
}

.hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(6px, 6px);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px);
}

/* === Fullscreen Mobile Menu === */
.mobile-nav-overlay {
    position: fixed;
    top: 0;
    left: 0;
    height: 100vh;
    width: 100%;
    background: linear-gradient(135deg, #f4f4f4, #e8e8e8);
    z-index: 9999;
    display: flex;
    flex-direction: column;
    padding: 2rem;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    transform: translateX(100%);
    opacity: 0;
}

.mobile-nav-dropdown {
    display: none;
    flex-direction: column;
    position: absolute;
    top: 100%;
    /* right below navbar */
    left: 0;
    width: 100%;
    background-color: #f4f4f4;
    border-top: 1px solid #ddd;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    z-index: 9;
    padding: 1.5rem 2rem;
}

.mobile-nav-dropdown.active {
    display: flex;
}

.mobile-nav-overlay.active {
    display: flex;
    transform: translateX(0);
    opacity: 1;
}

/* Close button */
.close-icon {
    font-size: 2rem;
    font-weight: bold;
    cursor: pointer;
    margin-bottom: 2rem;
    align-self: flex-end;
    color: #021526;
}

/* Mobile nav links */
.mobile-nav-links {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.mobile-nav-links a {
    font-size: 1rem;
    color: #111;
    text-decoration: none;
    transition: color 0.3s ease;
}

.mobile-nav-links a:hover {
    color: #666;
}

/* Submenu hidden by default */
.submenu {
    display: none;
    flex-direction: column;
    gap: 0.75rem;
    padding-left: 1.5rem;
    margin-top: 0.5rem;
}

/* Show submenu when active */
.submenu.active {
    display: flex;
    font-size: 17px;
}

/* Style Services toggle */
.has-submenu>a {
    cursor: pointer;
    display: inline-block;
    font-weight: 500;
}

/* === Responsive === */
@media (max-width: 1024px) {
    .nav-center {
        margin-left: 20px;
    }
    
    .nav-links {
        gap: 1.5rem;
    }
    
    .services-grid {
        padding: 60px 50px;
    }
}

@media (max-width: 768px) {
    .nav-center {
        display: none;
    }

    .logo-img {
        margin: 0 auto;
        height: 50px;
    }

    .hamburger {
        display: flex;
        margin-right: 0;
    }

    .mega-menu {
        display: none !important;
    }

    .mega-toggle:hover+#megaMenu {
        display: none !important;
    }

    .mega-toggle {
        pointer-events: none;
    }
    
    .hero-content h1 {
        font-size: 2.2rem;
    }
    
    .hero-content p {
        font-size: 1rem;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
        grid-template-rows: auto;
        padding: 40px 20px;
        gap: 20px;
    }
    
    .grid-box {
        height: 280px;
        margin-top: 0;
    }
}

/* === ANIMATIONS === */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideUp {
    from {
        opacity: 1;
        transform: translateY(0);
    }
    to {
        opacity: 0;
        transform: translateY(-20px);
    }
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
}

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

/* Mega Menu - Full Width */
.mega-menu {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background-color: #EDEBE7;
    padding: 3rem 4rem;
    z-index: 1002; /* above navbar for seamless hover */
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    display: flex; /* keep layout fixed to enable smooth transitions */
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    /* start slightly above and compressed, then drop and expand */
    transform-origin: top;
    transform: translateY(-16px) scaleY(0.96);
    transition: opacity 260ms cubic-bezier(0.22, 1, 0.36, 1),
               transform 300ms cubic-bezier(0.22, 1, 0.36, 1),
               visibility 0s linear 260ms;
    will-change: transform, opacity;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

/* Open state controlled by JS (class on navbar) */
.navbar.mega-open .mega-menu {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateY(0) scaleY(1);
    transition: opacity 260ms cubic-bezier(0.22, 1, 0.36, 1),
               transform 300ms cubic-bezier(0.22, 1, 0.36, 1),
               visibility 0s linear 0s;
}

/* Left side tabs */
.service-tabs {
    list-style: none;
    padding: 0;
}

.service-tabs li {
    font-weight: 600;
    color: #021526;
    padding: 0.5rem 0;
    cursor: pointer;
    transition: color 0.3s ease;
}

.service-tabs li.active,
.service-tabs li:hover {
    color: #F78C30;
}

/* Divider and Right Content */
.divider {
    width: 2px;
    background-color: #F78C30;
    margin: 0 2rem;
}

.mega-left {
    width: 25%;
}

.mega-right {
    flex: 1;
    padding-left: 2rem;
}

.mega-content {
    display: none;
    list-style: none;
}

.mega-content.active {
    display: block;
}

.mega-content.active li {
    margin-bottom: 10px;
}

.mega-content li a {
    text-decoration: none;
    color: #021526;
    font-weight: 400;
    transition: color 0.2s ease;
}

.mega-content li a:hover {
    color: #F78C30;
}

/* Hero Section */
.hero {
    background: url('assets/bg.png') no-repeat center center/cover;
    height: 107vh;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-overlay {
    background: linear-gradient(135deg, rgba(2, 21, 38, 0.8), rgba(2, 21, 38, 0.6));
    height: 100%;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 2rem;
    text-align: center;
    position: relative;
}

.hero-content {
    max-width: 800px;
    animation: fadeInUp 1s ease-out;
}

.hero-content h1 {
    font-size: 3rem;
    line-height: 1.2;
    margin-bottom: 1.5rem;
    font-weight: 700;
}

.hero-content h1 span {
    color: #f78c30;
    font-weight: bold;
}

.hero-content p {
    font-size: 1.2rem;
    margin-bottom: 2.5rem;
    color: #EDEBE7;
    line-height: 1.6;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}


.btn-cta {
    background: linear-gradient(135deg, #f78c30, #ffa756);
    color: #000;
    padding: 1rem 2rem;
    font-weight: 600;
    text-decoration: none;
    border-radius: 8px;
    transition: all 0.3s ease;
    display: inline-block;
    box-shadow: 0 4px 15px rgba(247, 140, 48, 0.3);
    font-size: 1.1rem;
}

.btn-cta:hover {
    background: linear-gradient(135deg, #ffa756, #f78c30);
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(247, 140, 48, 0.4);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: repeat(2, 320px);
    gap: 25px;
    padding: 80px 100px;
    background-color: #EDEBE7;
    font-family: 'Poppins', sans-serif;
    position: relative;
    margin-top: -50px;
    z-index: 10;
}

.grid-box {
    width: 100%;
    height: 320px;
    background-color: #021526;
    border-radius: 12px;
    padding: 30px 25px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    z-index: 10;
    overflow: hidden;
    cursor: pointer;
}

.web-pentest-bg {
    background: linear-gradient(rgba(2, 21, 38, 0.8), rgba(2, 21, 38, 0.8)), url("assets/web_pentest.png");
}

.mobile-pentest-bg {
    background: linear-gradient(rgba(2, 21, 38, 0.8), rgba(2, 21, 38, 0.8)), url("assets/mobile_pentest.png");
}

.api-pentest-bg {
    background: linear-gradient(rgba(2, 21, 38, 0.8), rgba(2, 21, 38, 0.8)), url("assets/API_pentest.png");
}

.net-pentest-bg {
    background: linear-gradient(rgba(2, 21, 38, 0.8), rgba(2, 21, 38, 0.8)), url("assets/network_pentest.png");
}

.grid-box:hover {
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
    transform: translateY(-8px) scale(1.02);
    background-color: #0a2a3f;
}

.grid-box img {
    max-width: 60px;
    height: 60px;
    object-fit: contain;
    margin-left: 0;
    transition: transform 0.3s ease;
}

.grid-box h3 {
    font-size: 1.5rem;
    color: #FFF;
    margin-bottom: 4px;
}

.grid-box span {
    color: white !important;
}

.grid-box p {
    font-size: 1em;
    font-weight: bold;
    color: #021526;
}

.grid-box a {
    text-decoration: none;
}

.service-icon {
    width: 40px;
    height: 40px;
    object-fit: contain;
    margin: 0 auto;
}

.service-meta {
    text-align: left;
    margin-top: 30px;
}

.service-type {
    display: block;
    color: #ccc;
    font-size: 0.8em;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 6px;
}

.service-title {
    font-size: 1.1em;
    color: #fff;
    font-weight: 700;
    margin: 0;
    line-height: 1.3;
}

/* Right Arrow */
.arrow-icon {
    position: absolute;
    bottom: 20px;
    right: 20px;
    color: #ccc;
    font-size: 1.2em;
    transition: color 0.2s ease;
}

.grid-box:hover img {
    transform: scale(1.1);
}

.grid-box:hover .arrow-icon {
    color: #F78C30;
    transform: translateX(5px);
}

/* Intro Box Styling */
.intro-box {
    background: url('assets/intro-box-bg.png') center/cover no-repeat;
    color: #fff;
    position: relative;
}

.intro-box .overlay {
    background-color: rgba(2, 21, 38, 0.8);
    height: 100%;
    width: 100%;
    padding: 20px;
    text-align: left;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.intro-box p {
    font-size: 0.9em;
    margin: 0;
    color: #EDEBE7;
}

.intro-box h2 {
    font-size: 2em;
    line-height: 1.2;
    margin: 10px 0 0;
    color: #fff;
}

/* CTA Box Styling */
.cta-box {
    display: flex;
    align-items: center;
    justify-content: center;
}

.cta-box a {
    text-decoration: none;
    color: #ffffff;
    font-weight: 600;
    font-size: 1em;
    text-align: center;
}

.cta-box p {
    color: #fff;
}

.cta-box:hover {
    font-size: 1.5em;
}

@media screen and (max-width: 768px) {
    .services-grid {
        display: flex;
        flex-direction: column;
        gap: 20px;
        padding: 30px 20px;
    }

    .grid-box {
        width: 100%;
        height: auto;
        min-height: 320px;
        padding: 20px;
        background-size: cover;
        background-position: center;
        background-repeat: no-repeat;
        background-blend-mode: multiply;
        background: linear-gradient(rgba(2, 21, 38, 0.8), rgba(2, 21, 38, 0.8));
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        margin-top: 0;
    }

    .grid-box img,
    .service-icon {
        width: 32px;
        height: 32px;
        margin-bottom: 10px;
    }

    .grid-box h3 {
        color: #ccc;
    }

    .service-meta {
        margin-top: 10px;
        text-align: left;
    }

    .service-title {
        font-size: 1.1em;
        color: #fff;
    }

    .service-type {
        font-size: 0.75em;
        color: #ccc;
    }

    .arrow-icon {
        font-size: 1.2em;
        color: #F78C30;
        position: absolute;
        bottom: 15px;
        right: 20px;
    }

    .cta-box {
        background-color: #021526;
        display: flex;
        align-items: center;
        justify-content: center;
        padding: 40px 20px;
        text-align: center;
        flex-direction: column;
    }

    .cta-box p {
        color: white;
        font-size: 1em;
        font-weight: 600;
    }

    .intro-box {
        height: 100px;
    }

    .intro-box .overlay {
        padding: 20px;
    }

    .intro-box h2 {
        font-size: 1.6em;
        line-height: 1.3;
    }

    .intro-box p {
        font-size: 0.8em;
    }
}

/* WHY CHOOSE US */
.why-choose-us .features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.feature-card {
    background-color: #fff;
    padding: 25px;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(2, 21, 38, 0.1);
    transition: transform 0.2s ease;
    text-align: center;
}

.feature-card:hover {
    transform: translateY(-5px);
}

.icon {
    font-size: 36px;
    margin-bottom: 15px;
    color: #F78C30;
}

.feature-card h3 {
    font-size: 20px;
    margin-bottom: 10px;
}

.feature-card p {
    font-size: 15px;
    color: #333;
}

/* HOW WE WORK */
.how-we-work .timeline {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 20px;
    margin-top: 40px;
}

.step {
    flex: 1 1 200px;
    background-color: #fff;
    border-left: 5px solid #F78C30;
    padding: 20px;
    border-radius: 10px;
    position: relative;
}

.step .circle {
    position: absolute;
    top: -20px;
    left: -20px;
    width: 40px;
    height: 40px;
    background-color: #F78C30;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    box-shadow: 0 0 8px rgba(0, 0, 0, 0.1);
}

.step h4 {
    margin-top: 10px;
    margin-bottom: 10px;
    font-size: 18px;
}

.step p {
    font-size: 14px;
    color: #444;
}

/* About section */
.about-section {
    background-color: #EDEBE7;
    padding: 80px 40px;
    font-family: sans-serif;
}

.about-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 40px;
}

.about-text {
    flex: 1 1 55%;
}

.about-text h2 {
    color: #F78C30;
    font-size: 0.95em;
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-bottom: 10px;
}

.about-text h3 {
    color: #021526;
    font-size: 2em;
    margin-bottom: 20px;
    line-height: 1.3;
}

.about-text p {
    color: #333;
    font-size: 1em;
    line-height: 1.7;
    margin-bottom: 15px;
}

.about-points {
    list-style: none;
    padding-left: 0;
    margin: 30px 0;
}

.about-points li {
    margin-bottom: 10px;
    font-weight: 500;
    color: #021526;
}

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

.btn-primary,
.btn-outline {
    padding: 12px 24px;
    border-radius: 6px;
    font-weight: bold;
    text-decoration: none;
    transition: all 0.3s ease;
}

.btn-primary {
    background-color: #F78C30;
    color: #fff;
}

.btn-primary:hover {
    background-color: #d77425;
}

.btn-outline {
    background-color: transparent;
    border: 2px solid #021526;
    color: #021526;
}

.btn-outline:hover {
    background-color: #021526;
    color: #fff;
}

.about-image {
    flex: 1 1 40%;
}

.about-image img {
    width: 100%;
    border-radius: 10px;
    object-fit: cover;
}

.why-choose-us-v2 {
    background-color: #EDEBE7;
    padding: 60px 20px;
    color: #021526;
}

.why-choose-us-title {
    text-align: left;
    margin-bottom: 40px;
}

.container-why-choose-us {
    max-width: 1200px;
    margin: 0 auto;
}


.container-why-choose-us h2 {
    color: #F78C30;
    font-size: 0.95em;
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-bottom: 10px;
}


.container-why-choose-us h3 {
    font-size: 2em;
    margin-bottom: 10px;
}

.parent {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    grid-template-areas:
        "card1 card2 cta"
        "card3 card3 cta";
    gap: 20px;
}

.card1 {
    grid-area: card1;
}

.card2 {
    grid-area: card2;
}

.card3 {
    grid-area: card3;
}

.cta-card {
    grid-area: cta;
}

.card img{
    width: 50px;
    height: 50px;
}

.cta-card img{
    width: 50px;
    height: 50px;
}

.card,
.cta-card {
    background-color: #dbdbdb;
    padding: 30px;
    border-radius: 5px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.card h3 {
    font-size: 24px;
    margin-top: 50px;
}

.cta-card h3{
    font-size: 24px;
}
.card p {
    font-size: 15px;
    line-height: 1.6;
    color: #333;
}

.cta-card p{
    color: #ffffff;
    margin-bottom: 120px;
}
/* CTA Styling */
.cta-card {
    background-color: #021526;
    color: #fff;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.cta-button {
    background-color: #F78C30;
    color: #021526;
    padding: 12px 18px;
    text-decoration: none;
    border-radius: 8px;
    font-weight: bold;
    text-align: center;
    width: fit-content;
    margin-top: 20px;
    transition: background 0.3s;
}

.cta-button:hover {
    background-color: #e17823;
}

/* Optional: Consistent height */
.card,
.cta-card {
    min-height: 280px;
}

/* Responsive: Stack vertically */
@media screen and (max-width: 992px) {
    .parent {
        grid-template-areas:
            "card1"
            "card2"
            "card3"
            "cta";
        grid-template-columns: 1fr;
    }
}


.contact-section {
    background: linear-gradient(135deg, #021526, #0a2a3f);
    padding: 6rem 2rem;
    color: #ffffff;
    font-family: 'Poppins', sans-serif;
    position: relative;
    overflow: hidden;
}

.contact-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grid" width="10" height="10" patternUnits="userSpaceOnUse"><path d="M 10 0 L 0 0 0 10" fill="none" stroke="%23ffffff" stroke-width="0.5" opacity="0.1"/></pattern></defs><rect width="100" height="100" fill="url(%23grid)"/></svg>');
    opacity: 0.1;
    z-index: 1;
}

.contact-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    gap: 3rem;
    flex-wrap: wrap;
}

.contact-info {
    flex: 1;
    min-width: 250px;
    margin-top: 0;
    position: relative;
    z-index: 2;
}

.contact-info h2 {
    font-size: 2rem;
    margin-bottom: 1rem;
}

.contact-info p {
    color: #cfcfcf;
    font-size: 1rem;
    line-height: 1.5;
}

.contact-form {
    background: rgba(2, 21, 38, 0.8);
    border: 1px solid rgba(13, 44, 68, 0.5);
    padding: 2.5rem;
    border-radius: 12px;
    flex: 1.2;
    min-width: 300px;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    position: relative;
    z-index: 2;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.contact-form h3 {
    font-size: 1.4rem;
    margin-bottom: 1.5rem;
    color: #ffffff;
}

.form-row {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.form-group {
    flex: 1;
    display: flex;
    flex-direction: column;
    margin-bottom: 1rem;
}

.form-group label {
    margin-bottom: 0.5rem;
    font-weight: 500;
}

.form-group input {
    padding: 0.8rem;
    border: 2px solid transparent;
    border-radius: 8px;
    background-color: #EDEBE7;
    color: #000;
    font-size: 1rem;
    transition: all 0.3s ease;
    font-family: 'Poppins', sans-serif;
}

.form-group input:focus {
    outline: none;
    border-color: #f78c30;
    background-color: #fff;
    box-shadow: 0 0 0 3px rgba(247, 140, 48, 0.1);
}

.privacy-text {
    font-size: 0.85rem;
    color: #bbb;
    margin-top: 1rem;
    line-height: 1.4;
}

.privacy-text a {
    color: #f78c30;
    text-decoration: underline;
}

.submit-btn {
    margin-top: 1.5rem;
    background: linear-gradient(135deg, #f78c30, #ffa756);
    color: #000;
    padding: 1rem 2rem;
    border: none;
    font-weight: 600;
    border-radius: 8px;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    width: 100%;
    font-family: 'Poppins', sans-serif;
    box-shadow: 0 4px 15px rgba(247, 140, 48, 0.3);
}

.submit-btn:hover {
    background: linear-gradient(135deg, #ffa756, #f78c30);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(247, 140, 48, 0.4);
}

.site-footer {
    background: #021526;
    color: #ffffff;
    font-family: 'Poppins', sans-serif;
    padding: 4rem 2rem 2rem;
    border-top: 1px solid rgba(13, 44, 68, 0.5);
    position: relative;
    overflow: hidden;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    gap: 3rem;
    flex-wrap: wrap;
    justify-content: space-between;

}

.footer-col {
    flex: 1;
    min-width: 200px;
}

.footer-col h4 {
    font-size: 1.2rem;
    margin-bottom: 1rem;
    color: #f78c30;
}

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

.footer-col ul li {
    margin-bottom: 0.5rem;
}

.footer-col ul li a {
    color: #ffffff;
    text-decoration: none;
    font-size: 0.95rem;
    transition: color 0.3s ease;
}

.footer-col ul li a:hover {
    color: #f78c30;
}

.brand p {
    font-size: 0.95rem;
    color: #dcdcdc;
}

.footer-logo {
    width: 120px;
    height: auto;
}

#services-footer {
    width: 300px;
}

.footer-bottom {
    text-align: center;
    margin-top: 2rem;
    border-top: 1px solid #0d2c44;
    padding-top: 1rem;
    font-size: 0.85rem;
    color: #bbb;
}

.social-icons {
    display: flex;
    gap: 1rem;
    margin-top: 1.5rem;
}

.social-icons a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background-color: #f78c30;
    color: #021526;
    text-decoration: none;
    transition: background 0.3s ease;
}

.social-icons a:hover {
    background-color: #ffa756;
}

.social-icons svg {
    width: 18px;
    height: 18px;
}

@media (max-width: 768px) {
  .hero h1 {
    font-size: 2.2rem;     /* was too big */
    line-height: 1.2;
    text-align: center;
  }

  .hero h1 span {
    display: inline;      /* prevents forced line breaks if you used spans */
  }

  .hero p {
    font-size: 1rem;
    line-height: 1.6;
    text-align: center;
  }
}

@media (max-width: 768px) {
  .form-row {
    flex-direction: column;
    gap: 0.75rem;
  }

  .form-group input {
    padding: 0.75rem 0.5rem; /* reduce height */
    font-size: 16px;         /* prevents iOS zoom */
  }
}
