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

:root {
    --saffron: #FF9933;
    --white: #FFFFFF;
    --green: #138808;
    --blue: #000080;
    --dark-green: #046A38;
    --light-saffron: #FFB366;
    --light-green: #4CAF50;
    --gray: #f5f5f5;
    --dark-gray: #222;
    --shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    --transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    --preamble-gold: #D4AF37;
    --preamble-maroon: #800000;
    --republic-blue: #1E3A8A;
    --republic-red: #DC2626;
    --republic-gold: #FBBF24;
    --gradient-primary: linear-gradient(135deg, var(--saffron) 0%, var(--preamble-maroon) 50%, var(--green) 100%);
    --gradient-secondary: linear-gradient(135deg, var(--republic-blue) 0%, var(--blue) 100%);
    --gradient-gold: linear-gradient(135deg, var(--republic-gold) 0%, #F59E0B 100%);
}

body {
    font-family: 'Poppins', sans-serif;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    color: var(--dark-gray);
    line-height: 1.8;
    min-height: 100vh;
    overflow-x: hidden;
    background-image: 
        radial-gradient(circle at 10% 20%, rgba(255, 153, 51, 0.08) 0%, transparent 25%),
        radial-gradient(circle at 90% 80%, rgba(19, 136, 8, 0.08) 0%, transparent 25%),
        radial-gradient(circle at 50% 50%, rgba(128, 0, 0, 0.05) 0%, transparent 30%);
}

.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 20px;
}

/* Preloader */
.preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--white) 0%, #f0f8ff 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    transition: opacity 0.5s ease;
}

.preloader-content {
    text-align: center;
}

.spinner {
    width: 80px;
    height: 80px;
    border: 5px solid rgba(255, 153, 51, 0.2);
    border-top: 5px solid var(--saffron);
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin: 0 auto 30px;
}

.preloader-text {
    font-family: 'Cinzel', serif;
    font-size: 2rem;
    color: var(--preamble-maroon);
    font-weight: 700;
    margin-bottom: 10px;
    letter-spacing: 1px;
}

.preloader-subtext {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.1rem;
    color: var(--dark-green);
    font-weight: 500;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Republic Day Top Banner */
.republic-top-banner {
    background: var(--gradient-primary);
    border-radius: 15px;
    margin-bottom: 30px;
    padding: 20px;
    box-shadow: 0 8px 25px rgba(139, 0, 0, 0.2);
    position: relative;
    overflow: hidden;
    animation: glow 2s ease-in-out infinite alternate;
}

@keyframes glow {
    from {
        box-shadow: 0 8px 25px rgba(139, 0, 0, 0.2);
    }
    to {
        box-shadow: 0 8px 35px rgba(139, 0, 0, 0.4);
    }
}

.banner-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
}

.banner-icon {
    font-size: 2.5rem;
    color: white;
    background: rgba(255, 255, 255, 0.2);
    width: 80px;
    height: 80px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: bounce 2s infinite;
}

.banner-text {
    flex: 1;
}

.banner-text h3 {
    font-family: 'Patua One', cursive;
    font-size: 2rem;
    color: white;
    margin-bottom: 5px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
    letter-spacing: 1px;
}

.banner-text p {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.9);
    font-weight: 500;
}

.banner-date {
    background: rgba(255, 255, 255, 0.9);
    padding: 15px;
    border-radius: 10px;
    text-align: center;
    min-width: 100px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.date-number {
    display: block;
    font-family: 'Cinzel', serif;
    font-size: 2.5rem;
    font-weight: 900;
    color: var(--preamble-maroon);
    line-height: 1;
}

.date-month {
    display: block;
    font-family: 'Montserrat', sans-serif;
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--saffron);
    text-transform: uppercase;
    letter-spacing: 2px;
}

@keyframes bounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

/* Header Styles */
header {
    text-align: center;
    margin-bottom: 60px;
    padding: 50px 30px;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.95) 0%, rgba(255, 250, 240, 0.95) 100%);
    border-radius: 25px;
    box-shadow: var(--shadow);
    border: 3px solid var(--preamble-maroon);
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(10px);
}

header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    background: linear-gradient(90deg, 
        var(--saffron) 0%, 
        #FFFFFF 25%, 
        var(--green) 50%, 
        #FFFFFF 75%, 
        var(--preamble-maroon) 100%);
}

/* Enhanced Indian Flag */
/* Flag container enhancements */
.flag-container {
    position: relative;
    width: 250px;
    height: 150px;
    margin: 0 auto 20px;
    perspective: 1000px;
}

