/* 
* Premium LMS - Main Stylesheet
* Theme: Luxury, Minimal, Elegant
*/

:root {
    /* Color Palette - Strict Soft Beige/Cream Theme */
    --primary-color: #d6baa2;     /* Button Background */
    --primary-text: #2E2A25;       /* Button Text */
    --primary-hover: #B7A88F;      /* Button Hover */
    --secondary-color: #9C8F7B;    /* Secondary border */
    --secondary-light: #F1ECE6;    /* Soft cream sections */
    --bg-color: #F7F5F2;           /* Off-white background */
    --bg-warm: #E8DFD3;            /* Warm beige sections */
    --card-bg: #f2e0d46e;            /* Card / Container */
    --text-color: #020202;         /* Secondary text (paragraphs) */
    --text-heading: #2E2A25;       /* Primary text (headings) */
    --text-muted: #8C857B;         /* Muted text */
    --border-color: #D8CFC4;       /* Borders */
    --text-white: #fff;
    /* Typography */
    --font-heading: 'Playfair Display', serif;
    --font-body: 'Inter', sans-serif;

    /* Spacing & Layout */
    --spacer: 1rem;
    --border-radius: 12px;
    --border-radius-lg: 20px;
    --shadow-sm: 0 4px 6px rgba(46, 42, 37, 0.05);   /* Dark brown shadow */
    --shadow-md: 0 10px 30px rgba(46, 42, 37, 0.08);
    --shadow-hover: 0 20px 40px rgba(46, 42, 37, 0.12);
    --transition: all 0.3s ease;
}

/* Global Reset & Typography */
body {
    background-color: var(--bg-color);
    color: var(--text-color);
    font-family: var(--font-body);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

.primary-color{
    color: var(--primary-color) !important;
}

.primary-hover:hover{
    color: var(--primary-hover) !important;
}
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    color: var(--text-heading);
    font-weight: 700;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

a:hover {
    color: var(--secondary-color);
}

/* Utility Classes */
.text-primary-custom { color: var(--primary-color) !important; }
.text-secondary-custom { color: var(--secondary-color) !important; }
.bg-cream { background-color: var(--bg-color) !important; }

.btn-custom {
    padding: 12px 28px;
    border-radius: 50px;
    font-weight: 500;
    transition: var(--transition);
    letter-spacing: 0.5px;
}

.btn-primary-custom {
    background-color: var(--card-bg);
    border: 2px solid var(--primary-color);
}

.btn-primary-custom:hover {
    background-color: var(--primary-hover);
    border-color: var(--primary-hover);
    color: var(--primary-text);
    transform: translateY(-2px);
}

.btn-outline-custom {
    background-color: transparent;
    color: var(--secondary-color);
    border: 2px solid var(--secondary-color);
}

.btn-outline-custom:hover {
    background-color: var(--secondary-color);
    color: white;
    transform: translateY(-2px);
}

/* Card Styling */
.card-luxury {
    /* background: var(--card-bg); */
    border: none;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    overflow: hidden;
}

.card-luxury:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
}

/* Form Controls */
.form-control {
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 12px 16px;
    background-color: white;
}

.form-control:focus {
    box-shadow: 0 0 0 3px rgba(156, 143, 123, 0.2);
    border-color: var(--secondary-color);
}

/* Navbar Tweaks */
.navbar-brand {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1.5rem;
    color: var(--text-heading) !important;
}
.navbar-brand img{
    height:2rem;
}
.nav-link {
    font-family: var(--font-body);
    font-weight: 500;
    font-size: 0.95rem;
    color: var(--text-color) !important;
}

.nav-link:hover, .nav-link.active {
    color: var(--secondary-color) !important;
}

/* Modal Styling */
.modal.show {
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}
.modal-backdrop.show {
    opacity: 0.15; /* Make the dark overlay lighter since we have blur */
}
.modal-content {
    border: none;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-md);
}

/* Accordion Styling */
.accordion-button:not(.collapsed) {
    background-color: var(--primary-color) !important;
    color: #fff !important;
    box-shadow: none;
}

.accordion-button:focus {
    box-shadow: 0 0 0 3px rgba(156, 143, 123, 0.2);
    border-color: var(--secondary-color);
}

.accordion-button::after {
    filter: none;
}

/* Mastery Cards Hover */
.col-lg-3 .text-center.p-4:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}

/* Smooth Scroll */
html {
    scroll-behavior: smooth;
}

.hero-section{
    width: 100%;
    height: 100vh;
    
}
.hero-contant{
    margin-left: 7rem;
    top: 5rem;
    display: inline-block;
    z-index: 100;
}

.hero-section img{
    width: 100%;
    height: 100%;
    object-fit: cover;
    margin-bottom: 2rem;
}
/* Hero Badge Animation */

.hero-section .badge {
    animation: fadeInUp 0.8s ease-out;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Floating badge animation */
.position-absolute[style*="bottom: 30px"] {
    animation: float 3s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

/* CTA Button Pulse */
.btn-primary-custom.btn-lg {
    position: relative;
    overflow: hidden;
}

.btn-primary-custom.btn-lg::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: rgba(255,255,255,0.2);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.btn-primary-custom.btn-lg:hover::before {
    width: 300px;
    height: 300px;
}

/* Password Toggle */
.password-wrapper {
    position: relative;
}

.password-toggle {
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    cursor: pointer;
    color: var(--text-muted);
    font-size: 1.1rem;
    z-index: 10;
    transition: var(--transition);
}

.password-toggle:hover {
    color: var(--secondary-color);
}

.form-control.with-toggle {
    padding-right: 45px;
}
