/* =========================================
   MODERN HERO SECTION (Aesthetic Redesign)
   ========================================= */
.hero-modern {
    position: relative;
    background-color: #0f172a;
    /* Dark base */
    min-height: 100vh;
    display: flex;
    align-items: center;
    overflow: hidden;
    padding: 120px 0 80px 0;
    /* Account for fixed navbar */
    /* color: #ffffff; */
}

/* Background Effects */
.hero-grid-overlay {
    position: absolute;
    inset: 0;
    background-image:
        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: 50px 50px;
    z-index: 1;
    mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 1) 40%, rgba(0, 0, 0, 0) 100%);
}

.hero-blob {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.6;
    z-index: 0;
    animation: blobFloat 10s infinite alternate;
}

.blob-1 {
    top: -10%;
    right: -5%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, #3b82f6 0%, rgba(59, 130, 246, 0) 70%);
}

.blob-2 {
    bottom: -10%;
    left: -10%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, #8b5cf6 0%, rgba(139, 92, 246, 0) 70%);
    animation-delay: -5s;
}

@keyframes blobFloat {
    0% {
        transform: translate(0, 0) scale(1);
    }

    100% {
        transform: translate(20px, -20px) scale(1.1);
    }
}

/* Layout */
.hero-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: relative;
    z-index: 2;
    gap: 40px;
}

/* Left Content */
.hero-content {
    flex: 1;
    max-width: 650px;
    margin-left: 50px;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: 8px 16px;
    border-radius: 30px;
    font-size: 14px;
    font-weight: 600;
    color: #38bdf8;
    /* Light Blue */
    margin-bottom: 25px;
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.hero-content h1 {
    font-size: clamp(3rem, 5vw, 4.5rem);
    /* Responsive giant text */
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 20px;
    color: #ffffff;
    letter-spacing: -1px;
}

.text-gradient {
    background: linear-gradient(135deg, #60a5fa 0%, #a78bfa 50%, #f472b6 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-content p {
    font-size: 1.15rem;
    line-height: 1.7;
    color: #cbd5e1;
    /* Slate 300 */
    margin-bottom: 40px;
    max-width: 90%;
}

.hero-content p strong {
    color: #fff;
    font-weight: 600;
}

/* Buttons */
.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    margin-bottom: 50px;
}

.btn-primary-glow {
    background: linear-gradient(90deg, #2563eb, #4f46e5);
    border: none;
    color: white;
    padding: 16px 32px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 16px;
    display: flex;
    align-items: center;
    gap: 10px;
    box-shadow: 0 0 20px rgba(37, 99, 235, 0.5);
    transition: all 0.3s ease;
}

.btn-primary-glow:hover {
    box-shadow: 0 0 30px rgba(37, 99, 235, 0.7);
    transform: translateY(-2px);
}

.btn-glass {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: #ffffff;
    padding: 16px 32px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 16px;
    backdrop-filter: blur(5px);
    transition: all 0.3s ease;
}

.btn-glass:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: #ffffff;
    transform: translateY(-2px);
}

/* Trust Stats */
.hero-trust {
    display: flex;
    align-items: center;
    gap: 30px;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.trust-item b {
    display: block;
    font-size: 24px;
    font-weight: 700;
    color: #ffffff;
}

.trust-item span {
    font-size: 13px;
    color: #94a3b8;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.hero-trust .separator {
    width: 1px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
}

/* Right Visual */
.hero-visual-wrapper {
    flex: 1;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100%;
}

.main-image-circle {
    width: 500px;
    height: 500px;
    /* Circle shape */
    background: radial-gradient(circle at center, rgba(59, 130, 246, 0.2) 0%, rgba(15, 23, 42, 0) 70%);
    border-radius: 50%;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: flex-end;
    /* Align image bottom */
    border: 1px solid rgba(255, 255, 255, 0.05);
    overflow: visible;
    /* Let image peek out if needed, or hidden if masked */
}

/* The actual image */
.main-image-circle img {
    height: 115%;
    /* Allow it to be slightly larger than circle */
    width: auto;
    object-fit: contain;
    position: absolute;
    bottom: 0;
    filter: drop-shadow(0 20px 40px rgba(0, 0, 0, 0.5));
    mask-image: linear-gradient(to bottom, black 90%, transparent 100%);
    transition: transform 0.5s ease;
}

.main-image-circle:hover img {
    transform: scale(1.02) translateY(-10px);
}

/* Animated Rings behind image */
.main-image-circle::before,
.main-image-circle::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.1);
    z-index: -1;
}

.main-image-circle::before {
    width: 120%;
    height: 120%;
    border-color: rgba(56, 189, 248, 0.15);
    animation: spinReverse 30s linear infinite;
    border-style: dashed;
}

.main-image-circle::after {
    width: 140%;
    height: 140%;
    border-color: rgba(139, 92, 246, 0.1);
    animation: spin 40s linear infinite;
}

/* Floating Elements */
.float-card {
    position: absolute;
    background: rgba(15, 23, 42, 0.8);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 12px 20px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    gap: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    animation: floatCard 6s ease-in-out infinite;
    z-index: 5;
}

.float-card i {
    font-size: 20px;
}

.card-code {
    top: 20%;
    left: 0;
    border-left: 3px solid #10b981;
}

.card-code i {
    color: #10b981;
}

.card-placed {
    bottom: 25%;
    right: -10%;
    border-left: 3px solid #f59e0b;
    animation-delay: 2s;
}

.card-placed i {
    color: #f59e0b;
}

.float-card span {
    font-weight: 700;
    font-size: 14px;
    color: #fff;
    white-space: nowrap;
}

/* Tech Floating Icons */
.tech-icon {
    position: absolute;
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 24px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(5px);
    animation: orbit 20s linear infinite;
    color: #fff;
}

.icon-react {
    top: 10%;
    right: 10%;
    color: #61dbfb;
    animation-delay: 0s;
}

.icon-python {
    bottom: 10%;
    left: 10%;
    color: #306998;
    animation-delay: -5s;
}

.icon-js {
    top: 50%;
    left: -5%;
    color: #f7df1e;
    animation-delay: -10s;
}


@media (max-width: 991px) {
    .hero-container {
        flex-direction: column;
        text-align: center;
        padding-top: 40px;
    }

    .hero-content {
        margin: 0 auto;
    }

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

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

    .main-image-circle {
        width: 350px;
        height: 350px;
        margin-top: 40px;
    }

    .card-placed {
        right: 0;
    }
}

