:root {
    --primary-color: #ff4e08;
    --primary-dark: #e64507;
    --primary-light: #ff6c24;
    --text-primary: #333;
    --text-secondary: #666;
    --text-light: #fff;
    --bg-primary: #fff;
    --bg-secondary: #f8f9fa;
    --shadow-light: rgba(0, 0, 0, 0.1);
    --shadow-medium: rgba(0, 0, 0, 0.2);
    --shadow-dark: rgba(0, 0, 0, 0.3);
}
/* Hide desktop nav on mobile */
header nav {
    display: none;
}

/* Show desktop nav and hide mobile nav/menu on desktop */
@media (min-width: 769px) {
    header nav {
        display: flex;
    }
    .mobile-menu { /* Hamburger icon container */
        display: flex !important; /* Make it visible and use flex for potential icon alignment */
        align-items: center;
        justify-content: center;
        /* cursor: pointer; /* Recommended for clickable items */
    }
    /* .mobile-nav panel's display is handled by its global 'display: none;' 
       and '.active { display: block; }' styles, so no '!important' override needed here. */
}

/* Mobile nav panel (hidden by default, shown when .active) */
.mobile-nav {
    display: none; /* Hidden by default, shown by .active class */
    position: fixed;
    top: 0;
    right: -280px; /* Start off-screen to the right; width is 280px */
    width: 280px; /* Width of the slide-in panel */
    height: 100vh; /* Full viewport height */
    background: #ffffff; /* White background */
    padding: 2rem 0; /* Padding top/bottom; links get horizontal padding */
    transition: right 0.3s ease-in-out;
    z-index: 1001;
    box-shadow: -3px 0px 15px rgba(0,0,0,0.1); /* Shadow on the left edge */
    overflow-y: auto;
}

/* Mobile nav header with close button */
.mobile-nav-header {
    display: flex;
    justify-content: flex-end;
    padding: 1rem;
    /* background: #f8f9fa; */
    border-bottom: 1px solid #eee;
}

.mobile-nav-close {
    font-size: 2rem;
    line-height: 1;
    cursor: pointer;
    /*color: #333; */
	color: var(--primary-color);
    background: none;
    border: none;
    padding: 0.5rem;
    margin: -0.5rem -0.5rem -0.5rem 0;
    transition: color 0.2s ease;
}

.mobile-nav-close:hover {
    color: var(--primary-color);
}

.mobile-nav > ul {
    padding: 1rem;
    margin: 0;
}

.mobile-nav.active {
    display: block; /* Show the panel */
    right: 0; /* Slide into view from the right */
}

/* Styling for links within the mobile navigation panel */
.mobile-nav ul {
    list-style: none;
    padding: 1rem 0 0 0; /* Add some space at the top of the list */
    margin: 0;
}

.mobile-nav ul li {
    margin-bottom: 0; /* Links will have their own top/bottom padding or margins */
}

.mobile-nav ul li a {
    color: #000000; /* Black link color */
    text-decoration: none;
    font-size: 1rem; /* Standard font size */
    display: block;
    padding: 0.9rem 1.5rem; /* Padding for each link item */
    transition: background-color 0.2s ease, color 0.2s ease;
    text-align: left; /* Left-align text */
}

.mobile-nav ul li a:hover,
.mobile-nav ul li a:focus {
    background-color: #f0f0f0; /* Light grey background on hover */
    color: var(--primary-color); /* Accent color for text on hover */
}

/* Style for the currently active page link */
.mobile-nav ul li a.active-link {
    background-color: transparent; /* No background color for active link */
    color: #000000; /* Black text for active link */
    font-weight: bold;
    text-decoration: underline;
    text-decoration-color: var(--primary-color); /* Underline in primary color */
    text-decoration-thickness: 2px;
}

