/* ============================================
   Global Styles
   ============================================ */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #0D253F;   /* Deep Navy */
    --secondary-color: #011627; /* Very Dark Blue */
    --accent-color: #2EC4B6;    /* Teal */
    --light-bg: #F6F7F8;
    --dark-bg: #011627;
    --text-dark: #333333;
    --text-light: #BCC8D3;      /* Light Blue-Gray for dark backgrounds */
    --border-color: #e0e0e0;
    --white: #ffffff;
    --shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 4px 16px rgba(0, 0, 0, 0.15);
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    /* New background style for all pages */
    background-color: var(--dark-bg); /* Fallback color */
    background-image: linear-gradient(rgba(1, 22, 39, 0.85), rgba(1, 22, 39, 0.85)), url('../assets/img/28569.jpg');
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    background-attachment: fixed;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ============================================
   Navigation
   ============================================ */

.navbar {
    /* Default transparent state */
    background-color: transparent;
    box-shadow: none;
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
    position: sticky;
    top: 0;
    z-index: 1000;
    transition: background-color 0.4s ease, box-shadow 0.4s ease, -webkit-backdrop-filter 0.4s ease, backdrop-filter 0.4s ease;
}

.navbar.scrolled {
    background-color: rgba(1, 22, 39, 0.85);
    box-shadow: var(--shadow);
    -webkit-backdrop-filter: blur(8px);
    backdrop-filter: blur(8px);
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 20px;
}

.logo {
    font-size: 1.8rem;
    font-weight: 900; 
    text-transform: uppercase;
}

.logo a,
.logo a:visited,
.logo a:hover {
    color: var(--white);
    text-decoration: none;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-link,
.nav-link:visited {
    color: var(--text-light); /* Changed for dark navbar */
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.nav-link:hover {
    color: var(--accent-color); /* Use accent for hover on dark bg */
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background-color: var(--white); /* Changed for dark navbar */
    margin: 5px 0;
    transition: 0.3s;
}

/* ============================================
   Hero Section
   ============================================ */

.hero { /* This style is fine, it will just sit on top of the body background */
    background: linear-gradient(rgba(1, 22, 39, 0.7), rgba(1, 22, 39, 0.7)), url('../assets/img/28569.jpg');
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    color: var(--white);
    padding: 100px 20px;
    text-align: center;
    min-height: 500px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-content h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
    font-weight: bold;
}

.hero-content p {
    font-size: 1.3rem;
    margin-bottom: 2rem;
    opacity: 0.95;
}

.cta-button {
    background-color: var(--accent-color);
    color: var(--white);
    padding: 12px 30px;
    border: none;
    border-radius: 5px;
    font-size: 1rem;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
}

.cta-button:hover {
    background-color: #25a296; /* Darker accent */
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

/* ============================================
   Introduction Section
   ============================================ */

.introduction {
    padding: 60px 20px;
    background-color: var(--light-bg);
    text-align: center;
}

.introduction h2 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    color: var(--primary-color);
}

.introduction p {
    font-size: 1.1rem;
    color: var(--text-dark); /* Ensure text on light bg is dark */
    max-width: 800px;
    margin: 1rem auto;
    line-height: 1.8;
}

/* ============================================
   Mission & Vision Section
   ============================================ */

.mission-vision {
    padding: 60px 20px;
    background-color: var(--white);
}

.mission-vision-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.mission-card,
.vision-card {
    padding: 2rem;
    border-radius: 8px;
    box-shadow: var(--shadow);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.mission-card {
    background-color: #e6eaf0; /* Light version of primary */
    border-left: 5px solid var(--primary-color);
}

.vision-card {
    background-color: #eef7f6; /* Light version of accent */
    border-left: 5px solid var(--accent-color);
}

.mission-card:hover,
.vision-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.mission-card h3,
.vision-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

/* ============================================
   Services Section
   ============================================ */

.services {
    padding: 60px 20px;
    background-color: var(--light-bg);
}

.services h2 {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 3rem;
    color: var(--primary-color);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.service-card {
    background-color: var(--white);
    padding: 2rem;
    border-radius: 8px;
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
    border-top: 4px solid var(--primary-color);
}

.service-card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: var(--shadow-lg);
    border-top-color: var(--accent-color);
}

.service-card h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

.service-card p {
    color: var(--text-dark); /* Ensure text on light bg is dark */
    margin-bottom: 1.5rem;
}

.service-card ul {
    list-style: none;
    padding-left: 0;
}

.service-card li {
    padding: 0.5rem 0;
    padding-left: 1.5rem;
    position: relative;
    color: var(--text-dark); /* Ensure text on light bg is dark */
}

.service-card li:before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--accent-color);
    font-weight: bold;
}

/* ============================================
   Why Choose Us Section
   ============================================ */

.why-choose {
    padding: 60px 20px;
    background-color: var(--white);
}

.why-choose h2 {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 3rem;
    color: var(--primary-color);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.feature {
    text-align: center;
    padding: 2rem;
    background-color: var(--light-bg);
    border-radius: 8px;
    transition: all 0.3s ease;
}

.feature:hover {
    background-color: #e6eaf0; /* Light version of primary */
    transform: translateY(-5px);
}

.feature h4 {
    color: var(--primary-color);
    margin-bottom: 0.5rem;
    font-size: 1.2rem;
}

.feature p {
    color: var(--text-dark); /* Ensure text on light bg is dark */
}

/* ============================================
   Pricing Section
   ============================================ */

.pricing {
    padding: 60px 20px;
    background-color: var(--light-bg);
}

.pricing h2 {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 1rem;
    color: var(--primary-color);
}

.pricing-intro {
    text-align: center;
    color: var(--text-dark); /* Ensure text on light bg is dark */
    margin-bottom: 3rem;
    font-size: 1.1rem;
}

.pricing-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.price-card {
    background-color: var(--white);
    padding: 2.5rem;
    border-radius: 8px;
    box-shadow: var(--shadow);
    text-align: center;
    transition: all 0.3s ease;
    border-top: 4px solid var(--border-color);
}

.price-card.featured {
    border-top: 4px solid var(--primary-color);
    transform: scale(1.05);
    box-shadow: var(--shadow-lg);
}

.price-card:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-5px);
}