@keyframes floatCard {

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

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

/* FLOATING ANIMATION */
@keyframes float {
    0% {
        transform: rotate(0deg) translateY(0);
    }

    50% {
        transform: rotate(180deg) translateY(-20px);
    }

    100% {
        transform: rotate(360deg) translateY(0);
    }
}

/* TEXT ENTRANCE */
@keyframes fadeLeft {
    from {
        opacity: 0;
        transform: translateX(-60px);
    }

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

/* MARQUEE SECTION */
/* MARQUEE SECTION */
.marquee-section {
    padding: 80px 0;
    /* Light Blue Background similar to image */
    background: #eef8ff;
    position: relative;
    overflow: hidden;
    min-height: auto;
    display: flex;
    flex-direction: column;
    justify-content: center;
    border-top: none;
}

.marquee-bg-svg {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 0;
    opacity: 0.03;
    /* Very subtle */
    pointer-events: none;
    color: var(--color-primary);
    animation: float 8s ease-in-out infinite;
}

.marquee-bg-svg svg {
    width: 600px;
    height: 600px;
}

.marquee-section .section-title {
    font-size: 56px;
    font-weight: 800;
    text-align: center;
    color: #0f172a;
    /* Dark Navy */
    text-shadow: none;
    margin-bottom: 20px;
    letter-spacing: -1px;
}

.marquee-section .section-subtitle {
    color: #64748b;
    /* Slate 500 */
    max-width: 800px;
    margin: 0 auto 80px;
    /* More space below subtitle */
    font-size: 18px;
    text-align: center;
    line-height: 1.6;
    font-weight: 400;
}

.marquee-section .section-header {
    margin-top: 40px;
    position: relative;
    z-index: 2;
}

.marquee-section .section-header h2 {
    color: var(--text-primary);
    font-size: 42px;
    font-weight: 800;
    margin-bottom: 10px;
}

.marquee-section .section-header p {
    color: var(--text-secondary);
    max-width: 700px;
    margin: 0 auto;
    font-size: 16px;
    /* line-height: 1.6; */
}

.marquee-row {
    display: flex;
    margin-bottom: 50px;
    /* Increased spacing between rows */
    overflow: hidden;
    position: relative;
    width: 100%;
    /* Remove background strips, icons float on blue */
    background: transparent;
    padding: 20px 0;
}

/* Mask edges for fade effect - update gradient to match new bg */
.marquee-row::before,
.marquee-row::after {
    content: "";
    position: absolute;
    top: 0;
    width: 250px;
    /* Wider fade */
    height: 100%;
    z-index: 2;
    pointer-events: none;
}

.marquee-row::before {
    left: 0;
    background: linear-gradient(to right, #eef8ff, transparent);
}

.marquee-row::after {
    right: 0;
    background: linear-gradient(to left, #eef8ff, transparent);
}

.marquee-track {
    display: flex;
    align-items: center;
    gap: 80px;
    /* Increased gap */
    width: max-content;
    will-change: transform;
}

.marquee-track img {
    height: 70px;
    /* Larger icons */
    width: auto;
    opacity: 0.95;
    /* More vibrant */
    transition: all 0.3s ease;
    filter: none;
    /* Show original colors */
}

.marquee-track img:hover {
    opacity: 1;
    filter: none;
    transform: scale(1.1);
    cursor: pointer;
}

.scroll-left {
    animation: scrollLeft 30s linear infinite;
}

.scroll-right {
    animation: scrollRight 30s linear infinite;
}

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

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

@keyframes scrollRight {
    0% {
        transform: translateX(-50%);
    }

    100% {
        transform: translateX(0);
    }
}

/* FEATURES SECTION */
/* MODERN FEATURES SECTION */
.features-section {
    padding: 100px 0;
    display: flex;
    justify-content: center;
    align-items: center;
    /* min-height: 100vh; */
    /* Removed to flow better */
    background: #fffffff8;
    /* Match Hero Dark Base */
    position: relative;
    overflow: hidden;
    border-top: 1px solid #0F172A;
}

.features-bg-anim {
    position: absolute;
    inset: 0;
    z-index: 0;
    opacity: 0.4;
    background-image: radial-gradient(circle at 50% 50%, rgba(56, 189, 248, 0.1) 0%, transparent 50%);
    pointer-events: none;
}

/* Remove old SVG styling inside anim container if any */
.features-bg-anim svg {
    display: none;
}

.features-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 40px;
    max-width: 1400px;
    width: 100%;
    padding: 0 var(--container-padding);
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

.feature-card {
    background: #0F172A;
    /* Darker Slate with opacity */
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 24px;
    padding: 40px 30px;
    text-align: center;
    /* Modern Center Align */
    color: #ffffff;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

/* Hover Gradient Border Effect via pseudo element */
.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.1) 0%, transparent 100%);
    opacity: 0;
    transition: opacity 0.4s ease;
    pointer-events: none;
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    border-color: rgba(56, 189, 248, 0.3);
    /* Sky Blue Border */
    background: rgba(30, 41, 59, 0.9);
}

.feature-card:hover::before {
    opacity: 1;
}

.feature-card .icon {
    margin-bottom: 25px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 64px;
    height: 64px;
    border-radius: 16px;
    background: rgba(56, 189, 248, 0.1);
    color: #38bdf8;
    transition: all 0.3s ease;
}

.feature-card:hover .icon {
    background: #38bdf8;
    color: #0f172a;
    transform: scale(1.1) rotate(5deg);
}

.feature-card .icon svg {
    width: 32px;
    height: 32px;
    stroke: currentColor;
    /* Use text color */
    stroke-width: 2;
    fill: none;
    filter: none;
    /* Clean look */
}

.feature-card h3 {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 12px;
    color: #f1f5f9;
    /* Slate 100 */
}

.feature-card p {
    color: #94a3b8;
    /* Slate 400 */
    line-height: 1.6;
    font-size: 15px;
}



/* ABOUT SECTION */
.about-section {
    padding: 100px 0;
    background: transparent;
    position: relative;
    z-index: 1;
    min-height: 100vh;
    display: flex;
    align-items: center;
}

.about-section .container {
    align-items: center;
}

.about-img-wrapper {
    position: relative;
}

.about-img {
    width: 100%;
    /* Was 30% which restricted size */
    max-width: 100%;
    /* Prevent it from getting too huge if column is wide */
    height: 550px;
    /* Taller height as requested */
    object-fit: cover;
    /* Prevent distortion */
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    background: var(--bg-color-2);
    animation: floatCollage 2s ease-in-out infinite;
}

.experience-badge {
    position: absolute;
    bottom: -20px;
    right: -20px;
    background: var(--accent-gradient);
    padding: 20px;
    border-radius: 15px;
    text-align: center;
    color: #fff;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    animation: floatCollage 7s ease-in-out infinite reverse;
}

.experience-badge .years {
    display: block;
    font-size: 32px;
    font-weight: 900;
}

/* TECHNOLOGIES MASTER SECTION */
.technologies-section {
    padding: 0 40px;
    background: var(--theme-gradient);
    /* Deep Royal Blue Gradient */
    color: var(--text-primary);
    text-align: center;
    position: relative;
    overflow: hidden;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.section-header.center-text h2 {
    font-size: 48px;
    font-weight: 800;
    /* margin-bottom: 20px; */
    color: var(--text-primary);
    text-shadow: none;
}

.section-header.center-text p {
    color: var(--text-secondary);
    max-width: 700px;
    margin: 0 auto 60px;
    font-size: 18px;
    line-height: 1.6;
    font-weight: 400;
}

/* TABS CONTAINER */
.tech-tabs {
    display: inline-flex;
    justify-content: center;
    gap: 5px;
    margin-bottom: 60px;
    background: rgba(255, 255, 255, 0.5);
    padding: 6px;
    border-radius: 60px;
    border: 1px solid rgba(0, 0, 0, 0.05);
    backdrop-filter: blur(10px);
}

.tab-btn {
    background: transparent;
    border: none;
    color: var(--text-secondary);
    padding: 12px 30px;
    border-radius: 40px;
    cursor: pointer;
    font-size: 15px;
    font-weight: 600;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
}

.tab-btn:hover {
    color: var(--text-primary);
    background: rgba(0, 0, 0, 0.05);
}

.tab-btn.active {
    background: var(--accent-gradient);
    color: #fff;
    box-shadow: 0 10px 24px rgba(0, 180, 255, 0.22);
}

/* GRID */
.tech-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    /* Slightly wider cards */
    gap: 30px;
    max-width: 1600px;
    /* Increased from 1400px */
    margin: 0 auto;
    padding: 0 20px;
}

.tech-card {
    background: #ffffff;
    /* Very subtle card bg */
    border: 1px solid rgba(0, 0, 0, 0.05);
    border-radius: 24px;
    padding: 40px 25px;
    display: flex;
    flex-direction: column;
    align-items: center;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.tech-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.05) 0%, rgba(255, 255, 255, 0) 100%);
    opacity: 0;
    transition: opacity 0.3s;
}

