/* ================================================================
   GLOBAL RESET
   ================================================================ */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
}

body {
    margin: 0;
    padding: 0;
}

/* ================================================================
   NEWS & EVENTS SCROLLING
   ================================================================ */
.news-events {
    background: linear-gradient(90deg, #ece9e9, #f6f2f2);
    color: #7f0804;
    padding: 10px 20px;
    font-weight: bold;
    font-size: 16px;
}

/* ================================================================
   TUA INFO BLOCK (Cube & Logo Section)
   ================================================================ */
.tua-info-block {
    background: linear-gradient(135deg, #000003, #000003);
    padding: 10px 20px;
    color: white;
    overflow: hidden;
}

.tua-container {
    display: flex;
    justify-content: center;
    align-items: center;
    max-width: 1200px;
    margin: auto;
    flex-wrap: wrap;
    gap: 30px;
}

.tua-left,
.tua-right {
    flex: 1;
    min-width: 270px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    opacity: 0;
}

.tua-left {
    animation: slideFadeLeft 1.5s ease forwards;
}

.tua-right {
    animation: slideFadeRight 1.5s ease forwards;
}

.tua-logo,
.tua-curve {
    max-width: 80%;
    height: auto;
    margin: 0 auto;
    display: block;
    transition: transform 0.5s ease;
}

/* Hover Zoom Effect */
.tua-logo:hover,
.tua-curve:hover {
    transform: scale(1.1);
    filter: brightness(1.1);
}

/* ❤️ Heartbeat Effect */
.tua-logo {
    animation: heartbeat 1.5s ease-in-out infinite;
    transform-origin: center;
}

@keyframes heartbeat {
    0% {
        transform: scale(1);
    }

    25% {
        transform: scale(1.08);
    }

    40% {
        transform: scale(1);
    }

    60% {
        transform: scale(1.12);
    }

    100% {
        transform: scale(1);
    }
}

/* Subscript text */
.image-subtext {
    font-size: 10px;
    color: gold;
    margin-top: 1px;
}

/* Slide fade animations */
@keyframes slideFadeLeft {
    0% {
        transform: translateX(-50px);
        opacity: 0;
    }

    100% {
        transform: translateX(0);
        opacity: 1;
    }
}

@keyframes slideFadeRight {
    0% {
        transform: translateX(50px);
        opacity: 0;
    }

    100% {
        transform: translateX(0);
        opacity: 1;
    }
}

/* ================================================================
   HERO CAROUSEL
   ================================================================ */
.hero-section,
#heroCarousel {
    width: 100%;
    position: relative;
    background-color: #000;
}

.hero-bg {
    height: 100vh;
    width: 100%;
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
}

/* Shimmer heading effect */
.partners-title {
    font-size: 2.6rem;
    font-weight: 700;
    background: linear-gradient(90deg, #000, #ffcc00, #000);
    background-size: 200% auto;
    color: transparent;
    -webkit-background-clip: text;
    background-clip: text;
    animation: shimmer 3s linear infinite;
    margin-bottom: 20px;
}

@keyframes shimmer {
    0% {
        background-position: -200% 0;
    }

    100% {
        background-position: 200% 0;
    }
}

/* Carousel captions */
.carousel-caption {
    position: absolute;
    z-index: 10;
    padding: 0;
    margin: 0;
}

.caption-1 {
    bottom: 5%;
    left: 10%;
    right: 10%;
    transform: translateY(-50%);
    text-align: center;
    font-size: 2.6rem;
    font-weight: 700;
    background: linear-gradient(90deg, #000, #ffcc00, #000);
    background-size: 200% auto;
    color: gold;
    -webkit-background-clip: text;
    background-clip: text;
    animation: shimmer 3s linear infinite;
    margin-bottom: 20px;
}

.caption-2 {
    top: 10%;
    left: 5%;
    text-align: left;
    width: 50%;
}

.caption-3 {
    top: 15%;
    left: auto;
    right: 30%;
    text-align: right;
    color: white;
}

.caption-4 {
    top: 15%;
    left: 10%;
    right: 10%;
    text-align: center;
    color: #1f1f40;
}

.caption-5 {
    bottom: 10%;
    left: 10%;
    text-align: left;
    color: white;
}

.caption-6 {
    top: 8%;
    left: 10%;
    right: 10%;
    text-align: center;
    color: #fff;
}

.caption-7 {
    top: 8%;
    left: 56%;
    text-align: right;
    width: 40%;
    overflow-wrap: break-word;
}

.caption-8 {
    bottom: 5%;
    left: 10%;
    text-align: center;
    width: 80%;
    color: white;
    overflow-wrap: break-word;
}

.caption-9 {
    bottom: 5%;
    left: 10%;
    right: 10%;
    text-align: center;
    color: white;
}

/* Animate text */
.animate-text {
    font-family: 'Montserrat', sans-serif;
    font-weight: 800;
    font-size: 2.5rem;
    text-shadow: 3px 3px 15px rgba(0, 0, 0, 0.7);
    font-style: italic;
    opacity: 0;
    transform: scale(0.8);
    transition: all 0.8s ease-in-out;
}

.active .animate-text {
    opacity: 1;
    transform: scale(1);
}

/* ================================================================
   VIDEO SECTION
   ================================================================ */
.video-wrapper {
    object-fit: cover;
    padding: 5px;
}

/* ================================================================
   TESTIMONIAL SECTION
   ================================================================ */
:root {
    --primary-yellow: #f1b400;
    --accent-purple: #6366f1;
}

.testimonials-section {
    position: relative;
    padding: 30px 0;
    background: #000;
    overflow: hidden;
    min-height: 650px;
}

.bg-carousel-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.bg-img {
    height: 100vh;
    width: 100%;
    background-size: contain;
    background-position: center;
    filter: brightness(0.4) contrast(1.1);
    transition: transform 12s linear !important;
    background-repeat: no-repeat;
}

/* Parallax zoom */
.carousel-item.active .bg-img {
    transform: scale(1.1);
}

.content-layer {
    position: relative;
    z-index: 5;
}

.section-title {
    font-family: 'Playfair Display', serif;
    font-size: 2.5rem;
    color: #fff;
    border-left: 5px solid var(--primary-yellow);
    padding-left: 20px;
    text-transform: uppercase;
    letter-spacing: 1px;
    animation: slideInLeft 1s ease-out;
}

.sub-title {
    color: #e4c7c7;
    margin-left: 25px;
    font-family: 'Inter', sans-serif;
}

.testimonial-card {
    background: rgba(1, 1, 24, 0.05);
    backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: 40px 30px;
    margin-top: 38px;
    height: fit-content;
    width: 80%;
    position: relative;
    transition: all 0.4s ease;
    animation: fadeInUp 0.8s ease-out both;
}

.testimonial-card:hover {
    background: rgba(255, 255, 255, 0.08);
    transform: translateY(-10px);
    border-color: var(--primary-yellow);
}

.dignitary-img {
    position: absolute;
    top: -40px;
    left: 30px;
    width: 80px;
    height: 80px;
    border-radius: 50%;
    border: 3px solid var(--accent-purple);
    object-fit: cover;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.5);
}

.quote-mark {
    position: absolute;
    top: 20px;
    right: 25px;
    font-size: 2.5rem;
    color: rgba(255, 255, 255, 0.1);
    font-family: serif;
}

.name {
    color: #fff;
    font-weight: 700;
    font-size: 1.25rem;
    margin-bottom: 2px;
}

.role {
    color: #b59d9d;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.quote-text {
    color: white;
    font-size: small;
    line-height: 1.7;
    margin-top: 20px;
}

.nav-controls {
    display: flex;
    gap: 8px;
}

.nav-btn {
    background: var(--primary-yellow);
    border: none;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    color: #000;
    border-radius: 4px;
    transition: 0.3s;
}

.nav-btn:hover {
    background: #fff;
    transform: scale(1.1);
}

/* ================================================================
   ANIMATIONS
   ================================================================ */
@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(40px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ================================================================
   FULL RESPONSIVE MEDIA QUERIES
   ================================================================ */

/* Large Tablets & Small Laptops (992px to 1199px) */
@media (max-width: 1199px) {
    .tua-container {
        gap: 15px;
    }

    .caption-7 {
        left: 50%;
    }
}

/* Tablets (768px to 991px) */
@media (max-width: 991px) {
    .tua-container {
        flex-direction: column;
        padding: 40px 20px;
    }

    .tua-left,
    .tua-right {
        width: 100%;
        min-width: unset;
    }

    .animate-text {
        font-size: 1.8rem !important;
    }

    .testimonial-card {
        width: 95%;
        margin-left: auto;
        margin-right: auto;
    }

    .section-title {
        font-size: 2rem;
    }
}

/* Mobile Phones (Up to 767px) */
@media (max-width: 767px) {
    .hero-bg {
        height: auto;
        min-height: 250px;
        background-size: cover;
        aspect-ratio: 16/9;
    }

    .hero-section,
    #heroCarousel {
        height: auto;
    }

    .carousel-caption {
        position: relative !important;
        top: 0 !important;
        left: 0 !important;
        right: 0 !important;
        bottom: 0 !important;
        width: 100% !important;
        transform: none !important;
        text-align: center !important;
        padding: 20px 15px !important;
        background: #1a1a2e;
        margin: 0 !important;
    }

    .animate-text {
        font-size: 1.2rem !important;
        text-shadow: none;
        opacity: 1 !important;
        transform: scale(1) !important;
    }

    .tua-logo {
        width: 60%;
    }

    .tua-curve {
        width: 50%;
    }

    .image-subtext {
        font-size: 9px;
    }

    .testimonials-section {
        padding: 50px 0;
        min-height: auto;
    }

    .bg-img {
        height: 100%;
        background-size: cover;
    }

    .testimonial-card {
        width: 90%;
        padding: 50px 20px 30px 20px;
        margin-top: 50px;
    }

    .dignitary-img {
        width: 65px;
        height: 65px;
        left: 50%;
        transform: translateX(-50%);
        top: -32px;
    }

    .section-title {
        font-size: 1.5rem;
        text-align: center;
        border-left: none;
        border-bottom: 4px solid var(--primary-yellow);
        padding-left: 0;
        padding-bottom: 10px;
    }

    .sub-title {
        text-align: center;
        margin-left: 0;
        display: block;
        font-size: 0.9rem;
    }

    .nav-controls {
        justify-content: center;
        margin-top: 30px;
    }
}

/* Extra Small Devices (Under 400px) */
@media (max-width: 399px) {
    .animate-text {
        font-size: 1rem !important;
    }

    .partners-title {
        font-size: 1.8rem;
    }
}