/* Enhanced BESDC Website Styles */

/* ===== GLOBAL STYLES & VARIABLES ===== */
:root {
    --primary-color: #007bff;
    --primary-dark: #0056b3;
    --primary-light: #e3f0ff;
    --secondary-color: #6c757d;
    --success-color: #28a745;
    --warning-color: #ffc107;
    --danger-color: #dc3545;
    --light-color: #f8f9fa;
    --dark-color: #343a40;
    --white: #ffffff;
    --black: #000000;
    --gray-100: #f8f9fa;
    --gray-200: #e9ecef;
    --gray-300: #dee2e6;
    --gray-400: #ced4da;
    --gray-500: #adb5bd;
    --gray-600: #6c757d;
    --gray-700: #495057;
    --gray-800: #343a40;
    --gray-900: #212529;
    
    --border-radius: 12px;
    --border-radius-lg: 20px;
    --box-shadow: 0 4px 6px rgba(0, 0, 0, 0.07);
    --box-shadow-lg: 0 10px 25px rgba(0, 0, 0, 0.1);
    --box-shadow-xl: 0 20px 40px rgba(0, 0, 0, 0.15);
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-fast: all 0.15s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    
    --font-family-primary: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    --font-family-secondary: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    
    --gradient-primary: linear-gradient(135deg, #007bff 0%, #00c6ff 100%);
    --gradient-secondary: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    --gradient-success: linear-gradient(135deg, #28a745 0%, #20c997 100%);
    --gradient-warning: linear-gradient(135deg, #ffc107 0%, #fd7e14 100%);
    --gradient-danger: linear-gradient(135deg, #dc3545 0%, #e83e8c 100%);
    --gradient-indian: linear-gradient(to right, #FF9933 0%, #ffffff 50%, #138808 100%);
}

/* ===== BASE STYLES ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-family-primary);
    line-height: 1.7;
    color: var(--gray-700);
    background-color: var(--white);
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* ===== TYPOGRAPHY ===== */
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: 1rem;
    color: var(--gray-800);
}

h1 { font-size: 2.5rem; }
h2 { font-size: 2rem; }
h3 { font-size: 1.75rem; }
h4 { font-size: 1.5rem; }
h5 { font-size: 1.25rem; }
h6 { font-size: 1rem; }

p {
    margin-bottom: 1rem;
    color: var(--gray-600);
}

a {
    color: var(--primary-color);
    text-decoration: none;
    transition: var(--transition);
}

a:hover {
    color: var(--primary-dark);
    text-decoration: none;
}

/* ===== BUTTONS ===== */
.btn {
    border-radius: var(--border-radius);
    font-weight: 600;
    padding: 0.75rem 1.5rem;
    transition: var(--transition);
    border: none;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    text-decoration: none;
    position: relative;
    overflow: hidden;
}

.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;
}

.btn:hover::before {
    left: 100%;
}

.btn-primary {
    background: var(--gradient-primary);
    color: var(--white);
    box-shadow: var(--box-shadow);
}

.btn-primary:hover {
    background: var(--gradient-primary);
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: var(--box-shadow-lg);
}

.btn-secondary {
    background: var(--gradient-secondary);
    color: var(--white);
}

.btn-success {
    background: var(--gradient-success);
    color: var(--white);
}

.btn-warning {
    background: var(--gradient-warning);
    color: var(--white);
}

.btn-danger {
    background: var(--gradient-danger);
    color: var(--white);
}

.btn-outline-primary {
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
    background: transparent;
}

.btn-outline-primary:hover {
    background: var(--primary-color);
    color: var(--white);
    transform: translateY(-2px);
}

.btn-lg {
    padding: 1rem 2rem;
    font-size: 1.1rem;
}

.btn-sm {
    padding: 0.5rem 1rem;
    font-size: 0.9rem;
}

/* ===== TOP BAR ===== */
.top-bar {
    background: var(--gray-900);
    color: var(--white);
    padding: 0.75rem 0;
    font-size: 0.9rem;
    font-weight: 500;
}

.top-bar i {
    margin-right: 0.5rem;
    color: var(--primary-color);
}

.top-bar a {
    color: var(--white);
    transition: var(--transition);
    margin-left: 1rem;
}

.top-bar a:hover {
    color: var(--primary-color);
    transform: translateY(-1px);
}

/* ===== HEADER ===== */
.header-logo-title {
    background: var(--white);
    padding: 1.5rem 0;
    box-shadow: var(--box-shadow);
    position: relative;
    z-index: 1000;
}

.header-logo-title::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: var(--gradient-indian);
}

.logo-img {
    transition: var(--transition);
}

.logo-img:hover {
    transform: scale(1.05);
}

.council-title-container {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.council-title-line1,
.council-title-line2 {
    font-weight: 800;
    font-size: 1.8rem;
    line-height: 1.2;
    background: var(--gradient-indian);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-fill-color: transparent;
    -webkit-text-stroke: 0.5px var(--gray-400);
    text-stroke: 0.5px var(--gray-400);
    letter-spacing: 0.5px;
}

.council-title-line1 {
    font-size: 1.6rem;
}

.council-title-line2 {
    font-size: 1.4rem;
}

/* ===== NAVBAR ===== */
.navbar {
    background: var(--white) !important;
    box-shadow: var(--box-shadow);
    padding: 1rem 0;
    transition: var(--transition);
    position: sticky;
    top: 0;
    z-index: 999;
}

.navbar.scrolled {
    background: rgba(255, 255, 255, 0.95) !important;
    backdrop-filter: blur(10px);
    box-shadow: var(--box-shadow-lg);
}

.navbar-brand {
    font-weight: 700;
    font-size: 1.5rem;
    color: var(--primary-color) !important;
}

.navbar-brand img {
    height: 60px;
    transition: var(--transition);
}

.navbar-brand:hover img {
    transform: scale(1.05);
}

.navbar-nav {
    gap: 0.5rem;
}

.nav-link {
    color: var(--gray-700) !important;
    font-weight: 600;
    padding: 0.75rem 1rem !important;
    border-radius: var(--border-radius);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.nav-link::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: var(--gradient-primary);
    opacity: 0;
    transition: var(--transition);
    z-index: -1;
}

.nav-link:hover::before,
.nav-link.active::before {
    left: 0;
    opacity: 1;
}

.nav-link:hover,
.nav-link.active {
    color: var(--white) !important;
    transform: translateY(-2px);
}

.navbar-toggler {
    border: none;
    padding: 0.5rem;
    border-radius: var(--border-radius);
    transition: var(--transition);
}

.navbar-toggler:focus {
    box-shadow: none;
}

.navbar-toggler:hover {
    background: var(--primary-light);
}

/* ===== NOTIFICATION PANEL ===== */
.notification-panel {
    background: var(--gradient-warning);
    color: var(--black);
    padding: 0.75rem 0;
    font-weight: 600;
    position: relative;
    overflow: hidden;
}

.notification-panel::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.1), transparent);
    animation: shimmer 2s infinite;
}

