/* ========================================
   Custom CSS Variables & Bootstrap Overrides
   ======================================== */
:root {
    --teal-color: #007B9E;
	--white-color: #ffffff;
    --cyan-color: #06b6d4;
    --blue-color: #3b82f6;
    --emerald-color: #10b981;
    --purple-color: #8b5cf6;
    --orange-color: #f97316;
    --gradient-teal: linear-gradient(135deg, #14b8a6, #06b6d4);
    --gradient-blue: linear-gradient(135deg, #3b82f6, #6366f1);
    --gradient-orange: linear-gradient(135deg, #f97316, #fb923c);
    --gradient-emerald: linear-gradient(135deg, #10b981, #14b8a6);
    --gradient-cyan: linear-gradient(135deg, #06b6d4, #3b82f6);
    --gradient-purple: linear-gradient(135deg, #8b5cf6, #a855f7);
}

/* ========================================
   Global Styles & Smooth Transitions
   ======================================== */
* {
    transition: all 0.3s ease;
}

.footer-links {
    margin-left: auto;
}


html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', sans-serif;
    scroll-behavior: smooth;
    overflow-x: hidden;
}

section {
    scroll-margin-top: 80px;
}

/* Utility Colors */
.text-teal1 { color: var(--white-color) !important; }
/* .text-teal { color: var(--teal-color) !important; } */
.text-cyan { color: var(--cyan-color) !important; }
.text-blue { color: var(--blue-color) !important; }
.text-emerald { color: var(--emerald-color) !important; }
.text-purple { color: var(--purple-color) !important; }
.text-orange { color: var(--orange-color) !important; }
.text-white-80 { color: rgba(255, 255, 255, 1) !important; }

.bg-teal { background-color: var(--teal-color) !important; }
.bg-cyan { background-color: var(--cyan-color) !important; }
.bg-blue { background-color: var(--blue-color) !important; }
.bg-emerald { background-color: var(--emerald-color) !important; }
.bg-purple { background-color: var(--purple-color) !important; }
.bg-orange { background-color: var(--orange-color) !important; }

.bg-gradient-light {
    background: linear-gradient(180deg, #f0fdfa 0%, #f9fafb 50%, #f0f9ff 100%);
}

/* ========================================
   Navigation
   ======================================== */
.navbar {
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
}

.navbar-light .navbar-nav .nav-link {
    color: #374151;
    font-weight: 500;
    padding: 0.5rem 1rem;
    position: relative;
    transition: color 0.3s ease;
}

.navbar-light .navbar-nav .nav-link:hover,
.navbar-light .navbar-nav .nav-link:focus {
    color: var(--teal-color);
}

.navbar-light .navbar-nav .nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    
    transition: all 0.3s ease;
    transform: translateX(-50%);
}

.navbar-light .navbar-nav .nav-link:hover::after {
    width: 80%;
}

.dropdown-menu {
    border: none;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    border-radius: 0.5rem;
    margin-top: 0.5rem;
    animation: slideDown 0.3s ease;
}

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

.dropdown-item {
    padding: 0.75rem 1.5rem;
    transition: all 0.3s ease;
}

.dropdown-item:hover {
    background-color: rgba(20, 184, 166, 0.1);
    color: var(--teal-color);
    transform: translateX(5px);
}

/* ========================================
   Hero Section
   ======================================== */
.hero-section {
    position: relative;
    background: linear-gradient(135deg, #007B9E 0%, #007B9E 50%, #14b8a6 100%);
    padding-top: 120px;
    overflow: hidden;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.1);
}

.hero-pattern {
    position: absolute;
    inset: 0;
    opacity: 0.1;
    background-image: radial-gradient(circle at 2px 2px, white 1px, transparent 0);
    background-size: 40px 40px;
}

.hero-image-container {
    position: relative;
}

.hero-image-container img {
    transform: scale(1);
    transition: transform 0.5s ease;
}

.hero-image-container:hover img {
    transform: scale(1.05);
}

/* Hero Carousel Styles */
#heroCarousel {
    position: relative;
    width: 100%;
    overflow: hidden;
    min-height: 100vh;
}

#heroCarousel .carousel-inner {
    transition: transform 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    will-change: transform;
    transform: translateZ(0);
    -webkit-transform: translateZ(0);
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    overflow: visible;
}

#heroCarousel .carousel-item {
    min-height: 100vh;
    padding-top: 80px;
    padding-bottom: 50px;
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
    transform: translateZ(0);
    -webkit-transform: translateZ(0);
    will-change: transform;
    position: relative;
    display: block;
    float: left;
    width: 100%;
    margin-right: -100%;
    opacity: 0;
    transition: opacity 0.15s ease-in-out;
}

#heroCarousel .carousel-item.active {
    opacity: 1;
    z-index: 1;
}

#heroCarousel .carousel-item.active.carousel-item-start,
#heroCarousel .carousel-item.active.carousel-item-end {
    opacity: 1;
}

