
/* Custom Properties */
:root {
    /* Colors */
    --primary-color: #800020;
    --secondary-color: #800020;
    --secondary-color-child: #ffffff;
    --accent-color: #FFD700;
    --dark-color: #000000;
    --light-color: #ffffff;
    --success-color: #28a745;
    --error-color: #dc3545;
    --warning-color: #ffc107;
    --info-color: #17a2b8;

    /* Text Colors */
    --text-primary: #000000;
    --text-secondary: #333333;
    --text-muted: #6c757d;
    --text-light: #ffffff;

    /* Typography */
    --font-main: 'Source Sans Pro', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    --font-heading: 'Lora', Georgia, serif;
    --font-mono: 'SF Mono', 'Monaco', 'Inconsolata', monospace;

    /* Font Sizes - Fluid Typography */
    --fs-xs: clamp(0.75rem, 0.7rem + 0.25vw, 0.875rem);
    --fs-sm: clamp(0.875rem, 0.8rem + 0.375vw, 1rem);
    --fs-base: clamp(1rem, 0.9rem + 0.5vw, 1.125rem);
    --fs-lg: clamp(1.125rem, 1rem + 0.625vw, 1.25rem);
    --fs-xl: clamp(1.25rem, 1.1rem + 0.75vw, 1.5rem);
    --fs-2xl: clamp(1.5rem, 1.3rem + 1vw, 2rem);
    --fs-3xl: clamp(1.875rem, 1.5rem + 1.875vw, 3rem);
    --fs-4xl: clamp(2.25rem, 1.8rem + 2.25vw, 4rem);

    /* Spacing - Consistent Scale */
    --space-xs: 0.25rem;
    --space-sm: 0.5rem;
    --space-md: 1rem;
    --space-lg: 1.5rem;
    --space-xl: 2rem;
    --space-2xl: 3rem;
    --space-3xl: 4rem;
    --space-4xl: 6rem;

    /* Layout */
    --container-max-width: 1200px;
    --container-padding: clamp(1rem, 5vw, 2rem);
    --navbar-height: 70px;
    --navbar-height-mobile: 60px;

    /* Transitions & Animations */
    --transition-fast: 0.15s ease;
    --transition-default: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: 0.5s cubic-bezier(0.165, 0.84, 0.44, 1);
    --transition-bounce: 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);

    /* Shadows */
    --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.1);
    --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 8px 25px rgba(0, 0, 0, 0.12);
    --shadow-xl: 0 15px 35px rgba(0, 0, 0, 0.15);
    --shadow-colored: 0 8px 25px rgba(0, 34, 68, 0.2);

    /* Border Radius */
    --radius-sm: 0.25rem;
    --radius-md: 0.5rem;
    --radius-lg: 0.75rem;
    --radius-xl: 1rem;
    --radius-2xl: 1.5rem;
    --radius-full: 9999px;

    /* Gradients */
    --gradient-primary: linear-gradient(135deg, rgba(0, 0, 0, 0.3) 0%, #033b72 100%);
    --gradient-secondary: linear-gradient(135deg, var(--secondary-color) 0%, #ffed4a 100%);
    --gradient-accent: linear-gradient(135deg, var(--accent-color) 0%, #ffed4a 100%);
    --gradient-overlay: linear-gradient(135deg, rgba(0, 0, 0, 0.5) 50%, rgba(0, 0, 0, 0.5) 80%);

    /* Z-index Scale */
    --z-dropdown: 1000;
    --z-sticky: 1020;
    --z-fixed: 1030;
    --z-modal-backdrop: 1040;
    --z-modal: 1050;
    --z-popover: 1060;
    --z-tooltip: 1070;
}

/* Reset and Base Styles */
*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: var(--navbar-height);
}

body {
    font-family: var(--font-main);
    font-size: var(--fs-base);
    line-height: 1.6;
    color: var(--text-primary);
    background-color: var(--light-color);
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Typography */
h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: var(--space-md);
    color: var(--primary-color);
}

h1 {
    font-size: var(--fs-4xl);
}

h2 {
    font-size: var(--fs-3xl);
}

h3 {
    font-size: var(--fs-2xl);
}

h4 {
    font-size: var(--fs-xl);
}

h5 {
    font-size: var(--fs-lg);
}

h6 {
    font-size: var(--fs-base);
}

p {
    margin-bottom: var(--space-md);
    color: var(--text-secondary);
}

/* Utility Classes */
.container {
    max-width: var(--container-max-width);
    margin: 0 auto;
    padding: 0 var(--container-padding);
}

.visually-hidden {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    padding: 0 !important;
    margin: -1px !important;
    overflow: hidden !important;
    clip: rect(0, 0, 0, 0) !important;
    white-space: nowrap !important;
    border: 0 !important;
}

.text-center {
    text-align: center;
}

.text-left {
    text-align: left;
}

.text-right {
    text-align: right;
}

/* Section Titles */
.section-title {
    position: relative;
    margin-bottom: var(--space-2xl);
    color: var(--primary-color);
    text-align: center;
    font-weight: 700;
    font-size: var(--fs-3xl);
}

.section-title::after {
    content: '';
    display: block;
    width: 60px;
    height: 4px;
    background: var(--gradient-accent);
    margin: var(--space-md) auto 0;
    border-radius: var(--radius-full);
    transform: scaleX(0);
    transition: transform var(--transition-bounce);
}

.section-title.visible::after {
    transform: scaleX(1);
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-sm);
    padding: var(--space-md) var(--space-xl);
    border: none;
    border-radius: var(--radius-full);
    font-family: var(--font-main);
    font-size: var(--fs-base);
    font-weight: 600;
    line-height: 1;
    text-decoration: none;
    text-align: center;
    letter-spacing: 0.025em;
    cursor: pointer;
    transition: all var(--transition-default);
    position: relative;
    overflow: hidden;
    z-index: 1;
    white-space: nowrap;
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 0;
    height: 100%;
    z-index: -1;
    transition: width var(--transition-slow);
}

