/* Supreme Court Page - Modern Redesign */

/* Hero Section */
.hero-section {
    position: relative;
    height: 100vh;
    min-height: 600px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    z-index: -2;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(0, 51, 102, 0.85) 0%, rgba(0, 30, 60, 0.9) 100%);
    z-index: -1;
}

.hero-content {
    text-align: center;
    color: white;
    max-width: 800px;
    padding: 2rem;
    z-index: 1;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    background: rgba(212, 175, 55, 0.15);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(212, 175, 55, 0.3);
    border-radius: 50px;
    padding: 0.75rem 1.5rem;
    margin-bottom: 2rem;
    font-size: 1.1rem;
    font-weight: 500;
    animation: fadeInUp 0.8s ease-out;
}

.hero-badge i {
    color: #D4AF37;
    font-size: 1.3rem;
}

.hero-content h1 {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    line-height: 1.2;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.tagline {
    font-size: 1.5rem;
    margin-bottom: 2.5rem;
    opacity: 0.9;
}

.hero-stats {
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
    margin-bottom: 2.5rem;
}

.hero-stat {
    display: flex;
    align-items: center;
    gap: 1rem;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 15px;
    padding: 1.25rem 1.5rem;
    min-width: 200px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.hero-stat:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
}

.stat-icon {
    font-size: 2rem;
    color: #D4AF37;
}

.hero-stat-number {
    display: block;
    font-size: 2.5rem;
    font-weight: 700;
    color: #D4AF37;
    line-height: 1;
}

.hero-stat-label {
    display: block;
    font-size: 1rem;
    color: white;
    opacity: 0.9;
}

.hero-cta .btn {
    padding: 1rem 2rem;
    font-size: 1.1rem;
    border-radius: 50px;
    transition: all 0.3s ease;
}

.hero-cta .btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
}

.scroll-indicator {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    color: white;
    font-size: 1.5rem;
    animation: bounce 2s infinite;
}

/* Main Content */
.supreme-section {
    padding: 5rem 0;
}

.supreme-container {
    display: flex;
    gap: 2rem;
    position: relative;
}

/* Sidebar */
.supreme-sidebar {
    width: 300px;
    position: sticky;
    top: 2rem;
    height: fit-content;
    border-radius: 15px;
    padding: 1.5rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    z-index: 10;
}

.sidebar-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

.sidebar-header h3 {
    margin: 0;
    font-size: 1.3rem;
    color: #003366;
}

.sidebar-close {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: #666;
}

.sidebar-nav ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.sidebar-nav li {
    margin-bottom: 0.5rem;
}

.sidebar-nav a {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 1rem;
    text-decoration: none;
    color: #333;
    border-radius: 8px;
    transition: all 0.3s ease;
    font-weight: 500;
}

.sidebar-nav a:hover,
.sidebar-nav a.active {
    background: rgba(0, 51, 102, 0.1);
    color: #003366;
}

.sidebar-nav a i {
    width: 20px;
    text-align: center;
    color: #D4AF37;
}

/* Main Content Area */
.supreme-content {
    flex: 1;
    min-width: 0;
}

.section-header {
    margin-bottom: 2rem;
    text-align: center;
}

.section-header h2 {
    font-size: 2.5rem;
    color: #003366;
    margin-bottom: 1rem;
    position: relative;
    display: inline-block;
}

.section-divider {
    height: 4px;
    width: 80px;
    background: linear-gradient(90deg, #D4AF37, #003366);
    margin: 0 auto;
    border-radius: 2px;
}

/* Glass Cards */
.glass-card {
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(10px);
    border-radius: 15px;
    padding: 2rem;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.18);
    margin-bottom: 2rem;
    transition: all 0.3s ease;
}

.glass-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
}

/* Composition Cards */
.composition-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.composition-card {
    text-align: center;
    padding: 2rem 1.5rem;
    transition: all 0.3s ease;
}

.composition-card:hover {
    transform: translateY(-10px);
}

