@import url('https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');

:root {
    /* ==========================================================================
       1. New Core Design System Tokens (Your New Theme)
       ========================================================================== */
    --bg: #08090d;
    --panel: rgba(255, 255, 255, 0.06);
    --panel-strong: rgba(255, 255, 255, 0.1);
    --surface: #11131a;
    --surface-2: #171a24;
    --text: #f5f7fb;
    --muted: #b7bfcc;
    --line: rgba(255, 255, 255, 0.08);
    
    --primary: #ff3b45;
    --primary-2: #ff7078;
    --accent: #ffe3e5;
    --success: #70f0b4;
    
    --shadow: 0 30px 80px rgba(0, 0, 0, 0.35);
    --radius: 24px;
    --radius-sm: 16px;
    --container: min(1180px, calc(100vw - 40px));
    --font-display: 'Plus Jakarta Sans', 'Manrope', sans-serif;
    --font-body: 'Manrope', sans-serif;

    /* ==========================================================================
       2. Legacy Mappings (Ensures your existing code adapts instantly)
       ========================================================================== */
    /* --- Base Colors --- */
    --white: #ffffff; 
    --black: #000000;

    /* --- Primary Brand Colors (Mapped to your new vibrant red/pink system) --- */
    --primary-hover: #e6353e;
    --primary-panel: #241214; 
    --primary-darker: #cc2f37;
    --primary-border: var(--primary-2);
    --primary-light: rgba(255, 59, 69, 0.1);   
    --primary-lightest: rgba(255, 112, 120, 0.05);

    /* --- Background Colors (Inverted: Light backgrounds become dark surfaces) --- */
    --bg-body: var(--bg);
    --bg-cream: var(--surface);
    --bg-gray-light: var(--surface-2);
    --bg-gray-lighter: var(--surface);
    --bg-slate: var(--bg);
    --bg-slate-light: var(--surface);
    --bg-yellow-light: #242015; /* Dark amber tint for warnings */
    --bg-yellow-lighter: #1c1910;
    --bg-offwhite: var(--surface);
    --bg-gray-100: var(--surface-2);
    --bg-footer: #040507; 
    --bg-badge: var(--panel);

    /* --- Text Colors (Inverted: Old dark text becomes new light text) --- */
    --text-main: var(--text);
    --text-dark: #ffffff;
    --text-darker: #ffffff;
    --text-near-black: #ffffff;
    --text-gray-dark: var(--muted);
    --text-slate-900: var(--text);
    --text-slate-800: #e2e8f0;
    --text-slate-700: var(--muted);
    --text-slate-600: #94a3b8;
    --text-slate-500: #64748b;
    --text-slate-400: #475569;
    --text-slate-300: #334155;
    --text-gray-300: #4a5568;
    --text-muted: var(--muted);
    --text-muted-light: #a0aec0;
    --text-gray: #8a95a5;
    --text-light-gray: #626d7a;
    --text-light: #475569;
    --text-blue-gray: #e2e8f0;
    --text-blue-gray-light: #94a3b8;

    /* --- Accent Colors (Harmonized with the neon palette) --- */
    --accent-red: var(--primary);
    --accent-coral: var(--primary-2);
    --accent-pink: var(--accent);
    --accent-yellow: #ffd043;
    --accent-orange: #ff9800;
    --accent-amber: #f59e0b;
    --accent-blue: #3b82f6;
    --accent-blue-hover: #1d4ed8;
    --accent-green: var(--success);
    --accent-danger: #ef4444;

    /* --- Border Colors --- */
    --border-light: var(--line);
    --border-gray: var(--line);
    --border-slate: var(--line);
    --border-slate-hover: var(--panel-strong);
    --border-yellow: rgba(245, 158, 11, 0.3);
    --border-standard: var(--line);

    /* --- RGBA Overlays (Inverted so they remain visible on dark UI) --- */
    --rgba-black-02: rgba(255, 255, 255, 0.02);
    --rgba-black-03: rgba(255, 255, 255, 0.03);
    --rgba-black-04: rgba(255, 255, 255, 0.04);
    --rgba-black-05: rgba(255, 255, 255, 0.05);
    --rgba-black-08: rgba(255, 255, 255, 0.08);
    --rgba-black-10: rgba(255, 255, 255, 0.1);
    --rgba-black-15: rgba(255, 255, 255, 0.15);
    --rgba-black-20: rgba(255, 255, 255, 0.2);
    --rgba-black-95: rgba(0, 0, 0, 0.85); 

    --rgba-white-0: rgba(0, 0, 0, 0);
    --rgba-white-10: rgba(0, 0, 0, 0.1);
    --rgba-white-25: rgba(0, 0, 0, 0.25);
    --rgba-white-40: rgba(0, 0, 0, 0.4);
    --rgba-white-85: rgba(0, 0, 0, 0.85);

    --rgba-slate-02: rgba(255, 255, 255, 0.02);
    --rgba-slate-03: rgba(255, 255, 255, 0.03);
    --rgba-slate-04: rgba(255, 255, 255, 0.04);
    --rgba-slate-06: rgba(255, 255, 255, 0.06);

    --rgba-primary-06: rgba(255, 59, 69, 0.06);
    --rgba-primary-dark-15: rgba(255, 59, 69, 0.15);
    --rgba-primary-dark-20: rgba(255, 59, 69, 0.2);
}
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
}

body {
    background-color: #0d0405;
    background-image: radial-gradient(circle at top left, rgba(255, 59, 69, 0.18), transparent 35%), radial-gradient(circle at 80% 15%, rgba(255, 112, 120, 0.14), transparent 30%), radial-gradient(circle at 15% 65%, rgba(255, 59, 69, 0.08), transparent 40%), linear-gradient(180deg, rgba(22, 7, 9, 0.8) 0%, rgba(13, 4, 5, 0.9) 25%, rgba(18, 6, 7, 0.95) 55%, #0a0304 100%);
}

.top-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 5%;
    background-color: var(--white);
    box-shadow: 0 2px 10px var(--rgba-black-05);
    position: relative;
    z-index: 10;
}

