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

:root {
    --primary-color: #15803d;
    --primary-dark: #16a34a;
    --secondary-color: #64748b;
    --accent-color: #16a34a;
    --text-dark: #1e293b;
    --text-light: #64748b;
    --white: #ffffff;
    --light-gray: #ffffff;
    --border-color: #e2e8f0;
    --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
    --transition: all 0.3s ease;
    --transition-smooth: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    --border-radius: 8px;
    --section-padding: 80px 0;
}

html {
    scroll-behavior: smooth;
    overflow-x: hidden;
    width: 100%;
}

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    overflow-x: hidden;
    background: white;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    transition: var(--transition-smooth);
    overflow-x: hidden;
    width: 100%;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 3rem;
    color: var(--text-dark);
    position: relative;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
    border-radius: 2px;
}

/* Header & Navigation */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: white;
    backdrop-filter: none;
    z-index: 1000;
    transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    padding: 1rem 0;
}

/* Make navigation menu area transparent */
.nav-menu {
    background: transparent !important;
    backdrop-filter: none !important;
}

.nav-menu .nav-item {
    background: transparent !important;
}

.nav-menu .nav-link {
    background: transparent !important;
    color: #333 !important;
    text-decoration: none !important;
    transition: all 0.3s ease !important;
    font-size: 1.1rem !important;
    font-weight: 500 !important;
}

/* Desktop only hover effects */
@media (min-width: 1081px) {
    .nav-menu .nav-link {
        position: relative !important;
    }
    
    .nav-menu .nav-link::after {
        content: '' !important;
        position: absolute !important;
        width: 0 !important;
        height: 2px !important;
        bottom: -12px !important; /* Further down from text */
        left: 0 !important;
        background-color: #333 !important;
        transition: width 0.3s ease !important;
    }
    
    .nav-menu .nav-link:hover::after {
        width: 100% !important; /* Animate from left to right */
    }
    
    .nav-menu .nav-link:hover {
        color: #333 !important; /* Keep original color, no blue */
    }
    
    /* Green button design for Contact Us link on desktop */
    .nav-menu .nav-link[href="contact.html"] {
        background: #15803d !important; /* Green background */
        color: white !important; /* White text */
        padding: 10px 20px !important; /* Button padding */
        border-radius: 6px !important; /* Rounded corners */
        text-decoration: none !important; /* No underline */
        font-weight: 600 !important; /* Bold text */
        transition: all 0.3s ease !important;
    }
    
    .nav-menu .nav-link[href="contact.html"]::after {
        display: none !important; /* Remove underline for Contact Us */
    }
    
    .nav-menu .nav-link[href="contact.html"]:hover {
        background: #16a34a !important; /* Lighter green on hover */
        color: white !important;
        text-decoration: none !important; /* No underline on hover */
        transform: translateY(-2px) !important; /* Slight lift effect */
        box-shadow: 0 4px 12px rgba(21, 128, 61, 0.3) !important; /* Green shadow */
    }
    
    .nav-menu .nav-link[href="contact.html"]:hover::after {
        display: none !important; /* Remove underline on hover for Contact Us */
    }
    
    /* Ensure underline appears for active links on hover (except Contact Us) */
    .nav-menu .nav-link.active:hover::after {
        width: 100% !important; /* Animate from left to right */
        display: block !important; /* Force display */
    }
    
    /* Remove underline for active Contact Us link */
    .nav-menu .nav-link.active[href="contact.html"]:hover::after {
        display: none !important;
    }
    
    /* Force underline for specific active links */
    .nav-menu .nav-link.active[href="scaninsights-app.html"]:hover::after,
    .nav-menu .nav-link.active[href="home.html"]:hover::after,
    .nav-menu .nav-link.active[href="/home"]:hover::after,
    .nav-menu .nav-link.active[href="#home"]:hover::after {
        width: 100% !important;
        display: block !important;
        opacity: 1 !important;
        visibility: visible !important;
    }
    
    /* Ensure active links have the ::after pseudo-element */
    .nav-menu .nav-link.active::after {
        content: '' !important;
        position: absolute !important;
        width: 0 !important;
        height: 2px !important;
        bottom: -12px !important;
        left: 0 !important;
        background-color: #333 !important;
        transition: width 0.3s ease !important;
        display: block !important;
    }
}

/* Desktop only - keep header transparent when scrolled */
@media (min-width: 1081px) {
.header.scrolled {
        background: transparent !important;
        backdrop-filter: none !important;
        box-shadow: none !important;
    transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    }
}

.header.scrolled .nav-link {
    color: black !important;
    text-shadow: none;
}

/* Desktop hero background */
.hero-background::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('Input/cow.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    z-index: 1;
    transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.3));
    z-index: 2;
    transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Desktop and tablet styles for 1081px and above */
@media (min-width: 1081px) {
    .hero {
    min-height: 65vh;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 0;
    transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    background: linear-gradient(135deg, #15803d, #16a34a);
    overflow: hidden;
}
    
    .hero-background {
        position: relative;
        width: 100%;
        height: 100%;
    }
    
    .hero-background::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background-image: url('Input/cow.png');
        background-size: cover;
        background-position: center;
        background-repeat: no-repeat;
        z-index: 1;
        transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    }
    
    .hero-overlay {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: linear-gradient(135deg, rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.3));
        z-index: 2;
        transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    }
    
    .hero-content {
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        z-index: 3;
        max-width: 800px;
        width: 100%;
        padding: 0 2rem;
        text-align: center;
        color: white;
        text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.8);
        transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    }
    
    .nav-logo {
        position: absolute;
        top: 0;
        left: 0;
        transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
        padding: 0.5rem 1rem;
    }
    
    .nav-logo .logo {
        height: 80px;
        transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    }
}



.nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 2rem;
    max-width: 1600px;
    margin: 0 auto;
    min-height: 100px;
    position: relative;
    transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Base logo size for desktop */
@media (min-width: 1081px) {
    .nav-logo .logo,
    header .nav .nav-logo .logo,
    .header .nav .nav-logo .logo,
    body .header .nav .nav-logo .logo {
        height: clamp(50px, 6vw, 80px) !important;
        max-height: 80px !important;
        width: auto !important;
        transition: all 0.3s ease;
    }
}

/* Desktop navigation - ensure full width coverage */
@media (min-width: 1081px) {
    .nav {
        max-width: 1800px;
        padding: 0 3rem;
        min-height: 110px;
    }
    
    @media (min-width: 1081px) and (max-width: 1197px) {
        .nav {
            padding: 0 1rem 0 3rem !important;
            justify-content: space-between !important;
        }
    }
    
    .nav-menu {
        display: flex !important;
        margin-left: auto;
        margin-right: 0;
        gap: 1rem;
        padding-right: 2rem;
        position: static !important;
        opacity: 1 !important;
        visibility: visible !important;
        transform: none !important;
        width: auto !important;
        height: auto !important;
        background: transparent !important;
        backdrop-filter: none !important;
        box-shadow: none !important;
        overflow: visible !important;
    }
    
    .nav-icons {
        margin-left: 0;
        padding-right: 1rem;
    }
    
    .hero-section {
        margin-top: 110px;
    }
    

    
    /* Responsive footer logo */
    .footer-logo {
        height: clamp(80px, 8vw, 120px) !important;
        transition: all 0.3s ease;
    }
}

