/* Global Styles */
:root {
    --primary: #7A1E3A;
    /* Deep Maroon */
    --secondary: #B22222;
    /* Ruby */
    --accent: #FFBF00;
    /* Golden Amber */
    --light: #F8F9FA;
    --dark: #212529;
    --glass-bg: rgba(255, 255, 255, 0.85);
    --glass-border: rgba(255, 255, 255, 0.3);
}

body {
    font-family: 'Inter', sans-serif;
    color: var(--dark);
    background-color: #fdfdfd;
    overflow-x: hidden;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
}

/* Animated Background */
.animated-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    background: linear-gradient(120deg, #fdfbfb 0%, #ebedee 100%);
}

.shape {
    position: fixed;
    border-radius: 50%;
    filter: blur(80px);
    z-index: -1;
    animation: floatShape 20s infinite alternate;
}

.shape-1 {
    top: -10%;
    left: -10%;
    width: 500px;
    height: 500px;
    background: rgba(122, 30, 58, 0.1);
}

.shape-2 {
    bottom: -10%;
    right: -10%;
    width: 600px;
    height: 600px;
    background: rgba(255, 191, 0, 0.1);
}

@keyframes floatShape {
    0% {
        transform: translate(0, 0);
    }

    100% {
        transform: translate(50px, 50px);
    }
}

/* Top Bar */
.top-bar {
    background-color: var(--primary);
    color: white;
    padding: 8px 0;
    font-size: 0.9rem;
}

.top-bar a {
    color: white;
    text-decoration: none;
    transition: opacity 0.3s;
}

.top-bar a:hover {
    opacity: 0.8;
}

/* Navbar */
.navbar {
    background: var(--glass-bg);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--glass-border);
    padding: 15px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    transition: all 0.3s ease;
}

.navbar-brand img {
    height: 50px;
}

.nav-link {
    color: var(--dark);
    font-weight: 500;
    margin: 0 10px;
    transition: color 0.3s;
}

.nav-link:hover,
.nav-link.active {
    color: var(--primary);
}

.btn-primary-custom {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: white;
    border: none;
    padding: 10px 25px;
    border-radius: 50px;
    font-weight: 600;
    transition: transform 0.3s, box-shadow 0.3s;
}

.btn-primary-custom:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(122, 30, 58, 0.3);
    color: white;
}

/* Hero Section Styles */
.hero-slider-section {
    position: relative;
    padding: 80px 0;
    overflow: hidden;
    min-height: 600px;
    display: flex;
    align-items: center;
}

.carousel-item {
    transition: transform 0.8s ease-in-out;
}

.hero-slide-content {
    padding: 20px;
}

.hero-tagline {
    display: inline-block;
    padding: 8px 16px;
    background: rgba(122, 30, 58, 0.1);
    color: var(--primary);
    border-radius: 30px;
    font-weight: 600;
    font-size: 0.9rem;
    margin-bottom: 20px;
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 0.8s forwards 0.3s;
}

.hero-title {
    font-size: 3.5rem;
    line-height: 1.2;
    margin-bottom: 20px;
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 0.8s forwards 0.5s;
}

.hero-description {
    font-size: 1.1rem;
    color: #6c757d;
    margin-bottom: 30px;
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 0.8s forwards 0.7s;
}

.hero-buttons {
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 0.8s forwards 0.9s;
}

