/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    background-color: #0A1628;
    color: #ffffff;
    line-height: 1.6;
    overflow-x: hidden;
}

.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 3rem;
}

/* Page Management */
.page {
    display: none;
}

.page.active {
    display: block;
}

/* Navbar Styles */
.navbar {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    z-index: 20;
    padding: 1.5rem 0;
}

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

.nav-logo {
    display: flex;
    align-items: center;
}

/* LOGO FIX: Added object-fit: contain to prevent stretching */
.logo-img {
    height: 4.5rem;
    width: auto;
    max-width: 100%;
    object-fit: contain;
    background: white;
    padding: 0.5rem;
    border-radius: 0.25rem;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 4.5rem;
}

.nav-link {
    color: #d1d5db;
    text-decoration: none;
    transition: color 0.3s;
    font-size: 1rem;
}

.nav-link:hover,
.nav-link.active {
    color: #00d4ff;
}

.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    color: #d1d5db;
    cursor: pointer;
    padding: 0.5rem;
    transition: color 0.3s;
}

.mobile-menu-toggle:hover {
    color: #00d4ff;
}

.desktop-nav {
    display: flex;
}

@media (max-width: 1024px) {
    .desktop-nav {
        display: none;
    }
    
    .mobile-menu-toggle {
        display: block;
    }
}

/* Navigation Drawer */
.nav-drawer {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 40;
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.3s;
}

.nav-drawer.open {
    pointer-events: all;
    opacity: 1;
}

.nav-drawer-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(4px);
}

.nav-drawer-content {
    position: fixed;
    top: 0;
    right: 0;
    height: 100%;
    width: 100%;
    max-width: 28rem;
    background: #0A1628;
    z-index: 50;
    border-radius: 1.5rem 0 0 1.5rem;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    overflow-y: auto;
    transform: translateX(100%);
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.nav-drawer.open .nav-drawer-content {
    transform: translateX(0);
}

.nav-drawer-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.5rem;
    border-bottom: 1px solid rgba(107, 114, 128, 0.5);
}

