:root {
    /* Updated color palette - soft, muted tones */
    --primary: #f3ac12;      /* Golden yellow primary color */
    --secondary: #cac036;    /* Muted yellow-green for secondary elements */
    --accent: #e4c1f9;       /* Soft lavender for accents */
    --highlight: #a36f2b;    /* Brown for highlights */
    --background: #f8f9fa;   /* Very light gray for backgrounds */
    --text-dark: #343a40;    /* Dark gray for text */
    --text-light: #6c757d;   /* Medium gray for secondary text */
    --border: #dee2e6;       /* Light gray for borders */
    --shadow: rgba(0, 0, 0, 0.05); /* Subtle shadow */

    /* Legacy colors - kept for compatibility */
    --orange: #8bbdd9;       /* Updated to a muted blue */
    --gold: #a3d9b1;         /* Updated to a muted green */
    --cream: #f9f7f3;        /* Updated to an off-white */
}

* {
    box-sizing: border-box;
    margin: 0px;
    overscroll-behavior: none;
    padding: 0px;
    font-family: "Montserrat", serif;
}

body {
    background-color: var(--cream);
    color: var(--text-dark);
    line-height: 1.8;
}

/* Header and Navigation */
header {
    height: 140px;
    padding: 0px 15px;
    padding-left: 50px;
    display: flex;
    gap: 35px;
    background-color: white;
    padding-top: 10px;
    box-shadow: 0 2px 10px var(--shadow);
    position: relative;
    z-index: 1000;
}

.header.scrolled {
    height: 80px;
    transition: height 0.3s ease;
}

.image {
    height: 100%;
    aspect-ratio: 2/1;
}

.image img {
    height: 100%;
    width: 100%;
    object-fit: contain;
}

.imgggg {
    height: 80px;
    width: auto;
}

.imgggg img {
    height: 100%;
    width: auto;
    object-fit: contain;
}

/* Modern Mobile Toggle */
.navbar-toggler {
    border: none;
    background: transparent;
    padding: 8px;
    position: relative;
    width: 50px;
    height: 50px;
    border-radius: 12px;
    transition: all 0.3s ease;
    display: none;
    cursor: pointer;
}

.navbar-toggler:focus {
    box-shadow: none;
    outline: 2px solid var(--primary);
    outline-offset: 2px;
}

.navbar-toggler:hover {
    background-color: rgba(243, 172, 18, 0.1);
    transform: scale(1.05);
}

/* Custom Hamburger Icon */
.navbar-toggler-icon {
    display: block;
    width: 28px;
    height: 20px;
    position: relative;
    transform: rotate(0deg);
    transition: 0.3s ease-in-out;
    cursor: pointer;
}

.navbar-toggler-icon span {
    display: block;
    position: absolute;
    height: 3px;
    width: 100%;
    background: var(--primary);
    border-radius: 2px;
    opacity: 1;
    left: 0;
    transform: rotate(0deg);
    transition: 0.25s ease-in-out;
}

.navbar-toggler-icon span:nth-child(1) {
    top: 0px;
}

.navbar-toggler-icon span:nth-child(2) {
    top: 8px;
}

.navbar-toggler-icon span:nth-child(3) {
    top: 16px;
}

/* Hamburger to X Animation */
.navbar-toggler[aria-expanded="true"] .navbar-toggler-icon span:nth-child(1) {
    top: 8px;
    transform: rotate(135deg);
}

.navbar-toggler[aria-expanded="true"] .navbar-toggler-icon span:nth-child(2) {
    opacity: 0;
    left: -60px;
}

.navbar-toggler[aria-expanded="true"] .navbar-toggler-icon span:nth-child(3) {
    top: 8px;
    transform: rotate(-135deg);
}