/* Shaped Images */
.hero-image-wrapper {
    position: relative;
    padding: 20px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-shaped-image {
    width: 100%;
    max-width: 500px;
    height: auto;
    object-fit: cover;
    border-radius: 30px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    transition: transform 0.5s ease;
}

/* Different Shapes for Slides */
.shape-blob-1 {
    border-radius: 42% 58% 70% 30% / 45% 45% 55% 55%;
    animation: morphShape1 8s ease-in-out infinite;
}

.shape-blob-2 {
    border-radius: 60% 40% 30% 70% / 60% 30% 70% 40%;
    animation: morphShape2 8s ease-in-out infinite;
}

.shape-blob-3 {
    border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
    animation: morphShape1 8s ease-in-out infinite;
}

@keyframes morphShape1 {
    0% {
        border-radius: 42% 58% 70% 30% / 45% 45% 55% 55%;
    }

    50% {
        border-radius: 70% 30% 30% 70% / 60% 40% 60% 40%;
    }

    100% {
        border-radius: 42% 58% 70% 30% / 45% 45% 55% 55%;
    }
}

@keyframes morphShape2 {
    0% {
        border-radius: 60% 40% 30% 70% / 60% 30% 70% 40%;
    }

    50% {
        border-radius: 30% 60% 70% 40% / 50% 60% 30% 60%;
    }

    100% {
        border-radius: 60% 40% 30% 70% / 60% 30% 70% 40%;
    }
}

/* Animations */
@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Carousel Controls */
.carousel-control-prev,
.carousel-control-next {
    width: 5%;
    opacity: 0.5;
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
    background-color: var(--primary);
    border-radius: 50%;
    padding: 20px;
    background-size: 50%;
}

.carousel-indicators [data-bs-target] {
    background-color: var(--primary);
    width: 10px;
    height: 10px;
    border-radius: 50%;
    margin: 0 5px;
}

/* Feature Cards */
.feature-card {
    background: white;
    padding: 30px;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s, box-shadow 0.3s;
    border: 1px solid rgba(0, 0, 0, 0.05);
    height: 100%;
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.icon-box {
    width: 60px;
    height: 60px;
    background: rgba(122, 30, 58, 0.1);
    color: var(--primary);
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin-bottom: 20px;
}

/* Stats Section */
.stats-section {
    background: white;
    border-radius: 20px;
    padding: 40px;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.05);
    margin-top: -50px;
    position: relative;
    z-index: 10;
}

.stat-item h3 {
    font-size: 2.5rem;
    color: var(--primary);
    margin-bottom: 5px;
}

/* Footer */
.footer {
    background-color: #f8f9fa;
    padding: 60px 0 20px;
    margin-top: 60px;
}

.social-link {
    width: 40px;
    height: 40px;
    background: white;
    color: var(--primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 10px;
    text-decoration: none;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: all 0.3s;
}

.social-link:hover {
    background: var(--primary);
    color: white;
    transform: translateY(-3px);
}

/* Responsive */
@media (max-width: 991px) {
    .hero-title {
        font-size: 2.5rem;
    }

    .hero-slider-section {
        padding: 40px 0;
        text-align: center;
    }

    .hero-image-wrapper {
        margin-top: 30px;
    }

    .carousel-item .row.flex-row-reverse {
        flex-direction: column-reverse !important;
        /* Stack image on top on mobile if needed, or keep standard */
    }
}

/* Back to Top Button */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: var(--accent);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all 0.3s;
    z-index: 999;
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.back-to-top:hover {
    background: #e6b800;
    transform: translateY(-5px);
    color: white;
}

/* Footer Pattern */

.shape-blob-3 {
    border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
    animation: morphShape1 8s ease-in-out infinite;
}

@keyframes morphShape1 {
    0% {
        border-radius: 42% 58% 70% 30% / 45% 45% 55% 55%;
    }

    50% {
        border-radius: 70% 30% 30% 70% / 60% 40% 60% 40%;
    }

    100% {
        border-radius: 42% 58% 70% 30% / 45% 45% 55% 55%;
    }
}

@keyframes morphShape2 {
    0% {
        border-radius: 60% 40% 30% 70% / 60% 30% 70% 40%;
    }

    50% {
        border-radius: 30% 60% 70% 40% / 50% 60% 30% 60%;
    }

    100% {
        border-radius: 60% 40% 30% 70% / 60% 30% 70% 40%;
    }
}

/* Animations */
@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Carousel Controls */
.carousel-control-prev,
.carousel-control-next {
    width: 5%;
    opacity: 0.5;
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
    background-color: var(--primary);
    border-radius: 50%;
    padding: 20px;
    background-size: 50%;
}

.carousel-indicators [data-bs-target] {
    background-color: var(--primary);
    width: 10px;
    height: 10px;
    border-radius: 50%;
    margin: 0 5px;
}

/* Feature Cards */
.feature-card {
    background: white;
    padding: 30px;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s, box-shadow 0.3s;
    border: 1px solid rgba(0, 0, 0, 0.05);
    height: 100%;
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.icon-box {
    width: 60px;
    height: 60px;
    background: rgba(122, 30, 58, 0.1);
    color: var(--primary);
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin-bottom: 20px;
}

/* Stats Section */
.stats-section {
    background: white;
    border-radius: 20px;
    padding: 40px;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.05);
    margin-top: -50px;
    position: relative;
    z-index: 10;
}

.stat-item h3 {
    font-size: 2.5rem;
    color: var(--primary);
    margin-bottom: 5px;
}

/* Footer */
.footer {
    background-color: #f8f9fa;
    padding: 60px 0 20px;
    margin-top: 60px;
}

.social-link {
    width: 40px;
    height: 40px;
    background: white;
    color: var(--primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 10px;
    text-decoration: none;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: all 0.3s;
}

.social-link:hover {
    background: var(--primary);
    color: white;
    transform: translateY(-3px);
}

/* Responsive */
@media (max-width: 991px) {
    .hero-title {
        font-size: 2.5rem;
    }

    .hero-slider-section {
        padding: 40px 0;
        text-align: center;
    }

    .hero-image-wrapper {
        margin-top: 30px;
    }

    .carousel-item .row.flex-row-reverse {
        flex-direction: column-reverse !important;
        /* Stack image on top on mobile if needed, or keep standard */
    }
}

/* Back to Top Button */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: var(--accent);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all 0.3s;
    z-index: 999;
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.back-to-top:hover {
    background: #e6b800;
    transform: translateY(-5px);
    color: white;
}

/* Footer Pattern */
.footer-pattern {
    background-image: radial-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1px);
    background-size: 20px 20px;
}

/* CTA Images */
.cta-section {
    position: relative;
    box-shadow: 0 20px 60px rgba(122, 30, 58, 0.2);
}

.cta-section::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
    animation: float 15s ease-in-out infinite;
}

@keyframes float {

    0%,
    100% {
        transform: translate(0, 0) rotate(0deg);
    }

    33% {
        transform: translate(30px, -30px) rotate(120deg);
    }

    66% {
        transform: translate(-20px, 20px) rotate(240deg);
    }
}

/* Footer Styles */
.social-icon-btn {
    width: 45px;
    height: 45px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.1);
    color: white;
    border-radius: 12px;
    text-decoration: none;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.social-icon-btn:hover {
    background: var(--accent);
    color: var(--dark);
    transform: translateY(-3px);
    border-color: var(--accent);
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    color: white;
    text-decoration: none;
    opacity: 0.75;
    transition: all 0.3s ease;
    display: inline-block;
}

.footer-links a:hover {
    opacity: 1;
    color: var(--accent);
    padding-left: 5px;
}

.hover-white:hover {
    opacity: 1 !important;
}

.cta-image-1 {
    width: 300px;
    height: 300px;
    object-fit: contain;
    opacity: 0.2;
    animation: float 6s ease-in-out infinite;
}

.cta-image-2 {
    width: 200px;
    height: 200px;
    object-fit: contain;
    opacity: 0.2;
    animation: float 8s ease-in-out infinite reverse;
}