/* Modern Divine Theme CSS */
:root {
    /* Primary: Deep Saffron #E76F00 */
    --primary-color: #E76F00;
    --primary-light: #f0a866;
    --primary-dark: #b35600;
    
    /* Accent: Royal Blue #1E3A8A (symbol of Vishnu & balance) */
    --accent-color: #1E3A8A;
    --accent-light: #4f6bd9;
    --accent-dark: #15275c;
    
    /* Secondary: Warm Yellow #FFD54F */
    --secondary-color: #FFD54F;
    --secondary-light: #ffe082;
    --secondary-dark: #ffb300;
    
    /* Background: Off White #FAF9F6 */
    --background-color: #FAF9F6;
    --background-light: #ffffff;
    --background-dark: #e6e5e2;
    
    /* Text: Dark Charcoal #212121 */
    --text-color: #212121;
    --text-light: #757575;
    --text-lighter: #bdbdbd;
    
    /* Footer: Black */
    --footer-color: #000000;
    
    /* Additional colors */
    --border-color: #e0e0e0;
    --shadow-color: rgba(33, 33, 33, 0.1);
    --success-color: #4CAF50;
    --warning-color: #FF9800;
    --error-color: #F44336;
    
    /* Spacing and sizing */
    --border-radius: 8px;
    --box-shadow: 0 4px 12px var(--shadow-color);
    --transition: all 0.3s ease;
}

/* Base Styles */
body {
    background: 
        linear-gradient(rgba(250, 249, 246, 0.9), rgba(250, 249, 246, 0.9)),
        repeating-linear-gradient(
            45deg,
            rgba(231, 111, 0, 0.03) 0px,
            rgba(231, 111, 0, 0.03) 1px,
            transparent 1px,
            transparent 11px
        ),
        repeating-linear-gradient(
            -45deg,
            rgba(30, 58, 138, 0.03) 0px,
            rgba(30, 58, 138, 0.03) 1px,
            transparent 1px,
            transparent 11px
        ),
        var(--background-color);
    background-attachment: fixed;
    font-family: 'Poppins', 'Mukta', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    color: var(--text-color);
    background-color: var(--background-color);
    line-height: 1.6;
}

/* Top Bar */
.top-bar {
    background-color: var(--accent-color);
    color: var(--background-light);
    font-size: 0.9rem;
    padding: 8px 0;
}

.top-bar i {
    color: var(--secondary-color);
}

/* Middle Bar */
.middle-bar {
    background-color: var(--background-light);
    border-bottom: 1px solid var(--border-color);
    padding: 15px 0;
}

.logo h2 {
    color: var(--primary-color);
    font-weight: 700;
    margin: 0;
}

/* Navigation */
.navbar {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--accent-color) 100%);
    box-shadow: var(--box-shadow);
    padding: 15px 0;
}

.navbar .nav-link {
    font-weight: 500;
    color: var(--background-light) !important;
    transition: var(--transition);
    margin: 0 10px;
    position: relative;
    padding: 10px 15px;
    border-radius: var(--border-radius);
}

.navbar .nav-link:hover,
.navbar .nav-link.active {
    background-color: rgba(255, 255, 255, 0.1);
}

.navbar .nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 2px;
    background: var(--secondary-color);
    transition: var(--transition);
}

.navbar .nav-link:hover::after,
.navbar .nav-link.active::after {
    width: 80%;
}

/* Hero Slider Section */
.hero-slider {
    position: relative;
    overflow: hidden;
    width: 100%;
    background: 
        linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)),
        repeating-linear-gradient(
            45deg,
            rgba(255, 213, 79, 0.05) 0px,
            rgba(255, 213, 79, 0.05) 1px,
            transparent 1px,
            transparent 11px
        ),
        repeating-linear-gradient(
            -45deg,
            rgba(231, 111, 0, 0.05) 0px,
            rgba(231, 111, 0, 0.05) 1px,
            transparent 1px,
            transparent 11px
        );
}

.hero-slider .carousel {
    position: relative;
    width: 100%;
}

.hero-slider .carousel-inner {
    position: relative;
    width: 100%;
    overflow: hidden;
}

.hero-slider .carousel-item {
    position: relative;
    height: 500px;
    overflow: hidden;
    display: none;
}

.hero-slider .carousel-item.active {
    display: block;
}

.hero-slider .carousel-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1;
}

