/* ============================================================
   Abhimo TECHNOLOGIES — internship.css
   Professional Redesign | Clean Deep-Blue Enterprise Theme
   Fonts: Syne (headings) + DM Sans (body)
   ============================================================ */

/* ── CSS Variables ── */
:root {
    --primary: #0057ff;
    --primary-dark: #003ecc;
    --primary-light: #4d8dff;
    --accent: #00d4ff;
    --deep: #020d1f;
    --surface: #ffffff;
    --surface-2: #f4f7fb;
    --surface-3: #e8eef8;
    --text-main: #0d1b2a;
    --text-muted: #5a6e84;
    --border: rgba(0, 87, 255, 0.12);
    --shadow-sm: 0 2px 12px rgba(0, 57, 180, 0.08);
    --shadow-md: 0 8px 32px rgba(0, 57, 180, 0.13);
    --shadow-lg: 0 20px 60px rgba(0, 57, 180, 0.18);
    --radius: 16px;
    --radius-sm: 10px;
}

/* ── Base ── */
body {
    background: var(--surface-2);
    color: var(--text-main);
    font-family: 'DM Sans', sans-serif;
    font-size: 16px;
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
}

h1,
h2,
h3,
h4 {
    font-family: 'Syne', sans-serif;
    font-weight: 700;
    line-height: 1.2;
    color: var(--text-main);
}

/* ── Shared Section Styles ── */
.section-padding {
    padding: 96px 0;
}

.section-tag {
    display: inline-block;
    background: rgba(0, 87, 255, 0.08);
    color: var(--primary);
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    padding: 6px 16px;
    border-radius: 50px;
    border: 1px solid rgba(0, 87, 255, 0.18);
    margin-bottom: 16px;
}

.section-title {
    font-size: clamp(1.9rem, 4vw, 2.8rem);
    font-weight: 800;
    color: var(--text-main);
    margin-bottom: 12px;
}

.title-accent {
    color: var(--primary);
    position: relative;
    display: inline-block;
}

.title-accent::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -4px;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, var(--primary), var(--accent));
    border-radius: 4px;
}

.section-text {
    color: var(--text-muted);
    font-size: 1.05rem;
    max-width: 520px;
    margin: 0 auto;
}

/* ============================================================
   HERO
   ============================================================ */
.internship-hero {
    position: relative;
    background: linear-gradient(135deg, var(--deep) 0%, #041535 50%, #071e45 100%);
    padding: 160px 20px 120px;
    text-align: center;
    overflow: hidden;
    min-height: 90vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Subtle grid overlay */
.hero-bg-grid {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(0, 87, 255, 0.06) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0, 87, 255, 0.06) 1px, transparent 1px);
    background-size: 60px 60px;
    pointer-events: none;
}

/* Glowing orbs */
.hero-glow {
    position: absolute;
    border-radius: 50%;
    filter: blur(100px);
    pointer-events: none;
    opacity: 0.35;
}

.hero-glow-1 {
    width: 500px;
    height: 500px;
    background: var(--primary);
    top: -100px;
    left: -100px;
}

.hero-glow-2 {
    width: 400px;
    height: 400px;
    background: var(--accent);
    bottom: -80px;
    right: -80px;
    opacity: 0.2;
}

/* Badge pill */
.hero-badge {
    display: inline-flex;
    align-items: center;
    background: rgba(0, 212, 255, 0.1);
    border: 1px solid rgba(0, 212, 255, 0.3);
    color: var(--accent);
    font-size: 0.82rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    padding: 8px 20px;
    border-radius: 50px;
    margin-bottom: 28px;
    animation: pulse-badge 3s ease-in-out infinite;
}

@keyframes pulse-badge {

    0%,
    100% {
        box-shadow: 0 0 0 0 rgba(0, 212, 255, 0.2);
    }

    50% {
        box-shadow: 0 0 0 8px rgba(0, 212, 255, 0);
    }
}

.internship-hero h1 {
    font-family: 'Syne', sans-serif;
    font-size: clamp(2.8rem, 7vw, 5.5rem);
    font-weight: 800;
    color: #ffffff;
    margin-bottom: 20px;
    letter-spacing: -0.02em;
}