.tech-card:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-12px);
    border-color: rgba(255, 255, 255, 0.2);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.tech-card:hover::before {
    opacity: 1;
}

.tech-logo {
    width: 60px;
    height: 60px;
    object-fit: contain;
    margin-bottom: 20px;
    /* filter: drop-shadow(0 0 5px rgba(255,255,255,0.2)); */
    transition: all 0.3s;
}

.tech-logo-text {
    font-size: 30px;
    font-weight: 900;
    color: #fff;
    margin-bottom: 20px;
    background: var(--color-primary);
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    border: none;
}

.tech-card:hover .tech-logo {
    transform: scale(1.1);
    filter: drop-shadow(0 0 15px rgba(255, 255, 255, 0.4));
}

.tech-card h3 {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 8px;
    color: var(--text-primary);
    z-index: 1;
}

.tech-card span {
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: var(--text-secondary);
    font-weight: 600;
    z-index: 1;
}

/* GALLERY SECTION (Visual Diary) - Redesigned */

.gallery-section {
    padding: 0;
    background: #E8F6FF;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: #ffffff;
    text-align: center;
    min-height: auto;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.gallery-section .section-header .section-tag {
    color: var(--color-accent);
    text-align: center;
    width: 100%;
}

.gallery-section .section-title {
    color: #ffffff;
    font-weight: 300;
    /* Lighter font weight like image */
    font-size: 42px;
    letter-spacing: 1px;
}

.gallery-section .section-subtitle {
    color: rgba(255, 255, 255, 0.7);
    font-size: 16px;
    max-width: 800px;
    margin: 0 auto 50px;
}


.gallery-filters {
    display: none;
    /* Hide filters if we strictly follow the image, or keep them below? Image doesn't show them. hiding for now. */
}

.gallery-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 40px;
    /* Spacing between frames */
    padding: 0 20px;
}

.gallery-item {
    position: relative;
    width: 220px;
    /* Fixed width mostly */
    height: 280px;
    background: #f0f0f0;
    /* The Matte/Frame Color (Off-white/Beige) */
    padding: 25px 25px 45px 25px;
    /* Top/Side padding, larger bottom padding for "Polariod/Frame" look */
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    transition: transform 0.4s ease;
    border-radius: 2px;
    /* Sharp corners or very slight */
    overflow: visible;
    /* Allow sale badge overlap */
    /* Reset previous grid styles */
    grid-column: auto !important;
    grid-row: auto !important;
}

/* Simulate the inner image being separate */
.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    box-shadow: inset 0 0 10px rgba(0, 0, 0, 0.1);
    /* Inner shadow for depth */
    transition: transform 0.4s ease;
    filter: brightness(0.9);
}

.gallery-item:hover {
    transform: translateY(-10px) scale(1.05);
    z-index: 10;
}

.gallery-item:hover img {
    filter: brightness(1.1);
    transform: scale(1.02);
}

/* Badge Styling */
.gallery-item::after {
    /* Simulating the "Sale" or "New" badge */
    content: "New";
    position: absolute;
    top: 35px;
    right: 35px;
    background: #000;
    color: #fff;
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    padding: 4px 10px;
    border-radius: 10px;
    opacity: 0;
    transition: opacity 0.3s;
}

/* Add badges to specific items via nth-child for demo */
.gallery-item:nth-child(odd)::after {
    opacity: 1;
}

/* Overlay Design - Simplified or Removed to match image?
   The image just shows art. Let's make the overlay very subtle or remove text until hover if needed.
   For now, I will hide the previous heavy overlay to match the clean "Art Gallery" look. */
.gallery-overlay {
    background: transparent;
    pointer-events: none;
    padding: 0;
    justify-content: center;
    align-items: center;
}

.gallery-info {
    display: none;
    /* Hide info text by default to match image clean look */
}

.gallery-view-btn {
    opacity: 0;
    transform: scale(0.8);
    transition: all 0.3s;
}

.gallery-item:hover .gallery-view-btn {
    opacity: 1;
    transform: scale(1);
    background: rgba(0, 0, 0, 0.7);
    color: #fff;
    pointer-events: auto;
}

/* Size Variants Override - Make them uniform for the row look */
.gallery-item.wide,
.gallery-item.tall {
    grid-column: auto;
    grid-row: auto;
    /* Reset dimensions if they differ */
}

/* Gallery Button Wrapper */
.gallery-btn-wrapper {
    text-align: center;
    margin-top: 60px;
}

.gallery-btn-wrapper .btn-outline {
    border-color: rgba(255, 255, 255, 0.3);
    color: #fff;
}

.gallery-btn-wrapper .btn-outline:hover {
    background: #fff;
    color: #000;
}

/* Gallery Filtering Animation */
.gallery-item.hide {
    display: none;
}

.gallery-item.show {
    animation: galleryItemFadeIn 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94) forwards;
}