/* Flag stand */
.flag-stand {
    position: absolute;
    bottom: -20px;
    left: 50%;
    transform: translateX(-50%);
    width: 6px;
    height: 40px;
    background: linear-gradient(to right, #8B4513, #A0522D, #8B4513);
    border-radius: 3px;
    z-index: 1;
}

/* Indian flag */
.indian-flag {
    position: relative;
    width: 100%;
    height: 100%;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    border: 2px solid rgba(255, 255, 255, 0.1);
}

/* Flag stripes */
.flag-top, .flag-middle, .flag-bottom {
    position: absolute;
    width: 100%;
    height: 33.33%;
}

.flag-top {
    top: 0;
    background: linear-gradient(135deg, #FF9933, #FF8C00, #FF9933);
}

.flag-middle {
    top: 33.33%;
    background: white;
}

.flag-bottom {
    bottom: 0;
    background: linear-gradient(135deg, #138808, #006400, #138808);
}

/* Ashoka Chakra - FIXED POSITION */
.ashoka-chakra {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 60px;
    height: 60px;
    z-index: 2;
}

.chakra {
    position: relative;
    width: 100%;
    height: 100%;
    animation: rotateChakra 20s linear infinite;
}

.chakra-center {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 20px;
    height: 20px;
    background-color: #000080;
    border-radius: 50%;
    z-index: 3;
}

/* Spokes styling - improved */
.spoke {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 2px;
    height: 30px;
    background-color: #000080;
    transform-origin: center 0;
    border-radius: 1px;
}

/* Flag shine effect */
.flag-shine {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, 
        rgba(255, 255, 255, 0) 0%,
        rgba(255, 255, 255, 0.1) 50%,
        rgba(255, 255, 255, 0) 100%);
}

/* Animation for chakra rotation */
@keyframes rotateChakra {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .flag-container {
        width: 200px;
        height: 120px;
    }
    
    .ashoka-chakra {
        width: 50px;
        height: 50px;
    }
    
    .chakra-center {
        width: 16px;
        height: 16px;
    }
    
    .spoke {
        width: 1.5px;
        height: 25px;
    }
}

@media (max-width: 480px) {
    .flag-container {
        width: 150px;
        height: 90px;
    }
    
    .ashoka-chakra {
        width: 40px;
        height: 40px;
    }
    
    .chakra-center {
        width: 12px;
        height: 12px;
    }
    
    .spoke {
        width: 1px;
        height: 20px;
    }
}

/* Add to existing animations if needed */
.animate__animated {
    --animate-duration: 1s;
}

/* Optional: Add a subtle pulse animation to the flag */
@keyframes flagPulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.02);
    }
}

.indian-flag {
    animation: flagPulse 3s ease-in-out infinite;
}
/* Header Text */
.header-text {
    margin-top: 40px;
}

.main-title {
    margin-bottom: 30px;
}

.title-main {
    font-family: 'Cinzel', serif;
    font-size: 4.5rem;
    color: var(--preamble-maroon);
    margin-bottom: 10px;
    text-shadow: 3px 3px 6px rgba(0, 0, 0, 0.1);
    letter-spacing: 2px;
    font-weight: 900;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.title-sub {
    font-family: 'Playfair Display', serif;
    font-size: 2.2rem;
    color: var(--dark-green);
    margin-bottom: 20px;
    font-weight: 700;
    letter-spacing: 1px;
}

.title-decoration {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    margin-top: 20px;
}

.decoration-line {
    flex: 1;
    height: 3px;
    background: linear-gradient(90deg, transparent, var(--saffron), transparent);
}

.decoration-star {
    font-size: 1.5rem;
    color: var(--saffron);
    animation: rotate 4s linear infinite;
}

@keyframes rotate {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.subtitle {
    font-family: 'Noto Serif', serif;
    font-size: 1.4rem;
    color: #555;
    max-width: 800px;
    margin: 30px auto;
    line-height: 1.8;
    font-style: italic;
    padding: 0 20px;
}

.subtitle i {
    color: var(--saffron);
    margin: 0 10px;
}

.independence-date {
    display: inline-flex;
    align-items: center;
    gap: 20px;
    background: linear-gradient(135deg, rgba(139, 0, 0, 0.9), rgba(255, 153, 51, 0.9));
    color: white;
    padding: 20px 40px;
    border-radius: 50px;
    margin: 30px auto;
    box-shadow: 0 10px 25px rgba(139, 0, 0, 0.3);
    border: 2px solid white;
    position: relative;
    overflow: hidden;
}

.independence-date::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, transparent 30%, rgba(255, 255, 255, 0.2) 50%, transparent 70%);
    animation: shimmer 3s infinite;
}

.date-icon {
    font-size: 2rem;
    animation: pulse 2s infinite;
}

.date-text {
    text-align: left;
}

.date-main {
    display: block;
    font-family: 'Montserrat', sans-serif;
    font-size: 1.6rem;
    font-weight: 800;
    margin-bottom: 5px;
}

.date-sub {
    display: block;
    font-family: 'Poppins', sans-serif;
    font-size: 1rem;
    opacity: 0.9;
    font-weight: 500;
}

.header-stats {
    display: flex;
    justify-content: center;
    gap: 40px;
    margin-top: 40px;
    flex-wrap: wrap;
}

.stat-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    padding: 20px;
    background: white;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    min-width: 150px;
    transition: var(--transition);
    border-top: 4px solid var(--saffron);
}

.stat-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.stat-item i {
    font-size: 2.5rem;
    color: var(--preamble-maroon);
}

.stat-item span {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--dark-green);
    text-align: center;
}

/* Countdown Section */
.countdown-section {
    margin: 60px 0;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.95), rgba(240, 248, 255, 0.95));
    border-radius: 20px;
    padding: 40px;
    box-shadow: var(--shadow);
    border: 2px solid var(--saffron);
    position: relative;
    overflow: hidden;
}

.countdown-container {
    text-align: center;
    position: relative;
    z-index: 2;
}

.countdown-title {
    font-family: 'Cinzel', serif;
    font-size: 2.5rem;
    color: var(--preamble-maroon);
    margin-bottom: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
}

.countdown-title i {
    color: var(--saffron);
    animation: pulse 2s infinite;
}

.countdown-timer {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    margin: 40px 0;
    flex-wrap: wrap;
}

.countdown-item {
    background: white;
    border-radius: 15px;
    padding: 30px 20px;
    min-width: 120px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    border-top: 5px solid var(--green);
    transition: var(--transition);
}