@keyframes shimmer {
    0% { transform: translateX(-100%); }
    100% { transform: translateX(100%); }
}

.notification-panel marquee {
    color: var(--black);
    font-weight: 600;
}

/* ===== HERO SECTION ===== */
.hero-section {
    background: var(--gradient-primary);
    min-height: 80vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1000 1000"><polygon fill="rgba(255,255,255,0.1)" points="0,1000 1000,0 1000,1000"/></svg>');
    background-size: cover;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.3);
}

.quote-container {
    position: relative;
    z-index: 2;
}

.quote-box {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: var(--border-radius-lg);
    padding: 2rem;
    border: 1px solid rgba(255, 255, 255, 0.2);
    margin-bottom: 2rem;
}

.quote-text {
    font-size: 1.5rem;
    font-style: italic;
    color: var(--white);
    margin-bottom: 1rem;
    line-height: 1.6;
}

.quote-author {
    color: var(--white);
    font-weight: 600;
    opacity: 0.9;
}

/* Scroll Indicator */
.scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
}

.scroll-arrow {
    width: 30px;
    height: 30px;
    border: 2px solid var(--white);
    border-top: none;
    border-left: none;
    transform: rotate(45deg);
    animation: bounce 2s infinite;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0) rotate(45deg);
    }
    40% {
        transform: translateY(-10px) rotate(45deg);
    }
    60% {
        transform: translateY(-5px) rotate(45deg);
    }
}

/* ===== CARDS ===== */
.card {
    border: none;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--box-shadow);
    transition: var(--transition);
    overflow: hidden;
    background: var(--white);
    position: relative;
}

.card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--gradient-primary);
    transform: scaleX(0);
    transition: var(--transition);
}