#heroCarousel .carousel-item .row {
   
    align-items: center;
}
.display-4 {
        font-size: 3rem;
    }
#heroCarousel .carousel-item .hero-image-container {
    position: relative;
    height: 100%;
    display: flex;
    align-items: center;
}

#heroCarousel .carousel-item .hero-image-container img {
    height: 500px;
    object-fit: cover;
    width: 100%;
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
    border-radius: 1rem;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

#heroCarousel .carousel-control-prev,
#heroCarousel .carousel-control-next {
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    border-radius: 50%;
    top: 50%;
    transform: translateY(-50%);
    opacity: 0.8;
    transition: all 0.3s ease;
    z-index: 10;
}

#heroCarousel .carousel-control-prev {
    left: 20px; display: none;
}

#heroCarousel .carousel-control-next {
    right: 20px; display: none;
}

#heroCarousel .carousel-control-prev:hover,
#heroCarousel .carousel-control-next:hover {
    opacity: 1;
    background: rgba(255, 255, 255, 0.3);
}

#heroCarousel .carousel-control-prev-icon,
#heroCarousel .carousel-control-next-icon {
    width: 20px;
    height: 20px;
}

#heroCarousel .carousel-indicators {
    bottom: 30px;
    margin-bottom: 0;
    z-index: 10;
}

#heroCarousel .carousel-indicators button {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.5);
    border: 2px solid rgba(255, 255, 255, 0.8);
    margin: 0 5px;
    transition: all 0.3s ease;
}

#heroCarousel .carousel-indicators button.active {
    background-color: white;
    width: 30px;
    border-radius: 6px;
}

@media (max-width: 991px) {
    #heroCarousel .carousel-item .hero-image-container img {
        height: 400px;
    }
    
    #heroCarousel .carousel-item {
        min-height: auto;
        padding-top: 100px;
        padding-bottom: 50px;
    }
    
    #heroCarousel .carousel-item .row {
        min-height: auto;
    }
}

@media (max-width: 767px) {
    #heroCarousel .carousel-item .hero-image-container img {
        height: 300px;
    }
    
    #heroCarousel .carousel-control-prev,
    #heroCarousel .carousel-control-next {
        width: 40px;
        height: 40px;
    }
    
    #heroCarousel .carousel-control-prev {
        left: 10px;
    }
    
    #heroCarousel .carousel-control-next {
        right: 10px;
    }
    
    #heroCarousel .carousel-item {
        padding-top: 100px;
        padding-bottom: 30px;
    }
    
    #heroCarousel .carousel-item .row {
        min-height: auto;
    }
}

/* Floating Stats */
.floating-stat {
    position: absolute;
    background: white;
    border-radius: 1rem;
    padding: 1.5rem;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
    animation: float 3s ease-in-out infinite;
}

.floating-stat-1 {
    bottom: -1.5rem;
    left: -1.5rem;
}

.floating-stat-2 {
    top: -1.5rem;
    right: -1.5rem;
}

@keyframes float {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-10px);
    }
}

.stat-icon {
    width: 3rem;
    height: 3rem;
    border-radius: 0.75rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Countdown Timer */
.countdown-container {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 1rem;
    padding:1.5rem;
}

.countdown-box {
    background: white;
    border-radius: 0.75rem;
    padding: 1rem;
    text-align: center;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.countdown-number {
    font-size: 2rem;
    font-weight: 700;
    color: var(--teal-color);
    line-height: 1;
}

.countdown-label {
    font-size: 0.875rem;
    color: #6b7280;
    margin-top: 0.5rem;
}

/* ========================================
   Conferences Section
   ======================================== */
.conference-card {
    background: white;
    border-radius: 1rem;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    height: 100%;
}

.conference-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.2);
}

.conference-image {
    position: relative;
    height: 250px;
    overflow: hidden;
}

.conference-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.conference-card:hover .conference-image img {
    transform: scale(1.1);
}

.conference-overlay {
    position: absolute;
    inset: 0;
    opacity: 0.7;
    transition: opacity 0.3s ease;
}

.conference-card:hover .conference-overlay {
    opacity: 0.85;
}