/* Enhanced Mobile Menu Styles */
.navbar-collapse {
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Navigation styling */
.navbar .lists li a.active {
    text-decoration-color: var(--highlight);
    text-underline-offset: 5px;
    text-decoration-thickness: 2px;
    text-decoration-style: solid;
    text-decoration-line: underline;
}

.navbar .lists {
    margin-left: 0px;
    gap: 35px;
    margin-top: 20px;
}

.handle {
    display: flex;
    list-style: none;
    gap: 30px;
    justify-content: space-between;
}

.handle li a i {
    font-size: 20px;
    transition: transform 0.2s ease;
}

.handle li a i:hover {
    transform: scale(1.08);
}

.navbar .lists li a {
    color: var(--text-dark);
    text-decoration: none;
    font-size: 18px;
    font-weight: 500;
    transition: color 0.2s ease;
}

.navbar .lists li a:hover {
    color: var(--primary);
}

.navbar .lists li.active a {
    text-decoration-color: var(--highlight);
    text-underline-offset: 5px;
    text-decoration-thickness: 2px;
    text-decoration-style: solid;
    text-decoration-line: underline;
}

.navbar .lists > li > a:hover {
    text-decoration-color: var(--highlight);
    text-underline-offset: 5px;
    text-decoration-thickness: 2px;
    text-decoration-style: solid;
    text-decoration-line: underline;
}

/* Enhanced Navigation Links */
.navbar-nav .nav-link {
    color: var(--text-dark);
    font-weight: 500;
    font-size: 1.1rem;
    padding: 0.75rem 1rem;
    border-radius: 8px;
    transition: all 0.3s ease;
    position: relative;
}

.navbar-nav .nav-link:hover {
    color: var(--primary);
    background-color: rgba(243, 172, 18, 0.1);
    transform: translateY(-2px);
}

.navbar-nav .nav-link.active {
    color: var(--primary);
    font-weight: 600;
    background-color: rgba(243, 172, 18, 0.15);
}

.navbar-nav .nav-link.active::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 30px;
    height: 3px;
    background-color: var(--highlight);
    border-radius: 2px;
}

.dropdown-menu {
    border: none;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
    border-radius: 16px;
    padding: 1rem 0;
    margin-top: 0.5rem;
    background: blue;
    backdrop-filter: blur(10px);
    animation: dropdownSlideIn 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    min-width: 220px;
    border: 1px solid rgba(243, 172, 18, 0.2);
}

@keyframes dropdownSlideIn {
    from {
        opacity: 0;
        transform: translateY(-15px) scale(0.95);
    }
    to {
        opacity: 0.5;
        transform: translateY(0) scale(1);
    }
}

.dropdown-item {
    padding: 0.875rem 1.5rem;
    color: wheat;
    font-weight: 500;
    transition: all 0.3s ease;
    border-radius: 8px;
    margin: 0.25rem 0.5rem;
    position: relative;
    overflow: hidden;
    
}

.dropdown-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(7, 68, 233, 0.1), transparent);
    transition: left 0.5s ease;
}

.dropdown-item:hover::before {
    left: 100%;
}

.dropdown-item:hover {
    background-color: rgba(9, 145, 236, 0.1);
    color: var(--primary);
    transform: translateX(8px);
    box-shadow: 0 4px 12px rgba(243, 172, 18, 0.2);
}

.dropdown-item:active {
    background-color: rgba(243, 172, 18, 0.2);
}

/* Social Icons */
.social-icons {
    display: flex;
    gap: 0.5rem;
}

.social-icons .btn {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid var(--border);
    background-color: white;
    transition: all 0.3s ease;
}

.social-icons .btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    border-color: var(--primary);
}

