:root {
    /* BlaithGreen Brand Colors */
    --blaith-primary: #018001;
    --blaith-primary-light: #10b981;
    --blaith-dark: #0B1120;
    --blaith-dark-card: #141B2D;
    --blaith-gold: #D4AF37;
    --blaith-light: #F5F7FA;
    --blaith-gray: #6B7280;
    --blaith-border: rgba(255, 255, 255, 0.1);

    /* Typography */
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Inter', sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-body);
    color: #1f2937;
    line-height: 1.7;
    overflow-x: hidden;
}

/* PREMIUM NAVIGATION */
.premium-nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 9999;
    background: transparent;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    padding: 20px 0;
}

.premium-nav.scrolled {
    background: rgba(11, 17, 32, 0.95);
    backdrop-filter: blur(20px);
    padding: 15px 0;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
}

.nav-wrapper {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav-logo img {
    height: 50px;
    transition: all 0.3s;
    filter: drop-shadow(0 4px 8px rgba(1, 128, 1, 0.3));
}

.premium-nav.scrolled .nav-logo img {
    height: 40px;
}

.nav-links {
    display: flex;
    gap: 40px;
    list-style: none;
    align-items: center;
}

.nav-link {
    color: #fff;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    position: relative;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    gap: 5px;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--blaith-primary);
    transition: width 0.3s;
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

.nav-dropdown {
    position: relative;
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: -20px;
    background: rgba(20, 27, 45, 0.98);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    padding: 15px;
    min-width: 300px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}

.nav-dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-item {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 15px;
    border-radius: 12px;
    color: #fff;
    text-decoration: none;
    transition: all 0.3s;
    margin-bottom: 8px;
}

.dropdown-item:hover {
    background: rgba(1, 128, 1, 0.1);
    transform: translateX(5px);
}

.dropdown-item i {
    font-size: 1.5rem;
    color: var(--blaith-primary);
}

.dropdown-item strong {
    display: block;
    font-size: 0.95rem;
    margin-bottom: 3px;
}

.dropdown-item span {
    display: block;
    font-size: 0.75rem;
    color: #9ca3af;
}

.nav-cta {
    background: linear-gradient(135deg, var(--blaith-primary), var(--blaith-primary-light));
    color: #fff;
    padding: 12px 30px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 700;
    font-size: 0.9rem;
    transition: all 0.3s;
    box-shadow: 0 4px 15px rgba(1, 128, 1, 0.3);
}

.mobile-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    background: none;
    border: none;
    padding: 10px;
    z-index: 10001;
}

.mobile-toggle span {
    width: 25px;
    height: 3px;
    background: #fff;
    transition: all 0.3s ease;
    border-radius: 2px;
}

/* Hamburger Animation when Active */
.mobile-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(7px, 7px);
}

.mobile-toggle.active span:nth-child(2) {
    opacity: 0;
}

.mobile-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -7px);
}

@media (max-width: 968px) {
    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        height: 100vh;
        width: 80%;
        max-width: 400px;
        background: linear-gradient(135deg, #0B1120 0%, #141B2D 100%);
        flex-direction: column;
        gap: 0;
        padding: 100px 30px 30px;
        box-shadow: -10px 0 50px rgba(0, 0, 0, 0.5);
        overflow-y: auto;
        transition: right 0.4s cubic-bezier(0.4, 0, 0.2, 1);
        z-index: 10000;
        align-items: flex-start;
    }

    .nav-links.active {
        right: 0;
    }

    .nav-links li {
        width: 100%;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
        padding: 0;
    }

    .nav-links li:last-child {
        border-bottom: none;
    }

    .nav-link {
        display: block;
        width: 100%;
        padding: 18px 20px;
        font-size: 1.05rem;
    }

    .nav-link::after {
        display: none;
    }

    /* Mobile Dropdown */
    .nav-dropdown {
        width: 100%;
    }

    .dropdown-menu {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        background: rgba(255, 255, 255, 0.05);
        border: none;
        border-radius: 0;
        padding: 0;
        min-width: auto;
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease;
    }

    .nav-dropdown:hover .dropdown-menu,
    .nav-dropdown.active .dropdown-menu {
        max-height: 500px;
    }

    .dropdown-item {
        padding: 15px 25px;
        border-radius: 0;
        border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    }

    .dropdown-item:last-child {
        border-bottom: none;
    }

    .mobile-toggle {
        display: flex;
    }

    /* Mobile Overlay */
    body.mobile-menu-open::before {
        content: '';
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: rgba(0, 0, 0, 0.7);
        z-index: 9999;
        opacity: 1;
        transition: opacity 0.3s ease;
    }
}

