/* =========================================
   1. VARIABLES & RESET
   ========================================= */
:root {
    --primary-red: #e63946;
    --dark-red: #5c1515;
    --soft-pink: #fff0f1;
    --text-dark: #2b2b2b;
    --text-light: #f5f5f5;
    --text-brown: #4f1e1e;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    /* Crucial for responsive layouts */
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body {
    font-family: 'Poppins', sans-serif;
    background-color: #fff0f1;
    /* Fallback */
    /* background: linear-gradient(135deg, #fff0f1 0%, #fce4ec 100%); Optional gradient from your code */
    color: var(--text-dark);
    overflow-x: hidden;
    /* Prevents side scroll on mobile */
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
    border-radius: 20px;
}

/* 1. Style the Admin Badge (The Icon) */
.admin-badge {
    /* Flexbox to align icon and text */
    display: flex;
    align-items: center;
    justify-content: center;

    /* Shape & Size */
    padding: 5px 10px;
    /* Add side padding for text space */
    border-radius: 8px;
    /* Makes it pill-shaped instead of a circle */
    border: 1px solid #d1bbbb;
    /* Ensure border is visible */
    box-shadow: 5px 6px 8px rgba(241, 21, 17, 0.1);

    /* Colors (Adjust as needed) */
    background-color: #f8f9fa;
    color: #342626;
    font-weight: 500;
    font-size: 18px;

    /* Remove fixed width/height if previously set for a circle */
    width: auto;
    height: auto;
}

/* 2. Hover Effect */
/* When hovering the nav item, change badge colors */
.nav-item:hover .admin-badge,
.admin-badge:hover {
    background-color: #ffffff;
    /* Primary Blue Background */
    color: #5d0909;
    /* White Text & Icon */
    border-color: #494e53;
}

/* 3. Dropdown Toggle Arrow Adjustment */
/* Since 'dropdown-toggle' class is on the span, this styles the arrow */
.dropdown-toggle::after {
    margin-left: 8px;
    /* Space between 'Login' text and the arrow */
    vertical-align: middle;
    /* Align arrow vertically with text */
    border-top: 0.3em solid;
    /* Ensure arrow is visible */
    border-right: 0.3em solid transparent;
    border-bottom: 0;
    border-left: 0.3em solid transparent;

}

/* 2. The Dropdown Box itself */
.dropdown-menu {
    border: none;
    border-radius: 0;
    /* Square corners are often more formal than round */
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    /* Soft, expensive-looking shadow */
    padding: 10px 0;
    margin-top: 10px !important;
    /* Spacing from the nav bar */
    min-width: 320px;
}

/* 3. The Items - Formal Styling */
.dropdown-item {
    /* "Georgia" is a classic formal serif font. 
       If you prefer sans-serif, use 'Helvetica Neue' with letter-spacing. */
    font-family: Arial, Helvetica, sans-serif;
    font-size: 15px;
    font-weight: 500;
    color: #444;
    /* Dark grey is softer/more premium than pure black */
    padding: 12px 24px;
    /* Generous breathing room */
    letter-spacing: 0.5px;
    /* Slight spacing adds elegance */
    transition: all 0.2s ease-in-out;
    border-left: 3px solid transparent;
    /* Setup for the hover accent */
}

/* 4. The Hover Effect */
.dropdown-item:hover,
.dropdown-item:focus {
    background-color: #fcfcfc;
    /* Almost white */
    color: #000;
    /* This creates a formal "tab" effect on the left */
    border-left: 3px solid #8B4513;
    /* Matches your 'text-brown' theme */
    padding-left: 28px;
    /* Slight movement to the right for interaction feedback */
}

/* =========================================
   2. TYPOGRAPHY
   ========================================= */
h1,
h2,
h3,
h4,
h5 {
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: -0.5px;
    margin-bottom: 1rem;
}

h1 {
    color: var(--primary-red);
    font-size: 3.5rem;
    text-shadow: 0 0 20px #fff, 0 0 30px #be5ffa;
}

h2 {
    font-size: 2.5rem;
    color: var(--dark-red);
    text-align: center;
    margin-bottom: 2rem;
}

h3 {
    font-size: 1.75rem;
    color: #f9f2f2;
}

h4 {
    font-size: 1.5rem;
    font-weight: 600;
    color: #eee9e9;
    padding: 10px;
}

h5 {
    font-size: 1.5em;
    color: #ef1414;
    text-align: center;
}

.title-text {
    font-weight: bold;
    font-size: 3.2rem;
    min-width: fit-content;
    padding: 2px 0;
    LINE-HEIGHT: 55px;

    /* 1. Define the gradient direction and colors */
    background: linear-gradient(to right, rgb(222, 74, 74), #de3535);

    /* 2. Clip the background to the text shape */
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.internx {
    font-weight: bold;
    font-size: 3.2rem;
    line-height: 85px;
    color: rgb(55, 44, 44);
    background: linear-gradient(to right, rgb(237, 39, 39), #e72e2e);
    /* -webkit-background-clip: text; */
    /* background-clip: text; */
    color: transparent;
    font-weight: 500;
}


.section-heading {
    color: #3f1717;
}

.section-title {
    color: #413737;
    font-weight: 500;
    font-size: 32px;
    margin-bottom: 5px;
    text-align: center;
}

.section-subtitle {
    color: #413737;
    margin-bottom: 30px;
    font-size: 16px;
    font-family: 'Lucida Sans';
    text-align: center;
}

/* =========================================
   3. NAVBAR & UTILITIES
   ========================================= */
.bg-dark-red {
    background-color: #5a1313;
}



.nav-item {
    font-size: 1.15rem;
    font-weight: 500;
    color: #000;
    font-family: 'Lucida Sans', 'Lucida Sans Regular', 'Lucida Grande', 'Lucida Sans Unicode', Geneva, Verdana, sans-serif;
}



/*HERO */
/* =========================================
   4. HERO SECTION
   ========================================= */
.hero-section {
    background: linear-gradient(180deg, #ffffff 0%, var(--soft-pink) 100%);
    padding: 20px 0;
    overflow: hidden;
    position: relative;
    z-index: 1;
}

.hero-title {
    font-size: 4.0rem;
    font-weight: 400;
    color: #4a3030;
    text-align: left;
    max-width: 80%;
}

.hero-subtitle {
    font-size: 3rem;
    font-weight: 600;
    text-align: left;
    color: #574747;
}

.brand {
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo {
    width: 90px;
    /* Default desktop size */
    height: auto;
    object-fit: contain;
}

/* .title-text {
    font-size: 2.5rem;
    /* Default desktop size */
/* font-weight: bold;
color: rgb(172, 33, 33);
} */

.logo:hover {
    transform: scale(1.05);
}

/* =========================================
   5. PROFILE & IMAGES
   ========================================= */
.profile-container {
    position: relative;
    width: 100%;
    max-width: 500px;
    aspect-ratio: 1 / 0.9;
    display: flex;
    justify-content: center;
    align-items: flex-end;
    margin: 0 auto;
}

.outer-circle {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: linear-gradient(135deg, #fff0f3 0%, #ffc2cd 100%);
    z-index: 1;
}

.inner-circle {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 81%;
    height: 81%;
    border-radius: 50%;
    background: linear-gradient(135deg, #eaa8aa 0%, #f1bcc9 100%);
    box-shadow: 0 10px 20px rgba(246, 65, 108, 0.3);
    z-index: 2;
}

.character-image {
    position: absolute;
    z-index: 3;
    height: 118%;
    width: auto;
    max-width: 200%;
    object-fit: contain;
    filter: drop-shadow(0 10px 15px rgba(0, 0, 0, 0.15));
}

/* body {
    background-color: #e0e5ec;
    height: 100vh;
    margin: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
    font-family: 'Segoe UI', sans-serif;
} */

/* --- YOUR ORIGINAL CODE (UNCHANGED) --- */
/* --- 1. Main Background & Wrapper --- */
/* --- 1. Main Background & Wrapper --- */
.bg-dark-red {
    /* background-color: #ad9494; */
    color: white;
}

.slider-wrapper {
    background-color: rgba(234, 141, 141, 0.1);
    padding: 10px 10px;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    overflow: hidden;
    margin: 30px 30px;
}

.slider-container {
    width: 100%;
    overflow: hidden;
    padding-bottom: 10px;
    border-radius: 15px;
}

.slider {
    display: flex;
    width: 100%;
    transition: transform 0.5s cubic-bezier(0.25, 1, 0.5, 1);

}

/* --- 2. Item Styling (Updated for 5 Items) --- */
.item {
    /* SCALING CHANGE: 100% / 5 items = 20% */
    /* min-width: 20%;
    width: 20%; */

    border-radius: 15px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 20px 20px;
    /* Reduced side padding slightly so 5 items fit comfortably */
}

/* Image Frame */
.item-inner {
    /* 1. Responsive Sizing */
    width: 80%;
    /* Fills the width of its parent slider/grid column */
    max-width: 90%;

    /* 2. The Magic Ratio Property */
    /* Change this fraction to perfectly match your images (Width / Height) */
    /* Common poster ratios: 3 / 4,  2 / 3,  or 4 / 5 */
    aspect-ratio: 3 / 4;

    /* Removed fixed heights to allow aspect-ratio to do the math dynamically */

    /* 3. Styling */
    background-color: white;
    border-radius: 20px;
    /* Slightly rounded corners look better, change to 1px if preferred */
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease;

    /* 4. Spacing */
    margin: 10px auto 15px auto;
    /* Centers the box and adds bottom spacing */

    /* 5. Keeps images from spilling out of the rounded corners */
    overflow: hidden;
    position: relative;
}

/* Hover Effect for Interactivity */
.item-inner:hover {
    transform: translateY(-15px);
    /* Adjusted lift to be subtler */
}

.item-inner img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: object-fit 0.3s ease;
}

/* --- 3. Text Styling --- */
.item .content {
    text-align: center;
    color: white;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    font-weight: 600;
    font-size: 1rem;
    /* Slightly smaller font to fit 5 cols */
    letter-spacing: 0.5px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.6);
}

/* --- 4. Dots Navigation --- */
#dots-container {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-top: 10px;
    margin-bottom: 10px;
}

.dot {
    width: 12px;
    height: 12px;
    background-color: rgba(255, 255, 255, 0.4);
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s ease;
    border: 1px solid transparent;
}

.dot.active {
    background-color: #ffeb3b;
    transform: scale(1.3);
    border-color: rgba(0, 0, 0, 0.1);
}

/* Navigation Buttons */
.slider-nav-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 40px;
    /* Slightly smaller button */
    height: 40px;
    /* background-color: transparent; */
    border: none;
    border-radius: 50%;
    box-shadow: 0 4px 10px rgba(160, 130, 130, 0.3);
    cursor: pointer;
    z-index: 200;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: all 0.3s ease;
    color: #0d0c0c;
    font-size: 1.2rem;
    font-weight: bold;
}

.slider-nav-btn:hover {
    background-color: transparent;
    transform: translateY(-50%) scale(1.1);
}

/* Position adjustment: Moved closer to edge so they don't block the 5 items */
.prev-btn {
    left: 10px;
}

.next-btn {
    right: 10px;
}

/* Container for the process flow */
.process-wrapper {
    display: flex;
    flex-wrap: nowrap;
    /* Forces a single row on desktop */
    width: 100%;
    margin: 0;
    filter: drop-shadow(0 4px 6px rgba(0, 0, 0, 0.1));
}

/* Individual Step Box */
.process-step {
    flex: 1 1 0;
    /* Ensures all 5 boxes share exact equal width */
    position: relative;
    padding: 30px 15px 20px 35px;
    color: #fff;
    text-align: center;
    margin-left: -20px;
    /* Pulls the items together so they interlock */
    min-height: 100px;
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;

    /* Right-pointing chevron shape */
    clip-path: polygon(calc(100% - 25px) 0%, 100% 50%, calc(100% - 25px) 100%, 0% 100%, 25px 50%, 0% 0%);
    transition: transform 0.2s ease;
}

.process-step:hover {
    transform: translateY(-5px);
}

/* Shape adjustments for First and Last items */
.process-step:first-child {
    margin-left: 0;
    padding-left: 20px;
    clip-path: polygon(calc(100% - 25px) 0%, 100% 50%, calc(100% - 25px) 100%, 0% 100%, 0% 0%);
    border-radius: 8px 0 0 8px;
}

.process-step:last-child {
    padding-right: 10px;
    clip-path: polygon(100% 0%, 100% 100%, 0% 100%, 25px 50%, 0% 0%);
    border-radius: 0 8px 8px 0;
}

/* Text and Icon Styling */
.process-number {
    position: absolute;
    top: 10px;
    left: 40px;
    font-size: 1.1rem;
    font-weight: 800;
    opacity: 0.9;
}

.process-step:first-child .process-number {
    left: 15px;
}

.process-icon {
    font-size: 1.5rem;
    margin-bottom: 8px;
    color: #fff;
    padding: 30px 10px;
}

.process-title {
    font-size: 0.9rem;
    font-weight: 600;
    line-height: 1.3;
}

/* Background Colors */
.step-1 {
    background: linear-gradient(180deg, #814544 55%, #763837 55%);
}

.step-2 {
    background: linear-gradient(180deg, #ffca28 55%, #ffb300 55%);
    color: #333;
}

.step-2 .process-icon,
.step-2 .process-number {
    color: #333;
}

.step-3 {
    background: linear-gradient(180deg, #66bb6a 55%, #43a047 55%);
}

.step-4 {
    background: linear-gradient(180deg, #29b6f6 55%, #039be5 55%);
}

.step-5 {
    background: linear-gradient(180deg, #3949ab 55%, #283593 55%);
}

/* ----------------------------------------------------
   MOBILE & TABLET VIEW: Stack Vertically
----------------------------------------------------- */
@media (max-width: 600px) {
    .process-wrapper {
        flex-direction: column;
        /* Stacks items vertically */
        align-items: center;
        filter: none;
    }
        
    .process-step {
        width: 100%;
        max-width: 400px;
        margin-left: 0;
        margin-top: -15px;
        /* Overlaps vertically */
        padding: 30px 15px 15px 20px;
        min-height: auto;
        /* Arrow points DOWN */
        clip-path: polygon(0% 25px, 50% 0%, 100% 25px, 100% calc(100% - 25px), 50% 100%, 0% calc(100% - 25px)) !important;
        border-radius: 0 !important;
        gap : 5px;
    }

    .process-step:first-child {
        margin-top: 0;
        padding-top: 15px;
        clip-path: polygon(0% 0%, 100% 0%, 100% calc(100% - 25px), 50% 100%, 0% calc(100% - 25px)) !important;
        border-radius: 8px 8px 0 0 !important;
    }

    .process-step:last-child {
        clip-path: polygon(0% 25px, 50% 0%, 100% 25px, 100% 100%, 0% 100%) !important;
        border-radius: 0 0 8px 8px !important;
    }

    .process-number {
        top: 35px;
        left: 20px;
    }

    .process-step:first-child .process-number {
        top: 15px;
    }
}
/* -----------------------------------------
   1. TABLE RESPONSIVENESS (Custom Scrollbar)
------------------------------------------ */
.table-responsive {
    display: block;
    width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    /* Smooth scrolling on iOS */
}

/* Optional: Make the scrollbar look nice on dark backgrounds */
.table-responsive::-webkit-scrollbar {
    height: 8px;
}

.table-responsive::-webkit-scrollbar-thumb {
    background-color: rgba(255, 255, 255, 0.3);
    border-radius: 10px;
}


/* -----------------------------------------
   3. IMAGE SLIDER RESPONSIVENESS
------------------------------------------ */
/* Ensures the slider container doesn't break the page width */
.slider-container {
    overflow: hidden;
    width: 100%;
}

.slider {
    display: flex;
    flex-wrap: nowrap;
    /* Forces items in a row (if controlled by CSS/JS) */
}



.item-inner img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    /* Crops image to fit container perfectly */
    object-position: top center;
    display: block;
}

/* If you are NOT using a Javascript library (like Slick or Owl), 
   you need CSS to size the items based on screen size: */
.item {
    flex: 0 0 25%;
    /* Desktop: 4 items per row */
    max-width: 25%;
    padding: 5px 5px;
}

@media (max-width: 991px) {
    .item {
        flex: 0 0 33.333%;
        /* Tablet: 3 items per row */
        max-width: 33.333%;
    }
}

@media (max-width: 767px) {
    .item {
        flex: 0 0 50%;
        /* Large Mobile: 2 items per row */
        max-width: 50%;
    }
}

@media (max-width: 480px) {
    .item {
        flex: 0 0 100%;
        /* Small Mobile: 1 item per row */
        max-width: 100%;
    }
}

.process {
    background-color: #eae8e8;
    color: rgb(77, 17, 17);
    padding: 20px 10px;
    border-radius: 20px;
    margin: 50px 50px;

}

/* Adjust for mobile: buttons smaller and closer to edge */
@media screen and (max-width: 768px) {

    /* Navigation Buttons */
    .slider-nav-btn {
        position: absolute;
        top: 50%;
        transform: translateY(-50%);
        width: 40px;
        /* Slightly smaller button */
        height: 40px;
        background-color: #c6a9a9;
        border: none;
        cursor: pointer;
        display: flex;
        justify-content: center;
        align-items: center;
        transition: all 0.3s ease;
        color: #dfd8d8;
        font-size: 1.2rem;
    }

    .prev-btn {
        left: 5px;
    }

    .next-btn {
        right: 5px;
    }

    . img {
        /* min-width: 50%; */
        /* min-height: 70%; */
        min-width: 250px;
        max-width: 100%;
        max-height: 100%;
        height: 350px;
        object-fit: cover;
        transition: object-fit 0.3s ease;
    }
}

/* --- 5. RESPONSIVE SCALING (Critical) --- */

/* Tablet (Show 2 items) */
@media screen and (max-width: 992px) {

    /* 1. The Container Item */
    .item {
        /* 100% / 3 = 33.333%. This fits 3 items perfectly side-by-side */
        min-width: 33.333%;
        width: 33.333%;

        /* Smaller padding for tablets so columns don't look squashed */
        padding: 0 10px;
    }

    /* 2. The Inner Card */
    .item-inner {
        width: 100%;
        /* Flexible height as requested */
        max-height: 100%;
        /* max-height: 400px; */
        min-height: 300px;
        /* Optional: ensures they look consistent */

        /* Reset margins */
        margin-left: auto;
        margin-right: auto;
        margin-top: 20px;
    }


    /* 1. Shrink the Logo */
    .logo {
        width: 85px;
        height: auto;
    }

    /* 2. Shrink the Title Text */
    .title-text {
        font-size: 2.5rem;
        min-width: fit-content;
        /* Smaller text for mobile */
        font-family: 'Arial Narrow';
    }

    /* 3. Adjust Navbar Padding */
    .navbar {
        padding: 8px 0;
        /* Add some breathing room top/bottom */
    }

    /* 4. Menu Items Spacing */
    .navbar-nav .nav-item {
        margin-bottom: 6px;
        font-size: 0.8rem;
        font-weight: 600;
        /* Spacing between links when menu is open */
    }

    /* 5. Fix Admin Badge alignment in mobile menu */
    .admin-badge {
        display: inline-flex;
        margin-top: 8px;
        /* Separate it from the last link */
    }
}

/* =========================================
   MOBILE RESPONSIVENESS
   ========================================= */


@media screen and (max-width: 600px) {

    .item {
        min-width: 100%;
        padding: 0;
        display: flex;
        justify-content: center;
    }

    .item-inner {
        width: 90%;
        /* max-width: 200px; */

        /* KEY CHANGE: Height is now flexible */
        height: auto;
        min-height: auto;
        /* Ensures card doesn't look too small if empty */

        /* Reset margins */
        margin-left: auto;
        margin-right: auto;
        margin-bottom: 20px;
        margin-top: 20px;

        /* Add padding inside the card so text doesn't touch edges */
        
    }
}

/* Container Wrapper */
.mantra-testimonials {
    position: relative;
    width: 100%;
    height: 500px;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
    perspective: 1000px;
    /* Essential for 3D */
    /* background: #f8f9fa; */
    /* Light grey background */
}

/* The Track */
.t-carousel-track {
    position: relative;
    width: 340px;
    height: 420px;
    transform-style: preserve-3d;
}

/* Base Card Style */
.t-card {
    position: absolute;
    width: 100%;
    height: 100%;
    background: white;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    transition: all 0.5s ease-in-out;
    opacity: 0;
    /* Hidden by default */
    z-index: 0;
}

/* --- STATE CLASSES (Controlled by JS) --- */

/* 1. The Active Card (Center) */
.t-card.center {
    opacity: 1;
    z-index: 10;
    transform: translateX(0) translateZ(0) rotateY(0);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
    padding: 10px;
}

/* 2. The Left Card */
.t-card.left {
    opacity: 0.6;
    z-index: 5;
    /* Move left (-110%), push back (-200px), rotate facing in (25deg) */
    transform: translateX(-80%) translateZ(-250px) rotateY(25deg);
    filter: blur(2px);
    /* Cool effect: blur non-active items */
}

/* 3. The Right Card */
.t-card.right {
    opacity: 0.6;
    z-index: 5;
    /* Move right (110%), push back (-200px), rotate facing in (-25deg) */
    transform: translateX(80%) translateZ(-250px) rotateY(-25deg);
    filter: blur(2px);
}

/* 4. Hidden Cards (Behind) */
.t-card.back {
    transform: translateZ(-500px);
    opacity: 0;
    z-index: 0;
}

/* Text Styling */
.t-card .stars {
    color: #f39c12;
    margin-bottom: 15px;
    margin-top: 10px;
    padding: 5px 5px;
}

.t-card p {
    font-style: italic;
    color: #555;
    line-height: 1.6;
}

.t-card h4 {
    margin-top: 20px;
    color: #333;
    font-weight: 700;
    text-transform: uppercase;
    font-size: 0.9rem;
    letter-spacing: 1px;
}

/* --- Desktop / Default Styles --- */
/* --- Base Button Styles (Desktop) --- */
.t-nav button {
    position: absolute;
    /* Vertically centered (The Horizontal Median) */
    top: 80%;
    transform: translateY(-50%);

    /* Styling */
    background: #fff;
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    cursor: pointer;
    font-size: 1.2rem;
    color: #333;
    transition: all 0.3s ease;
    z-index: 100;
}

.t-nav button:hover {
    background: transparent;
    color: #ac0505;
    transform: translateY(-50%) scale(1.1);
    /* Adds a nice pop effect */
}

/* --- Position: Either side of Middle Card (Desktop) --- */
/* 25% is usually the sweet spot to flank a central card without overlapping */
#btn-left {
    left: 0%;
}

#btn-right {
    right: 0%;
}


/* --- Mobile Responsiveness (Max-width: 768px) --- */
@media (max-width: 768px) {
    .t-nav button {
        width: 40px;
        /* Smaller Size */
        height: 40px;
        font-size: 1rem;
        top: 80%;
        /* Smaller Icon */
        background: rgba(255, 255, 255, 0.95);
        /* Slight transparency */
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
    }

    /* Move buttons closer to edge on tablets */
    #btn-left {
        left: 0%;
    }

    #btn-right {
        right: 0%;
    }
}

/* --- Small Mobile (Max-width: 480px) --- */
@media (max-width: 480px) {
    .t-nav button {
        width: 35px;
        /* Even smaller for small phones */
        height: 35px;
        font-size: 0.9rem;
        top: 80%;
    }

    #btn-left {
        left: 0%;
    }

    #btn-right {
        right: 0;
    }
}

/* --- 1. Lightbox Overlay Styles --- */
.lightbox-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    /* Dark black background */
    display: none;
    /* Hidden by default */
    justify-content: center;
    align-items: center;
    z-index: 10000;
    /* On top of everything */
    flex-direction: column;
}

.lightbox-overlay img {
    max-width: 90%;
    max-height: 80vh;
    border: 5px solid white;
    border-radius: 5px;
    box-shadow: 0 0 20px rgba(255, 255, 255, 0.2);
    animation: zoomIn 0.3s ease;
    /* Smooth opening animation */
}

/* Close Button (X) */
.close-btn {
    position: absolute;
    top: 20px;
    right: 40px;
    color: white;
    font-size: 60px;
    font-weight: bold;
    cursor: pointer;
    transition: color 0.3s;
}

.close-btn:hover {
    color: #ffeb3b;
}

/* Caption Text */
.caption {
    margin-top: 15px;
    color: white;
    font-size: 1.5rem;
    font-weight: bold;
}

/* --- 2. Hover Effect for Slider Items --- */
/* This makes the image scale up slightly when you hover to indicate it's clickable */
/* .item-inner {
    cursor: pointer;
    /* Changes mouse to pointer hand */
/* transition: transform 0.3s ease; */
/* } */

.item-inner:hover {
    transform: scale(1.05);
    /* Slight Zoom on hover */
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.4);
}