@keyframes galleryItemFadeIn {
    from {
        opacity: 0;
        transform: translateY(30px) scale(0.9);
    }

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

/* HERO SVGs */
.hero-svg {
    position: absolute;
    z-index: 2;
    filter: drop-shadow(0 0 10px rgba(255, 255, 255, 0.2));
    opacity: 0.8;
}

.icon-web {
    top: 15%;
    left: 0%;
    animation: floatSVG 4s ease-in-out infinite;
}

.icon-ai {
    top: 20%;
    right: 5%;
    animation: floatSVG 5s ease-in-out infinite reverse;
}

.icon-sec {
    bottom: 25%;
    left: -5%;
    animation: floatSVG 6s ease-in-out infinite 0.5s;
}

.icon-rocket {
    bottom: 15%;
    right: -5%;
    animation: floatSVG 4.5s ease-in-out infinite reverse 0.2s;
}

/* 3D Colorful Icons Positioning */
.icon-bulb-3d {
    top: 5%;
    left: 20%;
    animation: floatSVG 4s ease-in-out infinite 1s;
    filter: drop-shadow(0 0 15px rgba(255, 215, 0, 0.4));
    opacity: 1;
}

.icon-clock-3d {
    bottom: 40%;
    left: 8%;
    animation: floatSVG 5.5s ease-in-out infinite 0.5s;
    transform: rotate(-10deg);
    filter: drop-shadow(0 0 15px rgba(255, 64, 129, 0.4));
    opacity: 1;
}

.icon-thumb-3d {
    top: 40%;
    right: 2%;
    animation: floatSVG 4.5s ease-in-out infinite reverse;
    filter: drop-shadow(0 0 15px rgba(124, 77, 255, 0.4));
    opacity: 1;
}

@keyframes floatSVG {

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

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

/* Know About TechCADD Section Animations */
.why-visual-collage .collage-item img {
    animation: floatCollage 6s ease-in-out infinite;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: transform 0.2s ease;
}

.why-visual-collage .collage-item:hover img {
    transform: scale(1.03);
}

.why-visual-collage .collage-item.item-purple img {
    animation-delay: 0s;
}

.why-visual-collage .collage-item.item-small img {
    animation-delay: 2s;
}

.why-visual-collage .collage-item.item-green img {
    animation-delay: 4s;
}

@keyframes floatCollage {

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

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

/* WHY CHOOSE US */
.why-choose-section {
    padding: 100px 0;
    position: relative;
    z-index: 1;
    min-height: 120vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.why-choose-section.theme-bg {
    background: var(--theme-gradient) !important;
}

.why-choose-section .col-text h2 {
    font-size: 38px;
    font-weight: 800;
    margin-bottom: 20px;
    background: linear-gradient(90deg, var(--color-primary), var(--accent-strong));
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.why-choose-section .col-text>p {
    /* Subtitle paragraph */
    color: var(--text-secondary);
    font-size: 18px;
    line-height: 1.6;
    margin-bottom: 40px;
    max-width: 90%;
}

.accordion {
    margin-top: 30px;
}

.accordion-item {
    background: #ffffff;
    margin-bottom: 20px;
    padding: 25px;
    border-radius: 16px;
    border: 1px solid rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.accordion-item::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: var(--accent-color);
    opacity: 0;
    transition: opacity 0.3s;
}

.accordion-item:hover {
    background: rgba(255, 255, 255, 0.08);
    transform: translateX(10px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    border-color: rgba(255, 255, 255, 0.2);
}

.accordion-item:hover::before {
    opacity: 1;
}

.accordion-item h4 {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 10px;
    color: var(--text-primary);
    display: flex;
    align-items: center;
    gap: 10px;
}

.accordion-item p {
    color: var(--text-secondary);
    font-size: 15px;
    line-height: 1.6;
    margin: 0;
}

.circle-img-wrapper {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.circle-img {
    width: 400px;
    height: 400px;
    object-fit: cover;
    border-radius: 50%;
    border: 8px solid rgba(255, 255, 255, 0.1);
    background: var(--bg-color-2);
    box-shadow: 0 0 50px rgba(79, 172, 254, 0.2);
    /* Fallback */
}

/* Add a glowing effect to the image border */
.dashed-border {
    position: absolute;
    width: 440px;
    height: 440px;
    border: 2px dashed rgba(66, 165, 245, 0.3);
    border-radius: 50%;
    animation: spin 30s linear infinite;
    pointer-events: none;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

/* Decorative SVGs for Why Choose Us */
.col-img.position-relative {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    top: 50px;
    flex-direction: column;
    /* Stack images vertically */
}

.decorative-svg {
    position: absolute;
    z-index: 2;
    /* Sit above or near the image */
    pointer-events: none;
}

.top-svg {
    top: -40px;
    right: 20px;
    animation: floatSVG 4s ease-in-out infinite;
}

.bottom-svg {
    bottom: -40px;
    left: 20px;
    z-index: 0;
    /* Behind if preferred, or 2 for overlap */
    animation: floatSVG 5s ease-in-out infinite reverse;
}

.mid-left-svg {
    top: 40%;
    left: -20px;
    z-index: 2;
    animation: floatSVG 6s ease-in-out infinite 1s;
    filter: drop-shadow(0 0 10px rgba(255, 64, 129, 0.4));
}

@keyframes floatSVG {

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

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

/* COURSES SECTION (Grid on Home) */
.courses-section {
    padding: 100px 0;
    position: relative;
    z-index: 1;
    min-height: auto;
    flex-direction: column;
}

.courses-section .section-header {
    /* margin-bottom: 25px; */
    text-align: center;
}

.courses-section .container {
    align-items: center;
    /* Center header and content */
}

.courses-section .section-header {
    text-align: center;
    width: 100%;
    margin-bottom: 10px;
}

.courses-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    width: 100%;
}

.course-card {
    /* Shared card base lives in common.css */
    padding: 30px 30px 45px 30px;
    text-align: left;
    margin-bottom: 30px;
    display: flex;
    flex-direction: column;
    height: 100%;
    background: #fff;
    /* Ensure bg is white if not set */
    border-radius: 20px;
    /* Ensure consistent radius */
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    /* Subtle shadow base */
}

.course-card:hover {
    border-color: rgba(0, 180, 255, 0.45);
    box-shadow: 0 16px 50px rgba(0, 180, 255, 0.14);
}

.course-card h3 {
    color: var(--text-primary);
    margin-bottom: 10px;
}

.course-card p {
    font-size: 14px;
    color: var(--text-secondary);
    margin-bottom: 20px;
    flex-grow: 1;
    /* Allow text specific growth if needed, or just let spacer work */
}

.course-link {
    color: var(--accent-color);
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
    display: inline-block;
    margin-top: auto;
    /* Push to bottom */
}

/* POTENTIAL SECTION */
.potential-section {
    padding: 100px 0;
    position: relative;
    z-index: 1;
    min-height: 80vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.potential-img {
    width: 100%;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-xl);
    filter: brightness(0.95);
    background: var(--bg-secondary);
    /* Fallback */
}

/* Icons for Why Choose Us */
.icon-code {
    top: 20px;
    left: 0px;
    opacity: 0.8;
    filter: drop-shadow(0 0 10px rgba(79, 172, 254, 0.5));
    animation: floatSVG 6s ease-in-out infinite;
}

.icon-gear {
    bottom: 60px;
    right: 10px;
    opacity: 0.8;
    filter: drop-shadow(0 0 10px rgba(0, 242, 96, 0.5));
    animation: simpleSpin 10s linear infinite;
}

@keyframes simpleSpin {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

/* Tech Orbit Design for Why Choose Us */
.why-choose-section .circle-img-wrapper {
    width: 400px;
    height: 400px;
    border-radius: 50%;
    border: 5px solid transparent;
    background: linear-gradient(var(--dark-bg-color), var(--dark-bg-color)) padding-box,
        linear-gradient(45deg, var(--accent-color), var(--color-success-accent)) border-box;
    position: relative;
    z-index: 10;
    box-shadow: 0 0 30px rgba(0, 229, 255, 0.3);
    transition: transform 0.5s;
    overflow: visible;
    display: flex;
    justify-content: center;
    align-items: center;
}

/* Second Image Specifics - Positioned Below */
.why-choose-section .circle-img-wrapper.second-img-wrapper {
    width: 400px;
    /* Slightly larger for better visibility */
    height: 400px;
    margin-top: 100px;
    /* Changed from -100px to -20px to move it DOWN */
    margin-left: 150px;
    /* Adjusted horizontal offset */
    z-index: 9;
    /* Behind or slightly lower priority */
    border-width: 4px;
    /* Thicker border */
    box-shadow: 0 10px 40px rgba(0, 229, 255, 0.25);
    background: var(--bg-primary);
    /* Ensure background is solid behind image */
}

.dashed-border.reverse-spin {
    animation: spinReverse 20s linear infinite;
    top: -20px;
    left: -20px;
    right: -20px;
    bottom: -20px;
    border-color: rgba(255, 255, 255, 0.15);
    border-top-color: var(--color-success-accent);
}

@keyframes spinReverse {
    to {
        transform: rotate(-360deg);
    }
}

.why-choose-section .circle-img-wrapper:hover {
    transform: scale(1.02);
}

.why-choose-section .circle-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
}

.dashed-border {
    content: '';
    position: absolute;
    top: -30px;
    left: -30px;
    right: -30px;
    bottom: -30px;
    border-radius: 50%;
    border: 2px dashed rgba(255, 255, 255, 0.2);
    border-top-color: var(--accent-color);
    border-bottom-color: var(--color-success-accent);
    animation: spin 15s linear infinite;
    pointer-events: none;
}

/* SCROLL ANIMATION */
.reveal {
    opacity: 0;
    transform: translateY(50px);
    transition: all 1s ease;
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}



/* ========================================= */
/* REMOVED DUPLICATE POTENTIAL SECTION       */
/* ========================================= */
/* Shift last card to the right for visual interest */
/* ========================================= */
/* WHY CHOOSE US - MODERN DARK (USER REQUEST) */
/* ========================================= */

.why-choose-modern-dark {
    background: #0f172a;
    /* Dark Navy/Black theme */
    padding: 100px 0;
    color: #ffffff;
    overflow: hidden;
    position: relative;
}

.why-choose-modern-dark .container {
    display: flex;
    align-items: center;
    gap: 80px;
    max-width: 1400px;
    margin: 0 auto;
}

/* Left Side: Image Content */
.wcm-left {
    flex: 1;
    position: relative;
    height: 700px;
}

/* We utilize a background image or img tag. 
   For the "People" look, we can use an image within a container */
.wcm-img-wrapper {
    width: 100%;
    height: 100%;
    border-radius: 20px;
    overflow: hidden;
    position: relative;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
}

.wcm-img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.8);
    /* Darken slightly */
}

/* Right Side: Content List */
.wcm-right {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.wcm-right h2 {
    font-size: 56px;
    font-weight: 700;
    /* Serif font might be nice but let's stick to theme */
    margin-bottom: 50px;
    color: #ffffff;
    font-family: 'Poppins', sans-serif;
    text-align: center;
}

.wcm-bars {
    display: flex;
    flex-direction: column;
    gap: 25px;
    width: 100%;
}

/* Individual Bars */
.wcm-bar {
    display: flex;
    align-items: center;
    gap: 25px;
    padding: 25px 40px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    width: 90%;
    /* Not full width to allow staggering */
    position: relative;
    cursor: pointer;
    border-radius: 4px;
    /* Slightly sharp */
}

.wcm-bar:hover {
    transform: scale(1.02);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    z-index: 10;
}

/* Colors */
.wcm-bar.blue {
    background: #3b82f6;
}

.wcm-bar.green {
    background: #10b981;
}

.wcm-bar.yellow {
    background: #eab308;
}

.wcm-bar.brown {
    background: #a16207;
}

.wcm-bar.pink {
    background: #ec4899;
}

/* Staggering Logic */
/* Odd Children (1, 3, 5) - Align Left, Icon Left */
.wcm-bar:nth-child(odd) {
    align-self: flex-start;
    text-align: left;
    margin-left: -20px;
    /* Slight pull left */
}

/* Even Children (2, 4) - Align Right, Icon Right */
.wcm-bar:nth-child(even) {
    align-self: flex-end;
    flex-direction: row-reverse;
    text-align: right;
    margin-right: -20px;
    /* Slight pull right */
}

/* Icon */
.wcm-icon {
    font-size: 36px;
    color: #ffffff;
    flex-shrink: 0;
    width: 50px;
    display: flex;
    justify-content: center;
    align-items: center;
}

/* Text */
.wcm-text {
    flex: 1;
}

.wcm-text h4 {
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 5px;
    color: #ffffff;
    text-transform: capitalize;
}

.wcm-text p {
    font-size: 15px;
    margin: 0;
    color: rgba(255, 255, 255, 0.95);
    line-height: 1.5;
}

/* Touch Icon (Finger) */
.wcm-touch-icon {
    position: absolute;
    bottom: 40px;
    right: 40px;
    font-size: 60px;
    color: #ffffff;
    opacity: 0.8;
    animation: touchPulse 2s infinite;
}

@keyframes touchPulse {
    0% {
        transform: scale(1);
        opacity: 0.8;
    }

    50% {
        transform: scale(1.1);
        opacity: 1;
    }

    100% {
        transform: scale(1);
        opacity: 0.8;
    }
}

/* Responsive */
@media (max-width: 992px) {
    .why-choose-modern-dark .container {
        flex-direction: column;
        padding: 0 20px;
    }

    .wcm-left {
        height: 300px;
        width: 100%;
        margin-bottom: 40px;
    }

    .wcm-bar {
        width: 100%;
        margin: 0 !important;
        align-self: center !important;
        flex-direction: row !important;
        /* Reset direction */
        text-align: left !important;
    }
}

/* ========================================= */
/* WHY CHOOSE US - MODERN DARK (Refined) */
/* ========================================= */
.wcm-bar {
    /* Reset Zig-Zig - Be Consistent */
    align-self: flex-start !important;
    flex-direction: row !important;
    text-align: left !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    width: 100%;
    /* Fill container width */
}

/* Stagger Alignment (Steps Effect) instead of ZigZag */
.wcm-bar:nth-child(1) {
    width: 85%;
}

.wcm-bar:nth-child(2) {
    width: 90%;
}

.wcm-bar:nth-child(3) {
    width: 95%;
}

.wcm-bar:nth-child(4) {
    width: 100%;
}

.wcm-bar:nth-child(5) {
    width: 100%;
}

/* Icon consistent left side */
.wcm-icon {
    font-size: 28px;
    /* Slightly smaller for elegance */
    background: rgba(255, 255, 255, 0.2);
    width: 60px;
    height: 60px;
    border-radius: 50%;
    margin-right: 20px;
    display: flex;
    justify-content: center;
    align-items: center;
}

/* Ensure text is clean */
.wcm-text h4 {
    font-size: 20px;
    margin-bottom: 5px;
}

.wcm-text p {
    font-size: 14px;
    opacity: 0.9;
}

/* Add subtle gradient to bars */
.wcm-bar.blue {
    background: linear-gradient(135deg, #3b82f6, #2563eb);
}

.wcm-bar.green {
    background: linear-gradient(135deg, #10b981, #059669);
}

.wcm-bar.yellow {
    background: linear-gradient(135deg, #eab308, #ca8a04);
}

.wcm-bar.brown {
    background: linear-gradient(135deg, #a16207, #854d0e);
}

.wcm-bar.pink {
    background: linear-gradient(135deg, #ec4899, #db2777);
}

/* Left Side Image Improvement */
.wcm-img-wrapper {
    box-shadow: none;
    /* Cleaner look */
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.wcm-img-wrapper img {
    filter: none;
    /* Restore original brightness */
}

/* ========================================= */
/* WHY CHOOSE US - MODERN LIGHT BLUE (Ported from Course Details) */
/* ========================================= */
/* WHY CHOOSE MODERN */
/* ========================================= */
.why-modern {
    padding: 100px 0;
    position: relative;
    /* overflow: hidden; */
    /* Removed overflow hidden to let card float */
    z-index: 2;
    background: #fdfdfd;
    min-height: auto;
    display: flex;
    align-items: center;
}

.why-bg-svg {
    position: absolute;
    top: 50%;
    right: -100px;
    transform: translateY(-50%);
    z-index: -1;
    opacity: 0.6;
}

.why-modern-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
    position: relative;
    z-index: 2;
    width: 100%;
}

.why-left h2 {
    font-size: 42px;
    margin-bottom: 20px;
    line-height: 1.2;
    color: var(--text-primary);
}

.why-subtitle {
    font-size: 18px;
    color: var(--text-secondary);
    margin-bottom: 40px;
    line-height: 1.6;
    max-width: 90%;
}

.why-cards {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}

.why-card {
    background: #ffffff;
    padding: 25px;
    border-radius: 16px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.04);
    transition: transform 0.3s ease;
    border: 1px solid rgba(0, 0, 0, 0.04);
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.why-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.08);
}

.why-card i {
    font-size: 32px;
    color: var(--color-primary);
    background: rgba(2, 132, 199, 0.1);
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
}

.why-card h4 {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 5px;
    color: var(--text-primary);
}

.why-card p {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.5;
    margin: 0;
}


.why-right {
    position: relative;
    height: 100%;
}

.why-image-card {
    position: relative;
    border-radius: 30px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
    transform: rotate(2deg);
    transition: transform 0.5s ease;
}

.why-image-card:hover {
    transform: rotate(0deg) scale(1.02);
}

.why-image-card img {
    max-width: 100%;
    display: block;
}

/* Stats Overlay */
.why-stats {
    position: absolute;
    bottom: 40px;
    left: -40px;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.stat-box {
    background: #ffffff;
    padding: 15px 25px;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    min-width: 120px;
    animation: floatCard 4s ease-in-out infinite;
}

.stat-box:nth-child(2) {
    animation-delay: 1s;
    margin-left: 20px;
}

.stat-box:nth-child(3) {
    animation-delay: 2s;
}

.stat-box strong {
    font-size: 24px;
    font-weight: 800;
    color: var(--color-primary);
    display: block;
}

.stat-box span {
    font-size: 12px;
    font-weight: 600;
    color: var(--text-secondary);
    text-transform: uppercase;
}

/* COURSES SECTION */
.courses-section {
    padding: 100px 0;
    background: var(--bg-secondary);
    /* Light Grey */
    min-height: auto;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.courses-section .section-header {
    text-align: center;
    /* margin-bottom: 60px; */
}

.courses-section .section-header h2 {
    font-size: 42px;
    color: var(--text-primary);
}

.courses-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    max-width: 1400px;
    margin: 0 auto;
    width: 100%;
    margin-bottom: 120px;
}

.course-card {
    background: #ffffff;
    border-radius: 20px;
    padding: 0;
    /* Removed padding to allow full-width image */
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.03);
    transition: all 0.3s ease;
    border: 1px solid rgba(0, 0, 0, 0.03);
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    height: 100%;
}

.course-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.1);
}

.course-img-wrapper {
    width: 100%;
    height: 200px;
    overflow: hidden;
    position: relative;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.course-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.course-card:hover .course-img {
    transform: scale(1.1);
}

/* Removed icon styles */

.course-card h3 {
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 10px;
    margin-top: 25px;
    /* Added top margin */
    color: var(--text-primary);
    position: relative;
    padding: 0 30px;
    /* Added padding */
    z-index: 1;
}

.course-card p {
    font-size: 15px;
    color: var(--text-secondary);
    margin-bottom: 30px;
    line-height: 1.6;
    position: relative;
    flex-grow: 1;
    padding: 0 30px;
    /* Added padding */
    z-index: 1;
}

.course-link {
    font-weight: 600;
    color: var(--color-primary);
    display: flex;
    align-items: center;
    gap: 5px;
    position: relative;
    padding: 0 30px 30px 30px;
    /* Added padding */
    z-index: 1;
}

.course-link:hover {
    gap: 10px;
}

/* POTENTIAL SECTION - Enhanced */
.potential-section {
    padding: 100px 0;
    /* Clean white background to contrast with footer and courses */
    background: #ffffff;
    position: relative;
    overflow: hidden;
    min-height: auto;
    display: flex;
    align-items: center;
}

/* Add a very subtle gradient overlay */
.potential-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.8) 0%, rgba(240, 249, 255, 0.5) 100%);
    pointer-events: none;
}

.potential-section .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 60px;
    position: relative;
    z-index: 2;
    /* Bring content above overlay */
}

/* Text Side - More Impactful */
.potential-section .col-text {
    flex: 1;
    max-width: 600px;
}

.potential-section h2 {
    font-size: 48px;
    font-weight: 800;
    line-height: 1.2;
    background: var(--gradient-text);
    /* If supported, or fallback */
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    color: var(--color-primary);
    /* Fallback */
    margin-bottom: 25px;
}

.potential-section p {
    font-size: 18px;
    color: var(--text-secondary);
    margin-bottom: 40px;
    line-height: 1.7;
}

/* Check List Styling */
.potential-list {
    list-style: none;
    padding: 0;
    margin-bottom: 40px;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.potential-list li {
    display: flex;
    align-items: center;
    gap: 15px;
    font-size: 18px;
    font-weight: 600;
    color: var(--text-primary);
    background: #fff;
    padding: 15px 20px;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    border-left: 4px solid var(--color-primary);
    transition: transform 0.3s;
}

.potential-list li:hover {
    transform: translateX(10px);
}

.potential-list .list-icon {
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.potential-list .list-icon svg {
    width: 100%;
    height: 100%;
}


/* Image Side - Creative & Floating */
.potential-img-wrapper {
    flex: 1;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.potential-img {
    max-width: 90%;
    /* Keep it slightly contained */
    border-radius: 30px;
    /* No shadow/border for clean cutout look if png, or styled if jpg */
    /* Assuming CTA BG is a generic image or cutout. Adding style just in case. */
    box-shadow: 0 20px 60px rgba(0, 80, 255, 0.15);
    z-index: 1;
    background: #fff;
    /* Fallback */
}

/* Floating Badges/SVGs */
.potential-badge {
    position: absolute;
    bottom: 40px;
    left: 0;
    background: #ffffff;
    padding: 15px 25px;
    border-radius: 50px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    display: flex;
    align-items: center;
    gap: 15px;
    z-index: 2;
    animation: floatCard 4s ease-in-out infinite;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.potential-badge .badge-icon {
    width: 40px;
    height: 40px;
    background: #ffe4e6;
    /* Light Pink */
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #f43f5e;
    font-size: 18px;
}

.potential-badge span:last-child {
    font-weight: 700;
    color: var(--text-primary);
    font-size: 16px;
}

.decorative-svg {
    position: absolute;
    z-index: 0;
    opacity: 0.6;
    animation: float 6s ease-in-out infinite;
}

.potential-svg-1 {
    top: -30px;
    right: 20px;
}

.potential-svg-2 {
    bottom: -20px;
    right: 50px;
    animation-delay: 2s;
}

/* Responsive */
@media (max-width: 992px) {
    .why-modern-layout {
        flex-direction: column;
    }

    .why-modern-right {
        position: relative;
        top: 0;
        height: auto;
        min-height: 400px;
        width: 100%;
        margin-top: 40px;
        display: none;
        /* Simplify on mobile */
    }

    .why-modern-left {
        width: 100%;
    }
}

/* ========================================= */
/* WHY CHOOSE US - CLEAN CARD DESIGN (User Request) */
/* ========================================= */
.why-choose-clean {
    background: #eef7ff;
    /* Lightest Blue background for the section wrapper (or just white if section is full width) */
    padding: 80px 0;
    font-family: 'Poppins', sans-serif;
}

.wcc-container {
    max-width: 1400px;
    /* Wide container */
    margin: 0 auto;
    background: #fdfdfd;
    /* Whiteish card background if needed, or just transparent */
    border-radius: 40px;
    /* Big rounded corners for the "Card" look of the section */
    padding: 60px 40px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.03);
    /* Very subtle shadow */
}

.wcc-header {
    text-align: center;
    margin-bottom: 60px;
}

.wcc-header h2 {
    font-size: 42px;
    font-weight: 800;
    color: #0f172a;
    display: inline-block;
    position: relative;
    margin-bottom: 10px;
}

.wcc-header h2::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: #eab308;
    /* Orange/Gold accent underline */
    border-radius: 2px;
}

/* Layout */
.wcc-content-wrapper {
    display: flex;
    gap: 60px;
    align-items: center;
    /* Center vertically */
}

/* Left Column - Cards */
.wcc-left {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.wcc-card {
    background: #ffffff;
    padding: 25px 30px;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.03);
    display: flex;
    align-items: flex-start;
    gap: 20px;
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
    border: 1px solid transparent;
}

.wcc-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.06);
    border-color: rgba(56, 189, 248, 0.3);
    /* Subtle blue border on hover */
}

/* Icon Box */
.wcc-icon-box {
    width: 60px;
    height: 60px;
    flex-shrink: 0;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
}

/* text */
.wcc-card-text h4 {
    font-size: 18px;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 8px;
}

.wcc-card-text p {
    font-size: 14px;
    color: #64748b;
    line-height: 1.6;
    margin: 0;
}

/* Color Variants for Icons */
.wcc-icon-box.blue {
    background: #e0f2fe;
    color: #0284c7;
}

.wcc-icon-box.pink {
    background: #fce7f3;
    color: #db2777;
}

.wcc-icon-box.orange {
    background: #ffedd5;
    color: #ea580c;
}

.wcc-icon-box.green {
    background: #dcfce7;
    color: #16a34a;
}

/* Right Column - Image */
.wcc-right {
    flex: 1;
    position: relative;
    height: 600px;
}

.wcc-image-container {
    width: 100%;
    height: 100%;
    border-radius: 60px 0 60px 0;
    /* Leaf-like shape: Top-Left & Bottom-Right rounded */
    /* Or the image style: Top-Left rounded only? let's stick to the image style which looks like a frame */
    /* Looking at the image uploaded: It has a Rounded Top-Left corner, giving a 'tab folder' or unique look. */
    border-top-left-radius: 100px;
    border-bottom-left-radius: 20px;
    border-top-right-radius: 20px;
    border-bottom-right-radius: 20px;
    overflow: hidden;
    position: relative;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
    border: 5px solid #fff;
    /* White border */
}

.wcc-image-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
}

/* Responsive */
@media (max-width: 992px) {
    .wcc-content-wrapper {
        flex-direction: column-reverse;
        /* Image on top is common, but let's keep text top on mobile? Standard is Image top or bottom. Left column is text. */
        /* Let's put image on top */
        flex-direction: column;
    }

    .wcc-image-container {
        height: 300px;
        border-top-left-radius: 40px;
    }

    .wcc-container {
        padding: 40px 20px;
    }

    .wcc-right {
        width: 100%;
        height: auto;
    }
}

/* ========================================= */
/* WHY CHOOSE US - CLEAN DESIGN POLISH (IMAGE BORDER & ALIGNMENT) */
/* ========================================= */

/* Enhance the image container to match the reference's blue curve */
.wcc-image-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-top-left-radius: 95px;
    /* Match the inner radius */
    border-bottom-left-radius: 15px;
    border-top-right-radius: 15px;
    border-bottom-right-radius: 15px;
    border: 3px solid #38bdf8;
    /* Blue accent border */
    z-index: 2;
    pointer-events: none;
    box-sizing: border-box;
}

/* Ensure image stays strictly within the rounded shape */
.wcc-image-container {
    border: none;
    /* Remove white border if we use the blue outline */
    padding: 5px;
    /* Spacing between image and blue border */
    background: #fff;
    /* White gap */
}

/* Make image respect the inner radius */
.wcc-image-container img {
    border-radius: 90px 10px 10px 10px;
    /* Slightly smaller than container */
}

/* Card spacing refinement */
.wcc-left {
    gap: 20px;
    /* Tighter spacing like the image */
}

.wcc-card {
    padding: 20px 25px;
    /* More compact */
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.04);
    /* Softer shadow */
}

/* Vertical Center Alignment */
.wcc-container {
    padding: 80px 60px;
    /* More breathing room */
}

/* Icons: Ensure they pop */
.wcc-icon-box {
    font-size: 20px;
    /* refined size */
    width: 50px;
    height: 50px;
}

/* ========================================= */
/* WHY CHOOSE US - CLEAN DESIGN POLISH (IMAGE BORDER & ALIGNMENT) */
/* ========================================= */

/* Enhance the image container to match the reference's blue curve */
.wcc-image-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /* Match the radius exactly to the container's specialized shape */
    border-top-left-radius: 95px;
    border-bottom-left-radius: 15px;
    border-top-right-radius: 15px;
    border-bottom-right-radius: 15px;
    border: 3px solid #38bdf8;
    /* Blue accent border */
    z-index: 2;
    pointer-events: none;
    box-sizing: border-box;
    /* Optional: If the image reference has a filled tab look, adjust background here */
}

/* Ensure image stays strictly within the rounded shape and leave a gap for the border */
.wcc-image-container {
    border: none;
    /* Remove previous white border */
    padding: 5px;
    /* Spacing between image and blue border */
    background: #fff;
    /* White gap */
    /* Ensure the container itself has the same radius + padding compensation */
    border-top-left-radius: 100px;
    border-bottom-left-radius: 20px;
    border-top-right-radius: 20px;
    border-bottom-right-radius: 20px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
    /* Clean shadow */
}

/* Make image respect the inner radius */
.wcc-image-container img {
    border-radius: 90px 10px 10px 10px;
    /* Slightly smaller than container to fit inside padding */
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Card spacing refinement */
.wcc-left {
    gap: 20px;
    /* Tighter spacing like the image */
}

.wcc-card {
    padding: 20px 25px;
    /* More compact */
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.02);
    /* Softer shadow, almost flat until hover */
    border: 1px solid rgba(0, 0, 0, 0.02);
    /* Very subtle border */
}

.wcc-card:hover {
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.06);
    transform: translateY(-3px);
}

