/*
Theme Name: Gitakshmi Technolabs
Theme URI: https://gitakshmilabs.com
Author: Antigravity AI
Description: Custom premium theme for Gitakshmi Technolabs with modern aesthetics, glassmorphism, and micro-animations.
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: gitakshmilabs
*/

:root {
    /* Colors */
    --primary-blue: #092ea0;
    --primary-light: #2e8eff;
    --secondary-blue: #2e8eff;
    --text-dark: #1F2937;
    --text-muted: #6B7280;
    --bg-light: #F9FAFB;
    --bg-white: #FFFFFF;
    --accent-yellow: #FFB800;
    --danger-red: #D12E2E;

    /* Gradients */
    --gradient-blue: linear-gradient(135deg, #092ea0 0%, #2e8eff 100%);
    --gradient-card: linear-gradient(180deg, #FFFFFF 0%, #F3F6FF 100%);

    /* Typography */
    --font-inter: 'Poppins', sans-serif;
    --font-outfit: 'Poppins', sans-serif;

    /* Shadows */
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --shadow-hover: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);

    /* Transitions */
    --transition-fast: 0.2s ease-in-out;
    --transition-normal: 0.3s ease-in-out;
}

html {
    font-size: 15px;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: var(--font-inter);
    color: var(--text-dark);
    background-color: var(--bg-light);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-outfit);
    font-weight: 600 !important;
    line-height: 1.2;
    margin-bottom: 1rem;
}

a {
    color: var(--primary-light);
    text-decoration: none;
    transition: color var(--transition-fast);
}

a:hover {
    color: var(--primary-blue);
}

p {
    font-size: 1.1rem !important;
    font-family: var(--font-inter) !important;
    margin-bottom: 1rem;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

.container {
    width: 95%;
    max-width: 1600px;
    margin: 0 auto;
    padding: 0;
}

/* Global Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.75rem 1.5rem;
    border-radius: 9999px;
    /* Pill shape */
    font-weight: 600;
    font-size: 0.95rem;
    transition: all var(--transition-fast);
    cursor: pointer;
    border: none;
    text-align: center;
}

.btn-primary {
    background: var(--gradient-blue);
    color: var(--bg-white);
    box-shadow: 0 4px 14px 0 rgba(10, 54, 157, 0.39);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(10, 54, 157, 0.23);
    color: var(--bg-white);
}

.btn-outline {
    background: transparent;
    color: var(--primary-blue);
    border: 2px solid var(--primary-blue);
}

.btn-outline:hover {
    background: var(--primary-blue);
    color: var(--bg-white);
}

/* Micro Animations */
.animate-fade-in {
    animation: fadeIn 0.6s ease-in-out forwards;
}