.card:hover::before {
    transform: scaleX(1);
}

.card:hover {
    transform: translateY(-8px);
    box-shadow: var(--box-shadow-xl);
}

.card-img-top {
    height: 200px;
    object-fit: cover;
    transition: var(--transition);
}

.card:hover .card-img-top {
    transform: scale(1.05);
}

.card-body {
    padding: 1.5rem;
}

.card-title {
    font-weight: 700;
    color: var(--gray-800);
    margin-bottom: 1rem;
}

.card-text {
    color: var(--gray-600);
    line-height: 1.6;
}

/* Course Card Enhancements */
.course-card {
    position: relative;
}

.card-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background: var(--gradient-primary);
    color: var(--white);
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    z-index: 10;
    box-shadow: var(--box-shadow);
}

.course-features {
    margin-top: 1rem;
}

.course-features .badge {
    font-size: 0.75rem;
    padding: 0.4rem 0.6rem;
}

/* ===== FEATURE ITEMS ===== */
.feature-item {
    text-align: center;
    padding: 1.5rem;
    border-radius: var(--border-radius);
    transition: var(--transition);
}

.feature-item:hover {
    background: var(--primary-light);
    transform: translateY(-5px);
}

.feature-item i {
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.feature-item h5 {
    color: var(--gray-800);
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.feature-item p {
    color: var(--gray-600);
    font-size: 0.9rem;
    margin-bottom: 0;
}

/* ===== FEATURE CARDS ===== */
.feature-card {
    padding: 2rem 1rem;
    border-radius: var(--border-radius-lg);
    transition: var(--transition);
    height: 100%;
}

.feature-card:hover {
    background: var(--white);
    box-shadow: var(--box-shadow-lg);
    transform: translateY(-5px);
}

/* ===== STATISTICS SECTION ===== */
.stats-section {
    background: var(--gradient-primary);
    position: relative;
    overflow: hidden;
}

.stats-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1000 1000"><circle fill="rgba(255,255,255,0.1)" cx="500" cy="500" r="200"/></svg>');
    background-size: cover;
    opacity: 0.3;
}

.stat-item {
    position: relative;
    z-index: 2;
    text-align: center;
    padding: 2rem 1rem;
}

.stat-item i {
    color: var(--white);
    opacity: 0.9;
    margin-bottom: 1rem;
}

.stat-item h3 {
    color: var(--white);
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 0.5rem;
}

.stat-item p {
    color: var(--white);
    opacity: 0.9;
    font-weight: 500;
    margin-bottom: 0;
}

/* ===== CALL TO ACTION SECTION ===== */
.cta-section {
    background: var(--gradient-primary);
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1000 1000"><polygon fill="rgba(255,255,255,0.1)" points="0,0 1000,1000 0,1000"/></svg>');
    background-size: cover;
    opacity: 0.2;
}

.cta-buttons {
    position: relative;
    z-index: 2;
}

/* ===== SECTIONS ===== */
.section-padding {
    padding: 5rem 0;
}

.section-title {
    text-align: center;
    margin-bottom: 3rem;
    position: relative;
    font-weight: 800;
    color: var(--gray-800);
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: var(--gradient-primary);
    border-radius: 2px;
}

.section-title span {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* ===== WHY CHOOSE US ===== */
.why-us {
    background: var(--gray-100);
}

.why-us .col-md-3 {
    text-align: center;
    margin-bottom: 2rem;
}

.why-us i {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    transition: var(--transition);
    display: block;
}

.why-us .col-md-3:hover i {
    transform: scale(1.1) rotate(5deg);
    color: var(--primary-dark);
}

.why-us h4 {
    font-weight: 700;
    color: var(--gray-800);
    margin-bottom: 1rem;
}

.why-us p {
    color: var(--gray-600);
    font-size: 0.95rem;
}

/* ===== FOOTER ===== */
footer {
    background: var(--gray-900);
    color: var(--white);
    position: relative;
    overflow: hidden;
}

footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--gradient-primary);
}

footer h5 {
    color: var(--white);
    font-weight: 700;
    margin-bottom: 1.5rem;
    position: relative;
}

footer h5::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 30px;
    height: 2px;
    background: var(--primary-color);
}

footer p {
    color: var(--gray-400);
    margin-bottom: 0.5rem;
}

footer a {
    color: var(--gray-400);
    transition: var(--transition);
    display: inline-block;
}