.composition-icon {
    font-size: 2.5rem;
    color: #D4AF37;
    margin-bottom: 1.5rem;
}

.composition-card h3 {
    font-size: 1.4rem;
    margin-bottom: 1rem;
    color: #003366;
}

/* Tabs */
.modern-tabs {
    margin-bottom: 2rem;
}

.tabs-header {
    display: flex;
    border-bottom: 2px solid rgba(0, 51, 102, 0.1);
    margin-bottom: 1.5rem;
}

.tab-btn {
    background: none;
    border: none;
    padding: 1rem 1.5rem;
    font-size: 1rem;
    font-weight: 600;
    color: #666;
    cursor: pointer;
    position: relative;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.tab-btn:hover {
    color: #003366;
}

.tab-btn.active {
    color: #003366;
}

.tab-btn.active::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 100%;
    height: 3px;
    background: #D4AF37;
    border-radius: 3px 3px 0 0;
}

.tab-panel {
    display: none;
}

.tab-panel.active {
    display: block;
    animation: fadeIn 0.5s ease;
}

.feature-list.modern-list {
    list-style: none;
    padding: 0;
}

.feature-list.modern-list li {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 1rem;
    padding: 1rem;
    background: rgba(0, 51, 102, 0.03);
    border-radius: 10px;
    transition: all 0.3s ease;
}

.feature-list.modern-list li:hover {
    background: rgba(0, 51, 102, 0.08);
    transform: translateX(5px);
}

.feature-list.modern-list li i {
    color: #D4AF37;
    margin-top: 0.25rem;
}

/* Process Timeline */
.process-timeline {
    position: relative;
    padding-left: 2rem;
    border-left: 2px solid #D4AF37;
}

.process-step {
    position: relative;
    margin-bottom: 2rem;
    padding-left: 2rem;
}

.process-step:last-child {
    margin-bottom: 0;
}

.process-step::before {
    content: '';
    position: absolute;
    left: -2.7rem;
    top: 0;
    width: 40px;
    height: 40px;
    background: #D4AF37;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: bold;
    border: 3px solid white;
    box-shadow: 0 0 0 2px #D4AF37;
}

.step-number {
    position: absolute;
    left: -2.7rem;
    top: 0;
    width: 40px;
    height: 40px;
    background: #D4AF37;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: bold;
    border: 3px solid white;
    box-shadow: 0 0 0 2px #D4AF37;
    z-index: 1;
}

.step-content h4 {
    margin-top: 0;
    color: #003366;
    font-size: 1.3rem;
}

/* Criminal Appeals Grid */
.criminal-appeals-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.appeal-card {
    text-align: center;
    padding: 1.5rem;
    transition: all 0.3s ease;
}

.appeal-card:hover {
    transform: translateY(-5px);
}

.appeal-icon {
    font-size: 2rem;
    color: #D4AF37;
    margin-bottom: 1rem;
}

.appeal-card h4 {
    font-size: 1.2rem;
    margin-bottom: 1rem;
    color: #003366;
}

/* Civil Appeals Grid */
.civil-appeals-grid.modern-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.appeal-item {
    text-align: center;
    padding: 1.5rem;
    transition: all 0.3s ease;
}

.appeal-item:hover {
    transform: translateY(-5px);
}