.animate-slide-up {
    animation: slideUp 0.6s ease-out forwards;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Glassmorphism utility */
.glass {
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
}

/* Header Utilities */
.site-header {
    background: var(--bg-white);
    box-shadow: var(--shadow-sm);
    position: sticky;
    top: 0;
    z-index: 100;
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 1.5rem;
    max-width: 1280px;
    margin: 0 auto;
}

.site-logo {
    display: flex;
    align-items: center;
}

.site-logo img {
    height: 40px;
}

.main-navigation ul {
    list-style: none;
    display: flex;
    gap: 2rem;
    align-items: center;
    margin: 0;
    padding: 0;
}

.main-navigation a {
    color: var(--text-dark);
    font-weight: 500;
    font-size: 0.95rem;
}

.main-navigation a:hover {
    color: var(--primary-light);
}

/* Footer Utilities */
.site-footer {
    background-color: var(--bg-light);
    padding: 4rem 0 2rem;
    border-top: 1px solid #E5E7EB;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    margin-bottom: 1rem;
}

.footer-widget h4 {
    font-size: 1.1rem;
    color: var(--primary-blue);
    margin-bottom: 1.5rem;
}

.footer-widget ul {
    list-style: none;
    padding: 0;
}

.footer-widget ul li {
    margin-bottom: 0.75rem;
}

.footer-widget ul li a {
    color: var(--text-muted);
}

.footer-widget ul li a:hover {
    color: var(--primary-light);
}

.footer-bottom {
    border-top: 1px solid #E5E7EB;
    padding-top: 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: var(--text-muted);
    font-size: 0.9rem;
}

.footer-links {
    display: flex;
    gap: 1.5rem;
}

/* Common Section padding */
.section-padding {
    padding: 5rem 0;
}

/* Section Titles */
.section-title {
    text-align: center;
    margin-bottom: 3rem;
}

.section-title h2 {
    font-size: 2.5rem;
    color: var(--primary-blue);
}

/* Utility classes */
.text-center {
    text-align: center;
}

.mt-2 {
    margin-top: 0.5rem;
}

.mt-4 {
    margin-top: 1rem;
}

.mt-8 {
    margin-top: 2rem;
}

.mb-2 {
    margin-bottom: 0.5rem;
}

.mb-4 {
    margin-bottom: 1rem;
}

.mb-8 {
    margin-bottom: 2rem;
}

/* ==========================================================================
   3D Learning Cards Section
   ========================================================================== */
.learning-section-3d {
    position: relative;
    background: radial-gradient(120% 120% at 50% 10%, #ffffff 40%, #f0f4ff 100%) !important;
    border-radius: 40px 40px 0 0;
    overflow: hidden;
    padding: 6rem 0;
}

/* Background grid mapping depth */
.learning-section-3d::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image:
        linear-gradient(rgba(9, 46, 160, 0.02) 1.5px, transparent 1.5px),
        linear-gradient(90deg, rgba(9, 46, 160, 0.02) 1.5px, transparent 1.5px);
    background-size: 40px 40px;
    mask-image: radial-gradient(circle at 50% 30%, black 55%, transparent 100%);
    -webkit-mask-image: radial-gradient(circle at 50% 30%, black 55%, transparent 100%);
    pointer-events: none;
    z-index: 1;
}

/* Wrapper to establish card z-index spacing */
.card-3d-wrapper {
    padding: 10px;
    z-index: 2;
}

/* Core 3D Card - Static 3D Extrusion Design */
.card-3d {
    position: relative;
    background: #ffffff;
    border: 1.5px solid rgba(9, 46, 160, 0.12);
    border-radius: 24px;
    padding: 2.5rem 2rem 2.2rem;
    height: 100%;
    transition:
        transform 0.3s cubic-bezier(0.25, 0.8, 0.25, 1),
        box-shadow 0.3s cubic-bezier(0.25, 0.8, 0.25, 1),
        border-color 0.3s ease;
    box-shadow:
        0 6px 0px rgba(9, 46, 160, 0.07),
        /* Bottom 3D solid extrusion */
        0 15px 30px rgba(9, 46, 160, 0.04),
        /* Soft diffuse shadow */
        inset 0 1px 1px rgba(255, 255, 255, 0.8);
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    cursor: pointer;
}

/* 3D reflection overlay */
.card-3d::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border-radius: 24px;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.4) 0%, rgba(255, 255, 255, 0) 50%);
    pointer-events: none;
    transition: opacity 0.3s ease;
    opacity: 0.6;
    z-index: 5;
}

/* Press/Lift Hover state */
.card-3d:hover {
    transform: translateY(-6px);
    box-shadow:
        0 12px 0px rgba(9, 46, 160, 0.1),
        /* Deepened solid extrusion */
        0 25px 40px rgba(9, 46, 160, 0.06),
        /* Softer diffuse shadow */
        inset 0 1px 2px rgba(255, 255, 255, 0.9);
    border-color: rgba(9, 46, 160, 0.22);
}

.card-3d:hover::after {
    opacity: 0.9;
}

/* Header inside card */
.card-header-3d {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    margin-bottom: 1.25rem;
}