/* Mobile header - completely different approach */
@media (max-width: 1080px) {
    .header {
        position: absolute;
        background: white;
        background-color: white;
        backdrop-filter: none;
        box-shadow: none;
        height: 120px;
        transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    }
    
    /* Mobile menu styles - override all desktop styles */
    .nav-menu {
        position: fixed !important;
        top: 0 !important;
        left: 0 !important;
        width: 280px !important;
        height: 100vh !important;
        background: white !important;
        background-color: white !important;
        backdrop-filter: none !important;
        flex-direction: column !important;
        padding: 120px 0 2rem 0 !important;
        transform: translateX(-100%) !important;
        opacity: 1 !important;
        visibility: visible !important;
        transition: all 0.3s ease !important;
        z-index: 999 !important;
        box-shadow: 4px 0 6px -1px rgba(0, 0, 0, 0.1) !important;
        overflow: hidden !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
        gap: 0 !important;
        padding-right: 0 !important;
        right: auto !important;
        white-space: normal !important;
        flex-wrap: wrap !important;
    }
    
    .nav-menu.active {
        transform: translateX(0) !important;
        opacity: 1 !important;
        visibility: visible !important;
        position: fixed !important;
        right: auto !important;
        white-space: normal !important;
        flex-wrap: wrap !important;
    }
    
    /* Hide logo when mobile menu is active */
    .nav-menu.active ~ .nav-logo,
    .nav-menu.active ~ .nav .nav-logo,
    .nav-menu.active + .nav-logo,
    .nav-menu.active + .nav .nav-logo,
    .nav-menu.active ~ * .nav-logo {
        opacity: 0 !important;
        visibility: hidden !important;
    }
    
    /* Alternative approach - hide logo when menu is active */
    .nav-menu.active ~ .nav-logo .logo,
    .nav-menu.active + .nav-logo .logo,
    .nav-menu.active ~ * .nav-logo .logo {
        opacity: 0 !important;
        visibility: hidden !important;
    }
    
    /* Hide logo when mobile menu is open using body class */
    body.mobile-menu-open .nav-logo .logo {
        opacity: 0 !important;
        visibility: hidden !important;
    }
    
    /* Close button for mobile menu */
    .mobile-menu-close {
        position: absolute;
        top: 20px;
        right: 20px;
        background: #15803d;
        color: white;
        border: none;
        border-radius: 50%;
        width: 40px;
        height: 40px;
        font-size: 1.2rem;
        cursor: pointer;
        display: flex;
        align-items: center;
        justify-content: center;
        transition: all 0.3s ease;
        z-index: 1000;
    }
    

    
    .mobile-menu-close:hover {
        background: #16a34a;
        transform: scale(1.1);
    }
    
    .nav-item {
        margin: 0.5rem 0;
        text-align: center;
    }
    
    .nav-link {
        color: #1e293b !important;
        font-size: 1.1rem;
        padding: 1rem 2rem;
        display: block;
        text-shadow: none;
        text-decoration: none !important;
        border: none !important;
        outline: none !important;
    }
    
    .nav-link:hover {
        background: rgba(21, 128, 61, 0.1);
        color: #15803d !important;
        text-decoration: none !important;
        border: none !important;
        outline: none !important;
    }
    
    .nav-link.active {
        background: transparent;
        color: #333333;
        text-decoration: none !important;
        border: none !important;
        outline: none !important;
    }
    
    /* Mobile menu backdrop */
    .mobile-menu-backdrop {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: rgba(0, 0, 0, 0.5);
        z-index: 998;
        opacity: 0;
        visibility: hidden;
        transition: all 0.3s ease;
    }
    
    .mobile-menu-backdrop.active {
        opacity: 1;
        visibility: visible;
    }
    
    .header.scrolled {
        position: fixed;
        background: white !important;
        backdrop-filter: none !important;
        box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1) !important;
        transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    }
    
    .header.scrolled .nav-link {
        color: black !important;
        text-shadow: none;
    }
    
    .nav {
        min-height: 120px;
        padding: 0.8rem 1rem;
        justify-content: flex-end;
        transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    }
    
    .nav-logo {
        position: fixed;
        top: 0;
        left: 0;
        margin-right: auto;
        transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
        padding: 0.5rem 1rem;
    }
    
    .nav-logo .logo {
        height: 100px;
        transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    }
    
    .nav-toggle {
        position: absolute;
        top: 0.5rem;
        right: 1rem;
        margin-right: 0;
    }
    
    .nav-menu {
        top: 40px;
        max-height: calc(100vh - 40px);
    }
}



.nav-logo {
    /* Logo container - positioned in top left corner */
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    z-index: 1001;
    padding: 0.5rem 1rem !important;
}

.nav-logo .logo {
    height: 100px !important;
    width: auto;
    transition: var(--transition-smooth);
}

/* Force logo positioning for all screen sizes */
header .nav .nav-logo {
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    padding: 0.5rem 1rem !important;
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
}

header .nav .nav-logo .logo {
    height: 100px !important;
    width: auto !important;
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
}

/* Additional force for logo visibility */
.nav-logo {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
}

.nav-logo .logo {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
}

/* Force mobile header heights */
@media (max-width: 1080px) {
    .header {
        position: fixed !important;
        top: 0 !important;
        left: 0 !important;
        right: 0 !important;
        z-index: 1000 !important;
        height: 140px !important;
        min-height: 140px !important;
        background: white !important;
        background-color: white !important;
        backdrop-filter: none !important;
        box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1) !important;
    }
    
    .nav {
        min-height: 140px !important;
        height: 140px !important;
    }
    
    .hero-section {
        margin-top: 140px !important;
    }
    
    .nav-logo .logo {
        height: 100px !important;
    }
    
    header .nav .nav-logo .logo {
        height: 100px !important;
    }
}





.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
    align-items: center;
    margin-left: auto;
    margin-right: 2rem;
}

.nav-link {
    text-decoration: none;
    color: black !important;
    font-weight: 500;
    font-size: 0.95rem;
    transition: var(--transition);
    position: relative;
    padding: 0.5rem 1rem;
    text-shadow: none;
}

.nav-link:hover,
.nav-link.active {
    color: var(--primary-color);
}

.nav-link.active::after {
    content: none !important;
    display: none !important;
}

/* Dropdown Menu */
.dropdown {
    position: relative;
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background: var(--white);
    min-width: 200px;
    box-shadow: var(--shadow-lg);
    border-radius: var(--border-radius);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: var(--transition);
    z-index: 1000;
    list-style: none;
    padding: 0.5rem 0;
}

.dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-menu li {
    margin: 0;
}

.dropdown-menu a {
    display: block;
    padding: 0.75rem 1.5rem;
    color: var(--text-dark);
    text-decoration: none;
    transition: var(--transition);
    font-weight: 500;
}

.dropdown-menu a:hover {
    background: var(--light-gray);
    color: var(--primary-color);
    padding-left: 2rem;
}

.nav-link i {
    font-size: 0.8rem;
    margin-left: 0.5rem;
    transition: var(--transition);
}

.dropdown:hover .nav-link i {
    transform: rotate(180deg);
}



.nav-icons {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.nav-icon {
    color: white;
    font-size: 1.2rem;
    text-decoration: none;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
}

.nav-icon:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: scale(1.1);
}

.nav-toggle {
    display: none;
    flex-direction: row;
    cursor: pointer;
    gap: 8px;
    z-index: 1001;
    position: absolute;
    top: 50%;
    right: 1rem;
    margin-right: 0;
    align-items: center;
    background: #2d3748;
    padding: 8px 12px;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
    transform: translateY(-50%);
}

.nav-toggle .bars-container {
    display: flex;
    flex-direction: column;
    gap: 3px;
}

.menu-text {
    font-size: 0.9rem;
    font-weight: 500;
    color: white;
    margin-bottom: 0;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.bar {
    width: 20px;
    height: 2px;
    background: white;
    transition: var(--transition);
    border-radius: 1px;
}



/* Hero Section (for desktop) */
.hero {
    height: 80vh;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    margin-top: 110px;
    transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Responsive adjustments for mobile */
@media (max-width: 1080px) {
    /* Show mobile menu toggle on mobile */
    .nav-toggle {
        display: flex !important;
    }
    
    /* Mobile hero adjustments */
    .hero-section {
        margin-top: 120px;
        display: flex;
        flex-direction: column;
        position: relative;
    }
    
    .hero-background {
        position: relative;
        width: 100%;
        z-index: 1;
        order: 1;
    }
    
    .hero-bg-image {
        width: 100%;
        height: auto;
        display: block;
    }
    
    .hero-overlay {
        display: none;
    }
    
    .hero-content {
        position: static !important;
        top: auto !important;
        left: auto !important;
        transform: none !important;
        margin: 2rem auto;
        color: white !important;
        padding: 2rem 1rem;
        z-index: 2;
        background: #15803d !important;
        order: 2;
        text-align: center;
        width: 90vw !important;
        max-width: 90vw !important;
        margin-left: 5vw !important;
        margin-right: 5vw !important;
        border-radius: 12px;
        box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
        transition: all 0.3s ease;
        display: flex;
        align-items: center;
        justify-content: center;
        min-height: 80px;
    }
    
    .hero-title {
        font-size: clamp(1.2rem, 5.5vw, 1.8rem);
        margin-bottom: 1rem;
        line-height: 1.2;
        color: white !important;
        text-shadow: none !important;
        white-space: nowrap;
        word-wrap: normal;
        overflow: hidden;
        text-overflow: ellipsis;
    }
    
    .hero-subtitle {
        font-size: clamp(0.6rem, 3.2vw, 1.1rem);
        font-weight: 500;
        line-height: 1.4;
        color: rgba(255, 255, 255, 0.9) !important;
        text-shadow: none !important;
        white-space: normal;
        overflow: visible;
        text-overflow: unset;
        transition: all 0.3s ease;
    }
}

/* Extra small mobile styles */
@media (max-width: 492px) {
    .hero-section {
        margin-top: 120px !important;
    }
    
    .hero-title {
        font-size: clamp(1.4rem, 5.5vw, 1.9rem) !important;
    }
    
    .hero-subtitle {
        font-size: clamp(1.1rem, 4.5vw, 1.7rem) !important;
    }
    
    .section-title {
        font-size: 1.6rem !important;
    }
    
    /* Extra small mobile menu adjustments */
    .nav-menu {
        top: 0;
        left: -280px;
        width: 280px;
        height: 100vh;
        padding: 100px 0 1.5rem 0;
    }
    
    .nav-link {
        font-size: 1rem;
        padding: 0.8rem 1.5rem;
    }
    
    .nav-item {
        margin: 0.3rem 0;
    }
}

/* Desktop hero styles */
@media (min-width: 1081px) {
    .hero-background {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
        z-index: 1;
    }
    
    .hero-background::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background-image: url('Input/cow.png');
        background-size: cover;
        background-position: center;
        background-repeat: no-repeat;
        z-index: 1;
        transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    }
    
    .hero-overlay {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: linear-gradient(135deg, rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.3));
        z-index: 2;
        transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    }
    
    .hero-cow {
        display: none; /* Hide the separate cow image */
    }
    
    .hero-content {
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        z-index: 3;
        margin-top: 0;
        padding: 2rem 1.5rem;
        max-width: 800px;
        width: 100%;
        text-align: center;
        color: white;
        text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.8);
        transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    }
    
    .hero-title {
        font-size: 2.5rem;
        font-weight: 700;
        margin-bottom: 1.5rem;
        line-height: 1.1;
        letter-spacing: 0.5px;
    }
    
    .hero-subtitle {
        font-size: 1.2rem;
        line-height: 1.6;
        margin-bottom: 1rem;
        font-weight: 400;
    }
    
    .hero-subtitle-large {
        font-size: 1.4rem;
        line-height: 1.5;
        font-weight: 500;
    }
}


        text-shadow: none !important;
    }
    
    .hero-subtitle {
        font-size: 0.9rem;
        line-height: 1.4;
        color: rgba(255, 255, 255, 0.9) !important;
        text-shadow: none !important;
    }
}