.header-left {
    display: flex;
    align-items: center;
    gap: 20px;
}

.header-right {
    display: flex;
    gap: 10px;
    align-items: center;
    justify-content: center;
}
.logo-main{
    width: 200px;
    height: 100%;
}
.logo-placeholder {
    height: 60px;
}
.naac-logo{
    height: 40px;
}

/* Specific styling to ensure Banner Image fits the 1366px x 768px requirement cleanly */
.hero-section {
    position: relative;
    background:
    radial-gradient(circle at top left, rgba(255, 59, 69, 0.28), transparent 38%),
    radial-gradient(circle at top right, rgba(255, 112, 120, 0.18), transparent 32%),
    radial-gradient(circle at center, rgba(255, 59, 69, 0.08), transparent 50%),
    linear-gradient(
        180deg,
        rgba(30, 8, 12, 0.75) 0%,
        rgba(18, 5, 8, 0.9) 40%,
        rgba(10, 3, 4, 0.98) 100%
    ),
    url("../images/bg-main-top.webp") center center / cover no-repeat;
    overflow: hidden;
    max-width: 1366px; 
    margin: 0 auto; 
    min-height: 768px; 
}

.container-hero {
    max-width: 1300px;
    margin: 0 auto;
    padding: 50px 15px;
    display: flex;
    justify-content: space-between;
    position: relative;
    height: 100%;
    align-items: center;
}

.container {
    max-width: 1300px;
    margin: 0 auto;
    padding: 0px 0px;
    height: 100%;
}

.hero-content {
    width: 45%;
    z-index: 2;
    padding-top: 20px;
}

.apply-link {
    display: inline-block;
    color: var(--text-main);
    font-size: 42px;
    font-weight: 500;
    line-height: 50px;
    text-decoration: none;
    margin-bottom: 20px;
}
.apply-link:hover{
  text-decoration: none;
  color: var(--text-main);
}
.main-heading {
    color: var(--primary);
    font-size: 32px;
    line-height: 1.1;
    font-weight: 700;
    margin-bottom: 15px;
}

.sub-heading {
    color: var(--text-near-black);
    font-size: 32px;
    font-weight: 600;
    margin-bottom: 40px;
}

.top-course {
    display: flex;
    gap: 5px;
    justify-content: start;
    align-items: center;
    color: var(--primary);
}

.top-course span{
    color: var(--white);
    font-size: 18px;
    font-weight: 600;
}

.stats-banner {
    display: flex;
    gap: 25px;
    color: var(--white);
    padding: 30px 0;
    position: relative;
    margin-top: 30px;
}

.stats-banner::before {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    left: -50vw;
    width: calc(50vw + 100% + 150px);
    background-color: var(--primary);
    z-index: -1;
}

.stat-item + .stat-item {
    border-left: 1px solid var(--rgba-white-40);
    padding-left: 20px;
}

.stat-item h3 {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 5px;
}

.stat-item p {
    font-size: 14px;
    font-weight: 400;
}

.student-image-wrapper {
    position: absolute;
    bottom: 0;
    left: 57%;
    transform: translateX(-50%);
    height: 84%;
    z-index: 3;
    pointer-events: none;
}

.student-image-wrapper img {
    height: 100%;
    width: auto;
    object-fit: contain;
}

.form-card {
    width: 400px;
    height: 670px;
    background-color: var(--white);
    border-radius: 4px;
    padding: 35px 15px 0px;
    box-shadow: 0 10px 40px var(--rgba-black-08);
    z-index: 4;
    position: relative;
}

/***** Meritto Form widget CSS Height  *****/
/* .form-card iframe {
    height: 602px;
} */

.form-card h3 {
    font-size: 1.25rem;
    color: var(--primary);
    text-align: center;
    margin-bottom: 25px;
    font-weight: 600;
}

@media (max-width: 1200px) {
    .main-heading { font-size: 32px; }
    .student-image-wrapper { left: 50%; }
}

@media (max-width: 992px) {
    .container-hero {
        flex-direction: column;
        align-items: center;
        padding: 50px 15px;
    }
    .hero-content {
        width: 100%;
        text-align: center;
        margin-bottom: 40px;
    }
    .stats-banner { justify-content: center; }
    .stats-banner::before {
        left: -50vw;
        width: 200vw;
    }
    .student-image-wrapper { display: none; }
    .form-card {
        width: 100%;
        max-width: 500px;
    }
}

@media (max-width: 768px) {
    .stat-item + .stat-item{
        border: none;
    }
    .stats-banner::after{
        content: "";
        position: absolute;
        width: 1px;
        height: 70px;
        background: var(--rgba-white-40);
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
    }
    .apply-link {
        display: inline-block;
        color: var(--text-main);
        font-size: 28px;
        font-weight: 500;
        line-height: 34px;
        text-decoration: none;
        margin-bottom: 20px;
    }
    .logo-main{
    width: 130px;
    height: 100%;
}
    .logo-placeholder{ height: 48px; }
    .naac-logo{ height: 30px; }
    .top-course{
        justify-content: center;
        flex-wrap: wrap;
    }
    .stats-banner {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
        align-items: center;
    }
}

@media (max-width: 600px) {
    .top-header { gap: 8px; }
    .main-heading { font-size: 28px; }
    .sub-heading { font-size: 1.4rem; }
    .phone-group, .captcha-group {
        flex-direction: column;
        align-items: stretch;
    }
    .captcha-display {
        width: 100%;
        justify-content: center;
        gap: 20px;
    }
}

@media (max-width:360px){
    .top-header{ padding: 15px 5px; }
    .stats-banner{ gap:10px 0px ; }
}

.about-shivalik {
    padding: 80px 0;
    /* background-color: var(--white); */
    background: linear-gradient(135deg, #181818 0%, #d20000 129%);
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    overflow: hidden;
}

.about-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 50px;
}

.about-content {
    flex: 1;
    max-width: 550px;
}

.about-content .sub-heading {
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--primary);
    font-weight: 700;
    display: block;
    margin-bottom: 12px;
}

.about-content h2 {
    font-size: 32px;
    font-weight: 700;
    color: var(--text-dark);
    line-height: 1.3;
    margin-bottom: 20px;
}

