:root {
    --primary-color: #0b1c3c;
    /* Dark Blue */
    --secondary-color: #007bff;
    /* Bright Blue */
    --accent-color: #e63946;
    /* Red/Orange for CTA */
    --text-color: #333;
    --light-text: #f4f4f4;
    --bg-light: #ffffff;
    --bg-dark: #121212;
    --bg-grey: #f8f9fa;
    --card-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    /* Softer, deeper shadow */
    --hover-shadow: 0 20px 40px rgba(0, 0, 0, 0.12);
    /* Lift effect */
    --transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    /* Smoother bezier */
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Inter', sans-serif;
    --gradient-primary: linear-gradient(135deg, #0b1c3c 0%, #1a2a4a 100%);
    --gradient-accent: linear-gradient(135deg, #007bff 0%, #00d2ff 100%);
    --gradient-text: linear-gradient(135deg, #0b1c3c 0%, #007bff 100%);
    --gradient-glow: radial-gradient(circle at center, rgba(0, 123, 255, 0.4) 0%, rgba(0, 0, 0, 0) 70%);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-body);
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--bg-light);
    overflow-x: hidden;
}

img {
    max-width: 100%;
    display: block;
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.2;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

.btn {
    display: inline-block;
    padding: 12px 24px;
    border-radius: 5px;
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.9rem;
    transition: var(--transition);
    cursor: pointer;
    border: none;
}

.btn-primary {
    background: var(--gradient-accent);
    color: #fff;
    box-shadow: 0 4px 15px rgba(0, 123, 255, 0.3);
    position: relative;
    overflow: hidden;
    z-index: 1;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.btn-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 50%;
    height: 100%;
    background: linear-gradient(120deg, transparent, rgba(255, 255, 255, 0.4), transparent);
    transform: skewX(-25deg);
    transition: 0.5s;
    z-index: -1;
}

.btn-primary:hover::before {
    left: 150%;
    transition: 0.7s;
}

.btn-primary:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 10px 30px rgba(0, 123, 255, 0.5);
}

.btn-accent {
    background: linear-gradient(135deg, #e63946 0%, #ff6b6b 100%);
    color: #fff;
    box-shadow: 0 4px 15px rgba(230, 57, 70, 0.3);
}

.btn-accent:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(230, 57, 70, 0.4);
    filter: brightness(1.1);
}

.btn-outline {
    border: 2px solid var(--light-text);
    color: var(--light-text);
    background: transparent;
}

.btn-outline:hover {
    background: #fff;
    color: var(--primary-color);
}

.section-title {
    text-align: center;
    margin-bottom: 4rem;
    font-size: 2.5rem;
    color: var(--primary-color);
    position: relative;
    padding-bottom: 1.5rem;
    background: var(--gradient-text);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 800;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 4px;
    background: var(--secondary-color);
    border-radius: 2px;
}

/* Top Bar */
.top-bar {
    background: #f8f9fa;
    padding: 8px 0;
    font-size: 0.9rem;
    border-bottom: 1px solid #eee;
}

.top-bar .container {
    display: flex;
    justify-content: center;
    /* Center content */
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.contact-info {
    display: flex;
    gap: 20px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.contact-info li {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #666;
}

.social-links {
    display: flex;
    gap: 15px;
}

.social-links a {
    color: #666;
    transition: color 0.3s;
}

.social-links a:hover {
    color: var(--secondary-color);
}

/* Header */
header {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.05);
    position: sticky;
    top: 0;
    z-index: 1000;
    padding: 1rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.3);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    /* Added for centering on mobile if needed, but keeping separate for now */
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
}

.logo img {
    height: 60px;
    /* Slightly larger */
    width: auto;
}

.logo-text {
    display: flex;
    flex-direction: column;
    justify-content: center;
    line-height: 1.1;
    text-align: left;
    /* Keep left alignment for text itself relative to logo */
}

.brand {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--primary-color);
    letter-spacing: -0.5px;
    text-transform: uppercase;
}