.gradient-teal { background: var(--gradient-teal); }
.gradient-blue { background: var(--gradient-blue); }
.gradient-orange { background: var(--gradient-orange); }
.gradient-cyan { background: var(--gradient-cyan); }
.gradient-emerald { background: var(--gradient-emerald); }

.conference-title {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
    padding: 1.5rem;
}

.conference-body {
    padding: 1.5rem;
}

/* ========================================
   Stats Section
   ======================================== */
.stat-card {
    background: linear-gradient(135deg, #f0fdfa 0%, #f0f9ff 100%);
    border-radius: 1rem;
    padding: 2rem;
    text-align: center;
    transition: all 0.3s ease;
}

.stat-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.stat-icon-wrapper {
    width: 4rem;
    height: 4rem;
    border-radius: 1rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
    color: white;
    font-size: 1.75rem;
}

.stat-number {
    font-size: 3rem;
    font-weight: 700;
    line-height: 1;
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 1rem;
    color: #6b7280;
}

/* ========================================
   About Section
   ======================================== */
.about-image-wrapper {
    position: relative;
}

.about-decoration {
    position: absolute;
    border-radius: 1.5rem;
    z-index: -1;
}

.about-decoration-1 {
    width: 8rem;
    height: 8rem;
    background: linear-gradient(135deg, #14b8a6, #06b6d4);
    bottom: -1.5rem;
    right: -1.5rem;
}

.about-decoration-2 {
    width: 8rem;
    height: 8rem;
    background: linear-gradient(135deg, #a7f3d0, #99f6e4);
    top: -1.5rem;
    left: -1.5rem;
}

.vision-box {
    background: linear-gradient(135deg, #f0fdfa, #ecfeff);
    border-left: 4px solid var(--teal-color);
    border-radius: 0.75rem;
    padding: 1.5rem;
    margin-top: 1.5rem;
}

.value-card {
    position: relative;
    background: white;
    border: 2px solid #f3f4f6;
    border-radius: 1rem;
    padding: 2rem;
    transition: all 0.3s ease;
    height: 100%;
}

.value-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: var(--gradient-teal);
    border-radius: 1rem;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.value-card:hover {
    border-color: transparent;
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.value-card:hover::before {
    opacity: 1;
}

.value-card > * {
    position: relative;
    z-index: 1;
}

.value-card:hover .value-icon,
.value-card:hover h4,
.value-card:hover p {
    color: white !important;
}

.value-icon {
    width: 4rem;
    height: 4rem;
    background: var(--gradient-teal);
    border-radius: 0.75rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.75rem;
    margin-bottom: 1rem;
    transition: all 0.3s ease;
}

.value-card:hover .value-icon {
    background: white;
    color: var(--teal-color) !important;
}

/* ========================================
   Programs Section
   ======================================== */
.program-card {
    background: white;
    border-radius: 1rem;
    padding: 2rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    height: 100%;
    position: relative;
    overflow: hidden;
}

.program-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
}

.program-accent {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
}

.program-icon {
    width: 3.5rem;
    height: 3.5rem;
    border-radius: 0.75rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.program-features {
    list-style: none;
    padding: 0;
    margin: 0 0 1.5rem 0;
}

.program-features li {
    padding: 0.5rem 0;
    color: #6b7280;
    position: relative;
    padding-left: 1.5rem;
}

.program-features li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 6px;
    height: 6px;
    background: var(--teal-color);
    border-radius: 50%;
}

/* CTA Banner */
.cta-banner {
    position: relative;
    background: linear-gradient(135deg, #0d9488, #14b8a6, #06b6d4);
    border-radius: 1.5rem;
    overflow: hidden;
}

.cta-pattern {
    position: absolute;
    inset: 0;
    opacity: 0.1;
    background-image: radial-gradient(circle at 2px 2px, white 1px, transparent 0);
    background-size: 40px 40px;
}

/* ========================================
   News & Events Section
   ======================================== */
.nav-pills .nav-link {
    color: #6b7280;
    padding: 0.75rem 2rem;
    border-radius: 0.5rem;
    font-weight: 500;
    transition: all 0.3s ease;
}

.nav-pills .nav-link:hover {
    background-color: rgba(20, 184, 166, 0.1);
    color: var(--teal-color);
}

.nav-pills .nav-link.active {
    background-color: var(--teal-color);
    color: white;
}

.news-card {
    transition: all 0.3s ease;
    overflow: hidden;
}

.news-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15) !important;
}

.news-card-image {
    overflow: hidden;
    height: 250px;
}

.news-card-image img {
    transition: transform 0.5s ease;
}

.news-card:hover .news-card-image img {
    transform: scale(1.1);
}

.news-image-wrapper {
    height: 100%;
    min-height: 400px;
}

.event-card {
    background: white;
    border-radius: 1rem;
    padding: 1.5rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
}

.event-card:hover {
    transform: translateX(5px);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.12);
}

.event-accent {
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    width: 4px;
}

.event-date {
    width: 4rem;
    height: 4rem;
    border-radius: 0.75rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.date-month {
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
}

.date-day {
    font-size: 1.5rem;
    font-weight: 700;
    line-height: 1;
}

/* ========================================
   Contact Section
   ======================================== */
.form-control,
.form-control-lg {
    border: 2px solid #e5e7eb;
    padding: 0.75rem 1rem;
    transition: all 0.3s ease;
}

.form-control:focus,
.form-control-lg:focus {
    border-color: var(--teal-color);
    box-shadow: 0 0 0 0.2rem rgba(20, 184, 166, 0.1);
}

.contact-icon {
    width: 3rem;
    height: 3rem;
    border-radius: 0.75rem;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.25rem;
    flex-shrink: 0;
}

.office-hours-card {
    background: var(--gradient-teal) !important;
}

/* ========================================
   Buttons
   ======================================== */
.btn {
    border-radius: 0.5rem;
    font-weight: 500;
    padding: 0.625rem 1.5rem;
    transition: all 0.3s ease;
}

.btn-teal {
    background-color: var(--teal-color);
    border-color: var(--teal-color);
    color: white;
}

.btn-teal:hover {
    background-color: #0d9488;
    border-color: #0d9488;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(20, 184, 166, 0.3);
}

.btn-outline-teal {
    border: 2px solid var(--teal-color);
    color: var(--teal-color);
}

.btn-outline-teal:hover {
    background-color: var(--teal-color);
    border-color: var(--teal-color);
    color: white;
}

.btn-lg {
    padding: 0.875rem 2rem;
    font-size: 1.125rem;
}

/* ========================================
   Footer
   ======================================== */
.footer {
    background-color: #1f2937 !important;
}

.footer-links {
    margin: 0;
}

.footer-links li {
    margin-bottom: 0.75rem;
}

.footer-links a {
    color: #9ca3af;
    text-decoration: none;
    transition: all 0.3s ease;
}

.footer-links a:hover {
    color: var(--teal-color);
    transform: translateX(5px);
    display: inline-block;
}

.social-link {
    width: 2.5rem;
    height: 2.5rem;
    background-color: #374151;
    border-radius: 0.5rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #9ca3af;
    text-decoration: none;
    transition: all 0.3s ease;
}

.social-link:hover {
    background-color: var(--teal-color);
    color: white;
    transform: translateY(-3px);
}

.footer-bottom {
    background-color: #111827 !important;
}

/* ========================================
   Scroll to Top Button
   ======================================== */
.scroll-top-btn {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    width: 3rem;
    height: 3rem;
    background: var(--gradient-teal);
    border: none;
    border-radius: 0.75rem;
    color: white;
    font-size: 1.25rem;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 1000;
    box-shadow: 0 4px 20px rgba(20, 184, 166, 0.4);
}

.scroll-top-btn.show {
    opacity: 1;
    visibility: visible;
}

.scroll-top-btn:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(20, 184, 166, 0.6);
}

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

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

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes zoomIn {
    from {
        opacity: 0;
        transform: scale(0.9);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

/* ========================================
   Responsive Styles
   ======================================== */
@media (max-width: 991px) {
    .hero-section {
        padding-top: 100px;
    }
    
    .countdown-number {
        font-size: 1.5rem;
    }
    
    .floating-stat {
        position: static;
        margin-bottom: 1rem;
    }
    
    .conference-image {
        height: 200px;
    }
}

@media (max-width: 767px) {
    .display-3 {
        font-size: 2.5rem;
    }
    
    .display-5 {
        font-size: 2rem;
    }
    
    .stat-number {
        font-size: 2rem;
    }
    
    .countdown-number {
        font-size: 1.25rem;
    }
    
    .countdown-label {
        font-size: 0.75rem;
    }
}

/* ========================================
   Badge Styles
   ======================================== */
.badge {
    font-weight: 500;
    padding: 0.1rem 1rem;
    border-radius: 2rem;
}
.fs-6{ font-size: 2rem;}

/* ========================================
   Tab Content Fade
   ======================================== */
.tab-content {
    animation: fadeIn 0.5s ease;
}

/* ========================================
   Object Fit Utility
   ======================================== */
.object-fit-cover {
    object-fit: cover;
}