*/

/* Animation for opening */
@keyframes zoomIn {
    from {
        transform: scale(0);
    }

    to {
        transform: scale(1);
    }
}

/* Mobile Adjustment */
@media (max-width: 768px) {
    .carousel-3d-item {
        width: 250px;
        /* Smaller cards on phone */
    }

    .carousel-3d-item.left {
        transform: translateX(-60%) scale(0.8);
        opacity: 0.5;
    }

    .carousel-3d-item.right {
        transform: translateX(60%) scale(0.8);
        opacity: 0.5;
    }
}

.text-brown {
    color: #4e1919;
}

.card-title {
    color: #aa211a;
    text-align: left;
    font-size: 16px;
}

.icon-wrapper {
    text-align: left;
    font-size: 2.5rem;
}

.card-desc {
    text-align: left;
}

.author-name {
    color: #452121;
    font-weight: 700;
    font-size: 20px;

}

.brand-name {
    color: #eae6e6;
}

/* =========================================
   6. JOIN & STATS SECTIONS
   ========================================= */
.join-us-section {
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    /* min-height: 100vh; Optional */
}

/* Base Glow Style */
.glow-base {
    position: absolute;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(235, 78, 78, 0.4) 0%, transparent 70%);
    /* Lowered opacity slightly for subtlety */
    filter: blur(50px);
    z-index: 1;
    /* Behind text (container has z-index 2) */
    pointer-events: none;
    border-radius: 50%;
}