@media (max-width: 375px) {
    .hero-section {
        margin-top: 100px;
        display: flex;
        flex-direction: column;
        position: relative;
        width: 100%;
    }
    
    .hero-background {
        position: relative;
        width: 90%;
        max-width: 400px;
        margin-left: auto;
        margin-right: auto;
        z-index: 1;
        order: 1;
    }
    
    .hero-bg-image {
        width: 100%;
        height: auto;
        display: block;
    }
    
    .hero-overlay {
        display: none;
    }
    
    .hero-content {
        position: static !important;
        top: auto !important;
        left: auto !important;
        transform: none !important;
        margin-top: 1rem;
        color: white !important;
        padding: 2rem 1rem;
        z-index: 2;
        background: #15803d !important;
        order: 2;
        text-align: center;
        width: 100%;
        max-width: 100%;
        margin-left: 0;
        margin-right: 0;
        border-radius: 0;
        box-shadow: none;
        display: flex;
        align-items: center;
        justify-content: center;
        min-height: 80px;
    }
    
    .hero-title {
        font-size: 0.5rem;
        margin-bottom: 0.7rem;
        line-height: 1.2;
        color: white !important;
        text-shadow: none !important;
    }
    
    .hero-subtitle {
        font-size: 0.8rem;
        line-height: 1.4;
        color: var(--text-light) !important;
        text-shadow: none !important;
    }
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #f8fafc;
    z-index: -1;
}

.hero-background::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('Input/cow.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    z-index: 1;
    transition: var(--transition-smooth);
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0.2));
    z-index: 2;
    pointer-events: none;
}



/* Hero Section */
.hero-section {
    position: relative;
    width: 100%;
    margin-top: 110px;
}

.hero-background {
    position: relative;
    width: 100%;
    z-index: 1;
}

.hero-bg-image {
    width: 100%;
    height: auto;
    display: block;
    margin-left: 0;
    margin-top: 0;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0.2));
    z-index: 2;
    pointer-events: none;
}

.hero-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 3;
    text-align: center;
    color: white;
    max-width: 900px;
    padding: 0 2rem;
    width: 100%;
    overflow: visible;
}

.hero-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    line-height: 1.2;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.8);
    white-space: normal;
    overflow: visible;
    text-overflow: unset;
    word-wrap: break-word;
}

.hero-subtitle {
    font-size: 0.8rem;
    font-weight: 700;
    line-height: 1.3;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.8);
}

/* Desktop specific hero-subtitle override */
@media (min-width: 1081px) {
    .hero-subtitle {
        font-size: 2.4rem !important;
        font-weight: 700 !important;
        line-height: 1.3 !important;
        text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.8) !important;
    }
}

/* Mobile hero content adjustments */
@media (max-width: 1080px) {
    .hero-content {
        padding: 0.8rem 1rem;
        max-width: 400px;
        width: 90%;
        margin-left: auto;
        margin-right: auto;
    }
}



.hero-cow {
    display: none;
}

.hero-cow-img {
    display: none;
}

/* Mobile cow image display - removed for unified design */

.hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    animation: fadeInUp 1s ease-out 0.2s both;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.hero-subtitle {
    font-size: 1.4rem;
    font-weight: 400;
    margin-bottom: 2rem;
    opacity: 0.9;
    animation: fadeInUp 1s ease-out 0.3s both;
    line-height: 1.5;
}

.hero-subtitle-large {
    font-size: 1.6rem;
}

.hero-tagline {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    opacity: 0.9;
    animation: fadeInUp 1s ease-out 0.4s both;
}

.hero-btn {
    background: var(--accent-color);
    color: var(--white);
    border: none;
    padding: 1.2rem 2.5rem;
    font-size: 1.1rem;
    font-weight: 600;
    border-radius: var(--border-radius);
    cursor: pointer;
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    gap: 0.8rem;
    animation: fadeInUp 1s ease-out 0.6s both;
    text-decoration: none;
    box-shadow: 0 4px 15px rgba(245, 158, 11, 0.3);
    position: relative;
    overflow: hidden;
}

.hero-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s;
}

.hero-btn:hover::before {
    left: 100%;
}

.hero-btn:hover {
    background: #d97706;
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(245, 158, 11, 0.4);
    text-decoration: none;
    color: var(--white);
}

.hero-btn:focus {
    outline: none;
    text-decoration: none;
}

.hero-btn:visited {
    color: var(--white);
    text-decoration: none;
}

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

/* Service Section */
.service {
    padding: var(--section-padding);
    background: var(--light-gray);
}

.service-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.service-text p {
    font-size: 1.1rem;
    color: var(--text-light);
    margin-bottom: 1.5rem;
    line-height: 1.8;
}

/* Services List */
.services-list {
    margin: 2.5rem 0;
    padding: 2rem;
    background: var(--white);
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
}

.services-list h3 {
    font-size: 1.4rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 1.5rem;
    text-align: center;
}

.services-list ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.services-list li {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1.5rem;
    background: var(--light-gray);
    border-radius: var(--border-radius);
    transition: var(--transition);
    border-left: 4px solid var(--primary-color);
}

.services-list li:hover {
    transform: translateX(5px);
    box-shadow: var(--shadow);
}

.services-list li i {
    font-size: 1.5rem;
    color: var(--primary-color);
    margin-top: 0.2rem;
    flex-shrink: 0;
}

.services-list li div {
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
}

.services-list li strong {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-dark);
}

.services-list li span {
    font-size: 0.95rem;
    color: var(--text-light);
    line-height: 1.5;
}

/* Benefits Section */
.benefits {
    padding: var(--section-padding);
    background: var(--white);
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.benefit-card {
    height: 300px;
    perspective: 1000px;
    cursor: pointer;
}

.card-inner {
    position: relative;
    width: 100%;
    height: 100%;
    text-align: center;
    transition: transform 0.6s;
    transform-style: preserve-3d;
}

.benefit-card:hover .card-inner {
    transform: rotateY(180deg);
}

.card-front,
.card-back {
    position: absolute;
    width: 100%;
    height: 100%;
    backface-visibility: hidden;
    background: var(--white);
    border-radius: var(--border-radius);
    padding: 2rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    box-shadow: var(--shadow);
    border: 1px solid var(--border-color);
}

.card-back {
    transform: rotateY(180deg);
    background: var(--primary-color);
    color: var(--white);
}

.card-front i {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.card-front h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.card-front p {
    color: var(--text-light);
    font-size: 1rem;
}

.card-back h3 {
    font-size: 1.3rem;
    margin-bottom: 1.5rem;
    font-weight: 600;
}

.card-back ul {
    list-style: none;
    text-align: left;
}

.card-back li {
    padding: 0.3rem 0;
    position: relative;
    padding-left: 1.5rem;
}

.card-back li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--accent-color);
    font-weight: bold;
}

/* Services Showcase Section */
.services-showcase {
    padding: 60px 0;
    background: var(--white);
}

@media (max-width: 768px) {
    .services-showcase {
        padding: 30px 0 60px 0;
    }
}

.services-image {
    display: flex;
    justify-content: center;
    margin-top: 1.5rem;
}

.services-image img {
    max-width: 85%;
    height: auto;
    display: block;
}

.homeoffice-image {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 4rem;
    width: 100%;
    text-align: center;
    padding: 0;
    margin-left: auto;
    margin-right: auto;
}

.homeoffice-image img {
    max-width: 100%;
    height: auto;
    display: block;
    margin: 0 auto;
    text-align: center;
    padding: 0;
}

.homeoffice2-image {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 2rem;
    width: 100%;
    text-align: center;
    padding: 0;
    margin-left: auto;
    margin-right: auto;
}

.homeoffice2-image img {
    max-width: 100%;
    height: auto;
    display: block;
    margin: 0 auto;
    text-align: center;
    padding: 0;
}

/* Testimonials Section */
.testimonials {
    padding: var(--section-padding);
    background: var(--light-gray);
}

.testimonial-carousel {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
}

.testimonial-wrapper {
    overflow: hidden;
    border-radius: var(--border-radius);
    background: var(--white);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    margin: 1rem 0;
    border: 1px solid rgba(37, 99, 235, 0.1);
}

.testimonial-slide {
    display: none;
    background: transparent;
    padding: 3rem;
    border-radius: var(--border-radius);
    text-align: center;
}

.testimonial-slide.active {
    display: block;
    animation: fadeIn 0.5s ease-in-out;
}

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

.testimonial-text {
    margin-bottom: 2rem;
}

.testimonial-text p {
    font-size: 1.2rem;
    color: var(--text-light);
    font-style: italic;
    line-height: 1.8;
}