.hero-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 2;
    text-align: center;
    color: white;
    width: 80%;
    max-width: 800px;
    padding: 30px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: var(--border-radius);
    backdrop-filter: blur(10px);
    box-shadow: var(--box-shadow);
}

.hero-content h1 {
    font-weight: 700;
    margin-bottom: 20px;
    text-shadow: 0 2px 4px rgba(0,0,0,0.3);
    color: var(--background-light);
    font-size: 2.5rem;
}

.hero-content .lead {
    font-size: 1.25rem;
    margin-bottom: 30px;
    text-shadow: 0 1px 2px rgba(0,0,0,0.3);
    color: var(--background-light);
}

.btn-glass {
    background: rgba(255, 255, 255, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: white;
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
    padding: 12px 25px;
    border-radius: 8px;
    text-decoration: none;
    display: inline-block;
    margin: 5px;
}

.btn-glass:hover {
    background: rgba(255, 255, 255, 0.25);
    border: 1px solid rgba(255, 255, 255, 0.5);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    color: white;
    text-decoration: none;
}

.carousel-control-prev,
.carousel-control-next {
    position: absolute;
    top: 0;
    bottom: 0;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 5%;
    padding: 0;
    color: #fff;
    text-align: center;
    background: none;
    border: 0;
    opacity: 0.7;
    transition: opacity 0.3s ease;
}

.carousel-control-prev:hover,
.carousel-control-next:hover {
    opacity: 1;
}

.carousel-control-prev {
    left: 0;
}

.carousel-control-next {
    right: 0;
}

.carousel-control-prev-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23fff'%3e%3cpath d='M11.354 1.646a.5.5 0 0 1 0 .708L5.707 8l5.647 5.646a.5.5 0 0 1-.708.708l-6-6a.5.5 0 0 1 0-.708l6-6a.5.5 0 0 1 .708 0z'/%3e%3c/svg%3e");
    background-color: rgba(0, 0, 0, 0.3);
    border-radius: 50%;
    padding: 10px;
    width: 40px;
    height: 40px;
    background-size: 60% 60%;
    background-position: center;
    background-repeat: no-repeat;
}

.carousel-control-next-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23fff'%3e%3cpath d='M4.646 1.646a.5.5 0 0 1 .708 0l6 6a.5.5 0 0 1 0 .708l-6 6a.5.5 0 0 1-.708-.708L10.293 8 4.646 2.354a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e");
    background-color: rgba(0, 0, 0, 0.3);
    border-radius: 50%;
    padding: 10px;
    width: 40px;
    height: 40px;
    background-size: 60% 60%;
    background-position: center;
    background-repeat: no-repeat;
}

.carousel-indicators {
    position: absolute;
    right: 0;
    bottom: 20px;
    left: 0;
    z-index: 2;
    display: flex;
    justify-content: center;
    padding: 0;
    margin-bottom: 0;
}

.carousel-indicators button {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.5);
    border: none;
    margin: 0 5px;
    padding: 0;
    cursor: pointer;
}

.carousel-indicators .active {
    background-color: white;
}

/* Buttons */
.btn {
    border-radius: 8px;
}

.btn-primary-theme {
    background: linear-gradient(45deg, #E76F00, #FFD54F);
    border: none;
    padding: 12px 25px;
    font-weight: 600;
    transition: var(--transition);
    border-radius: 8px;
    color: #fff;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
}

.btn-primary-theme:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0,0,0,0.25);
    color: #fff;
}

.btn-outline-light-theme {
    border: 2px solid var(--background-light);
    color: var(--background-light);
    padding: 12px 25px;
    font-weight: 600;
    transition: var(--transition);
    border-radius: 8px;
    background: transparent;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.btn-outline-light-theme:hover {
    background: rgba(255,255,255,0.1);
    transform: translateY(-2px);
    color: var(--background-light);
    box-shadow: 0 6px 20px rgba(0,0,0,0.15);
}

/* Sections */
.section {
    padding: 60px 0;
}

.section-title {
    position: relative;
    margin-bottom: 40px;
    text-align: center;
    font-weight: 700;
    color: var(--accent-color);
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: linear-gradient(45deg, #FFD54F, #E76F00);
    border-radius: 2px;
}

.bg-light {
    background-color: var(--background-light) !important;
}

/* Cards */
.card {
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    border: none;
    transition: var(--transition);
    margin-bottom: 20px;
    background-color: var(--background-light);
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.15);
}

/* Stats Box */
.stats-box {
    text-align: center;
    padding: 25px 15px;
    border-radius: var(--border-radius);
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--accent-color) 100%);
    color: var(--background-light);
    margin-bottom: 20px;
    box-shadow: var(--box-shadow);
    transition: var(--transition);
}

