/* Reset & Global */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    color: #333;
    line-height: 1.6;
    background-color: #fff;
}

.container {
    max-width: 1400px;
    margin: 0px auto;
    padding: 0 20px;
    width: 100%;
}

a {
    text-decoration: none;
    color: inherit;
}

/* --- Navbar --- */
.navbar {
    background-color: #002B54;
    height: 100px;
    display: flex;
    align-items: flex-end;
    padding-bottom: 10px;
    color: white;
}

.navbar-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.nav-logo-img {
    height: 80px;
    width: auto;
    object-fit: contain;
}

.nav-links {
    list-style: none;
    display: flex;
}

.nav-links a {
    color: white;
    font-weight: 500;
    padding: 26px 15px;
    border-bottom: 2px solid transparent;
}

.nav-links a.active, .nav-links a:hover {
    border-bottom: 2px solid white;
}

/* --- Hero Section --- */
.hero {
    background: url('public/images/ESA Banner for web.png') center/cover no-repeat;
    color: white;
    text-align: center;
    padding: 60px 0 140px; 
    position: relative;
}


.hero-content {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}



.hero-logo-img {
    max-width: 300px;
    width: 100%;
    height: auto;
    object-fit: contain;
}

.hero-title {
    font-size: 3rem;
    font-weight: 1000;
    line-height: 1.2;
    margin-bottom: 10px;
    margin-top: 40px;
}

.hero-details p {
    font-size: 2.2rem;
    margin: 5px 0;
}

.hero-partners {
    display: flex;
    justify-content: center;
    margin-top: 20px;
    margin-bottom: 20px;
}

.partners-img {
    height: 60px;
    width: auto;
    object-fit: contain;
    background-color: rgba(255, 255, 255, 0.1);
    padding: 5px;
    border-radius: 4px;
}

/* Countdown */
.countdown-container {
    display: flex;
    gap: 40px;
    position: absolute;
    bottom: -145px;
    left: 50%;
    transform: translate(-50%, 50%);
    z-index: 10;
}

.countdown-box {
    background: url('public/images/green_Rectangle.png') no-repeat;
    background-size: 100% 100%;
    background-color: transparent;
    color: #ffffff;
    width: 140px; 
    height: 220px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    border-radius: 0; 
    box-shadow: none; 
}

.countdown-box .number {
    font-size: 4.5rem;
    font-weight: 700;
    line-height: 1;
}

.countdown-box .label {
    font-size: 1.2rem;
    font-weight: 600;
    color: #ffffff;
    margin-top: 10px;
}

/* --- Section Title --- */
.section-title-container {
    text-align: center;
    padding: 150px 0 40px;
}

.main-heading {
    font-size: 3.5rem;
    color: #002B54;
    font-weight: 700;
    line-height: 1.2;
    margin-top: 30px;
}

/* --- Content Section --- */
.content-section {
    padding-bottom: 0;
    margin-bottom: 55px;
}

.text-content {
    max-width: 900px;
    margin: 0 auto;
}

.text-content p {
    margin-bottom: 20px;
    text-align: left;
    font-size: 1.05rem;
    font-weight: bold;
    color: #000000;
}

/* New Layout Styles */
.content-split {
    display: flex;
    gap: 40px;
    align-items: stretch; 
    margin-bottom: 30px;
    margin-top: 40px;
}

.content-left {
    flex: 1;
}

.content-right {
    flex: 1;
}

.video-placeholder {
    position: relative;
    width: 100%;
    overflow: hidden;
    cursor: pointer;
    margin-top: 8px; 
}

.video-bg {
    width: 100%;
    height: auto;
    display: block;
    transform: scale(1.85);
}

.video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 80, 180, 0.4);
    pointer-events: none;
    transition: background-color 0.3s ease;
}

.video-placeholder:hover .video-overlay {
    background-color: rgba(0, 80, 180, 0.2);
}

.play-button-img {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 80px; 
    height: 80px;
    z-index: 2;
    transition: transform 0.3s ease;
    object-fit: contain;
}

.video-placeholder:hover .play-button-img {
    transform: translate(-50%, -50%) scale(1.1);
}

/* Modal Styles */
.video-modal {
    display: none; 
    position: fixed; 
    z-index: 2000; 
    left: 0;
    top: 0;
    width: 100%; 
    height: 100%; 
    overflow: auto; 
    background-color: rgba(0,0,0,0.8); 
    align-items: center;
    justify-content: center;
}

.video-modal.show {
    display: flex;
}

.video-modal-content {
    position: relative;
    width: 90%;
    max-width: 800px;
    background-color: #000;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.2);
}

.close-modal {
    position: absolute;
    top: -40px;
    right: 0;
    color: white;
    font-size: 35px;
    font-weight: bold;
    cursor: pointer;
}

.video-container {
    position: relative;
    padding-bottom: 56.25%; 
    height: 0;
    overflow: hidden;
    border-radius: 8px;
}

.video-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.content-bottom {
    width: 100%;
}

.content-left p, .content-bottom p {
    margin-bottom: 20px;
    font-size: 1.05rem;
    color: #333;
}

.content-bottom ul {
    margin-bottom: 20px;
    padding-left: 20px;
}

.read-more-container {
    text-align: right;
    margin-top: 10px;
}

.read-more-btn {
    color: #000;
    font-weight: 700;
    font-size: 1rem;
}

.read-more-btn:hover {
    text-decoration: underline;
}

/* --- Gallery Section --- */
.gallery-section {
    width: 100%;
    margin-bottom: 60px;
    overflow: hidden;
    position: relative;
}

.gallery-wrapper {
    width: 100%;
    overflow: hidden;
}

.gallery-track {
    display: flex;
    width: max-content;
    height: 620px; 
    padding: 10px 0;
    transition: transform 1.5s ease-in-out;
}

