/* Base Variables */

/* Base Variables */
:root {
    --primary: #3b82f6;
    /* Modern Blue */
    --primary-dark: #1d4ed8;
    --secondary: #f8f9fa;
    /* Light Gray */
    --bg-color: #ffffff;
    --text-main: #1f2937;
    /* Very Dark Gray */
    --text-muted: #6b7280;
    /* Medium Gray */
    --white: #ffffff;
    --dark-bg: #111827;
    /* For elements that need to stay dark */
    --card-bg: #ffffff;
    --glass: rgba(255, 255, 255, 0.9);
    --nav-bg: rgba(30, 58, 138, 0.95);
    /* Blue background for navbar */
    --nav-text: #ffffff;

    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Inter', sans-serif;

    --brand-primary: #134580;
    /* Official Brand Color */
    --transition: all 0.3s cubic-bezier(0.645, 0.045, 0.355, 1);
}

/* Reset & Scaffolding */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    background-color: var(--bg-color);
    color: var(--text-main);
    line-height: 1.6;
    overflow-x: hidden;
    padding-top: 136px;
    /* Height of top-bar + navbar */
}

h1,
h2,
h3,
h4,
.logo {
    font-family: var(--font-heading);
    color: var(--text-main);
    font-weight: 700;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.sub-heading {
    color: var(--primary);
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
}

/* Header & Top Bar */
.top-bar {
    background-color: var(--brand-primary);
    color: white;
    padding: 8px 0;
    font-size: 0.8rem;
    font-weight: 500;
    width: 100%;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 1001;
    display: block;
}

.top-bar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
}

.top-bar-left,
.top-bar-right {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.top-bar a {
    color: white;
    text-decoration: none;
    transition: var(--transition);
    display: flex;
    align-items: center;
    gap: 5px;
    text-transform: uppercase;
}

.top-bar a:hover {
    color: #e2e8f0;
    /* Off-white hover for links */
}

.top-bar a.announcement-text {
    background: #ff510e;
    /* Brand Accent Color */
    padding: 2px 10px;
    border-radius: 3px;
    font-weight: 700;
}

.top-bar a.announcement-text:hover {
    color: white;
    /* No text color change on button hover */
    background: #e64600;
    /* Subtle background change instead */
}

.top-bar-right a i {
    font-size: 0.9rem;
}

/* Ticker Animation for Admission Enquiry */
.admission-ticker {
    height: 20px !important;
    overflow: hidden !important;
    display: inline-block !important;
    vertical-align: middle;
    position: relative;
}

.ticker-content {
    display: block;
    animation: ticker-slide 10s infinite cubic-bezier(0.645, 0.045, 0.355, 1);
}

@keyframes ticker-slide {

    0%,
    40% {
        transform: translateY(0);
    }

    50%,
    90% {
        transform: translateY(-20px);
    }

    100% {
        transform: translateY(-40px);
    }
}

.ticker-item {
    height: 20px !important;
    line-height: 20px !important;
    white-space: nowrap;
    display: block !important;
}

/* Navigation */
#navbar {
    position: fixed;
    top: 36px;
    left: 0;
    width: 100%;
    z-index: 1003;
    background: #ffffff;
    border-bottom: 1px solid #e5e7eb;
    transition: var(--transition);
    height: 100px;
    display: flex;
    align-items: center;
}

#navbar.scrolled {
    height: 80px;
    box-shadow: 0 10px 30px -10px rgba(2, 12, 27, 0.7);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 100%;
    margin: 0 auto;
    padding: 0 3rem;
    width: 100%;
}

.logo {
    display: flex;
    align-items: center;
    margin-left: 2rem;
}

.logo img {
    height: 70px;
    width: auto;
    object-fit: contain;
}

.nav-menu {
    display: flex;
    gap: 1rem;
    align-items: center;
}

.nav-link {
    font-size: 0.85rem;
    color: var(--text-main);
    font-weight: 600;
    position: relative;
    padding: 5px 0;
    display: flex;
    align-items: center;
    gap: 4px;
}

.nav-link i {
    font-size: 0.8rem;
    transition: var(--transition);
}

.nav-link:hover i {
    transform: rotate(180deg);
}

.nav-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: 0;
    left: 0;
    background-color: var(--brand-primary);
    transition: var(--transition);
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

.nav-link:hover {
    color: var(--brand-primary);
}

/* Dropdown Styles */
.nav-item {
    position: relative;
}

.dropdown-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background-color: #ffffff;
    min-width: 260px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    border-top: 3px solid var(--brand-primary);
    border-radius: 0 0 4px 4px;
    padding: 10px 0;
    z-index: 1000;
}

@media (min-width: 1151px) {
    .nav-item:hover .dropdown-menu {
        display: block;
        animation: fadeIn 0.3s ease;
    }
}

.dropdown-item {
    color: var(--text-main);
    padding: 10px 20px;
    font-size: 0.9rem;
    font-weight: 500;
    transition: var(--transition);
    display: block;
    border-bottom: 1px solid #f3f4f6;
    text-transform: none;
    /* Ensure submenus are not forced uppercase */
}

.dropdown-item:last-child {
    border-bottom: none;
}

.dropdown-item:hover {
    background-color: #f8f9fa;
    color: var(--brand-primary);
    padding-left: 25px;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Right Side Actions */
.nav-actions {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.user-profile {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    cursor: pointer;
}

.user-profile img {
    width: 35px;
    height: 35px;
    border-radius: 50%;
    object-fit: cover;
}

.user-profile span {
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--text-main);
}

.nav-divider {
    height: 20px;
    width: 1px;
    background-color: #e5e7eb;
}

/* Adjusted Search Animation */
.search-container {
    display: flex;
    align-items: center;
    background: transparent;
    border-radius: 30px;
    padding: 3px;
    /* Reduced padding */
    position: relative;
    transition: all 0.4s cubic-bezier(0.68, -0.55, 0.27, 1.55);
    border: 2px solid transparent;
}

.search-container.active {
    background: #ffffff;
    border-color: var(--primary);
    box-shadow: 0 4px 15px rgba(59, 130, 246, 0.2);
}

.search-input {
    width: 0;
    opacity: 0;
    border: none;
    background: transparent;
    outline: none;
    font-size: 0.85rem;
    /* Slightly smaller font */
    color: var(--text-main);
    transition: all 0.4s ease-in-out;
    padding: 0;
    height: 34px;
    /* Match button height */
}

.search-container.active .search-input {
    width: 200px;
    opacity: 1;
    padding: 0 10px;
}

.search-btn {
    background: white;
    border: 2px solid transparent;
    /* Prepare for hover state */
    width: 34px;
    /* Reduced size */
    height: 34px;
    /* Reduced size */
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.9rem;
    /* Adjusted icon size */
    color: var(--primary);
    cursor: pointer;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.search-container.active .search-btn {
    background: var(--primary);
    color: white;
    transform: rotate(360deg);
    /* Spin effect on active */
    box-shadow: none;
}

.search-btn:hover {
    background: var(--primary);
    color: white;
    transform: scale(1.1);
}

.btn-apply {
    background-color: #ff510e;
    color: white;
    padding: 0.6rem 1.5rem;
    border-radius: 4px;
    font-weight: 700;
    font-size: 0.85rem;
    letter-spacing: 0.5px;
    transition: var(--transition);
}

.btn-apply:hover {
    background-color: #e64600;
    transform: translateY(-2px);
    box-shadow: 0 4px 6px rgba(255, 81, 14, 0.2);
    color: white;
    /* Keep text white for contrast */
}

.btn-signup {
    padding: 0.6rem 1.5rem;
    border: 1px solid var(--primary);
    border-radius: 4px;
    color: var(--primary);
    transition: var(--transition);
}

.btn-signup:hover {
    background: rgba(59, 130, 246, 0.1);
}

.btn-signup::after {
    display: none;
}

.menu-toggle {
    display: none;
    cursor: pointer;
}

.bar {
    display: block;
    width: 25px;
    height: 3px;
    margin: 5px auto;
    background-color: var(--primary);
    transition: var(--transition);
}

/* Hero Section */
.hero-slider {
    height: calc(100vh - 136px);
    width: 100%;
    position: relative;
    overflow: hidden;
}

.slides-container {
    height: 100%;
    width: 100%;
    position: relative;
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1s ease-in-out;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 0 1rem;
    pointer-events: none;
}

.slide.active {
    opacity: 1;
    z-index: 1;
    pointer-events: auto;
}

.slide img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -1;
}

/* Hero content and overlays removed as per request */

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    margin: 0 auto;
    color: var(--white);
}