/* 3D Icon Box */
.icon-box-3d {
    background: rgba(224, 231, 255, 0.6);
    color: var(--primary-blue);
    width: 38px;
    height: 38px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow:
        0 2.5px 0px rgba(9, 46, 160, 0.08),
        inset 0 1px 1px rgba(255, 255, 255, 0.4);
    transition:
        transform 0.3s cubic-bezier(0.25, 0.8, 0.25, 1),
        background-color 0.3s ease,
        color 0.3s ease,
        box-shadow 0.3s ease;
}

.card-3d:hover .icon-box-3d {
    background: var(--gradient-blue);
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow:
        0 4.5px 0px rgba(9, 46, 160, 0.15),
        0 8px 16px rgba(9, 46, 160, 0.15);
}

/* SVG icons within the box */
.icon-box-3d svg {
    width: 18px;
    height: 18px;
    stroke-width: 2.2;
    transition: transform 0.3s ease;
}

.card-3d:hover .icon-box-3d svg {
    transform: rotate(8deg);
}

/* Headings & Paragraphs */
.card-title-3d {
    color: var(--primary-blue);
    font-size: 1.25rem;
    font-weight: 600 !important;
    margin: 0 !important;
}

.card-desc-3d {
    color: var(--text-muted);
    font-size: 0.9rem;
    line-height: 1.6;
    margin: 0;
}

/* 3D Horizontal Line (placed inside flow to avoid border curves) */
.card-3d-line {
    width: 100%;
    height: 4px;
    border-radius: 2px;
    margin-top: 1.5rem;
    transition: transform 0.3s ease, opacity 0.3s ease;
    opacity: 0.85;
    z-index: 4;
}

.card-3d:hover .card-3d-line {
    transform: scaleX(1.02);
    opacity: 1;
}

/* ==========================================================================
   Featured Course Cards
   ========================================================================== */
.featured-course-card {
    background: #ffffff;
    border: 1.5px solid rgba(9, 46, 160, 0.08);
    border-radius: 20px;
    overflow: hidden;
    cursor: pointer;
    box-shadow:
        0 4px 6px -1px rgba(9, 46, 160, 0.02),
        0 10px 20px -5px rgba(9, 46, 160, 0.04);
    transition:
        transform 0.4s cubic-bezier(0.16, 1, 0.3, 1),
        box-shadow 0.4s cubic-bezier(0.16, 1, 0.3, 1),
        border-color 0.4s ease;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.featured-course-card:hover {
    transform: translateY(-8px);
    box-shadow:
        0 20px 35px -10px rgba(9, 46, 160, 0.12),
        0 10px 20px -5px rgba(0, 0, 0, 0.04);
    border-color: rgba(9, 46, 160, 0.22);
}

.course-image-wrapper {
    height: 190px;
    position: relative;
    overflow: hidden;
    background-color: #f1f5f9;
}

.course-image {
    width: 100%;
    height: 100%;
    background-position: center;
    background-size: 100% 100%;
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.featured-course-card:hover .course-image {
    transform: scale(1.06);
}

/* Gradient overlay on image */
.course-image-wrapper::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0) 60%, rgba(9, 46, 160, 0.1) 100%);
    pointer-events: none;
}

.course-badge {
    position: absolute;
    top: 1rem;
    left: 1rem;
    background: rgba(9, 46, 160, 0.85);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    color: #ffffff;
    font-size: 0.75rem;
    font-weight: 600;
    padding: 0.35rem 0.85rem;
    border-radius: 999px;
    letter-spacing: 0.03em;
    box-shadow: 0 4px 10px rgba(9, 46, 160, 0.2);
    z-index: 2;
}

.course-body {
    padding: 1.25rem 1.5rem;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
    background: #ffffff;
}

.course-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.75rem;
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--text-muted);
}