footer a:hover {
    color: var(--primary-color);
    transform: translateX(5px);
}

.visitor-counter-box {
    background: var(--gradient-primary);
    color: var(--white);
    padding: 0.75rem 1.5rem;
    border-radius: var(--border-radius);
    font-weight: 700;
    font-size: 1.1rem;
    box-shadow: var(--box-shadow);
    animation: pulse 2s infinite;
    border: none;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

/* ===== ANIMATIONS ===== */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInLeft {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInUp {
    from {
        opacity: 0;
        transform: translateY(50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in-up {
    animation: fadeInUp 0.8s ease-out;
}

.fade-in-left {
    animation: fadeInLeft 0.8s ease-out;
}

.fade-in-right {
    animation: fadeInRight 0.8s ease-out;
}

.slide-in-up {
    animation: slideInUp 0.8s ease-out;
}

/* ===== BACK TO TOP BUTTON ===== */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: var(--gradient-primary);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
    z-index: 1000;
    box-shadow: var(--box-shadow-lg);
}

.back-to-top.active {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    background: var(--gradient-primary);
    color: var(--white);
    transform: translateY(-3px);
    box-shadow: var(--box-shadow-xl);
}

/* ===== CUSTOM SCROLLBAR ===== */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--gray-100);
}

::-webkit-scrollbar-thumb {
    background: var(--gradient-primary);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--primary-dark);
}

/* ===== FORM STYLES ===== */
.form-control {
    border: 2px solid var(--gray-200);
    border-radius: var(--border-radius);
    padding: 0.75rem 1rem;
    font-size: 1rem;
    transition: var(--transition);
    background: var(--white);
}

.form-control:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.2rem rgba(0, 123, 255, 0.15);
    outline: none;
}

.form-label {
    font-weight: 600;
    color: var(--gray-700);
    margin-bottom: 0.5rem;
}