.stats-box:hover {
    transform: translateY(-3px);
}

.stats-box i {
    font-size: 2rem;
    margin-bottom: 10px;
}

.stats-box h3 {
    font-weight: 700;
    font-size: 1.5rem;
    margin-bottom: 5px;
}

/* Feature Boxes */
.feature-box {
    transition: var(--transition);
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--box-shadow);
    height: 100%;
    padding: 25px;
    background: var(--background-light);
    border: 1px solid var(--border-color);
    text-align: center;
}

.feature-box:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.15);
}

.feature-icon {
    font-size: 2.5rem;
    margin-bottom: 20px;
    color: var(--primary-color);
    background: linear-gradient(45deg, #FFD54F, #E76F00);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Footer */
.footer-section {
    background-color: var(--footer-color);
    color: var(--background-light);
    padding: 50px 0 0;
}

.footer-section h5 {
    font-weight: 600;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 10px;
    color: var(--background-light);
}

.footer-section h5::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 3px;
    background: linear-gradient(45deg, #FFD54F, #E76F00);
}

.footer-section .list-unstyled a {
    color: var(--background-light);
    transition: var(--transition);
    text-decoration: none;
}

.footer-section .list-unstyled a:hover {
    color: var(--secondary-color);
    padding-left: 5px;
}

.social-icons a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 35px;
    height: 35px;
    background: rgba(255,255,255,0.1);
    border-radius: 50%;
    color: var(--background-light);
    transition: var(--transition);
    margin-right: 8px;
    text-decoration: none;
}

.social-icons a:hover {
    background: linear-gradient(45deg, #FFD54F, #E76F00);
    transform: translateY(-2px);
    color: var(--accent-color);
}

.copyright-section {
    background: rgba(0,0,0,0.2);
    padding: 20px 0;
    margin-top: 30px;
    color: var(--background-light);
}

/* CTA Section */
.cta-section {
    background: linear-gradient(135deg, #000000 0%, #1a1a1a 50%, #000000 100%);
    padding: 80px 0;
    color: var(--background-light);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)),
        repeating-linear-gradient(
            45deg,
            rgba(231, 111, 0, 0.05) 0px,
            rgba(231, 111, 0, 0.05) 1px,
            transparent 1px,
            transparent 11px
        ),
        repeating-linear-gradient(
            -45deg,
            rgba(30, 58, 138, 0.05) 0px,
            rgba(30, 58, 138, 0.05) 1px,
            transparent 1px,
            transparent 11px
        );
    z-index: 1;
}

.cta-section .container {
    position: relative;
    z-index: 2;
}

.cta-section h2 {
    font-weight: 700;
    margin-bottom: 20px;
    text-shadow: 0 2px 4px rgba(0,0,0,0.5);
    color: var(--background-light);
}

.cta-section .lead {
    font-size: 1.25rem;
    margin-bottom: 30px;
    text-shadow: 0 1px 2px rgba(0,0,0,0.5);
    color: var(--text-lighter);
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.cta-section .btn {
    margin: 5px;
    padding: 12px 30px;
    font-weight: 600;
    border-radius: 50px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0,0,0,0.3);
}

.cta-section .btn-light {
    background: linear-gradient(45deg, #FFD54F, #E76F00);
    border: none;
    color: #000;
}

.cta-section .btn-light:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0,0,0,0.4);
}

.cta-section .btn-outline-light {
    border: 2px solid var(--background-light);
    color: var(--background-light);
    background: transparent;
}

.cta-section .btn-outline-light:hover {
    background: rgba(255,255,255,0.1);
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0,0,0,0.4);
}

/* Forms */
.form-control, .form-select {
    border-radius: var(--border-radius);
    border: 1px solid var(--border-color);
    padding: 10px 15px;
    transition: var(--transition);
}

.form-control:focus, .form-select:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.25rem rgba(231, 111, 0, 0.25);
}

/* Alerts */
.alert {
    border-radius: var(--border-radius);
}

.alert-success {
    background-color: rgba(76, 175, 80, 0.1);
    border-color: var(--success-color);
    color: var(--success-color);
}