.course-rating {
    color: #f59e0b;
    /* Amber yellow rating */
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

.course-duration {
    background: #eff6ff;
    color: var(--primary-light);
    padding: 0.2rem 0.6rem;
    border-radius: 6px;
    font-size: 0.75rem;
}

.course-title {
    color: var(--primary-blue);
    font-size: 1.15rem;
    font-weight: 600 !important;
    line-height: 1.4;
    margin: 0 0 0.75rem 0 !important;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    height: 3.2em;
    /* Ensure uniform title height */
    flex-grow: 1;
}

.course-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 1.5px solid #f1f5f9;
    padding-top: 1rem;
    margin-top: auto;
}

.explore-text {
    font-weight: 600;
    font-size: 0.85rem;
    color: var(--primary-blue);
    transition: color 0.3s ease;
}

.explore-arrow {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: #f1f5f9;
    color: var(--primary-blue);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background-color 0.3s ease, color 0.3s ease, transform 0.3s ease;
}

.featured-course-card:hover .explore-text {
    color: var(--primary-light);
}

.featured-course-card:hover .explore-arrow {
    background: var(--gradient-blue);
    color: #ffffff;
    transform: translateX(4px);
}

/* ==========================================================================
   Hero Section
   ========================================================================== */
.hero-inner {
    background: var(--gradient-blue);
    border-radius: 20px;
    padding: 2rem 3rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: white;
    position: relative;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.hero-content {
    max-width: 50%;
    z-index: 2;
}

.hero-graphic {
    width: 40%;
    max-width: 420px;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2;
}

.hero-graphic img {
    width: 100%;
    height: auto;
    max-height: 380px;
    object-fit: contain;
}

@media (max-width: 991px) {
    .hero-inner {
        flex-direction: column;
        padding: 3rem 2rem;
        gap: 3rem;
        text-align: center;
    }

    .hero-content {
        max-width: 100%;
    }

    .hero-content .hero-buttons {
        justify-content: center;
    }

    .hero-graphic {
        width: 80%;
        max-width: 320px;
    }
}

/* ==========================================================================
   Popular Course Cards (Vibrant/Glassmorphic)
   ========================================================================== */
.popular-classes-section {
    background: linear-gradient(135deg, #092ea0 0%, #1e3a8a 100%) !important;
    position: relative;
    overflow: hidden;
}

/* Decorative background glowing spots */
.popular-classes-section::before {
    content: '';
    position: absolute;
    top: -10%;
    left: -10%;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(46, 142, 255, 0.4) 0%, transparent 70%);
    pointer-events: none;
}

.popular-classes-section::after {
    content: '';
    position: absolute;
    bottom: -10%;
    right: -10%;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(46, 142, 255, 0.3) 0%, transparent 70%);
    pointer-events: none;
}

.popular-course-card {
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 20px;
    padding: 2rem 1.75rem 1.75rem;
    cursor: pointer;
    transition:
        transform 0.4s cubic-bezier(0.16, 1, 0.3, 1),
        background-color 0.4s ease,
        border-color 0.4s ease,
        box-shadow 0.4s ease;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.popular-course-card:hover {
    transform: translateY(-8px);
    background: rgba(255, 255, 255, 0.15);
    border-color: rgba(255, 255, 255, 0.35);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
}

.popular-card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
}

.popular-badge {
    background: rgba(255, 255, 255, 0.15);
    color: #ffffff;
    font-size: 0.75rem;
    font-weight: 600;
    padding: 0.3rem 0.75rem;
    border-radius: 6px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.popular-icon-wrap {
    width: 36px;
    height: 36px;
    background: rgba(255, 255, 255, 0.12);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.08);
    transition: background-color 0.3s ease, color 0.3s ease, transform 0.3s ease;
}

.popular-course-card:hover .popular-icon-wrap {
    background: #ffffff;
    color: var(--primary-blue);
    transform: scale(1.08);
}

.popular-title {
    color: #ffffff;
    font-size: 1.1rem;
    font-weight: 600 !important;
    line-height: 1.4;
    margin: 0 0 2rem 0 !important;
    flex-grow: 1;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    height: 4.2em;
    /* align perfectly */
}

