:root {
    --gold: #D4AF37;
    --gold-light: #F4E5C2;
    --dark-1: #0F172A;
    --dark-2: #1E293B;
    --dark-3: #334155;
    --dark-4: #475569;
    --light-1: #F8FAFC;
    --light-2: #F1F5F9;
    --light-3: #E2E8F0;
}

body {
    font-family: 'Poppins', sans-serif;
    background-color: var(--dark-1);
    color: var(--light-2);
}

/* Section Transition Effect */
section {
    transition: background-color 0.5s ease;
}

/* Hero Section */
.hero-about {
    position: relative;
    overflow: hidden;
    padding-top: 100px;
    padding-bottom: 60px;
    background: linear-gradient(135deg, var(--dark-1) 0%, var(--dark-2) 100%);
    color: white;
}

.hero-about::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="100" height="100" viewBox="0 0 100 100"><path fill="rgba(212, 175, 55, 0.2)" d="M50 0L61.8 38.2H100L69.1 61.8L80.9 100L50 76.4L19.1 100L30.9 61.8L0 38.2H38.2L50 0Z"/></svg>');
    background-size: 20px;
    opacity: 0.3;
    animation: stars 100s linear infinite;
    z-index: 0;
}

@keyframes stars {
    0% { background-position: 0 0; }
    100% { background-position: -1000px 500px; }
}

.hero-content {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    justify-content: center;
    height: 100%;
}

.hero-about h1 {
    font-weight: 700;
    text-shadow: 0 2px 10px rgba(0,0,0,0.3);
    position: relative;
    margin-bottom: 1.5rem;
}

.hero-about h1::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 80px;
    height: 4px;
    background: var(--gold);
    border-radius: 2px;
}

.hero-about p {
    font-weight: 300;
    opacity: 0.9;
    max-width: 600px;
    font-size: 1.1rem;
    line-height: 1.6;
}

.hero-image-container {
    position: relative;
    overflow: hidden;
    border-radius: 12px;
    box-shadow: 0 20px 50px rgba(0,0,0,0.5);
    transform: perspective(1000px) rotateY(-5deg) translateZ(50px);
    transition: all 0.7s cubic-bezier(0.19, 1, 0.22, 1);
    height: 100%;
    max-height: 400px;
}

.hero-image-container:hover {
    transform: perspective(1000px) rotateY(0deg) translateZ(0);
    box-shadow: 0 25px 60px rgba(0,0,0,0.6);
}

.hero-image-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, rgba(212,175,55,0.1) 0%, transparent 100%);
    z-index: 1;
}

.hero-image-container img {
    transition: all 1s cubic-bezier(0.19, 1, 0.22, 1);
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-image-container:hover img {
    transform: scale(1.1) rotate(1deg);
}

/* Timeline Section */
.timeline-section {
    background-color: var(--dark-2);
    position: relative;
    overflow: hidden;
}

.timeline {
    position: relative;
    max-width: 1000px;
    margin: 0 auto;
}

.timeline::after {
    content: '';
    position: absolute;
    width: 4px;
    background: linear-gradient(to bottom, var(--gold), var(--gold-light));
    top: 0;
    bottom: 0;
    left: 50%;
    margin-left: -2px;
    border-radius: 2px;
    z-index: 1;
}

.timeline-card {
    padding: 10px 30px;
    position: relative;
    width: 50%;
    box-sizing: border-box;
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease;
}

.timeline-card.visible {
    opacity: 1;
    transform: translateY(0);
}

.timeline-card::after {
    content: '';
    position: absolute;
    width: 20px;
    height: 20px;
    background: var(--gold);
    border: 3px solid var(--dark-2);
    border-radius: 50%;
    top: 25px;
    z-index: 2;
    transition: all 0.3s ease;
}

.timeline-card:hover::after {
    transform: scale(1.3);
    box-shadow: 0 0 20px rgba(212, 175, 55, 0.7);
}

.left {
    left: 0;
}

.right {
    left: 50%;
}

.left::after {
    right: -10px;
}

.right::after {
    left: -10px;
}

.timeline-content {
    padding: 20px;
    background: var(--dark-3);
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(255,255,255,0.05);
}

.timeline-content::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 0;
    background: var(--gold);
    transition: height 0.4s ease;
}

.timeline-content:hover::before {
    height: 100%;
}

.timeline-content h3 {
    color: var(--light-1);
    transition: all 0.3s ease;
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
}

.timeline-content p {
    color: var(--light-3);
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

.timeline-year {
    color: var(--gold) !important;
    font-weight: 600;
    font-size: 1rem;
    margin-bottom: 5px;
    transition: all 0.3s ease;
}

.timeline-img {
    border-radius: 6px;
    margin-top: 10px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.3);
    transition: all 0.4s ease;
    filter: grayscale(30%) brightness(0.9);
    width: 100%;
    height: auto;
}

.timeline-img:hover {
    transform: scale(1.05);
    filter: grayscale(0%) brightness(1);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
}

/* Updated Press Coverage Section */
.press-section {
    background: linear-gradient(135deg, var(--dark-3) 0%, var(--dark-2) 100%);
    position: relative;
    overflow: hidden;
}