.btn:focus {
    outline: 2px solid var(--accent-color);
    outline-offset: 2px;
}

.btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none !important;
}

.btn-primary {
    background: var(--gradient-primary);
    color: var(--light-color);
    box-shadow: var(--shadow-colored);
}

.btn-primary::before {
    background: var(--gradient-secondary);
}

.btn-primary:hover:not(:disabled) {
    transform: translateY(-2px);
    box-shadow: var(--shadow-xl);
}

.btn-primary:hover:not(:disabled)::before {
    width: 100%;
}

.btn-secondary {
    background: var(--gradient-secondary);
    color: var(--light-color);
    box-shadow: 0 4px 15px rgba(128, 0, 32, 0.3);
}

.btn-secondary::before {
    background: var(--gradient-primary);
}

.btn-secondary:hover:not(:disabled) {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(128, 0, 32, 0.4);
}

.btn-secondary:hover:not(:disabled)::before {
    width: 100%;
}

.btn-outline-light {
    background: transparent;
    color: var(--light-color);
    border: 2px solid var(--light-color);
}

.btn-outline-light::before {
    background: var(--light-color);
}

.btn-outline-light:hover:not(:disabled) {
    color: var(--primary-color);
    transform: translateY(-2px);
}

.btn-outline-light:hover:not(:disabled)::before {
    width: 100%;
}

.btn-sm {
    padding: var(--space-sm) var(--space-lg);
    font-size: var(--fs-sm);
}

.btn-lg {
    padding: var(--space-lg) var(--space-2xl);
    font-size: var(--fs-lg);
}

/* Navigation */
.navbar {
    background-color: #002244 !important;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
    transition: background-color 0.3s ease;
    position: fixed;
    top: 0;
    height: fit-content;
    width: 100%;
    z-index: 1000;
    padding-top: 0.3rem;
    padding-bottom: 0.5rem;
}