.testimonial-author {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 2rem;
    margin-top: 2rem;
}

.author-image {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    object-fit: cover;
    background: #ffffff;
    padding: 12px;
    aspect-ratio: 1 / 1;
    display: block;
}

.author-info h4 {
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 0.2rem;
}

.author-info p {
    color: var(--text-light);
    font-size: 0.9rem;
}

.carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.9);
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    color: var(--primary-color);
    transition: var(--transition);
    box-shadow: var(--shadow);
}

.carousel-btn:hover {
    background: var(--white);
    transform: translateY(-50%) scale(1.1);
}

.prev-btn {
    left: -25px;
}

.next-btn {
    right: -25px;
}

.carousel-indicators {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 2rem;
}

.indicator {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--border-color);
    cursor: pointer;
    transition: var(--transition);
}

.indicator.active {
    background: var(--primary-color);
}

/* Updates Section */
.updates {
    padding: var(--section-padding);
    background: var(--white);
}

.updates-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.update-card {
    background: var(--white);
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
    opacity: 0;
    transform: translateY(20px);
}

.update-card.visible {
    opacity: 1;
    transform: translateY(0);
}

.update-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.card-image {
    height: 200px;
    overflow: hidden;
}

.card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.update-card:hover .card-image img {
    transform: scale(1.05);
}

.card-content {
    padding: 1.5rem;
}