/* Hamburger icon color for visibility */
.mobile-menu {
    color: var(--primary-color);
}
/* Mobile First Approach */
/* Base styles for mobile devices */
header {
    background: white;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 12px var(--shadow-medium);
    transition: all 0.3s ease;
    height: 70px;
}

header.scrolled {
    /* background: var(--primary-dark); */
    box-shadow: 0 4px 15px var(--shadow-dark);
}

header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 1rem;
    max-width: 100%;
    margin: 0 auto;
    height: 100%;
}

/* Logo styles */
.logo {
    flex: 0 0 120px;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.logo img {
    width: 250px;    height: 70px;
    object-fit: contain;
}

.logo h1 {
    font-size: 1.2rem;
    margin: 0;
}

/* Mobile menu button */
.mobile-menu {
    display: block;
    color: var(--primary-color); /* Ensure visibility */
    font-size: 1.8rem;
    cursor: pointer;
    flex: 0 0 40px;
    position: relative;
}

.mobile-menu i {
    transition: all 0.3s ease;
}

.mobile-menu.active i { /* Style for when menu is open, e.g., transform to an X */
    transform: rotate(90deg); /* Or your desired X icon transform */
}

/* .mobile-nav.active is already defined (lines 45-48) and correctly shows the panel.
   The styles for .mobile-nav ul, .mobile-nav a etc., starting from line 117, are for the content
   and should be preserved. */

.mobile-nav ul {
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
    list-style: none;
    margin: 0;
    padding: 0;
}

.mobile-nav ul li a {
    color: black !important;
    text-decoration: none;
    font-size: 17px !important;
    padding: 0.6rem 0 !important;
    transition: all 0.3s ease;
    display: flex !important;
    align-items: center;
    justify-content: space-between;
    position: relative;
    border-radius: 6px;
    background: rgba(255, 255, 255, 0.05) !important;
    visibility: visible !important;
    opacity: 1 !important;
    height: auto !important;
    min-height: 1em !important;
    width: 100% !important;
    line-height: normal !important;
    overflow: visible !important;
}

.mobile-nav ul li a:hover {
    color: var(--primary-light) !important;
    transform: translateX(5px);
    background: rgba(255, 255, 255, 0.1) !important;
}

.mobile-nav ul li a.active {
    color: #fd4e08 !important  ;
    background: rgba(255, 255, 255, 0.15) !important;
    font-weight: bold;
}

.mobile-nav ul li a::after {
    content: '';
    position: absolute;
    bottom: -3px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--text-light) !important;
    transition: width 0.3s ease;
    border-radius: 1px;
}

.mobile-nav ul li a:hover::after,
.mobile-nav ul li a.active::after {
    width: 100% !important;
}

/* Styles for .home page specifically to ensure mobile nav link visibility */
.mobile-nav ul li a.active::after, .mobile-nav ul li a.active:hover::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 2px;
    background-color: var(--primary-color);
    bottom: 0;
    left: 0;
}
/* Add mobile menu close button */
.mobile-nav-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    /* color: var(--text-light); */
    font-size: 1.5rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.mobile-nav-close:hover {
    color: var(--primary-light);
    transform: rotate(90deg);
}

/* Mobile menu overlay */
.mobile-nav-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1000;
}

.mobile-nav.active + .mobile-nav-overlay {
    display: block;
}