.press-section::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(212, 175, 55, 0.05) 0%, transparent 70%);
    animation: float 15s infinite linear;
    z-index: 0;
}

.press-slide {
    height: 350px;
    display: flex;
    justify-content: center;
    align-items: center;
    background: var(--dark-3);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    position: relative;
    cursor: pointer;
    transition: all 0.5s cubic-bezier(0.25, 0.8, 0.25, 1);
    border: 1px solid rgba(255,255,255,0.05);
}

.press-slide img,
.press-slide video {
    width: 100%;
    height: 100%;
    object-fit: contain;
    background: #000;
    transition: all 0.5s ease;
}

.press-slide:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.3);
    z-index: 2;
}

.press-slide:hover img,
.press-slide:hover video {
    transform: scale(1.03);
}

/* View All Modal */
.view-all-modal .modal-content {
    background: var(--dark-2);
    border: 1px solid var(--gold);
    border-radius: 12px;
}

.view-all-modal .modal-header {
    border-bottom: 1px solid var(--gold);
}

.view-all-modal .modal-body {
    max-height: 70vh;
    overflow-y: auto;
}

.press-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 20px;
    padding: 10px;
}

.press-grid-item {
    height: 200px;
    background: var(--dark-3);
    border-radius: 8px;
    overflow: hidden;
    position: relative;
    cursor: pointer;
    transition: all 0.3s ease;
    border: 1px solid rgba(255,255,255,0.1);
}

.press-grid-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.3);
}

.press-grid-item img,
.press-grid-item video {
    width: 100%;
    height: 100%;
    object-fit: contain;
    background: #000;
}

/* Lightbox Modal */
.lightbox-modal .modal-content {
    background: transparent;
    border: none;
}

.lightbox-modal .modal-body {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 80vh;
}

.lightbox-content {
    max-width: 90%;
    max-height: 90%;
}

.lightbox-content img,
.lightbox-content video {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    border-radius: 8px;
}

.download-btn {
    position: absolute;
    bottom: 20px;
    right: 20px;
    background: rgba(0,0,0,0.7);
    color: white;
    border: none;
    padding: 8px 15px;
    border-radius: 4px;
    z-index: 10;
}

/* Values Section */
.values-section {
    background-color: var(--dark-1);
    position: relative;
    overflow: hidden;
}

.value-card {
    transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
    border: none;
    position: relative;
    overflow: hidden;
    height: 100%;
    background: var(--dark-2);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    border-radius: 8px;
    border: 1px solid rgba(255,255,255,0.05);
}

.value-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: linear-gradient(to right, var(--gold), var(--gold-light));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s ease;
}

.value-card:hover::before {
    transform: scaleX(1);
}

.value-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.3);
}

.value-icon-container {
    width: 80px;
    height: 80px;
    margin: 0 auto 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(212,175,55,0.1) 0%, rgba(244,229,194,0.2) 100%);
    border-radius: 50%;
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
}

.value-icon-container::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    border: 2px solid var(--gold-light);
    border-radius: 50%;
    animation: pulse 2s infinite;
    opacity: 0;
    transition: all 0.3s ease;
}

.value-card:hover .value-icon-container::before {
    opacity: 1;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% { transform: scale(0.95); opacity: 0.7; }
    70% { transform: scale(1.1); opacity: 0.2; }
    100% { transform: scale(0.95); opacity: 0.7; }
}

.value-icon {
    font-size: 2rem;
    color: var(--gold);
    transition: all 0.3s ease;
    position: relative;
    z-index: 2;
}

.value-card:hover .value-icon {
    transform: rotate(10deg) scale(1.1);
}

.value-card .card-body {
    padding: 30px;
    position: relative;
    z-index: 2;
}

.value-card h3 {
    color: var(--light-1);
    position: relative;
    display: inline-block;
}

.value-card h3::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 40px;
    height: 2px;
    background: var(--gold);
    transition: all 0.3s ease;
}

.value-card:hover h3::after {
    width: 60px;
}

.value-card p {
    color: var(--light-3);
}

/* Reports Section */
.reports-section {
    background: linear-gradient(135deg, var(--dark-1) 0%, var(--dark-2) 100%);
    position: relative;
    overflow: hidden;
}

.reports-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="100" height="100" viewBox="0 0 100 100"><path fill="rgba(212, 175, 55, 0.1)" d="M50 0L61.8 38.2H100L69.1 61.8L80.9 100L50 76.4L19.1 100L30.9 61.8L0 38.2H38.2L50 0Z"/></svg>');
    background-size: 30px;
    opacity: 0.5;
    animation: stars 120s linear infinite;
    z-index: 0;
}

.reports-section .container {
    position: relative;
    z-index: 2;
}

.section-title {
    position: relative;
    display: inline-block;
    color: var(--light-1);
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: var(--gold);
    border-radius: 2px;
}

.report-card {
    transition: all 0.3s ease;
    border: none;
    position: relative;
    overflow: hidden;
    height: 100%;
    background: rgba(255,255,255,0.05);
    backdrop-filter: blur(5px);
    border-radius: 8px;
    border: 1px solid rgba(255,255,255,0.1);
}