/* Mobile Responsive Styles */
@media (max-width: 991.98px) {
    .navbar-toggler {
        display: block;
    }

    header {
        padding-left: 20px;
        height: 80px;
        align-items: center;
    }

    .navbar-collapse {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
        box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
        border-radius: 0 0 20px 20px;
        padding: 2rem;
        margin: 0;
        transform: translateY(-20px);
        opacity: 0;
        visibility: hidden;
        transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
        backdrop-filter: blur(10px);
        border: 1px solid rgba(243, 172, 18, 0.1);
    }

    .navbar-collapse.show {
        transform: translateY(0);
        opacity: 1;
        visibility: visible;
    }

    .navbar-nav {
        flex-direction: column;
        gap: 0.75rem;
        margin-bottom: 2rem;
    }

    .navbar-nav .nav-link {
        padding: 1.25rem 1.5rem;
        border-radius: 12px;
        text-align: center;
        border: 2px solid rgba(243, 172, 18, 0.2);
        margin-bottom: 0.5rem;
        background: linear-gradient(135deg, rgba(243, 172, 18, 0.1) 0%, rgba(243, 172, 18, 0.2) 100%);
        font-weight: 600;
        transition: all 0.3s ease;
    }

    .navbar-nav .nav-link:hover {
        border-color: var(--primary);
        transform: translateX(8px);
        background: linear-gradient(135deg, rgba(243, 172, 18, 0.1) 0%, rgba(243, 172, 18, 0.2) 100%);
        box-shadow: 0 6px 20px rgba(243, 172, 18, 0.2);
    }

    .dropdown-menu {
        position: static;
        float: none;
        width: 100%;
        margin: 0.75rem 0;
        box-shadow: inset 0 4px 12px rgba(0, 0, 0, 0.1);
        background: rgb(248, 6, 6);
        border: 2px solid rgba(243, 172, 18, 0.2);
        border-radius: 12px;
    }

    .dropdown-item {
        padding: 1rem 1.5rem;
        margin: 0.5rem;
        border-radius: 8px;
        background: rgb(43, 42, 42);
        border: 1px solid rgba(243, 172, 18, 0.1);
        color: var(--text-light);
    }

    .social-icons {
        justify-content: center;
        padding-top: 1.5rem;
        border-top: 2px solid rgba(243, 172, 18, 0.2);
        gap: 1rem;
    }

    .social-icons .btn {
        width: 45px;
        height: 45px;
        border: 2px solid var(--primary);
        background: linear-gradient(135deg, #ffffff 0%, rgba(243, 172, 18, 0.1) 100%);
    }

    .imgggg {
        height: 60px;
    }
}

@media (max-width: 576px) {
    header {
        padding-left: 15px;
        padding-right: 15px;
        height: 70px;
    }

    .imgggg {
        height: 50px;
    }

    .navbar-collapse {
        padding: 1.5rem;
        border-radius: 0 0 16px 16px;
    }

    .navbar-nav .nav-link {
        font-size: 1rem;
        padding: 1rem 1.25rem;
    }

    .social-icons .btn {
        width: 40px;
        height: 40px;
    }
}

/* About container styling */
.about-container {
    max-width: 1200px;
    margin: 4rem auto;
    padding: 0 2rem;
}

/* Hero section styling */
.hero-section {
    text-align: center;
    margin-bottom: 4rem;
    padding: 3rem 0;
    border-bottom: 3px solid var(--secondary);
    background-color: white;
    border-radius: 12px;
    box-shadow: 0 4px 20px var(--shadow);
}

.hero-title {
    font-size: 2.8rem;
    color: var(--primary);
    margin-bottom: 1.5rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-weight: 700;
}

.tagline {
    font-size: 1.4rem;
    color: var(--text-light);
    font-weight: 400;
    font-style: italic;
    max-width: 800px;
    margin: 0 auto;
}

/* Content section styling */
.content-section {
    margin: 3rem 0;
    padding: 2.5rem;
    background: white;
    border-radius: 12px;
    box-shadow: 0 4px 20px var(--shadow);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.content-section:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px var(--shadow);
}

.section-title {
    color: var(--primary);
    font-size: 2.2rem;
    margin: 0 0 1.5rem;
    border-left: 4px solid var(--highlight);
    padding-left: 1rem;
    font-weight: 600;
}

.highlight {
    color: var(--highlight);
    font-weight: 600;
}

/* Grid container for feature cards */
.grid-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

/* Feature card styling */
.feature-card {
    padding: 2rem;
    border: none;
    border-radius: 10px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    background-color: var(--cream);
    box-shadow: 0 4px 15px var(--shadow);
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px var(--shadow);
}

.feature-card h3 {
    color: var(--primary);
    font-size: 1.5rem;
    margin-bottom: 1rem;
    font-weight: 600;
    border-bottom: 2px solid var(--secondary);
    padding-bottom: 0.5rem;
}

.feature-card p {
    color: var(--text-light);
    font-size: 1rem;
    line-height: 1.7;
}

/* List styling */
.content-section ul {
    padding-left: 1.5rem;
    margin-top: 1.5rem;
    list-style-type: none;
}

.content-section ul li {
    position: relative;
    padding-left: 1.5rem;
    margin-bottom: 0.75rem;
    line-height: 1.6;
}

.content-section ul li::before {
    content: "•";
    color: var(--highlight);
    font-size: 1.5rem;
    position: absolute;
    left: 0;
    top: -0.25rem;
}

/* Footer styling */
footer {
    width: 100%;
    background-color: var(--text-dark);
    padding: 3rem 0;
    color: white;
    box-shadow: 0 -4px 20px var(--shadow);
}

.footer .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.footer h2, .footer h3 {
    color: white;
    margin-bottom: 1.5rem;
    font-weight: 600;
    border-bottom: 2px solid var(--secondary);
    padding-bottom: 0.5rem;
    display: inline-block;
}

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

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

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

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

.footer ul li a:hover {
    color: white;
    text-decoration: underline;
}

.footer .social-icons {
    display: flex;
    gap: 1rem;
    margin-top: 1.5rem;
}

.footer .social-icons a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.1);
    color: white;
    transition: all 0.3s ease;
}