/* Top Right Position */
.glow-top-right {
    top: 140px;
    /* Peeking in from the top */
    right: 125px;
    /* Peeking in from the right */
}

/* Bottom Left Position */
.glow-bottom-left {
    bottom: -50px;
    /* Aligned to bottom */
    left: -50px;
    /* Aligned to left */
    top: auto;
    /* Reset 'top' just in case */
}

.glow-right {
    right: 25px;
    /* Aligned to left */
    top: 550px;
    /* Reset 'top' just in case */
}

.glow-left {
    bottom: 400px;
    /* Aligned to bottom */
    left: 25px;
    /* Aligned to left */
    top: auto;
    /* Reset 'top' just in case */
}

/* For another page */
/* Top Right Position */
.glow2-top-right {
    top: 40px;
    /* Peeking in from the top */
    left: 25px;
    /* Peeking in from the right */
}

/* Bottom Left Position */
.glow2-bottom-left {
    bottom: -50px;
    /* Aligned to bottom */
    right: -50px;
    /* Aligned to left */
    top: auto;
    /* Reset 'top' just in case */
}

.glow2-right {
    right: 25px;
    /* Aligned to left */
    top: 700px;
    /* Reset 'top' just in case */
}

.glow2-left {
    bottom: 900px;
    /* Aligned to bottom */
    left: 25px;
    /* Aligned to left */
    top: auto;
    /* Reset 'top' just in case */
}