.hero-slider h1 {
    font-size: clamp(3rem, 8vw, 5rem);
    line-height: 1.1;
    margin-bottom: 1.5rem;
    color: var(--white);
}

.hero-slider h1 .highlight {
    color: var(--primary);
    position: relative;
    display: inline-block;
}

.hero-slider p {
    font-size: 1.2rem;
    color: #e2e8f0;
    margin-bottom: 2.5rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* Slider Controls */
.slider-nav button {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: var(--white);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    cursor: pointer;
    z-index: 10;
    transition: var(--transition);
    backdrop-filter: blur(5px);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
}

.slider-nav button:hover {
    background: var(--primary);
    border-color: var(--primary);
    color: var(--white);
}

.prev-btn {
    left: 20px;
}

.next-btn {
    right: 20px;
}

.slider-dots {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 12px;
    z-index: 10;
}

.dot {
    width: 10px;
    height: 10px;
    background: rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    cursor: pointer;
    transition: var(--transition);
}

.dot.active,
.dot:hover {
    background: var(--primary);
    transform: scale(1.3);
}

@media (max-width: 768px) {
    .slider-nav button {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }

    .prev-btn {
        left: 10px;
    }

    .next-btn {
        right: 10px;
    }
}

.hero-btns {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
}

.btn {
    padding: 0.9rem 2rem;
    border-radius: 5px;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.btn-primary {
    background-color: #ff510e;
    color: var(--white);
}

.btn-primary:hover {
    background-color: #e64600;
    transform: translateY(-3px);
}

.btn-secondary {
    background-color: transparent;
    border: 2px solid var(--white);
    color: var(--white);
}

.btn-secondary:hover {
    background-color: rgba(255, 255, 255, 0.1);
    transform: translateY(-3px);
}

/* Scroll Down Indicator */
.scroll-down {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
    opacity: 0.7;
}

.mouse {
    width: 25px;
    height: 45px;
    border: 2px solid var(--white);
    border-radius: 20px;
    display: flex;
    justify-content: center;
    padding-top: 10px;
}

.wheel {
    width: 4px;
    height: 8px;
    background-color: var(--primary);
    border-radius: 2px;
    animation: scroll 1.5s infinite;
}

/* Stats section styles removed as per request */

/* Partners Section - Scrolling Logos */
.partners-section {
    padding: 2rem 0;
    background-color: #f8f9fa;
    overflow: hidden;
    width: 100%;
}

.partners-section .container {
    max-width: 100%;
    padding: 0;
}

.partners-title {
    text-align: center;
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--text-main);
    margin-bottom: 2rem;
    margin-bottom: 2rem;
    font-family: var(--font-heading);
    padding: 0 2rem;
    font-size: 3rem;
    /* Standardized Desktop Title Size */
}

.partners-scroll-container {
    overflow: hidden;
    position: relative;
    width: 100%;
    padding: 1rem 0;
}

.partners-scroll-container::before,
.partners-scroll-container::after {
    content: '';
    position: absolute;
    top: 0;
    width: 200px;
    height: 100%;
    z-index: 2;
    pointer-events: none;
}

.partners-scroll-container::before {
    left: 0;
    background: linear-gradient(to right, #f8f9fa 0%, transparent 100%);
}

.partners-scroll-container::after {
    right: 0;
    background: linear-gradient(to left, #f8f9fa 0%, transparent 100%);
}

.partners-track {
    display: flex;
    gap: 4rem;
    animation: scroll-left 30s linear infinite;
    width: max-content;
    padding-left: 2rem;
}

.partners-track:hover {
    animation-play-state: paused;
}

.partner-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 220px;
    height: 120px;
    padding: 0;
    background: transparent;
    border-radius: 0;
    box-shadow: none;
    transition: var(--transition);
}

.partner-logo:hover {
    transform: scale(1.05);
    box-shadow: none;
}

.partner-logo img {
    max-width: 200px;
    max-height: 100px;
    width: auto;
    height: auto;
    object-fit: contain;
    filter: none;
    opacity: 1;
    transition: var(--transition);
}

.partner-logo:hover img {
    filter: none;
    opacity: 1;
}

@keyframes scroll-left {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

/* About Section */
.about {
    padding: 8rem 0;
    background-color: var(--bg-color);
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.about h2 {
    font-size: 3rem;
    /* Standardized Desktop Title Size */
    margin-bottom: 1.5rem;
    color: var(--text-main);
}

.about p {
    margin-bottom: 1.5rem;
    color: var(--text-muted);
}

.feature-list li {
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--text-main);
}

.feature-list i {
    color: var(--primary);
}

.btn-text {
    color: var(--primary);
    font-weight: 600;
    margin-top: 1rem;
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.btn-text:hover {
    gap: 10px;
}

.about-image {
    position: relative;
}

.img-wrapper {
    position: relative;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 20px 30px -15px rgba(0, 0, 0, 0.1);
}

.img-wrapper img {
    width: 100%;
    height: auto;
    display: block;
    transition: var(--transition);
    filter: grayscale(0%);
}

.img-wrapper:hover img {
    transform: scale(1.02);
}

/* Academics Section */
.academics {
    padding: 8rem 0;
    background-color: var(--secondary);
}

.section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 4rem;
}

.section-header h2 {
    font-size: 3rem;
    /* Standardized Desktop Title Size */
    margin-bottom: 1rem;
    color: var(--text-main);
}

.card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.card {
    background-color: var(--card-bg);
    padding: 2.5rem;
    border-radius: 8px;
    transition: var(--transition);
    border: 1px solid rgba(0, 0, 0, 0.05);
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
}

.card:hover {
    transform: translateY(-7px);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    border-color: var(--primary);
}

.card-icon {
    font-size: 2rem;
    color: var(--primary);
    margin-bottom: 1.5rem;
}

.card h3 {
    margin-bottom: 1rem;
    color: var(--text-main);
}

.card p {
    color: var(--text-muted);
    margin-bottom: 1.5rem;
    font-size: 0.95rem;
}

.card-link {
    color: var(--primary);
    font-size: 0.9rem;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.card-link:hover {
    gap: 10px;
}

/* Unlock Your Learning Potential Section */
.unlock-learning {
    padding: 100px 0;
    background-color: #ffffff;
    position: relative;
    z-index: 1;
}

.unlock-wrapper {
    background-color: #f7f9fa;
    border-radius: 40px;
    padding: 120px 40px;
    text-align: center;
    position: relative;
    max-width: 1100px;
    margin: 0 auto;
    border: 1px solid rgba(0, 0, 0, 0.03);
    background-image:
        linear-gradient(rgba(0, 0, 0, 0.02) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0, 0, 0, 0.02) 1px, transparent 1px);
    background-size: 40px 40px;
    box-shadow: 0 30px 60px -20px rgba(0, 0, 0, 0.05);
}

.unlock-content {
    max-width: 750px;
    margin: 0 auto;
    position: relative;
    z-index: 5;
}

.unlock-content h1 {
    font-size: 3rem;
    /* Standardized Desktop Title Size */
    color: #1a1a1a;
    line-height: 1.1;
    margin-bottom: 25px;
    font-weight: 800;
    letter-spacing: -1px;
}

.unlock-content h1 .highlight {
    font-family: 'Playfair Display', serif;
    font-style: italic;
    color: #ff510e;
    display: inline-block;
    margin-top: 10px;
}

.unlock-content p {
    font-size: 1.25rem;
    color: #555;
    margin-bottom: 45px;
    line-height: 1.6;
    font-weight: 500;
}

.btn-explore {
    display: inline-flex;
    align-items: center;
    gap: 15px;
    background-color: #ff510e;
    color: #fff;
    padding: 15px 35px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    box-shadow: 0 10px 25px rgba(255, 81, 14, 0.3);
    text-decoration: none;
}

.btn-explore i {
    background: #fff;
    color: #ff510e;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    transform: rotate(-45deg);
    /* Default diagonal position */
}

.btn-explore:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(255, 81, 14, 0.4);
    color: #fff;
}

.btn-explore:hover i {
    transform: rotate(0deg);
    /* Straightens on hover or slightly different rotation */
}

/* Floating Images */
.floating-img {
    position: absolute;
    width: 260px;
    height: 260px;
    z-index: 10;
    pointer-events: none;
}

.floating-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    clip-path: polygon(25% 0%, 75% 0%, 75% 25%, 100% 25%, 100% 75%, 75% 75%, 75% 100%, 25% 100%, 25% 75%, 0% 75%, 0% 25%, 25% 25%);
    filter: drop-shadow(0 20px 40px rgba(0, 0, 0, 0.1));
}

.img-top-right {
    top: -60px;
    right: -40px;
    transform: rotate(15deg) translateX(50px);
    opacity: 0;
}

.floating-img.img-top-right.active {
    transform: rotate(15deg) translate(0);
    opacity: 1;
}

.img-top-right::before {
    content: '';
    position: absolute;
    top: 10px;
    left: 10px;
    width: 100%;
    height: 100%;
    background-color: #3db2c6;
    clip-path: polygon(25% 0%, 75% 0%, 75% 25%, 100% 25%, 100% 75%, 75% 75%, 75% 100%, 25% 100%, 25% 75%, 0% 75%, 0% 25%, 25% 25%);
    z-index: -1;
    opacity: 0.4;
}

.img-bottom-left {
    bottom: -60px;
    left: -40px;
    transform: rotate(-10deg) translateX(-50px);
    opacity: 0;
}

.floating-img.img-bottom-left.active {
    transform: rotate(-10deg) translate(0);
    opacity: 1;
}

.img-bottom-left::before {
    content: '';
    position: absolute;
    top: 10px;
    left: 10px;
    width: 100%;
    height: 100%;
    background-color: #ff510e;
    clip-path: polygon(25% 0%, 75% 0%, 75% 25%, 100% 25%, 100% 75%, 75% 75%, 75% 100%, 25% 100%, 25% 75%, 0% 75%, 0% 25%, 25% 25%);
    z-index: -1;
    opacity: 0.4;
}



@media (max-width: 1200px) {
    .unlock-wrapper {
        max-width: 90%;
    }

    .floating-img {
        width: 180px;
        height: 180px;
    }
}

@media (max-width: 992px) {
    .unlock-content h1 {
        font-size: 2.8rem;
    }

    .unlock-learning {
        padding: 80px 0;
    }

    .unlock-wrapper {
        padding: 80px 20px;
    }

    .floating-img {
        width: 140px;
        height: 140px;
        opacity: 0.8;
    }

    .img-top-right {
        top: -40px;
        right: -20px;
    }

    .img-bottom-left {
        bottom: -40px;
        left: -20px;
    }
}

@media (max-width: 768px) {
    .unlock-content h1 {
        font-size: 2.2rem;
    }

    .unlock-content p {
        font-size: 1rem;
    }

    .floating-img {
        width: 100px;
        height: 100px;
    }
}

@media (max-width: 490px) {
    .unlock-wrapper {
        padding: 60px 20px;
        border-radius: 30px;
    }

    .unlock-content h1 {
        font-size: 1.8rem;
    }

    /* Show decorative images on very small screens as requested */
    .floating-img {
        display: block;
        width: 80px;
        height: 80px;
        opacity: 0.6;
    }

    .img-top-right {
        top: -20px;
        right: -10px;
    }

    .img-bottom-left {
        bottom: -20px;
        left: -10px;
    }
}

/* Events Section */
.events {
    padding: 8rem 0;
    background-color: var(--bg-color);
}

.events-list {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    max-width: 900px;
    margin: 0 auto;
}

.event-item {
    display: flex;
    align-items: center;
    background-color: var(--card-bg);
    padding: 1.5rem 2rem;
    border-radius: 8px;
    transition: var(--transition);
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.event-item:hover {
    background-color: var(--secondary);
    transform: translateX(5px);
}

.event-item .date {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding-right: 2rem;
    border-right: 1px solid rgba(0, 0, 0, 0.1);
    margin-right: 2rem;
    min-width: 80px;
}

.event-item .day {
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--text-main);
}

.event-item .month {
    font-size: 0.9rem;
    color: var(--primary);
    font-weight: 600;
}

.event-item .details {
    flex: 1;
}

.event-item .details h3 {
    margin-bottom: 0.5rem;
    font-size: 1.3rem;
    color: var(--text-main);
}

.event-item .details p {
    color: var(--text-muted);
    font-size: 0.9rem;
}

.btn-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 1px solid var(--text-muted);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-muted);
    transition: var(--transition);
}

