/* ============================================
   UNIFIED NAVBAR, HEADER & FOOTER STYLES
   Common components across all pages
   ============================================ */

/* ============================================
   NAVBAR - Consistent across all pages
   ============================================ */

.navbar {
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(10px);
    box-shadow: var(--shadow-sm);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    transition: all 0.3s ease;
}

.navbar.scrolled {
    box-shadow: var(--shadow-md);
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.2rem 40px;
}

/* Logo Styling */
.logo {
    display: flex;
    flex-direction: row;
    gap: 1rem;
    line-height: 1.2;
    align-items: center;
    text-decoration: none;
    transition: all 0.3s ease;
}

.logo:hover {
    opacity: 0.8;
}

.logo-img {
    height: 65px;
    width: auto;
    object-fit: contain;
    transition: transform 0.3s ease;
}

.logo:hover .logo-img {
    transform: scale(1.05);
}

.logo-text {
    font-size: 1.8rem;
    font-weight: 800;
    background: linear-gradient(135deg, var(--grass-green), var(--blue));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: -0.5px;
}

.logo-subtitle {
    font-size: 0.75rem;
    color: var(--text-light);
    font-weight: 500;
    letter-spacing: 1px;
    text-transform: uppercase;
}

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

.nav-links a {
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 500;
    font-size: 0.95rem;
    position: relative;
    transition: color 0.3s ease;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--grass-green), var(--blue));
    transition: width 0.3s ease;
}

.nav-links a:hover {
    color: var(--grass-green);
}

.nav-links a:hover::after {
    width: 100%;
}

/* Mobile Menu Toggle */
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
}

.mobile-menu-toggle span {
    width: 25px;
    height: 3px;
    background: var(--text-dark);
    border-radius: 3px;
    transition: all 0.3s ease;
}

/* ============================================
   PAGE HEADERS - Consistent styling
   ============================================ */

/* Hero Header (Main page) */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    overflow: hidden;
    padding: 120px 40px 80px;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--grass-green) 0%, var(--blue) 100%);
    z-index: -1;
}

.hero-pattern {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        radial-gradient(circle at 20% 50%, rgba(255,255,255,0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(255,255,255,0.1) 0%, transparent 50%);
    animation: float 20s ease-in-out infinite;
}

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

.hero-content {
    max-width: 900px;
    text-align: center;
    animation: fadeInUp 1s ease-out;
}

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

/* Blog/Case Study/Service Headers */
.blog-hero,
.service-hero {
    background: linear-gradient(135deg, var(--grass-green) 0%, var(--blue) 100%);
    color: var(--white);
    padding: 140px 40px 80px;
    margin-top: 76px;
    text-align: justify;
}

.blog-hero h1,
.service-hero h1 {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 1rem;
    line-height: 1.1;
}

.blog-hero p,
.hero-subtitle {
    font-size: 1.3rem;
    opacity: 0.95;
    max-width: auto;
    margin: 0 auto;
    line-height: 1.6;
    text-align: justify;
}

/* Article/Case Study Headers */
.article-header,
.case-study-header {
    background: linear-gradient(135deg, var(--grass-green) 0%, var(--blue) 100%);
    color: var(--white);
    padding: 140px 40px 80px;
    margin-top: 76px;
}

.article-header h1,
.case-study-header h1 {
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

/* Breadcrumb Navigation */
.breadcrumb {
    font-size: 0.9rem;
    margin-bottom: 1.5rem;
    opacity: 0.9;
}

.breadcrumb a {
    color: var(--white);
    text-decoration: none;
    transition: opacity 0.3s;
}

.breadcrumb a:hover {
    opacity: 0.8;
}

.breadcrumb span {
    opacity: 0.8;
}


.cta-section {
    background: linear-gradient(135deg, var(--grass-green), var(--blue));
    color: var(--white);
    padding: 4rem;
    /* border-radius: 20px; */
    text-align: center;
    margin-top: 4rem;
}

.cta-section a {
    margin-top: 20px;
}

/* ============================================
   FOOTER - Consistent across all pages
   ============================================ */

.footer {
    background: var(--text-dark);
    color: var(--white);
    padding: 4rem 40px 2rem;
}

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

.footer-section h4 {
    font-size: 1.2rem;
    margin-bottom: 1.5rem;
    font-weight: 700;
}

.footer-section p {
    color: rgba(255,255,255,0.7);
    line-height: 1.7;
    margin-top: 1rem;
}

.footer-section ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.footer-section ul a {
    color: rgba(255,255,255,0.7);
    text-decoration: none;
    transition: color 0.3s ease;
    font-size: 0.95rem;
}

.footer-section ul a:hover {
    color: var(--grass-green);
}

/* Footer Logo */
.footer-logo {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    margin-bottom: 1rem;
}

.footer-logo-img {
    height: 80px;
    width: auto;
    object-fit: contain;
    transition: transform 0.3s ease;
}

.footer-logo-img:hover {
    transform: scale(1.05);
}

.footer-logo .logo-text {
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--white);
    -webkit-text-fill-color: var(--white);
}

.footer-logo .logo-subtitle {
    font-size: 0.75rem;
    color: rgba(255,255,255,0.7);
    font-weight: 500;
    letter-spacing: 1px;
    text-transform: uppercase;
}

/* Footer Bottom */
.footer-bottom {
    padding-top: 2rem;
    border-top: 1px solid rgba(255,255,255,0.1);
    text-align: center;
}

.footer-bottom p {
    color: rgba(255,255,255,0.6);
    font-size: 0.9rem;
}

/* ============================================
   RESPONSIVE DESIGN
   ============================================ */

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

@media (max-width: 768px) {
    /* Navbar */
    .navbar .container {
        padding: 1rem 20px;
    }

    .nav-links {
        display: none;
    }

    .mobile-menu-toggle {
        display: flex;
    }

    .logo-img {
        height: 50px;
    }

    /* Headers */
    .hero {
        padding: 100px 20px 60px;
        min-height: 90vh;
    }

    .blog-hero,
    .service-hero,
    .article-header,
    .case-study-header {
        padding: 100px 20px 50px;
        margin-top: 76px;
    }

    .blog-hero h1,
    .service-hero h1,
    .article-header h1,
    .case-study-header h1 {
        font-size: 2rem;
    }

    .blog-hero p,
    .hero-subtitle {
        font-size: 1rem;
    }

    /* Footer */
    .footer {
        padding: 3rem 20px 1.5rem;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .footer-logo-img {
        height: 60px;
    }
}

@media (max-width: 480px) {
    /* Navbar */
    .navbar .container {
        padding: 0.8rem 15px;
    }

    .logo-img {
        height: 45px;
    }

    /* Headers */
    .hero {
        padding: 80px 15px 40px;
    }

    .blog-hero,
    .service-hero,
    .article-header,
    .case-study-header {
        padding: 80px 15px 40px;
    }

    .blog-hero h1,
    .service-hero h1,
    .article-header h1,
    .case-study-header h1 {
        font-size: 1.5rem;
    }

    .blog-hero p,
    .hero-subtitle {
        font-size: 0.95rem;
    }

    /* Footer */
    .footer {
        padding: 2rem 15px 1rem;
    }

    .footer-section h4 {
        font-size: 1rem;
        margin-bottom: 1rem;
    }

    .footer-logo-img {
        height: 50px;
    }

    .footer-bottom p {
        font-size: 0.85rem;
    }
}