/* Vertical Center Alignment for the whole wrapper */
.wcc-container {
    padding: 80px 60px;
    /* More breathing room inside the 'main card' */
}

/* Icons: Ensure they pop but stay elegant */
.wcc-icon-box {
    font-size: 20px;
    /* refined size */
    width: 50px;
    height: 50px;
    border-radius: 10px;
}

/* Header Text refinement */
.wcc-header h2 {
    font-size: 36px;
    /* Slightly smaller to match visual balance */
}

/* LAPTOP RESPONSIVENESS (1024px - 1366px) */
@media (min-width: 1024px) and (max-width: 1366px) {
    .why-modern-layout {
        gap: 30px;
    }

    .why-modern-right {
        height: 450px;
    }

    .wm-circle-1 {
        width: 240px;
        height: 240px;
    }

    .wm-circle-2 {
        width: 220px;
        height: 220px;
        top: 200px;
        right: 80px;
    }

    .wm-dashed-ring {
        width: 280px;
        height: 280px;
    }

    .wcc-container {
        padding: 50px 30px;
    }

    .wcc-header h2 {
        font-size: 32px;
    }

    .wcc-content-wrapper {
        gap: 30px;
    }

    .wcc-image-container {
        height: 400px;
    }
}


/* ============================= */
/* HERO RESPONSIVE FIX */
/* ============================= */