.suffix {
    font-family: var(--font-body);
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--secondary-color);
    letter-spacing: 2px;
    text-transform: uppercase;
    position: relative;
    display: inline-block;
    margin-top: -2px;
}

.nav-menu {
    position: fixed;
    top: 0;
    right: -320px;
    width: 320px;
    height: 100vh;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    display: flex;
    flex-direction: column;
    padding: 2rem;
    box-shadow: -10px 0 30px rgba(0, 0, 0, 0.1);
    z-index: 2000;
    transition: right 0.5s cubic-bezier(0.19, 1, 0.22, 1);
}

.nav-menu.active {
    right: 0;
}

/* Header inside Menu */
.menu-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.menu-title {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
}

.close-menu {
    font-size: 1.5rem;
    color: var(--text-color);
    cursor: pointer;
    transition: transform 0.3s;
}

.close-menu:hover {
    transform: rotate(90deg);
    color: var(--accent-color);
}

.nav-menu li {
    margin: 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.03);
}

.nav-menu a {
    display: block;
    padding: 1rem 0;
    font-size: 1.1rem;
    color: var(--primary-color);
    font-weight: 600;
    transition: padding-left 0.3s;
}

.nav-menu a:hover {
    color: var(--secondary-color);
    padding-left: 10px;
}

/* Overlay */
.menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(11, 28, 60, 0.6);
    backdrop-filter: blur(4px);
    z-index: 1500;
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s ease;
}

.menu-overlay.active {
    opacity: 1;
    visibility: visible;
}

/* Container Scale Effect */
body.menu-open {
    overflow: hidden;
}

.nav-menu .btn-primary {
    color: #fff;
    margin-left: 0;
    margin-top: 10px;
    display: inline-block;
    width: auto;
    padding: 0.8rem 1.5rem;
    box-shadow: 0 4px 15px rgba(0, 123, 255, 0.4);
}

.nav-menu .btn-primary:hover {
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0, 123, 255, 0.5);
    padding-left: 1.5rem;
}

.mobile-toggle {
    display: block;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--primary-color);
    z-index: 1001;
}

@media (min-width: 992px) {
    .nav-container {
        flex-direction: column;
        /* Stack Logo and Menu */
        justify-content: center;
        gap: 1.5rem;
    }

    .nav-menu {
        position: static;
        width: auto;
        height: auto;
        background: transparent;
        flex-direction: row;
        align-items: center;
        /* Center items vertically */
        padding: 0;
        box-shadow: none;
        gap: 2rem;
        transition: none;
        transform: none;
        backdrop-filter: none;
    }

    .menu-header,
    .menu-overlay {
        display: none;
    }

    .nav-menu li {
        border: none;
    }

    .nav-menu a {
        padding: 0;
        font-size: 1rem;
        font-weight: 500;
    }

    .nav-menu a:hover {
        padding-left: 0;
    }

    .mobile-toggle {
        display: none;
    }

    .nav-menu .btn-primary {
        margin-top: 0;
        width: auto;
        padding: 0.6rem 1.5rem;
        box-shadow: 0 4px 15px rgba(0, 123, 255, 0.3);
    }
}

/* Hero Section */
.hero {
    background: radial-gradient(circle at 80% 20%, #2a4066 0%, #0b1c3c 60%, #050f22 100%);
    color: #fff;
    padding: 7rem 0;
    /* Increase padding for grandeur */
    position: relative;
    overflow: hidden;
}

.hero::after {
    /* Subtle geometric pattern overlay */
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background:
        linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
    background-size: 40px 40px;
    opacity: 0.5;
    pointer-events: none;
}

.hero::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 80%;
    height: 200%;
    background: radial-gradient(circle, rgba(0, 123, 255, 0.1) 0%, rgba(0, 0, 0, 0) 70%);
    pointer-events: none;
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    align-items: center;
}

.hero-text h1 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.hero-subtext {
    font-size: 1.1rem;
    color: #cbd5e1;
    margin-bottom: 2rem;
    font-weight: 500;
}