.event-item:hover .btn-icon {
    border-color: var(--primary);
    color: var(--primary);
    background: rgba(59, 130, 246, 0.1);
}

/* Footer */
/* Top Bar */
.footer-top-bar {
    background: #ff510e;
    padding: 1rem 0;
    color: white;
}

.contact-info {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.icon-box {
    background: white;
    color: var(--primary);
    width: 35px;
    height: 35px;
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
}

.info-text {
    display: flex;
    flex-direction: column;
}

.info-text span {
    font-size: 0.75rem;
    opacity: 0.9;
}

.info-text a,
.info-text p {
    font-weight: 700;
    font-size: 0.9rem;
}

.separator {
    width: 1px;
    height: 30px;
    background: rgba(255, 255, 255, 0.5);
    display: none;
}

@media (min-width: 900px) {
    .separator {
        display: block;
    }
}

/* Main Footer */
.main-footer {
    background-color: var(--brand-primary);
    padding: 3rem 0 1rem;
    color: #ffffff;
    position: relative;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    /* Reduced Gap */
    margin-bottom: 2rem;
    /* Reduced Margin */
}

.footer-col h4 {
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
    color: #ffffff;
    position: relative;
    padding-bottom: 10px;
}

.footer-col h4::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 40px;
    height: 3px;
    background-color: var(--primary);
}