.alert-warning {
    background-color: rgba(255, 152, 0, 0.1);
    border-color: var(--warning-color);
    color: var(--warning-color);
}

.alert-danger {
    background-color: rgba(244, 67, 54, 0.1);
    border-color: var(--error-color);
    color: var(--error-color);
}

/* Tables */
.table {
    background-color: var(--background-light);
}

.table thead th {
    background-color: var(--accent-color);
    color: var(--background-light);
    border-color: var(--accent-dark);
}

.table-hover tbody tr:hover {
    background-color: rgba(231, 111, 0, 0.05);
}

/* Pagination */
.page-item.active .page-link {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
}

.page-link {
    color: var(--primary-color);
}

.page-link:hover {
    color: var(--primary-dark);
}

/* Responsive */
@media (max-width: 768px) {
    .hero-slider .carousel-item {
        height: 400px;
    }
    
    .hero-content {
        width: 90%;
        padding: 20px;
    }
    
    .hero-content h1 {
        font-size: 2rem;
    }
    
    .hero-content .lead {
        font-size: 1rem;
    }
    
    .section {
        padding: 40px 0;
    }
    
    .section-title {
        font-size: 1.5rem;
    }
    
    .top-bar .col-md-6 {
        text-align: center !important;
        margin-bottom: 5px;
    }
    
    .navbar .nav-link {
        margin: 5px;
        padding: 8px 12px;
    }
}

@media (max-width: 576px) {
    .hero-slider .carousel-item {
        height: 350px;
    }
    
    .hero-content {
        width: 95%;
        padding: 15px;
    }
    
    .hero-content h1 {
        font-size: 1.5rem;
    }
    
    .btn-glass {
        padding: 10px 20px;
        font-size: 0.9rem;
        margin: 3px;
    }
    
    .logo h2 {
        font-size: 1.5rem;
    }
}

/* Glass Section */
.glass-section {
    background: rgba(255, 255, 255, 0.1);
    border-radius: var(--border-radius);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: var(--box-shadow);
    padding: 30px;
    margin-bottom: 30px;
    position: relative;
    overflow: hidden;
}

.glass-section::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(
        circle at center,
        rgba(255, 213, 79, 0.1) 0%,
        rgba(231, 111, 0, 0.05) 20%,
        transparent 70%
    );
    z-index: -1;
}

/* Product Cards */
.product-card {
    transition: var(--transition);
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--box-shadow);
    height: 100%;
    padding: 25px;
    background: rgba(255, 255, 255, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    text-align: center;
    position: relative;
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.15);
    background: rgba(255, 255, 255, 0.25);
}

.product-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(45deg, #FFD54F, #E76F00);
}

.product-icon {
    font-size: 3rem;
    margin-bottom: 20px;
    color: var(--primary-color);
    background: linear-gradient(45deg, #FFD54F, #E76F00);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.product-card h4 {
    font-weight: 700;
    margin-bottom: 15px;
    color: var(--text-color);
}

.product-card .text-muted {
    color: var(--text-light) !important;
    font-weight: 500;
}

.product-card p {
    margin-bottom: 0;
    color: var(--text-color);
}

/* Plan Card */
.plan-card {
    transition: var(--transition);
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--box-shadow);
    background: rgba(255, 255, 255, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    padding: 25px;
}

.plan-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.15);
    background: rgba(255, 255, 255, 0.25);
}

.plan-card h4 {
    font-weight: 700;
    margin-bottom: 20px;
    color: var(--accent-color);
    border-bottom: 2px solid var(--border-color);
    padding-bottom: 15px;
}

.plan-card ul {
    padding-left: 0;
    list-style: none;
}

.plan-card ul li {
    padding: 8px 0;
    border-bottom: 1px solid var(--border-color);
    position: relative;
    padding-left: 25px;
}

.plan-card ul li:last-child {
    border-bottom: none;
}

.plan-card ul li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--success-color);
    font-weight: bold;
}

/* Objectives Section */
.objective-content h5 {
    font-weight: 700;
    color: var(--accent-color);
    border-bottom: 2px solid var(--border-color);
    padding-bottom: 10px;
    margin-top: 20px;
}

.objective-content p {
    font-size: 0.95rem;
    line-height: 1.6;
}

.objective-content p:first-of-type {
    margin-top: 0;
}