.countdown-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.15);
}

.countdown-number {
    display: block;
    font-family: 'Montserrat', sans-serif;
    font-size: 3.5rem;
    font-weight: 900;
    color: var(--preamble-maroon);
    line-height: 1;
    margin-bottom: 10px;
}

.countdown-label {
    display: block;
    font-family: 'Poppins', sans-serif;
    font-size: 1.2rem;
    color: var(--dark-green);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.countdown-separator {
    font-family: 'Montserrat', sans-serif;
    font-size: 3rem;
    color: var(--saffron);
    font-weight: 700;
    margin: 0 5px;
}

.countdown-message {
    font-family: 'Playfair Display', serif;
    font-size: 1.4rem;
    color: var(--blue);
    margin-top: 30px;
    font-style: italic;
    font-weight: 500;
}

/* Republic Day Banner */
.republic-day-banner {
    background: var(--gradient-primary);
    border-radius: 20px;
    padding: 40px;
    margin: 40px 0;
    position: relative;
    overflow: hidden;
    box-shadow: 0 15px 40px rgba(139, 0, 0, 0.3);
}

.banner-glow {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at center, rgba(255, 255, 255, 0.2) 0%, transparent 70%);
    animation: pulse 3s ease-in-out infinite alternate;
}

.banner-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
    position: relative;
    z-index: 2;
}

.banner-icon-left,
.banner-icon-right {
    font-size: 4rem;
    color: white;
    animation: float 3s ease-in-out infinite;
}

.banner-icon-left {
    animation-delay: 0.5s;
}

.banner-icon-right {
    animation-delay: 1s;
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-20px); }
}

.banner-text-center {
    flex: 1;
    text-align: center;
}

.banner-title {
    margin-bottom: 20px;
}

.banner-title-main {
    display: block;
    font-family: 'Patua One', cursive;
    font-size: 3rem;
    color: white;
    margin-bottom: 10px;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.3);
    letter-spacing: 2px;
}

.banner-title-sub {
    display: block;
    font-family: 'Noto Serif', serif;
    font-size: 1.8rem;
    color: rgba(255, 255, 255, 0.9);
    font-weight: 600;
}

.banner-description {
    font-family: 'Playfair Display', serif;
    font-size: 1.6rem;
    color: white;
    font-style: italic;
    margin-top: 20px;
    text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.2);
}

/* Section Headers */
.section-header {
    text-align: center;
    margin-bottom: 60px;
    position: relative;
}

.section-title {
    font-family: 'Cinzel', serif;
    font-size: 3rem;
    color: var(--preamble-maroon);
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.section-title i {
    color: var(--saffron);
    font-size: 2.5rem;
    animation: pulse 2s infinite;
}

.title-decoration {
    color: var(--saffron);
    font-size: 2rem;
    animation: rotate 4s linear infinite;
}

.section-description {
    font-family: 'Playfair Display', serif;
    font-size: 1.3rem;
    color: #555;
    max-width: 900px;
    margin: 0 auto;
    line-height: 1.8;
    font-weight: 500;
}

.section-subtitle {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.1rem;
    color: #666;
    margin-top: 10px;
    font-weight: 500;
}

/* Fighters Grid */
.fighters-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(380px, 1fr));
    gap: 40px;
    margin-top: 60px;
}

/* Fighter Card - Enhanced */
.fighter-card {
    background: white;
    border-radius: 25px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
    cursor: pointer;
    position: relative;
    border: 3px solid transparent;
    transform-style: preserve-3d;
    perspective: 1000px;
}

.fighter-card:hover {
    transform: translateY(-20px) rotateX(5deg);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.2);
    border-color: var(--preamble-maroon);
}

.fighter-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, transparent 40%, rgba(255, 153, 51, 0.1) 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
}

.fighter-card:hover::before {
    opacity: 1;
}

.fighter-image {
    position: relative;
    height: 320px;
    overflow: hidden;
}

.fighter-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.fighter-card:hover .fighter-image img {
    transform: scale(1.1);
}

.image-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to bottom, transparent 40%, rgba(0, 0, 0, 0.8) 100%);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-end;
    padding: 30px;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.fighter-card:hover .image-overlay {
    opacity: 1;
}

.overlay-text {
    color: white;
    font-family: 'Montserrat', sans-serif;
    font-size: 1.1rem;
    font-weight: 600;
    text-align: center;
    padding: 12px 25px;
    background: rgba(139, 0, 0, 0.9);
    border-radius: 8px;
    margin-bottom: 15px;
    transform: translateY(20px);
    transition: transform 0.3s ease;
}

.fighter-card:hover .overlay-text {
    transform: translateY(0);
}

.overlay-icon {
    color: var(--saffron);
    font-size: 1.5rem;
    animation: bounceRight 1s infinite alternate;
}

@keyframes bounceRight {
    from { transform: translateX(0); }
    to { transform: translateX(10px); }
}

.corner-tag {
    position: absolute;
    top: 25px;
    right: 25px;
    background: linear-gradient(135deg, var(--preamble-maroon), #8B0000);
    color: white;
    padding: 10px 25px;
    border-radius: 30px;
    font-family: 'Montserrat', sans-serif;
    font-size: 0.9rem;
    font-weight: 700;
    z-index: 2;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    display: flex;
    align-items: center;
    gap: 8px;
    border: 2px solid white;
}

.fighter-info {
    padding: 35px;
}

.fighter-info h3 {
    font-family: 'Cinzel', serif;
    font-size: 2.2rem;
    color: var(--dark-green);
    margin-bottom: 20px;
    font-weight: 800;
    position: relative;
    display: inline-block;
}

.fighter-info h3::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 60px;
    height: 3px;
    background: var(--saffron);
    border-radius: 2px;
}