.footer-logo img {
    height: 70px;
    width: auto;
    margin-bottom: 1.5rem;
    background: #ffffff;
    padding: 10px 15px;
    border-radius: 8px;
    transition: var(--transition);
    object-fit: contain;
}

.footer-logo img:hover {
    transform: scale(1.05);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.footer-desc {
    color: #ffffff;
    /* Pure white text */
    margin-bottom: 1.5rem;
    line-height: 1.6;
    font-size: 0.9rem;
}

/* Socials */
.socials {
    display: flex;
    gap: 0.8rem;
    margin-bottom: 1rem;
}

.socials a {
    width: 35px;
    height: 35px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
    color: #cbd5e1;
}

.socials a:hover {
    background-color: var(--primary);
    border-color: var(--primary);
    color: var(--white);
    transform: translateY(-3px);
}

/* Footer Links */
.footer-links li {
    margin-bottom: 0.8rem;
}

.footer-links a {
    color: #ffffff;
    /* White text */
    display: flex;
    align-items: center;
    gap: 8px;
    transition: var(--transition);
    font-size: 0.9rem;
}

.footer-links a::before {
    content: '+';
    color: #ffffff;
    /* White indicator */
    font-weight: bold;
}

.footer-links a:hover {
    color: #ffffff;
    opacity: 0.8;
    /* Subtle hover effect instead of color change */
    padding-left: 5px;
}

.footer-contact-links a::before {
    display: none !important;
}

/* Footer Bottom */
.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 1.5rem;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
    text-align: center;
}

.copyright p {
    color: #ffffff;
    /* White text */
    font-size: 0.85rem;
}

/* Floating Elements */
.chat-widget {
    position: fixed;
    bottom: 30px;
    left: 30px;
    width: 60px;
    height: 60px;
    background-color: var(--primary);
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.8rem;
    box-shadow: 0 10px 20px rgba(59, 130, 246, 0.3);
    cursor: pointer;
    z-index: 1000;
    transition: var(--transition);
}

.chat-widget:hover {
    transform: translateY(-5px);
}

.go-top-text {
    position: fixed;
    bottom: 150px;
    right: -30px;
    transform: rotate(-90deg);
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 0.8rem;
    cursor: pointer;
    z-index: 1000;
    transition: var(--transition);
    display: flex;
    align-items: center;
    gap: 8px;
}

.go-top-text::before {
    content: '';
    display: block;
    width: 30px;
    height: 1px;
    background-color: var(--text-muted);
}

.go-top-text:hover {
    color: var(--primary);
}

.go-top-text:hover::before {
    background-color: var(--primary);
}

@media (max-width: 900px) {
    .footer-top-bar .contact-info {
        flex-direction: column;
        align-items: flex-start;
    }

    .contact-item {
        width: 100%;
    }
}

/* Animations Keyframes */
@keyframes scroll {
    0% {
        transform: translateY(0);
        opacity: 1;
    }

    100% {
        transform: translateY(10px);
        opacity: 0;
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes smoothShake {

    0%,
    100% {
        transform: translate(0, 0) rotate(0deg);
    }

    25% {
        transform: translate(1px, -1px) rotate(2deg);
    }

    50% {
        transform: translate(-1px, 1px) rotate(-2deg);
    }

    75% {
        transform: translate(1px, 1px) rotate(1deg);
    }
}

@keyframes shakeHalfCircle {

    0%,
    100% {
        transform: rotate(-30deg) translate(0, 0);
    }

    25% {
        transform: rotate(-28deg) translate(2px, -2px);
    }

    50% {
        transform: rotate(-32deg) translate(-2px, 2px);
    }

    75% {
        transform: rotate(-29deg) translate(1px, 1px);
    }
}



/* Utility Animations Classes */
[data-animate] {
    opacity: 0;
    transition: all 0.8s cubic-bezier(0.645, 0.045, 0.355, 1);
}

[data-animate="fade-up"] {
    transform: translateY(30px);
}

[data-animate="slide-left"] {
    transform: translateX(50px);
}

[data-animate="slide-right"] {
    transform: translateX(-50px);
}

[data-animate="scale-up"] {
    transform: scale(0.9);
}

/* Active States */
[data-animate].active {
    opacity: 1;
    transform: translate(0) scale(1);
}

/* Laptop & Smaller Desktop Screens */
@media (max-width: 1440px) {
    .nav-container {
        padding: 0 2rem;
    }

    .logo {
        margin-left: 0;
        /* Reset excessive margin for smaller laptops */
    }

    .nav-menu {
        gap: 0.8rem;
    }

    .nav-link {
        font-size: 0.8rem;
    }

    .nav-actions {
        gap: 0.8rem;
    }

    .btn-apply {
        padding: 0.5rem 1rem;
        font-size: 0.8rem;
    }

    #navbar {
        height: 80px;
    }

    #navbar.scrolled {
        height: 70px;
    }

    .logo img {
        height: 50px;
    }

    body {
        padding-top: 116px;
    }
}