.footer .social-icons a:hover {
    background-color: var(--highlight);
    transform: translateY(-3px);
}

/* Typography enhancements */
p {
    font-size: 1.05rem;
    line-height: 1.8;
    color: var(--text-light);
    margin-bottom: 1.5rem;
}

h1, h2, h3, h4, h5, h6 {
    line-height: 1.3;
    margin-bottom: 1rem;
    color: var(--primary);
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .hero-title {
        font-size: 2rem;
    }

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

    .content-section {
        padding: 1.5rem;
    }

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

@media (max-width: 480px) {
    .about-container {
        padding: 0 1rem;
    }

    .hero-title {
        font-size: 1.8rem;
    }

    .content-section {
        padding: 1.25rem;
    }
}

/* Accessibility improvements */
a:focus, button:focus {
    outline: 3px solid var(--highlight);
    outline-offset: 3px;
}

/* Animation for content sections */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

.content-section {
    animation: fadeIn 0.6s ease-out forwards;
}

.content-section:nth-child(2) { animation-delay: 0.1s; }
.content-section:nth-child(3) { animation-delay: 0.2s; }
.content-section:nth-child(4) { animation-delay: 0.3s; }
.content-section:nth-child(5) { animation-delay: 0.4s; }

/* Enhanced image styling */
.logo-image img {
    border-radius: 50%;
    border: 3px solid var(--highlight);
    transition: transform 0.3s ease;
}

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

/* Button styling */
button, .btn {
    padding: 0.75rem 1.5rem;
    border-radius: 30px;
    border: none;
    background-color: var(--primary);
    color: white;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

button:hover, .btn:hover {
    background-color: var(--highlight);
    transform: translateY(-3px);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.15);
}

/* About section specific styling */
.about {
    margin-top: 40px;
    margin-bottom: 40px;
    padding-left: 20px;
    padding-right: 190px;
}

.about h3 {
    margin-bottom: 15px;
    color: var(--primary);
    font-size: 22px;
}

.about h2 {
    margin-top: 20px;
    margin-bottom: 20px;
    color: var(--primary);
}

.about p {
    font-family: "Playwrite IT Moderna", serif;
    color: var(--text-light);
    line-height: 1.8;
}

/* Enhanced dropdown arrow animation */
.dropdown-toggle::after {
    transition: transform 0.3s ease;
}

.dropdown-toggle[aria-expanded="true"]::after {
    transform: rotate(180deg);
}

html {
    scroll-behavior: smooth;
}

.dropdown-menu.show {
    animation: dropdownSlideIn 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    background-color: rgb(221, 216, 216);
}

/* Enhanced focus states for accessibility */
.navbar-nav .nav-link:focus,
.dropdown-item:focus {
    outline: 2px solid var(--primary);
    outline-offset: 2px;
    background-color: rgba(190, 135, 14, 0.945);
}

/* Improved mobile dropdown styling */
@media (max-width: 991.98px) {
    .dropdown-toggle::after {
        margin-left: auto;
    }

    .dropdown-menu.show {
        animation: mobileDropdownSlideIn 0.3s ease;
    }
}

@keyframes mobileDropdownSlideIn {
    from {
        opacity: 0;
        max-height: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        max-height: 300px;
        transform: translateY(0);
    }
}

/* Prevent horizontal scroll on mobile */
@media (max-width: 576px) {
    body {
        overflow-x: hidden;
    }

    .navbar-collapse {
        max-width: 100vw;
    }
}