.drawer-logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.drawer-logo-icon {
    width: 2.5rem;
    height: 2.5rem;
    background: linear-gradient(to bottom right, #00d4ff, #9333ea);
    border-radius: 0.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.125rem;
    font-weight: 600;
}

.drawer-close {
    background: none;
    border: none;
    color: #9ca3af;
    cursor: pointer;
    padding: 0.5rem;
    border-radius: 9999px;
    transition: all 0.3s;
}

.drawer-close:hover {
    color: white;
    background: rgba(255, 255, 255, 0.05);
}

.nav-drawer-links {
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.drawer-link {
    background: #0F1F38;
    border-radius: 1rem;
    padding: 1.25rem;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    text-decoration: none;
    display: block;
    transition: all 0.3s;
}

.drawer-link.active-drawer {
    background: linear-gradient(to right, rgba(0, 212, 255, 0.2), rgba(147, 51, 234, 0.2));
    border: 1px solid rgba(0, 212, 255, 0.3);
}

.drawer-link h3 {
    color: white;
    font-size: 1.125rem;
    margin-bottom: 0.25rem;
}

.drawer-link.active-drawer h3 {
    color: #00d4ff;
}

.drawer-link p {
    color: #9ca3af;
    font-size: 0.875rem;
}

/* Hero Section */
.hero-section {
    position: relative;
    min-height: 100vh;
    background-color: #0a1628;
    overflow: hidden;
    display: flex;
    align-items: center;
}

.hero-content {
    position: relative;
    z-index: 10;
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 3rem;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    min-height: 100vh;
}

@media (max-width: 1024px) {
    .hero-content {
        grid-template-columns: 1fr;
        gap: 2rem;
        padding: 8rem 1.5rem 3rem;
        min-height: auto;
    }
}

.hero-text {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    padding-right: 2rem;
}

@media (max-width: 1024px) {
    .hero-text {
        padding-right: 0;
    }
}

.hero-text h1 {
    font-size: 3rem;
    line-height: 1.1;
    color: white;
    font-weight: 700;
    letter-spacing: -0.02em;
}

@media (max-width: 1024px) {
    .hero-text h1 {
        font-size: 2.5rem;
    }
}

@media (max-width: 768px) {
    .hero-text h1 {
        font-size: 2rem;
    }
}

.hero-text p {
    font-size: 1.125rem;
    color: #d1d5db;
    line-height: 1.7;
    max-width: 36rem;
}

.hero-image {
    position: relative;
    height: 100vh;
    margin-right: -3rem;
}

@media (max-width: 1024px) {
    .hero-image {
        height: 400px;
        margin-right: -1.5rem;
        margin-left: -1.5rem;
    }
}

.hero-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to right, #0a1628 0%, rgba(10, 22, 40, 0.7) 30%, transparent 100%);
}

@media (max-width: 1024px) {
    .hero-overlay {
        background: linear-gradient(to bottom, transparent 0%, rgba(10, 22, 40, 0.3) 100%);
    }
}

/* Buttons */
.btn-primary {
    padding: 0.875rem 2rem;
    background: linear-gradient(135deg, #00d4ff 0%, #9333ea 100%);
    color: white;
    border: none;
    border-radius: 9999px;
    cursor: pointer;
    font-size: 1rem;
    font-weight: 500;
    transition: all 0.3s;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    text-decoration: none;
}

.learn-more-btn {
    padding: 0.6rem 1.5rem;
    width: fit-content;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(0, 212, 255, 0.3);
}

.btn-secondary {
    padding: 0.875rem 2rem;
    background: linear-gradient(135deg, #9333ea 0%, #00d4ff 100%);
    color: white;
    border: none;
    border-radius: 9999px;
    cursor: pointer;
    font-size: 1rem;
    font-weight: 500;
    transition: all 0.3s;
}

.btn-secondary:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(147, 51, 234, 0.3);
}

.btn-cta {
    display: inline-block;
    padding: 1rem 3rem;
    background: linear-gradient(135deg, #00d4ff 0%, #9333ea 100%);
    color: white;
    text-decoration: none;
    border-radius: 9999px;
    font-size: 1rem;
    font-weight: 500;
    transition: all 0.3s;
}

.btn-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(0, 212, 255, 0.3);
}

/* Services Section */
.services-section {
    background-color: #0a1628;
    padding: 8rem 0; /* Increased padding */
    overflow: visible;
}

.section-header {
    text-align: center;
    margin-bottom: 5rem; /* Increased margin */
}

.section-header h2 {
    font-size: 2.5rem;
    color: white;
    margin-bottom: 1rem;
    font-weight: 600;
    letter-spacing: 0.02em;
}

.section-underline {
    width: 5rem;
    height: 0.25rem;
    background: #00d4ff;
    margin: 0 auto;
    border-radius: 9999px;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 1.5rem;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 3rem;
    position: relative;
    min-height: 500px; /* Ensure minimum height for expanded cards */
}

@media (max-width: 1400px) {
    .services-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 1024px) {
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
        padding: 0 1.5rem;
        min-height: auto; /* Reset for mobile */
    }
}

@media (max-width: 640px) {
    .services-grid {
        grid-template-columns: 1fr;
    }
}

/* Updated Service Card Styles */
.service-card {
    position: relative;
    border-radius: 1.25rem;
    background: transparent;
    cursor: pointer;
    height: 350px; /* Increased base height */
    z-index: 1; /* Default layer */
    /* Removed overflow: hidden so content can pop out */
}

.service-card-inner {
    width: 100%;
    height: 100%;
    background: #0a1628;
    border-radius: 1.125rem;
    border: 2px solid #9333ea;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    transform-origin: center top;
}

/* Dimming effect for other cards */
.service-card.dimmed {
    opacity: 0.5;
    transition: opacity 0.3s;
}

/* Desktop Hover Effects (Only apply on larger screens) */
@media (min-width: 1024px) {
    /* Critical Fix: Ensure the hovered/expanded card is ON TOP of neighbors */
    .service-card:hover,
    .service-card.expanded {
        z-index: 100; 
    }

    /* Expand the inner card */
    .service-card:hover .service-card-inner,
    .service-card.expanded .service-card-inner {
        position: absolute;
        top: -40px; /* Pull up more */
        left: -30px; /* Expand wider */
        right: -30px;
        width: auto;
        min-width: calc(100% + 60px);
        height: auto;
        min-height: calc(100% + 80px); /* Grow to fit text */
        border-color: #00d4ff;
        box-shadow: 0 35px 60px rgba(147, 51, 234, 0.6);
        z-index: 100;
    }

    /* Hide compact content on hover */
    .service-card:hover .service-compact,
    .service-card.expanded .service-compact {
        display: none;
    }

    /* Show expanded content on hover */
    .service-card:hover .service-expanded,
    .service-card.expanded .service-expanded {
        display: flex;
        animation: fadeIn 0.3s ease-out;
    }
}

.service-compact {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 2rem 1.5rem;
    text-align: center;
}

.service-icon {
    width: 4rem;
    height: 4rem;
    border-radius: 9999px;
    border: 2px solid #00d4ff;
    background: transparent;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.service-icon svg {
    color: #00d4ff;
}

.service-compact h3 {
    color: white;
    font-size: 1.125rem;
    margin-bottom: 0.75rem;
    line-height: 1.3;
    font-weight: 600;
}

.service-compact p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.875rem;
    line-height: 1.5;
}

.service-expanded {
    display: none;
    flex-direction: column;
    height: auto;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.service-image {
    height: 200px;
    width: 100%;
    overflow: hidden;
    position: relative;
    flex-shrink: 0;
}

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

.service-image-icon {
    position: absolute;
    top: 1rem;
    left: 1rem;
    width: 3.5rem;
    height: 3.5rem;
    border-radius: 9999px;
    background: rgba(10, 22, 40, 0.9);
    border: 2px solid #00d4ff;
    display: flex;
    align-items: center;
    justify-content: center;
}

.service-image-icon svg {
    color: #00d4ff;
}

.service-content {
    flex: 1;
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    background: #0a1628;
}

.service-header {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1rem;
}

.service-icon-small {
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 9999px;
    border: 2px solid #00d4ff;
    background: transparent;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.service-icon-small svg {
    color: #00d4ff;
}

.service-content h3 {
    color: white;
    font-size: 1.125rem;
    line-height: 1.3;
    font-weight: 600;
}

.service-description {
    color: white;
    margin-bottom: 0.75rem;
    font-size: 0.875rem;
}

.service-details {
    color: #d1d5db;
    font-size: 0.875rem;
    line-height: 1.6;
    flex: 1;
}

/* About Section */
.about-section {
    background-color: #0A1628;
    padding: 6rem 0;
    position: relative;
    overflow: hidden;
}

.about-bg-image {
    position: absolute;
    inset: 0;
    opacity: 0.05;
    background-image: url('assets/42a02066be76b6c63d499aca748286b11f3b05d1.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.about-overlay {
    position: absolute;
    inset: 0;
    background: rgba(10, 22, 40, 0.3);
}

.about-container {
    position: relative;
    z-index: 10;
}

.about-content {
    margin-bottom: 4rem;
}

.about-header {
    margin-bottom: 2rem;
}

.about-header h2 {
    font-size: 2.5rem;
    color: white;
    margin-bottom: 1rem;
    font-weight: 600;
}

.about-header .section-underline {
    margin: 0;
    width: 5rem;
    background: #9333ea;
}

.about-text {
    max-width: 100%;
}

.about-text p {
    color: #d1d5db;
    font-size: 1.05rem;
    line-height: 1.75;
    margin-bottom: 1.5rem;
}

.about-button {
    padding-top: 1.5rem;
}

.about-stats {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 4rem;
    margin-top: 4rem;
    padding-top: 4rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

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

.stat-item {
    text-align: center;
}

.stat-number {
    font-size: 3.5rem;
    color: #00d4ff;
    margin-bottom: 0.5rem;
    font-weight: 700;
}

.stat-label {
    color: #9ca3af;
    font-size: 1rem;
}

/* CEO Message Section */
.ceo-section {
    background-color: #0A1628;
    padding: 6rem 0;
    position: relative;
    overflow: hidden;
}

.ceo-bg-image {
    position: absolute;
    inset: 0;
    opacity: 0.05;
    background-image: url('assets/42a02066be76b6c63d499aca748286b11f3b05d1.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.ceo-overlay {
    position: absolute;
    inset: 0;
    background: rgba(10, 22, 40, 0.3);
}

.ceo-container {
    max-width: 900px;
    margin: 0 auto;
    padding: 0 3rem;
    text-align: center;
    position: relative;
    z-index: 10;
}

@media (max-width: 768px) {
    .ceo-container {
        padding: 0 1.5rem;
    }
}

.ceo-container h2 {
    font-size: 2.5rem;
    color: white;
    margin-bottom: 1.5rem;
    font-weight: 600;
    letter-spacing: 0.02em;
}

.ceo-underline {
    width: 5rem;
    height: 0.25rem;
    background: #00d4ff;
    margin: 0 auto 3rem;
    border-radius: 9999px;
}

.ceo-message {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.ceo-message p {
    color: #d1d5db;
    font-size: 1.05rem;
    line-height: 1.8;
}

/* Footer */
.footer {
    background-color: #050d18;
    padding: 4rem 0 2rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: 3rem;
    margin-bottom: 3rem;
}

@media (max-width: 1024px) {
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
    }
}

@media (max-width: 640px) {
    .footer-grid {
        grid-template-columns: 1fr;
    }
}

.footer-col {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.footer-logo {
    height: 4rem; /* Increased size slightly */
    width: auto;
    object-fit: contain; /* Ensure aspect ratio */
    margin-bottom: 1rem;
    /* Removed background and padding to fix "boxy" look */
    background: transparent; 
    padding: 0;
    border-radius: 0;
}

.footer-col h3 {
    color: white;
    margin-bottom: 0.5rem;
    font-size: 1.05rem;
    font-weight: 600;
}

.footer-col p,
.footer-col a {
    color: #9ca3af;
    font-size: 0.9rem;
    text-decoration: none;
    transition: color 0.3s;
    line-height: 1.6;
}

.footer-col a:hover {
    color: #00d4ff;
}

.footer-links {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 2rem;
    margin-bottom: 2rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-links a {
    color: #9ca3af;
    font-size: 0.9rem;
    text-decoration: none;
    transition: color 0.3s;
}

.footer-links a:hover {
    color: #00d4ff;
}

.footer-divider {
    display: none;
}

.footer-bottom {
    text-align: center;
}

.footer-bottom p {
    color: #6b7280;
    font-size: 0.875rem;
}

/* Services Page Styles */
#services-page {
    /* Updated Background */
    background-image: url('assets/42a02066be76b6c63d499aca748286b11f3b05d1.png');
    background-color: #0a1628;
    background-repeat: repeat;
    background-attachment: fixed;
    background-blend-mode: overlay;
}

/* Updated Contact Page Background to match Services Page */
#contact-page {
    background-image: url('assets/42a02066be76b6c63d499aca748286b11f3b05d1.png');
    background-color: #0a1628;
    background-repeat: repeat;
    background-attachment: fixed;
    background-blend-mode: overlay;
}

.services-hero {
    position: relative;
    min-height: 60vh;
    background-color: #0a1628;
    background-image: url('assets/a353d8ec89ab0a2bc215a87e1d51c86b8cb7aa56.png');
    background-size: cover;
    background-position: center;
    overflow: hidden;
    display: flex;
    align-items: center;
}

.services-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(10, 22, 40, 0.85);
}

.services-hero .navbar {
    position: absolute;
    top: 0;
}

.services-hero-content {
    position: relative;
    z-index: 10;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 8rem 1.5rem 5rem;
    text-align: center;
    width: 100%;
}

.services-hero-content h1 {
    font-size: 4rem;
    color: white;
    margin-bottom: 1.5rem;
    font-weight: 700;
}

@media (max-width: 768px) {
    .services-hero-content h1 {
        font-size: 2.5rem;
    }
}

.breadcrumb {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #d1d5db;
    font-size: 0.95rem;
}

.breadcrumb a {
    color: #d1d5db;
    text-decoration: none;
    transition: color 0.3s;
}

.breadcrumb a:hover {
    color: #00d4ff;
}

.breadcrumb span.active {
    color: #00d4ff;
}

.services-details {
    background-color: transparent; 
}

.service-detail {
    padding: 5rem 0;
    position: relative;
}

.service-detail::before {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(10, 22, 40, 0.6);
    z-index: -1;
}

.service-detail-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

@media (max-width: 1024px) {
    .service-detail-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
}

.service-detail-grid.reverse .service-detail-image {
    order: 2;
}

.service-detail-grid.reverse .service-detail-content {
    order: 1;
}

@media (max-width: 1024px) {
    .service-detail-grid.reverse .service-detail-image {
        order: 1;
    }
    
    .service-detail-grid.reverse .service-detail-content {
        order: 2;
    }
}

.service-detail-image {
    position: relative;
    border-radius: 1rem;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.service-detail-image img {
    width: 100%;
    height: 400px;
    object-fit: cover;
}

.service-detail-icon {
    position: absolute;
    top: 1.5rem;
    left: 1.5rem;
    width: 4rem;
    height: 4rem;
    border-radius: 9999px;
    background: rgba(10, 22, 40, 0.9);
    border: 2px solid #00d4ff;
    display: flex;
    align-items: center;
    justify-content: center;
}

.service-detail-icon svg {
    color: #00d4ff;
}

.service-detail-content h2 {
    font-size: 2.25rem;
    color: white;
    margin-bottom: 1.5rem;
    font-weight: 600;
}

.service-detail-para {
    color: #d1d5db;
    font-size: 1.05rem;
    line-height: 1.75;
    margin-bottom: 1.5rem;
}

.service-points {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.service-points li {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    color: #d1d5db;
    font-size: 0.95rem;
}

.service-points li::before {
    content: '✓';
    display: flex;
    align-items: center;
    justify-content: center;
    width: 1.25rem;
    height: 1.25rem;
    border-radius: 9999px;
    background: linear-gradient(135deg, #00d4ff 0%, #9333ea 100%);
    color: white;
    font-weight: 700;
    font-size: 0.75rem;
    flex-shrink: 0;
    margin-top: 0.125rem;
}

.service-divider {
    height: 1px;
    opacity: 0.3;
    background: linear-gradient(to right, transparent, #00d4ff, transparent);
    max-width: 1400px;
    margin: 0 auto;
}

.services-cta {
    background: linear-gradient(to bottom, rgba(10, 22, 40, 0.8), #0f1f38);
    padding: 5rem 0;
}

.cta-container {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 3rem;
    text-align: center;
}

@media (max-width: 768px) {
    .cta-container {
        padding: 0 1.5rem;
    }
}

.cta-container h2 {
    font-size: 2.5rem;
    color: white;
    margin-bottom: 1.5rem;
    font-weight: 600;
}

.cta-container p {
    font-size: 1.125rem;
    color: #d1d5db;
    margin-bottom: 2.5rem;
}

.services-footer {
    background-color: #050d18;
    color: #d1d5db;
    padding: 4rem 0 2rem;
}

.services-footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr;
    gap: 3rem;
    margin-bottom: 3rem;
}

@media (max-width: 1024px) {
    .services-footer-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
}

.services-footer .footer-col p {
    font-size: 0.9rem;
    line-height: 1.6;
}

/* Contact Page */
.contact-hero {
    position: relative;
    min-height: 60vh;
    background-color: #0a1628;
    background-image: url('assets/2b565951002fc99cb805a821bf3480ee740eaf67.png');
    background-size: cover;
    background-position: center;
    overflow: hidden;
    display: flex;
    align-items: center;
}

.contact-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(10, 22, 40, 0.85);
}

.contact-hero .navbar {
    position: absolute;
    top: 0;
}

.contact-hero-content {
    position: relative;
    z-index: 10;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 8rem 1.5rem 5rem;
    text-align: center;
    width: 100%;
}

.contact-hero-content h1 {
    font-size: 4rem;
    color: white;
    margin-bottom: 1.5rem;
    font-weight: 700;
}

@media (max-width: 768px) {
    .contact-hero-content h1 {
        font-size: 2.5rem;
    }
}

.contact-info-section {
    /* Removed specific background styles here as they are now on #contact-page */
    background-color: transparent;
    padding: 5rem 0;
    position: relative;
    overflow: hidden;
}

/* Optional: Add a subtle overlay to ensure readability against the doodle background */
.contact-info-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(10, 22, 40, 0.4);
    z-index: -1;
}

/* Removed specific background image container for contact info section as main page bg covers it */
.contact-bg-image {
    display: none;
}

.contact-overlay {
    display: none; /* Handled by pseudo-element or main page blend mode */
}

.contact-container {
    position: relative;
    z-index: 10;
}

.contact-header {
    margin-bottom: 4rem;
}

.contact-label {
    color: #00d4ff;
    margin-bottom: 1rem;
    letter-spacing: 0.1em;
    font-size: 0.875rem;
    font-weight: 600;
}

.contact-header h2 {
    font-size: 2.5rem;
    color: white;
    margin-bottom: 1.5rem;
    font-weight: 600;
}

.contact-intro {
    color: #d1d5db;
    font-size: 1.05rem;
    max-width: 700px;
    line-height: 1.7;
}

.contact-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

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

.contact-card {
    background-color: #0f1f38;
    border-radius: 1rem;
    padding: 2.5rem 2rem;
    transition: all 0.3s;
}

.contact-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 212, 255, 0.15);
}

.contact-card-icon {
    width: 4rem;
    height: 4rem;
    border-radius: 9999px;
    background-color: #00d4ff;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.contact-card-icon svg {
    color: #0a1628;
}

.contact-card h3 {
    color: white;
    font-size: 1.25rem;
    margin-bottom: 1rem;
    font-weight: 600;
}

.contact-card p,
.contact-card a {
    color: #d1d5db;
    line-height: 1.75;
    text-decoration: none;
    transition: color 0.3s;
    font-size: 0.95rem;
}

.contact-card a:hover {
    color: #00d4ff;
}

.contact-form-section {
    /* Made transparent to show page background */
    background: linear-gradient(to bottom, rgba(10, 22, 40, 0.6), rgba(15, 31, 56, 0.9));
    padding: 5rem 0;
}

.contact-form-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 3rem;
}

@media (max-width: 768px) {
    .contact-form-container {
        padding: 0 1.5rem;
    }
}

#contact-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
}

@media (max-width: 768px) {
    .form-grid {
        grid-template-columns: 1fr;
    }
}

.form-left {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.form-right {
    display: flex;
}

#contact-form input,
#contact-form textarea {
    width: 100%;
    padding: 1rem 1.5rem;
    background-color: #0a1628;
    border: 1px solid #374151;
    border-radius: 9999px;
    color: white;
    font-size: 1rem;
    transition: all 0.3s;
}

#contact-form textarea {
    border-radius: 1.5rem;
    resize: none;
    height: 100%;
}

#contact-form input:focus,
#contact-form textarea:focus {
    outline: none;
    border-color: #00d4ff;
    box-shadow: 0 0 0 3px rgba(0, 212, 255, 0.2);
}

#contact-form input::placeholder,
#contact-form textarea::placeholder {
    color: #6b7280;
}