@media (max-width: 1250px) {
    .nav-container {
        padding: 0 1rem;
    }

    .nav-menu {
        gap: 0.5rem;
    }

    .nav-link {
        font-size: 0.75rem;
    }

    .nav-actions {
        gap: 0.5rem;
    }
}

/* Tablet & Mobile Responsiveness - Sidebar menu starts here */
@media (max-width: 1150px) {
    .top-bar {
        padding: 5px 0;
        height: 65px;
        display: flex;
        align-items: center;
    }

    .top-bar .container {
        flex-direction: column;
        gap: 3px;
        padding: 0 1rem;
    }

    .top-bar-right {
        order: -1;
        width: 100%;
        justify-content: center;
        gap: 0.8rem;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
        padding-bottom: 5px;
    }

    .top-bar-right a {
        font-size: 0.7rem;
        letter-spacing: 0.5px;
    }

    .top-bar-right a:not(.login-dropdown) {
        display: flex;
        /* Restore visibility */
    }

    .top-bar-left {
        width: 100%;
        justify-content: center;
        gap: 0.5rem;
        flex-wrap: wrap;
    }

    .top-bar-left .announcement-text {
        font-size: 0.65rem;
    }

    .admission-ticker {
        font-size: 0.65rem;
    }

    /* Adjust navbar top offset - More compact top-bar (approx 65px) */
    #navbar {
        top: 65px;
        height: 75px;
    }

    #navbar.scrolled {
        height: 65px;
    }

    .nav-menu {
        position: absolute;
        left: -100%;
        top: 100%;
        width: 280px;
        height: calc(100vh - 100% - 65px);
        background-color: #ffffff;
        transition: all 0.4s cubic-bezier(0.19, 1, 0.22, 1);
        box-shadow: 15px 0 35px rgba(0, 0, 0, 0.1);
        z-index: 1002;
        display: flex;
        flex-direction: column;
        padding: 0;
        margin-top: 0 !important;
        overflow-y: auto;
        border-right: 1px solid #eee;
    }

    /* Sidebar Header (Logo and Close) */
    .nav-menu::before {
        content: '';
        display: block;
        height: 60px;
        margin: 1.5rem 2rem 1rem;
        background: url('assets/coeb-logo.png') no-repeat left center;
        background-size: contain;
        border-bottom: 1px solid #f3f4f6;
        padding-bottom: 1rem;
    }

    /* Removed redundant margin-tops */

    body {
        padding-top: 140px;
        /* 65px top-bar + 75px navbar */
    }

    .nav-link {
        color: var(--text-main);
        padding: 1rem 2rem;
        justify-content: flex-start;
        width: 100%;
        font-size: 1rem;
        border-bottom: 1px solid #f9fafb;
        font-weight: 600;
    }

    .nav-link:hover {
        background-color: #f8fafc;
        padding-left: 2.5rem;
    }

    .nav-link.active {
        color: var(--brand-primary);
        background-color: #eff6ff;
    }

    .nav-actions {
        gap: 0.6rem;
    }

    .nav-divider {
        display: none;
    }

    .nav-menu.active {
        left: 0;
    }

    .menu-toggle {
        display: block;
    }

    .menu-toggle.active .bar:nth-child(2) {
        opacity: 0;
    }

    .menu-toggle.active .bar:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }

    .menu-toggle.active .bar:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }

    .logo {
        margin-left: 1.5rem;
    }

    .logo img {
        height: 48px;
    }

    .search-container.active .search-input {
        width: 140px;
    }

    .btn-apply {
        padding: 0.4rem 0.8rem;
        font-size: 0.75rem;
    }

    .about-grid {
        grid-template-columns: 1fr;
    }

    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem 1rem;
    }

    .footer-col.brand-col,
    .footer-col:last-child {
        grid-column: span 2;
    }

    /* Backdrop Overlay */
    .nav-backdrop {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background-color: rgba(0, 0, 0, 0.5);
        backdrop-filter: blur(4px);
        z-index: 999;
        opacity: 0;
        visibility: hidden;
        transition: all 0.4s ease;
    }

    .nav-backdrop.active {
        opacity: 1;
        visibility: visible;
    }

    body.menu-open {
        overflow: hidden !important;
    }

    /* Mobile Dropdowns */
    .nav-item.active .dropdown-menu {
        display: block;
        position: static;
        width: 100%;
        box-shadow: none;
        border: none;
        background-color: #f8fafc;
        animation: none;
        padding-left: 1rem;
    }

    .nav-item .dropdown-menu {
        transition: all 0.3s ease;
    }

    .dropdown-item {
        padding: 0.8rem 2rem;
        background-color: transparent !important;
    }
}

/* Small Mobile Screens */
@media (max-width: 520px) {
    .nav-container {
        padding: 0 0.8rem;
    }

    .logo {
        margin-left: 0.5rem;
    }

    .logo img {
        height: 50px;
        transition: height 0.3s ease;
    }

    #navbar.scrolled .logo img {
        height: 45px;
    }

    .nav-actions {
        gap: 0.4rem;
    }

    .btn-apply {
        padding: 0.4rem 0.6rem;
        white-space: nowrap;
        font-size: 0.7rem;
    }

    .search-container.active .search-input {
        width: 80px;
    }

    /* Show admission ticker below announcement on small phones (80px height) */
    .top-bar {
        padding: 4px 0;
        height: 78px;
        display: flex;
        align-items: center;
    }

    .top-bar .container {
        gap: 2px;
        justify-content: center;
    }

    .top-bar-right {
        padding-bottom: 2px;
        gap: 0.5rem;
        width: 100%;
        justify-content: center;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    }

    .top-bar-right a {
        font-size: 0.6rem;
        letter-spacing: 0;
    }

    .top-bar-left {
        width: 100%;
        flex-direction: column;
        justify-content: center;
        gap: 4px;
        align-items: center;
    }

    .admission-ticker {
        display: block !important;
        font-size: 0.6rem;
        max-width: 100%;
        overflow: hidden;
    }

    .ticker-item {
        height: 18px !important;
        line-height: 18px !important;
        font-size: 0.6rem;
        text-align: center;
    }

    #navbar {
        height: 80px;
        top: 78px;
    }

    #navbar.scrolled {
        height: 70px;
    }

    body {
        padding-top: 158px;
        /* 78 + 80 */
    }

    /* Correct offsets for mobile menu on very small screens */
    #navbar:not(.scrolled) .nav-menu,
    #navbar.scrolled .nav-menu {
        margin-top: 0;
    }

    .nav-menu {
        height: calc(100vh - 158px);
    }
}


/* Welcome EduFor Section */
.welcome-edufor {
    padding: 100px 0;
    background-color: #ffffff;
    overflow: hidden;
}

.welcome-edufor .container {
    display: flex;
    align-items: center;
    gap: 80px;
    max-width: 1200px;
}

.welcome-collage {
    flex: 1;
    position: relative;
    width: 100%;
    max-width: 550px;
    aspect-ratio: 100 / 85;
    height: auto;
    display: block;
    margin: 0 auto;
}