.hero-points {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-bottom: 2rem;
}

.hero-point {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.95rem;
}

.hero-point i {
    color: var(--secondary-color);
    /* Highlight icon */
}

.hero-buttons {
    display: flex;
    gap: 1rem;
}

/* Mobile Hero Image */
.hero-image {
    display: block;
    /* Show on mobile */
    position: relative;
    height: 250px;
    /* Smaller height for mobile */
    width: 100%;
    margin-top: 2rem;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.slider-container {
    position: relative;
    width: 100%;
    height: 100%;
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    transition: opacity 1s ease-in-out;
}

.slide.active {
    opacity: 1;
}

@media (min-width: 768px) {
    .hero-content {
        grid-template-columns: 1fr 1fr;
    }

    /* Desktop Hero Image adjustments */
    .hero-image {
        height: 450px;
        margin-top: 0;
        box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3);
        /* Deeper shadow */
        border: 1px solid rgba(255, 255, 255, 0.1);
        /* Glass border */
    }

    .hero-text h1 {
        font-size: 4rem;
        line-height: 1.1;
        letter-spacing: -1px;
    }
}

/* Courses Section */
.courses {
    padding: 5rem 0;
    background: var(--bg-grey);
}

.course-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
}

.course-card {
    background: #fff;
    border-radius: 16px;
    /* Slightly more rounded */
    box-shadow: var(--card-shadow);
    transition: var(--transition);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    border: 1px solid rgba(0, 0, 0, 0.04);
    position: relative;
}

.course-card::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--gradient-accent);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s ease;
}

.course-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.15);
    /* More dramatic lift */
}

.course-card:hover::after {
    transform: scaleX(1);
}

.course-image {
    width: 100%;
    height: 200px;
    overflow: hidden;
}

.course-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.course-card:hover .course-image img {
    transform: scale(1.05);
    /* Zoom effect */
}

.course-content {
    padding: 2rem;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.course-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--primary-color);
}

.course-points {
    margin-bottom: 1.5rem;
    color: #666;
    flex-grow: 1;
}

.course-points li {
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.course-points li i {
    color: var(--secondary-color);
    font-size: 0.8rem;
}

.duration {
    display: block;
    margin-bottom: 1.5rem;
    font-weight: 600;
    color: var(--primary-color);
    font-size: 0.9rem;
}

@media (min-width: 768px) {
    .course-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* Why Choose Us (Scrolling) */
.why-choose {
    padding: 5rem 0;
    overflow: hidden;
    /* Contain scroll */
}

.feature-item {
    text-align: center;
    padding: 2.5rem 2rem;
    background: #fff;
    border-radius: 15px;
    box-shadow: var(--card-shadow);
    min-width: 300px;
    /* Fixed width for scrolling */
    max-width: 300px;
    white-space: normal;
    /* Allow text wrapping inside card */
    border: 1px solid rgba(0, 0, 0, 0.03);
    transition: var(--transition);
}

.feature-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    border-color: var(--secondary-color);
}

.feature-icon {
    font-size: 2.5rem;
    color: var(--secondary-color);
    margin-bottom: 1rem;
}

.feature-item h4 {
    margin-bottom: 0.5rem;
    color: var(--primary-color);
    font-size: 1.2rem;
}

.feature-item p {
    color: #666;
    font-size: 0.95rem;
    line-height: 1.5;
}

/* Tools */
.tools {
    padding: 3rem 0;
    background: #f1f5f9;
}

.tools-logos {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 3rem;
    align-items: center;
    opacity: 0.7;
}

.tools-logos span {
    font-size: 1.5rem;
    font-weight: 700;
    color: #555;
    text-transform: uppercase;
}

/* Learning Flow */
.flow {
    padding: 5rem 0;
}

.flow-container {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    align-items: center;
    justify-content: space-between;
    max-width: 1100px;
    margin: 0 auto;
}

.flow-step {
    background: #fff;
    padding: 2rem 1rem;
    border-radius: 15px;
    text-align: center;
    position: relative;
    width: 100%;
    max-width: 280px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease;
    border: 1px solid #eee;
}

.flow-step:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
    border-color: var(--secondary-color);
}

