/* ==========================================================================
   1. Design Tokens & Global Reset
   ========================================================================== */

   html, body {
    height: 100%; /* Required for sticky footer */
}
:root {
    --dark: #121212;
    --light: #f4f4f4;
    --white: #ffffff;
    --accent: #d4af37;
    --transition-fast: 0.3s; 
}

body {
    background-color: var(--white);
    font-family: 'Montserrat', sans-serif;
    color: var(--dark);
    overflow-x: hidden;
    display: flex;
    flex-direction: column; /* Stacks Header -> Main -> Footer */
    min-height: 100vh;
    /* We move the image here so it exists behind EVERY section */
    background-image: linear-gradient(rgba(255,255,255,0.85), rgba(255,255,255,0.85)), 
                      url('../images/hero_face_graphic.png');
    background-position: center;
    background-repeat: no-repeat;
    background-size: contain;
    background-attachment: fixed;
    margin: 0;
}

main {
    flex: 1 0 auto; /* This pushes the footer down */
    padding-top: 50px; /* IMPORTANT: Matches your header height so content isn't hidden */
}

.editorial-footer {
    flex-shrink: 0; /* Prevents the footer from squishing */
}

/* If it's the dashboard, we don't want the footer pushed by main */
body.dashboard-body {
    display: block; 
    height: auto;
}

body.dashboard-body main {
    padding-top: 0; /* Dashboard usually handles its own spacing */
}
/* ==========================================================================
   2. Editorial Header (Ultra-Thin & Aligned)
   ========================================================================== */
.editorial-header {
    background-color: #000000 !important;
    padding: 0 !important; /* Stripping all padding for a thin bar */
    height: 50px; /* Forces the bar to be exactly this height */
    z-index: 1050;
    border-bottom: 1px solid #222;
    display: flex;
    align-items: center; /* Vertically centers the logo and links */
    position: fixed; /* Keep it at the top */
    top: 0;
    width: 100%;
    transition: background 0.4s ease;
}

.navbar {
    padding: 0 !important;
    width: 100%;
}

.navbar-brand-circle {
    display: flex;
    align-items: center;
    padding: 0;
    margin-left: 20px;
}

.navbar-brand-circle img {
    /* Logo stays big (85px) while the bar stays thin (50px) */
    width: 85px; 
    height: 85px;
    border-radius: 50%;
    background: #000000;
    padding: 10px; /* Space inside the circle for the logo */
    object-fit: contain;
    border: 1px solid #333;
    
    /* This allows the logo to hang below the thin bar */
    position: relative;
    top: 15px; 
    z-index: 1100;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.editorial-header.scrolled .navbar-brand-circle img {
    width: 55px; /* Shrinks the logo */
    height: 55px;
    top: 8px; /* Brings it closer to the bar */
    padding: 5px;
}

.navbar-nav {
    display: flex;
    flex-direction: row; /* Ensures links stay side-by-side */
    align-items: center;
    height: 50px; /* Matches header height for perfect centering */
}

.navbar-nav .nav-link {
    color: #ffffff !important;
    text-transform: lowercase;
    font-weight: 300;
    margin: 0 15px;
    letter-spacing: 1px;
    font-size: 0.85rem; /* Slightly smaller for an editorial look */
    padding: 0 !important; /* Removes default padding that bloats the bar */
}

/* Social Icons alignment */
.nav-social-icons {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-left: auto;
    margin-right: 20px;
}

/* ==========================================================================
   3. Editorial Hero Section (Background Image Fix)
   ========================================================================== */
.editorial-hero-container {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    background-color: transparent !important;
    
    /* The white veil: Increased to 0.85 for better text visibility */
    background-image: linear-gradient(rgba(255,255,255,0.85), rgba(255,255,255,0.85)), 
                      url('../images/hero_face_graphic.png');
    
    background-position: center;
    background-repeat: no-repeat;
    background-size: contain; 
    
    /* THIS MAKES IT STATIC/SCROLL WITH PAGE */
    background-attachment: fixed; 
    
    padding-top: 60px;
    z-index: 1;
}

/* FIX: Force Buttons to be Pills/Rounded */
.btn-outline-minimal {
    border: 2px solid #000 !important;
    border-radius: 100px !important; /* Forces the round pill shape */
    padding: 14px 40px !important;
    font-weight: 700;
    color: #000 !important;
    background: transparent;
    text-transform: uppercase;
    letter-spacing: 2px;
    transition: all 0.4s ease;
    display: inline-block;
    text-decoration: none !important;
}

.btn-outline-minimal:hover {
    background: #000 !important;
    color: var(--accent) !important;
    transform: translateY(-3px);
}

/* NEW: Rounded Images on top of Hero Text */
.hero-circle-img {
    width: 120px;
    height: 120px;
    margin: 0 auto;
    border-radius: 50%;
    overflow: hidden;
    border: 2px solid #000;
    background: #fff;
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
}

.hero-circle-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-text-box {
    position: relative;
    z-index: 10; /* Ensures text stays above the background */
    max-width: 500px;
    display: inline-block;
}

/* Bold Typography */
.hero-title {
    font-size: 5rem !important;
    font-weight: 900;
    line-height: 0.85;
    letter-spacing: -3px;
    color: #000000; /* Absolute black for visibility */
    margin-bottom: 20px;
    text-shadow: 0px 0px 10px rgba(255,255,255,0.5); /* Subtle glow to lift off background */
}

.hero-title .accent {
    color: var(--accent);
    font-family: 'Playfair Display', serif;
    font-style: italic;
    text-transform: lowercase;
}

.hero-subtext {
    font-size: 1.25rem;
    color: #333333; /* Darker gray for better reading */
    margin-top: 10px;
    margin-bottom: 40px;
    font-weight: 500; /* Slightly heavier weight */
}

/* Adjusting the gap for desktop so text "frames" the background image */
@media (min-width: 992px) {
    .text-lg-right .hero-text-box {
        margin-right: 5%; /* Pushes text away from the center of the face */
    }
    .text-lg-left .hero-text-box {
        margin-left: 5%;
    }
}
/* ==========================================================================
   4. Services Grid (Black & Gold Contrast)
   ========================================================================== */
#services {
    /* This color overlays the background image on scroll */
    background-color: rgba(0, 0, 0, 0.7) !important; 
    backdrop-filter: blur(8px); 
    -webkit-backdrop-filter: blur(8px);
    padding: 100px 0;
    color: #fff;
}