.hero-highlight {
    background: linear-gradient(90deg, var(--accent), var(--primary-light));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.internship-hero p {
    color: rgba(255, 255, 255, 0.65);
    font-size: clamp(1rem, 2.2vw, 1.25rem);
    max-width: 560px;
    margin: 0 auto 48px;
    font-weight: 300;
}

/* Stats row */
.hero-stats {
    display: inline-flex;
    align-items: center;
    gap: 0;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 60px;
    padding: 18px 40px;
    backdrop-filter: blur(12px);
    gap: 32px;
}

.hero-stat {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.stat-num {
    font-family: 'Syne', sans-serif;
    font-size: 1.7rem;
    font-weight: 800;
    color: #ffffff;
    line-height: 1;
}

.stat-label {
    font-size: 0.72rem;
    color: rgba(255, 255, 255, 0.45);
    font-weight: 500;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    margin-top: 4px;
}

.hero-divider {
    width: 1px;
    height: 36px;
    background: rgba(255, 255, 255, 0.15);
}

/* Scroll hint */
.hero-scroll-hint {
    position: absolute;
    bottom: 32px;
    left: 50%;
    transform: translateX(-50%);
    color: rgba(255, 255, 255, 0.3);
    font-size: 1.1rem;
    animation: bounce-down 1.8s ease-in-out infinite;
}

@keyframes bounce-down {

    0%,
    100% {
        transform: translateX(-50%) translateY(0);
    }

    50% {
        transform: translateX(-50%) translateY(8px);
    }
}

/* ============================================================
   PROGRAMS SECTION
   ============================================================ */
.programs {
    background: var(--surface-2);
}

.program-box {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 36px 32px 28px;
    height: 100%;
    position: relative;
    overflow: hidden;
    transition: transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1),
        box-shadow 0.35s ease,
        border-color 0.35s ease;
    cursor: default;
}

.program-box::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--primary), var(--accent));
    opacity: 0;
    transition: opacity 0.3s ease;
}

.program-box:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
    border-color: rgba(0, 87, 255, 0.25);
}

.program-box:hover::before {
    opacity: 1;
}

/* Icon wrap */
.program-icon-wrap {
    width: 54px;
    height: 54px;
    background: linear-gradient(135deg, rgba(0, 87, 255, 0.1), rgba(0, 212, 255, 0.08));
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    font-size: 1.5rem;
    color: var(--primary);
    border: 1px solid rgba(0, 87, 255, 0.15);
    transition: background 0.3s, transform 0.3s;
}

.program-box:hover .program-icon-wrap {
    background: linear-gradient(135deg, var(--primary), var(--accent));
    color: white;
    border-color: transparent;
    transform: scale(1.08) rotate(-4deg);
}

.program-box h3 {
    font-size: 1.15rem;
    font-weight: 700;
    margin-bottom: 10px;
    color: var(--text-main);
}

.program-box p {
    font-size: 0.92rem;
    color: var(--text-muted);
    margin-bottom: 20px;
    line-height: 1.65;
}

/* Tech tags */
.program-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-bottom: 20px;
}

.program-tags span {
    background: var(--surface-3);
    color: var(--primary);
    font-size: 0.72rem;
    font-weight: 600;
    padding: 4px 10px;
    border-radius: 50px;
    border: 1px solid var(--border);
    letter-spacing: 0.04em;
}

/* Arrow icon */
.program-arrow {
    font-size: 1.3rem;
    color: var(--border);
    transition: color 0.3s, transform 0.3s;
}

.program-box:hover .program-arrow {
    color: var(--primary);
    transform: translateX(4px);
}

/* ============================================================
   WHY INTERN SECTION
   ============================================================ */
.why-section {
    background: var(--surface);
    position: relative;
    overflow: hidden;
}

.why-bg-accent {
    position: absolute;
    top: -200px;
    right: -200px;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(0, 87, 255, 0.06) 0%, transparent 70%);
    pointer-events: none;
}

.info-box {
    background: var(--surface-2);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 36px 24px;
    height: 100%;
    transition: transform 0.3s ease, box-shadow 0.3s ease, background 0.3s;
}

.info-box:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-md);
    background: var(--surface);
}

/* Icon ring */
.info-icon-ring {
    width: 64px;
    height: 64px;
    margin: 0 auto;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(0, 87, 255, 0.1), rgba(0, 212, 255, 0.07));
    border: 2px solid rgba(0, 87, 255, 0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.6rem;
    color: var(--primary);
    transition: background 0.3s, transform 0.3s;
}

.info-box:hover .info-icon-ring {
    background: linear-gradient(135deg, var(--primary), var(--accent));
    color: white;
    border-color: transparent;
    transform: scale(1.1);
}