/* PREMIUM FOOTER & CREATIVE TRANSITIONS */

/* Creative Footer Wave Transition */
.footer-wave-transition {
    position: relative;
    height: 150px;
    background: #ffffff;
    overflow: hidden;
}

.footer-wave-transition::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 150px;
    background: var(--blaith-dark);
    border-radius: 50% 50% 0 0 / 100% 100% 0 0;
    transform: scaleX(2);
}

/* Premium Footer - DULSCO Style */
.premium-footer {
    background: linear-gradient(135deg, #0B1120 0%, #141B2D 100%);
    color: #fff;
    padding: 60px 0 0;
    position: relative;
    overflow: hidden;
}

.premium-footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--blaith-primary), transparent);
}

.footer-main {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr 1.5fr;
    gap: 40px;
    padding: 0 5%;
    margin-bottom: 40px;
}

.footer-column h3 {
    font-family: var(--font-heading);
    font-size: 0.95rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 20px;
    color: var(--blaith-primary);
}

.footer-about {
    max-width: 350px;
}

.footer-logo {
    max-width: 180px;
    margin-bottom: 20px;
    filter: brightness(1.1);
}

.footer-about p {
    color: #9ca3af;
    font-size: 0.95rem;
    line-height: 1.8;
    margin-bottom: 25px;
}

.footer-certifications {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}

.cert-badge {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--blaith-border);
    padding: 8px 12px;
    border-radius: 8px;
    font-size: 0.7rem;
    font-weight: 700;
    color: var(--blaith-gold);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.footer-links ul {
    list-style: none;
}

.footer-links ul li {
    margin-bottom: 12px;
}

.footer-links ul li a {
    color: #d1d5db;
    text-decoration: none;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    display: inline-block;
}

.footer-links ul li a:hover {
    color: var(--blaith-primary);
    transform: translateX(5px);
}

.footer-links ul li a i {
    margin-right: 8px;
    opacity: 0.5;
    font-size: 0.8rem;
}

.footer-contact .contact-item {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    margin-bottom: 20px;
}

.footer-contact .contact-item i {
    color: var(--blaith-primary);
    font-size: 1.2rem;
    margin-top: 3px;
}