.card-content h3 {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.card-content p {
    color: var(--text-light);
    line-height: 1.6;
    margin-bottom: 1rem;
}

.update-date {
    font-size: 0.9rem;
    color: var(--primary-color);
    font-weight: 500;
}

.load-more-btn {
    display: block;
    margin: 0 auto;
    background: var(--primary-color);
    color: var(--white);
    border: none;
    padding: 1rem 2rem;
    font-size: 1rem;
    font-weight: 600;
    border-radius: var(--border-radius);
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.load-more-btn:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
}

.load-more-btn.hidden {
    display: none;
}

/* Contact Hero */
.contact-hero {
    padding: 120px 0 80px;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    color: var(--white);
    text-align: center;
}

.contact-hero-content h1 {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.contact-hero-content p {
    font-size: 1.2rem;
    opacity: 0.9;
}

/* Contact Section */
.contact {
    padding: var(--section-padding);
    background: var(--white);
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: start;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.5rem;
    background: var(--white);
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
}

.contact-item i {
    font-size: 1.5rem;
    color: var(--primary-color);
    width: 30px;
    text-align: center;
}

.contact-item h3 {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 0.3rem;
    color: var(--text-dark);
}

.contact-item p {
    color: var(--text-light);
    line-height: 1.4;
}

.contact-info h2 {
    font-size: 2rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.contact-info > p {
    color: var(--text-light);
    margin-bottom: 2rem;
    line-height: 1.6;
}

.business-hours {
    margin-top: 3rem;
    padding: 2rem;
    background: var(--light-gray);
    border-radius: var(--border-radius);
}

.business-hours h3 {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    color: var(--text-dark);
}

.hours-list {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}

.hours-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.5rem 0;
    border-bottom: 1px solid var(--border-color);
}

.hours-item:last-child {
    border-bottom: none;
}

.hours-item span:first-child {
    font-weight: 500;
    color: var(--text-dark);
}

.hours-item span:last-child {
    color: var(--text-light);
}

.contact-form {
    background: var(--white);
    padding: 2rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
}

.contact-form h2 {
    font-size: 1.8rem;
    font-weight: 600;
    margin-bottom: 2rem;
    color: var(--text-dark);
    text-align: center;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 1rem;
    border: 2px solid var(--border-color);
    border-radius: var(--border-radius);
    font-family: inherit;
    font-size: 1rem;
    transition: var(--transition);
    resize: vertical;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

.error-message {
    display: block;
    color: #ef4444;
    font-size: 0.9rem;
    margin-top: 0.5rem;
    min-height: 1.2rem;
}

.submit-btn {
    background: var(--primary-color);
    color: var(--white);
    border: none;
    padding: 1rem 2rem;
    font-size: 1rem;
    font-weight: 600;
    border-radius: var(--border-radius);
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    gap: 0.5rem;
    width: 100%;
    justify-content: center;
}

.submit-btn:hover {
    background: #16a34a;
    transform: translateY(-2px);
}

.submit-btn:disabled {
    background: var(--secondary-color);
    cursor: not-allowed;
    transform: none;
}

.success-message {
    display: none;
    background: #10b981;
    color: var(--white);
    padding: 1rem;
    border-radius: var(--border-radius);
    text-align: center;
    margin-top: 1rem;
    align-items: center;
    gap: 0.5rem;
}

.success-message.show {
    display: flex;
}

/* Map Section */
.map-section {
    padding: var(--section-padding);
    background: var(--light-gray);
}

.map-container {
    max-width: 800px;
    margin: 0 auto;
}

.map-placeholder {
    background: var(--white);
    border: 2px dashed var(--border-color);
    border-radius: var(--border-radius);
    padding: 4rem 2rem;
    text-align: center;
    color: var(--text-light);
}

.map-placeholder i {
    font-size: 4rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.map-placeholder p {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--text-dark);
}

.map-placeholder span {
    font-size: 1rem;
    color: var(--text-light);
}

/* About Section */
.about {
    padding: var(--section-padding);
    background: var(--white);
}

.about-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.about-text p {
    font-size: 1.1rem;
    color: var(--text-light);
    margin-bottom: 1.5rem;
    line-height: 1.8;
}

/* Footer */
.footer {
    background: var(--text-dark);
    color: var(--white);
    padding: 3rem 0 2rem;
}

.footer-content {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 3rem;
    align-items: center;
    padding: 1rem 0;
}

/* Footer Left - Contact Info */
.footer-left {
    text-align: left;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.footer-contact-left {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.contact-item-left {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: var(--white);
    font-size: 1.1rem;
    margin-bottom: 0.8rem;
    white-space: nowrap;
}

.contact-item-left i {
    font-size: 1.2rem;
    color: var(--accent-color);
    width: 24px;
    text-align: center;
    flex-shrink: 0;
}

.contact-item-left a {
    color: var(--white);
    text-decoration: none;
    transition: var(--transition);
}

.contact-item-left a:hover {
    color: var(--accent-color);
}

/* Address link styling */
.address-link {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    text-decoration: none;
    transition: var(--transition);
    position: relative;
}

.address-link:hover {
    color: var(--accent-color) !important;
    text-decoration: underline;
}

.map-icon {
    font-size: 0.8rem;
    opacity: 0.7;
    transition: var(--transition);
}

.address-link:hover .map-icon {
    opacity: 1;
    transform: scale(1.1);
}

/* Footer Center - Logo */
.footer-center {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.footer-logo {
    height: 160px;
    width: auto;
    margin-bottom: 1rem;
    display: block;
}

.footer-tagline {
    color: #94a3b8;
    font-size: 0.9rem;
    margin: 0 0 1rem 0;
    line-height: 1.4;
}

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

.footer-bottom p {
    color: #94a3b8;
    font-size: 0.85rem;
    margin: 0;
    text-align: center;
    line-height: 1.4;
}

/* Footer Right - Social Media */
.footer-right {
    text-align: right;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.social-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    justify-content: flex-end;
}

.social-media h4 {
    color: var(--white);
    font-size: 1rem;
    margin: 0;
    font-weight: 600;
}

.social-links {
    display: flex;
    gap: 1rem;
    align-items: center;
}

.social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    color: var(--white);
    text-decoration: none;
    border-radius: 50%;
    transition: var(--transition);
    font-size: 1.1rem;
}

.social-link:hover {
    background: var(--accent-color);
    color: var(--white);
    transform: translateY(-2px);
}



.footer-section {
    display: flex;
    flex-direction: column;
}

.footer-section h3 {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--white);
    border-bottom: 2px solid var(--primary-color);
    padding-bottom: 0.3rem;
    display: inline-block;
    width: fit-content;
}

/* Footer Brand Section */
.footer-brand {
    padding-right: 2rem;
}

.footer-brand .footer-logo {
    height: 85px;
    width: auto;
    margin-bottom: 1rem;
    display: block;
    max-width: 250px;
}

/* Newsletter Section */
.newsletter-section h3 {
    margin-bottom: 1rem;
}

.newsletter-section p {
    color: #94a3b8;
    margin-bottom: 1rem;
    line-height: 1.5;
}

.newsletter-form {
    display: flex;
    margin-bottom: 1.5rem;
    background: rgba(255, 255, 255, 0.1);
    border-radius: var(--border-radius);
    padding: 0.3rem;
}

.newsletter-form input {
    flex: 1;
    background: transparent;
    border: none;
    padding: 0.8rem 1rem;
    color: var(--white);
    font-size: 0.9rem;
}

.newsletter-form input::placeholder {
    color: #94a3b8;
}

.newsletter-form input:focus {
    outline: none;
}

.newsletter-form button {
    background: var(--primary-color);
    border: none;
    padding: 0.8rem 1rem;
    border-radius: var(--border-radius);
    color: var(--white);
    cursor: pointer;
    transition: var(--transition);
}

.newsletter-form button:hover {
    background: var(--primary-dark);
    transform: scale(1.05);
}

.newsletter-checkbox {
    display: flex;
    align-items: flex-start;
    gap: 0.8rem;
    color: #94a3b8;
    font-size: 0.9rem;
    line-height: 1.4;
    cursor: pointer;
}

.newsletter-checkbox input[type="checkbox"] {
    display: none;
}

.checkmark {
    width: 18px;
    height: 18px;
    background: rgba(255, 255, 255, 0.1);
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 3px;
    position: relative;
    flex-shrink: 0;
    transition: var(--transition);
}

.newsletter-checkbox input[type="checkbox"]:checked + .checkmark {
    background: var(--primary-color);
    border-color: var(--primary-color);
}

.newsletter-checkbox input[type="checkbox"]:checked + .checkmark::after {
    content: '✓';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: var(--white);
    font-size: 12px;
    font-weight: bold;
}

/* Footer Contact Section */
.footer-contact {
    padding-left: 2rem;
    border-left: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-contact-items {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.footer-contact-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 0.75rem;
    background: rgba(255, 255, 255, 0.03);
    border-radius: var(--border-radius);
    transition: var(--transition);
}

.footer-contact-item:hover {
    background: rgba(255, 255, 255, 0.06);
    transform: translateX(5px);
}

.footer-contact-item i {
    font-size: 1.3rem;
    color: var(--accent-color);
    margin-top: 0.3rem;
    width: 24px;
    text-align: center;
    flex-shrink: 0;
}

.footer-contact-item div {
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
}

.contact-label {
    font-size: 0.85rem;
    color: #94a3b8;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-weight: 500;
}

.footer-contact-item a {
    color: var(--white);
    text-decoration: none;
    transition: var(--transition);
    font-weight: 500;
    font-size: 1rem;
}

.footer-contact-item a:hover {
    color: var(--accent-color);
}

.footer-contact-item span {
    color: var(--white);
    font-weight: 500;
    font-size: 1rem;
    line-height: 1.4;
}



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

.footer-bottom-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-bottom-content p {
    color: #94a3b8;
    font-size: 0.9rem;
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 45px;
    height: 45px;
    background: rgba(255, 255, 255, 0.1);
    color: var(--white);
    text-decoration: none;
    border-radius: 50%;
    transition: var(--transition);
    font-size: 1.1rem;
}

.social-link:hover {
    background: var(--primary-color);
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(37, 99, 235, 0.4);
}

/* Fade-in Animation */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease-out;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Responsive Design */

/* Larger tablets */


/* Tablets and smaller */
@media (max-width: 1080px) {
    .nav {
        min-height: 80px;
        padding: 1rem 1.5rem;
    }
    
    .nav-logo .logo {
        height: 80px !important;
    }
    
    .nav-menu {
        position: fixed !important;
        left: 0 !important;
        top: 0 !important;
        flex-direction: column !important;
        background: white !important;
        background-color: white !important;
        width: 280px !important;
        text-align: left !important;
        transition: 0.3s ease !important;
        box-shadow: none !important;
        padding: 80px 0 1rem 0 !important;
        gap: 0 !important;
        z-index: 999 !important;
        height: 100vh !important;
        min-height: 100vh !important;
        max-height: 100vh !important;
        overflow: hidden !important;
        display: flex !important;
        list-style: none !important;
        margin: 0 !important;
        visibility: visible !important;
        opacity: 1 !important;
        transform: translateX(-100%) !important;
        right: auto !important;
        white-space: normal !important;
        flex-wrap: wrap !important;
        bottom: 0 !important;
        border: none !important;
        outline: none !important;
    }

    .nav-menu.active {
        transform: translateX(0) !important;
        opacity: 1 !important;
        visibility: visible !important;
        position: fixed !important;
        right: auto !important;
        white-space: normal !important;
        flex-wrap: wrap !important;
    }

    /* Mobile menu backdrop overlay */
    .nav-menu::before {
        content: '';
        position: fixed !important;
        top: 0 !important;
        left: 0 !important;
        width: 100vw !important;
        height: 100vh !important;
        min-height: 100vh !important;
        max-height: 100vh !important;
        background: rgba(0, 0, 0, 0.5) !important;
        opacity: 0;
        visibility: hidden;
        transition: 0.3s ease;
        z-index: -1;
        pointer-events: none;
        bottom: 0 !important;
    }

    .nav-menu.active::before {
        opacity: 1;
        visibility: visible;
    }

    /* Mobile menu backdrop for closing */
    .mobile-menu-backdrop {
        position: fixed !important;
        top: 0 !important;
        left: 0 !important;
        width: 100vw !important;
        height: 100vh !important;
        min-height: 100vh !important;
        max-height: 100vh !important;
        background: rgba(0, 0, 0, 0.5) !important;
        opacity: 0;
        visibility: hidden;
        transition: 0.3s ease;
        z-index: 999;
        pointer-events: none;
        bottom: 0 !important;
    }

    .mobile-menu-backdrop.active {
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
    }
    
    /* Hide logo when mobile menu is active */
    .nav-menu.active ~ .nav-logo,
    .nav-menu.active ~ .nav .nav-logo,
    .nav-menu.active + .nav-logo,
    .nav-menu.active + .nav .nav-logo,
    .nav-menu.active ~ * .nav-logo {
        opacity: 0 !important;
        visibility: hidden !important;
    }
    
    /* Alternative approach - hide logo when menu is active */
    .nav-menu.active ~ .nav-logo .logo,
    .nav-menu.active + .nav-logo .logo,
    .nav-menu.active ~ * .nav-logo .logo {
        opacity: 0 !important;
        visibility: hidden !important;
    }
    
    /* Hide logo when mobile menu is open using body class */
    body.mobile-menu-open .nav-logo .logo {
        opacity: 0 !important;
        visibility: hidden !important;
    }

    .nav-icons {
        display: flex !important;
        align-items: center;
        gap: 1rem;
    }

    .nav-icon {
        color: white;
        font-size: 1.1rem;
        background: rgba(255, 255, 255, 0.1);
    }

    .nav-toggle {
        display: flex !important;
        padding: 8px 12px;
        z-index: 1002;
        cursor: pointer;
        position: fixed;
        top: 1rem;
        right: 1rem;
        background: #2d3748;
        border-radius: 8px;
        box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
        transform: none;
    }
    
    /* Ensure mobile menu panel is white */
    .nav-menu,
    .nav-menu.active {
        background: #ffffff !important;
        background-color: #ffffff !important;
        backdrop-filter: none !important;
        box-shadow: none !important;
        border: none !important;
        outline: none !important;
    }
    
    /* Force white background on all mobile menu elements */
    .nav-menu *,
    .nav-menu.active * {
        background: transparent !important;
        background-color: transparent !important;
        border: none !important;
        outline: none !important;
        box-shadow: none !important;
    }
    
    /* Aggressive override for mobile navigation links */
    .nav-menu .nav-link,
    .nav-menu.active .nav-link {
        color: #333333 !important;
        background: transparent !important;
        background-color: transparent !important;
        border: none !important;
        border-bottom: none !important;
        outline: none !important;
        box-shadow: none !important;
        text-shadow: none !important;
        font-weight: normal !important;
        text-transform: none !important;
        letter-spacing: normal !important;
    }
    
    /* Remove any hover effects */
    .nav-menu .nav-link:hover,
    .nav-menu.active .nav-link:hover {
        color: #333333 !important;
        background: transparent !important;
        background-color: transparent !important;
        border: none !important;
        transform: none !important;
    }
    
    .bar {
        width: 28px;
        height: 4px;
    }
    
    .nav-link {
        color: #333333;
        font-size: 1rem;
        font-weight: normal;
        padding: 1rem 1.5rem;
        min-height: 40px;
        display: flex;
        align-items: center;
        justify-content: flex-start;
        text-align: left;
        border-bottom: none;
        border: none;
        outline: none;
        transition: none;
        width: 100%;
        text-transform: none;
        letter-spacing: normal;
        text-shadow: none;
        background: transparent;
        box-shadow: none;
        text-decoration: none !important;
    }

    .nav-link:hover {
        background: transparent;
        color: #333333;
        transform: none;
        text-decoration: none !important;
        border: none !important;
        outline: none !important;
    }

    .nav-item {
        width: 100%;
        text-align: left;
        display: block;
        margin: 0;
        padding: 0;
        margin-bottom: 0.2rem;
        border: none;
        outline: none;
        background: transparent;
    }

    .dropdown-menu {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        box-shadow: none;
        background: var(--light-gray);
        margin-top: 0.5rem;
        border-radius: var(--border-radius);
    }

    .dropdown-menu a {
        padding: 0.5rem 1rem;
        font-size: 0.9rem;
    }

    .nav-toggle.active .bar:nth-child(2) {
        opacity: 0;
    }

    .nav-toggle.active .bar:nth-child(1) {
        transform: translateY(7px) rotate(45deg);
    }

    .nav-toggle.active .bar:nth-child(3) {
        transform: translateY(-7px) rotate(-45deg);
    }

    .hero-title {
        font-size: 2.5rem;
        white-space: normal;
        line-height: 1.2;
    }
    
    .hero-subtitle {
        font-size: 1.2rem;
        padding: 0 1rem;
        line-height: 1.4;
    }
    
    .hero-subtitle-large {
        font-size: 1.3rem;
    }

    .hero-tagline {
        font-size: 1.1rem;
    }

    /* Responsive cow image for tablets */
    .hero-background::before {
        background-size: contain;
        background-position: center;
        background-repeat: no-repeat;
    }

    .section-title {
        font-size: 2rem;
    }

    .benefits-grid {
        grid-template-columns: 1fr;
    }

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

    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: left;
        align-items: stretch;
    }
    
    .footer-logo {
        height: 110px;
    }
    
    .footer-left,
    .footer-right {
        text-align: left;
        justify-content: flex-start;
    }
    
    .contact-item-left {
        font-size: 1rem;
        justify-content: flex-start;
        margin-bottom: 1rem;
        white-space: normal;
        text-align: left;
    }
    
    .contact-item-left span,
    .contact-item-left a {
        text-align: left;
    }
    
    /* Mobile address link styling */
    .address-link {
        display: flex !important;
        align-items: flex-start;
        gap: 0.5rem;
        flex-wrap: wrap;
        white-space: normal;
        word-wrap: break-word;
        overflow-wrap: break-word;
    }
    
    .address-link span {
        display: inline;
    }
    
    .map-icon {
        display: inline-block !important;
        font-size: 0.8rem;
        opacity: 0.7;
        margin-left: 0.25rem;
        flex-shrink: 0;
        vertical-align: middle;
    }
    
    .ireland-with-icon {
        display: inline;
        white-space: nowrap;
    }
    
    .map-icon {
        display: inline-block !important;
        font-size: 0.8rem;
        opacity: 0.7;
        margin-left: 0.25rem;
        flex-shrink: 0;
    }
    
    .social-header {
        justify-content: flex-start;
    }
    
    .social-header {
        justify-content: flex-start;
    }
    
    .social-links {
        justify-content: flex-start;
    }
    
    .services-image img {
        max-width: 95%;
    }
    
    .homeoffice-image img {
        max-width: 95%;
    }
    
    .homeoffice2-image img {
        max-width: 95%;
    }

    .carousel-btn {
        display: flex;
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }
    
    .prev-btn {
        left: 10px;
    }
    
    .next-btn {
        right: 10px;
    }

    .updates-grid {
        grid-template-columns: 1fr;
    }

    .testimonial-slide {
        padding: 2rem 1rem;
    }

    .testimonial-author {
        flex-direction: column;
        text-align: center;
    }
    
    .footer-main {
        grid-template-columns: 1fr;
        gap: 3rem;
        text-align: left;
    }
    
    .footer-center {
        text-align: left;
        align-items: flex-start;
    }
    
    .footer-brand {
        padding-right: 0;
    }
    
    .footer-contact {
        padding-left: 0;
        border-left: none;
        border-top: 1px solid rgba(255, 255, 255, 0.1);
        padding-top: 2rem;
    }
    
    .footer-contact-item {
        text-align: left;
    }
    
    .footer-bottom-content {
        flex-direction: column;
        gap: 1.5rem;
        text-align: center;
    }

}





/* Smooth scrolling for older browsers */
@media (prefers-reduced-motion: no-preference) {
    html {
        scroll-behavior: smooth;
    }
}

/* Inline Image Zoom Styles */
.image-zoom-overlay {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(3px);
}

.zoom-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 95vw;
    height: 95vh;
    animation: zoomIn 0.3s ease-out;
}

@keyframes zoomIn {
    from {
        opacity: 0;
        transform: translate(-50%, -50%) scale(0.3);
    }
    to {
        opacity: 1;
        transform: translate(-50%, -50%) scale(1);
    }
}

.zoom-image {
    width: 100%;
    height: 100%;
    object-fit: contain;
    border-radius: 12px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
}

.close-zoom {
    position: absolute;
    top: 20px;
    right: 30px;
    color: white;
    font-size: 40px;
    font-weight: bold;
    cursor: pointer;
    z-index: 2001;
    transition: all 0.3s ease;
    background: rgba(0, 0, 0, 0.5);
    border-radius: 50%;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(10px);
}

.close-zoom:hover {
    background: rgba(0, 0, 0, 0.7);
    transform: scale(1.1);
}

/* Clickable image styles for mobile */
@media (max-width: 1080px) {
    .clickable-image {
        cursor: pointer;
        transition: transform 0.2s ease, box-shadow 0.2s ease;
    }
    
    /* Remove hover effects for services section images */
    .services-image .clickable-image:hover,
    .homeoffice-image .clickable-image:hover,
    .homeoffice2-image .clickable-image:hover {
        transform: none;
        box-shadow: none;
    }
    
    .clickable-image:active {
        transform: scale(0.98);
    }
}

/* Desktop - no click functionality */
@media (min-width: 1081px) {
    .clickable-image {
        cursor: default;
    }
}


/* Add these styles to your existing CSS */

/* Smooth transitions for all layout changes */
.container,
.nav,
.nav-menu,
.hero-content,
.hero-title,
.hero-subtitle,
.services-image img,
.homeoffice-image img,
.homeoffice2-image img,
.testimonial-slide,
.footer-content {
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Improved responsive behavior with fluid transitions */




@media (max-width: 1080px) {
    .hero-title {
        font-size: clamp(1rem, 4.5vw, 1.8rem);
        transition: font-size 0.4s ease;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }
    
    .hero-subtitle {
        font-size: clamp(0.7rem, 3.5vw, 1.2rem);
        font-weight: 500;
        transition: font-size 0.4s ease;
    }
    
    .services-image img,
    .homeoffice-image img,
    .homeoffice2-image img {
        max-width: 95%;
        transition: max-width 0.4s ease;
    }
    
    /* Improved mobile navigation transitions */
    .nav-menu {
        transition: right 0.3s ease-in-out;
    }
    
    .nav-menu.active {
        right: 0;
        transition: right 0.3s ease-in-out;
    }
}



/* Enhanced hero section for mobile */
@media (max-width: 1080px) {
    .hero {
        height: auto;
        min-height: 100vh;
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        padding-top: 80px;
        padding-bottom: 20px;
    }
    
    .hero-background::before {
        background-attachment: scroll;
        background-size: cover;
        background-position: center 30%;
    }
    
    .hero-content {
        position: static !important;
        top: auto !important;
        left: auto !important;
        transform: none !important;
        margin: 2rem auto;
        color: white !important;
        padding: 1rem 1.5rem;
        z-index: 2;
        background: #15803d !important;
        order: 2;
        text-align: center;
        width: 90%;
        max-width: 400px;
        margin-left: auto;
        margin-right: auto;
        border-radius: 12px;
        box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
        backdrop-filter: none;
    }
}

/* Mobile-only line break for hero subtitle */
    .mobile-break {
        display: none;
    }
    
    .subtitle-break {
        display: none;
    }
    
    @media (max-width: 1080px) {
        .mobile-break {
            display: block;
        }
        
        .subtitle-break {
            display: block;
        }
    }

/* Smooth image scaling */
img {
    transition: transform 0.3s ease;
}

img:hover {
    transform: scale(1.02);
}

/* Remove hover effects for services section images */
.services-image img:hover,
.homeoffice-image img:hover,
.homeoffice2-image img:hover {
    transform: none;
}

/* Improved testimonial carousel transitions */
.testimonial-slide {
    transition: opacity 0.5s ease, transform 0.5s ease;
}

.testimonial-slide.active {
    opacity: 1;
    transform: translateX(0);
}

.testimonial-slide:not(.active) {
    opacity: 0;
    transform: translateX(100%);
}

/* Enhanced navigation transitions */
.nav-link {
    transition: color 0.3s ease, transform 0.2s ease;
}

.nav-link:hover {
    transform: translateY(-2px);
}

/* Contact Us button styling for desktop */
@media (min-width: 1080px) {
    .nav-link[href="#footer"] {
        background: #15803d !important;
        color: white !important;
        padding: 0.75rem 1.5rem !important;
        border-radius: 8px !important;
        margin-left: 2rem !important;
        box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1) !important;
        transition: all 0.3s ease !important;
    }
    
    .nav-link[href="#footer"]:hover {
        background: #16a34a !important;
        color: white !important;
        transform: translateY(-2px) !important;
        box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15) !important;
    }
    
    /* Override any scroll-based color changes */
    .header.scrolled .nav-link[href="#footer"] {
        color: white !important;
    }
    
    /* Two-line navigation styling */
    .nav-link br {
        display: block;
        content: "";
        margin-top: 0.2rem;
    }
}

/* Footer transitions */
.footer-section {
    transition: all 0.4s ease;
}

/* Card hover effects */
.card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

/* Force desktop logo sizing - highest priority */
@media (min-width: 1081px) {
    .nav-logo .logo,
    header .nav .nav-logo .logo,
    .header .nav .nav-logo .logo,
    body .header .nav .nav-logo .logo,
    html body .header .nav .nav-logo .logo {
        height: clamp(50px, 6vw, 80px) !important;
        max-height: 80px !important;
        width: auto !important;
        transition: all 0.3s ease;
    }
    

}

/* Smaller logo for narrower desktop screens */
@media (min-width: 1081px) and (max-width: 1290px) {
    .nav-logo .logo,
    header .nav .nav-logo .logo,
    .header .nav .nav-logo .logo,
    body .header .nav .nav-logo .logo,
    html body .header .nav .nav-logo .logo {
        height: clamp(60px, 6vw, 80px) !important;
        max-height: 80px !important;
        width: auto !important;
        transition: all 0.3s ease;
    }
    
    .nav-menu {
        margin-left: auto !important;
        margin-right: 0 !important;
        gap: 0.8rem !important;
        padding-right: 0 !important;
        transform: translateX(0) !important;
        white-space: nowrap !important;
        flex-wrap: nowrap !important;
        position: relative !important;
        right: 0 !important;
    }
    
    .nav-icons {
        margin-left: 0 !important;
        padding-right: 0 !important;
        transform: translateX(0) !important;
    }
}

/* Desktop: Hide mobile menu close button */
@media (min-width: 1081px) {
    .mobile-menu-close,
    .nav-menu .mobile-menu-close,
    .header .nav .nav-menu .mobile-menu-close,
    body .header .nav .nav-menu .mobile-menu-close,
    html body .header .nav .nav-menu .mobile-menu-close {
        display: none !important;
        visibility: hidden !important;
        opacity: 0 !important;
        pointer-events: none !important;
        position: absolute !important;
        left: -9999px !important;
        top: -9999px !important;
    }
}

/* ULTIMATE MOBILE MENU OVERRIDE - MAXIMUM SPECIFICITY */
@media (max-width: 1080px) {
    /* Force pure white background */
    .nav-menu,
    .nav-menu.active,
    .header .nav .nav-menu,
    .header .nav .nav-menu.active,
    body .header .nav .nav-menu,
    body .header .nav .nav-menu.active,
    html body .header .nav .nav-menu,
    html body .header .nav .nav-menu.active {
        background: #ffffff !important;
        background-color: #ffffff !important;
        border: none !important;
        outline: none !important;
        box-shadow: none !important;
        backdrop-filter: none !important;
    }
    
    /* Remove ALL borders and lines from navigation links */
    .nav-menu .nav-link,
    .nav-menu.active .nav-link,
    .header .nav .nav-menu .nav-link,
    .header .nav .nav-menu.active .nav-link,
    body .header .nav .nav-menu .nav-link,
    body .header .nav .nav-menu.active .nav-link,
    html body .header .nav .nav-menu .nav-link,
    html body .header .nav .nav-menu.active .nav-link {
        color: #333333 !important;
        background: transparent !important;
        background-color: transparent !important;
        border: none !important;
        border-bottom: none !important;
        border-top: none !important;
        border-left: none !important;
        border-right: none !important;
        outline: none !important;
        box-shadow: none !important;
        text-shadow: none !important;
        font-weight: normal !important;
        text-transform: none !important;
        letter-spacing: normal !important;
    }
    
    /* Remove hover effects */
    .nav-menu .nav-link:hover,
    .nav-menu.active .nav-link:hover,
    .header .nav .nav-menu .nav-link:hover,
    .header .nav .nav-menu.active .nav-link:hover {
        color: #333333 !important;
        background: transparent !important;
        background-color: transparent !important;
        border: none !important;
        transform: none !important;
    }
    
    /* Remove active state effects */
    .nav-menu .nav-link.active,
    .nav-menu.active .nav-link.active,
    .header .nav .nav-menu .nav-link.active,
    .header .nav .nav-menu.active .nav-link.active {
        color: #333333 !important;
        background: transparent !important;
        background-color: transparent !important;
        border: none !important;
    }
}

/* NUCLEAR OPTION - ABSOLUTE MAXIMUM SPECIFICITY OVERRIDE */
@media (max-width: 1080px) {
    /* Target the exact HTML structure */
    header .nav .nav-menu,
    header .nav .nav-menu.active,
    body header .nav .nav-menu,
    body header .nav .nav-menu.active,
    html body header .nav .nav-menu,
    html body header .nav .nav-menu.active {
        background: #ffffff !important;
        background-color: #ffffff !important;
        border: none !important;
        outline: none !important;
        box-shadow: none !important;
        backdrop-filter: none !important;
    }
    
    /* Target navigation links with exact structure */
    header .nav .nav-menu .nav-item .nav-link,
    header .nav .nav-menu.active .nav-item .nav-link,
    body header .nav .nav-menu .nav-item .nav-link,
    body header .nav .nav-menu.active .nav-item .nav-link,
    html body header .nav .nav-menu .nav-item .nav-link,
    html body header .nav .nav-menu.active .nav-item .nav-link {
        color: #333333 !important;
        background: transparent !important;
        background-color: transparent !important;
        border: none !important;
        border-bottom: none !important;
        border-top: none !important;
        border-left: none !important;
        border-right: none !important;
        outline: none !important;
        box-shadow: none !important;
        text-shadow: none !important;
        font-weight: normal !important;
        text-transform: none !important;
        letter-spacing: normal !important;
    }
    
    /* Target nav-item containers */
    header .nav .nav-menu .nav-item,
    header .nav .nav-menu.active .nav-item,
    body header .nav .nav-menu .nav-item,
    body header .nav .nav-menu.active .nav-item {
        border: none !important;
        outline: none !important;
        background: transparent !important;
        background-color: transparent !important;
    }
    
    /* Remove ALL hover effects */
    header .nav .nav-menu .nav-item .nav-link:hover,
    header .nav .nav-menu.active .nav-item .nav-link:hover,
    body header .nav .nav-menu .nav-item .nav-link:hover,
    body header .nav .nav-menu.active .nav-item .nav-link:hover {
        color: #333333 !important;
        background: transparent !important;
        background-color: transparent !important;
        border: none !important;
        transform: none !important;
    }
    
    /* Remove ALL active state effects */
    header .nav .nav-menu .nav-item .nav-link.active,
    header .nav .nav-menu.active .nav-item .nav-link.active,
    body header .nav .nav-menu .nav-item .nav-link.active,
    body header .nav .nav-menu.active .nav-item .nav-link.active {
        color: #333333 !important;
        background: transparent !important;
        background-color: transparent !important;
        border: none !important;
    }
}

/* FINAL NUCLEAR OVERRIDE - TARGET EVERYTHING */
@media (max-width: 1080px) {
    #nav-menu,
    #nav-menu.active,
    #nav-menu *,
    #nav-menu.active * {
        background: transparent !important;
        background-color: transparent !important;
        border: none !important;
        outline: none !important;
        box-shadow: none !important;
    }
    
    #nav-menu,
    #nav-menu.active {
        background: white !important;
        background-color: white !important;
        background-image: none !important;
        backdrop-filter: none !important;
        -webkit-backdrop-filter: none !important;
    }
    
    /* EXTREME OVERRIDE - TARGET BY ID */
    #nav-menu {
        background: white !important;
        background-color: white !important;
        background-image: none !important;
        backdrop-filter: none !important;
        -webkit-backdrop-filter: none !important;
    }
    
    #nav-menu .nav-link,
    #nav-menu.active .nav-link {
        color: #333333 !important;
        background: transparent !important;
        background-color: transparent !important;
        border: none !important;
        text-shadow: none !important;
        font-weight: normal !important;
        text-transform: none !important;
        letter-spacing: normal !important;
    }
}

