@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;600;700;800&family=Playfair+Display:wght@600;700;800&display=swap');

:root {
    --primary-cyan: #00AEEF;
    --primary-cyan-dark: #008fcd;
    --primary-cyan-light: #e0f6ff;
    --dark-color: #1a252f;
    --light-color: #f4f7f6;
    --glass-bg: rgba(255, 255, 255, 0.85);
}

body {
    font-family: 'Inter', sans-serif;
    color: #333;
    background-color: var(--light-color);
}

/* Navbar */
.top-bar {
    background-color: var(--primary-cyan);
    color: white;
    padding: 5px 0;
    font-size: 0.85rem;
}
.navbar {
    background: var(--glass-bg);
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.05);
    border-bottom: 1px solid rgba(255, 255, 255, 0.3);
    padding: 15px 0;
    transition: all 0.3s ease;
}
.navbar-brand img {
    height: 50px;
}
.navbar-brand span {
    font-weight: 800;
    color: var(--dark-color);
    margin-left: 10px;
}
.nav-link {
    font-weight: 600;
    color: var(--dark-color) !important;
    font-size: 0.95rem;
    margin: 0 5px;
    padding: 10px 15px !important;
    transition: all 0.3s ease;
    border-radius: 10px 10px 0 0;
}
.nav-link:hover, .nav-item.dropdown:hover .nav-link, .nav-link.active, .nav-item.dropdown.active .nav-link {
    color: var(--primary-cyan) !important;
    background-color: var(--primary-cyan-light);
}
.nav-item.dropdown .dropdown-menu {
    border-radius: 0 10px 10px 10px;
    margin-top: -1px;
}

/* Dropdown hover behavior for desktop */
@media all and (min-width: 992px) {
    .navbar .dropdown:hover .dropdown-menu {
        display: block;
        margin-top: 0;
        animation: fadeIn 0.3s ease;
    }
}

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

/* Carousel / Slideshow */
.carousel-item {
    height: 80vh;
    min-height: 500px;
    background-color: var(--dark-color);
}
.carousel-item img {
    object-fit: cover;
    height: 100%;
    width: 100%;
    opacity: 0.6;
    transform: scale(1);
}
.carousel-item.active img {
    animation: zoomEffect 10s linear infinite alternate;
}

@keyframes zoomEffect {
    0% { transform: scale(1); }
    100% { transform: scale(1.15); }
}
.carousel-caption {
    bottom: 30%;
    text-shadow: 2px 2px 8px rgba(0,0,0,0.8);
}
.carousel-caption h1 {
    font-weight: 800;
    font-size: 4rem;
    margin-bottom: 20px;
    animation: fadeInDown 1s;
}
.carousel-caption p {
    font-size: 1.5rem;
    font-weight: 300;
    animation: fadeInUp 1s;
}