.collage-img {
    position: absolute;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.collage-img:hover {
    transform: scale(1.03);
    z-index: 10;
}

.collage-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Img 1: Top Left Landscape */
.img-1 {
    width: 54%;
    aspect-ratio: 3/2;
    top: 8%;
    left: 0;
    z-index: 2;
    height: auto;
}

/* Img 2: Right Tall Portrait */
.img-2 {
    width: 41%;
    aspect-ratio: 2/3;
    top: 0;
    right: 0;
    z-index: 1;
    height: auto;
}

/* Img 3: Bottom Left Square */
/* Img 3: Bottom Left Square */
.img-3 {
    width: 42%;
    aspect-ratio: 1/1;
    bottom: -4%;
    left: 12%;
    z-index: 3;
    height: auto;
}

/* Decorative Shapes */
.shape-half-circle {
    position: absolute;
    top: -12%;
    left: 14%;
    width: 12%;
    aspect-ratio: 1/1;
    background-color: #f15a29;
    border-radius: 50% 50% 0 0;
    /* Semi-circle radius hack, or just circle clipped */
    border-radius: 100px 100px 0 0;
    transform: rotate(-30deg);
    z-index: 0;
    animation: shakeHalfCircle 6s ease-in-out infinite;
    height: auto;
}

.shape-star {
    position: absolute;
    bottom: 0%;
    right: 10%;
    width: 15%;
    aspect-ratio: 1/1;
    z-index: 0;
    animation: smoothShake 5s ease-in-out infinite;
    height: auto;
}

.welcome-content {
    flex: 1.2;
}

.welcome-content h2 {
    font-size: 3rem;
    /* Standardized Desktop Title Size */
    color: #0c2231;
    line-height: 1.1;
    margin-bottom: 25px;
    font-weight: 700;
}

.welcome-content p {
    font-size: 1.1rem;
    color: #4c565d;
    line-height: 1.6;
    margin-bottom: 40px;
    max-width: 550px;
}

.btn-view-services {
    display: inline-flex;
    align-items: center;
    gap: 15px;
    background-color: #0c2231;
    color: #ffffff;
    padding: 16px 32px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s ease;
}

.btn-view-services:hover {
    background-color: #1a3a50;
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(12, 34, 49, 0.2);
}

.btn-view-services i {
    font-size: 1.2rem;
    transition: transform 0.3s ease;
}

.btn-view-services:hover i {
    transform: translateX(5px);
}

.welcome-stats {
    display: flex;
    gap: 60px;
    margin-top: 60px;
}

.stat-item h3 {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 5px;
}

.stat-item p {
    font-size: 1rem;
    color: #4c565d;
    margin-bottom: 0;
    font-weight: 500;
}

.stat-item.accepted h3 {
    color: #8dc63f;
}

.stat-item.universities h3 {
    color: #00aeef;
}

.stat-item.scholarships h3 {
    color: #f15a29;
}

@media (max-width: 1280px) {
    .welcome-edufor .container {
        gap: 40px;
    }
}

@media (max-width: 992px) {
    .welcome-edufor .container {
        flex-direction: column;
        text-align: center;
        gap: 50px;
    }

    .welcome-collage {
        flex: 0 0 auto;
        width: 100%;
        max-width: 500px;
        margin: 0 auto;
    }

    .welcome-content h2 {
        font-size: 2.5rem;
        /* Standardized Tablet Title Size */
    }

    .welcome-content p {
        font-size: 1rem;
        margin-left: auto;
        margin-right: auto;
    }

    .welcome-stats {
        justify-content: center;
        flex-wrap: wrap;
        gap: 30px;
        margin-top: 40px;
    }

    .stat-item h3 {
        font-size: 2rem;
    }
}

@media (max-width: 768px) {
    .welcome-collage {
        max-width: 450px;
    }

    .welcome-content h2 {
        font-size: 2rem;
        /* Standardized Mobile Title Size */
    }
}

@media (max-width: 480px) {
    .welcome-collage {
        max-width: 100%;
    }

    .welcome-content h2 {
        font-size: 1.8rem;
        /* Standardized Small Mobile Title Size */
    }

    .welcome-content p {
        font-size: 0.9rem;
    }

    .stat-item h3 {
        font-size: 1.6rem;
    }
}

/* Why COEB Section - Scroll Based */
.why-coeb-section {
    height: 300vh;
    position: relative;
    background-color: #f8f9fa;
}

.why-coeb-sticky-wrapper {
    position: sticky;
    top: 0;
    height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 60px 0;
    /* Ensures content doesn't hit top/bottom edges */
    box-sizing: border-box;
    /* Removed overflow: hidden to prevent clipping of shadows and content */
}

.why-coeb-header {
    text-align: center;
    margin-bottom: 40px;
    /* Reduced from 60px */
}

.why-coeb-header h2 {
    font-size: 3rem;
    /* Standardized Desktop Title Size */
    color: #0c2231;
    margin-bottom: 8px;
    /* Reduced from 15px to bring description closer */
    font-weight: 700;
}

.why-coeb-header p {
    font-size: 1.2rem;
    color: #6b7280;
}

.why-coeb-content {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 30px;
    /* Reduced gap to move closer to image */
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
}

.why-coeb-image {
    position: sticky;
    top: 200px;
    height: 450px;
    /* Reduced from 500px to avoid vertical clipping */
    border-radius: 30px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
    transition: all 0.6s cubic-bezier(0.645, 0.045, 0.355, 1);
}

.why-coeb-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 1;
    transition: opacity 0.3s ease;
}

.why-coeb-cards {
    display: flex;
    flex-direction: column;
    gap: 8px;
    /* Reduced gap between cards */
    padding: 0;
}