.popular-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 1rem;
}

.popular-explore-btn {
    color: #ffffff;
    font-weight: 600;
    font-size: 0.85rem;
    transition: color 0.3s ease;
}

.popular-footer .arrow-icon {
    color: #ffffff;
    transition: transform 0.3s ease;
}

.popular-course-card:hover .popular-explore-btn {
    color: #f1f5f9;
}

.popular-course-card:hover .popular-footer .arrow-icon {
    transform: translateX(4px);
}

/* ==========================================================================
   Why Choose Gitakshmi Section
   ========================================================================== */
.why-gitakshmi-section {
    background: #ffffff;

    overflow: hidden;
}

.why-gitakshmi-grid {
    display: grid;
    grid-template-columns: 1.1fr 1fr;
    gap: 5rem;
    align-items: center;
}

/* Left Image Collage */
.why-image-wrapper {
    position: relative;
    padding: 20px;
    height: 480px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.collage-back-card {
    position: absolute;
    top: 0;
    left: 0;
    width: 85%;
    height: 85%;
    background: linear-gradient(135deg, rgba(9, 46, 160, 0.04) 0%, rgba(46, 142, 255, 0.08) 100%);
    border-radius: 30px;
    transform: rotate(-3deg);
    z-index: 1;
}

.collage-main-image {
    position: relative;
    width: 90%;
    height: 90%;
    background-position: center;
    background-size: cover;
    border-radius: 28px;
    box-shadow:
        0 20px 40px -15px rgba(9, 46, 160, 0.15),
        0 10px 20px -10px rgba(0, 0, 0, 0.05);
    z-index: 2;
    border: 4px solid #ffffff;
}

/* Floating Glass Badges */
.floating-stat-badge {
    position: absolute;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.8);
    border-radius: 16px;
    padding: 0.75rem 1.25rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    box-shadow: 0 15px 30px -10px rgba(9, 46, 160, 0.18);
    z-index: 3;
}

.floating-stat-badge.stat-1 {
    top: 15%;
    right: 0;
}

.floating-stat-badge.stat-2 {
    bottom: 12%;
    left: 5%;
}

.stat-icon {
    font-size: 1.5rem;
    line-height: 1;
}

.stat-info {
    display: flex;
    flex-direction: column;
}

.stat-number {
    font-size: 1.15rem;
    font-weight: 600;
    color: var(--primary-blue);
    line-height: 1.2;
}

.stat-label {
    font-size: 0.75rem;
    color: var(--text-muted);
    font-weight: 500;
    white-space: nowrap;
}

/* Micro floating animations */
.animate-float {
    animation: floatAnimation 4s ease-in-out infinite;
}

.animate-float-delayed {
    animation: floatAnimation 4s ease-in-out infinite;
    animation-delay: 2s;
}

@keyframes floatAnimation {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-10px);
    }
}

