/* Google Fonts imported in header */
body {
    font-family: 'Outfit', sans-serif;
    background-color: #f8f9fa;
    color: #333;
    -webkit-font-smoothing: antialiased;
}

/* Glassmorphism Navbar */
.glass-navbar {
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.3);
}

.nav-link {
    color: #555 !important;
    font-weight: 500;
    transition: all 0.3s ease;
    padding: 0.5rem 1rem !important;
    margin: 0 0.2rem;
    border-radius: 6px;
}

.nav-link:hover, .nav-link.active {
    color: #4a0080 !important;
    background-color: rgba(74, 0, 128, 0.05);
}

/* Glass Dropdown */
.glass-dropdown {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(0,0,0,0.05);
    border-radius: 12px;
}

.dropdown-item:hover {
    background-color: rgba(74, 0, 128, 0.05);
    color: #4a0080;
}

/* Hero Section */
.hero-slider {
    position: relative;
    overflow: hidden;
    height: 70vh;
    min-height: 500px;
    background: #000;
}

.carousel-item img,
.carousel-item video {
    height: 70vh;
    min-height: 500px;
    object-fit: cover;
    opacity: 1; /* Remove opacity to let the dotted overlay and video shine, or keep it if needed. Let's keep it 1, dotted overlay does the darkening. */
}

.dotted-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.4); /* Dark overlay */
    background-image: radial-gradient(rgba(0, 0, 0, 0.5) 1px, transparent 1px);
    background-size: 3px 3px;
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    z-index: 5;
    pointer-events: none;
}


.carousel-caption {
    top: 50%;
    bottom: auto;
    transform: translateY(-50%);
    z-index: 10;
}

.hero-title {
    font-size: 5rem;
    font-weight: 800;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.7);
    animation: fadeInUp 1s ease;
}

@media (max-width: 768px) {
    .hero-title {
        font-size: 3rem;
    }
}

.hero-subtitle {
    font-size: 1.5rem;
    font-weight: 300;
    text-shadow: 1px 1px 3px rgba(0,0,0,0.5);
    animation: fadeInUp 1s ease 0.2s both;
}

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

/* Cards Section */
.glass-panel {
    background: rgba(255, 255, 255, 0.9);
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    border: 1px solid rgba(255,255,255,1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.feature-card {
    border-radius: 16px;
    overflow: hidden;
    background: #fff;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    transition: all 0.4s ease;
    border: none;
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(74, 0, 128, 0.15);
}

.feature-card img {
    height: 250px;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.feature-card:hover img {
    transform: scale(1.05);
}

.card-img-overlay-custom {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(74, 0, 128, 0.9), transparent);
    padding: 2rem 1.5rem 1.5rem;
    color: white;
}

/* Page Content Formatting */
.page-wrapper {
    min-height: 60vh;
}

.content-body p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #444;
}

.content-body img {
    max-width: 100%;
    height: auto;
    border-radius: 12px;
    margin: 1rem 0;
}

/* Buttons */
.btn-primary {
    background-color: #4a0080;
    border-color: #4a0080;
    font-weight: 500;
}

.btn-primary:hover {
    background-color: #2c004d;
    border-color: #2c004d;
}

.btn-outline-light {
    border-width: 2px;
}

.btn-outline-light:hover {
    background-color: #ffc107;
    color: #000;
    border-color: #ffc107;
}

/* Footer Links */
.hover-white:hover {
    color: #fff !important;
}

/* Social icons */
.social-icon:hover {
    background-color: #ffc107 !important;
    color: #000 !important;
    transform: translateY(-3px);
}

/* About Carousel - Fixed dimensions */
#aboutCarousel,
#aboutCarousel .carousel-inner,
#aboutCarousel .carousel-item {
    height: inherit;
}
#aboutCarousel .carousel-item img {
    width: 100%;
    height: 100%;
}