/* Desktop styles */
@media (min-width: 769px) {
    header {
        height: 80px;
    }
    .mobile-menu{
        color: white !important;    
    }
    
    header .container {
        padding: 0 1.5rem;
        max-width: 1200px;
    }
    
    .logo {
        flex: 0 0 150px;
    }
    
    .logo img {
        width: 150px;
        height: 70px;
		object-fit: contain;
    }
    
    .logo h1 {
        font-size: 1.4rem;
    }
    
    .mobile-menu {
        display: none;
    }
    
    nav {
        display: flex;
    }
    
    nav ul {
        display: flex;
        gap: 1.5rem;
        list-style: none;
        margin: 0;
        padding: 0;
        height: 100%;
    }
    
    nav a {
        color: var(--text-light);
        text-decoration: none;
        font-weight: 500;
        font-size: 0.95rem;
        position: relative;
        padding: 0.4rem 0;
        transition: all 0.25s ease;
        text-transform: uppercase;
        letter-spacing: 0.3px;
        height: 100%;
        display: flex;
        align-items: center;
    }
    
    nav a::after {
        content: '';
        position: absolute;
        bottom: -3px;
        left: 0;
        width: 0;
        height: 2px;
        background: var(--text-light);
        transition: width 0.25s ease;
        border-radius: 1px;
    }
    
    nav a:hover::after,
    nav a.active::after {
        width: 100%;
    }
    
    nav a.active {
        color: var(--primary-light);
    }
}

/* Home page header is larger */
@media (min-width: 769px) {
    body.home header {
        height: 80px;
    }
}

/* Tablet styles */
@media (min-width: 769px) and (max-width: 1024px) {
    nav ul {
        gap: 1rem;
    }
    
    nav a {
        font-size: 0.9rem;
    }
}

/* Logo Section */
.logo {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    flex: 0 0 250px;
}

.logo img {
    width: 250px;
    height: 60px;
    object-fit: contain;
    /* border-radius: 6px;
    box-shadow: 0 2px 6px var(--shadow-medium); */
}

.logo h1 {
    color: var(--text-light);
    font-size: 1.6rem;
    font-weight: 600;
    margin: 0;
    background: linear-gradient(45deg, var(--text-light), var(--primary-light));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-fill-color: transparent;
    text-shadow: 0 2px 4px var(--shadow-medium);
}

.logo p {
    display: none;
    color: rgba(255, 255, 255, 0.7);
    margin: 0;
    font-size: 0.9rem;
    font-weight: 400;
}

/* Navigation */
nav {
    flex: 1;
    display: flex;
    justify-content: center;
}

nav ul {
    display: flex;
    gap: 1.5rem;
    list-style: none;
    margin: 0;
    padding: 0;
    height: 100%;
}

nav a {
    color: var(--text-light);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.95rem;
    position: relative;
    padding: 0.4rem 0;
    transition: all 0.25s ease;
    text-transform: uppercase;
    letter-spacing: 0.3px;
    height: 100%;
    display: flex;
    align-items: center;
}

nav a::after {
    content: '';
    position: absolute;
    bottom: -3px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--text-light);
    transition: width 0.25s ease;
    border-radius: 1px;
}

nav a:hover::after,
nav a.active::after {
    width: 100%;
}

nav a.active {
    color: var(--primary-light);
}

/* Mobile Menu */
.mobile-menu {
    display: none;
    color: var(--text-light);
    font-size: 1.8rem;
    cursor: pointer;
    flex: 0 0 40px;
    position: relative;
}

.mobile-menu i {
    transition: all 0.3s ease;
}

.mobile-menu.active i {
    transform: rotate(90deg);
}

/* Mobile Navigation */
.mobile-nav {
    display: none;
    position: fixed;
    top: 0;
    right: -100%;
    width: 60%;
    max-width: 300px;
    height: 100vh;
    background: white;
    padding: 2rem;
    transition: right 0.3s ease;
    z-index: 1001;
    box-shadow: -4px 0 20px var(--shadow-dark);
}

.mobile-nav.active {
    right: 0;
}

.mobile-nav ul {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    list-style: none;
    margin: 0;
    padding: 0;
}