.fighter-meta {
    display: flex;
    gap: 30px;
    margin-bottom: 25px;
    flex-wrap: wrap;
}

.fighter-meta span {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: #666;
    font-family: 'Poppins', sans-serif;
    font-size: 1rem;
    font-weight: 500;
}

.fighter-meta i {
    color: var(--saffron);
    font-size: 1.1rem;
}

.fighter-quote {
    color: var(--blue);
    font-style: italic;
    font-size: 1.2rem;
    padding-left: 20px;
    border-left: 4px solid var(--saffron);
    margin: 25px 0;
    font-family: 'Playfair Display', serif;
    font-weight: 500;
    line-height: 1.6;
}

.quote-icon {
    color: var(--saffron);
    font-size: 1rem;
    margin: 0 5px;
}

.fighter-actions {
    margin-top: 25px;
}

.quick-view {
    background: linear-gradient(135deg, var(--saffron), #FF8C00);
    color: white;
    border: none;
    padding: 12px 30px;
    border-radius: 50px;
    font-family: 'Montserrat', sans-serif;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    transition: var(--transition);
    box-shadow: 0 5px 15px rgba(255, 153, 51, 0.3);
}

.quick-view:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(255, 153, 51, 0.4);
    background: linear-gradient(135deg, #FF8C00, var(--saffron));
}

/* Constitution Makers Section */
.constitution-makers {
    margin: 80px 0;
    background: linear-gradient(135deg, rgba(255, 248, 225, 0.9), rgba(255, 243, 224, 0.9));
    border-radius: 30px;
    padding: 60px 40px;
    box-shadow: var(--shadow);
    border: 3px solid var(--preamble-gold);
    position: relative;
    overflow: hidden;
}

.constitution-makers::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    background: linear-gradient(90deg, var(--saffron), var(--white), var(--green), var(--preamble-maroon));
}

.makers-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
    margin-top: 60px;
}

.maker-card {
    background: white;
    padding: 40px 30px;
    border-radius: 25px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: var(--transition);
    border-top: 8px solid var(--preamble-gold);
    position: relative;
    overflow: hidden;
}

.maker-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, transparent 40%, rgba(212, 175, 55, 0.05) 100%);
    pointer-events: none;
}

.maker-card:hover {
    transform: translateY(-15px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.maker-avatar {
    width: 140px;
    height: 140px;
    margin: 0 auto 30px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3.5rem;
    color: white;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
    border: 5px solid white;
    position: relative;
}

.maker-avatar::after {
    content: '';
    position: absolute;
    top: -10px;
    left: -10px;
    right: -10px;
    bottom: -10px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--preamble-gold), transparent 70%);
    z-index: -1;
    opacity: 0.3;
}