.glow2-left2 {
    top: 1350px;
    /* Aligned to bottom */
    left: 25px;
    /* Aligned to left */
}

.glow2-right2 {
    top: 1750px;
    /* Aligned to bottom */
    right: 25px;
    /* Aligned to left */
}


.stat-card {
    background: #ffffff;
    border-radius: 20px 0px 20px 0px;
    padding: 10px 5px 5px 10px;
    box-shadow: 10px 15px 25px rgba(79, 66, 67, 0.08);
    display: flex;
    align-items: center;
    gap: 25px;
    width: 100%;
    transition: transform 0.3s ease;
}

.stat-card:hover {
    transform: translateY(-7px);
    box-shadow: 0 15px 30px rgba(72, 47, 49, 0.15);
}

.stat-heading {
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    font-size: 1.1rem;
    margin-top: 10px;
    margin-bottom: solid 10px;
    color: #7f1717;
}

.course_desc {
    font-family: 'Times New Roman', Times, serif;
    font-weight: 300;
    /* Lighter weight looks more elegant */
    font-size: 0.9rem;
    line-height: 1.5;
    /* More space between lines */
    color: #555;
    /* Softer grey than black */
    text-align: left;
    /* Centers the text */
    letter-spacing: 0.5px;
    /* Slight spacing for readability */
}