.info-box h4 {
    font-size: 1.05rem;
    font-weight: 700;
    margin-top: 16px;
    margin-bottom: 8px;
    color: var(--text-main);
}

.info-box p {
    font-size: 0.9rem;
    color: var(--text-muted);
    line-height: 1.65;
    margin: 0;
}

/* ============================================================
   CTA BLOCK
   ============================================================ */
.cta-block {
    margin-top: 72px;
}

.cta-inner {
    position: relative;
    background: linear-gradient(135deg, var(--deep) 0%, #041c4a 100%);
    border-radius: 24px;
    padding: 64px 40px;
    text-align: center;
    overflow: hidden;
    border: 1px solid rgba(0, 87, 255, 0.2);
}

.cta-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 400px;
    height: 200px;
    background: radial-gradient(ellipse, rgba(0, 87, 255, 0.35) 0%, transparent 70%);
    pointer-events: none;
}

.cta-content {
    position: relative;
    z-index: 1;
}

.cta-content h3 {
    font-family: 'Syne', sans-serif;
    font-size: clamp(1.5rem, 3.5vw, 2.2rem);
    font-weight: 800;
    color: #ffffff;
    margin-bottom: 12px;
}

.cta-content p {
    color: rgba(255, 255, 255, 0.55);
    font-size: 1rem;
    margin-bottom: 32px;
}

/* ============================================================
   BUTTONS
   ============================================================ */
.apply-btn,
.hero-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: #ffffff !important;
    border: none;
    padding: 14px 36px;
    border-radius: 50px;
    font-family: 'Syne', sans-serif;
    font-weight: 600;
    font-size: 0.95rem;
    letter-spacing: 0.03em;
    text-decoration: none;
    box-shadow: 0 8px 24px rgba(0, 87, 255, 0.35);
    transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1),
        box-shadow 0.3s ease;
    cursor: pointer;
}

.apply-btn:hover,
.hero-btn:hover {
    transform: translateY(-4px) scale(1.03);
    box-shadow: 0 16px 40px rgba(0, 87, 255, 0.45);
    color: #ffffff !important;
}

/* ============================================================
   NAVBAR (unchanged from original - kept for reference)
   ============================================================ */
.custom-navbar {
    background: white;
    backdrop-filter: none;
}

.logo-text {
    font-size: 36px;
    font-weight: 800;
    color: #0077ff !important;
    letter-spacing: 1px;
}

.navbar-nav .nav-link {
    color: black !important;
    font-weight: 800;
    transition: 0.3s;
    position: relative;
}

.navbar-nav .nav-link::after {
    content: '';
    width: 0%;
    height: 3px;
    background: #0077ff;
    position: absolute;
    left: 0;
    bottom: -5px;
    border-radius: 20px;
    transition: 0.4s;
}

.navbar-nav .nav-link:hover::after {
    width: 100%;
}

.navbar-nav .nav-link:hover {
    color: #0077ff !important;
}

/* ============================================================
   FOOTER (unchanged from original)
   ============================================================ */
.footer {
    background: white;
    color: black;
    padding: 50px 20px;
    text-align: center;
}

.footer h3 {
    font-size: 32px;
    font-weight: 700;
    color: #042437;
}

.footer p {
    margin-top: 15px;
    color: #2a6fab;
}

.footer-btn {
    display: inline-block;
    background: linear-gradient(45deg, #00d9ff, #7b2cff);
    color: white !important;
    padding: 14px 35px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: 0.4s ease;
    box-shadow: 0 0 20px rgba(0, 217, 255, 0.4);
    border: none;
}

.footer-btn:hover {
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 0 30px rgba(0, 217, 255, 0.7);
    color: white !important;
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 768px) {
    .internship-hero {
        padding: 120px 20px 80px;
        min-height: auto;
    }

    .hero-stats {
        flex-wrap: wrap;
        padding: 16px 24px;
        gap: 20px;
        border-radius: 20px;
    }

    .hero-divider {
        display: none;
    }

    .section-padding {
        padding: 64px 0;
    }

    .program-box {
        padding: 28px 24px 22px;
    }

    .cta-inner {
        padding: 48px 24px;
    }
}

@media (max-width: 480px) {
    .internship-hero h1 {
        font-size: 2.4rem;
    }

    .hero-stats {
        display: none;
    }
}