.footer-contact .contact-item div h4 {
    font-size: 0.85rem;
    font-weight: 700;
    color: #9ca3af;
    margin-bottom: 5px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.footer-contact .contact-item div p {
    color: #d1d5db;
    font-size: 0.95rem;
}

.footer-contact .contact-item div a {
    color: #d1d5db;
    text-decoration: none;
    transition: color 0.3s;
}

.footer-contact .contact-item div a:hover {
    color: var(--blaith-primary);
}

.footer-newsletter {
    background: rgba(255, 255, 255, 0.04);
    backdrop-filter: blur(10px);
    padding: 30px;
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    position: relative;
    z-index: 5;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.footer-newsletter h3 {
    margin-bottom: 15px;
    text-transform: uppercase;
    font-size: 1rem;
    letter-spacing: 1px;
    color: #fff;
}

.footer-newsletter p {
    color: #9ca3af;
    font-size: 0.85rem;
    margin-bottom: 20px;
    line-height: 1.6;
}

.newsletter-form {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.newsletter-form input {
    width: 100%;
    padding: 14px 18px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    color: #fff;
    font-size: 0.9rem;
    outline: none;
    transition: all 0.3s;
}

.newsletter-form input:focus {
    border-color: var(--blaith-primary);
    background: rgba(255, 255, 255, 0.08);
}

.newsletter-form button {
    background: var(--blaith-primary);
    color: white;
    border: none;
    padding: 14px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
    width: 100%;
}

.newsletter-form button:hover {
    background: #019001;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(1, 128, 1, 0.4);
}

.footer-social {
    display: flex;
    gap: 12px;
    margin-top: 20px;
}

.social-link {
    width: 45px;
    height: 45px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--blaith-border);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #9ca3af;
    text-decoration: none;
    transition: all 0.3s;
    font-size: 1.1rem;
}

.social-link:hover {
    background: var(--blaith-primary);
    color: #fff;
    transform: translateY(-3px);
    border-color: var(--blaith-primary);
}

.footer-bottom {
    border-top: 1px solid var(--blaith-border);
    padding: 30px 5%;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-bottom-left p {
    color: #6b7280;
    font-size: 0.85rem;
}

.footer-bottom-left p strong {
    color: var(--blaith-primary);
    font-weight: 700;
}

.footer-bottom-right {
    display: flex;
    gap: 25px;
}

.footer-bottom-right a {
    color: #9ca3af;
    text-decoration: none;
    font-size: 0.85rem;
    transition: color 0.3s;
}

.footer-bottom-right a:hover {
    color: var(--blaith-primary);
}

/* Responsive Footer */
@media (max-width: 1200px) {
    .footer-main {
        grid-template-columns: repeat(2, 1fr);
        gap: 50px;
    }

    .footer-about {
        grid-column: 1 / -1;
        max-width: 100%;
        text-align: center;
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .footer-social {
        justify-content: center;
    }
}

@media (max-width: 768px) {
    .footer-main {
        grid-template-columns: 1fr;
        gap: 45px;
        padding: 0 25px;
    }

    .premium-footer {
        padding: 60px 0 0;
    }

    .footer-about {
        text-align: center;
    }

    .footer-logo {
        max-width: 160px;
        margin: 0 auto 25px;
    }

    .footer-about p {
        text-align: center;
    }

    .footer-social {
        gap: 15px;
        margin-top: 25px;
    }

    .social-link {
        width: 50px;
        height: 50px;
        font-size: 1.2rem;
    }

    .footer-column h3 {
        text-align: center;
        margin-bottom: 25px;
        font-size: 1.1rem;
    }

    .footer-links ul {
        text-align: center;
    }

    .footer-links ul li {
        margin-bottom: 15px;
    }

    .footer-links ul li a {
        font-size: 1rem;
        display: inline-block;
    }

    .footer-contact .contact-item {
        flex-direction: column;
        text-align: center;
        align-items: center;
        gap: 10px;
        margin-bottom: 30px;
    }

    .footer-contact .contact-item i {
        font-size: 1.5rem;
        margin-top: 0;
    }

    .footer-contact .contact-item div h4 {
        font-size: 0.9rem;
        margin-bottom: 8px;
    }

    .footer-contact .contact-item div p,
    .footer-contact .contact-item div a {
        font-size: 1rem;
    }

    .footer-newsletter {
        padding: 35px 25px;
        margin: 0 auto;
        max-width: 100%;
    }

    .footer-newsletter h3 {
        font-size: 1.1rem;
        text-align: center;
    }

    .footer-newsletter p {
        text-align: center;
        font-size: 0.95rem;
        margin-bottom: 25px;
    }

    .newsletter-form input {
        padding: 16px 20px;
        font-size: 1rem;
        border-radius: 14px;
    }

    .newsletter-form button {
        padding: 16px;
        font-size: 0.95rem;
        border-radius: 14px;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 20px;
        text-align: center;
        padding: 35px 25px;
    }

    .footer-bottom-left p {
        font-size: 0.9rem;
        line-height: 1.6;
    }

    .footer-bottom-right {
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: center;
        gap: 15px;
    }

    .footer-bottom-right a {
        font-size: 0.9rem;
    }
}

@media (max-width: 480px) {
    .footer-main {
        gap: 40px;
        padding: 0 20px;
    }

    .premium-footer {
        padding: 50px 0 0;
    }

    .footer-logo {
        max-width: 140px;
    }

    .footer-about p {
        font-size: 0.9rem;
    }

    .cert-badge {
        font-size: 0.65rem;
        padding: 6px 10px;
    }

    .social-link {
        width: 45px;
        height: 45px;
        font-size: 1.1rem;
    }

    .footer-newsletter {
        padding: 30px 20px;
        border-radius: 16px;
    }

    .footer-bottom {
        padding: 30px 20px;
    }

    .footer-bottom-left p {
        font-size: 0.85rem;
    }

    .footer-bottom-right {
        flex-direction: column;
        gap: 12px;
    }
}


/* Scroll to Top Button */
.scroll-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 55px;
    height: 55px;
    background: linear-gradient(135deg, var(--blaith-primary), var(--blaith-primary-light));
    color: #fff;
    border: none;
    border-radius: 50%;
    font-size: 1.3rem;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transform: translateY(100px);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 8px 25px rgba(1, 128, 1, 0.4);
    z-index: 9998;
    display: flex;
    align-items: center;
    justify-content: center;
}

.scroll-to-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.scroll-to-top:hover {
    background: linear-gradient(135deg, var(--blaith-primary-light), var(--blaith-primary));
    transform: translateY(-5px);
    box-shadow: 0 12px 35px rgba(1, 128, 1, 0.6);
}

.scroll-to-top:active {
    transform: translateY(-2px);
}

@media (max-width: 768px) {
    .scroll-to-top {
        bottom: 20px;
        right: 20px;
        width: 50px;
        height: 50px;
        font-size: 1.2rem;
    }
}

/* Container */
.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
}