.step-number {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--primary-color);
    color: #fff;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 0.8rem;
    border: 2px solid #fff;
}

.step-icon {
    font-size: 2rem;
    color: var(--secondary-color);
    margin-bottom: 1rem;
    background: #f0f7ff;
    width: 70px;
    height: 70px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.flow-step h3 {
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
    color: var(--primary-color);
}

.flow-step p {
    font-size: 0.85rem;
    color: #666;
    line-height: 1.4;
}

.step-connector {
    color: var(--secondary-color);
    font-size: 1.5rem;
    opacity: 0.5;
    transform: rotate(90deg);
    /* Point down on mobile */
}

@media (min-width: 992px) {
    .flow-container {
        flex-direction: row;
        gap: 1rem;
    }

    .flow-step {
        padding: 2rem 1rem;
    }

    .step-connector {
        transform: rotate(0deg);
        /* Point right on desktop */
    }
}

/* Placements */
.placements {
    padding: 5rem 0;
    background: var(--primary-color);
    color: #fff;
    text-align: center;
}

.placements .section-title {
    color: #fff;
}

.company-logos {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 2rem;
    margin-top: 2rem;
}

.company-badge {
    background: rgba(255, 255, 255, 0.1);
    padding: 1rem 2rem;
    border-radius: 5px;
    font-weight: 600;
    letter-spacing: 1px;
}

/* Testimonials */
.testimonials {
    padding: 5rem 0;
    overflow: hidden;
}

.testimonial-card {
    background: #fff;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: var(--card-shadow);
    text-align: center;
    min-width: 350px;
    /* Fixed width for scrolling */
    max-width: 350px;
    white-space: normal;
    border: 1px solid #eee;
    transition: transform 0.3s ease;
}

.testimonial-card:hover {
    transform: translateY(-5px);
    border-color: var(--secondary-color);
}

.testimonial-text {
    font-style: italic;
    color: #555;
    margin-bottom: 1.5rem;
}

.student-name {
    font-weight: 700;
    color: var(--primary-color);
    display: block;
}

.placed-at {
    color: var(--secondary-color);
    font-size: 0.85rem;
    font-weight: 600;
}

@media (min-width: 768px) {
    .testimonial-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* Enquiry Form */
.enquiry {
    padding: 5rem 0;
    background: url('../images/circuit-bg.png') center/cover no-repeat;
    background-color: #0b1c3c;
    /* Fallback */
    position: relative;
    color: #fff;
}

.enquiry::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(11, 28, 60, 0.85);
    /* Blue overlay to make text pop */
}

.enquiry .container {
    position: relative;
    /* Above overlay */
    z-index: 1;
}

.enquiry .section-title {
    color: #fff;
    border: none;
}

.enquiry .section-title::after {
    background: #fff;
}

.form-container {
    max-width: 600px;
    margin: 0 auto;
    background: #fff;
    padding: 3rem;
    border-radius: 10px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
    color: var(--text-color);
}

.course-summary {
    color: #666;
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 1rem;
    border-bottom: 1px solid #eee;
    padding-bottom: 1rem;
}

/* Course Detail Pages */
.page-header {
    padding: 6rem 0 4rem;
    color: #fff;
    text-align: center;
    position: relative;
}

.page-header h1 {
    font-size: 3rem;
    margin-bottom: 0.5rem;
}

.page-header p {
    font-size: 1.2rem;
    opacity: 0.9;
}

.course-layout {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
    padding-top: 4rem;
    padding-bottom: 4rem;
}

.course-section {
    margin-bottom: 3rem;
}

.course-section h2 {
    font-size: 1.8rem;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    border-bottom: 2px solid #eee;
    padding-bottom: 0.5rem;
}

.skills-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
}

.skill-item {
    background: #fff;
    padding: 1.5rem;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    display: flex;
    align-items: center;
    gap: 1rem;
    font-weight: 600;
    color: #444;
}