/* FINAL MOBILE MENU STYLES - CLEAN AND WHITE */
@media (max-width: 1080px) {
    .nav-menu,
    .nav-menu.active,
    header .nav .nav-menu,
    header .nav .nav-menu.active,
    body .nav-menu,
    body .nav-menu.active {
        background: white !important;
        background-color: white !important;
        width: 280px !important;
    }
    
    /* AGGRESSIVE OVERRIDE - TARGET EVERYTHING */
    *[id="nav-menu"],
    *[id="nav-menu"].active,
    ul[id="nav-menu"],
    ul[id="nav-menu"].active {
        background: white !important;
        background-color: white !important;
        background-image: none !important;
        backdrop-filter: none !important;
        -webkit-backdrop-filter: none !important;
        filter: none !important;
        -webkit-filter: none !important;
    }
    
    .nav-menu .nav-link {
        color: #333333 !important;
        background: transparent !important;
        border: none !important;
        font-size: 1rem !important;
        font-weight: normal !important;
        padding: 1rem 1.5rem !important;
        text-decoration: none !important;
        outline: none !important;
    }
    
    .nav-menu .nav-link:hover,
    .nav-menu .nav-link:active,
    .nav-menu .nav-link:focus {
        text-decoration: none !important;
        border: none !important;
        outline: none !important;
        background: transparent !important;
    }
    
    /* Remove any blue lines or underlines */
    .nav-menu .nav-link::after,
    .nav-menu .nav-link::before {
        content: none !important;
        display: none !important;
    }
    
    .nav-menu .nav-link.active::after,
    .nav-menu .nav-link.active::before {
        content: none !important;
        display: none !important;
    }
    
    /* ULTIMATE OVERRIDE - FORCE WHITE BACKGROUND */
    #nav-menu,
    #nav-menu.active,
    ul.nav-menu,
    ul.nav-menu.active,
    header nav ul.nav-menu,
    header nav ul.nav-menu.active {
        background: white !important;
        background-color: white !important;
        background-image: none !important;
        backdrop-filter: none !important;
        -webkit-backdrop-filter: none !important;
    }
    
    /* MAXIMUM SPECIFICITY OVERRIDE */
    body header .header .nav .nav-menu,
    body header .header .nav .nav-menu.active,
    html body header .header .nav .nav-menu,
    html body header .header .nav .nav-menu.active {
        background: white !important;
        background-color: white !important;
        background-image: none !important;
        backdrop-filter: none !important;
        -webkit-backdrop-filter: none !important;
        filter: none !important;
        -webkit-filter: none !important;
    }
}

