/* --- Reset and Base Styles --- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', sans-serif;
    background-color: #072544;
    color: #ffffff;
    line-height: 1.6;
    overflow-x: hidden;
}

.container {
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 24px;
}

/* --- Header & Navigation --- */
.header {
    padding: 20px 0;
    position: absolute; /* Changed to absolute to overlay on hero */
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background-color: transparent; /* Made transparent */
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 30px;
}

.nav-item {
    font-family: 'Montserrat', sans-serif;
    font-size: 16px;
    font-weight: 500;
    color: #ffffff;
    text-decoration: none;
    transition: color 0.3s ease;
}

.nav-item.active,
.nav-item:hover {
    color: #00ffff;
}

.hamburger-menu, .close-menu {
    display: none;
    cursor: pointer;
    background: none;
    border: none;
    color: #ffffff;
    font-size: 28px;
}


/* === HERO VIDEO SECTION === */
.hero-video-section {
    position: relative;
    width: 100vw;
    height: 70vh; /* You can adjust the height */
    left: 50%;
    right: 50%;
    margin-left: -50vw;
    margin-right: -50vw;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden;
    color: #fff;
    padding-top: 80px; /* Added padding to push content down from header */
}

.hero-video-bg {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: translate(-50%, -50%);
    z-index: -1; /* Pushed behind the overlay */
}

/* Dark overlay for better text readability */
.hero-video-section::after {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(7, 37, 68, 0.7); /* Dark blue overlay */
    z-index: -1;
}

.hero-video-content {
    position: relative;
    z-index: 1;
    padding: 0 20px;
    max-width: 900px;
}

.hero-video-title {
    font-size: 56px;
    line-height: 1.2;
    font-weight: 800;
    margin-bottom: 20px;
    font-family: 'Montserrat', sans-serif;
}