.ambedkar-avatar { 
    background: linear-gradient(135deg, var(--blue), #4169E1); 
}

.nehra-avatar { 
    background: linear-gradient(135deg, var(--saffron), #FFB366); 
}

.prasad-avatar { 
    background: linear-gradient(135deg, var(--green), #4CAF50); 
}

.maker-card h3 {
    font-family: 'Cinzel', serif;
    font-size: 2rem;
    color: var(--dark-green);
    margin-bottom: 10px;
    font-weight: 800;
}

.maker-title {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.1rem;
    color: var(--preamble-maroon);
    font-weight: 700;
    margin-bottom: 20px;
    padding: 8px 20px;
    background: rgba(139, 0, 0, 0.1);
    border-radius: 20px;
    display: inline-block;
}

.maker-description {
    font-family: 'Poppins', sans-serif;
    font-size: 1rem;
    color: #555;
    line-height: 1.7;
    margin-bottom: 25px;
}

.maker-facts {
    display: flex;
    justify-content: center;
    gap: 15px;
    flex-wrap: wrap;
}

.maker-facts span {
    font-family: 'Montserrat', sans-serif;
    font-size: 0.9rem;
    color: var(--saffron);
    font-weight: 600;
    padding: 8px 18px;
    background: rgba(255, 153, 51, 0.1);
    border-radius: 20px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.maker-facts i {
    font-size: 0.9rem;
}

/* Biography Section */
.bio-section {
    margin: 80px 0;
    background: white;
    border-radius: 30px;
    padding: 50px;
    box-shadow: var(--shadow);
    border: 3px solid var(--light-green);
    position: relative;
    overflow: hidden;
}

.bio-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    background: linear-gradient(90deg, var(--green), var(--light-green), var(--saffron));
}

#bio-container {
    min-height: 500px;
    transition: opacity 0.4s ease;
}

.bio-placeholder {
    text-align: center;
    padding: 80px 40px;
    background: linear-gradient(135deg, rgba(248, 249, 250, 0.8), rgba(233, 236, 239, 0.8));
    border-radius: 25px;
    border: 3px dashed var(--light-saffron);
    position: relative;
}

.bio-placeholder::before {
    content: '';
    position: absolute;
    top: 20px;
    left: 20px;
    right: 20px;
    bottom: 20px;
    border: 2px solid rgba(255, 153, 51, 0.1);
    border-radius: 15px;
    pointer-events: none;
}

.placeholder-icon {
    font-size: 5rem;
    color: var(--saffron);
    margin-bottom: 30px;
    animation: bounce 2s infinite;
    position: relative;
}

.placeholder-icon::after {
    content: '';
    position: absolute;
    top: -10px;
    left: -10px;
    right: -10px;
    bottom: -10px;
    border-radius: 50%;
    background: rgba(255, 153, 51, 0.1);
    z-index: -1;
}

.bio-placeholder h3 {
    font-family: 'Cinzel', serif;
    font-size: 2.5rem;
    color: var(--dark-green);
    margin-bottom: 20px;
    font-weight: 800;
}

.bio-placeholder p {
    font-family: 'Playfair Display', serif;
    font-size: 1.2rem;
    color: #666;
    max-width: 700px;
    margin: 0 auto 30px;
    line-height: 1.8;
    font-weight: 500;
}

.placeholder-tip {
    display: inline-flex;
    align-items: center;
    gap: 15px;
    background: linear-gradient(135deg, var(--preamble-maroon), #8B0000);
    color: white;
    padding: 15px 30px;
    border-radius: 50px;
    margin-top: 30px;
    font-family: 'Montserrat', sans-serif;
    font-size: 1.1rem;
    font-weight: 600;
    box-shadow: 0 5px 20px rgba(139, 0, 0, 0.2);
}

.placeholder-tip i {
    font-size: 1.4rem;
    animation: pulse 2s infinite;
}

/* Preamble Section */
.preamble-section {
    margin: 100px 0;
}

.preamble-container {
    background: linear-gradient(135deg, rgba(255, 248, 225, 0.95), rgba(255, 243, 224, 0.95));
    border-radius: 30px;
    padding: 50px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
    border: 4px solid var(--preamble-gold);
    position: relative;
    overflow: hidden;
}

.constitution-badge {
    position: absolute;
    top: 20px;
    right: 20px;
    background: linear-gradient(135deg, var(--preamble-maroon), #8B0000);
    color: white;
    padding: 10px 25px;
    border-radius: 30px;
    font-family: 'Montserrat', sans-serif;
    font-size: 0.9rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 10px;
    box-shadow: 0 5px 15px rgba(139, 0, 0, 0.2);
    z-index: 2;
}

.preamble-card {
    position: relative;
    z-index: 1;
}

.preamble-header {
    display: flex;
    align-items: center;
    gap: 40px;
    margin-bottom: 60px;
    padding-bottom: 30px;
    border-bottom: 3px solid var(--preamble-gold);
    flex-wrap: wrap;
}

.constitution-icon {
    width: 100px;
    height: 100px;
    background: linear-gradient(135deg, var(--preamble-maroon), #8B0000);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 3.5rem;
    box-shadow: 0 10px 30px rgba(139, 0, 0, 0.3);
    border: 5px solid rgba(255, 255, 255, 0.2);
}

.preamble-title h3 {
    font-family: 'Cinzel', serif;
    font-size: 2.8rem;
    color: var(--preamble-maroon);
    margin-bottom: 10px;
    font-weight: 900;
    letter-spacing: 1px;
}

.adopted-date {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.2rem;
    color: var(--saffron);
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 10px;
}

.preamble-text {
    font-family: 'Noto Serif', serif;
    line-height: 1.9;
    margin-bottom: 60px;
}

.language-tabs {
    display: flex;
    gap: 20px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.tab-btn {
    background: transparent;
    border: 2px solid var(--preamble-maroon);
    color: var(--preamble-maroon);
    padding: 12px 30px;
    border-radius: 50px;
    font-family: 'Montserrat', sans-serif;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    gap: 10px;
}

.tab-btn.active {
    background: var(--preamble-maroon);
    color: white;
    box-shadow: 0 5px 15px rgba(139, 0, 0, 0.2);
}

.tab-btn:hover:not(.active) {
    background: rgba(139, 0, 0, 0.1);
    transform: translateY(-3px);
}

.preamble-content {
    display: none;
    animation: fadeIn 0.6s ease;
}

.preamble-content.active {
    display: block;
}

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

.preamble-quote {
    background: white;
    padding: 50px;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    border: 2px solid rgba(212, 175, 55, 0.2);
}

.preamble-quote p {
    font-size: 1.3rem;
    color: #333;
    margin-bottom: 25px;
    line-height: 1.9;
    font-weight: 500;
}

.highlight {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    justify-content: center;
    margin: 40px 0;
}

.highlight span {
    background: linear-gradient(135deg, rgba(255, 153, 51, 0.1), rgba(139, 0, 0, 0.1));
    color: var(--preamble-maroon);
    padding: 15px 30px;
    border-radius: 10px;
    font-family: 'Cinzel', serif;
    font-size: 1.3rem;
    font-weight: 800;
    border: 2px solid rgba(255, 153, 51, 0.2);
    transition: var(--transition);
}

.highlight span:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(139, 0, 0, 0.1);
    background: linear-gradient(135deg, rgba(255, 153, 51, 0.2), rgba(139, 0, 0, 0.2));
}

.preamble-points {
    margin: 40px 0;
}

.point-card {
    display: flex;
    align-items: center;
    gap: 20px;
    margin: 25px 0;
    padding: 25px;
    background: linear-gradient(135deg, rgba(248, 249, 250, 0.8), white);
    border-radius: 15px;
    border-left: 5px solid var(--green);
    transition: var(--transition);
}

.point-card:hover {
    transform: translateX(10px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.05);
}

.point-card i {
    font-size: 2rem;
    color: var(--saffron);
    min-width: 50px;
}

.point {
    font-family: 'Cinzel', serif;
    font-size: 1.4rem;
    color: var(--preamble-maroon);
    font-weight: 800;
    margin-right: 5px;
}

.conclusion {
    color: var(--blue);
    font-style: italic;
    font-weight: 600;
    margin-top: 40px;
    padding-top: 30px;
    border-top: 2px solid rgba(0, 0, 128, 0.1);
    font-size: 1.2rem;
}

.preamble-keywords {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 30px;
    margin: 60px 0;
}

.keyword-card {
    background: white;
    padding: 30px;
    border-radius: 20px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    transition: var(--transition);
    border-top: 6px solid var(--preamble-gold);
    position: relative;
    overflow: hidden;
}

.keyword-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, transparent 40%, rgba(212, 175, 55, 0.05) 100%);
}

.keyword-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.12);
}

.keyword-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 25px;
    background: linear-gradient(135deg, var(--preamble-maroon), #8B0000);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 2.5rem;
    box-shadow: 0 8px 25px rgba(139, 0, 0, 0.2);
}

.keyword-card h5 {
    font-family: 'Cinzel', serif;
    font-size: 1.3rem;
    color: var(--dark-green);
    margin-bottom: 15px;
    font-weight: 800;
}

.keyword-card p {
    font-family: 'Poppins', sans-serif;
    font-size: 1rem;
    color: #555;
    line-height: 1.6;
}

.preamble-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 40px;
    margin-top: 50px;
    border-top: 3px solid rgba(212, 175, 55, 0.2);
    flex-wrap: wrap;
    gap: 25px;
}