.stat-icon {
    position: relative;
    font-size: 3.0rem;
    display: flex;
    align-items: flex-start;
    color: rgb(6, 3, 66);
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 800;
    line-height: 1;
    margin-bottom: 5px;
    background: linear-gradient(135deg, #f34040 50%, #e32f4a 80%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.stat-label {
    font-size: 1.2rem;
    color: #3e3c3c;
    margin: 0;
    line-height: 1.3;
    font-weight: 500;
}

.grow {
    color: #b53030;
    font-weight: bold;
}

.lead {
    font-weight: 400;
    text-align: left;
    font-family: sans-serif;
}

/* =========================================
   7. INTERNSHIPS & COURSES
   ========================================= */
/* --- Section Basics --- */
#courses.bg-dark-red {
    /* background-color: #675050; */
    padding: 30px 0;
}

/* --- Main Title --- */
.main-title {
    font-family: Georgia, "Times New Roman", serif;
    text-transform: capitalize;
    letter-spacing: 2px;
    margin-bottom: 10px;
}

/* --- The Column Wrapper --- */
.course-table-column {
    /* No background, no border around the whole column */
    background: transparent;
    padding: 5px;
    height: 100%;
}

/* --- The "Boxed" Header --- */
.table-header {
    /* Box styling */
    /* border: 1px solid rgba(192, 5, 5, 0.5); */
    /* Thin white border */
    border-radius: 15px;
    /* The requested radius */
    background: transparent;
    /* No background color */

    /* Spacing & Alignment */
    padding: 0;
    /* margin-bottom: 5px; */
    /* Space between header and list */
    text-align: center;
}

.course-heading {
    font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
    font-size: 1.5rem;
    font-weight: 500;
    color: #fff;
    margin-bottom: 0;
    text-transform: capitalize;
    letter-spacing: 0px;
}

/* --- Centered List --- */
.table-body {
    text-align: center;
    /* Aligns all list items to the center */
}

.course-list {
    list-style: none;
    /* Removed bullets for cleaner centered look */
    /* padding: 0; */
    margin: 0;
    color: #f9eaea;
    font-size: 1.0rem;
    padding: 0px;
    text-align: center;
    transition: color 0.3s ease, transform 0.3s ease;
    cursor: default;

}