.gallery-item {
    background-color: #ddd;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: #666;
    width: 33.33vw;
    min-width: 300px;
    height: 100%;
    background-size: cover;
    background-position: center;
    flex-shrink: 0; 
}

.gallery-swiper {
    width: 100%;
    margin: 0 auto;
    border-radius: 0;
    overflow: hidden;
    padding-bottom: 40px; 
}

.swiper-slide {
    display: flex;
    align-items: center;
    justify-content: center;
}

.swiper-slide img {
    width: 100%;
    height: 500px;    
    object-fit: cover; 
    display: block;
}

/* --- Info/Contact Section --- */
.info-section-wrapper {
    padding: 0;
    background-color: white;
    margin-bottom: 65px;
}

.info-card-content {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 40px;
}

.info-left-column {
    flex: 1;
    min-width: 300px;
}

.info-right-column {
    flex: 0 0 auto;
    min-width: 250px;
}

.info-section {
    margin-bottom: 30px;
}

.info-section:last-child {
    margin-bottom: 0;
}

.info-title {
    color: #0430AF;
    font-size: 1.5rem;
    margin-top: 0;
    margin-bottom: 20px;
    font-weight: 700;
}

.info-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 15px;
    color: #333;
    font-size: 0.95rem;
    line-height: 1.5;
}

.info-icon-img {
    margin-right: 15px;
    margin-top: 3px;
    width: 20px;
    height: auto;
    display: block;
    filter: brightness(0) saturate(100%) invert(33%) sepia(58%) saturate(576%) hue-rotate(102deg) brightness(91%) contrast(87%);
}

.info-text p { margin: 0 0 5px 0; }
.info-text p:last-child { margin-bottom: 0; }
.info-text .label { font-weight: 600; color: #000; }
.info-text a { text-decoration: none; color: #333; }
.info-text a:hover { text-decoration: underline; color: #0430AF; }

/* Social Icons */
.social-icons {
    display: flex;
    flex-direction: column;
    gap: 10px;
    width: max-content;
    filter: brightness(0) saturate(100%) invert(33%) sepia(58%) saturate(576%) hue-rotate(102deg) brightness(91%) contrast(87%);
}

.social-row {
    display: flex;
    gap: 15px;
    align-items: center;
}

.social-row.right-aligned {
    justify-content: flex-end;
}

.social-link {
    display: flex;
    justify-content: center;
    align-items: center;
    width: auto;
    height: auto;
    border: none;
    transition: transform 0.2s ease;
}

.social-link img {
    width: 32px;
    height: 32px;
    object-fit: contain;
}

.social-link:hover {
    transform: scale(1.1);
}


.social-break {
    flex-basis: 100%;
    height: 0;
}

/* --- Footer --- */
.footer {
    background-color: #002B54;
    color: white;
    padding: 40px 0 20px;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: flex-start; 
    flex-wrap: wrap;
    gap: 80px; 
    margin-bottom: 30px;
}

.footer-logo-img {
    width: 220px;
    height: 140px;
}

.footer-center {
    flex: 1;
    display: flex;
    justify-content: flex-start;
    gap: 60px; 
    padding-left: 20px;
    margin-top: 30px; 
}

.footer-links-col {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer-links-col a {
    color: white;
    font-weight: 600;
    font-size: 1rem;
}

.footer-links-col a:hover {
    text-decoration: underline;
}

.footer-right {
    display: flex;
    gap: 15px;
    align-items: flex-start;
    padding-top: 10px;
    margin-top: 20px; 
}

.footer-partners-img {
    height: 40px;
    width: auto;
    object-fit: contain;
    background-color: rgba(255, 255, 255, 0.1);
    padding: 5px;
    border-radius: 4px;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    padding-top: 20px;
    text-align: left; 
}

.footer-bottom p {
    font-size: 0.8rem;
    opacity: 0.8;
}

/* --- Responsive --- */
@media (max-width: 900px) {
    .content-split {
        flex-direction: column;
    }
}

@media (max-width: 768px) {
    .hero-title { font-size: 29px; }
    .countdown-container { gap: 10px; }
    .countdown-box { width: 70px; height: 90px; }
    .countdown-box .number { font-size: 1.8rem; }
    .countdown-box .label { font-size: 0.8rem; }
    .hero-details p {
    font-size: 18px;
    margin: 5px 0;
    }
    
    .gallery-track { height: 250px; }
    .gallery-item { height: 250px; border-right: none; border-bottom: 1px solid white; }
    
    .info-card-content, .footer-content { 
        flex-direction: column; 
        align-items: flex-start;
        text-align: left;
        padding: 0 10px;
    }

    .info-item { 
        justify-content: flex-start;
    }

    .footer-center { 
        width: 100%; 
        justify-content: flex-start;
        padding-left: 0;
        gap: 40px;
    }
    
    .footer-links-col {
        align-items: flex-start;
    }

    .footer-logo-img {
        height: 80px;
        width: auto;
    }
}


.swiper-button-prev, .swiper-button-next {
    display: none;
}

.content-left ul{
    padding-left: 40px;
}
.gallery-swiper .swiper-slide {
  width: 600px;
}



html.js body *{
  opacity:0;
  visibility:hidden;
}

html.js body.is-ready *{
  opacity:1;
  visibility:visible;
}

.hero, .content-section, .gallery-section, .info-section-wrapper, .footer{
  transform-style:preserve-3d;
}

.hero-title span.w,
.main-heading span.w{
  display:inline-block;
  will-change:transform, opacity, filter;
}

.countdown-box,
.video-placeholder,
.swiper,
.info-card-content > *,
.footer-content > *{
  will-change:transform, opacity, filter;
}

.swiper-slide img{
    filter: blur(0) !important;
}