.audio-btn, .download-btn {
    padding: 15px 40px;
    border-radius: 50px;
    font-family: 'Montserrat', sans-serif;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    gap: 12px;
    border: none;
}

.audio-btn {
    background: linear-gradient(135deg, var(--preamble-maroon), #8B0000);
    color: white;
    box-shadow: 0 8px 25px rgba(139, 0, 0, 0.2);
}

.audio-btn:hover, .audio-btn.playing {
    transform: translateY(-5px);
    box-shadow: 0 12px 30px rgba(139, 0, 0, 0.3);
    background: linear-gradient(135deg, #5a0000, #8B0000);
}

.download-btn {
    background: linear-gradient(135deg, var(--green), #4CAF50);
    color: white;
    box-shadow: 0 8px 25px rgba(19, 136, 8, 0.2);
}

.download-btn:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 30px rgba(19, 136, 8, 0.3);
    background: linear-gradient(135deg, #046A38, #4CAF50);
}

.constitution-fact {
    display: inline-flex;
    align-items: center;
    gap: 15px;
    background: rgba(255, 153, 51, 0.1);
    color: var(--preamble-maroon);
    padding: 15px 30px;
    border-radius: 50px;
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    border: 2px solid rgba(139, 0, 0, 0.1);
}

.constitution-fact i {
    color: var(--saffron);
    font-size: 1.2rem;
}

/* Facts Section */
.facts-section {
    margin: 80px 0;
}

.facts-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 40px;
    margin-top: 60px;
}

.fact-card {
    background: white;
    border-radius: 25px;
    padding: 40px 30px;
    text-align: center;
    box-shadow: var(--shadow);
    transition: var(--transition);
    border-top: 8px solid var(--saffron);
    position: relative;
    overflow: hidden;
}

.fact-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, transparent 40%, rgba(255, 153, 51, 0.05) 100%);
}