.skill-item i {
    color: var(--secondary-color);
    font-size: 1.2rem;
}

.tools-list {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
}

.tool-badge {
    background: #eef2f7;
    color: var(--primary-color);
    padding: 0.5rem 1rem;
    border-radius: 50px;
    font-weight: 500;
    font-size: 0.9rem;
    border: 1px solid #dee2e6;
}

.roles-list {
    list-style: disc;
    padding-left: 1.5rem;
    color: #555;
    line-height: 1.8;
}

.sidebar-card {
    background: #fff;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    border-top: 4px solid var(--accent-color);
}

.sidebar-card h3 {
    margin-bottom: 1.5rem;
    color: var(--primary-color);
}

.sidebar-card ul {
    margin-bottom: 2rem;
}

.sidebar-card li {
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.8rem;
    font-size: 0.95rem;
    color: #444;
}

.sidebar-card li i {
    color: var(--secondary-color);
    width: 20px;
}

.full-width {
    width: 100%;
    text-align: center;
    display: block;
}

/* Marquee / Infinite Scroll */
.marquee-container {
    width: 100%;
    overflow: hidden;
    position: relative;
    padding: 2rem 0;
    background: #fff;
    white-space: nowrap;
}

.marquee-container::before,
.marquee-container::after {
    content: "";
    position: absolute;
    top: 0;
    width: 100px;
    height: 100%;
    z-index: 2;
    pointer-events: none;
}

.marquee-container::before {
    left: 0;
    background: linear-gradient(to right, #fff, transparent);
}

.marquee-container::after {
    right: 0;
    background: linear-gradient(to left, #fff, transparent);
}

.marquee-track {
    display: inline-flex;
    gap: 3rem;
    animation: scroll 30s linear infinite;
}

@keyframes shine {
    0% {
        left: -100%;
        opacity: 0;
    }

    20% {
        opacity: 0.5;
    }

    50% {
        left: 100%;
        opacity: 0;
    }

    100% {
        left: 100%;
        opacity: 0;
    }
}

.marquee-container .company-badge {
    color: var(--primary-color);
    background: linear-gradient(145deg, #ffffff, #f0f0f0);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    /* Softer shadow */
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(0, 0, 0, 0.05);
    border-radius: 8px;
    /* Slightly more rounded */
    transform: translateZ(0);
    /* Hardware acceleration */
}

.marquee-container .company-badge::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 50%;
    height: 100%;
    background: linear-gradient(to right, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0.8) 50%, rgba(255, 255, 255, 0) 100%);
    transform: skewX(-25deg);
    animation: shine 3s infinite;
    pointer-events: none;
}

.marquee-track:hover {
    animation-play-state: paused;
}

@keyframes scroll {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }

    /* Assumes 2 sets of items */
}

/* Enhanced Visuals */
.course-card {
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275), box-shadow 0.4s ease;
}

.course-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

/* Scroll Reveal Animation Classes */
.reveal {
    opacity: 0;
    transform: translateY(50px);
    transition: all 0.8s ease-out;
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* Placements Page */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    text-align: center;
}

.stat-card {
    padding: 2rem;
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s;
}

.stat-card:hover {
    transform: translateY(-5px);
}

.stat-card i {
    font-size: 2.5rem;
    color: var(--secondary-color);
    margin-bottom: 1rem;
}