.about-content p {
    font-size: 16px;
    color: var(--text-muted);
    line-height: 1.6;
    margin-bottom: 30px;
}

.about-content .cta-button {
    display: inline-block;
    padding: 12px 28px;
    background-color: var(--primary);
    color: var(--white);
    text-decoration: none;
    font-weight: 600;
    border-radius: 4px;
    transition: background-color 0.3s ease;
}

.about-content .cta-button:hover { background-color: var(--primary-hover); }

.about-image {
    flex: 1;
    position: relative;
}

.about-image::before{
    content: "";
    width: 100%;
    height: 100%;
    background-color: var(--bg-cream);
    position: absolute;
    top: 20px;
    left: 20px;
    z-index: 1;
    border-radius: 10px;
}
.about-image img { 
    width: 100%;
    height: auto;
    display: block;
    border-radius: 8px;
    box-shadow: 0 15px 30px var(--rgba-black-10);
    z-index: 2;
    position: relative;
}

@media (max-width: 991px) {
    .about-shivalik { padding: 50px 0; }
    .about-container {
        flex-direction: column;
        gap: 40px;
    }
    .about-content {
        max-width: 100%;
        text-align: center;
    }
}

.academic-partners-section {
    padding: 60px 20px;
        background-image: radial-gradient(circle at top left, rgba(255, 59, 69, 0.18), transparent 35%), radial-gradient(circle at 80% 15%, rgba(255, 112, 120, 0.14), transparent 30%), radial-gradient(circle at 15% 65%, rgba(255, 59, 69, 0.08), transparent 40%), linear-gradient(180deg, rgba(22, 7, 9, 0.8) 0%, rgba(13, 4, 5, 0.9) 25%, rgba(18, 6, 7, 0.95) 55%, #0a0304 100%);
    /* background-color: var(--bg-gray-light); */
    font-family: 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
}

.academic-partners-header {
    max-width: 1200px;
    margin: 0 auto 45px auto;
}

.academic-partners-header .partner-sub-title {
    color: var(--primary);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    font-size: 13px;
    display: block;
}

.academic-partners-header h2 {
    font-size: 32px;
    color: var(--text-darker);
    margin: 6px 0 0 0;
    font-weight: 700;
    text-align: center;
}

.partners-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
    max-width: 1200px;
    margin: 0 auto;
}

.partner-card {
    /* background: var(--white); */
    background: #1a0000;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 10px 30px var(--rgba-black-04);
    border: 1px solid var(--rgba-black-03);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.partner-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 15px 35px var(--rgba-black-08);
}

.partner-image img {
    width: 100%;
    height: 180px;
    object-fit: cover;
    display: block;
}

.partner-body {
    padding: 24px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.partner-badge {
    font-size: 24px;
    color: var(--primary);
    font-weight: 700;
    letter-spacing: 0.5px;
    margin-bottom: 6px;
}
.partner-body p {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin: 0;
    color: #c0c0c0;
    line-height: 1.6;
}

.partner-body p span {
    display: inline-block;
    padding: 4px 10px;
    background: var(--bg-gray-100);
    border-radius: 20px;
    color: var(--white);
    font-size: 14px;
    white-space: nowrap;
}

.partner-body h3 {
    font-size: 18px;
    color: var(--text-light-gray);
    margin: 0 0 14px 0;
    line-height: 1.4;
    font-weight: 700;
}

.partner-list-points {
    list-style: none;
    padding: 0;
    margin: 0 0 0px 0;
}

.partner-list-points li {
    font-size: 14px;
    color: var(--text-gray-dark);
    position: relative;
    padding-left: 15px;
    margin-bottom: 8px;
    line-height: 1.4;
}

.partner-list-points li::before {
    content: "•";
    color: var(--primary);
    font-weight: bold;
    position: absolute;
    left: 0;
    top: 0;
}

@media (max-width: 1024px) {
    .partners-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 650px) {
    .partners-grid { grid-template-columns: 1fr; }
}

.course-catalog-section,
.courses-section {
    padding: 60px 20px;
    background-color: var(--bg-gray-lighter);
    font-family: 'Segoe UI', Roboto, Arial, sans-serif;
}
.course-catalog-section{
   background-color: #040507; 
}
.courses-section { background-color: var(--white); }

.catalog-header,
.courses-header {
    max-width: 1100px;
    margin: 0 auto 40px auto;
    text-align: center;
}

.sub-title {
    color: var(--primary);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    font-size: 13px;
}

.catalog-header h2,
.courses-header h2 {
    font-size: 32px;
    color: var(--text-dark);
    margin: 8px 0 0 0;
    font-weight: 700;
}

.catalog-container,
.courses-grid {
    max-width: 1100px;
    margin: 0 auto;
}

input[type="radio"].tab-radio {
    display: none;
}

.catalog-tabs {
    display: flex;
    justify-content: center;
    gap: 12px;
    border-bottom: 2px solid var(--border-gray);
    padding-bottom: 16px;
    margin-bottom: 40px;
    overflow-x: auto;
    white-space: nowrap;
    -webkit-overflow-scrolling: touch;
}

.catalog-tabs::-webkit-scrollbar { display: none; }

.tab-btn {
    display: inline-block;
    padding: 12px 24px;
    font-size: 16px;
    font-weight: 600;
    color: var(--primary);
    cursor: pointer;
    border-radius: 30px;
    transition: all 0.25s ease;
    background: var(--primary-light);
}

.tab-btn:hover {
    color: var(--primary);
    background-color: var(--primary-light);
}

.course-tab-panel { 
    display: none; 
    opacity: 1;
}

#tab-eng:checked ~ .catalog-panels .panel-eng,
#tab-mgt:checked ~ .catalog-panels .panel-mgt,
#tab-pha:checked ~ .catalog-panels .panel-pha,
#tab-agr:checked ~ .catalog-panels .panel-agr {
    display: block;
    animation: fadeInTab 0.4s ease-out forwards;
}