/* ABSOLUTE FINAL OVERRIDE - HIGHEST SPECIFICITY */
html body header .header .nav .nav-menu,
html body header .header .nav .nav-menu.active,
html body header .header .nav ul#nav-menu,
html body header .header .nav ul#nav-menu.active {
    background: white !important;
    background-color: white !important;
    background-image: none !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
    filter: none !important;
    -webkit-filter: none !important;
    opacity: 1 !important;
    visibility: visible !important;
}

/* NUCLEAR OPTION - TARGET BY ATTRIBUTE SELECTOR */
[id="nav-menu"] {
    background: white !important;
    background-color: white !important;
    background-image: none !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
    filter: none !important;
    -webkit-filter: none !important;
}

/* FORCE WHITE WITH CSS VARIABLE */
:root {
    --force-white: white !important;
}

[id="nav-menu"],
.nav-menu {
    background: var(--force-white) !important;
    background-color: var(--force-white) !important;
}

/* TARGET ACTIVE STATE SPECIFICALLY */
#nav-menu.active,
.nav-menu.active,
[id="nav-menu"].active {
    background: white !important;
    background-color: white !important;
    background-image: none !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
    filter: none !important;
    -webkit-filter: none !important;
}

/* TARGET BY EXACT CLASSES FROM CONSOLE LOG */
ul#nav-menu.nav-menu,
ul#nav-menu.nav-menu.active {
    background: white !important;
    background-color: white !important;
    background-image: none !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
    filter: none !important;
    -webkit-filter: none !important;
}