.course-list li {
    color: #f9eaea;
    font-size: 1.0rem;
    padding: 5px 5px;
    text-align: center;
    transition: color 0.3s ease, transform 0.2s ease;
    cursor: default;

}

.course-list li:hover {
    color: #ffffff;
    transform: translateX(5px);
}

/* --- Button (Unchanged) --- */
.get-started-btn {
    background-color: #fff;
    color: #8B0000;
    border: none;
    padding: 10px 25px;
    border-radius: 50px;
    font-weight: bold;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-top: 20px;
}

.get-started-btn:hover {
    transform: scale(1.05);
}

.icon-box {
    background: #8B0000;
    color: #e6dbdb;
    width: 25px;
    height: 25px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 12px;
}

/*University description*/

.university_name {
    font-size: 1.35rem;
    font-weight: 700;
    /* Better readability for long names */
    line-height: 1.4;
    text-transform: capitalize;
    /* Modern Professional Font Stack */
    font-family: 'Segoe UI', Roboto, 'Helvetica Neue', sans-serif;
    color: #333;
    /* Soft Black */
    text-align: left;

    /* Visual Accent: Adds a red line to the left of the name */
    border-left: 4px solid #8B0000;
    padding-left: 15px;
    margin: 0;
}

.university_logo {
    max-height: 70px;
    max-width: 70px;
    object-fit: cover;
    text-align: left;
    margin-bottom: 10px;
}

.uni-appreciation {
    background-color: #f7f2f2;
    border-radius: 25px;
    padding: 20px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    margin-top: 20px;
    text-align: center;
}

/* Hide the extra content by default */
.more-content {
    display: none;
}

/* When the class 'show' is added via JS, make it inline so it flows with text */
.more-content.show {
    display: inline;
}

/* Style the button to look like a link or inline element */
.read-more-btn {
    display: inline-block;
    /* Allows it to sit next to text */
    background: none;
    border: none;
    color: #8B4513;
    /* Matches your 'text-brown' class approx */
    padding: 0;
    margin-left: 5px;
    /* Small space between text and button */
    font-weight: bold;
    cursor: pointer;
    text-decoration: underline;
    /* Optional: makes it look like a link */
}