#tab-eng:checked ~ .catalog-tabs .btn-eng,
#tab-mgt:checked ~ .catalog-tabs .btn-mgt,
#tab-pha:checked ~ .catalog-tabs .btn-pha,
#tab-agr:checked ~ .catalog-tabs .btn-agr {
    background-color: var(--primary);
    color: var(--white);
}

.course-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 20px;
}

.course-grid.short-grid {
    grid-template-columns: repeat(auto-fit, minmax(320px, 400px));
}

.course-item-card {
    background: var(--primary-light);
    border-radius: 12px;
    border: 1px solid var(--border-light);
    box-shadow: 0 4px 15px var(--rgba-black-02);
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
    overflow: hidden;
}

.course-item-card summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 28px;
    cursor: pointer;
    list-style: none;
    outline: none;
    background-color: var(--primary-lightest);
}

.course-item-card summary::-webkit-details-marker { display: none; }

.course-item-card h4 {
    margin: 0;
    font-size: 16px;
    color: var(--primary);
    font-weight: 600;
    line-height: 1.4;
    padding-right: 15px;
}

.course-item-card .arrow {
    font-size: 18px;
    color: var(--text-gray-300);
    transition: transform 0.3s ease, color 0.25s ease;
}

.course-item-card.text-highlight h4 { color: var(--primary); }

.course-item-card:hover {
    border-color: var(--primary);
    box-shadow: 0 10px 25px var(--rgba-primary-06);
}

.course-item-card:hover .arrow { color: var(--primary); }

.course-item-card[open] { border-color: var(--primary); }

.course-item-card[open] .arrow {
    transform: rotate(90deg);
    color: var(--primary);
}

.course-content {
    padding: 24px 15px 24px 15px;
    border-top: 1px solid var(--border-light);
    animation: slideDown 0.3s ease-out;
}

.course-content img {
    width: 100%;
    height: 160px;
    object-fit: cover;
    border-radius: 8px;
    margin-top: 20px;
    margin-bottom: 12px;
}

.course-content p {
    color: var(--text-gray);
    font-size: 14px;
    line-height: 1.6;
    margin: 0;
}

.course-content ul{
  padding: 20px 20px;
}

.course-content ul li{
  font-size: 14px;
  color: var(--text-gray);
}
.course-content ul li::marker{
color: var(--primary);
}

.course-button {
    display: flex;
    justify-content: center;
    align-items: center;
}
.course-btn{
    background-color: var(--primary);
    padding: 6px 20px;
    border-radius: 5px;
    color: var(--white);
    text-decoration: none;
}

@keyframes fadeInTab {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes slideDown {
    from { opacity: 0; transform: translateY(-10px); }
    to { opacity: 1; transform: translateY(0); }
}

@media (min-width: 769px) {
    details.course-item-card summary {
        pointer-events: none;
        cursor: default;
    }
}

@media (max-width: 768px) {
    .catalog-tabs {
        justify-content: center;
        padding-left: 10px;
        flex-wrap: wrap;
        align-items: center;
        gap: 5px;
    }
    .tab-btn{ padding: 5px 15px; }
    .course-grid { grid-template-columns: 1fr; }
    .course-item-card summary { padding: 12px; }
    .course-content { padding: 24 20px 20px 20px; }
}

.recruitment-slider-section {
    padding: 60px 20px;
    background-color: var(--black);
    font-family: system-ui, -apple-system, sans-serif;
}

.slider-title {
    text-align: center;
    margin-bottom: 40px;
}

.slider-title h2 {
    font-size: 32px;
    color: var(--text-dark);
    margin: 0 0 10px 0;
}

.slider-title p {
    color: var(--text-muted-light);
    margin: 0;
}
.logoes-section{ display: none; }

.logo-slider-container {
    overflow: hidden;
    padding: 20px 0;
    background: var(--black);
    position: relative;
    white-space: nowrap;
}

/* .logo-slider-container::before,
.logo-slider-container::after {
    position: absolute;
    top: 0;
    width: 150px;
    height: 100%;
    content: "";
    z-index: 2;
} */

.logo-slider-container::before {
    left: 0;
    background: linear-gradient(to right, rgba(255,255,255,1) 0%, rgba(255,255,255,0) 100%);
}

.logo-slider-container::after {
    right: 0;
    background: linear-gradient(to left, rgba(255,255,255,1) 0%, rgba(255,255,255,0) 100%);
}

.logo-track {
    display: inline-flex;
    align-items: center;
    width: max-content;
    animation: scrollLogos 25s linear infinite;
}

.logo-track:hover { animation-play-state: paused; }

.logo-slide {
    display: flex;
    justify-content: center;
    align-items: center;
    background: var(--white);
    padding: 3px;
    margin-left: 20px;
    border: 1px solid var(--primary-border);
    border-radius: 10px;
}

.logo-slide img {
    height: 90px;
    width: auto;
    object-fit: contain;
    transition: all 0.3s ease;
}

.logo-slide img:hover {
    filter: grayscale(0%);
    opacity: 1;
}

@keyframes scrollLogos {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

.incubation-dashboard {
    background-color: var(--bg-slate);
    color: var(--text-slate-800);
    padding: 90px 20px;
    font-family: system-ui, -apple-system, sans-serif;
}

.incubation-dashboard * { box-sizing: border-box; }

.dashboard-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 60px;
}

.panel-left { position: relative; }

.sticky-content {
    position: sticky;
    top: 40px;
}

.eyebrow {
    display: inline-block;
    color: var(--primary);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    font-size: 0.85rem;
    margin-bottom: 12px;
}

.title {
    font-size: 32px;
    font-weight: 700;
    line-height: 1.15;
    color: var(--text-slate-900);
    margin: 0 0 35px 0;
    letter-spacing: -0.5px;
}

.hub-branding {
    border-left: 3px solid var(--primary);
    padding-left: 20px;
    margin-bottom: 15px;
}
.ihub{ margin-top: 15px; }

.hub-acronym {
    font-size: 28px;
    font-weight: 600;
    color: var(--text-slate-900);
    letter-spacing: 0.5px;
}

.hub-fullname {
    color: var(--text-slate-600);
    font-size: 1rem;
    margin-top: 4px;
    font-weight: 500;
}

.council-tags {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.council-tags .tag {
    /* background: var(--white); */
    background: #250101;
    border: 1px solid var(--border-slate);
    padding: 3px 16px;
    border-radius: 30px;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-slate-700);
    box-shadow: 0 2px 4px var(--rgba-black-02);
}

.panel-right {
    display: flex;
    flex-wrap: wrap;
    flex-direction: column;
    gap: 25px;
}

.data-block {
    /* background: var(--white); */
    background: #250101;
    border: 1px solid var(--border-slate);
    border-radius: 16px;
    padding: 35px;
    box-shadow: 0 4px 20px var(--rgba-slate-03);
}

.block-label {
    display: block;
    font-size: 0.75rem;
    text-transform: uppercase;
    color: var(--text-slate-500);
    letter-spacing: 1px;
    margin-bottom: 20px;
    font-weight: 600;
}

.network-block h3 {
    font-size: 1.8rem;
    color: var(--text-slate-900);
    margin: 0 0 16px 0;
    font-weight: 700;
}

.connection-line {
    display: flex;
    align-items: center;
    gap: 10px;
}

.spoke-badge {
    background: var(--bg-yellow-light);
    color: var(--primary);
    padding: 4px 10px;
    border-radius: 6px;
    font-size: 0.8rem;
    font-weight: 700;
}

.parent-hub {
    font-weight: 600;
    color: var(--text-slate-700);
}

.metric-row {
    border-bottom: 1px solid var(--bg-slate-light);
    padding: 20px 0;
}

.metric-row:first-of-type { padding-top: 0; }
.metric-row:last-of-type { border-bottom: none; padding-bottom: 0; }

.metric-val {
    font-size: 2.2rem;
    font-weight: 800;
    color: var(--primary);
    line-height: 1;
}

.metric-val span {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-slate-900);
    margin-left: 4px;
}