.navbar.scrolled {
    background: rgba(0, 34, 68, 0.95);
    box-shadow: var(--shadow-md);
    padding: var(--space-xs) 0;
}

.navbar-brand {
    font-size: 1.2rem;
    padding-top: 0;
    padding-bottom: 0;
}

.navbar-brand img {
    height: 30px;
    width: auto;
}

.navbar ul li a {
    color: #fff !important;
    text-decoration: none;
    font-size: 0.9rem;
    position: relative;
    padding-top: 0.4rem;
    padding-bottom: 0.4rem;
}

.navbar ul li a::after {
    content: '';
    width: 0%;
    height: 2px;
    background: whitesmoke;
    position: absolute;
    left: 0;
    bottom: 0;
    transition: 0.5s;
}

.navbar ul li a:hover::after {
    width: 100%;
}

.navbar-sticky {
    background-color: rgba(0, 54, 115, 0.9) !important;
}

.dropdown-menu {
    background-color: #800020 !important;
    border: none;
    border-radius: 0;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
    margin-top: 0.2rem;
    position: absolute;
    display: none;
}

.dropdown-item {
    color: #fff !important;
    padding: 0.4rem 1rem;
    font-size: 0.9rem;
    transition: background-color 0.3s ease;
}

.dropdown-item:hover,
.dropdown-item:focus {
    background-color: #800020 !important;
    color: #fff !important;
}

.navbar-nav .nav-item.dropdown:hover .dropdown-menu {
    display: block;
}

/* Navbar contact link */
.navbar-contact-link {
    color: #fff !important;
    background: linear-gradient(90deg, #800020 60%, #FFD700 100%);
    padding: 6px 18px 6px 14px;
    border-radius: 22px;
    font-weight: 700;
    font-size: 1.08rem;
    text-decoration: none !important;
    display: flex;
    align-items: center;
    gap: 0.5em;
    box-shadow: 0 2px 8px rgba(128,0,32,0.08);
    transition: background 0.2s, box-shadow 0.2s;
}
.navbar-contact-link:hover, .navbar-contact-link:focus {
    background: linear-gradient(90deg, #FFD700 60%, #800020 100%);
    color: #800020 !important;
    box-shadow: 0 4px 16px rgba(128,0,32,0.18);
    text-decoration: none !important;
}
.navbar-contact-link .contact-number {
    margin-right: 0.3em;
}
.hero-visible-heading {
    color: #fff !important;
    padding: 28px 38px;
    border-radius: 20px;
    font-size: 2.7rem;
    font-weight: 800;
    margin-top: 0 !important;
    display: inline-block;

    backdrop-filter: blur(2.5px);
    z-index: 3;
}

.mt-4>h1.fw-light {
    color: #fff !important;
    padding: 24px 32px;
    border-radius: 18px;
    font-size: 2.5rem;
    font-weight: 700;
    margin-top: 0 !important;
    display: inline-block;
}


/* Hero Section */
.hero-section {
    position: relative;
    background: none;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('../images/Engineer4.jpg') center/cover no-repeat;
    opacity: 0.95;
    z-index: 0;
    animation: heroDance 12s ease-in-out infinite alternate;
    /*background-attachment: fixed;*/
    pointer-events: none;
}

@keyframes heroDance {
    0% {
        transform: scale(1) translate(0, 0) rotate(0deg);
        filter: brightness(1) contrast(1);
    }

    20% {
        transform: scale(1.04) translate(10px, -8px) rotate(-1deg);
        filter: brightness(1.05) contrast(1.05);
    }

    40% {
        transform: scale(1.02) translate(-12px, 6px) rotate(1.5deg);
        filter: brightness(0.98) contrast(1.1);
    }

    60% {
        transform: scale(1.06) translate(8px, 12px) rotate(-2deg);
        filter: brightness(1.08) contrast(0.95);
    }

    80% {
        transform: scale(1.03) translate(-8px, -10px) rotate(1deg);
        filter: brightness(1.02) contrast(1.02);
    }

    100% {
        transform: scale(1) translate(0, 0) rotate(0deg);
        filter: brightness(1) contrast(1);
    }
}



.hero-text {
    position: relative;
    z-index: 2;
    max-width: 600px;
    padding: var(--space-2xl) var(--space-xl);
    border-radius: var(--radius-xl);
    box-shadow: none;
    backdrop-filter: blur(10px);
    opacity: 0;
    transform: translateY(30px);
    animation: slideUpFade 1s var(--transition-bounce) 1s forwards;
}

.hero-text h1 {
    font-size: var(--fs-4xl);
    font-weight: 800;
    margin-bottom: var(--space-lg);
    color: var(--light-color);

}

.hero-text p {
    font-size: var(--fs-xl);
    margin-bottom: var(--space-xl);
    color: var(--text-light);

}



.hero-tex {
    border-radius: 1.5rem;
    padding: 1.2rem 2rem 1.2rem 2rem;
    margin-top: 40px;
    margin-bottom: 5px;
    max-width: 700px;
    height: 280px;
    width: 100%;
    position: relative;
    z-index: 2;
    animation: fadeIn 1.2s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    margin: 32px auto 16px auto;
    max-width: 600px;
    padding: 1.2rem 2rem;
}

.hero-tex h1 {
    color: #fff;
    font-size: 2.7rem;
    font-weight: 800;
    margin-bottom: 1.2rem;
    letter-spacing: 1px;

}

.hero-tex p {
    color: #fff;
    font-size: 1.25rem;
    font-weight: 400;
    margin-bottom: 0;
    line-height: 1.7;

}

.hero-tex strong {
    color: white;
    font-weight: 700;

}

.scrolling-text-wrapper {
    width: 100%;
    overflow: hidden;
    position: relative;
    margin-bottom: 1.5rem;
}

.scrolling-text {
    display: inline-block;
    white-space: nowrap;
    animation: scroll-left 18s linear infinite;
}

@keyframes scroll-left {
    0% {
        transform: translateX(100%);
    }

    100% {
        transform: translateX(-100%);
    }
}

/* Cards */
.card {
    background: var(--light-color);
    border: none;
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: all var(--transition-slow);
    position: relative;
}

.card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--gradient-accent);
    transform: scaleX(0);
    transition: transform var(--transition-default);
}