.stat-card h3 {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.stat-card p {
    color: #666;
    font-weight: 500;
}

.process-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.step-card {
    background: #fff;
    padding: 2rem;
    border-radius: 10px;
    position: relative;
    border: 1px solid #eee;
}

.step-icon {
    width: 50px;
    height: 50px;
    background: var(--primary-color);
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: bold;
    margin-bottom: 1.5rem;
}

.step-card h4 {
    margin-bottom: 1rem;
    color: var(--primary-color);
}

.bg-grey {
    background: var(--bg-grey);
}

.bg-dark {
    background: var(--primary-color);
    color: #fff;
}

.section-padding {
    padding: 5rem 0;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
    color: var(--primary-color);
}

.form-control {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-family: inherit;
    font-size: 1rem;
}

.form-control:focus {
    border-color: var(--secondary-color);
    outline: none;
}

/* Footer */
footer {
    background: #0a0f1c;
    /* Very dark */
    color: #aaa;
    padding: 4rem 0 2rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    margin-bottom: 3rem;
}

.footer-col h4 {
    color: #fff;
    margin-bottom: 1.5rem;
    font-size: 1.2rem;
}

.footer-col ul li {
    margin-bottom: 0.8rem;
}

.footer-col a:hover {
    color: #fff;
    text-decoration: underline;
}

.social-icons a {
    margin-right: 1rem;
    font-size: 1.2rem;
    color: #fff;
}

.copyright {
    text-align: center;
    border-top: 1px solid #222;
    padding-top: 2rem;
    font-size: 0.9rem;
}

@media (min-width: 768px) {
    .footer-grid {
        grid-template-columns: 2fr 1fr 1fr 2fr;
    }
}

/* Modal Popup */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 2000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    backdrop-filter: blur(5px);
}

.modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

.modal-content {
    background: #fff;
    padding: 3rem;
    border-radius: 15px;
    text-align: center;
    max-width: 400px;
    width: 90%;
    transform: translateY(20px);
    transition: all 0.3s ease;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.2);
}

.modal-overlay.active .modal-content {
    transform: translateY(0);
}

.modal-icon {
    font-size: 4rem;
    color: #28a745;
    margin-bottom: 1.5rem;
}

.modal-content h3 {
    color: var(--primary-color);
    font-size: 1.8rem;
    margin-bottom: 1rem;
}

.modal-content p {
    color: #666;
    margin-bottom: 2rem;
    line-height: 1.6;
}

/* Placement Grid Styles */
.placement-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 2rem;
}

.placement-card {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    text-align: center;
    border: 1px solid #333;
    /* subtle border for dark mode contrast */
}

.placement-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.3);
}

.student-img {
    height: 250px;
    width: 100%;
    overflow: hidden;
    border-bottom: 4px solid var(--secondary-color);
}

.student-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top;
    transition: transform 0.5s ease;
}

.placement-card:hover .student-img img {
    transform: scale(1.1);
}

.student-details {
    padding: 1.5rem;
}

.student-details h3 {
    color: var(--primary-color);
    margin: 0 0 5px 0;
    font-size: 1.3rem;
}

.student-details .role {
    display: block;
    font-weight: 500;
    color: #666;
    margin-bottom: 15px;
    font-size: 0.95rem;
}

.company-placed {
    background: #eef2f7;
    padding: 8px 15px;
    border-radius: 20px;
    display: inline-block;
    color: var(--primary-color);
    font-weight: 500;
    margin-bottom: 15px;
    font-size: 0.9rem;
}

.company-placed strong {
    color: var(--secondary-color);
}

.student-details .quote {
    font-style: italic;
    color: #555;
    font-size: 0.95rem;
    line-height: 1.5;
}

/* About Page Styles */
.stats-counter-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    text-align: center;
    background: #fff;
    padding: 3rem;
    border-radius: 12px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    transform: translateY(-50px);
    margin-bottom: -50px;
    position: relative;
    z-index: 10;
}

.counter-item i {
    font-size: 2.5rem;
    color: var(--secondary-color);
    margin-bottom: 1rem;
}