/* ULTIMATE SPECIFICITY - TARGET EXACT STRUCTURE */
body header .header .nav ul#nav-menu.nav-menu,
body header .header .nav ul#nav-menu.nav-menu.active,
html body header .header .nav ul#nav-menu.nav-menu,
html body header .header .nav ul#nav-menu.nav-menu.active {
    background: white !important;
    background-color: white !important;
    background-image: none !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
    filter: none !important;
    -webkit-filter: none !important;
    opacity: 1 !important;
    visibility: visible !important;
}

/* FORCE WHITE WITH INLINE STYLE OVERRIDE */
@media (max-width: 1080px) {
    ul#nav-menu.nav-menu,
    ul#nav-menu.nav-menu.active {
        background: white !important;
        background-color: white !important;
        background-image: none !important;
        backdrop-filter: none !important;
        -webkit-backdrop-filter: none !important;
        filter: none !important;
        -webkit-filter: none !important;
    }
}

/* NUCLEAR OVERRIDE - MATCH MENU BUTTON COLOR */
@media (max-width: 1080px) {
    ul#nav-menu.nav-menu,
    ul#nav-menu.nav-menu.active,
    .nav-menu,
    .nav-menu.active,
    #nav-menu,
    #nav-menu.active,
    [id="nav-menu"],
    [id="nav-menu"].active,
    html body header .header .nav ul#nav-menu.nav-menu,
    html body header .header .nav ul#nav-menu.nav-menu.active {
        background: #2d3748 !important;
        background-color: #2d3748 !important;
        background-image: none !important;
        backdrop-filter: none !important;
        -webkit-backdrop-filter: none !important;
        filter: none !important;
        -webkit-filter: none !important;
        box-shadow: none !important;
        border: none !important;
        outline: none !important;
        opacity: 1 !important;
        visibility: visible !important;
        /* Match menu button color */
        background: #2d3748 !important;
        background-color: #2d3748 !important;
        color: white !important;
    }
    
    /* Make navigation links white and visible */
    .nav-menu .nav-link,
    .nav-menu.active .nav-link,
    #nav-menu .nav-link,
    #nav-menu.active .nav-link {
        color: white !important;
        text-shadow: none !important;
    }
    
    /* Remove yellow hover effect - no color change on hover */
    .nav-menu .nav-link:hover,
    .nav-menu.active .nav-link:hover,
    #nav-menu .nav-link:hover,
    #nav-menu.active .nav-link:hover {
        color: white !important; /* Keep white color on hover */
    }
    
    /* Show green strip indicator for active/current menu items */
    .nav-menu .nav-link.active,
    .nav-menu.active .nav-link.active,
    #nav-menu .nav-link.active,
    #nav-menu.active .nav-link.active,
    .nav-link.active,
    .nav-link[data-mobile-selected="true"] {
        color: #15803d !important; /* Green text color */
        font-weight: 600 !important;
        position: relative !important;
        background: transparent !important; /* No background change */
        border-left: 4px solid #15803d !important; /* Green left border strip */
        padding-left: 12px !important; /* Add left padding for the strip */
    }
}

/* AGGRESSIVE FIX FOR HOME LINK NOT CLICKABLE ON MOBILE */
@media (max-width: 1080px) {
    /* Target all possible selectors for the Home link */
    .nav-menu .nav-link[href="/home"],
    .nav-menu .nav-link[href="home.html"],
    .nav-menu.active .nav-link[href="/home"],
    .nav-menu.active .nav-link[href="home.html"],
    #nav-menu .nav-link[href="/home"],
    #nav-menu .nav-link[href="home.html"],
    #nav-menu.active .nav-link[href="/home"],
    #nav-menu.active .nav-link[href="home.html"],
    .header .nav .nav-menu .nav-link[href="/home"],
    .header .nav .nav-menu .nav-link[href="home.html"],
    .header .nav .nav-menu.active .nav-link[href="/home"],
    .header .nav .nav-menu.active .nav-link[href="home.html"],
    body .header .nav .nav-menu .nav-link[href="/home"],
    body .header .nav .nav-menu .nav-link[href="home.html"],
    body .header .nav .nav-menu.active .nav-link[href="/home"],
    body .header .nav .nav-menu.active .nav-link[href="home.html"],
    html body .header .nav .nav-menu .nav-link[href="/home"],
    html body .header .nav .nav-menu .nav-link[href="home.html"],
    html body .header .nav .nav-menu.active .nav-link[href="/home"],
    html body .header .nav .nav-menu.active .nav-link[href="home.html"] {
        pointer-events: auto !important;
        cursor: pointer !important;
        z-index: 99999 !important;
        position: relative !important;
        display: block !important;
        visibility: visible !important;
        opacity: 1 !important;
        color: #ffffff !important;
        background: transparent !important;
        text-decoration: none !important;
        border: none !important;
        outline: none !important;
        width: 100% !important;
        height: auto !important;
        min-height: 40px !important;
        padding: 1rem 1.5rem !important;
        margin: 0 !important;
        font-size: 1rem !important;
        font-weight: normal !important;
        line-height: normal !important;
        text-align: left !important;
        vertical-align: top !important;
        overflow: visible !important;
        clip: auto !important;
        clip-path: none !important;
        transform: none !important;
        filter: none !important;
        backdrop-filter: none !important;
        -webkit-backdrop-filter: none !important;
        user-select: auto !important;
        -webkit-user-select: auto !important;
        -moz-user-select: auto !important;
        -ms-user-select: auto !important;
        touch-action: manipulation !important;
    }
    
    /* Hover state */
    .nav-menu .nav-link[href="/home"]:hover,
    .nav-menu .nav-link[href="home.html"]:hover,
    .nav-menu.active .nav-link[href="/home"]:hover,
    .nav-menu.active .nav-link[href="home.html"]:hover,
    #nav-menu .nav-link[href="/home"]:hover,
    #nav-menu .nav-link[href="home.html"]:hover,
    #nav-menu.active .nav-link[href="/home"]:hover,
    #nav-menu.active .nav-link[href="home.html"]:hover {
        pointer-events: auto !important;
        cursor: pointer !important;
        color: #ffffff !important;
        background: rgba(255, 255, 255, 0.1) !important;
        text-decoration: none !important;
        border: none !important;
        outline: none !important;
    }
    
    /* Active state */
    .nav-menu .nav-link[href="/home"]:active,
    .nav-menu .nav-link[href="home.html"]:active,
    .nav-menu.active .nav-link[href="/home"]:active,
    .nav-menu.active .nav-link[href="home.html"]:active,
    #nav-menu .nav-link[href="/home"]:active,
    #nav-menu .nav-link[href="home.html"]:active,
    #nav-menu.active .nav-link[href="/home"]:active,
    #nav-menu.active .nav-link[href="home.html"]:active {
        pointer-events: auto !important;
        cursor: pointer !important;
        color: #ffffff !important;
        background: rgba(255, 255, 255, 0.2) !important;
        text-decoration: none !important;
        border: none !important;
        outline: none !important;
    }
    
    /* Focus state */
    .nav-menu .nav-link[href="/home"]:focus,
    .nav-menu .nav-link[href="home.html"]:focus,
    .nav-menu.active .nav-link[href="/home"]:focus,
    .nav-menu.active .nav-link[href="home.html"]:focus,
    #nav-menu .nav-link[href="/home"]:focus,
    #nav-menu .nav-link[href="home.html"]:focus,
    #nav-menu.active .nav-link[href="/home"]:focus,
    #nav-menu.active .nav-link[href="home.html"]:focus {
        pointer-events: auto !important;
        cursor: pointer !important;
        color: #ffffff !important;
        background: rgba(255, 255, 255, 0.1) !important;
        text-decoration: none !important;
        border: none !important;
        outline: 2px solid #15803d !important;
        outline-offset: 2px !important;
    }
}