/* Right Content */
.why-content-wrapper {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.why-subtitle {
    color: var(--primary-light);
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    margin-bottom: 0.75rem;
}

.why-title {
    color: var(--primary-blue);
    font-size: 2.2rem;
    font-weight: 600 !important;
    margin-bottom: 2.5rem !important;
}

.why-features-grid {
    display: flex;
    flex-direction: column;
    gap: 1.75rem;
    width: 100%;
}

.why-feature-item {
    display: flex;
    gap: 1.25rem;
    align-items: flex-start;
}

.feature-icon-box {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.feature-icon-box svg {
    width: 20px;
    height: 20px;
}

.feature-text h4 {
    color: var(--primary-blue);
    font-size: 1.05rem;
    font-weight: 600 !important;
    margin-bottom: 0.35rem !important;
}

.feature-text p {
    color: var(--text-muted);
    font-size: 0.88rem;
    line-height: 1.5;
}

@media (max-width: 991px) {
    .why-gitakshmi-grid {
        grid-template-columns: 1fr;
        gap: 4rem;
    }

    .why-image-wrapper {
        height: 380px;
    }
}

/* ==========================================================================
   Logo Slider / Partners Ticker Section
   ========================================================================== */
.logo-ticker-section {
    padding: 3.5rem 0;
    background-color: #ffffff;
    border-bottom: 1px solid #f1f5f9;
}

.logo-ticker-container {
    overflow: hidden;
    position: relative;
    width: 100%;
    display: flex;
    align-items: center;
}

.logo-ticker-container::before,
.logo-ticker-container::after {
    content: '';
    position: absolute;
    top: 0;
    width: 120px;
    height: 100%;
    z-index: 2;
    pointer-events: none;
}

.logo-ticker-container::before {
    left: 0;
    background: linear-gradient(to right, #ffffff, transparent);
}

.logo-ticker-container::after {
    right: 0;
    background: linear-gradient(to left, #ffffff, transparent);
}

.logo-ticker-track {
    display: flex;
    width: max-content;
    gap: 5rem;
    animation: scrollTicker 30s linear infinite;
    align-items: center;
}

.logo-ticker-item {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 140px;
    height: 60px;
    flex-shrink: 0;
}

.logo-ticker-item svg {
    max-height: 40px;
    width: auto;
    opacity: 0.45;
    filter: grayscale(100%);
    transition: all 0.3s ease;
}

.logo-ticker-item:hover svg {
    opacity: 1;
    filter: grayscale(0%);
    transform: scale(1.05);
}

@keyframes scrollTicker {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

/* ==========================================================================
   Reviews / Testimonials Section
   ========================================================================== */
.reviews-section {
    padding: 6rem 0;
    background: linear-gradient(180deg, #f8fafc 0%, #ffffff 100%);
    border-bottom: 1px solid #f1f5f9;
}

.reviews-grid {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    gap: 2.5rem;
    margin-top: 3rem;
    padding-bottom: 2rem;
    -webkit-overflow-scrolling: touch;
}

.reviews-grid::-webkit-scrollbar {
    height: 6px;
}

.reviews-grid::-webkit-scrollbar-track {
    background: #f1f5f9;
    border-radius: 4px;
}

.reviews-grid::-webkit-scrollbar-thumb {
    background: #cbd5e1;
    border-radius: 4px;
}

.reviews-grid::-webkit-scrollbar-thumb:hover {
    background: #94a3b8;
}

.review-card {
    min-width: 320px;
    max-width: 380px;
    flex-shrink: 0;
    scroll-snap-align: start;
    background: #ffffff;
    border: 1.5px solid rgba(9, 46, 160, 0.05);
    border-radius: 24px;
    padding: 2.5rem 2rem;
    box-shadow:
        0 4px 6px -1px rgba(9, 46, 160, 0.01),
        0 10px 20px -5px rgba(9, 46, 160, 0.03);
    transition: transform 0.3s cubic-bezier(0.25, 0.8, 0.25, 1), box-shadow 0.3s cubic-bezier(0.25, 0.8, 0.25, 1), border-color 0.3s ease;
    display: flex;
    flex-direction: column;
}

.review-card:hover {
    transform: translateY(-6px);
    border-color: rgba(9, 46, 160, 0.15);
    box-shadow:
        0 15px 30px -10px rgba(9, 46, 160, 0.1),
        0 10px 20px -10px rgba(0, 0, 0, 0.03);
}

.review-header {
    display: flex;
    align-items: center;
    gap: 1.25rem;
    margin-bottom: 1.5rem;
}

.review-avatar {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    color: #ffffff;
    font-size: 1.1rem;
    box-shadow: 0 4px 10px rgba(9, 46, 160, 0.15);
    flex-shrink: 0;
}

.review-user-info {
    display: flex;
    flex-direction: column;
}

.review-user-name {
    color: var(--primary-blue);
    font-size: 1.05rem;
    font-weight: 600;
    margin-bottom: 0.15rem;
}

.review-user-course {
    color: var(--text-muted);
    font-size: 0.8rem;
    font-weight: 500;
}

.review-rating {
    display: flex;
    gap: 0.25rem;
    color: #ffb800;
    margin-bottom: 1.25rem;
}

.review-text {
    color: #475569;
    font-size: 0.95rem;
    line-height: 1.6;
    margin: 0;
    flex-grow: 1;
}

/* ==========================================================================
   Recent Blogs Section
   ========================================================================== */
.recent-blogs-section {
    padding: 2rem 0 4rem 0;
    background-color: #ffffff;
    border-bottom: 1px solid #f1f5f9;
}

.recent-blogs-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2.5rem;
    margin-top: 3rem;
}

.recent-blog-card {
    background: #ffffff;
    border: 1.5px solid rgba(9, 46, 160, 0.05);
    border-radius: 24px;
    overflow: hidden;
    cursor: pointer;
    box-shadow:
        0 4px 6px -1px rgba(0, 0, 0, 0.01),
        0 10px 20px -5px rgba(0, 0, 0, 0.03);
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.4s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.4s ease;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.recent-blog-card:hover {
    transform: translateY(-8px);
    border-color: rgba(9, 46, 160, 0.15);
    box-shadow:
        0 20px 30px -10px rgba(9, 46, 160, 0.08),
        0 10px 20px -5px rgba(0, 0, 0, 0.04);
}

.recent-blog-img-wrap {
    height: 200px;
    position: relative;
    overflow: hidden;
    background-color: #f1f5f9;
}

.recent-blog-img {
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.recent-blog-card:hover .recent-blog-img {
    transform: scale(1.06);
}

.recent-blog-badge {
    position: absolute;
    top: 1.25rem;
    left: 1.25rem;
    background: var(--primary-blue);
    color: #ffffff;
    font-size: 0.75rem;
    font-weight: 600;
    padding: 0.35rem 0.8rem;
    border-radius: 6px;
    z-index: 2;
    box-shadow: 0 4px 10px rgba(9, 46, 160, 0.2);
}

.recent-blog-body {
    padding: 2rem;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.recent-blog-meta {
    font-size: 0.8rem;
    color: var(--text-muted);
    font-weight: 500;
    margin-bottom: 0.75rem;
    display: flex;
    gap: 1rem;
}

.recent-blog-title {
    color: var(--primary-blue);
    font-size: 1.2rem;
    font-weight: 600 !important;
    line-height: 1.4;
    margin: 0 0 1rem 0 !important;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    height: 2.8em;
}

.recent-blog-excerpt {
    color: #475569;
    font-size: 0.92rem;
    line-height: 1.6;
    margin: 0 0 1.5rem 0;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    height: 4.8em;
}

.recent-blog-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 1.5px solid #f1f5f9;
    padding-top: 1.25rem;
    margin-top: auto;
}

.blog-read-more {
    font-weight: 600;
    font-size: 0.85rem;
    color: var(--primary-blue);
    transition: color 0.3s ease;
}

.blog-read-arrow {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: #f1f5f9;
    color: var(--primary-blue);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.recent-blog-card:hover .blog-read-more {
    color: var(--primary-light);
}

.recent-blog-card:hover .blog-read-arrow {
    background: var(--gradient-blue);
    color: #ffffff;
    transform: translateX(4px);
}

/* ==========================================================================
   Sleek Compact CTA Section
   ========================================================================== */
.small-cta-section {
    padding: 6rem 0;
    background-color: #f8fafc;
}

.small-cta-container {
    background: linear-gradient(135deg, #092ea0 0%, #1e3a8a 100%);
    border-radius: 28px;
    padding: 3.5rem 4rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: #ffffff;
    position: relative;
    overflow: hidden;
    box-shadow:
        0 15px 35px -10px rgba(9, 46, 160, 0.25),
        0 5px 15px -5px rgba(0, 0, 0, 0.1);
}

/* Glow decoration */
.small-cta-container::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 350px;
    height: 350px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.12) 0%, transparent 70%);
    pointer-events: none;
}

.small-cta-content {
    max-width: 60%;
    z-index: 2;
}

.small-cta-title {
    color: #ffffff;
    font-size: 2rem;
    font-weight: 600 !important;
    line-height: 1.3;
    margin-bottom: 0.5rem;
}

.small-cta-desc {
    color: rgba(255, 255, 255, 0.85);
    font-size: 1.05rem;
    font-weight: 400;
    margin: 0;
}

.small-cta-action {
    z-index: 2;
}

.small-cta-btn {
    background: #ffffff;
    color: var(--primary-blue) !important;
    padding: 1rem 2.2rem;
    border-radius: 9999px;
    font-weight: 600;
    font-size: 0.95rem;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
}

.small-cta-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 25px rgba(0, 0, 0, 0.12);
    background: #f8fafc;
}

.small-cta-btn svg {
    transition: transform 0.3s ease;
}

.small-cta-btn:hover svg {
    transform: translateX(3px);
}

@media (max-width: 768px) {
    .small-cta-container {
        flex-direction: column;
        text-align: center;
        padding: 3rem 2rem;
        gap: 2rem;
    }

    .small-cta-content {
        max-width: 100%;
    }

    .small-cta-title {
        font-size: 1.6rem;
    }

    .small-cta-desc {
        font-size: 0.95rem;
    }
}

/* ==========================================================================
   Global Responsive Styles
   ========================================================================== */

@media (max-width: 991px) {

    /* Header & Nav */
    .main-nav {
        display: none !important;
    }

    .mobile-menu-toggle {
        display: flex !important;
    }

    /* Footer */
    .footer-content {
        flex-direction: column !important;
        gap: 2rem !important;
    }

    .footer-col {
        width: 100% !important;
        text-align: center !important;
    }

    .footer-col p,
    .footer-col ul {
        align-items: center !important;
        justify-content: center !important;
    }

    .footer-socials {
        justify-content: center !important;
    }

    /* Front Page */
    .hero-inner {
        flex-direction: column !important;
        text-align: center !important;
        padding: 2rem 1rem !important;
    }

    .hero-content h1 {
        font-size: 2.5rem !important;
    }

    .hero-buttons {
        justify-content: center !important;
    }

    .hero-graphic {
        margin-top: 2rem;
    }

    .why-gitakshmi-grid {
        grid-template-columns: 1fr !important;
        gap: 3rem !important;
    }

    .why-image-wrapper {
        min-height: 350px !important;
        margin-bottom: 2rem;
    }

    /* About Page */
    .about-bento-grid {
        grid-template-columns: 1fr !important;
    }

    .bento-hero,
    .bento-story,
    .bento-stats,
    .bento-vision,
    .bento-culture,
    .bento-team {
        grid-column: auto !important;
        grid-row: auto !important;
    }

    .stats-container {
        flex-direction: column !important;
        gap: 1rem !important;
    }

    /* Single Courses Page */
    .course-layout-grid {
        grid-template-columns: 1fr !important;
        gap: 2rem !important;
    }

    .course-sidebar {
        position: relative !important;
        top: 0 !important;
    }
}

@media (max-width: 768px) {

    /* Global Typography & Containers */
    html {
        font-size: 13px !important;
    }

    .container {
        width: 100% !important;
        padding: 0 1rem !important;
    }

    h1 {
        font-size: 2.2rem !important;
    }

    h2 {
        font-size: 1.8rem !important;
    }

    h3 {
        font-size: 1.5rem !important;
    }

    /* Course Detail specific */
    .bento-course-features {
        grid-template-columns: 1fr !important;
    }

    /* Blogs & Archives */
    .blog-grid,
    .courses-grid {
        grid-template-columns: 1fr !important;
    }

    /* Contact Us */
    .contact-grid {
        grid-template-columns: 1fr !important;
        gap: 2rem !important;
    }

    .contact-info-cards {
        grid-template-columns: 1fr !important;
    }
}