.form-submit {
    display: flex;
    justify-content: center;
    padding-top: 1.5rem;
}

.btn-submit {
    padding: 1rem 3rem;
    background-color: #00d4ff;
    color: white;
    border: none;
    border-radius: 9999px;
    font-size: 1.125rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    transition: all 0.3s;
    font-weight: 500;
}

.btn-submit:hover {
    background-color: #00b8e6;
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(0, 212, 255, 0.3);
}

.btn-submit svg {
    transition: transform 0.3s;
}

.btn-submit:hover svg {
    transform: translateX(0.25rem);
}

.map-section {
    background-color: #0a1628;
    padding: 5rem 0;
}

.map-container {
    border-radius: 1rem;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.contact-footer {
    background-color: #050d18;
    color: #d1d5db;
    padding: 4rem 0 2rem;
}

.contact-footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: 3rem;
    margin-bottom: 3rem;
}

@media (max-width: 1024px) {
    .contact-footer-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
    }
}

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

.footer-contact-item {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    margin-bottom: 1rem;
}

.footer-contact-item svg {
    color: #00d4ff;
    flex-shrink: 0;
    margin-top: 0.25rem;
}

.footer-contact-item span,
.footer-contact-item a {
    font-size: 0.9rem;
    color: #d1d5db;
    text-decoration: none;
    transition: color 0.3s;
    line-height: 1.6;
}

.footer-contact-item a:hover {
    color: #00d4ff;
}

.footer-bottom-nav {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

@media (min-width: 768px) {
    .footer-bottom-nav {
        flex-direction: row;
        justify-content: space-between;
    }
}

.footer-nav {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem;
}

.footer-nav a {
    color: #9ca3af;
    font-size: 0.9rem;
    text-decoration: none;
    transition: color 0.3s;
}

.footer-nav a:hover {
    color: #00d4ff;
}

.footer-nav span {
    color: #4b5563;
}

.footer-bottom-nav p {
    font-size: 0.875rem;
    color: #6b7280;
}