.why-card {
    background: #ffffff;
    padding: 12px 25px;
    /* Further reduced vertical padding */
    border-radius: 20px;
    border: 2px solid #f3f4f6;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    transition: all 0.4s cubic-bezier(0.645, 0.045, 0.355, 1);
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.why-card h3 {
    font-size: 1.4rem;
    color: #0c2231;
    margin-bottom: 0;
    font-weight: 700;
    transition: color 0.3s ease;
}

/* Card content - hidden by default */
.card-content {
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    transition: all 0.5s cubic-bezier(0.645, 0.045, 0.355, 1);
    margin-top: 0;
}

.card-content p {
    font-size: 1rem;
    color: #4c565d;
    line-height: 1.6;
    /* Reduced line-height from 1.7 */
    margin-bottom: 10px;
    /* Further reduced margin */
    margin-top: 0;
}

.view-services-link {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: #0c2231;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.view-services-link i {
    transition: transform 0.3s ease;
}

.view-services-link:hover i {
    transform: translateX(5px);
}

/* Active States for Cards */
.why-card.active {
    box-shadow: 0 15px 45px rgba(0, 0, 0, 0.1);
    background: #fff;
    padding: 15px 25px;
    /* Further reduced active padding */
    transform: scale(1.02);
}

.why-card.active .card-content {
    max-height: 500px;
    opacity: 1;
    margin-top: 5px;
    /* Further reduced to bring description closer to title */
}

/* Active State Colors */
.why-card[data-step="0"].active {
    border-color: #ff510e;
}

.why-card[data-step="0"].active h3 {
    color: #ff510e;
}

.why-card[data-step="1"].active {
    border-color: #00aeef;
}

.why-card[data-step="1"].active h3 {
    color: #00aeef;
}

.why-card[data-step="2"].active {
    border-color: #8dc63f;
}

.why-card[data-step="2"].active h3 {
    color: #8dc63f;
}

/* Responsive Design */
@media (max-width: 992px) {
    .why-coeb-section {
        height: auto;
        padding: 40px 0;
    }

    .why-coeb-sticky-wrapper {
        position: relative;
        height: auto;
        padding: 0;
    }

    .why-coeb-content {
        grid-template-columns: 1fr;
        gap: 25px;
        /* Reduced gap to bring image and cards closer */
        padding: 0 20px;
        /* Applied consistent padding to parent */
    }

    .why-coeb-image {
        position: relative;
        top: 0;
        height: 400px;
        width: 100%;
        margin-bottom: 0;
        /* Gap handles this now */
    }

    .why-coeb-cards {
        gap: 12px;
        padding: 0;
    }
}

@media (max-width: 576px) {
    .why-coeb-section {
        padding: 30px 0;
    }

    .why-coeb-header h2 {
        font-size: 2.2rem;
    }

    .why-coeb-image {
        height: 300px;
        padding: 0;
        /* Align with no-padding cards on mobile */
    }

    .why-card {
        padding: 20px 25px;
        /* Consistent with earlier height adjustment */
    }

    .why-card h3 {
        font-size: 1.3rem;
    }

    .card-content p {
        font-size: 0.95rem;
    }
}

/* Add Responsive Classes for Common Sections */
@media (max-width: 992px) {

    .section-header h2,
    .why-coeb-header h2,
    .career-content h2,
    .unlock-content h1,
    .partners-title,
    .about h2 {
        font-size: 2.5rem;
        /* Standardized Tablet Title Size */
    }
}

@media (max-width: 768px) {

    .section-header h2,
    .why-coeb-header h2,
    .career-content h2,
    .unlock-content h1,
    .partners-title,
    .about h2 {
        font-size: 2rem;
        /* Standardized Mobile Title Size */
    }
}

@media (max-width: 480px) {

    .section-header h2,
    .why-coeb-header h2,
    .career-content h2,
    .unlock-content h1,
    .partners-title,
    .about h2 {
        font-size: 1.8rem;
        /* Standardized Small Mobile Title Size */
    }
}

/* How We Work Timeline Section - Image 1 Exact Match */
.how-we-work {
    padding: 120px 0 80px;
    position: relative;
    background-color: #fdfdfd;
    overflow: hidden;
}

.how-we-work .container {
    position: relative;
    z-index: 2;
}

.how-we-work .section-header {
    text-align: center;
    margin-bottom: 80px;
}

.how-we-work .section-header h2 {
    font-size: 3rem;
    color: #0c2231;
    margin-bottom: 15px;
    font-weight: 700;
}

.how-we-work .section-header p {
    font-size: 1.2rem;
    color: #6b7280;
}

/* Timeline Wrapper */
.timeline-wrapper {
    position: relative;
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 0 100px;
}

/* Central Vertical Line */
.timeline-line {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 4px;
    height: calc(100% - 100px);
    background: transparent;
    z-index: 1;
}

/* Animated Fill Line - Initially Hidden */
.timeline-fill {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 0%;
    background-color: #00aeef;
    transition: height 0.3s ease-out, background-color 0.5s ease;
    z-index: 2;
}

/* Start Dot - Hidden (not needed, badges show numbers) */
.timeline-start-dot {
    display: none;
}

/* End Dot - Hidden (not needed) */
.timeline-end-dot {
    display: none;
}

/* Timeline Items - Visible by default, content always shown */
.timeline-item {
    position: relative;
    width: 50%;
    padding: 0 80px;
    margin-bottom: 100px;
    opacity: 1;
    transform: scale(1);
    transition: all 0.8s cubic-bezier(0.34, 1.56, 0.64, 1);
    z-index: 3;
}

/* Content starts hidden, slides in from right when active */
.timeline-item .timeline-content {
    opacity: 0;
    transform: translateX(100px);
    transition: all 0.8s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.timeline-item.active .timeline-content {
    opacity: 1;
    transform: translateX(0);
}


/* Right Side Items */
.timeline-item.right {
    left: 50%;
    padding-left: 80px;
    padding-right: 40px;
}

/* Left Side Items */
.timeline-item.left {
    left: 0;
    text-align: right;
    padding-left: 40px;
    padding-right: 80px;
}


/* Numbered Badge/Dot - Always visible as small dots, grow when active */
.timeline-badge {
    position: absolute;
    top: 0;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 700;
    font-size: 0;
    /* Hidden when small */
    z-index: 15;
    background-color: var(--badge-color, #ddd);
    /* Use the color from JS */
    border: 2px solid white;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    transition: all 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
    opacity: 1;
    transform: scale(1);
}

.timeline-item.active .timeline-badge {
    width: 50px;
    height: 50px;
    font-size: 1.4rem;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.2);
}

.timeline-item.right .timeline-badge {
    left: -10px;
}

.timeline-item.left .timeline-badge {
    right: -10px;
}

.timeline-item.active.right .timeline-badge {
    left: -25px;
}

.timeline-item.active.left .timeline-badge {
    right: -25px;
}

/* Color Coding per Step */
.timeline-item[data-color="#00aeef"] {
    color: #00aeef;
}

.timeline-item[data-color="#ff510e"] {
    color: #ff510e;
}

.timeline-item[data-color="#8cc63f"] {
    color: #8cc63f;
}

.timeline-item[data-color="#662d91"] {
    color: #662d91;
}

/* Content Card */
.timeline-content {
    background: white;
    padding: 15px 25px;
    /* Reduced vertical padding from 20px to 15px */
    border-radius: 20px;
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.08);
    border: 2px solid transparent;
    position: relative;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 4;
}

.timeline-item.active .timeline-content {
    border-color: currentColor;
}

.timeline-content:hover {
    transform: translateY(-10px);
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.12);
}

.timeline-content h3 {
    margin-bottom: 8px;
    font-size: 1.4rem;
    font-weight: 700;
    color: #1a202c;
    transition: color 0.3s ease;
}

.timeline-item.active .timeline-content h3 {
    color: currentColor;
}

.timeline-content p {
    color: #4a5568;
    line-height: 1.5;
    font-size: 0.95rem;
    margin: 0;
}