.card:hover {
    transform: translateY(-8px);
    box-shadow: none;
}

.card:hover::before {
    transform: scaleX(1);
}

.card-body {
    padding: var(--space-xl);
    position: relative;
    z-index: 1;
}

.card-title {
    color: var(--primary-color);
    font-size: var(--fs-xl);
    font-weight: 700;
    margin-bottom: var(--space-md);
}

.card-text {
    color: var(--text-secondary);
    margin-bottom: var(--space-lg);
}

.counselor-img-container {
    width: 100%;
    padding-bottom: 56.25%;
    position: relative;
    overflow: hidden;
}

.counselor-img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Make the image slider*/
.full-width-slider {
    width: 100vw;
    position: relative;
    left: 50%;
    right: 50%;
    margin-left: -50vw;
    margin-right: -50vw;
    padding-left: 0 !important;
    padding-right: 0 !important;
    background: var(--light-color);
    box-sizing: border-box;
}
.full-width-slider .carousel-inner {
    border-radius: 0;
}
.full-width-slider img {
    border-radius: 0 !important;
    box-shadow: none !important;
}

/* Stats Section */
.stats-section {
    padding: var(--space-4xl) 0;
    background: var(--light-color);
}

.count-box {
    text-align: center;
    padding: var(--space-xl);
    background: var(--light-color);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-md);
    transition: all var(--transition-slow);
}

.count-box:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.count-box i {
    font-size: var(--fs-2xl);
    color: var(--primary-color);
    margin-bottom: var(--space-md);
}

.count-box h3.count {
    font-size: var(--fs-3xl);
}