/* Cards Section */
.info-card {
    border: none;
    border-radius: 20px;
    transition: all 0.4s ease;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    text-decoration: none;
    color: white !important;
    display: block;
    height: 100%;
    padding: 40px 20px;
    position: relative;
    overflow: hidden;
    z-index: 1;
}
.info-card::before {
    content: '';
    position: absolute;
    top: 0; left: -150%; width: 100%; height: 100%;
    background: linear-gradient(to right, rgba(255,255,255,0) 0%, rgba(255,255,255,0.4) 50%, rgba(255,255,255,0) 100%);
    transform: skewX(-25deg);
    z-index: 1;
    transition: left 0.7s ease;
}
.info-card > * {
    position: relative;
    z-index: 2;
}
.info-card:hover {
    transform: translateY(-15px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}
.info-card:hover::before {
    left: 200%;
}

/* Card Gradient Color Classes */
.info-card.bg-gradient-primary { background: linear-gradient(135deg, #00AEEF 0%, #007bb5 100%); }
.info-card.bg-gradient-success { background: linear-gradient(135deg, #28a745 0%, #1e7e34 100%); }
.info-card.bg-gradient-danger { background: linear-gradient(135deg, #dc3545 0%, #b02a37 100%); }
.info-card.bg-gradient-warning { background: linear-gradient(135deg, #ffc107 0%, #e0a800 100%); color: #333 !important; }
.info-card.bg-gradient-info { background: linear-gradient(135deg, #17a2b8 0%, #138496 100%); }

.icon-wrapper {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 2rem;
    background-color: rgba(255, 255, 255, 0.2);
    color: inherit;
    transition: all 0.3s;
    backdrop-filter: blur(5px);
}
.info-card.bg-gradient-warning .icon-wrapper {
    background-color: rgba(0, 0, 0, 0.1);
}
.info-card:hover .icon-wrapper {
    transform: scale(1.1) rotate(5deg);
    background-color: rgba(255, 255, 255, 0.3);
}

.info-card h5 {
    color: inherit;
    font-weight: 800;
}
.info-card p {
    color: rgba(255,255,255,0.9) !important;
}
.info-card.bg-gradient-warning p {
    color: rgba(0,0,0,0.7) !important;
}

/* Section Titles */
.section-title {
    position: relative;
    font-family: 'Playfair Display', serif;
    font-weight: 800;
    color: var(--dark-color);
    margin-bottom: 50px;
}
.section-icon {
    display: inline-block;
    color: var(--primary-cyan);
    animation: gentlePulse 2s infinite alternate ease-in-out;
}
@keyframes gentlePulse {
    0% { transform: scale(1) translateY(0); }
    100% { transform: scale(1.15) translateY(-5px); }
}
.section-title::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: var(--primary-cyan);
    border-radius: 2px;
}

/* News Section */
.news-card {
    border: none;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
    transition: all 0.3s ease;
}
.news-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.1);
}
.news-card img {
    height: 200px;
    object-fit: cover;
    transition: transform 0.5s;
}
.news-card:hover img {
    transform: scale(1.05);
}
.news-date {
    background: var(--primary-cyan);
    color: white;
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    position: absolute;
    top: 15px;
    right: 15px;
    z-index: 2;
}

/* Video Section */
.video-card {
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    position: relative;
}
.video-card-title {
    background: rgba(0,0,0,0.8);
    color: white;
    padding: 10px;
    position: absolute;
    bottom: 0;
    width: 100%;
    margin: 0;
    font-size: 1rem;
}

/* Buttons */
.btn-custom {
    background: var(--primary-cyan);
    color: white;
    border-radius: 30px;
    padding: 10px 30px;
    font-weight: 600;
    text-transform: uppercase;
    transition: all 0.3s;
    border: 2px solid var(--primary-cyan);
}
.btn-custom:hover {
    background: transparent;
    color: var(--primary-cyan);
}

/* Footer */
.footer {
    background-color: var(--dark-color);
    color: rgba(255,255,255,0.7);
    padding: 70px 0 30px;
}
.footer-logo {
    height: 60px;
    margin-bottom: 20px;
}
.footer h4 {
    color: white;
    font-weight: 700;
    margin-bottom: 25px;
    position: relative;
    padding-bottom: 10px;
}
.footer h4::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 40px;
    height: 3px;
    background: var(--primary-cyan);
}
.footer-links {
    list-style: none;
    padding: 0;
}
.footer-links li {
    margin-bottom: 15px;
}
.footer-links a {
    color: rgba(255,255,255,0.7);
    text-decoration: none;
    transition: color 0.3s;
}
.footer-links a:hover {
    color: var(--primary-cyan);
    padding-left: 5px;
}
.social-icons a {
    display: inline-block;
    width: 40px;
    height: 40px;
    background: rgba(255,255,255,0.1);
    color: white;
    text-align: center;
    line-height: 40px;
    border-radius: 50%;
    margin-right: 10px;
    transition: all 0.3s;
}
.social-icons a:hover {
    background: var(--primary-cyan);
    transform: translateY(-3px);
}
.bottom-footer {
    background: #111a22;
    padding: 20px 0;
    margin-top: 50px;
    text-align: center;
}

/* Utilities */
.text-cyan {
    color: var(--primary-cyan) !important;
}

/* Animations */
@keyframes fadeInDown {
    from { opacity: 0; transform: translateY(-30px); }
    to { opacity: 1; transform: translateY(0); }
}
@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Scroll Reveal Animations */
.reveal {
    opacity: 0;
    transform: translateY(60px);
    transition: all 0.8s cubic-bezier(0.5, 0, 0, 1);
}
.reveal.active {
    opacity: 1;
    transform: translateY(0);
}