.fact-card:hover {
    transform: translateY(-15px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.fact-icon {
    width: 100px;
    height: 100px;
    margin: 0 auto 30px;
    background: linear-gradient(135deg, var(--saffron), #FF8C00);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 3rem;
    box-shadow: 0 10px 25px rgba(255, 153, 51, 0.3);
}

.fact-card h3 {
    font-family: 'Cinzel', serif;
    font-size: 1.8rem;
    color: var(--dark-green);
    margin-bottom: 20px;
    font-weight: 800;
}

.fact-card p {
    font-family: 'Poppins', sans-serif;
    font-size: 1.1rem;
    color: #555;
    line-height: 1.7;
}

/* Wishes Section */
.wishes-section {
    margin: 80px 0;
    background: linear-gradient(135deg, var(--saffron), rgba(255, 255, 255, 0.8), var(--green));
    border-radius: 30px;
    padding: 60px;
    box-shadow: var(--shadow);
    position: relative;
    overflow: hidden;
}

.wishes-container {
    display: flex;
    align-items: center;
    gap: 60px;
    position: relative;
    z-index: 2;
    flex-wrap: wrap;
}

.wishes-content {
    flex: 1;
    min-width: 300px;
}

.wishes-title {
    font-family: 'Cinzel', serif;
    font-size: 3rem;
    color: var(--preamble-maroon);
    margin-bottom: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.wishes-title i {
    color: var(--saffron);
    font-size: 2.5rem;
    animation: pulse 2s infinite;
}

.wishes-message {
    font-family: 'Playfair Display', serif;
    font-size: 1.8rem;
    color: var(--dark-green);
    margin-bottom: 40px;
    font-style: italic;
    font-weight: 600;
    line-height: 1.6;
    text-align: center;
}

.wishes-actions {
    display: flex;
    gap: 25px;
    justify-content: center;
    flex-wrap: wrap;
}

.wish-btn, .share-btn {
    padding: 18px 45px;
    border-radius: 50px;
    font-family: 'Montserrat', sans-serif;
    font-size: 1.2rem;
    font-weight: 700;
    cursor: pointer;
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    gap: 15px;
    border: none;
}

.wish-btn {
    background: linear-gradient(135deg, var(--preamble-maroon), #8B0000);
    color: white;
    box-shadow: 0 10px 30px rgba(139, 0, 0, 0.3);
}

.wish-btn:hover {
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 15px 40px rgba(139, 0, 0, 0.4);
    background: linear-gradient(135deg, #5a0000, #8B0000);
}

.share-btn {
    background: linear-gradient(135deg, var(--green), #4CAF50);
    color: white;
    box-shadow: 0 10px 30px rgba(19, 136, 8, 0.3);
}

.share-btn:hover {
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 15px 40px rgba(19, 136, 8, 0.4);
    background: linear-gradient(135deg, #046A38, #4CAF50);
}

.wishes-image {
    flex-shrink: 0;
}

.image-frame {
    width: 200px;
    height: 200px;
    background: linear-gradient(135deg, var(--saffron), var(--white), var(--green));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
    border: 8px solid white;
    animation: float 3s ease-in-out infinite;
}

.image-frame i {
    font-size: 6rem;
    color: var(--preamble-maroon);
}

/* Footer */
footer {
    margin-top: 100px;
    background: linear-gradient(135deg, var(--dark-green) 0%, #0A4D2E 100%);
    color: white;
    border-radius: 30px;
    overflow: hidden;
    position: relative;
    box-shadow: 0 -20px 50px rgba(0, 0, 0, 0.2);
}

footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    background: linear-gradient(90deg, var(--saffron), var(--white), var(--green));
}

.footer-content {
    padding: 60px 40px;
}

.footer-top {
    display: flex;
    align-items: center;
    gap: 60px;
    margin-bottom: 50px;
    flex-wrap: wrap;
}

.footer-flag {
    width: 400px;
    height: 80px;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    display: flex;
    flex-shrink: 0;
}

.footer-stripe {
    flex: 1;
    position: relative;
}

.footer-stripe.white {
    display: flex;
    align-items: center;
    justify-content: center;
}

.footer-chakra {
    width: 40px;
    height: 40px;
    background: var(--blue);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.5rem;
}

.footer-text {
    flex: 1;
    min-width: 300px;
}

.footer-title {
    font-family: 'Cinzel', serif;
    font-size: 3rem;
    margin-bottom: 25px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
    text-align: center;
}

.footer-title i {
    color: var(--saffron);
    animation: pulse 2s infinite;
}

.footer-message {
    font-family: 'Playfair Display', serif;
    font-size: 1.4rem;
    margin-bottom: 20px;
    line-height: 1.8;
    opacity: 0.9;
    text-align: center;
    font-style: italic;
}

.footer-note {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.1rem;
    opacity: 0.8;
    text-align: center;
    font-weight: 500;
}

.footer-middle {
    margin: 40px 0;
    padding: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    border: 2px solid rgba(255, 255, 255, 0.2);
}

.footer-quote {
    text-align: center;
    position: relative;
}

.footer-quote p {
    font-family: 'Cinzel', serif;
    font-size: 2rem;
    margin-bottom: 15px;
    line-height: 1.6;
    font-weight: 500;
}

.footer-quote i {
    color: var(--saffron);
    font-size: 2rem;
    margin: 0 15px;
}

.quote-author {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.3rem;
    color: var(--saffron);
    font-weight: 600;
    font-style: italic;
}

.footer-actions {
    margin: 40px 0;
    display: flex;
    gap: 25px;
    justify-content: center;
    flex-wrap: wrap;
}

.patriotic-btn, .anthem-btn, .fact-btn {
    padding: 18px 45px;
    border-radius: 50px;
    font-family: 'Montserrat', sans-serif;
    font-size: 1.2rem;
    font-weight: 700;
    cursor: pointer;
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    gap: 15px;
    border: 2px solid white;
}

.patriotic-btn {
    background: var(--saffron);
    color: white;
}

.anthem-btn {
    background: var(--blue);
    color: white;
}

.fact-btn {
    background: var(--preamble-maroon);
    color: white;
}

.patriotic-btn:hover, .anthem-btn:hover, .fact-btn:hover {
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.3);
}

.patriotic-btn:hover {
    background: #e68900;
}

.anthem-btn:hover {
    background: #000052;
}

.fact-btn:hover {
    background: #5a0000;
}

.footer-bottom {
    margin-top: 50px;
    padding-top: 40px;
    border-top: 2px solid rgba(255, 255, 255, 0.2);
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 25px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.social-link {
    width: 60px;
    height: 60px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.5rem;
    transition: var(--transition);
    border: 2px solid transparent;
}

.social-link:hover {
    background: var(--saffron);
    transform: translateY(-5px);
    border-color: white;
    box-shadow: 0 10px 25px rgba(255, 153, 51, 0.3);
}

.copyright {
    text-align: center;
    opacity: 0.8;
}

.copyright p {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.1rem;
    margin-bottom: 10px;
}

.heart-beat {
    color: #FF6B6B;
    animation: heartbeat 1.5s ease-in-out infinite;
}

@keyframes heartbeat {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.2); }
}

.highlight-text {
    color: var(--saffron);
    font-weight: 800;
    background: linear-gradient(135deg, var(--saffron), var(--preamble-maroon));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: shine 2s ease-in-out infinite alternate;
}

@keyframes shine {
    from {
        background-position: 0% center;
    }
    to {
        background-position: 100% center;
    }
}

.copyright-sub {
    font-size: 1rem;
    opacity: 0.7;
}

#years-of-republic {
    font-weight: 900;
    color: var(--saffron);
    font-size: 1.2rem;
}

/* Responsive Design */
@media (max-width: 1200px) {
    .fighters-grid {
        grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    }
    
    .makers-grid {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    }
    
    .facts-grid {
        grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    }
}

@media (max-width: 992px) {
    .title-main {
        font-size: 3.5rem;
    }
    
    .title-sub {
        font-size: 1.8rem;
    }
    
    .section-title {
        font-size: 2.5rem;
    }
    
    .banner-title-main {
        font-size: 2.5rem;
    }
    
    .wishes-container {
        flex-direction: column;
        text-align: center;
    }
    
    .wishes-image {
        order: -1;
        margin-bottom: 40px;
    }
    
    .footer-top {
        flex-direction: column;
        text-align: center;
    }
    
    .footer-flag {
        width: 100%;
        max-width: 400px;
    }
}

@media (max-width: 768px) {
    .container {
        padding: 15px;
    }
    
    header {
        padding: 30px 20px;
    }
    
    .title-main {
        font-size: 2.8rem;
    }
    
    .title-sub {
        font-size: 1.5rem;
    }
    
    .indian-flag {
        width: 250px;
        height: 150px;
    }
    
    .fighters-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .maker-card, .fact-card {
        padding: 30px 20px;
    }
    
    .section-title {
        font-size: 2rem;
        gap: 10px;
    }
    
    .section-title i {
        font-size: 1.8rem;
    }
    
    .banner-content {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }
    
    .banner-icon-left,
    .banner-icon-right {
        order: 2;
    }
    
    .banner-title-main {
        font-size: 2rem;
    }
    
    .banner-title-sub {
        font-size: 1.3rem;
    }
    
    .countdown-timer {
        gap: 15px;
    }
    
    .countdown-item {
        min-width: 100px;
        padding: 20px 15px;
    }
    
    .countdown-number {
        font-size: 2.8rem;
    }
    
    .preamble-container,
    .bio-section,
    .constitution-makers {
        padding: 30px 20px;
    }
    
    .preamble-quote {
        padding: 30px 20px;
    }
    
    .preamble-footer,
    .wishes-actions,
    .footer-actions {
        flex-direction: column;
        align-items: center;
    }
    
    .preamble-footer button,
    .wishes-actions button,
    .footer-actions button {
        width: 100%;
        max-width: 300px;
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .title-main {
        font-size: 2.2rem;
    }
    
    .subtitle {
        font-size: 1.1rem;
        padding: 0 10px;
    }
    
    .independence-date {
        padding: 15px 25px;
    }
    
    .date-main {
        font-size: 1.3rem;
    }
    
    .stat-item {
        min-width: 130px;
        padding: 15px;
    }
    
    .fighter-info {
        padding: 25px;
    }
    
    .fighter-info h3 {
        font-size: 1.8rem;
    }
    
    .fighter-quote {
        font-size: 1.1rem;
    }
    
    .preamble-title h3 {
        font-size: 2rem;
    }
    
    .highlight span {
        font-size: 1.1rem;
        padding: 12px 20px;
    }
    
    .point-card {
        padding: 20px;
        flex-direction: column;
        text-align: center;
        gap: 15px;
    }
    
    .footer-title {
        font-size: 2.2rem;
    }
    
    .footer-message {
        font-size: 1.2rem;
    }
    
    .social-links {
        gap: 15px;
    }
    
    .social-link {
        width: 50px;
        height: 50px;
        font-size: 1.2rem;
    }
}

/* Print Styles */
@media print {
    .preloader,
    .republic-top-banner,
    .countdown-section,
    .wishes-section,
    .footer-actions,
    .social-links,
    .constitution-badge,
    .language-tabs,
    .preamble-footer button,
    .image-overlay,
    .corner-tag,
    .fighter-actions {
        display: none !important;
    }
    
    body {
        background: white !important;
        color: black !important;
        font-size: 12pt !important;
    }
    
    .container {
        max-width: 100% !important;
        padding: 20pt !important;
    }
    
    header, section, footer {
        box-shadow: none !important;
        border: 1px solid #ccc !important;
        margin-bottom: 20pt !important;
        page-break-inside: avoid;
    }
    
    .fighter-card {
        break-inside: avoid;
    }
    
    a {
        color: black !important;
        text-decoration: none !important;
    }
    
    h1, h2, h3 {
        color: black !important;
    }
}

/* Accessibility */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* High Contrast Mode */
@media (prefers-contrast: high) {
    :root {
        --saffron: #FF6600;
        --green: #006600;
        --blue: #0000AA;
        --preamble-maroon: #AA0000;
        --dark-green: #004400;
    }
    
    body {
        background: white;
        color: black;
    }
    
    .fighter-card,
    .maker-card,
    .fact-card,
    .keyword-card {
        border: 2px solid black;
    }
}

/* Dark Mode Support */
@media (prefers-color-scheme: dark) {
    body {
        background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%);
        color: #e0e0e0;
    }
    
    header,
    .fighter-card,
    .maker-card,
    .fact-card,
    .keyword-card,
    .bio-section,
    .preamble-container,
    .constitution-makers,
    .countdown-section {
        background: #2d2d2d;
        color: #e0e0e0;
        border-color: #444;
    }
    
    .fighter-info h3,
    .section-title,
    .title-main,
    .banner-title-main,
    .footer-title {
        color: #e0e0e0;
    }
    
    .section-description,
    .subtitle,
    .fighter-quote {
        color: #b0b0b0;
    }
    
    .preamble-quote,
    .point-card {
        background: #333;
    }
    
    .highlight-text {
        color: #ff9900;
    }
}