.price-card.featured:hover {
    transform: scale(1.05) translateY(-5px);
}

.price-card h3 {
    color: var(--primary-color);
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.price-tier {
    color: var(--text-dark); /* Ensure text on light bg is dark */
    font-size: 0.9rem;
    margin-bottom: 1.5rem;
}

.price-card ul {
    list-style: none;
    margin: 1.5rem 0;
    text-align: left;
}

.price-card li {
    padding: 0.7rem 0;
    color: var(--text-dark); /* Ensure text on light bg is dark */
}

.price-button {
    background-color: var(--primary-color);
    color: var(--white);
    padding: 10px 25px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    margin-top: 1.5rem;
    font-weight: bold;
    transition: all 0.3s ease;
}

.price-button-wrapper {
    position: relative;
    display: inline-block;
    width: 100%;
    margin-top: 1.5rem;
}

.price-button-wrapper::before {
    content: attr(data-price);
    position: absolute;
    bottom: 120%;
    left: 50%;
    transform: translateX(-50%);
    background-color: var(--secondary-color);
    color: var(--white);
    padding: 10px 15px;
    border-radius: 5px;
    white-space: nowrap;
    font-size: 0.9rem;
    font-weight: bold;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 10;
    box-shadow: var(--shadow-lg);
}

.price-button-wrapper::after {
    content: '';
    position: absolute;
    bottom: 115%;
    left: 50%;
    transform: translateX(-50%);
    border: 6px solid transparent;
    border-top-color: var(--secondary-color);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 10;
}

.price-button-wrapper:hover::before,
.price-button-wrapper:hover::after {
    opacity: 1;
    visibility: visible;
}

.price-button {
    background-color: var(--secondary-color);
    color: var(--white);
    padding: 10px 25px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-weight: bold;
    transition: all 0.3s ease;
    display: inline-block;
    width: 100%;
    text-align: center;
    text-decoration: none;
}

.price-button:hover {
    background-color: var(--primary-color);
    transform: translateY(-2px);
}

/* ============================================
   Target Clients Section
   ============================================ */

.target-clients {
    padding: 60px 20px;
    background-color: var(--white);
}

.target-clients h2 {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 3rem;
    color: var(--primary-color);
}

.clients-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
}

.client-item {
    background-color: var(--light-bg);
    padding: 1.5rem;
    border-radius: 8px;
    text-align: center;
    font-weight: 500;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
    transition: all 0.3s ease;
}

.client-item:hover {
    background-color: var(--primary-color);
    color: var(--white);
}

/* ============================================
   Process Section
   ============================================ */

.process {
    padding: 60px 20px;
    background-color: var(--light-bg);
}

.process h2 {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 3rem;
    color: var(--primary-color);
}

.process-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 2rem;
}

.step {
    text-align: center;
    padding: 2rem 1rem;
    background-color: var(--white);
    border-radius: 8px;
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
}