@media (max-width: 992px) {
    .hero {
        flex-direction: column;
        padding: 120px 20px 60px;
        min-height: auto;
        text-align: center;
    }

    .hero-text,
    .hero-visual {
        width: 100%;
    }

    .hero-text h1 {
        font-size: 38px;
        line-height: 1.2;
    }

    .hero-text h2 {
        font-size: 42px;
    }

    .hero-text p {
        font-size: 16px;
        max-width: 100%;
        text-align: center;
    }

    .floating-card {
        display: none;
    }
}

/* Small Phones */
@media (max-width: 576px) {
    .hero-text h1 {
        font-size: 30px;
    }

    .hero-text h2 {
        font-size: 34px;
    }
}


@media (max-width: 768px) {
    .hero-svg {
        display: none;
    }
}

@media (max-width: 992px) {
    .about-section {
        padding: 60px 20px;
    }

    .about-img {
        height: 300px;
        max-width: 100%;
    }

    .experience-badge {
        right: 10px;
        bottom: 10px;
        padding: 10px;
    }
}


@media (max-width: 992px) {
    .why-choose-section .container {
        flex-direction: column;
    }

    .circle-img-wrapper,
    .second-img-wrapper {
        margin: 40px auto 0;
        width: 260px;
        height: 260px;
    }

    .decorative-svg {
        display: none;
    }
}