.count-box p {
    font-size: var(--fs-base);
    color: var(--text-secondary);
}

.count-box .additional-info {
    margin-top: var(--space-md);
    font-size: var(--fs-sm);
    color: var(--text-muted);
}

.count-box .additional-info ul {
    list-style-type: disc;
    padding-left: 1.2em;
    text-align: left;
}

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 0.9;
    }
}

@keyframes slideUpFade {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes pulse {

    0%,
    100% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.05);
    }
}

@keyframes fadePulse {

    0%,
    100% {
        opacity: 0;
        transform: scale(0.8);
    }

    50% {
        opacity: 1;
        transform: scale(1.2);
    }
}

@keyframes scaleX {
    from {
        transform: scaleX(0);
    }

    to {
        transform: scaleX(1);
    }
}

/* Loader */
.loader-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: var(--light-color);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: var(--z-modal);
    transition: opacity 0.4s ease, visibility 0.4s ease;
}

.loader-overlay.fade-out {
    opacity: 0;
    visibility: hidden;
}

.modern-loader {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
}

.dot {
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background-color: var(--primary-color);
    opacity: 0;
}

.dot1 {
    animation: fadePulse 1.5s infinite ease-in-out 0s;
}

.dot2 {
    animation: fadePulse 1.5s infinite ease-in-out 0.3s;
}

.dot3 {
    animation: fadePulse 1.5s infinite ease-in-out 0.6s;
}

/* Footer */
footer {
    background: var(--gradient-primary);
    color: var(--light-color);
    padding: var(--space-4xl) 0 var(--space-2xl);
    position: relative;
    overflow: hidden;
}

footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--gradient-accent);
    transform: scaleX(0);
    animation: scaleX 1.5s var(--transition-bounce) 0.5s forwards;
}

footer a {
    color: var(--text-light);
    text-decoration: none;
    transition: color var(--transition-default);
    position: relative;
}

footer a::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 1px;
    background: aliceblue;
    transition: width var(--transition-default);
}

footer a:hover {
    color: var(--accent-color);
}

footer a:hover::after {
    width: 100%;
}

.social-icons a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-full);
    margin-right: var(--space-md);
    transition: all var(--transition-bounce);
    color: var(--accent-color);
    position: relative;
    overflow: hidden;
}

.social-icons a::before {
    content: '';
    position: absolute;
    inset: 0;
    background: var(--accent-color);
    border-radius: var(--radius-full);
    transform: scale(0);
    transition: transform var(--transition-bounce);
    z-index: -1;
}

.social-icons a:hover {
    color: var(--primary-color);
    transform: translateY(-3px) scale(1.1);
}

.social-icons a:hover::before {
    transform: scale(1);
}

/* Back to Top Button */
.back-to-top-btn {
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: var(--primary-color);
    color: var(--light-color);
    border: none;
    box-shadow: var(--shadow-md);
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: all var(--transition-default);
    z-index: var(--z-fixed);
}

.back-to-top-btn:hover {
    transform: translateY(-3px);
    background-color: var(--secondary-color);
    box-shadow: var(--shadow-lg);
}

.back-to-top-btn.show {
    opacity: 1;
    visibility: visible;
}

.back-to-top-btn.show:hover {
    animation: pulse 1.5s infinite;
}

/* Image Slider Section */
.image-slider-section {
    background: var(--light-color);
    padding-top: var(--space-md);
    padding-bottom: var(--space-md);
}


.image-slider-section .carousel {
    max-width: 100%;
    height: 400px;
    margin: 0 auto;
    box-shadow: var(--shadow-lg);
    border-radius: var(--radius-lg);
    overflow: hidden;
}

.image-slider-section .carousel-inner {
    border-radius: var(--radius-lg);
}