.report-card .card-body {
    color: var(--light-2) !important;
}

.report-card small {
    color: var(--gold-light) !important;
}

.report-card .btn-outline-light {
    color: var(--light-2) !important;
    border-color: var(--gold-light) !important;
}

.report-card .btn-outline-light:hover {
    color: var(--dark-1) !important;
    background-color: var(--gold-light) !important;
}

.report-card .bg-blue-100 {
    background-color: rgba(212, 175, 55, 0.1) !important;
}

.report-card .text-blue-800 {
    color: var(--gold) !important;
}

.report-card::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(to right, var(--gold), var(--gold-light));
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 0.3s ease;
}

.report-card:hover::after {
    transform: scaleX(1);
    transform-origin: left;
}

.report-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
    background: rgba(255,255,255,0.1);
}

/* Responsive */
@media (max-width: 768px) {
    .timeline::after {
        left: 31px;
    }
    
    .timeline-card {
        width: 100%;
        padding-left: 60px;
        padding-right: 20px;
    }
    
    .timeline-card::after {
        left: 15px;
    }
    
    .right {
        left: 0;
    }
    
    .hero-about {
        padding-top: 80px;
        padding-bottom: 40px;
    }
    
    .hero-image-container {
        transform: none;
        margin-top: 30px;
        max-height: 300px;
    }
    
    .press-slide {
        height: 250px;
    }

    .press-grid {
        grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    }
}

@media (max-width: 576px) {
    .press-grid {
        grid-template-columns: 1fr;
    }
}

/* Lightbox Media Styling */
.lightbox-content img,
.lightbox-content video {
  max-width: 100%;
  max-height: 80vh;
  display: block;
  margin: auto;
  border-radius: 8px;
}

/* Compact Floating Buttons */
#lightboxModal button {
  z-index: 10;
  font-size: 1rem;
  padding: 0.4rem 0.6rem;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.5);
  border: none;
}

#lightboxModal button:hover {
  background: rgba(255, 215, 0, 0.8);
  color: #000;
}

/* Advanced Documents Section */
.advanced-documents-section {
    background: linear-gradient(135deg, #0a0e1a 0%, #1a2030 100%);
    overflow: hidden;
    z-index: 1;
}

#documentsParticles {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    z-index: -1;
}

.document-card-advanced {
    transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
    border: none;
    position: relative;
    overflow: hidden;
    height: 100%;
    background: rgba(30, 35, 50, 0.7);
    backdrop-filter: blur(8px);
    border-radius: 12px;
    border: 1px solid rgba(212, 175, 55, 0.2);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
    z-index: 2;
}

.document-card-advanced:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 40px rgba(212, 175, 55, 0.2);
    border-color: rgba(212, 175, 55, 0.4);
}

.document-card-glow {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at center, rgba(212, 175, 55, 0.1) 0%, transparent 70%);
    opacity: 0;
    transition: opacity 0.4s ease;
    z-index: -1;
}

.document-card-advanced:hover .document-card-glow {
    opacity: 1;
}

.document-icon-container {
    width: 50px;
    height: 50px;
    margin-right: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(212, 175, 55, 0.1) 0%, rgba(244, 229, 194, 0.2) 100%);
    border-radius: 10px;
    position: relative;
    overflow: hidden;
}

.document-icon-container::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    border: 2px solid var(--gold-light);
    border-radius: 10px;
    animation: pulse 3s infinite;
    opacity: 0;
    transition: all 0.3s ease;
}

.document-card-advanced:hover .document-icon-container::before {
    opacity: 0.5;
}

.document-icon {
    font-size: 1.5rem;
    color: var(--gold);
    transition: all 0.3s ease;
}

.document-card-advanced:hover .document-icon {
    transform: scale(1.2);
}

.btn-gold {
    background-color: var(--gold);
    color: var(--dark-1);
    border: none;
    font-weight: 600;
}

.btn-outline-gold {
    background-color: transparent;
    color: var(--gold);
    border: 1px solid var(--gold);
}

.btn-outline-gold:hover {
    background-color: var(--gold);
    color: var(--dark-1);
}

.btn-hover-glow {
    position: relative;
    overflow: hidden;
}

.btn-hover-glow::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(212, 175, 55, 0.4) 0%, transparent 70%);
    transform: scale(0);
    transition: transform 0.6s ease;
    z-index: 0;
}

.btn-hover-glow:hover::before {
    transform: scale(1);
}

.text-gold {
    color: var(--gold) !important;
}

@keyframes floatParticle {
    0% { transform: translateY(0) translateX(0); opacity: 0; }
    10% { opacity: 1; }
    90% { opacity: 1; }
    100% { transform: translateY(-100vh) translateX(20px); opacity: 0; }
}

/* Ensure the button is guaranteed clickable above any overlays */
.press-section .view-all-cta {
    position: relative;
    z-index: 5;
}

/* Document particles */
.document-particle {
    animation: floatParticle linear infinite;
}