.service-card-clean {
    /* Semi-transparent dark cards for depth */
    background: rgba(94, 94, 94, 0.75)!important;
    padding: 40px 25px;
    height: 100%;
    display: flex;
    overflow: visible;
    flex-direction: column;
    align-items: center;
    text-align: center;
    /* Subtle border to define the 'glass' edge */
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    transition: all 0.4s ease;
}

.service-card-clean:hover {
    border-color: var(--accent);
    background: rgba(30, 30, 30, 0.9);
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.5);
}

.icon-service {
    width: 140px;
    height: 140px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 25px;
    border: 2px solid rgba(212, 175, 55, 0.3); /* Low opacity gold border */
    padding: 10px;
    background: #fff;
    transition: 0.4s;
}

.service-card-clean:hover .icon-service {
    transform: scale(1.1);
    border-color: var(--accent);
}

@media (max-width: 991px) {
    .editorial-hero-container { padding: 100px 0 50px 0; }
    .hero-title { font-size: 2.2rem !important; letter-spacing: -1px; }
    .hero-img-split { max-height: 40vh; margin: 30px 0; }
}

@media (min-width: 992px) {
    .text-lg-right { text-align: right !important; }
    .text-lg-left { text-align: left !important; }
}

/* ==========================================================================
   5. Universal Rounded UI & Buttons
   ========================================================================== */
.btn-outline-minimal, 
.btn-minimal-gold, 
.rounded-pill {
    border: 2px solid #000 !important;
    border-radius: 100px !important;
    padding: 14px 40px !important;
    font-weight: 700;
    color: #000 !important;
    background: transparent;
    transition: 0.4s;
}

.btn-outline-minimal {
    border: 2px solid #000 !important;
    padding: 14px 40px !important;
    font-weight: 700;
    color: #000 !important;
}

.btn-minimal-gold {
    border: 1px solid var(--accent) !important;
    color: var(--accent) !important;
    padding: 12px 35px !important;
    font-weight: 700;
}

/* ==========================================================================
   6. Responsive Tweaks
   ========================================================================== */
@media (max-width: 991px) {
    .editorial-hero-container { 
        padding: 100px 0 50px 0; 
        background-attachment: scroll; /* Optional: 'fixed' can be glitchy on mobile browsers */
    }
    .hero-title { font-size: 2.2rem !important; letter-spacing: -1px; }
    .hero-circle-img { width: 80px; height: 80px; } /* Scale down icons for mobile */
}

@media (min-width: 992px) {
    .text-lg-right { text-align: right !important; }
    .text-lg-left { text-align: left !important; }
}

/* ==========================================================================
   7. Additional Utility Classes
   ========================================================================== */


#featured {
    padding: 100px 0;
    background-color: rgba(255, 255, 255, 0.02); /* Very light tint to separate sections */
}

.featured-img-wrapper {
    overflow: hidden;
    border-radius: 20px;
    border: 1px solid rgba(255,255,255,0.1);
}

.featured-img-wrapper img {
    transition: transform 0.6s cubic-bezier(0.25, 1, 0.5, 1);
}