/* Floating Decorative Shapes */
.item-shapes {
    position: absolute;
    top: 50%;
    transform: translateY(-50%) translateX(-100px);
    width: 300px;
    height: 300px;
    z-index: 1;
    display: flex;
    flex-direction: column;
    gap: 50px;
    align-items: center;
    justify-content: center;
    pointer-events: none;
    opacity: 0;
    transition: all 0.8s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.timeline-item.active .item-shapes {
    opacity: 1;
    transform: translateY(-50%) translateX(0);
}

/* Shapes on LEFT side */
.timeline-item.right .item-shapes.left {
    right: calc(100% + 30px);
}

/* Shapes on RIGHT side */
.timeline-item.left .item-shapes.right {
    left: calc(100% + 30px);
}


/* Individual Shape Styling */
.shake-shape {
    width: 100px;
    height: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
    filter: drop-shadow(0 10px 25px rgba(0, 0, 0, 0.1));
    animation: smooth-float 6s ease-in-out infinite;
}

.shake-shape:nth-child(2) {
    animation-delay: -3s;
    animation-duration: 7s;
}

.shake-shape svg,
.shake-shape img,
.shake-shape i {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

/* Smooth Floating Animation */
@keyframes smooth-float {

    0%,
    100% {
        transform: translateY(0) rotate(0deg);
    }

    25% {
        transform: translateY(-15px) rotate(3deg);
    }

    50% {
        transform: translateY(0) rotate(-3deg);
    }

    75% {
        transform: translateY(15px) rotate(2deg);
    }
}

/* Responsive Design */
@media (max-width: 991px) {
    .item-shapes {
        display: none;
    }

    .timeline-item {
        margin-bottom: 120px;
    }
}

@media (max-width: 768px) {

    .timeline-line,
    .timeline-start-dot {
        left: 30px;
        top: -20px;
        transform: translateX(-50%);
    }

    .timeline-start-dot {
        transform: translate(-50%, -50%);
    }

    .timeline-item {
        width: 100%;
        left: 0 !important;
        padding-left: 90px !important;
        padding-right: 20px !important;
        text-align: left !important;
        margin-bottom: 100px;
    }

    .timeline-badge {
        left: 30px !important;
        right: auto !important;
        top: -20px;
        transform: translateX(-50%) !important;
    }

    .timeline-item.active.right .timeline-badge,
    .timeline-item.active.left .timeline-badge {
        top: -20px;
        transform: translateX(-50%) !important;
    }

    .timeline-content {
        padding: 30px;
    }

    .timeline-content h3 {
        font-size: 1.5rem;
    }

    .how-we-work .section-header h2 {
        font-size: 2.2rem;
    }
}

/* User Requested Timeline Design Adjustments */

/* Step 1: Blue - Make shapes smaller, move items */
.timeline-item[data-color="#00aeef"] .shake-shape.s1,
.timeline-item[data-color="#00aeef"] .shake-shape.s2 {
    width: 65px;
    height: 65px;
    position: relative;
}

/* Star go more left side */
.timeline-item[data-color="#00aeef"] .shake-shape.s1 {
    left: -80px;
}

/* Orange go more bottom */
.timeline-item[data-color="#00aeef"] .shake-shape.s2 {
    top: 60px;
    left: -20px;
    /* Slight adjustment to balance */
}


/* Step 2: Orange - Make shapes smaller, move items */
.timeline-item[data-color="#ff510e"] .shake-shape.s3,
.timeline-item[data-color="#ff510e"] .shake-shape.s4 {
    width: 65px;
    height: 65px;
    position: relative;
}

/* Orange go more right side */
.timeline-item[data-color="#ff510e"] .shake-shape.s3 {
    left: 80px;
}

/* Yellow adjustment for balance */
.timeline-item[data-color="#ff510e"] .shake-shape.s4 {
    left: 20px;
}


/* Step 3: Green - Purple go more left side */
.timeline-item[data-color="#8cc63f"] .shake-shape.s5 {
    position: relative;
    left: -80px;
}


/* Step 4: Purple - Pink go more right side */
.timeline-item[data-color="#662d91"] .shake-shape.s7 {
    position: relative;
    left: 80px;
}

/* Career Opportunities Section */
.career-opportunities {
    padding: 60px 0 120px;
    background: #ffffff;
}

.career-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.career-image-wrapper {
    position: relative;
    padding: 0;
}

.image-frame {
    position: absolute;
    top: -35px;
    right: -35px;
    width: 100%;
    height: 100%;
    border: 3px solid #ff510e;
    border-radius: 40px;
    z-index: 1;
}

.career-img {
    position: relative;
    z-index: 2;
    width: 100%;
    height: 600px;
    object-fit: cover;
    border-radius: 40px;
}

.career-content h2 {
    font-size: 3rem;
    /* Standardized Desktop Title Size */
    color: #000000;
    line-height: 1.1;
    margin-bottom: 20px;
    font-weight: 800;
}

.career-content .subtitle {
    font-size: 1.2rem;
    color: #8c9096;
    margin-bottom: 30px;
    max-width: 550px;
    line-height: 1.6;
}

.career-features {
    margin-bottom: 30px;
}

.feature-item {
    display: flex;
    gap: 25px;
    margin-bottom: 25px;
    align-items: flex-start;
}

.feature-icon {
    width: 68px;
    height: 68px;
    background: #ffffff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.12);
    /* Soft diffused shadow as per image */
    flex-shrink: 0;
    color: #3db2c6;
    /* Exact teal from image */
    font-size: 1.4rem;
}

.feature-text {
    padding-top: 5px;
}

.feature-text h3 {
    font-size: 1.4rem;
    color: #000000;
    margin-bottom: 12px;
    font-weight: 700;
}

.feature-text p {
    font-size: 1.1rem;
    color: #8c9096;
    line-height: 1.5;
}

.btn-get-started {
    display: inline-block;
    background-color: #3db2c6;
    /* Exact teal from image */
    color: #ffffff;
    padding: 16px 42px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    text-transform: none;
}

.btn-get-started:hover {
    background-color: #2da1b5;
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(61, 178, 198, 0.3);
    color: #ffffff;
}

@media (max-width: 992px) {
    .career-grid {
        grid-template-columns: 1fr;
        gap: 60px;
    }

    .career-image-wrapper {
        max-width: 600px;
        margin: 0 auto;
    }

    .career-content {
        text-align: left;
    }

    .career-content .subtitle {
        margin-left: 0;
    }
}

@media (max-width: 576px) {
    .career-content h2 {
        font-size: 2.5rem;
    }

    .career-img {
        height: 450px;
    }

    .image-frame {
        display: none;
        /* Hide frame on mobile for cleaner look if requested, or keep it */
    }

    .feature-item {
        gap: 15px;
    }

    .feature-icon {
        width: 55px;
        height: 55px;
        font-size: 1.2rem;
    }
}