/* ===== UTILITY CLASSES ===== */
.text-gradient {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.bg-gradient-primary {
    background: var(--gradient-primary);
}

.bg-gradient-secondary {
    background: var(--gradient-secondary);
}

.shadow-custom {
    box-shadow: var(--box-shadow);
}

.shadow-custom-lg {
    box-shadow: var(--box-shadow-lg);
}

.rounded-custom {
    border-radius: var(--border-radius);
}

.rounded-custom-lg {
    border-radius: var(--border-radius-lg);
}

/* ===== RESPONSIVE DESIGN ===== */
@media (max-width: 1200px) {
    .council-title-line1,
    .council-title-line2 {
        font-size: 1.4rem;
    }
}

@media (max-width: 992px) {
    .hero-section {
        min-height: 70vh;
    }
    
    .section-padding {
        padding: 4rem 0;
    }
    
    .council-title-line1,
    .council-title-line2 {
        font-size: 1.2rem;
    }
    
    .stat-item h3 {
        font-size: 2rem;
    }
}

@media (max-width: 768px) {
    html {
        font-size: 14px;
    }
    
    .hero-section {
        min-height: 60vh;
    }
    
    .section-padding {
        padding: 3rem 0;
    }
    
    .navbar-nav {
        gap: 0;
    }
    
    .nav-link {
        padding: 1rem !important;
        border-radius: 0;
        border-bottom: 1px solid var(--gray-200);
    }
    
    .nav-link:hover {
        background: var(--primary-light);
        color: var(--primary-color) !important;
    }
    
    .council-title-line1,
    .council-title-line2 {
        font-size: 1rem;
        line-height: 1.3;
        max-width: 250px;
        text-align: center;
        word-wrap: break-word;
    }
    
    .header-logo-title .navbar-brand {
        flex-direction: column;
        text-align: center;
    }
    
    .header-logo-title .navbar-brand img {
        height: 60px;
        margin-bottom: 0.5rem;
    }
    
    .quote-text {
        font-size: 1.2rem;
    }
    
    .btn-lg {
        padding: 0.75rem 1.5rem;
        font-size: 1rem;
    }
    
    .card {
        margin-bottom: 1.5rem;
    }
    
    .why-us i {
        font-size: 2.5rem;
    }
    
    .back-to-top {
        bottom: 20px;
        right: 20px;
        width: 45px;
        height: 45px;
    }
    
    .stat-item {
        padding: 1.5rem 0.5rem;
    }
    
    .stat-item h3 {
        font-size: 1.8rem;
    }
    
    .stat-item i {
        font-size: 2.5rem;
    }
    
    .scroll-indicator {
        bottom: 20px;
    }
    
    .scroll-arrow {
        width: 25px;
        height: 25px;
    }
}

@media (max-width: 576px) {
    .hero-section {
        min-height: 50vh;
    }
    
    .section-padding {
        padding: 2rem 0;
    }
    
    .council-title-line1,
    .council-title-line2 {
        font-size: 0.9rem;
        max-width: 200px;
    }
    
    .header-logo-title .navbar-brand img {
        height: 50px;
    }
    
    .quote-text {
        font-size: 1rem;
    }
    
    .quote-box {
        padding: 1.5rem;
    }
    
    .btn-lg {
        padding: 0.6rem 1.2rem;
        font-size: 0.9rem;
    }
    
    .card-body {
        padding: 1rem;
    }
    
    .why-us i {
        font-size: 2rem;
    }
    
    .why-us h4 {
        font-size: 1rem;
    }
    
    .why-us p {
        font-size: 0.85rem;
    }
    
    .back-to-top {
        bottom: 15px;
        right: 15px;
        width: 40px;
        height: 40px;
    }
    
    .visitor-counter-box {
        font-size: 0.9rem;
        padding: 0.5rem 1rem;
    }
    
    .stat-item {
        padding: 1rem 0.5rem;
    }
    
    .stat-item h3 {
        font-size: 1.5rem;
    }
    
    .stat-item i {
        font-size: 2rem;
    }
    
    .card-badge {
        font-size: 0.7rem;
        padding: 0.2rem 0.5rem;
    }
    
    .course-features .badge {
        font-size: 0.7rem;
        padding: 0.3rem 0.5rem;
    }
}

@media (max-width: 480px) {
    .hero-section {
        min-height: 45vh;
    }
    
    .council-title-line1,
    .council-title-line2 {
        font-size: 0.8rem;
        max-width: 180px;
    }
    
    .header-logo-title .navbar-brand img {
        height: 45px;
    }
    
    .quote-text {
        font-size: 0.9rem;
    }
    
    .quote-box {
        padding: 1rem;
    }
    
    .btn-lg {
        padding: 0.5rem 1rem;
        font-size: 0.8rem;
    }
    
    .section-title {
        font-size: 1.5rem;
    }
    
    .why-us i {
        font-size: 1.8rem;
    }
    
    .why-us h4 {
        font-size: 0.9rem;
    }
    
    .why-us p {
        font-size: 0.8rem;
    }
    
    .stat-item h3 {
        font-size: 1.3rem;
    }
    
    .stat-item i {
        font-size: 1.8rem;
    }
    
    .feature-item {
        padding: 1rem;
    }
    
    .feature-item i {
        font-size: 1.5rem;
    }
    
    .feature-item h5 {
        font-size: 1rem;
    }
    
    .feature-item p {
        font-size: 0.8rem;
    }
}

/* ===== TOUCH DEVICE OPTIMIZATIONS ===== */
@media (hover: none) and (pointer: coarse) {
    .card:hover {
        transform: none;
    }
    
    .btn:hover {
        transform: none;
    }
    
    .nav-link:hover {
        transform: none;
    }
    
    .why-us .col-md-3:hover i {
        transform: none;
    }
    
    .feature-item:hover {
        transform: none;
    }
    
    .feature-card:hover {
        transform: none;
    }
}

/* ===== LANDSCAPE ORIENTATION ADJUSTMENTS ===== */
@media (max-height: 500px) and (orientation: landscape) {
    .hero-section {
        min-height: 40vh;
    }
    
    .section-padding {
        padding: 2rem 0;
    }
    
    .quote-box {
        padding: 1rem;
    }
    
    .card {
        margin-bottom: 1rem;
    }
    
    .stat-item {
        padding: 1rem 0.5rem;
    }
    
    .stat-item h3 {
        font-size: 1.5rem;
    }
    
    .stat-item i {
        font-size: 1.8rem;
    }
}

/* ===== PRINT STYLES ===== */
@media print {
    .navbar,
    .top-bar,
    .notification-panel,
    .back-to-top,
    footer {
        display: none !important;
    }
    
    .hero-section {
        min-height: auto;
        padding: 2rem 0;
    }
    
    .card {
        box-shadow: none;
        border: 1px solid var(--gray-300);
    }
}