.metric-desc {
    color: var(--text-slate-600);
    font-size: 0.95rem;
    margin-top: 6px;
    font-weight: 500;
}

.featured-metric {
    background: var(--bg-yellow-lighter);
    padding: 20px;
    margin: 20px -20px -20px -20px;
    border-radius: 0 0 16px 16px;
    border-top: 1px solid var(--border-yellow);
}

@media (max-width: 992px) {
    .dashboard-container {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    .incubation-dashboard { padding: 50px 15px; }
}

.shivalik-faq-section {
    background-color: var(--bg-offwhite);
    padding: 60px 20px;
    font-family: system-ui, -apple-system, sans-serif;
    color: var(--text-slate-800);
}

.shivalik-faq-section * { box-sizing: border-box; }

.faq-header {
    text-align: center;
    margin-bottom: 45px;
}

.faq-header h2 {
    font-size: 32px;
    font-weight: 800;
    color: var(--text-slate-900);
    margin: 0 0 12px 0;
    letter-spacing: -0.5px;
}

.faq-header p {
    font-size: 1.05rem;
    color: var(--text-slate-600);
    margin: 0 auto;
    max-width: 600px;
    line-height: 1.5;
}

.accordion-wrapper {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.faq-item {
    background-color: var(--black);
    border: 1px solid var(--border-slate);
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.25s ease;
    box-shadow: 0 4px 6px -1px var(--rgba-slate-02);
}

.faq-item:hover {
    border-color: var(--border-slate-hover);
    box-shadow: 0 10px 15px -3px var(--rgba-slate-04);
}

.faq-item.Highlighted-faq {
    border-left: 4px solid var(--primary);
}

.faq-trigger {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 24px 28px;
    background: none;
    border: none;
    text-align: left;
    cursor: pointer;
    outline: none;
}

.faq-title {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--primary);
    padding-right: 20px;
    transition: color 0.2s ease;
}

.faq-icon {
    position: relative;
    width: 20px;
    height: 20px;
    flex-shrink: 0;
}

.faq-icon::before,
.faq-icon::after {
    content: '';
    position: absolute;
    background-color: var(--text-slate-500);
    transition: transform 0.25s ease;
}

.faq-icon::before {
    top: 9px;
    left: 0;
    width: 20px;
    height: 2px;
}

.faq-icon::after {
    top: 0;
    left: 9px;
    width: 2px;
    height: 20px;
}

.faq-item.active {
    border-color: var(--border-slate-hover);
    box-shadow: 0 10px 20px -3px var(--rgba-slate-06);
}

.faq-item.active .faq-title { color: var(--primary); }

.faq-item.active .faq-icon::after {
    transform: rotate(90deg);
    opacity: 0;
}

.faq-item.active .faq-icon::before { background-color: var(--primary); }

.faq-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out;
    padding: 0 28px;
}

.faq-item.active .faq-content {
    max-height: fit-content;
    padding-bottom: 24px;
}

.faq-content p {
    margin: 0;
    font-size: 1rem;
    line-height: 1.6;
    color: var(--text-slate-600);
    font-weight: 500;
}

ol.course-list-faq { padding-left: 20px; }

@media (max-width: 768px) {
    .faq-trigger { padding: 20px; }
    .faq-title { font-size: 1rem; font-weight: 600; }
    .faq-item.active .faq-content { padding: 0 20px 20px 20px; }
    .logo-slide img{ height: 34px; }
    .logoes-section{ display: block; }
    .logo-slider-container{ padding: 5px 0; }
}

.section-wrapper { padding: 60px 20px; }

.swiper-slide {
    background: var(--white);
    border: 1px solid var(--border-standard);
    border-radius: 10px;
    padding: 0px;
    text-align: center;
    box-sizing: border-box;
}

.swiper-slide h3 { margin: 0 0 10px; }
.swiper-slide p { margin: 0; }
.swiper-slide img { width: 100%; }

@media (min-width: 768px) {
    .swiper-wrapper {
        display: grid !important;
        grid-template-columns: repeat(4, 1fr);
        gap: 20px;
        transform: none !important;
    }
    .swiper { overflow: visible; }
    .swiper-slide { width: 100% !important; }
}