.read-more-btn:focus {
    outline: none;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

.university_description {
    font-size: 0.95rem;
    line-height: 1.6;
    /* Improves readability for paragraph text */
    color: #555;
    /* Dark grey instead of black looks more professional */
    font-family: 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
    font-weight: 400;
    margin-bottom: 5px;
    /* Spacing before the "Read More" button */

    /* Optional: Makes the text block look neat and square */
    text-align: left;
}

/* On mobile, usually left alignment is easier to read than justified */
@media (max-width: 768px) {
    .university_description {
        text-align: left;
        /* Or 'left' depending on your preference */
        font-size: 0.9rem;
        padding: 0 10px;
        /* Adds space so text doesn't hit screen edges */
    }
}

/* =========================================
   8. FORMS & CONTACT CARDS
   ========================================= */
/* .contact-section {
    background: linear-gradient(180deg, var(--soft-pink) 0%, #d8afaf 100%);
    padding: 20px;
} */

.contact-card {
    background-color: #fbb6b6;
    border-radius: 20px;
    border: 10px solid #ca3636;
    width: 100%;
    /* Responsive Fix */
    max-width: 450px;
    /* Max width for desktop */
    margin: 0 auto;
    padding: 20px;
}

.form-label {
    color: #4A3B3B;
    font-weight: 500;
    font-size: 14px;
    margin-bottom: 5px;
}

.form-control {
    border-radius: 12px;
    border: none;
    padding: 12px 15px;
    background-color: white;
    width: 100%;
}

.form-control:focus {
    box-shadow: none;
    outline: 2px solid #4A3B3B;
}

textarea.form-control {
    resize: none;
    height: 120px;
}

.custom-send-btn {
    /* 1. POSITIONING FIX (Crucial) */
    position: relative;
    top: auto;
    left: auto;
    transform: none;

    /* 2. LAYOUT (Simple & Centered) */
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    /* Space between text and icon */
    width: fit-content;
    /* 3. SHAPE & SIZE (Symmetrical) */
    padding: 12px 15px;
    /* Even padding on left/right */
    border-radius: 15px;
    /* Consistent radius */
    border: none;

    /* 4. VISUALS (Your Original Pink Theme) */
    background: linear-gradient(180deg, #f4c3c7 0%, #f7c5c9 100%);
    color: rgb(63, 20, 20);
    font-size: 18px;
    font-weight: 600;
    /* Added a little weight for readability */

    cursor: pointer;
    box-shadow: 0 4px 10px rgba(56, 11, 11, 0.2);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

/* 5. SIMPLIFY ICON (Remove the box) */
.btn-icon-box {
    background: transparent;
    /* No background color */
    width: auto;
    /* No fixed width */
    height: auto;
    /* No fixed height */
    padding: 0;
    display: inline-block;
    border-radius: 0;
}

/* HOVER EFFECTS */
.custom-send-btn:hover {
    transform: translateY(-2px);
    /* Slight lift instead of scale */
    box-shadow: 0 6px 15px rgba(56, 11, 11, 0.3);
}


/* =========================================
   9. TESTIMONIALS & INFO CARDS
   ========================================= */
/* Import Google Font (Poppins) */
@import url('https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,300;0,400;0,500;0,600;1,300&display=swap');

.info-card {
    background: #fff;
    padding: 30px 20px;
    border-radius: 15px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
    /* Soft shadow */
    transition: transform 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: left;
}

.info-card:hover {
    transform: translateY(-5px);
    /* Lift effect on hover */
}

.card-title {
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    font-size: 1.1rem;
    margin-top: 15px;
    margin-bottom: 10px;
    color: #da3c3c;
}

/* Stylish Description Style */
.card-desc {
    font-family: 'Poppins', sans-serif;
    font-weight: 300;
    /* Lighter weight looks more elegant */
    font-size: 0.9rem;
    line-height: 1.6;
    /* More space between lines */
    color: #555;
    /* Softer grey than black */
    text-align: left;
    /* Centers the text */
    letter-spacing: 0.3px;
    /* Slight spacing for readability */
}

/* Optional: Icon Wrapper styling */
.icon-wrapper {
    font-size: 2.5rem;
    color: #4f1515;
    /* Brown/Dark Red to match your theme */
    margin-bottom: 10px;
}

.divider {
    width: 50px;
    height: 5px;
    background-color: #a52a2a;
    opacity: 2;
    margin: 0px;
}


.student_pic img {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid #f3f2f2;
    margin-bottom: 15px;
}

/* =========================================
   10. BUTTONS & SOCIALS
   ========================================= */
/* Main Button Style */
.get-started-btn {
    /* 1. Positioning Safety (Prevents it from floating) */
    position: relative;
    top: auto;
    left: auto;
    transform: none;

    /* 2. Layout (Simple centered content) */
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    /* Creates space between text and arrow */
    width: 150px;
    height: 46px;
    /* 3. Shape & Size */
    padding: 2px 6px;
    /* Symmetrical, comfortable padding */
    border-radius: 15px;
    /* REQUESTED: 15px Radius */
    border: none;

    /* 4. Visuals */
    background: linear-gradient(135deg, #e03d24, #eca8a8);
    color: white;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    box-shadow: 0 4px 10px rgba(193, 213, 236, 0.3);
    /* Softer shadow */
    transition: all 0.3s ease;
    text-decoration: none;
}

/* Override the old .btn-text margin since we use 'gap' now */
.btn-text {
    margin: 0;
}

/* Simplify the Icon Box (Remove the white circle) */
.get-started-btn .icon-box {
    background: transparent;
    /* Removes the white background */
    width: auto;
    /* Resets width */
    height: auto;
    /* Resets height */
    color: white;
    /* Icon is now white */
    border-radius: 0;
    display: inline-block;
    /* Keeps it inline */
    transition: transform 0.3s ease;
    /* Keep the movement effect */
}

/* Hover Effects */
.get-started-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(49, 66, 49, 0.4);
    background: linear-gradient(135deg, #c1cad3, #e89f9f);
    /* Slightly darker on hover */
}

.get-started-btn:hover .icon-box {
    transform: translateX(5px);
    /* Move arrow right on hover */
    color: white;
    /* Ensure it stays white */
}

.social-icons-row {
    display: flex;
    gap: 15px;
    align-items: center;
    justify-content: center;
    /* flex-wrap: wrap; */
}

.social_media {
    /* 1. Size: Use font-size instead of width/height */
    font-size: 34px;

    /* 2. Color: Use color instead of filter/invert */
    color: #ffffff;

    /* 3. Spacing & Animation */
    display: inline-block;
    transition: transform 0.2s ease, color 0.3s ease;
}

/* Optional: Add a hover color effect */
.social_media:hover {
    transform: scale(1.2);
    color: #d1c9c9;
    /* Light pink glow on hover */
}


/* Footer Base */
.footer {
    background-color: #722026;
    color: #ffffff;
    padding: 70px 0 30px 0;
    font-size: 15px;
    margin-top: auto;
}

/* Typography */
.brand-name {
    font-family: Arial, Helvetica, sans-serif;
    font-weight: 700;
    font-size: 2.8rem;
    text-align: left;
}

.footer-heading {
    font-family: Arial, Helvetica, sans-serif;
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 20px;
    padding-bottom: 10px;
    /* border-bottom: 2px solid rgba(255, 255, 255, 0.2); */
    display: inline-block;
}


/* 1. The Main Container: Arranges items horizontally (Side-by-Side) */
.contact-info {
    flex-direction: row !important;
    /* Forces horizontal layout */
    /* justify-content: center; */
    /* Centers the group on the page */
    /* flex-wrap: wrap; */
    /* Allows wrapping on small screens */
    gap: 20px;
    display: flex-start;
    /* Adds space between the big items */
}

/* 2. The Individual Item: Stacks content vertically (One on top of another) */
.contact-item {
    flex-direction: column !important;
    /* Forces vertical stacking */
    align-items: center;
    /* Centers the icon and text horizontally */
    text-align: center;
    /* Centers the text lines */
    min-width: 100px;
    /* Ensures they don't get too squashed */
}

/* 3. The Icon Styling (To match your image) */
.contact-item .icon-box {
    font-size: 3rem;
    /* Makes the icon big like the photo */
    margin-bottom: 1rem;
    /* Adds space between icon and text */
    color: #fff;
    /* Ensures icon is white */
}

/* 4. Text Styling */
.contact-label {
    display: block;
    /* Forces label to its own line */
    font-size: 1.0rem;
    /* Makes "Address" bigger */
    font-weight: 500;
    color: #fff;
    margin-bottom: 0.5rem;
}

.contact-text {
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.85rem;
    font-weight: 300;
}

/* Link Lists */
.footer-links ul {
    list-style: none;
    padding: 0;
    margin: 0;

}

.footer-links li {
    margin-bottom: 8px;
}

.footer-links a {
    color: #e0e0e0;
    text-decoration: none;
    transition: 0.3s;
}

.footer-links a:hover {
    color: #ffffff;
    padding-left: 5px;
}

/* Social Icons */
.social_media {
    width: 35px;
    height: 35px;
    background: rgba(255, 255, 255, 0.1);
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 50%;
    color: white;
    transition: 0.3s;
}

.social_media:hover {
    background: white;
    color: #722026;
    transform: translateY(-3px);
}

/* Mobile Adjustments */
@media (max-width: 991px) {
    .contact-info {
        /* flex-direction: column; */
        /* Stack addresses vertically on mobile */
        gap: 20px !important;
    }

    .footer-links {
        margin-top: 40px;
        /* Space between brand and links on mobile */
    }
}

/* =========================================
   12. MOBILE RESPONSIVENESS (Max-width: 768px)
   ========================================= */
@media (max-width: 768px) {

    /* Typography */
    h1 {
        font-size: 2.5rem;
    }

    h2 {
        font-size: 2rem;
    }

    h3 {
        font-size: 1.5rem;
    }

    .hero-title {
        font-size: 3.5rem;
        max-width: 80%;
    }

    .hero-subtitle {
        font-size: 2.5rem;
    }

    /* Layout Adjustments */
    .join-us-section {
        flex-direction: column;
        padding: 20px;
    }

    .stat-card {
        flex-direction: column;
        text-align: center;
        height: auto;
    }

    .testimonial-card {
        flex-direction: column-reverse;
        /* Text top, image bottom */
        height: auto;
        width: 100%;
    }

    .profile-container {
        max-width: 100%;
        flex-direction: column;
        /* gap: 5px; */

    }

    .character-image {
        max-width: auto;
        max-height: 100% flex-direction: column;
        position: absolute;
        align-items: center;
        right: -40%;

    }

    .university_name {
        text-align: center;
        border-left: none;
        padding-left: 0;
        margin-bottom: 10px;
        font-size: 1.1rem;
    }

    .contact-item {
        /* display: flex; */
        flex-direction: column;
        /* Stacks label/text vertically */
        align-items: center;
        text-align: center;
        /* min-width: 50px; */
        /* max-width: 120px; */
        /* Ensures items don't get too squashed */
        justify-content: center;
    }

    .contact-info {
        display: flex;
        flex-direction: column !important;
    }

    .brand-name {
        text-align: center;
    }
}

/* --- RESPONSIVE MEDIA QUERIES --- */

/* Mobile Devices (Under 768px) */
@media screen and (max-width: 768px) {

    /* Add space between stacked cards */
    .course-table-column {
        margin-bottom: -2px;
    }

    /* Adjust Heading Size */
    .course-heading {
        font-size: 1.8rem;
        padding-right: 0px;
    }

    /* Make list items slightly easier to tap */
    .course-list li {
        padding: 6px 6px;
        font-size: 1.0rem;
    }


    .img-title {
        font-size: 1.1rem;
    }

    .contact-info {
        flex-direction: row-reverse;
        gap: 20px;
        justify-content: center;
    }

    .social-links {
        justify-content: center;
    }

    .footer-bottom {
        grid-column: 1 / -1;
    }

    /* 1. Shrink the Logo */
    .logo {
        width: 85px;
        height: autopx;
    }

    /* 2. Shrink the Title Text */
    .title-text {
        font-size: 2.4rem;
        /* Smaller text for mobile */
        max-width: fit-content;
        font-family: 'Arial Narrow';
    }

    /* =========================================
   NAVBAR RESPONSIVENESS
   ========================================= */

    /* 1. Desktop / Default View (Spacious) */
    .navbar {
        /* Top/Bottom: 20px, Left/Right: 0 (Container handles side spacing) */
        padding: 10px 0;
        transition: all 0.3s ease;
        /* Smooth resize effect */
    }
}

/* 2. Tablet & Mobile View (Compact) */
@media screen and (max-width: 992px) {
    .navbar {
        /* Shrink padding to save screen real estate */
        padding: 10px 0;
    }

    /* Optional: Adjust the logo size slightly for mobile if needed */
    .navbar-brand img {
        max-height: 50px;
        /* Ensures logo fits the smaller navbar */
        width: auto;
    }


    /* 4. Menu Items Spacing */
    .navbar-nav .nav-item {
        margin-bottom: 6px;
        /* Spacing between links when menu is open */
    }

    /* 5. Fix Admin Badge alignment in mobile menu */
    .admin-badge {
        display: inline-flex;
        margin-top: 10px;
        /* Separate it from the last link */
    }
}

/* Extra Small Devices (Max-width: 480px) */
@media (max-width: 480px) {

    .hero-title {
        max-width: 470px;
        /* padding: 8px; */
        flex-direction: column-reverse;
        font-size: 3.5rem;
    }

    .hero-subtitle {
        max-width: 170px;
        /* padding: px; */
        flex-direction: column-reverse;
        font-size: 2.5rem;
    }

    .contact-card {
        border-width: 5px;
        /* Thinner border on mobile */
        padding: 15px;
    }


    .img-title {
        font-size: 1rem;
        padding: 10px;
    }

    .outer-circle {
        max-width: 100%;
        flex-direction: column;
    }

    .inner-circle {
        max-width: 100%;
        flex-direction: column;
    }

    .character-image {
        /* max-width: auto; */
        max-height: 100%;
        /* flex-direction: column; */
        position: relative;
        /* opacity: 0.8; */
        right: -27%;
        align-items: center;
    }

    /* 1. Shrink the Logo */
    .logo {
        width: 75px;
        height: auto;
    }

    /* 2. Shrink the Title Text */
    .title-text {
        font-size: 2.0rem;
        min-width: fit-content;
        /* Smaller text for mobile */
        font-family: 'Arial Narrow';
    }
}

@media (max-width: 350px) {
    .title-text {
        font-size: 1.6rem;
        min-width: fit-content;
        /* Smaller text for mobile */
        font-family: 'Arial Narrow';
    }

    .logo {
        width: 50px;
        height: auto;
    }

}

/* =========================================
   NAVBAR TOGGLER RESPONSIVENESS
   ========================================= */

/* 1. Show and Style the Toggler between 300px and 992px */
@media screen and (min-width: 280px) and (max-width: 992px) {
    .navbar-toggler {
        display: inline-block;
        /* Ensures it is visible */
        border: 2px solid #ece5e6;
        /* Your theme Dark Red border */
        background-color: transparent;
        border-radius: 5px;
        padding: 5px 5px;
        transition: all 0.3s ease;
        outline: none;
    }

    /* Remove the default blue glow on click */
    .navbar-toggler:focus {
        box-shadow: 0 0 0 3px rgba(114, 32, 38, 0.2);
        /* Soft red glow */
        outline: none;
    }

    /* Optional: Change background on hover for better UX */
    .navbar-toggler:hover {
        background-color: #fff0f1;
        /* Your soft-pink variable */
    }

    /* Customize the lines (Icon) color if possible, 
       or just rely on the border to show the theme */
    .navbar-toggler-icon {
        width: 1.0em;
        height: 1.0em;
        /* This filter turns the standard black hamburger icon to your Dark Red (#722026) */
        filter: invert(16%) sepia(35%) saturate(3899%) hue-rotate(334deg) brightness(91%) contrast(93%);
    }
}

/* 2. Hide the Toggler on Desktop (Above 992px) */
@media screen and (min-width: 993px) {
    .navbar-toggler {
        display: none;
    }
}

/* 3. Hide on very small screens (Below 300px) - As per your specific range request */


html {
    scroll-behavior: smooth;
    /* Optional: adds a nice scrolling animation */
}

#internships,
#about-us,
#contacts {
    /* This pushes the scroll position up by 100px so the navbar doesn't cover it */
    scroll-margin-top: 15px;
}