@media (max-width: 768px) {
    .courses-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .gallery-grid {
        gap: 20px;
    }

    .gallery-item {
        width: 100%;
        height: auto;
    }

    .gallery-item img {
        height: 220px;
    }
}


.why-modern {
    padding: 100px 0;
    background: #ffffff;
    /* White background as per image, or keep light blue #f8fbff */
    position: relative;
    overflow: hidden;
}

.why-modern .container {
    flex-direction: column;
    align-items: stretch;
}

.why-header {
    margin-bottom: 70px;
    text-align: center;
}

.why-header .tag-pill {
    background: #EEF2FF;
    color: #4F46E5;
    padding: 8px 16px;
    border-radius: 30px;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 1px;
    margin-bottom: 20px;
    display: inline-block;
}

.why-header h1 {
    font-size: 42px;
    font-weight: 800;
    color: #1e293b;
    line-height: 1.2;
}

.highlight-text {
    color: #6366f1;
    /* Indigo/Purple from image */
}

/* GRID LAYOUT */
.why-modern-grid-v2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    /* 2 Columns: Images | Content */
    gap: 80px;
    align-items: center;
}

/* LEFT: STAGGERED IMAGES */
/* LEFT: COLLAGE VISUALS */
.why-visual-collage {
    position: relative;
    height: 600px;
    width: 100%;
    max-width: 550px;
    /* Constrain width to keep layout tight */
    margin: 0 auto;
    /* Center on mobile if needed */
}