.life-shivalik-section {
    background-color: var(--bg-slate);
    padding: 60px 20px;
    font-family: 'Plus Jakarta Sans', system-ui, sans-serif;
    overflow: hidden;
}

.life-container {
    max-width: 1240px;
    margin: 0 auto;
}

.life-header {
    text-align: center;
    margin-bottom: 50px;
}

.section-tag {
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 1.5px;
    color: var(--accent-red);
    display: inline-block;
    margin-bottom: 10px;
}

.life-header h2 {
    font-size: 32px;
    font-weight: 800;
    color: var(--text-slate-900);
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}

.changing-text {
    position: relative;
    display: inline-block;
    width: 100%;
    max-width: 465px;
    min-height: 46px;
    color: var(--accent-red);
    overflow: hidden;
    text-align: left;
}

.changing-text span {
    position: absolute;
    left: 0;
    top: 0;
    opacity: 0;
    animation: rotateWords 9s infinite;
}

.changing-text span:nth-child(1) { animation-delay: 0s; }
.changing-text span:nth-child(2) { animation-delay: 3s; }
.changing-text span:nth-child(3) { animation-delay: 6s; }

@keyframes rotateWords {
    0%, 10% { opacity: 0; transform: translateY(20px); }
    15%, 30% { opacity: 1; transform: translateY(0); }
    35%, 100% { opacity: 0; transform: translateY(-20px); }
}

@media (max-width: 768px) {
    .life-header h2 { flex-direction: column; gap: 5px; }
    .changing-text { max-width: 100%; min-height: 40px; text-align: center; }
}

.tabs-nav-container {
    width: 100%;
    margin-bottom: 40px;
}

.campus-tabs-nav {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    justify-content: center;
    gap: 10px;
    border-bottom: 1px solid var(--border-slate);
    padding-bottom: 15px;
    margin-top: 15px;
}

.tab-link {
    padding: 12px 24px;
    font-size: 1rem;
    font-weight: 700;
    color: var(--text-slate-500);
    cursor: pointer;
    border-radius: 8px;
    background-color: var(--bg-slate-light);
    transition: all 0.25s ease;
}

.tab-link:hover {
    color: var(--text-slate-900);
    background-color: var(--bg-slate-light);
}

.tab-link.active {
    color: var(--primary);
    background-color: var(--text-slate-900);
}

.tab-panel {
    display: none;
    opacity: 0;
    transform: translateY(10px);
    transition: opacity 0.4s ease, transform 0.4s ease;
}

.tab-panel.active {
    display: block;
    opacity: 1;
    transform: translateY(0);
}

.bento-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-auto-rows: 200px;
    gap: 20px;
}

.bento-item {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    background-color: var(--bg-slate-light);
    box-shadow: 0 4px 12px var(--rgba-black-03);
}

.bento-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.5s cubic-bezier(0.25, 1, 0.5, 1);
}

.bento-item:hover img { transform: scale(1.04); }

.bento-lg { grid-column: span 2; grid-row: span 2; }
.bento-md { grid-column: span 2; grid-row: span 1; }
.bento-sm { grid-column: span 1; grid-row: span 1; }
.bento-wide { grid-column: span 2; grid-row: span 1; }

@media (max-width: 1024px) {
    .bento-grid {
        grid-auto-rows: 170px;
        gap: 15px;
    }
}

@media (max-width: 768px) {
    .life-shivalik-section { padding: 50px 4%; }
    
    .campus-tabs-nav {
        /* justify-content: flex-start; */
        overflow-x: auto;
        white-space: nowrap;
        flex-wrap: wrap;
        scrollbar-width: none;
        padding-bottom: 10px;
        -webkit-overflow-scrolling: touch;
    }
    .campus-tabs-nav::-webkit-scrollbar { display: none; }
    .tab-link { padding: 10px 18px; font-size: 0.95rem; flex-shrink: 0; }
    .bento-grid {
        grid-template-columns: repeat(2, 1fr);
        grid-auto-rows: 140px;
        gap: 12px;
    }
    .bento-lg { grid-column: span 2; grid-row: span 2; }
    .bento-md { grid-column: span 2; grid-row: span 1; }
    .bento-wide { grid-column: span 2; grid-row: span 1; }
}

.sce-footer {
    background-color: var(--bg-footer);
    padding: 80px 0 0 0;
    font-family: 'Plus Jakarta Sans', system-ui, sans-serif;
    color: var(--text-slate-400);
    border-top: 1px solid var(--text-slate-800);
}

.sce-footer-container {
    max-width: 1200px;
    margin: 0 auto;
}

.sce-footer-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr 0.8fr 1fr;
    gap: 50px;
    padding-bottom: 60px;
}

.footer-col {
    display: flex;
    flex-direction: column;
}

.footer-logo {
    max-width: 180px;
    height: auto;
    margin-bottom: 20px;
    display: block;
}

.brand-desc {
    font-size: 0.95rem;
    line-height: 1.6;
    color: var(--text-slate-400);
    margin: 0 0 25px 0;
}

.footer-heading {
    color: var(--white);
    font-size: 1.15rem;
    font-weight: 700;
    margin: 0 0 25px 0;
    position: relative;
    letter-spacing: 0.3px;
}

.footer-links-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-links-list li a {
    color: var(--text-slate-400);
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 500;
    transition: all 0.25s cubic-bezier(0.25, 1, 0.5, 1);
    display: inline-block;
}

.footer-links-list li a:hover {
    color: var(--white);
    transform: translateX(6px);
}

.anniversary-badge {
    display: flex;
    align-items: center;
    gap: 14px;
    background-color: var(--bg-badge);
    border: 1px solid var(--text-slate-800);
    padding: 12px 18px;
    border-radius: 12px;
    max-width: max-content;
}

.badge-icon-box img {
    width: 38px;
    height: 38px;
    object-fit: contain;
    display: block;
}

.badge-text { display: flex; flex-direction: column; }

.badge-tag {
    font-size: 0.7rem;
    font-weight: 700;
    color: var(--text-slate-500);
    letter-spacing: 1px;
    line-height: 1;
    margin-bottom: 3px;
}