.counter-number {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.counter-label {
    color: #666;
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.85rem;
    letter-spacing: 1px;
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 4rem;
    align-items: center;
}

.sub-heading {
    display: block;
    font-weight: 700;
    color: var(--secondary-color);
    margin-bottom: 1rem;
    letter-spacing: 2px;
    font-size: 0.9rem;
}

.section-title-left {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.lead-text {
    font-size: 1.15rem;
    color: #444;
    margin-bottom: 1.5rem;
    font-weight: 500;
}

.vision-mission-tabs {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    margin-top: 2rem;
}

.vm-card {
    background: #fff;
    padding: 1.5rem;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    border-left: 4px solid var(--secondary-color);
}

.vm-icon {
    font-size: 1.5rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.vm-card h3 {
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
}

.vm-card p {
    font-size: 0.9rem;
    color: #666;
}

.image-wrapper {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.2);
}

.image-wrapper img {
    width: 100%;
    display: block;
    transition: transform 0.5s ease;
}

.image-wrapper:hover img {
    transform: scale(1.05);
}

.experience-badge {
    position: absolute;
    bottom: 30px;
    left: -20px;
    background: var(--secondary-color);
    padding: 1.5rem;
    color: #fff;
    border-radius: 10px;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
    display: flex;
    align-items: center;
    gap: 10px;
}

.experience-badge .years {
    font-size: 2.5rem;
    font-weight: 800;
    line-height: 1;
}

.experience-badge .text {
    font-size: 0.9rem;
    line-height: 1.3;
    font-weight: 500;
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.value-card {
    text-align: center;
    padding: 2rem;
    border: 1px solid #eee;
    border-radius: 10px;
    background: #fff;
    transition: 0.3s ease;
}

.value-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    border-color: var(--secondary-color);
}

.value-icon {
    width: 70px;
    height: 70px;
    background: #eef2f7;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    font-size: 1.8rem;
    color: var(--secondary-color);
    transition: 0.3s ease;
}

.value-card:hover .value-icon {
    background: var(--secondary-color);
    color: #fff;
}

@media (min-width: 992px) {
    .about-grid {
        grid-template-columns: 1fr 1fr;
    }
}

/* Floating Contact Widget */
.floating-contact-widget {
    position: fixed;
    bottom: 30px;
    right: 30px;
    display: flex;
    flex-direction: column;
    gap: 15px;
    z-index: 10000;
    align-items: flex-end;
}

.floating-contact-link {
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    text-decoration: none;
    border-radius: 50px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    font-weight: 600;
    overflow: hidden;
    position: relative;
}

.floating-contact-link:hover {
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4);
}

.floating-whatsapp {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #25D366, #128C7E);
    font-size: 32px;
}

.floating-call {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--secondary-color), #0056b3);
    font-size: 24px;
    padding: 0;
}

.floating-call i {
    font-size: 1.5rem;
    animation: phone-shake 3s infinite;
}

/* Tooltips */
.tooltip-text {
    position: absolute;
    right: 75px;
    background: rgba(0, 0, 0, 0.8);
    color: #fff;
    padding: 6px 12px;
    border-radius: 6px;
    font-size: 12px;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s;
    white-space: nowrap;
    pointer-events: none;
    top: 50%;
    transform: translateY(-50%);
}

.tooltip-text::after {
    content: '';
    position: absolute;
    top: 50%;
    right: -6px;
    margin-top: -6px;
    border-width: 6px;
    border-style: solid;
    border-color: transparent transparent transparent rgba(0, 0, 0, 0.8);
}

.floating-contact-link:hover .tooltip-text {
    opacity: 1;
    visibility: visible;
    right: 70px;
}

@keyframes phone-shake {

    0%,
    90%,
    100% {
        transform: rotate(0) scale(1);
    }

    92% {
        transform: rotate(-10deg) scale(1.1);
    }

    94% {
        transform: rotate(10deg) scale(1.1);
    }

    96% {
        transform: rotate(-10deg) scale(1.1);
    }

    98% {
        transform: rotate(10deg) scale(1.1);
    }
}

@media (max-width: 768px) {
    .floating-contact-widget {
        bottom: 20px;
        right: 20px;
        gap: 12px;
    }

    .floating-whatsapp,
    .floating-call {
        height: 50px;
    }

    .floating-whatsapp {
        width: 50px;
        font-size: 26px;
    }

    .floating-call {
        padding: 0 20px;
        font-size: 1rem;
    }
}