.image-slider-section .carousel-item img {
    object-fit: cover;
    height: 500pxpx;
    width: 100%;
    border-radius: var(--radius-lg);
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.image-slider-section .carousel-item img:hover {
    transform: scale(1.03);
    box-shadow: var(--shadow-xl);
}

.image-slider-section .carousel-control-prev-icon,
.image-slider-section .carousel-control-next-icon {
    background-color: rgba(0, 0, 0, 0.4);
    border-radius: 50%;
    padding: 0.7em;
}

@media (max-width: 768px) {
    .image-slider-section .carousel-item img {
        height: 500px;
    }
}

/* Responsive Design */
@media (max-width: 991.98px) {
    .navbar-toggler {
        display: block;
    }

    .navbar-collapse {
        position: fixed;
        top: var(--navbar-height-mobile);
        left: 0;
        right: 0;
        background: var(--primary-color);
        padding: var(--space-lg);
        box-shadow: var(--shadow-lg);
        transform: translateY(-100%);
        opacity: 0;
        visibility: hidden;
        transition: all var(--transition-default);
        z-index: var(--z-dropdown);
        border-top: 1px solid rgba(255, 255, 255, 0.1);
    }

    .navbar-collapse.show {
        display: flex;
        flex-direction: column;
        align-items: stretch;
        transform: translateY(0);
        opacity: 1;
        visibility: visible;
    }

    .navbar-nav {
        flex-direction: column;
        align-items: stretch;
        gap: 0;
        width: 100%;
    }

    .nav-link {
        padding: var(--space-md) var(--space-lg);
        border-radius: var(--radius-md);
        transition: all var(--transition-default);
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    }

    .nav-link:hover,
    .nav-link:focus {
        background: rgba(255, 255, 255, 0.1);
        transform: translateX(8px);
    }

    .nav-link:last-child {
        border-bottom: none;
    }

    .nav-link::after {
        display: none;
    }

    .dropdown .dropdown-menu {
        position: static !important;
        display: none;
        background: rgba(255, 255, 255, 0.05);
        border-radius: var(--radius-md);
        margin-top: var(--space-sm);
        padding: var(--space-sm);
        box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.1);
        opacity: 1 !important;
        transform: none !important;
        pointer-events: auto;
        min-width: auto;
    }

    .dropdown .dropdown-menu.show {
        display: block;
    }

    .dropdown .dropdown-item {
        color: var(--text-light);
        padding: var(--space-md) var(--space-lg);
        border-radius: var(--radius-sm);
    }

    .dropdown .dropdown-item:hover {
        background: rgba(255, 255, 255, 0.1);
        color: var(--accent-color);
    }

    .dropdown .dropdown-header {
        color: var(--accent-color);
        font-weight: 700;
    }

    .dropdown .dropdown-divider {
        border-color: rgba(255, 255, 255, 0.2);
    }
}

@media (max-width: 768px) {
    :root {
        --navbar-height: var(--navbar-height-mobile);
        --container-padding: var(--space-md);
    }

    .hero-text {
        padding: var(--space-xl) var(--space-lg);
    }

    .hero-text h1 {
        font-size: var(--fs-3xl);
    }

    .hero-text p {
        font-size: var(--fs-lg);
    }

    .btn {
        padding: var(--space-md) var(--space-lg);
    }

    .count-box {
        padding: var(--space-lg);
    }
}

@media (max-width: 480px) {
    .hero-section {
        height: 100vh;
        min-height: 500px;
    }

    .hero-text {
        padding: var(--space-lg) var(--space-md);
    }

    .card-body {
        padding: var(--space-lg);
    }

    .btn {
        width: 100%;
        justify-content: center;
    }

    .count-box {
        padding: var(--space-md);
    }

    .navbar-collapse {
        padding: var(--space-md);
    }

    .nav-link {
        padding: var(--space-sm) var(--space-md);
        font-size: var(--fs-sm);
    }
}

/* Navbar offset utility */
.with-navbar-offset {
    padding-top: var(--navbar-height);
}

@media (max-width: 991.98px) {
    .with-navbar-offset {
        padding-top: var(--navbar-height-mobile);
    }
}