.badge-title {
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--accent-amber);
}

.contact-info {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 15px;
}

.contact-icon {
    color: var(--accent-red);
    font-size: 1rem;
    margin-top: 4px;
}

.contact-text {
    font-size: 0.95rem;
    line-height: 1.5;
    margin: 0;
    color: var(--text-slate-400);
}

.contact-text a{
    font-size: 0.95rem;
    line-height: 1.5;
    margin: 0;
    text-decoration: none;
    color: var(--text-slate-400);
}

.contact-text a:hover{ color: var(--accent-red); }

.social-plates-wrapper {
    display: flex;
    gap: 10px;
    margin-top: 15px;
}

.social-plate-btn {
    width: 38px;
    height: 38px;
    background-color: var(--text-slate-800);
    color: var(--text-slate-300);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.95rem;
    text-decoration: none;
    transition: all 0.25s ease;
}

.social-plate-btn:hover {
    background-color: var(--accent-red);
    color: var(--white);
    transform: translateY(-3px);
}

.sce-footer-bottom {
    border-top: 1px solid var(--text-slate-800);
    padding: 25px 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.copyright-text {
    font-size: 0.88rem;
    color: var(--text-slate-500);
    margin: 0;
    text-align: center;
}

.bottom-link {
    font-size: 0.88rem;
    color: var(--text-slate-500);
    text-decoration: none;
    transition: color 0.2s ease;
}

.bottom-link:hover { color: var(--white); }

@media (max-width: 1024px) {
    .sce-footer-grid { grid-template-columns: repeat(2, 1fr); gap: 40px; }
}

@media (max-width: 768px) {
    .sce-footer-container{ padding: 0px 15px; }
    .sce-footer { padding: 60px 0 0 0; }
    .sce-footer-grid { grid-template-columns: 1fr; gap: 35px; }
    .brand-col { border-bottom: 1px solid var(--text-slate-800); padding-bottom: 25px; }
    .sce-footer-bottom {
        flex-direction: column; gap: 12px; text-align: center; padding: 30px 0 80px;
    }
}

.mobile-bottom-btn {
    position: fixed;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
    gap: 10px;
    z-index: 9999;
}

.mobile-bottom-btn a {
    width: 60px;
    height: 60px;
    text-decoration: none;
    color: var(--white);
    border-radius: 50%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 2px;
    box-shadow: 0 4px 10px var(--rgba-black-20);
}

.btn-call { background: var(--accent-blue); }
.btn-whatsapp { background: var(--accent-green); }
.btn-inquiry { background: var(--accent-danger); }

.mobile-bottom-btn i { font-size: 18px; }
.mobile-bottom-btn span { font-size: 10px; display: none; }

@media (max-width: 768px) {
    .mobile-bottom-btn {
        top: auto; right: 0; bottom: 0; left: 0;
        transform: none; width: 100%; flex-direction: row; gap: 0;
    }
    .mobile-bottom-btn span{ display: block; }
    .mobile-bottom-btn a {
        flex: 1; width: auto; height: auto;
        border-radius: 0; padding: 12px 5px;
        background: #4b0000;
    }
}


#success-stories{
    background: linear-gradient(135deg, #181818 0%, #d20000 129%);
}
#success-stories h2{
    color: #fff;
}
.placement-section {
  padding: 50px 20px;
  background-color: var(--bg-body);
  font-family: sans-serif;
  text-align: center;
}

.section-header h2 {
  font-size: 32px;
  color: var(--text-blue-gray);
  margin-bottom: 10px;
}

.section-header p {
  color: var(--text-blue-gray-light);
  margin-bottom: 30px;
  font-size: 1.1rem;
}

.slider-wrapper {
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  max-width: 1200px;
  margin: 0 auto;
}

.slide-btn {
  background-color: var(--primary);
  color: var(--white);
  border: none;
  border-radius: 50%;
  width: 45px;
  height: 45px;
  font-size: 20px;
  cursor: pointer;
  z-index: 10;
  flex-shrink: 0;
  box-shadow: 0 4px 10px var(--rgba-black-20);
  transition: background-color 0.3s;
}

.slide-btn:hover { background-color: var(--accent-blue-hover); }

.student-slider {
  display: flex;
  gap: 20px;
  overflow-x: auto;
  scroll-behavior: smooth;
  scroll-snap-type: x mandatory;
  padding: 20px 10px;
  width: 100%;
  scrollbar-width: none; 
  -ms-overflow-style: none;  
}

.student-slider::-webkit-scrollbar { display: none; }

.student-card {
  flex: 0 0 350px;
  height: auto;
  border-radius: 12px;
  scroll-snap-align: start; 
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  overflow: hidden; 
}

.student-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 25px var(--rgba-black-15);
}

.student-card img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover; 
}

@media (max-width: 768px) {
  .slide-btn { display: none; }
  .student-slider { padding: 10px; }
  .student-card { flex: 0 0 280px; }
}

.alliance-network {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  text-align: center;
  padding: 60px 0px 5px;
}

.alliance-main-heading { margin-bottom: 45px; }
.alliance-main-heading h2 {
  font-size: 32px;
  font-weight: 700;
  color: var(--white);
  font-family: "Poppins", sans-serif;
  margin-bottom: 10px;
  letter-spacing: -0.5px;
}
.alliance-main-heading p {
  font-size: 1.2rem;
  font-weight: 400;
  color: var(--text-main);
}

.alliance-showcase-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  justify-content: center;
  padding:10px 0px 30px;
}

.alliance-block-node {
  background-color: var(--white);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 4px 20px var(--rgba-black-08);
  display: flex;
  flex-direction: column;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.alliance-block-node:hover { transform: translateY(-5px); }

.alliance-img-container {
  width: 100%;
  height: 220px;
  overflow: hidden;
}

.alliance-img-container img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.alliance-info-panel {
  background-color: var(--primary-panel); 
  padding: 30px 25px;
  text-align: left;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.alliance-meta-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 25px;
}

.alliance-network .alliance-node-title {
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--accent-yellow) !important; 
  margin-top: 5px;
}