.step:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-5px);
}

.step-number {
    width: 50px;
    height: 50px;
    background-color: var(--primary-color);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: bold;
    margin: 0 auto 1rem;
}

.step h4 {
    color: var(--primary-color);
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
}

.step p {
    color: var(--text-dark); /* Ensure text on light bg is dark */
    font-size: 0.9rem;
}

/* ============================================
   Benefits Section
   ============================================ */

.benefits {
    padding: 60px 20px;
    background-color: var(--white);
}

.benefits h2 {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 3rem;
    color: var(--primary-color);
}

.benefits-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    max-width: 900px;
    margin: 0 auto;
}

.benefit-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    background-color: var(--light-bg);
    border-radius: 8px;
    transition: all 0.3s ease;
}

.benefit-item:hover {
    background-color: #e3f2fd;
    transform: translateX(5px);
}

.benefit-icon {
    width: 35px;
    height: 30px;
    background-color: var(--accent-color);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 1.2rem;
    flex-shrink: 0;
}

.benefit-item p {
    color: var(--text-dark);
    margin: 0;
}

/* ============================================
   Contact Section
   ============================================ */

.contact {
    padding: 60px 20px;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: var(--white);
    text-align: center;
}

.contact h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.contact > .container > p {
    font-size: 1.1rem;
    margin-bottom: 2rem;
}

.contact-form {
    max-width: 600px;
    margin: 0 auto;
}

.form-group {
    margin-bottom: 1.5rem;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
    width: 100%;
    padding: 12px 15px;
    border: none;
    border-radius: 5px;
    font-family: inherit;
    font-size: 1rem;
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.3);
}

.contact-form button {
    width: 100%;
}

/* ============================================
   Footer
   ============================================ */

.footer {
    background-color: var(--dark-bg);
    color: var(--white);
    padding: 60px 20px 20px;
    position: relative;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, transparent, var(--accent-color), transparent);
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section h4 {
    margin-bottom: 1rem;
    color: var(--accent-color);
}

.footer-section p {
    color: var(--text-light);
    line-height: 1.6;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 0.5rem;
}

.footer-section a {
    color: var(--text-light);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section a:hover {
    color: var(--accent-color);
    text-decoration: none;
}

.social-links {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
}

.social-links a {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: var(--primary-color);
    font-weight: bold;
}

.social-links a:hover {
    background-color: var(--accent-color);
    transform: translateY(-3px);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid var(--primary-color);
    color: var(--text-light);
}

/* ============================================
   Back to Top Button
   ============================================ */

.back-to-top {
    position: fixed;
    bottom: 25px;
    right: 25px;
    background-color: var(--accent-color);
    color: var(--white);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    text-decoration: none;
    box-shadow: var(--shadow-lg);
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all 0.4s ease;
    z-index: 1000;
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.back-to-top:hover {
    background-color: #25a296; /* Darker accent */
    transform: translateY(-3px);
}

/* ============================================
   Responsive Design
   ============================================ */

@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }

    .nav-menu {
        display: none;
        position: absolute;
        top: 70px;
        left: 0;
        right: 0;
        flex-direction: column;
        background-color: var(--white);
        gap: 0;
        padding: 1rem 0;
        box-shadow: var(--shadow);
    }

    .nav-menu.active {
        display: flex;
    }

    .nav-menu li {
        width: 100%;
    }

    .nav-menu li a {
        display: block;
        padding: 1rem 1.5rem;
    }

    .hero-content h1 {
        font-size: 2rem;
    }

    .hero-content p {
        font-size: 1rem;
    }

    .services-grid,
    .features-grid,
    .pricing-cards {
        grid-template-columns: 1fr;
    }

    .price-card.featured {
        transform: scale(1);
    }

    .price-card.featured:hover {
        transform: translateY(-5px);
    }

    .mission-vision-grid {
        grid-template-columns: 1fr;
    }

    .process-steps {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 480px) {
    .navbar .container {
        padding: 0.8rem 15px;
    }

    .logo {
        font-size: 1.3rem;
    }

    .hero {
        padding: 50px 15px;
        min-height: 350px;
    }

    .hero-content h1 {
        font-size: 1.5rem;
    }

    .hero-content p {
        font-size: 0.95rem;
    }

    .introduction h2,
    .services h2,
    .why-choose h2,
    .pricing h2,
    .process h2,
    .benefits h2,
    .contact h2 {
        font-size: 1.8rem;
    }

    .process-steps {
        grid-template-columns: 1fr;
    }

    .benefits-list {
        grid-template-columns: 1fr;
    }

    .clients-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}