/* Eligibility Process */
.eligibility-process {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.eligibility-card,
.process-card,
.representation-card {
    text-align: center;
    padding: 1.5rem;
    transition: all 0.3s ease;
}

.eligibility-card:hover,
.process-card:hover,
.representation-card:hover {
    transform: translateY(-5px);
}

.eligibility-icon,
.process-icon,
.representation-icon {
    font-size: 2rem;
    color: #D4AF37;
    margin-bottom: 1rem;
}

.process-card ol {
    text-align: left;
    padding-left: 1.5rem;
}

/* Evidence & Reviews Grid */
.evidence-reviews-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.evidence-reviews-grid .glass-card {
    padding: 1.5rem;
}

.evidence-reviews-grid h3 {
    color: #003366;
    margin-top: 0;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.modern-checklist {
    list-style: none;
    padding: 0;
}

.modern-checklist li {
    position: relative;
    padding-left: 1.5rem;
    margin-bottom: 0.75rem;
}

.modern-checklist li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: #D4AF37;
    font-weight: bold;
}

/* Supervisory Content */
.supervisory-content.modern-layout {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.supervisory-card,
.procedure-card {
    padding: 1.5rem;
    transition: all 0.3s ease;
}

.supervisory-card:hover,
.procedure-card:hover {
    transform: translateY(-5px);
}

.supervisory-icon,
.procedure-icon {
    font-size: 2rem;
    color: #D4AF37;
    margin-bottom: 1rem;
}

/* Audio-Visual Grid */
.audio-visual-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.criteria-card,
.standards-card {
    padding: 1.5rem;
    transition: all 0.3s ease;
}

.criteria-card:hover,
.standards-card:hover {
    transform: translateY(-5px);
}

.criteria-content {
    margin-top: 1rem;
}

.criteria-item {
    margin-bottom: 1.5rem;
}

.criteria-item:last-child {
    margin-bottom: 0;
}

.criteria-item h4 {
    color: #003366;
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

/* Sessions Cards */
.sessions-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.session-card {
    text-align: center;
    padding: 1.5rem;
    transition: all 0.3s ease;
}

.session-card:hover {
    transform: translateY(-5px);
}

.session-icon {
    font-size: 2rem;
    color: #D4AF37;
    margin-bottom: 1rem;
}

/* Officials Grid */
.officials-grid.modern-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.official-card {
    text-align: center;
    padding: 1.5rem;
    transition: all 0.3s ease;
}

.official-card:hover {
    transform: translateY(-5px);
}

.official-icon {
    font-size: 2rem;
    color: #D4AF37;
    margin-bottom: 1rem;
}

/* Access & Etiquette Grid */
.access-etiquette-grid.modern-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.etiquette-card {
    text-align: center;
    padding: 1.5rem;
    transition: all 0.3s ease;
}

.etiquette-card:hover {
    transform: translateY(-5px);
}

.etiquette-icon {
    font-size: 2rem;
    color: #D4AF37;
    margin-bottom: 1rem;
}

/* Contact Section */
.contact-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.contact-card,
.map-card {
    padding: 1.5rem;
    transition: all 0.3s ease;
}

.contact-card:hover,
.map-card:hover {
    transform: translateY(-5px);
}

.contact-info h3,
.map-card h3 {
    color: #003366;
    margin-top: 0;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.contact-list.modern-list {
    list-style: none;
    padding: 0;
}

.contact-list.modern-list li {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 1rem;
    padding: 0.75rem;
    background: rgba(0, 51, 102, 0.03);
    border-radius: 8px;
    transition: all 0.3s ease;
}

.contact-list.modern-list li:hover {
    background: rgba(0, 51, 102, 0.08);
    transform: translateX(5px);
}

.contact-list.modern-list li i {
    color: #D4AF37;
    margin-top: 0.25rem;
}

.contact-map {
    height: 300px;
    border-radius: 10px;
    overflow: hidden;
    margin-top: 1rem;
}

.contact-map iframe {
    width: 100%;
    height: 100%;
    border: none;
}

.disclaimer {
    text-align: center;
    padding: 1.5rem;
    margin-bottom: 2rem;
}

.disclaimer p {
    margin: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
}

/* CTA Section */
.supreme-cta {
    margin-top: 3rem;
}

.cta-container {
    text-align: center;
    padding: 3rem 2rem;
    background: linear-gradient(135deg, rgba(0, 51, 102, 0.9) 0%, rgba(0, 30, 60, 0.95) 100%);
    color: white;
    border-radius: 15px;
    backdrop-filter: blur(10px);
}

.cta-content h3 {
    font-size: 2rem;
    margin-bottom: 1rem;
    color: white;
}

.cta-content p {
    font-size: 1.1rem;
    margin-bottom: 2rem;
    opacity: 0.9;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.cta-buttons .btn {
    padding: 1rem 2rem;
    font-size: 1.1rem;
    border-radius: 50px;
    transition: all 0.3s ease;
}

.cta-buttons .btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
}

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0);
    }
    40% {
        transform: translateY(-20px);
    }
    60% {
        transform: translateY(-10px);
    }
}

.animate-fade-in {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.animate-fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

.animate-fade-up {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.animate-fade-up.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Mobile Sidebar Toggle */
.mobile-sidebar-toggle {
    display: none;
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 60px;
    height: 60px;
    background: #003366;
    color: white;
    border: none;
    border-radius: 50%;
    z-index: 100;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 4px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.mobile-sidebar-toggle:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4);
}

.mobile-sidebar-toggle span {
    display: block;
    width: 25px;
    height: 3px;
    background: white;
    border-radius: 2px;
    transition: all 0.3s ease;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .supreme-container {
        flex-direction: column;
    }
    
    .supreme-sidebar {
        width: 100%;
        position: fixed;
        top: 0;
        left: -100%;
        height: 100vh;
        z-index: 1000;
        overflow-y: auto;
        border-radius: 0;
        transition: left 0.3s ease;
    }
    
    .supreme-sidebar.active {
        left: 0;
    }
    
    .sidebar-close {
        display: block;
    }
    
    .mobile-sidebar-toggle {
        display: flex;
    }
    
    .hero-content h1 {
        font-size: 2.5rem;
    }
    
    .tagline {
        font-size: 1.2rem;
    }
    
    .hero-stats {
        gap: 1rem;
    }
    
    .hero-stat {
        min-width: 150px;
        padding: 1rem;
    }
    
    .hero-stat-number {
        font-size: 2rem;
    }
    
    .section-header h2 {
        font-size: 2rem;
    }
}

@media (max-width: 768px) {
    .hero-section {
        min-height: 500px;
    }
    
    .hero-content {
        padding: 1rem;
    }
    
    .hero-content h1 {
        font-size: 2rem;
    }
    
    .tagline {
        font-size: 1.1rem;
    }
    
    .hero-stats {
        flex-direction: column;
        align-items: center;
    }
    
    .hero-stat {
        width: 100%;
        max-width: 300px;
    }
    
    .supreme-section {
        padding: 3rem 0;
    }
    
    .glass-card {
        padding: 1.5rem;
    }
    
    .composition-cards,
    .criminal-appeals-grid,
    .civil-appeals-grid.modern-grid,
    .eligibility-process,
    .evidence-reviews-grid,
    .supervisory-content.modern-layout,
    .audio-visual-grid,
    .sessions-cards,
    .officials-grid.modern-grid,
    .access-etiquette-grid.modern-grid,
    .contact-container {
        grid-template-columns: 1fr;
    }
    
    .cta-content h3 {
        font-size: 1.5rem;
    }
    
    .cta-content p {
        font-size: 1rem;
    }
    
    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .cta-buttons .btn {
        width: 100%;
        max-width: 300px;
    }
}

@media (max-width: 480px) {
    .hero-content h1 {
        font-size: 1.8rem;
    }
    
    .tagline {
        font-size: 1rem;
    }
    
    .hero-stat {
        flex-direction: column;
        text-align: center;
        gap: 0.5rem;
    }
    
    .section-header h2 {
        font-size: 1.8rem;
    }
    
    .tabs-header {
        flex-direction: column;
    }
    
    .tab-btn {
        width: 100%;
        text-align: left;
    }
    
    .process-timeline {
        padding-left: 1.5rem;
    }
    
    .process-step {
        padding-left: 1.5rem;
    }
    
    .process-step::before {
        left: -2.2rem;
        width: 30px;
        height: 30px;
        font-size: 0.8rem;
    }
    
    .step-number {
        left: -2.2rem;
        width: 30px;
        height: 30px;
        font-size: 0.8rem;
    }
}