.featured-img-wrapper:hover img {
    transform: scale(1.05);
}

.pillar-card {
    background: rgba(255, 255, 255, 0.7); /* Light glass effect */
    backdrop-filter: blur(10px);
    border: 1px solid rgba(0, 0, 0, 0.05);
    padding: 40px;
    border-radius: 24px;
    position: relative;
    overflow: hidden;
    transition: all 0.4s ease;
}

.pillar-card:hover {
    background: rgba(255, 255, 255, 0.9);
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.05);
}

.pillar-number {
    position: absolute;
    top: -10px;
    right: 10px;
    font-size: 6rem;
    font-weight: 900;
    color: rgba(0, 0, 0, 0.03); /* Subtle watermark number */
    line-height: 1;
    z-index: 0;
}

.pillar-card h3, .pillar-card p {
    position: relative;
    z-index: 1;
}

.tracking-widest {
    letter-spacing: 3px;
}

/* Ensure the text is dark enough against the white fixed background */
#featured-hero h2 {
    color: #121212;
}

/* ==========================================================================
   8. PORTFOLIO GRID
   ========================================================================== */
.client-card {
    background: rgba(255, 255, 255, 0.7); /* Frosted glass */
    backdrop-filter: blur(12px);
    border: 1px solid rgba(0, 0, 0, 0.05);
    border-radius: 20px;
    padding: 40px 30px;
    transition: all 0.4s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.client-card:hover {
    background: rgba(255, 255, 255, 0.9);
    transform: translateY(-10px);
    box-shadow: 0 15px 35px rgba(0,0,0,0.1);
}

.client-logo-wrapper {
    width: 100%;
    height: 80px;
    margin-bottom: 25px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.client-logo-wrapper img {
    max-height: 100%;
    max-width: 180px;
    filter: grayscale(100%); /* Keeps it clean and editorial */
    opacity: 0.7;
    transition: 0.3s;
}

.client-card:hover .client-logo-wrapper img {
    filter: grayscale(0%);
    opacity: 1;
}

.client-rating {
    color: var(--accent); /* Uses your gold color #d4af37 */
    font-size: 0.9rem;
}

.client-quote {
    font-style: italic;
    color: #444;
    line-height: 1.6;
    margin-bottom: 20px;
}

.client-name {
    font-weight: 700;
    font-size: 1.1rem;
    color: #121212;
    margin-bottom: 5px;
}

.client-service {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--accent);
    font-weight: 600;
}

/* ==========================================================================
   9. BLOG CARDS
   ========================================================================== */
.blog-card {
    background: rgba(18, 18, 18, 0.8) !important;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 0; /* Square editorial look */
    transition: 0.3s;
}

.blog-card:hover {
    border-color: var(--accent);
}

.blog-date {
    font-size: 0.75rem;
    color: var(--accent);
    text-transform: uppercase;
    letter-spacing: 2px;
}

/* ==========================================================================
   10. Footer Tweaks
   ========================================================================== */

   .editorial-footer {
    background-color: #8799c2 !important; /* bg-dark equivalent */
    color: #ffffff;
    width: 100%;
}

.editorial-footer .container {
    max-width: 1200px;
}

/* Fix for the alignment shown in your screenshot */
.editorial-footer h5, 
.editorial-footer h6 {
    letter-spacing: 2px;
    margin-bottom: 1.5rem;
}

.editorial-footer .list-unstyled li {
    margin-bottom: 0.75rem;
}
   /* Form Styling */
.form-control-minimal {
    background: rgba(102, 102, 102, 0.05);
    border: none;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
    border-radius: 0;
    padding: 12px 0;
    width: 100%;
    color: #4e4e4e;
    transition: all 0.3s;
}

.form-control-minimal:focus {
    outline: none;
    border-bottom: 1px solid var(--accent);
    background: transparent;
}

/* Footer Hover Effects */
.hover-accent:hover {
    color: var(--accent) !important;
    padding-left: 5px;
    transition: all 0.3s ease;
}

.icon-circle-small {
    width: 35px;
    height: 35px;
    background: rgba(0,0,0,0.05);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.bg-black {
    background-color: #000000 !important;
}

/* ==========================================================================
   11. LMS Specific Styles
   ========================================================================== */
:root {
    --lms-black: #121212;
    --lms-accent: #d4af37;
    --lms-bg: #f8f9fa;
}

body { font-family: 'Inter', sans-serif; background: var(--lms-bg); margin: 0; }

.lms-container { 
    display: flex; 
    min-height: 100vh; /* Changed from height: 100vh */
    overflow-y: auto;  /* Allows scrolling if content is long */
}

/* Sidebar */
.lms-sidebar {
    width: 40%;
    background: linear-gradient(135deg, #0a3d62, #3c6382);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
}

.lms-logo-main { width: 80px; margin-bottom: 20px; }
.accent { color: var(--lms-accent); }

/* Social Buttons */
.social-login-grid { margin-top: 30px; display: flex; flex-direction: column; gap: 15px; }
.social-btn { 
    padding: 12px 25px; border-radius: 50px; text-decoration: none; 
    font-weight: 600; transition: 0.3s; text-align: center;
}
.google { background: white; color: #444; }
.linkedin { background: #0077b5; color: white; }

/* Interactive Avatar */
.interactive-avatar {
    width: 100px; height: 100px; background: #eee; border-radius: 50%;
    margin: 0 auto 30px; position: relative; border: 4px solid var(--lms-accent);
}
.face { position: relative; width: 100%; height: 100%; }
.eye { 
    position: absolute; width: 15px; height: 15px; background: white; 
    border-radius: 50%; top: 35%; border: 2px solid #333;
}
.left-eye { left: 25%; }
.right-eye { right: 25%; }
.pupil { width: 6px; height: 6px; background: #333; border-radius: 50%; margin: 4px auto; }

/* Hand Animation */
.hands {
    position: absolute; bottom: -10px; width: 100%; height: 0;
    background: var(--lms-accent); transition: 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    z-index: 10; border-radius: 50% 50% 0 0;
}
.hands.cover-eyes { height: 60px; bottom: 20px; }

/* Form Area */
.lms-form-area { 
    flex: 1.5; 
    display: flex; 
    flex-direction: column; 
    align-items: center; 
    justify-content: center; 
    background: white; 
    padding: 40px 20px; /* Added padding so it doesn't hit the footer */
}

.form-wrapper { width: 100%; max-width: 400px; padding: 20px; }
.input-group { margin-bottom: 20px; }
.input-group input { 
    width: 100%; padding: 12px; border: 1px solid #ddd; border-radius: 8px; 
    margin-top: 5px; box-sizing: border-box;
}
.btn-lms-primary {
    width: 100%; padding: 15px; background: var(--lms-black); color: white;
    border: none; border-radius: 8px; font-weight: 700; cursor: pointer;
}

/* REGISTER NOW BUTTON STYLING */
.btn-register-now {
    display: block;
    width: 100%;
    padding: 14px;
    background-color: transparent;
    border: 2px solid var(--lms-black);
    color: var(--lms-black);
    text-align: center;
    border-radius: 8px;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.3s ease;
    text-transform: uppercase;
}

.btn-register-now:hover {
    background-color: var(--lms-black);
    color: var(--lms-accent);
    text-decoration: none;
}

.separator {
    text-align: center;
    margin: 25px 0;
    position: relative;
}

.separator::before {
    content: "";
    position: absolute;
    top: 50%;
    left: 0;
    width: 100%;
    height: 1px;
    background: #ddd;
    z-index: 1;
}

.separator span {
    background: #fff;
    padding: 0 15px;
    position: relative;
    z-index: 2;
    color: #888;
    font-size: 0.8rem;
}

/* Sidebar Fix for long content */
.lms-sidebar {
    min-height: 100vh;
}

.sidebar-content {
    max-width: 420px;
    padding: 40px;
}

.lms-logo-main {
    width: 120px;
    margin-bottom: 20px;
}

.role-selector-box {
    display: flex;
    gap: 10px;
    justify-content: center;
}

.role-btn {
    padding: 10px 18px;
    border-radius: 25px;
    border: 2px solid #fff;
    background: transparent;
    color: #fff;
    cursor: pointer;
    transition: all 0.3s ease;
}

.role-btn.active {
    background: var(--lms-accent);
    color: #000;
    border-color: var(--lms-accent);
}

.lms-form-area {
    flex: 1;
    padding: 50px 20px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.form-wrapper {
    width: 100%;
    max-width: 520px;
}

.svgContainer {
    position: relative;
    width: 180px;
    height: 180px;
    margin: 0 auto 20px;
}

.input-group {
    display: flex;
    flex-direction: column;
    margin-bottom: 15px;
}

.input-group label {
    font-weight: 600;
    margin-bottom: 5px;
}

.input-group input,
.input-group select {
    padding: 10px;
    border-radius: 6px;
    border: 1px solid #ccc;
}

.hidden {
    display: none;
}

/* Notification Badge for New Assignments */
.notification-icon {
    cursor: pointer;
    transition: transform 0.2s ease;
}

.notification-icon:hover {
    transform: scale(1.1);
}

.notification-scroll-area::-webkit-scrollbar {
    width: 4px;
}

.notification-scroll-area::-webkit-scrollbar-thumb {
    background: var(--gold-soft);
    border-radius: 10px;
}

/* Ensure the dropdown-item doesn't lose the glass feel */
.dropdown-menu .dropdown-item:hover {
    background-color: var(--gold-soft);
    color: inherit;
}