/* Scroll Reveal Animation */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease-out;
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* Premium Shine Effect */
.course-card,
.feature-item,
.testimonial-card {
    position: relative;
    overflow: hidden;
}

.course-card::before,
.feature-item::before,
.testimonial-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 50%;
    height: 100%;
    background: linear-gradient(120deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transform: skewX(-25deg);
    transition: 0.5s;
    z-index: 2;
    pointer-events: none;
}

.course-card:hover::before,
.feature-item:hover::before,
.testimonial-card:hover::before {
    left: 150%;
    transition: 0.7s ease-in-out;
}

/* Button Outline Primary Helper */
.btn-outline-primary {
    border: 2px solid var(--secondary-color);
    color: var(--secondary-color);
    background: transparent;
    width: 100%;
    text-align: center;
}

.btn-outline-primary:hover {
    background: var(--secondary-color);
    color: #fff;
    box-shadow: 0 5px 15px rgba(0, 123, 255, 0.3);
}

/* Project Details Premium Layout */
.project-details-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
}

@media (min-width: 992px) {
    .project-details-grid {
        grid-template-columns: 2fr 1fr;
    }
}

.premium-text h3 {
    font-size: 1.5rem;
    color: var(--primary-color);
    margin-top: 2rem;
    margin-bottom: 1rem;
    position: relative;
    padding-left: 15px;
}

.premium-text h3::before {
    content: '';
    position: absolute;
    left: 0;
    top: 5px;
    height: 80%;
    width: 4px;
    background: var(--secondary-color);
    border-radius: 2px;
}

.premium-text p {
    font-size: 1.05rem;
    color: #555;
    line-height: 1.8;
    margin-bottom: 1.5rem;
}

.premium-text ul {
    list-style: none;
    margin-bottom: 1.5rem;
}

.premium-text ul li {
    margin-bottom: 0.8rem;
    padding-left: 1.5rem;
    position: relative;
    color: #555;
}

.premium-text ul li::before {
    content: '•';
    color: var(--secondary-color);
    font-size: 1.5rem;
    position: absolute;
    left: 0;
    top: -5px;
}

.info-card {
    background: #fff;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: var(--card-shadow);
    border: 1px solid rgba(0, 0, 0, 0.05);
    position: sticky;
    top: 100px;
    /* Sticky sidebar */
    transition: transform 0.3s ease;
}

.info-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

/* Page Header Adjustments */
.page-header {
    padding: 8rem 0 5rem;
    text-align: center;
    color: #fff;
    position: relative;
    margin-bottom: 0;
}

.page-header h1 {
    font-size: 3rem;
    margin-bottom: 0.5rem;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

/* FAQ Section */
.faq-section {
    padding: 6rem 0;
    background: #f8f9fa;
}

.faq-container {
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.faq-item {
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.03);
    overflow: hidden;
    transition: all 0.3s ease;
    border: 1px solid rgba(0, 0, 0, 0.03);
}

.faq-item:hover {
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
    transform: translateY(-2px);
}

.faq-question {
    padding: 1.5rem 2rem;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: 600;
    color: var(--primary-color);
    font-size: 1.1rem;
    transition: all 0.3s;
}

.faq-question:hover {
    color: var(--secondary-color);
    background: rgba(0, 123, 255, 0.02);
}

.faq-question i {
    transition: transform 0.4s cubic-bezier(0.65, 0, 0.35, 1);
    color: #ccc;
    font-size: 0.9rem;
}

.faq-item.active {
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
    border-color: rgba(0, 123, 255, 0.1);
}

.faq-item.active .faq-question i {
    transform: rotate(180deg);
    color: var(--secondary-color);
}

.faq-item.active .faq-question {
    color: var(--secondary-color);
    background: white;
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s cubic-bezier(0.65, 0, 0.35, 1);
}

.faq-answer p {
    padding: 0 2rem 2rem 2rem;
    color: #555;
    line-height: 1.7;
    font-size: 0.95rem;
    margin: 0;
}

.faq-item.active .faq-answer {
    max-height: 500px;
}