.alliance-brand-box {
  background-color: var(--white);
  width: 55px;
  height: 55px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 4px;
  box-shadow: 0 2px 10px var(--rgba-black-10);
}

.alliance-brand-box img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

.alliance-perks-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.alliance-perks-list li{
  color: var(--white);
  font-size: 0.95rem;
  font-weight: 400;
  line-height: 1.5;
  margin-bottom: 15px;
  display: flex;
  align-items: center;
}

.alliance-perks-list li:last-child { margin-bottom: 0; }

.alliance-perks-list li::before {
  font-family: "Font Awesome 6 Free";
  font-weight: 900;
  content: "\f101";
  color: var(--accent-orange); 
  font-size: 16px;
  line-height: 1;
  margin-right: 10px;
  display: inline-block;
}

@media (max-width: 992px) {
  .alliance-showcase-grid { grid-template-columns: repeat(2, 1fr); gap: 25px; }
}

@media (max-width: 768px) {
  .alliance-showcase-grid {
    grid-template-columns: 1fr;
    max-width: 450px;
    margin: 0 auto;
    padding: 0px 15px;
  }
  .alliance-network { padding: 50px 0px 5px; }
  .alliance-main-heading p { font-size: 1rem; }
}

.main-heading,
.about-content h2,
.academic-partners-header h2,
.catalog-header h2,
.courses-header h2,
.slider-title h2,
.title,
.faq-header h2,
.life-header h2,
.section-header h2,
.alliance-main-heading h2 {
    font-size: 32px !important;
}

@media (max-width: 768px) {
    .main-heading,
    .about-content h2,
    .academic-partners-header h2,
    .catalog-header h2,
    .courses-header h2,
    .slider-title h2,
    .title,
    .faq-header h2,
    .life-header h2,
    .section-header h2,
    .alliance-main-heading h2 {
        font-size: 28px !important;
    }
    .slider-container{
        width:100%;
    }
}

.slider-container {
    max-width: 500px;
    margin: 50px auto;
    padding: 0 15px;
}
.owl-nav{ display: none; }
.owl-dots{ margin-top: 20px; }
.owl-dot .active span{ background-color: var(--accent-pink) !important; }
.owl-dot span{ background-color: var(--accent-pink) !important; }
.owl-carousel .item img {
    display: block;
    width: 100%;
    height: auto !important;
    object-fit: cover;
    border-radius: 8px;
}

.lightbox-overlay {
    display: none;
    position: fixed;
    z-index: 9999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: var(--rgba-black-95);
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.lightbox-overlay.active { display: flex; opacity: 1; }

.lightbox-img-container {
    position: relative;
    max-width: 85%;
    max-height: 85vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    overflow: hidden; 
}

.lightbox-content {
    max-width: 100%;
    max-height: 80vh;
    object-fit: contain;
    border-radius: 6px;
    transition: transform 0.25s ease;
    cursor: zoom-in;
}

.lightbox-content.zoomed {
    transform: scale(1.5);
    cursor: zoom-out;
}

.zoom-indicator {
    color: var(--text-light);
    font-size: 13px;
    margin-top: 10px;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.lightbox-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: var(--rgba-white-10);
    color: var(--white);
    border: none;
    font-size: 28px;
    padding: 15px 20px;
    cursor: pointer;
    border-radius: 50%;
    transition: background 0.2s, transform 0.2s;
    user-select: none;
    z-index: 10000;
}

.lightbox-nav:hover { background: var(--rgba-white-25); }

.prev-btn { left: 200px; }
.next-btn { right: 200px; }

@media (max-width: 768px) {
    .lightbox-nav { padding: 10px 15px; font-size: 20px; }
    .prev-btn { left: 10px; }
    .next-btn { right: 10px; }
}

.lightbox-close {
    position: absolute;
    top: 20px;
    right: 35px;
    color: var(--white);
    font-size: 45px;
    cursor: pointer;
    z-index: 10001;
}
.lightbox-close:hover { color: var(--accent-coral); }

.success-slider-container {
    position: relative;
    padding: 0 1rem;
}

.success-img-wrapper {
    position: relative;
    background-color: var(--white);
    border: 1px solid var(--rgba-black-05);
    /* aspect-ratio: 4 / 5; */
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.4s ease;
}

.success-photo {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.success-img-wrapper:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 30px -10px var(--rgba-primary-dark-15) !important;
    border-color: var(--border-primary-dark);
}

.success-img-wrapper:hover .success-photo { transform: scale(1.03); }

.image-overlay-glow {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, var(--rgba-black-15) 0%, var(--rgba-white-0) 50%);
    pointer-events: none;
}

.custom-slider-arrow {
    width: 44px;
    height: 44px;
    background-color: var(--white);
    border: 1px solid var(--rgba-black-08);
    border-radius: 50%;
    top: 50%;
    transform: translateY(-50%);
    opacity: 0.9;
    transition: all 0.2s ease;
    box-shadow: 0 4px 10px var(--rgba-black-05);
}

.custom-slider-arrow:hover {
    background-color: var(--primary-darker) !important;
    opacity: 1;
}

.custom-slider-arrow .carousel-control-prev-icon,
.custom-slider-arrow .carousel-control-next-icon {
    width: 18px;
    height: 18px;
    filter: invert(1) grayscale(100%) brightness(0.2);
}

.custom-slider-arrow:hover .carousel-control-prev-icon,
.custom-slider-arrow:hover .carousel-control-next-icon {
    filter: invert(0) sepia(0) brightness(2);
}

.carousel-control-prev.custom-slider-arrow { left: -10px; display: none; }
.carousel-control-next.custom-slider-arrow { right: -10px; display: none; }

.custom-indicators button {
    width: 10px !important;
    height: 10px !important;
    border-radius: 50%;
    background-color: var(--text-slate-300) !important;
    border: none !important;
    margin: 0 5px !important;
    transition: all 0.2s ease !important;
}

.custom-indicators button.active {
    background-color: var(--primary-darker) !important;
    width: 24px !important;
    border-radius: 6px;
}

@media (max-width: 768px) {
    .custom-slider-arrow { display: none; }
}