.collage-item {
    position: absolute;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.collage-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.collage-item:hover {
    transform: scale(1.02);
    z-index: 10 !important;
}

/* 1. Purple Item (Top Left) */
.item-purple {
    top: 50px;
    /* Moved down slightly to center vertically in space */
    left: 0;
    width: 300px;
    /* Vertical */
    height: 400px;
    /* Vertical */
    z-index: 1;
    background: #CB6CE6;
    padding: 0;
}

/* If you want the colored background effect behind the image: */
.item-purple::before {
    content: '';
    position: absolute;
    inset: 0;
    background: #CB6CE6;
    z-index: -1;
}

/* 2. Small Item (Top Right) */
.item-small {
    top: 0;
    right: 30px;
    width: 160px;
    height: 160px;
    border-radius: 20px;
    z-index: 2;
    border: 5px solid #fff;
}

/* 3. Green Item (Bottom Center/Right) */
.item-green {
    bottom: 40px;
    /* Adjusted up */
    right: 0;
    /* Align right to counterbalance left big image */
    width: 340px;
    /* Horizontal */
    height: 260px;
    /* Horizontal */
    z-index: 3;
    background: #2E8B57;
    border: 5px solid #fff;
    background-color: #3CB371;
}

/* 4. Extra Left Item (Bottom Left) */
.item-extra-left {
    top: 350px;
    /* Below the purple one */
    left: -30px;
    width: 320px;
    height: 220px;
    z-index: 2;
    background: #fff;
    border: 3px solid #F59E0B;
    /* Orange border */
    border-radius: 20px;
}

.item-extra-left img {
    object-position: center;
}

/* Responsive */
@media (max-width: 768px) {
    .why-visual-collage {
        position: relative;
        height: auto;
        width: 100%;
        max-width: 100%;
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 12px;
        transform: none;
        margin-bottom: 30px;
        overflow: hidden;
    }

    .collage-item {
        position: relative !important;
        top: auto !important;
        left: auto !important;
        right: auto !important;
        bottom: auto !important;
        transform: none !important;
        width: 100% !important;
        height: auto !important;
        aspect-ratio: 4 / 3;
    }

    .item-purple {
        grid-column: 1 / 2;
        aspect-ratio: 3 / 4;
    }

    .item-green {
        grid-column: 2 / 3;
        aspect-ratio: 3 / 4;
    }

    /* Hide extra-left item on mobile - doesn't fit well */
    .item-extra-left {
        display: none;
    }

    /* Reset hover transforms to avoid jumping on mobile touch */
    .collage-item:hover {
        transform: none !important;
    }
}

/* RIGHT: CONTENT LIST */
.why-content-v2 {
    display: flex;
    flex-direction: column;
    gap: 40px;
    /* Space between list items */
}

.why-list-item {
    display: flex;
    gap: 25px;
    align-items: flex-start;
}

.icon-circle {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    transition: transform 0.3s;
}

.why-list-item:hover .icon-circle {
    transform: scale(1.1) rotate(5deg);
}

.icon-circle.pink {
    background: #FCE7F3;
    /* Light Pink */
    color: #EC4899;
    /* Pink Text */
}

.icon-circle.blue {
    background: #E0F2FE;
    /* Light Blue */
    color: #0284C7;
    /* Blue Text */
}

.icon-circle.purple {
    background: #F3E8FF;
    /* Light Purple */
    color: #9333EA;
    /* Purple Text */
}

.why-list-item h4 {
    font-size: 20px;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 8px;
}

.why-list-item p {
    color: #64748b;
    font-size: 15px;
    line-height: 1.6;
    max-width: 90%;
    margin: 0;
}

/* Responsive */
@media (max-width: 992px) {
    .why-modern-grid-v2 {
        grid-template-columns: 1fr;
        gap: 60px;
    }

    .why-visual-v2 {
        height: 400px;
        max-width: 400px;
        margin: 0 auto;
    }

    .img-top {
        width: 200px;
        height: 240px;
        left: 20px;
    }

    .img-bottom {
        width: 220px;
        height: 260px;
        left: 100px;
    }

    .deco-box {
        width: 180px;
        height: 180px;
    }
}

@import url('./course-cards.css');
@import url('./gallery.css');

/* ============================= */
/* RESPONSIVE FIXES (FINAL)      */
/* ============================= */

/* Potential Section Responsive Fix */
@media (max-width: 992px) {
    .potential-section {
        padding: 60px 20px;
        height: auto;
        min-height: auto;
    }

    .potential-section .container {
        flex-direction: column;
        text-align: center;
        gap: 50px;
    }

    .potential-section .col-text {
        max-width: 100%;
        order: 1;
    }

    .potential-img-wrapper {
        width: 100%;
        justify-content: center;
        order: 2;
        margin-top: 20px;
    }

    .potential-img {
        max-width: 100%;
        height: auto;
    }

    .potential-list {
        align-items: center;
        margin: 0 auto 40px;
        max-width: 500px;
    }

    .potential-list li {
        width: 100%;
        text-align: left;
    }

    .potential-badge {
        bottom: 20px;
        left: 50%;
        transform: translateX(-50%);
        white-space: nowrap;
    }
}

/* Ensure course cards don't get too squashed on small phones */
@media (max-width: 380px) {
    .courses-grid {
        grid-template-columns: 1fr;
    }

    .course-card {
        margin-bottom: 20px;
    }
}

/* COURSES SECTION ADJUSTMENTS   */


.courses-section .section-header {
    margin-top: 60px;

}