.hero-video-title .accent {
    background: linear-gradient(90deg, #00ffff, #39ff14);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-video-subtitle {
    font-size: 19px;
    color: #e6e6e6;
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
    font-weight: 300;
}

/* --- General Section Styles --- */
.section {
    padding: 75px 0;
}

.section-title {
    font-family: 'Montserrat', sans-serif;
    font-size: 40px;
    font-weight: 800;
    text-align: center;
    margin-bottom: 15px;
}

.gradient-title {
    background: linear-gradient(90deg, #39ff14 0%, #9d00ff 50%, #00ffff 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.section-subtitle {
    font-family: 'Poppins', sans-serif;
    font-size: 19px;
    font-weight: 300;
    text-align: center;
    color: #e0e0e0;
    margin-bottom: 55px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* --- Services Grid & Card Styles --- */
.services-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 38px;
}

.service-card {
    background-color: #072544;
    border: 1px solid;
    border-image-source: linear-gradient(180deg, #1b5290 0%, #00ffff 100%);
    border-image-slice: 1;
    border-radius: 8px;
    padding: 30px;
    display: flex;
    flex-direction: column;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    
    /* Animation Settings */
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 0.6s ease-out forwards;
}

/* Staggered Animation Delay for each card */
.service-card:nth-child(2) { animation-delay: 0.1s; }
.service-card:nth-child(3) { animation-delay: 0.2s; }
.service-card:nth-child(4) { animation-delay: 0.3s; }
.service-card:nth-child(5) { animation-delay: 0.4s; }
.service-card:nth-child(6) { animation-delay: 0.5s; }


.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 255, 255, 0.15);
}

.service-header {
    display: flex;
    align-items: center;
    gap: 18px;
    margin-bottom: 22px;
}

.service-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(180deg, rgba(157, 0, 255, 0.5) 0%, rgba(17, 53, 93, 0.8) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.service-title {
    font-family: 'Montserrat', sans-serif;
    font-size: 21px;
    font-weight: 700;
    color: #ffffff;
    line-height: 1.3;
}

.service-description {
    font-family: 'Poppins', sans-serif;
    font-size: 15px;
    font-weight: 400;
    color: #e0e0e0;
    margin-bottom: 18px;
}

.service-features {
    list-style: none; 
    font-size: 14px;
    font-weight: 400;
    color: #adadad;
    line-height: 1.8;
    margin-bottom: 30px;
    flex-grow: 1; 
    padding-left: 20px;
}

.service-features li {
    position: relative;
    padding-bottom: 6px;
}

.service-features li::before {
    content: '•';
    color: #00ffff;
    font-weight: bold;
    display: inline-block;
    position: absolute;
    left: -20px;
}

.learn-more-btn {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 8px 22px;
    background-color: #11355d;
    border-radius: 8px;
    text-decoration: none;
    color: #ffffff;
    font-size: 17px;
    font-family: 'Poppins', sans-serif;
    font-weight: 400;
    transition: background-color 0.3s ease;
    align-self: flex-start;
}

.learn-more-btn:hover {
    background-color: #1a4a7a;
}

/* --- Call to Action (CTA) Section --- */
.cta-section {
    background-color: #11355D;
    text-align: center;
}

.cta-title {
    font-family: 'Montserrat', sans-serif;
    font-size: 34px;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 15px;
}

.cta-subtitle {
    font-family: 'Poppins', sans-serif;
    font-size: 17px;
    color: #e0e0e0;
    margin-bottom: 30px;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
    font-weight: 300;
}

.cta-button {
    display: inline-block;
    padding: 11px 30px;
    background-color: #072544;
    border: 1px solid #00ffff;
    border-radius: 8px;
    font-size: 17px;
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    color: #ffffff;
    text-decoration: none;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.3s ease;
}

.cta-button:hover {
    background-color: #0e3d6e;
    transform: scale(1.05);
}

/* --- Keyframe Animation for Scroll Effect --- */
@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* === FOOTER STYLES === */
.footer {
    padding: 60px 0 30px;
    background-color: #0b2f57;
}

.footer-content {
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
    margin-bottom: 40px;
    text-align: center;
}

.footer-col {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.footer-logo {
    width: 150px;
    margin-bottom: 20px;
}

.footer-tagline {
    font-size: 15px;
    margin-bottom: 12px;
    color: #E6F1FF;
}

.footer-description {
    font-size: 14px;
    color: #adadad;
    max-width: 350px;
    margin: 0 auto 30px auto;
}

.footer-contact-card {
    background-color: #1B4571;
    border-radius: 8px;
    padding: 15px 20px;
    margin-bottom: 15px;
    width: 100%;
    max-width: 350px;
    text-align: left;
}

.footer-contact-card .contact-item {
    font-size: 15px;
    color: #E6F1FF;
    text-decoration: none;
    display: flex;
    align-items: flex-start;
    gap: 12px;
}

.footer-contact-card .contact-item img {
    filter: brightness(0) invert(1);
    margin-top: 2px;
    flex-shrink: 0;
}

.footer-title {
    font-size: 18px;
    font-weight: 600;
    color: #E6F1FF;
    margin-bottom: 20px;
    width: 100%;
    text-align: center;
}

.footer-link {
    font-size: 15px;
    color: #adadad;
    text-decoration: none;
    margin-bottom: 10px;
    transition: color 0.3s ease;
    width: 100%;
}

.footer-link:hover {
    color: #00FFFF;
}

.footer-divider {
    height: 1px;
    background-color: #2e5a8a;
    margin-top: 40px;
    margin-bottom: 30px;
}

.footer-copyright {
    text-align: center;
    font-size: 14px;
    color: #adadad;
}

.social-links {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-top: 25px;
  width: 100%;
  max-width: 350px;
}

.social-links a {
  color: #ffffff;
  font-size: 24px;
  text-decoration: none;
  transition: color 0.3s ease, transform 0.3s ease;
}

.social-links a:hover {
  color: #00FFFF;
  transform: translateY(-3px);
}

/* --- Responsive Media Queries --- */
@media (max-width: 768px) {
    .hamburger-menu {
        display: block;
        z-index: 1001;
    }

    .nav-menu {
        display: none;
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background-color: #072544;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 40px;
        z-index: 1000;
    }

    .nav-menu.active {
        display: flex;
    }

    .nav-menu .nav-item {
        font-size: 24px;
    }
    
    .nav-menu .close-menu {
        display: block;
        position: absolute;
        top: 20px;
        right: 24px;
        font-size: 40px;
    }

    .hero-video-title { font-size: 38px; }
    .hero-video-subtitle { font-size: 17px; }
    
    .footer-col {
        align-items: center;
    }
    .footer-title, .footer-link {
        text-align: center;
    }
}

@media (min-width: 768px) {
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .section-title {
        font-size: 45px;
    }
    .footer-content {
        grid-template-columns: 2fr 1fr 1.5fr;
        gap: 50px;
        text-align: left;
    }
    .footer-col {
        align-items: flex-start;
    }
    .footer-description {
        margin-left: 0;
    }
    .footer-title, .footer-link {
        text-align: left;
    }
    .social-links {
        justify-content: flex-start;
    }
}

@media (min-width: 1024px) {
    .services-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}