.mobile-nav a {
    color: var(--text-light);
    text-decoration: none;
    font-size: 1.2rem;
    padding: 0.5rem 0;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.mobile-nav a:hover {
    color: var(--primary-light);
    transform: translateX(5px);
}

/* Mobile Menu */
.mobile-menu {
    display: none;
    color: white;
    font-size: 1.8rem;
    cursor: pointer;
    flex: 0 0 40px;
    position: relative;
}

.mobile-menu i {
    transition: all 0.3s ease;
}

.mobile-menu.active i {
    transform: rotate(90deg);
}

/* Mobile Navigation */
.mobile-nav {
    display: none;
    position: fixed;
    top: 0;
    right: -100%;
    width: 60%;
    max-width: 300px;
    height: 100vh;
    background: white;
    padding: 2rem;
    transition: right 0.3s ease;
    z-index: 1001;
    box-shadow: -4px 0 20px rgba(0, 0, 0, 0.2);
}

.mobile-nav.active {
    right: 0;
}

.mobile-nav ul {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    list-style: none;
    margin: 0;
    padding: 0;
}

.mobile-nav a {
    color: white;
    text-decoration: none;
    font-size: 1.2rem;
    padding: 0.5rem 0;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.mobile-nav a:hover {
    color: #ffd700;
    transform: translateX(5px);
}

/* Responsive Design */
@media (max-width: 1200px) {
    header .container {
        padding: 1rem 1.5rem;
    }
    
    nav ul {
        gap: 1.5rem;
    }
    
    .logo {
        flex: 0 0 180px;
    }
}

@media (max-width: 992px) {
    .logo {
        flex: 0 0 150px;
    }
    
    nav ul {
        gap: 1.2rem;
    }
    
    nav a {
        font-size: 0.9rem;
    }
}

@media (max-width: 768px) {
    .mobile-menu {
        display: block;
    }
    
    nav {
        display: none;
    }
    
    .logo {
        flex: 0 0 200px;
    }
    
    .logo img {
        width: 250px;
    height: 70px;
    }
    
    .logo h1 {
        font-size: 1.5rem;
    }
    
    .logo p {
        display: none;
    }
    
    .mobile-nav {
        padding: 1.5rem;
    }
    
    .mobile-nav a {
        font-size: 1.1rem;
    }
}

@media (max-width: 576px) {
    header .container {
        padding: 0.8rem 1rem;
    }
    
    .logo {
        flex: 0 0 150px;
    }
    
    .mobile-nav {
        padding: 1rem;
    }
}

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

.logo img {
    width: 250px;    height: 70px;
    object-fit: contain;
}

.logo h1 {
    color: white;
    font-size: 1.8rem;
    margin: 0;
}

.logo p {
    color: white;
    margin: 0;
    font-size: 1rem;
}

nav ul {
    display: flex;
    /* gap: 2rem; */
    list-style: none;
    margin: 0;
    padding: 0;
}

nav a {
    color: white;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
    position: relative;
}

nav a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: white;
    transition: width 0.3s ease;
}

nav a:hover::after,
nav a.active::after {
    width: 100%;
}

nav a.active {
    color: #ffd700;
}

.mobile-menu {
    display: none;
    color: #ff4e08;
    font-size: 4px;  
      cursor: pointer;
}

/* Footer Styles */
footer {
    background: #ff7c48;
    color: white;
    padding: 4rem 0 2rem;
}

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

.footer-logo h2 {
    color: white;
    font-size: 1.8rem;
    margin-bottom: 0.5rem;
}

.footer-logo p {
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 1.5rem;
}

.footer-links ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.footer-links ul li {
    margin-bottom: 0.5rem;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: white;
}

.footer-contact p {
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 0.5rem;
}

.footer-contact i {
    margin-right: 0.5rem;
}

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

.footer-social a {
    color: rgba(255, 255, 255, 0.8);
    font-size: 1.2rem;
    transition: color 0.3s ease;
}

.footer-social a:hover {
    color: white;
}

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

.footer-bottom p {
    color: rgba(255, 255, 255, 0.8);
}

/* Mobile Menu */
@media (max-width: 768px) {
    .mobile-menu {
        display: block;
    }

    nav ul {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: #ff4e08;
        padding: 1rem;
        flex-direction: column;
        gap: 1rem;
    }

    nav ul.active {
        display: flex;
    }

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