/* =========================================
   1. GLOBAL STYLES (Used on ALL Pages)
   ========================================= */

/* --- CSS VARIABLES (Theme Colors) --- */
:root {
    --brand-orange: #FF6B00;
    --brand-orange-light: #FF9E40;
    --brand-black: #0A0A0A;
    --brand-dark: #121212;
    --brand-grey: #2A2A2A;
    --text-white: #ffffff;
    --text-grey: #9CA3AF;
    /* Gray-400 */
    --border-color: rgba(255, 255, 255, 0.1);

    /* Fonts */
    --font-montserrat: 'Montserrat', sans-serif;
    --font-poppins: 'Poppins', sans-serif;
    --font-inter: 'Inter', sans-serif;
}

[data-theme="light"] {
    --brand-black: #ffffff;
    --brand-dark: #f3f4f6;
    --brand-grey: #ffffff;
    --text-white: #111827;
    --text-grey: #4b5563;
    --border-color: #e5e7eb;
}


@import 'style-responsive.css';

/* --- RESET & BASE STYLES --- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    background-color: var(--brand-black);
    color: var(--text-white);
    font-family: var(--font-inter);
    line-height: 1.6;
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
    transition: 0.3s ease;
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    display: block;
}

/* --- UTILITIES --- */
.text-center {
    text-align: center !important;
}

.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.text-gradient {
    background: linear-gradient(to right, var(--brand-orange), var(--brand-orange-light));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.text-highlight {
    color: var(--brand-orange);
    font-weight: 700;
}

.section-padding {
    padding: 6rem 1.5rem;
}

.hidden {
    display: none !important;
}

.bg-grey {
    background-color: var(--brand-grey);
}

/* --- THEME VARIATIONS --- */
.section-light {
    background-color: #f9fafb;
    /* Light Gray/White */
    color: #111827;
}

.section-light .section-title {
    color: #111827 !important;
}

.section-light .about-text {
    color: #4b5563;
}

/* Darker gray for text */
.section-light .tag {
    background-color: white;
    border-color: #e5e7eb;
    color: #4b5563;
    transition: all 0.3s ease;
}

.section-light .tag:hover {
    border-color: var(--brand-orange);
    color: var(--brand-orange);
    box-shadow: 0 4px 12px rgba(255, 107, 0, 0.15);
    transform: translateY(-2px);
}

/* Glass Card (Dark) on Light Section */
.section-light .glass-card {
    background: var(--brand-dark);
    /* Keep it dark */
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
}

.section-light .glass-card h3,
.section-light .glass-card h4 {
    color: white !important;
}

.section-light .glass-card p {
    color: #9ca3af !important;
}

/* Portfolio on Light bg overrides */
.section-light .subtitle {
    color: var(--brand-orange);
}

.section-light .project-card {
    background-color: var(--brand-grey) !important;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

.section-light .project-title {
    color: white !important;
}

.section-light .project-stats {
    border-top-color: #e5e7eb;
}

.section-light .stat-key {
    color: #9ca3af;
    /* Light Grey */
}

.section-light .stat-val {
    color: white !important;
}

.section-light .slider-btn {
    background: white;
    color: #111827;
    border-color: #e5e7eb;
}

.section-light .slider-btn:hover {
    border-color: var(--brand-orange);
    color: var(--brand-orange);
}

/* Services on Light bg overrides */
.section-light .service-card {
    background-color: white;
    border-color: #e5e7eb;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
}

.section-light .service-card:hover {
    border-color: var(--brand-orange);
    transform: translateY(-5px);
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
}

.section-light .service-title {
    color: #111827;
}

.section-light .service-icon {
    background-color: #f3f4f6;
}

.section-light .service-desc {
    color: #6b7280;
}

/* Contact on Light bg overrides */
.section-light .form-container {
    background-color: white;
    border-color: #e5e7eb;
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.1);
}

.section-light .form-label {
    color: var(--brand-orange);
}

.section-light .form-input,
.section-light .form-select,
.section-light .form-textarea {
    background-color: #f9fafb;
    border-color: #d1d5db;
    color: #111827;
}

.section-light .form-input:focus,
.section-light .form-select:focus,
.section-light .form-textarea:focus {
    background-color: white;
    border-color: var(--brand-orange);
}

.section-light .radio-label {
    color: #111827;
    background-color: #f3f4f6;
    border: 1px solid #e5e7eb;
}

.section-light .radio-label:hover {
    background-color: #e5e7eb;
    border-color: var(--brand-orange);
}

.section-light .icon-box {
    background-color: white;
    border-color: #e5e7eb;
}

.section-light .contact-link {
    color: #6b7280;
}

.section-light .contact-link:hover {
    color: var(--brand-orange);
}

/* =========================================
   2. HOME PAGE SECTIONS (index.php)
   ========================================= */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.75rem 2rem;
    border-radius: 9999px;
    font-family: var(--font-poppins);
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    gap: 0.5rem;
    border: none;
}

.btn-primary {
    background-color: var(--brand-orange);
    color: white;
    box-shadow: 0 10px 15px -3px rgba(255, 107, 0, 0.2);
}

.btn-primary:hover {
    background-color: #e65100;
    transform: translateY(-2px);
}

.btn-secondary {
    background-color: transparent;
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: white;
}

.btn-secondary:hover {
    background-color: transparent;
    border-color: var(--brand-orange);
    color: var(--brand-orange);
    box-shadow: 0 0 15px rgba(255, 107, 0, 0.2);
    transform: translateY(-2px);
}

.btn-white {
    background-color: white;
    color: #0A0A0A !important;
    /* Force Black Text */
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    font-weight: 700;
}

.btn-white:hover {
    background-color: var(--brand-orange);
    color: white !important;
    /* Force White Text on Hover */
    transform: translateY(-2px);
    box-shadow: 0 10px 15px -3px rgba(255, 107, 0, 0.4);
    border: 1px solid var(--brand-orange);
}

[data-theme="light"] .btn-secondary {
    color: #374151;
    border-color: #d1d5db;
}

[data-theme="light"] .btn-secondary:hover {
    color: var(--brand-orange);
    border-color: var(--brand-orange);
    background: transparent;
}

/* --- NAVIGATION (Header) --- */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background-color: var(--brand-black);
    /* fallback */
    background-color: rgba(10, 10, 10, 0.9);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border-color);
}

[data-theme="light"] .navbar {
    background-color: rgba(255, 255, 255, 0.9);
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
}

.nav-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 80px;
}

.logo {
    font-family: var(--font-montserrat);
    font-weight: 700;
    font-size: 1.25rem;
    letter-spacing: -0.025em;
}

/* [data-theme="light"] .logo Override REMOVED to maintain White Header */


.logo span {
    color: var(--brand-orange);
}

.nav-links {
    display: none;
    gap: 2rem;
    align-items: center;
    font-family: var(--font-poppins);
    font-size: 0.875rem;
    font-weight: 500;
    color: #d1d5db;
}

/* [data-theme="light"] .nav-links Override REMOVED to maintain White Header */


.nav-links a:hover {
    color: var(--text-white);
}

.hamburger {
    display: block;
    background: none;
    border: none;
    color: white;
    cursor: pointer;
}

/* [data-theme="light"] .hamburger Override REMOVED to maintain White Header */


.hamburger svg {
    width: 24px;
    height: 24px;
}

.mobile-menu {
    position: fixed;
    top: 80px;
    left: 0;
    width: 100%;
    background-color: var(--brand-black);
    padding: 2rem;
    border-bottom: 1px solid var(--border-color);
    transform: translateY(-150%);
    transition: transform 0.3s ease-in-out;
    z-index: 999;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    text-align: center;
}

[data-theme="light"] .mobile-menu {
    background-color: white;
    border-bottom: 1px solid #e5e7eb;
}

[data-theme="light"] .mobile-menu .btn-secondary {
    color: #111827;
    border-color: #d1d5db;
}

[data-theme="light"] .mobile-menu .btn-secondary:hover {
    border-color: var(--brand-orange);
    color: var(--brand-orange);
    background: transparent;
}

.mobile-menu.active {
    transform: translateY(0);
}

@media (min-width: 768px) {
    .nav-links {
        display: flex;
    }

    .hamburger {
        display: none;
    }

    .mobile-menu {
        display: none;
    }
}


/* --- FOOTER --- */
.footer {
    background-color: #000000;
    padding: 3rem 1.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: white;
}

.footer-content {
    max-width: 1280px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    align-items: center;
    text-align: center;
}

@media (min-width: 768px) {
    .footer-content {
        flex-direction: row;
        justify-content: space-between;
        text-align: left;
    }
}

.footer-logo {
    font-family: var(--font-montserrat);
    font-weight: 700;
    font-size: 1.5rem;
    color: white !important;
}

.footer-text {
    color: #9ca3af !important;
    font-size: 0.875rem;
}

.footer-links-wrapper {
    display: flex;
    gap: 1.5rem;
    flex-wrap: wrap;
    justify-content: center;
    margin-bottom: 0.5rem;
}

.footer-inner-link {
    color: #d1d5db !important;
    font-size: 0.9rem;
    transition: color 0.3s;
}

.footer-inner-link:hover {
    color: var(--brand-orange) !important;
}

/* Force dark styling for social icons in footer even in light mode */
.footer .icon-box {
    background-color: #2A2A2A !important;
    border-color: rgba(255, 255, 255, 0.1) !important;
}

.footer .contact-link {
    color: #9ca3af !important;
}

.footer .contact-link:hover {
    color: white !important;
}

.footer .contact-link:hover .icon-box {
    background-color: black !important;
    border-color: var(--brand-orange) !important;
}



/* =========================================
   2. HOME PAGE SECTIONS (index.php)
   ========================================= */

/* --- HERO SECTION --- */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    align-items: center;
    padding-top: 120px;
    overflow: hidden;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
    align-items: center;
}

@media (min-width: 1024px) {
    .hero-grid {
        grid-template-columns: 1fr 1fr;
    }

    .hero-content {
        order: 1;
    }

    .hero-image {
        order: 2;
    }
}

.availability-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.25rem 0.75rem;
    background-color: var(--brand-grey);
    border: 1px solid var(--border-color);
    border-radius: 9999px;
    margin-bottom: 1.5rem;
    margin-top: 2rem;
}

.dot-pulse {
    width: 8px;
    height: 8px;
    background-color: #22c55e;
    border-radius: 50%;
    animation: pulse 2s infinite;
}

.availability-text {
    font-size: 0.75rem;
    font-family: var(--font-poppins);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: #d1d5db;
}

/* FIX: Smooth Slide Up Animation for Hero Text */
.hero-title {
    font-family: var(--font-montserrat);
    font-weight: 800;
    font-size: 3rem;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    animation: slideUp 0.8s ease-out;
    /* Added Animation */
}

@media (min-width: 768px) {
    .hero-title {
        font-size: 4.5rem;
    }
}

.hero-desc {
    font-size: 1.125rem;
    color: var(--text-grey);
    border-left: 2px solid var(--brand-orange);
    padding-left: 1.5rem;
    margin-bottom: 2rem;
    max-width: 500px;
    animation: slideUp 1s ease-out;
    /* Added Animation with delay effect */
}

.hero-img-container {
    position: relative;
    width: 100%;
    max-width: 280px;
    aspect-ratio: 1 / 1;
    margin: 0 auto;
    margin-bottom: 2rem;
}

@media (min-width: 640px) {
    .hero-img-container {
        max-width: 320px;
    }
}

@media (min-width: 1024px) {
    .hero-img-container {
        max-width: 450px;
    }
}

.img-ring {
    position: absolute;
    inset: 0;
    border: 2px solid var(--brand-orange);
    border-radius: 50%;
    transform: rotate(6deg) scale(1.05);
    opacity: 0.5;
}

.img-wrapper {
    position: absolute;
    inset: 0;
    border-radius: 50%;
    overflow: hidden;
    border: 4px solid var(--brand-black);
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
}

.img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: grayscale(100%);
    transition: filter 0.5s ease;
}

.img-wrapper:hover img {
    filter: grayscale(0%);
}

/* FIX: Smoother Floating Animation */
.floating-badge {
    position: absolute;
    bottom: -1rem;
    right: -1rem;
    background-color: var(--brand-orange);
    color: white;
    padding: 0.75rem 1.5rem;
    border-radius: 0.75rem;
    font-family: var(--font-montserrat);
    font-weight: 700;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.3);
    animation: float 4s ease-in-out infinite;
    /* Changed from bounce to float */
}

/* --- NEW MESH GRADIENT BACKGROUND --- */
.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    overflow: hidden;
    background-color: var(--brand-dark);
}

.hero-bg-gradient {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.6;
    animation: floatGradient 10s infinite ease-in-out alternate;
}

.gradient-1 {
    width: 50vw;
    height: 50vw;
    background: radial-gradient(circle, var(--brand-orange), transparent 70%);
    top: -10%;
    right: -10%;
    animation-delay: 0s;
}

.gradient-2 {
    width: 40vw;
    height: 40vw;
    background: radial-gradient(circle, #4f46e5, transparent 70%);
    /* Deep Indigo/Purple */
    bottom: -10%;
    left: -10%;
    animation-delay: -2s;
}

.gradient-3 {
    width: 30vw;
    height: 30vw;
    background: radial-gradient(circle, #db2777, transparent 70%);
    /* Pink/Magenta */
    top: 40%;
    left: 50%;
    transform: translate(-50%, -50%);
    opacity: 0.3;
    animation-delay: -4s;
}

.hero-bg-overlay {
    position: absolute;
    inset: 0;
    background: rgba(10, 10, 10, 0.7);
    /* Dark overlay for readability */
    backdrop-filter: blur(30px);
    /* Glassmorphism effect over the blobs */
    /* Glassmorphism effect over the blobs */
    z-index: 1;
}

[data-theme="light"] .hero-bg-overlay {
    background: rgba(255, 255, 255, 0.85);
}

@keyframes floatGradient {
    0% {
        transform: translate(0, 0) scale(1);
    }

    50% {
        transform: translate(5%, 5%) scale(1.1);
    }

    100% {
        transform: translate(-5%, -5%) scale(1);
    }
}

/* --- STATS BAR --- */
.stats-bar {
    background-color: var(--brand-dark);
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
    padding: 3rem 1.5rem;
}

.stats-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    max-width: 1280px;
    margin: 0 auto;
}

@media (min-width: 768px) {
    .stats-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

.stat-item {
    text-align: center;
}

.stat-number {
    font-family: var(--font-montserrat);
    font-weight: 700;
    font-size: 1.875rem;
    color: var(--text-white);
    margin-bottom: 0.25rem;
}

.stat-label {
    font-size: 0.875rem;
    color: #6b7280;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* --- ABOUT --- */
.about-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 4rem;
    align-items: start;
}

@media (min-width: 768px) {
    .about-grid {
        grid-template-columns: 1fr 1fr;
    }
}

.section-title {
    font-family: var(--font-montserrat);
    font-weight: 700;
    font-size: 2.25rem;
    margin-bottom: 0.5rem;
}

.section-divider {
    height: 4px;
    width: 80px;
    background-color: var(--brand-orange);
    border-radius: 99px;
    margin-bottom: 1.5rem;
}

.about-text {
    color: var(--text-grey);
    font-size: 1.125rem;
    margin-bottom: 1.5rem;
}

.tag-container {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.tag {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background-color: var(--brand-grey);
    border: 1px solid var(--border-color);
    border-radius: 0.5rem;
    font-size: 0.875rem;
    color: #d1d5db;
    transition: all 0.3s ease;
}

.tag svg {
    opacity: 0.8;
}

.tag:hover svg {
    opacity: 1;
    color: var(--brand-orange);
}

.glass-card {
    background: rgba(42, 42, 42, 0.4);
    backdrop-filter: blur(10px);
    border: 1px solid var(--border-color);
    padding: 2rem;
    border-radius: 1rem;
    position: relative;
}

.feature-list {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.feature-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

.feature-number {
    width: 2.5rem;
    height: 2.5rem;
    background-color: rgba(255, 107, 0, 0.2);
    color: var(--brand-orange);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    flex-shrink: 0;
}

/* --- SERVICES & EXPERTISE --- */
.services-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    margin-top: 3rem;
}

@media (min-width: 640px) {
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* 2 per row tablet */
@media (min-width: 1024px) {
    .services-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* 3 per row desktop standard */

/* Special Override for 4-Role Internship Grid (Used on Internship Page) */
.internship-roles.services-grid {
    grid-template-columns: 1fr;
}

@media (min-width: 640px) {
    .internship-roles.services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1200px) {
    .internship-roles.services-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

.service-card {
    background-color: var(--brand-black);
    padding: 2rem;
    border-radius: 1rem;
    border: 1px solid var(--border-color);
    transition: all 0.3s ease;
}

.service-card:hover {
    border-color: var(--brand-orange);
    transform: translateY(-5px);
}

.service-icon {
    width: 3.5rem;
    height: 3.5rem;
    background-color: var(--brand-dark);
    border-radius: 0.75rem;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--brand-orange);
    margin-bottom: 1.5rem;
    transition: transform 0.3s ease;
}

.service-card:hover .service-icon {
    transform: scale(1.1);
}

.service-title {
    font-family: var(--font-montserrat);
    font-weight: 700;
    font-size: 1.25rem;
    margin-bottom: 0.75rem;
    color: var(--text-white);
}

.service-card:hover .service-title {
    color: var(--brand-orange);
}

.service-desc {
    color: var(--text-grey);
    font-size: 0.875rem;
    margin-bottom: 1.5rem;
}

.check-list li {
    font-size: 0.75rem;
    color: #6b7280;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.5rem;
}

.dot {
    width: 4px;
    height: 4px;
    background-color: var(--brand-orange);
    border-radius: 50%;
}

/* --- PORTFOLIO SLIDER --- */
.section-header {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    margin-bottom: 3rem;
}

@media (min-width: 768px) {
    .section-header {
        flex-direction: row;
        justify-content: space-between;
        align-items: flex-end;
    }
}

.subtitle {
    color: var(--brand-orange);
    font-weight: 700;
    font-family: var(--font-poppins);
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    display: block;
}

.portfolio-slider-container {
    overflow: hidden;
    width: 100%;
    position: relative;
}

.portfolio-track {
    display: flex;
    flex-wrap: nowrap;
    gap: 2rem;
    transition: transform 0.5s ease-in-out;
    width: 100%;
}

.project-card {
    background-color: var(--brand-grey);
    border-radius: 1rem;
    overflow: hidden;
    transition: transform 0.3s ease;
    flex: 0 0 100%;
    max-width: 100%;
}

@media (min-width: 768px) {
    .project-card {
        flex: 0 0 calc(50% - 1rem);
        max-width: calc(50% - 1rem);
    }
}

.project-img-area {
    height: 12rem;
    background-color: #1f2937;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.project-img-overlay {
    position: absolute;
    inset: 0;
    background-color: rgba(10, 10, 10, 0.5);
    transition: background-color 0.3s ease;
}

.project-card:hover .project-img-overlay {
    background-color: rgba(10, 10, 10, 0.2);
}

.project-placeholder-text {
    position: relative;
    font-family: var(--font-montserrat);
    font-weight: 700;
    font-size: 1.5rem;
    color: rgba(255, 255, 255, 1.0);
}

.project-content {
    padding: 2rem;
}

.project-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 1rem;
}

.project-title {
    font-weight: 700;
    font-size: 1.25rem;
    color: var(--text-white);
    margin-bottom: 0.25rem;
}

.project-badge {
    background-color: rgba(34, 197, 94, 0.2);
    color: #22c55e;
    padding: 0.25rem 0.75rem;
    border-radius: 0.375rem;
    font-size: 0.75rem;
    font-weight: 700;
}

.project-stats {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 1rem;
    border-top: 1px solid var(--border-color);
    padding-top: 1rem;
}

.stat-val {
    display: block;
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text-white);
}

.stat-key {
    font-size: 0.75rem;
    color: #6b7280;
}

.slider-controls {
    display: flex;
    gap: 1rem;
}

.slider-btn {
    width: 3rem;
    height: 3rem;
    border-radius: 50%;
    border: 1px solid var(--border-color);
    background: var(--brand-grey);
    color: white;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.slider-btn:hover {
    border-color: var(--brand-orange);
    background: var(--brand-black);
}

.slider-btn:disabled {
    opacity: 0.3;
    cursor: not-allowed;
}

/* --- CONTACT --- */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
    align-items: center;
}

@media (min-width: 1024px) {
    .contact-grid {
        grid-template-columns: 1fr 1fr;
    }
}

.contact-info-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-top: 2rem;
}

.contact-link {
    display: flex;
    align-items: center;
    gap: 1rem;
    color: #9ca3af;
}

.contact-link:hover {
    color: white;
}

.icon-box {
    width: 3rem;
    height: 3rem;
    background-color: var(--brand-grey);
    border: 1px solid var(--border-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.contact-link:hover .icon-box {
    border-color: var(--brand-orange);
    background-color: var(--brand-black);
}

.icon-box svg {
    width: 1.25rem;
    height: 1.25rem;
    color: var(--brand-orange);
}

/* --- GLOBAL FORM STYLES (Radio, Input, Spacing) --- */
.form-container {
    background-color: var(--brand-grey);
    border: 1px solid var(--border-color);
    border-radius: 1.5rem;
    padding: 2.5rem;
    position: relative;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
}

.form-grid-2 {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
}

@media (min-width: 768px) {
    .form-grid-2 {
        grid-template-columns: 1fr 1fr;
    }
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-label {
    display: block;
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--brand-orange);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    font-family: var(--font-poppins);
    margin-bottom: 0.5rem;
}

.form-input,
.form-select,
.form-textarea {
    width: 100%;
    background-color: var(--brand-black);
    border: 1px solid var(--border-color);
    border-radius: 0.5rem;
    padding: 0.75rem 1rem;
    color: var(--text-white);
    font-family: var(--font-inter);
    transition: all 0.3s ease;
    appearance: none;
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
    outline: none;
    border-color: var(--brand-orange);
    box-shadow: 0 0 0 1px var(--brand-orange);
}

input::-webkit-outer-spin-button,
input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

input[type=number] {
    -moz-appearance: textfield;
    appearance: textfield;
}

.form-textarea {
    resize: vertical;
}

.select-wrapper {
    position: relative;
}

.select-wrapper::after {
    content: '';
    position: absolute;
    right: 1rem;
    top: 50%;
    transform: translateY(-50%);
    width: 0;
    height: 0;
    border-left: 5px solid transparent;
    border-right: 5px solid transparent;
    border-top: 5px solid white;
    pointer-events: none;
}

/* Radio Buttons - Standardized & Spaced */
.options-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
    /* GLOBAL GAP FIX - Added space between radio buttons */
}

@media (min-width: 640px) {
    .options-grid {
        grid-template-columns: 1fr 1fr;
    }
}

/* For any non-grid radio groups (fallback) */
.radio-group {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    /* Ensures vertical spacing */
    padding: 0.5rem 0;
}

.radio-label {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: var(--text-white);
    font-family: var(--font-inter);
    font-size: 0.95rem;
    cursor: pointer;
    background-color: rgba(255, 255, 255, 0.05);
    padding: 1rem 1.25rem;
    /* Generous clickable area */
    border-radius: 0.5rem;
    border: 1px solid transparent;
    transition: all 0.2s ease;
}

.radio-label:hover {
    background-color: rgba(255, 255, 255, 0.1);
    border-color: var(--brand-orange);
}

.radio-input {
    accent-color: var(--brand-orange);
    width: 1.2rem;
    height: 1.2rem;
    margin: 0;
    cursor: pointer;
}

#consultation-options {
    animation: slideDown 0.3s ease-out;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}


/* =========================================
   3. INTERNSHIP PAGES (internship/index.php & apply/index.php)
   ========================================= */

.role-card {
    background: #121212;
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 2rem;
    border-radius: 1rem;
    transition: all 0.3s ease;
}

.role-card:hover {
    border-color: var(--brand-orange);
    transform: translateY(-5px);
}

/* Full Page Form Container (FIXED IMBALANCE) */
.form-container-full {
    max-width: 800px;
    margin: 8rem auto 4rem auto;
    /* Increased top margin so it doesn't hit the navbar */
    background-color: #121212;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 1.5rem;
    padding: 2rem;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
}

/* Responsive Fix for Mobile */
@media (max-width: 768px) {
    .form-container-full {
        margin: 6rem 1rem 3rem 1rem;
        /* Margins to prevent edge touching on mobile */
        padding: 1.5rem;
    }
}

.form-header {
    text-align: center;
    margin-bottom: 3rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding-bottom: 2rem;
}

.form-title {
    font-family: var(--font-montserrat);
    font-weight: 800;
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: white;
}

.form-desc {
    color: var(--text-grey);
    line-height: 1.6;
    max-width: 600px;
    margin: 0 auto;
}

.form-section {
    margin-bottom: 2.5rem;
    background-color: #1a1a1a;
    padding: 1.5rem;
    border-radius: 1rem;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.section-header {
    font-family: var(--font-poppins);
    font-weight: 600;
    font-size: 1.1rem;
    color: var(--brand-orange);
    margin-bottom: 1.5rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.submit-btn {
    width: 100%;
    background-color: var(--brand-orange);
    color: white;
    font-family: var(--font-poppins);
    font-weight: 700;
    padding: 1rem;
    border: none;
    border-radius: 0.5rem;
    font-size: 1.1rem;
    cursor: pointer;
    transition: all 0.3s;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.submit-btn:hover {
    background-color: #e65100;
    transform: translateY(-2px);
}

.required-mark {
    color: var(--brand-orange);
    margin-left: 2px;
}

.disclaimer {
    font-size: 0.75rem;
    color: #6b7280;
    margin-top: 1.5rem;
    text-align: center;
}

/* =========================================
   4. LINK IN BIO PAGE (links/index.php)
   ========================================= */

body.links-page {
    display: flex;
    flex-direction: column;
    align-items: center;
    min-height: 100vh;
}

.links-wrapper {
    width: 100%;
    max-width: 480px;
    padding: 4rem 1.5rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.profile-wrapper {
    position: relative;
    margin-bottom: 1.5rem;
}

.profile-img-container {
    width: 110px;
    height: 110px;
    border-radius: 50%;
    padding: 4px;
    border: 2px solid var(--brand-orange);
    background: var(--brand-black);
}

.profile-img {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid var(--brand-black);
}

.verified-badge {
    position: absolute;
    bottom: 5px;
    right: 5px;
    background: var(--brand-orange);
    color: white;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid var(--brand-black);
}

.profile-name {
    font-family: var(--font-montserrat);
    font-weight: 700;
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    letter-spacing: -0.02em;
}

.profile-handle {
    color: var(--brand-orange);
    font-size: 0.875rem;
    font-family: var(--font-poppins);
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.profile-bio {
    color: var(--text-grey);
    font-size: 0.95rem;
    line-height: 1.5;
    margin-bottom: 2.5rem;
    max-width: 90%;
}

.links-container {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.link-card {
    position: relative;
    background-color: var(--brand-grey);
    border: 1px solid var(--border-color);
    padding: 1rem 1.25rem;
    border-radius: 99px;
    text-decoration: none;
    color: white;
    display: flex;
    align-items: center;
    justify-content: space-between;
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    overflow: hidden;
}

.link-card:hover {
    transform: translateY(-3px) scale(1.02);
    border-color: var(--brand-orange);
    background-color: #333;
    box-shadow: 0 10px 20px -5px rgba(255, 107, 0, 0.15);
}

.link-content {
    display: flex;
    align-items: center;
    gap: 1rem;
    z-index: 2;
}

.link-icon {
    font-size: 1.25rem;
    width: 24px;
    text-align: center;
}

.link-text {
    font-family: var(--font-poppins);
    font-weight: 600;
    font-size: 0.95rem;
}

.link-card.featured {
    background: linear-gradient(135deg, var(--brand-orange) 0%, #e65100 100%);
    border: none;
    animation: pulse-border 2s infinite;
}

.link-card.featured .link-text {
    color: white;
}

.action-icon {
    opacity: 0.5;
    transition: opacity 0.3s;
}

.link-card:hover .action-icon {
    opacity: 1;
}

.socials-row {
    display: flex;
    gap: 1.5rem;
    margin-top: 3rem;
    margin-bottom: 2rem;
}

.social-icon {
    color: var(--text-grey);
    transition: all 0.3s ease;
}

.social-icon:hover {
    color: var(--brand-orange);
    transform: scale(1.1);
}

.social-icon svg {
    width: 24px;
    height: 24px;
}


/* =========================================
   5. INTERNSHIP APPLICATION FORM (Multi-step)
   ========================================= */

/* Progress Bar */
.progress-container {
    margin-bottom: 2.5rem;
}

.progress-text {
    display: flex;
    justify-content: space-between;
    font-size: 0.85rem;
    color: #9CA3AF;
    margin-bottom: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.05em;
}

.progress-bar-bg {
    width: 100%;
    height: 6px;
    background-color: #2a2a2a;
    border-radius: 99px;
    overflow: hidden;
}

.progress-bar-fill {
    height: 100%;
    background: linear-gradient(90deg, #FF6B00, #ff9e40);
    width: 0%;
    transition: width 0.4s ease;
    border-radius: 99px;
}

/* Steps Animation */
.form-step {
    display: none;
    animation: slideUp 0.4s ease-out;
}

.form-step.active {
    display: block;
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(15px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Form Headers */
.form-step-header {
    color: var(--brand-orange);
    font-weight: 700;
    margin-bottom: 1.5rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-size: 0.95rem;
    border-left: 3px solid var(--brand-orange);
    padding-left: 12px;
    display: flex;
    align-items: center;
}

/* Specific Grid for short options (Yes/No) */
.options-grid.short-options {
    grid-template-columns: 1fr 1fr;
}

@media (max-width: 640px) {
    .options-grid.short-options {
        grid-template-columns: 1fr 1fr;
    }
}

/* Navigation Buttons */
.form-navigation {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    margin-top: 2.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 1.5rem;
}

.btn-nav {
    padding: 0.9rem 2rem;
    border-radius: 0.5rem;
    font-weight: 600;
    font-family: 'Poppins', sans-serif;
    cursor: pointer;
    border: none;
    transition: 0.3s;
    font-size: 1rem;
}

.btn-prev {
    background: transparent;
    border: 1px solid #333;
    color: #9CA3AF;
}

.btn-prev:hover {
    background: #222;
    border-color: #555;
    color: white;
}

.btn-next {
    background: var(--brand-orange);
    color: white;
    margin-left: auto;
}

.btn-next:hover {
    background: #e65100;
    transform: translateY(-1px);
}

.btn-submit {
    background: #22c55e;
    color: white;
    width: 100%;
    display: none;
}

.btn-submit:hover {
    background: #16a34a;
    transform: translateY(-1px);
}

/* Success Card */
.success-card {
    text-align: center;
    padding: 2rem 0;
}

.success-icon {
    width: 80px;
    height: 80px;
    background: rgba(34, 197, 94, 0.1);
    color: #22c55e;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem auto;
    border: 2px solid #22c55e;
}

.quote-box {
    background: #1a1a1a;
    padding: 2rem;
    border-radius: 1rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
    margin: 2rem auto;
    font-style: italic;
    color: #d1d5db;
    position: relative;
    max-width: 500px;
}

.quote-box::before {
    content: '"';
    font-size: 4rem;
    position: absolute;
    top: -10px;
    left: 10px;
    color: rgba(255, 255, 255, 0.05);
    font-family: serif;
}

/* FIX: Smoother Floating Animation (Corrected) */
@keyframes float {
    0% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-10px);
    }

    100% {
        transform: translateY(0px);
    }
}

/* FIX: Responsive Link in Bio */
@media (max-width: 480px) {
    .links-wrapper {
        padding: 2rem 1rem;
    }

    .profile-name {
        font-size: 1.25rem;
    }

    .link-card {
        padding: 0.85rem 1rem;
    }
}

/* =========================================
   3. REFACTORED UTILITIES (Centralization)
   ========================================= */

/* Footer Utilities */
.footer-brand-dot {
    color: var(--brand-orange);
}

.footer-tagline {
    margin-top: 0.25rem;
}

.footer-links-wrapper {
    margin-bottom: 0.75rem;
    display: flex;
    gap: 1.5rem;
    justify-content: center;
}

.footer-inner-link {
    color: white;
    font-size: 0.875rem;
    text-decoration: none;
    font-weight: 500;
}

.footer-inner-link:hover {
    color: var(--brand-orange);
}

.social-media-container {
    display: flex;
    gap: 1.5rem;
}

.footer-center-container {
    text-align: center;
}

/* Hero Utilities */
.hero-grid-relative {
    position: relative;
    z-index: 10;
}

.hero-btn-group {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.hero-svg-icon {
    width: 20px;
    height: 20px;
}

.glass-card-wrapper {
    position: relative;
    margin-top: 2rem;
}

/* Expertise Section BG */
.expertise-bg-grid {
    position: absolute;
    inset: 0;
    background-image: radial-gradient(#333 1px, transparent 1px);
    background-size: 20px 20px;
    opacity: 0.1;
    pointer-events: none;
}


/* --- SOCIAL PROOF NOTIFICATIONS (Modern) --- */
.sp-notification.mode-modern {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    background: #ffffff;
    /* White Card */
    color: #111;
    /* Dark Text */
    padding: 16px;
    border-radius: 12px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
    /* Soft premium shadow */
    font-family: 'Inter', sans-serif;
    min-width: 320px;
    max-width: 360px;
    z-index: 2147483647;
    position: fixed;
    /* Ensure it floats */
}

[data-theme="dark"] .sp-notification.mode-modern {
    background: #1a1a1a;
    color: #fff;
    border-color: #333;
}

.sp-modern-img-wrapper {
    flex-shrink: 0;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    overflow: hidden;
    border: 2px solid #eee;
}

.sp-modern-img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.sp-modern-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.sp-modern-title {
    font-size: 14px;
    font-weight: 700;
    line-height: 1.4;
    color: #000;
}

[data-theme="dark"] .sp-modern-title {
    color: #fff;
}

.sp-modern-subtitle {
    font-size: 13px;
    color: #666;
}

[data-theme="dark"] .sp-modern-subtitle {
    color: #aaa;
}

.sp-verified-badge {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    margin-top: 6px;
    font-size: 12px;
    font-weight: 600;
    color: #10B981;
    /* Emerald Green */
    background: rgba(16, 185, 129, 0.1);
    padding: 2px 8px;
    border-radius: 99px;
    width: fit-content;
}

.sp-verified-icon {
    width: 12px;
    height: 12px;
    fill: currentColor;
}

.sp-close-modern {
    position: absolute;
    top: 8px;
    right: 8px;
    color: #ccc;
    cursor: pointer;
    font-size: 18px;
    line-height: 1;
}

.sp-close-modern:hover {
    color: #000;
}

/* =========================================
   INTERNSHIP PAGE SPECIFIC STYLES
   ========================================= */

/* --- UTILITIES --- */
.text-brand {
    color: var(--brand-orange);
}

.bg-grey {
    background-color: var(--brand-black);
    /* Fallback */
}

/* --- BUTTONS --- */
.btn-xl {
    padding: 1rem 2.5rem;
    font-size: 1.125rem;
    font-weight: 600;
    border-radius: 9999px;
    transition: all 0.3s ease;
}

.btn-xl:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px -5px rgba(255, 107, 0, 0.4);
}

.btn-glow {
    position: relative;
    z-index: 1;
}

.btn-glow::before {
    content: "";
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(45deg, #FF6B00, #ff9e40, #FF6B00);
    z-index: -1;
    filter: blur(10px);
    opacity: 0;
    transition: opacity 0.3s ease-in-out;
    border-radius: inherit;
}

.btn-glow:hover::before {
    opacity: 0.7;
    animation: glowing 2s linear infinite;
}

@keyframes glowing {
    0% {
        background-position: 0 0;
    }

    50% {
        background-position: 400% 0;
    }

    100% {
        background-position: 0 0;
    }
}

/* --- BADGES --- */
.availability-badge {
    margin: 0 auto 2rem auto;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.availability-dot {
    height: 8px;
    width: 8px;
    background: #22c55e;
    border-radius: 50%;
    box-shadow: 0 0 10px #22c55e;
}

.availability-label {
    color: #d1d5db;
    letter-spacing: 1px;
    font-size: 0.8rem;
}

.earning-badge {
    display: inline-block;
    background: rgba(255, 107, 0, 0.15);
    color: var(--brand-orange);
    font-size: 0.75rem;
    font-weight: 700;
    padding: 0.35rem 0.75rem;
    border-radius: 99px;
    margin-top: auto;
    align-self: flex-start;
    border: 1px solid rgba(255, 107, 0, 0.3);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.price-badge {
    background: rgba(34, 197, 94, 0.15);
    color: #4ade80;
    font-weight: 700;
    padding: 4px 10px;
    border-radius: 6px;
    font-size: 0.8rem;
    display: inline-block;
    margin-bottom: 1rem;
    letter-spacing: 0.02em;
}

/* --- HERO SECTION --- */
.hero-wrapper {
    min-height: 90vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    padding-top: 4rem;
    padding-bottom: 4rem;
}

.hero-main-title {
    margin-bottom: 1.5rem;
    font-size: clamp(3rem, 6vw, 5.5rem);
    line-height: 1.1;
    letter-spacing: -0.02em;
}

.hero-title-highlight {
    color: #121212;
    -webkit-text-stroke: 2px var(--brand-orange);
    paint-order: stroke fill;
    position: relative;
    white-space: nowrap;
    display: block;
    width: fit-content;
    margin: 0 auto;
    font-size: 1.25em;
    font-weight: 800;
    filter: drop-shadow(0 0 5px rgba(255, 107, 0, 0.3));
}

.hero-title-svg {
    position: absolute;
    bottom: -12px;
    left: 0;
    width: 100%;
    height: 12px;
}

.hero-description {
    margin: 0 auto 2.5rem auto;
    max-width: 750px;
    font-size: 1.25rem;
    line-height: 1.6;
    color: #9CA3AF;
    border: none;
    padding: 0;
}

.hero-text-highlight {
    color: white;
    font-weight: 600;
}

.hero-social-proof {
    margin-top: 3rem;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 12px;
    font-size: 0.95rem;
    color: #9ca3af;
}

.students-count {
    color: white;
    font-weight: 700;
}

/* --- CARDS & GRIDS --- */
.glass-card {
    background: rgba(20, 20, 20, 0.6);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    padding: 2rem;
    transition: all 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}

.glass-card:hover {
    border-color: var(--brand-orange);
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.logistics-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
    text-align: left;
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2.5rem;
    max-width: 1000px;
    margin: 0 auto;
}

.pricing-card {
    background: var(--brand-black);
    /* Dark background for contrast */
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    padding: 2.5rem;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.pricing-card:hover {
    border-color: var(--brand-orange);
    transform: translateY(-5px);
    box-shadow: 0 10px 40px -10px rgba(0, 0, 0, 0.3);
}

.pricing-card.featured {
    background: linear-gradient(145deg, #1a1a1a 0%, #0a0a0a 100%);
    border: 1px solid var(--brand-orange);
    box-shadow: 0 0 30px rgba(255, 107, 0, 0.1);
}

.featured-label {
    position: absolute;
    top: 0;
    right: 0;
    background: var(--brand-orange);
    color: white;
    font-size: 0.75rem;
    font-weight: 700;
    padding: 0.25rem 1rem;
    border-bottom-left-radius: 12px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.check-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.check-list li {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 1rem;
    color: #d1d5db;
    font-size: 0.95rem;
}

.check-list li svg {
    color: var(--brand-orange);
    flex-shrink: 0;
}

.role-card .service-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: white;
    margin-bottom: 0.75rem;
    font-family: var(--font-montserrat);
}

.role-card .service-desc {
    font-size: 1rem;
    color: #d1d5db;
    line-height: 1.6;
    margin-bottom: 1.5rem;
    flex-grow: 1;
}

.pricing-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 16px;
    padding: 2.5rem;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.pricing-card.featured {
    background: linear-gradient(145deg, rgba(255, 107, 0, 0.05), rgba(18, 18, 18, 0.95));
    border: 1px solid rgba(255, 107, 0, 0.4);
}

.pricing-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px -10px rgba(0, 0, 0, 0.6);
}

.featured-label {
    position: absolute;
    top: 0;
    right: 0;
    background: var(--brand-orange);
    color: white;
    padding: 6px 16px;
    font-size: 0.75rem;
    font-weight: 700;
    border-bottom-left-radius: 12px;
    letter-spacing: 0.05em;
}

.stipend-amount {
    font-size: 2.25rem;
    font-weight: 800;
    color: white;
    font-family: var(--font-montserrat);
}

.check-list li {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 1rem;
    color: #d1d5db;
    font-size: 1rem;
}

.check-icon {
    color: #22c55e;
    flex-shrink: 0;
}

.testimonial-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
    margin-top: 3rem;
}

/* --- SECTION SPECIFICS --- */
.paradox-label {
    font-size: 1rem;
    color: var(--brand-orange);
    font-weight: 700;
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.paradox-title {
    font-size: clamp(2.5rem, 4vw, 3rem);
    line-height: 1.1;
    margin-bottom: 1.5rem;
    font-family: var(--font-montserrat);
    font-weight: 800;
}

.paradox-subtitle {
    color: #6b7280;
    font-size: 0.7em;
}

.paradox-text {
    color: #9ca3af;
    font-size: 1.1rem;
    line-height: 1.7;
    margin-bottom: 2rem;
}

.founding-batch-card {
    align-items: center;
    text-align: center;
    max-width: 900px;
    margin: 0 auto;
    border: 2px solid rgba(255, 107, 0, 0.2);
    background: linear-gradient(180deg, rgba(20, 20, 20, 0.6) 0%, rgba(20, 20, 20, 0.9) 100%);
}

.founding-batch-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(34, 197, 94, 0.1);
    color: #4ade80;
    padding: 0.75rem 2rem;
    border-radius: 99px;
    font-weight: 600;
    border: 1px solid rgba(34, 197, 94, 0.2);
}

.cta-bar-card {
    padding: 4rem 2rem;
    position: relative;
    overflow: hidden;
    border-color: var(--brand-orange);
    background: #121212;
}

.cta-bar-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(255, 107, 0, 0.15), transparent 70%);
    z-index: 0;
    pointer-events: none;
}

/* --- RESPONSIVE MEDIA QUERIES --- */
@media(min-width: 640px) {
    .logistics-grid {
        grid-template-columns: 1fr 1fr;
        text-align: center;
    }
}

@media (max-width: 768px) {
    .hero-main-title {
        font-size: 3rem !important;
    }

    .role-card {
        padding: 1.5rem;
    }

    .container {
        padding-left: 1.5rem;
        padding-right: 1.5rem;
    }

    .cta-bar-card {
        padding: 3rem 1.5rem;
    }

    .paradox-title {
        font-size: 2.25rem;
    }
}

/* =========================================
   GLOBAL RESPONSIVE LAYOUT SYSTEM (GSC Optimized)
   ========================================= */

/* --- Layout Wrappers --- */
.section {
    width: 100%;
    padding-block: 4rem;
    /* Mobile default */
}

@media (min-width: 1024px) {
    .section {
        padding-block: 6rem;
        /* Desktop default */
    }
}

.main-content {
    min-height: 60vh;
    display: flex;
    flex-direction: column;
}

/* --- The Grid System (Row > Col) --- */
.row {
    display: flex;
    flex-wrap: wrap;
    margin-right: -15px;
    margin-left: -15px;
}

/* Base Column Class */
[class^="col-"],
[class*=" col-"] {
    position: relative;
    width: 100%;
    /* Default to full width (Mobile First) */
    padding-right: 15px;
    padding-left: 15px;
}

/* Utilities */
.img-fluid {
    max-width: 100%;
    height: auto;
    display: block;
    /* Prevents inline gap */
}

.mx-auto {
    margin-left: auto;
    margin-right: auto;
}

/* Desktop Grid (min-width: 1024px) */
@media (min-width: 1024px) {
    .col-lg-4 {
        flex: 0 0 33.333333%;
        max-width: 33.333333%;
    }

    .col-lg-6 {
        flex: 0 0 50%;
        max-width: 50%;
    }

    .col-lg-8 {
        flex: 0 0 66.666667%;
        max-width: 66.666667%;
    }

    .col-lg-12 {
        flex: 0 0 100%;
        max-width: 100%;
    }
}

/* Tablet Grid (min-width: 768px) */
@media (min-width: 768px) {
    .col-md-6 {
        flex: 0 0 50%;
        max-width: 50%;
    }
}

/* =========================================
   MOBILE ALIGNMENT OVERRIDES (Center Align < 768px)
   ========================================= */
@media (max-width: 768px) {

    /* --- HERO SECTION --- */
    .hero-grid {
        text-align: center;
    }

    .hero-content {
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .hero-title {
        font-size: 2.5rem;
        line-height: 1.2;
    }

    .hero-desc {
        border-left: none;
        padding-left: 0;
        margin-bottom: 2rem;
        text-align: center;
    }

    .hero-btn-group {
        justify-content: center;
        display: flex;
        gap: 1rem;
        flex-wrap: wrap;
    }

    /* --- ABOUT SECTION --- */
    .about-grid {
        text-align: center;
    }

    .section-divider {
        margin: 0 auto 1.5rem auto;
    }

    .tag-container {
        justify-content: center;
    }

    /* --- PORTFOLIO SECTION --- */
    .section-header {
        align-items: center;
        text-align: center;
    }

    .slider-controls {
        justify-content: center;
        margin-top: 1rem;
    }

    /* --- CONTACT SECTION --- */
    .contact-grid {
        text-align: center;
    }

    .contact-info-list {
        align-items: center;
    }

    .contact-link {
        justify-content: center;
    }

    /* --- GENERAL ALIGNMENT --- */
    .subtitle {
        display: block;
        margin-bottom: 0.5rem;
    }

    /* FIX: Ensure List/Icon Text remains left-aligned in centered containers */
    .contact-link div,
    .feature-item,
    .check-list li {
        text-align: left;
    }
}

/* =========================================
   LIGHT MODE FIXES (Visibility)
   ========================================= */

/* FIX: Portfolio Slider Buttons Visibility in Light Mode */
[data-theme="light"] .slider-btn {
    color: #111827 !important;
    border-color: #d1d5db !important;
    background-color: white !important;
}

[data-theme="light"] .slider-btn:hover {
    background-color: var(--brand-orange) !important;
    color: white !important;
    border-color: var(--brand-orange) !important;
}

/* FIX: Mobile Menu Links Visibility in Light Mode */
[data-theme="light"] .mobile-menu .nav-link {
    color: #111827 !important;
}

[data-theme="light"] .mobile-menu .nav-link:hover {
    color: var(--brand-orange) !important;
}

/* FIX: Section Title Visibility in Light Mode */
.section-light .section-title {
    color: #111827 !important;
}

/* =========================================
   FOOTER & FEATURES MOBILE FIXES
   ========================================= */

/* FIX: Footer Visibility (Force White on Black) */
.footer,
.footer p,
.footer a,
.footer spanning {
    color: white !important;
}

.footer-logo span {
    color: var(--brand-orange) !important;
    /* Keep brand dot orange */
}

/* FIX: Footer Links Layout on Mobile */
@media (max-width: 768px) {
    .footer-links-wrapper {
        display: flex;
        flex-direction: column;
        gap: 1rem;
    }

    .footer-content {
        gap: 2.5rem;
        /* More spacing between sections */
    }
}

/* FIX: "Why Work With Me" (Features) Alignment on Mobile */
@media (max-width: 768px) {
    .glass-card h3 {
        text-align: center;
    }

    .feature-item {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 0.5rem;
    }

    .feature-number {
        margin-right: 0;
        margin-bottom: 0.5rem;
    }

    /* Ensure feature text is center aligned specifically */
    .feature-item div {
        text-align: center !important;
    }
}

/* FIX: Dark Section for Tools */
.section-dark {
    background-color: #0A0A0A !important;
    color: white !important;
}

.section-dark .section-title {
    color: white !important;
}

/* --- MODAL STYLES (Migrated from Downloads) --- */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(5px);
    z-index: 1000;
    display: none;
    align-items: center;
    justify-content: center;
}

.modal-overlay.active {
    display: flex;
    animation: fadeIn 0.3s;
}

.modal-card {
    background: #111;
    border: 1px solid #333;
    width: 90%;
    max-width: 450px;
    border-radius: 16px;
    overflow: hidden;
    position: relative;
}

.modal-header {
    background: linear-gradient(135deg, #1a1a1a, #0a0a0a);
    padding: 1.5rem;
    text-align: center;
    border-bottom: 1px solid #222;
}

.modal-body {
    padding: 2rem;
}

.modal-body .form-group {
    margin-bottom: 1rem;
}

.modal-body .form-label {
    display: block;
    color: #aaa;
    font-size: 0.85rem;
    margin-bottom: 0.4rem;
}

.modal-body .form-input,
.modal-body .form-select {
    width: 100%;
    padding: 0.8rem;
    background: #080808;
    border: 1px solid #333;
    color: white;
    border-radius: 8px;
    transition: 0.2s;
}

.modal-body .form-input:focus {
    border-color: var(--brand-orange);
    outline: none;
}

.trust-row {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-top: 1.5rem;
    font-size: 0.75rem;
    color: #666;
}

.trust-item {
    display: flex;
    align-items: center;
    gap: 0.3rem;
}

.close-modal {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: none;
    border: none;
    color: #666;
    cursor: pointer;
    font-size: 1.5rem;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

/* --- DOWNLOADS GRID STYLES (Restored) --- */
.download-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.resource-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 16px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: all 0.3s ease;
}

.resource-card:hover {
    transform: translateY(-5px);
    border-color: var(--brand-orange);
    background: rgba(255, 255, 255, 0.05);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.res-img {
    height: 200px;
    background-size: cover;
    background-position: center;
    background-color: #222;
}

.res-content {
    padding: 1.5rem;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.res-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: white;
    margin-bottom: 0.5rem;
    line-height: 1.3;
}

.res-desc {
    color: var(--text-grey);
    font-size: 0.95rem;
    margin-bottom: 1.5rem;
    flex-grow: 1;
    line-height: 1.6;
}

/* --- DOWNLOADS PAGE LIGHT MODE OVERRIDES (Centralized) --- */
[data-theme='light'] body.downloads-page {
    /* Added specific class specificity if needed, but generic works */
    background-color: #f9fafb;
    color: #111827;
}

[data-theme='light'] .hero-section {
    background: radial-gradient(circle at center, rgba(255, 107, 0, 0.05) 0%, transparent 60%);
}

[data-theme='light'] .hero-section h1 {
    color: #111827 !important;
}

[data-theme='light'] .hero-section p {
    color: #4b5563 !important;
}

[data-theme='light'] .resource-card {
    background: #ffffff;
    border-color: #e5e7eb;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.05);
}

[data-theme='light'] .resource-card:hover {
    border-color: var(--brand-orange);
    transform: translateY(-5px);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
}

[data-theme='light'] .res-title {
    color: #111827;
}

[data-theme='light'] .res-desc {
    color: #4b5563;
}

/* Modal Light Mode */
[data-theme='light'] .modal-card {
    background: #ffffff;
    border-color: #e5e7eb;
}

[data-theme='light'] .modal-header {
    background: #f9fafb;
    border-bottom-color: #e5e7eb;
}

[data-theme='light'] .modal-header h3 {
    color: #111827 !important;
}

[data-theme='light'] .form-input,
[data-theme='light'] .form-select {
    background: #ffffff;
    border-color: #d1d5db;
    color: #111827;
}

[data-theme='light'] .form-input:focus {
    border-color: var(--brand-orange);
    outline: none;
}

/* Button Outline (Global) */
.btn-outline {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 999px;
    color: white;
    transition: all 0.3s;
}

.btn-outline:hover {
    border-color: var(--brand-orange);
    color: var(--brand-orange);
    background: rgba(255, 107, 0, 0.05);
}

[data-theme='light'] .btn-outline {
    border-color: #d1d5db;
    color: #111827;
}

[data-theme='light'] .btn-outline:hover {
    border-color: var(--brand-orange);
    color: var(--brand-orange);
    background: rgba(255, 107, 0, 0.05);
}

/* --- CRITICAL FIXES FOR DARK THEME & LAYOUT --- */

/* Force Hero Text White (was invisible/black) */
.hero-section h1 {
    color: #ffffff !important;
}

.hero-section p {
    color: #d1d5db !important;
}

/* Prevent Double Footer (Hide subsequent footers if accidentally duplicated) */
.footer~.footer {
    display: none !important;
}

/* Ensure Mobile Menu Links are visible in Dark Mode */
.mobile-menu .btn-secondary {
    color: #ffffff;
    border-color: rgba(255, 255, 255, 0.2);
}


/* --- DOWNLOADS PAGE HERO FIX --- */
/* Added padding to clear Fixed Navbar */
.hero-section {
    padding-top: 160px;
    padding-bottom: 60px;
    text-align: center;
    position: relative;
    z-index: 1;
}

/* =========================================
   CONTACT PAGE STYLES
   ========================================= */

/* Main Layout */
.page-wrapper {
    padding-top: 100px;
}

.page-header {
    text-align: center;
    margin-bottom: 4rem;
}

.page-title {
    margin-bottom: 1rem;
}

.page-desc {
    max-width: 700px;
    margin: 0 auto;
    color: var(--text-grey);
}

/* Contact Grid & Info */
.contact-section-title {
    margin-bottom: 2rem;
    text-align: left;
}

.contact-section-heading {
    font-size: 1.5rem;
}

.contact-info-list {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    align-items: flex-start;
}

.contact-link-wrapper {
    display: flex;
    align-items: center;
    gap: 1rem;
    justify-content: flex-start;
    padding: 1rem;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border-color);
    width: 100%;
    transition: all 0.3s ease;
}

.contact-link-wrapper:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: var(--brand-orange);
    transform: translateY(-2px);
}

.contact-label {
    font-family: var(--font-poppins);
    font-weight: 700;
    color: var(--text-white);
    margin-bottom: 0.25rem;
}

.contact-value {
    font-size: 0.875rem;
    color: var(--text-grey);
}

/* Form Styles Override (if needed beyond global) */
.btn-full {
    width: 100%;
}


/* =========================================
   TOOLS PAGE STYLES (tools/index.php)
   ========================================= */

.tool-category-badge {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.1);
    color: #aaa;
    font-size: 0.8rem;
    margin-bottom: 0.5rem;
}

.tool-category-badge.auditor {
    background: rgba(239, 68, 68, 0.2);
    color: #ef4444;
}

.role-card {
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(255, 255, 255, 0.05);
    padding: 1.5rem;
    border-radius: 16px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 100%;
    text-decoration: none;
    display: block;
}

.role-card:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.08);
    border-color: var(--brand-orange);
    box-shadow: 0 10px 20px -5px rgba(0, 0, 0, 0.3);
}

.section-header {
    margin-bottom: 2rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding-bottom: 1rem;
    display: flex;
    justify-content: space-between;
    align-items: end;
}

.section-header h2 {
    font-size: 1.75rem;
    color: var(--text-white);
    margin: 0;
}

.section-header span {
    color: var(--text-grey);
    font-size: 0.9rem;
}

.tools-grid {
    display: grid;
    gap: 2rem;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

.tool-card-title {
    color: var(--text-white);
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
}

.tool-card-desc {
    color: var(--text-grey);
    font-size: 0.9rem;
}

.tool-card-cta {
    margin-top: 1rem;
    color: var(--brand-orange);
    font-size: 0.9rem;
    font-weight: 600;
}

@media (max-width: 640px) {
    .section-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
    }
}

/* Light Mode Overrides */
[data-theme='light'] .tool-category-badge {
    background: rgba(0, 0, 0, 0.05);
    color: #6b7280;
}

[data-theme='light'] .role-card {
    background: #ffffff;
    border: 1px solid #e5e7eb;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
}

[data-theme='light'] .role-card:hover {
    border-color: var(--brand-orange);
    box-shadow: 0 10px 15px -3px rgba(255, 107, 0, 0.1);
}

[data-theme='light'] .section-header {
    border-bottom-color: #e5e7eb;
}


/* =========================================
   DOWNLOADS PAGE STYLES (downloads/index.php)
   ========================================= */

.hero-section {
    padding-top: 100px;
    text-align: center;
    margin-bottom: 4rem;
}

.hero-title-large {
    font-size: clamp(2rem, 5vw, 3rem);
    font-weight: 700;
    color: white;
    margin-bottom: 1rem;
    line-height: 1.2;
}

.hero-subtitle {
    max-width: 600px;
    margin: 0 auto;
    color: #aaa;
    font-size: 1.1rem;
    line-height: 1.5;
}

/* Filter Pills */
.filter-nav {
    display: flex;
    justify-content: center;
    gap: 0.75rem;
    margin-bottom: 3rem;
    flex-wrap: wrap;
}

.filter-btn {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #9ca3af;
    padding: 0.5rem 1.25rem;
    border-radius: 999px;
    cursor: pointer;
    transition: all 0.3s;
}

.filter-btn:hover,
.filter-btn.active {
    background: var(--brand-orange);
    color: white;
    border-color: var(--brand-orange);
}

[data-theme='light'] .filter-btn {
    background: white;
    border-color: #e5e7eb;
    color: #4b5563;
}

[data-theme='light'] .filter-btn:hover,
[data-theme='light'] .filter-btn.active {
    background: var(--brand-orange);
    color: white;
    border-color: var(--brand-orange);
}

/* Resource Card Styles */
.res-img-bg {
    background-size: cover;
    background-position: center;
    /* height/width defined elsewhere or add here if missing */
}

.res-category-badge {
    font-size: 0.7rem;
    color: var(--brand-orange);
    text-transform: uppercase;
    font-weight: 700;
    display: block;
    margin-bottom: 0.5rem;
}

.btn-full-width {
    text-align: center;
    width: 100%;
}

.modal-header-title {
    margin: 0;
    color: white;
}

.modal-header-subtitle {
    margin: 0.5rem 0 0;
    color: #888;
    font-size: 0.9rem;
}

.trust-row {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin-top: 1rem;
    font-size: 0.8rem;
    color: #666;
}


/* =========================================
   BLOG POST STYLES (blog/view.php)
   ========================================= */

/* Reading Progress Bar */
#reading-progress-bar {
    position: fixed;
    top: 0;
    left: 0;
    width: 0%;
    height: 4px;
    background: var(--brand-orange);
    z-index: 10000;
    transition: width 0.1s;
}

/* Post Header */
.post-header {
    padding: 8rem 0 4rem;
    position: relative;
    background: linear-gradient(to bottom, #0a0a0a, #111);
    text-align: center;
}

.post-category {
    color: var(--brand-orange);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.9rem;
    margin-bottom: 1rem;
    display: inline-block;
}

.post-title {
    font-family: var(--font-montserrat);
    font-size: clamp(2rem, 5vw, 2.5rem);
    font-weight: 700;
    color: white;
    line-height: 1.2;
    max-width: 900px;
    margin: 0 auto 1.5rem;
}

.post-meta {
    color: #6b7280;
    font-size: 0.95rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1.5rem;
}

/* Post Content */
.post-content-wrapper {
    max-width: 800px;
    margin: -3rem auto 4rem;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 16px;
    backdrop-filter: blur(10px);
    padding: 3rem;
    position: relative;
    z-index: 10;
}

.post-image {
    width: 100%;
    height: 400px;
    object-fit: cover;
    border-radius: 12px;
    margin-bottom: 2rem;
}

.entry-content {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #e5e7eb;
}

.entry-content p {
    margin-bottom: 1.5rem;
}

.entry-content h2 {
    color: white;
    margin-top: 2.5rem;
    margin-bottom: 1rem;
    font-family: var(--font-montserrat);
}

.back-link {
    display: table;
    margin: 0 auto 2rem auto;
    align-items: center;
    color: var(--text-grey);
    text-decoration: none;
    transition: 0.3s;
}

.back-link:hover {
    color: var(--brand-orange);
    transform: translateX(-5px);
}

@media (max-width: 768px) {
    .post-content-wrapper {
        padding: 1.5rem;
        margin-top: -2rem;
    }

    .post-title {
        padding: 0 1rem;
    }

    .post-image {
        height: 250px;
    }
}

/* Social Sidebar */
.social-sidebar-container {
    position: fixed;
    left: 2rem;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
    gap: 1rem;
    z-index: 100;
}

.social-side-btn {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s;
    cursor: pointer;
}

.social-side-btn:hover {
    transform: scale(1.1);
}

.social-side-btn.wa:hover {
    background: #25D366;
    border-color: #25D366;
}

.social-side-btn.copy:hover {
    background: var(--brand-orange);
    border-color: var(--brand-orange);
}

@media (max-width: 1024px) {
    .social-sidebar-container {
        left: 0;
        bottom: 0;
        top: auto;
        transform: none;
        width: 100%;
        flex-direction: row;
        justify-content: center;
        background: rgba(10, 10, 10, 0.95);
        padding: 1rem;
        backdrop-filter: blur(10px);
        border-top: 1px solid rgba(255, 255, 255, 0.1);
    }
}

/* Comments */
.comment-card {
    background: rgba(255, 255, 255, 0.03);
    border-radius: 12px;
    padding: 1.5rem;
    margin-bottom: 1rem;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.comment-author {
    color: white;
}

.comment-date {
    color: var(--text-grey);
    font-size: 0.8rem;
}

.comment-body {
    color: #d1d5db;
    line-height: 1.6;
}

.comment-form-wrapper {
    background: rgba(255, 255, 255, 0.02);
    padding: 2rem;
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.comment-header {
    display: flex;
    justify-content: space-between;
    margin-bottom: 0.5rem;
}

.comment-input-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    margin-bottom: 1rem;
}

.comment-input,
.comment-textarea {
    width: 100%;
    padding: 0.8rem;
    background: rgba(0, 0, 0, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    color: white;
}

.comment-textarea {
    margin-bottom: 1rem;
    resize: vertical;
}

/* Tribe Buttons */
.tribe-btn {
    border: none !important;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 0.8rem 1.5rem;
    border-radius: 50px;
}

.tribe-btn.white {
    background-color: #25D366 !important;
    color: white !important;
}

.tribe-btn.white:hover {
    background-color: #20BD5A !important;
}

.tribe-btn.transparent-btn {
    background-color: transparent !important;
    color: #ffffff !important;
    border: 1px solid rgba(255, 255, 255, 0.5) !important;
}

.tribe-btn:hover {
    transform: translateY(-2px);
    opacity: 0.95;
}

/* Light Mode Overrides for Blog */
[data-theme='light'] .post-header {
    background: #f3f4f6;
}

[data-theme='light'] .post-title {
    color: #111827;
}

[data-theme='light'] .post-content-wrapper {
    background: #ffffff;
    border-color: #e5e7eb;
    color: #374151;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
}

[data-theme='light'] .entry-content {
    color: #374151;
}

[data-theme='light'] .entry-content h2 {
    color: #111827;
}

[data-theme='light'] .social-side-btn {
    background: #fff;
    color: #333;
    border-color: #e5e7eb;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

[data-theme='light'] .social-sidebar-container {
    background: rgba(255, 255, 255, 0.95);
    border-top-color: #e5e7eb;
}

[data-theme='light'] .comment-card {
    background: #ffffff;
    border-color: #e5e7eb;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
}

[data-theme='light'] .comment-author {
    color: #111827;
}

[data-theme='light'] .comment-body {
    color: #4b5563;
}

[data-theme='light'] .comment-form-wrapper {
    background: #f9fafb;
    border-color: #e5e7eb;
}

[data-theme='light'] .comment-form-wrapper h4 {
    color: #111827 !important;
}

[data-theme='light'] .comment-input,
[data-theme='light'] .comment-textarea {
    background: #ffffff;
    border-color: #d1d5db;
    color: #111827;
}

[data-theme='light'] .tribe-btn.transparent-btn {
    color: #111 !important;
    border-color: #333 !important;
}


/* =========================================
   BLOG HELPER STYLES
   ========================================= */

.container-narrow {
    max-width: 800px;
    margin: 3rem auto;
}

.container-medium {
    max-width: 1000px;
    margin-bottom: 4rem;
}

.section-title-bordered {
    font-size: 1.5rem;
    margin-bottom: 2rem;
    border-left: 4px solid var(--brand-orange);
    padding-left: 1rem;
}

/* Newsletter Section */
.newsletter-section {
    margin-bottom: 4rem;
}

.newsletter-container {
    max-width: 600px;
    margin: 0 auto;
    text-align: center;
}

.newsletter-title {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.newsletter-desc {
    color: var(--text-grey);
    margin-bottom: 2rem;
}

.newsletter-form {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    justify-content: center;
}

.newsletter-input {
    flex: 1;
    min-width: 250px;
    border: 1px solid #333;
    color: white;
    background: transparent;
}


/* =========================================
   HOME PAGE REFACTOR (template_home.php)
   ========================================= */

.about-stack-title {
    font-family: var(--font-poppins);
    font-weight: 700;
    color: var(--brand-orange);
    margin-bottom: 1rem;
}

.about-features-title {
    font-family: var(--font-montserrat);
    font-weight: 700;
    font-size: 1.25rem;
    margin-bottom: 1.5rem;
}

.feature-item-title {
    font-weight: 700;
    margin-bottom: 0.25rem;
}

.feature-item-desc {
    font-size: 0.875rem;
    color: #6b7280;
}

.section-subtitle-sm {
    color: var(--brand-orange);
    font-weight: 700;
    font-family: var(--font-poppins);
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.project-cat-subtitle {
    font-size: 0.75rem;
    color: var(--brand-orange);
    font-weight: 700;
    text-transform: uppercase;
}

.project-desc-text {
    color: #6b7280;
    font-size: 0.875rem;
    margin-bottom: 1.5rem;
}

.contact-cta-desc {
    color: var(--text-grey);
    max-width: 600px;
    margin: 1rem auto 2rem auto;
}

.icon-md {
    width: 32px;
    height: 32px;
}


/* --- NEW SERVICE CARD STYLES (Appended) --- */
.service-card {
    background: linear-gradient(145deg, #1e1e1e 0%, #121212 100%) !important;
    border: 1px solid rgba(255, 255, 255, 0.15) !important;
    border-radius: 16px !important;
    padding: 2rem !important;
    position: relative !important;
    overflow: hidden !important;
    height: 100% !important;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4) !important;
    transition: all 0.3s ease !important;
}

.service-card:hover {
    transform: translateY(-5px) !important;
    background: linear-gradient(145deg, #252525 0%, #1a1a1a 100%) !important;
    border-color: #FF6B00 !important;
    box-shadow: 0 10px 40px rgba(255, 107, 0, 0.2) !important;
}

/* Orange Top Border Effect */
.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, #FF6B00, transparent);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.service-card:hover::before {
    opacity: 1;
}

.service-icon {
    width: 3.5rem;
    height: 3.5rem;
    background-color: rgba(255, 107, 0, 0.1) !important;
    border-radius: 0.75rem;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--brand-orange);
    margin-bottom: 1.5rem;
    transition: transform 0.3s ease;
}

.service-card:hover .service-icon {
    transform: scale(1.1);
}

.service-title {
    font-family: var(--font-montserrat);
    font-weight: 700;
    font-size: 1.25rem;
    margin-bottom: 0.75rem;
    color: #ffffff !important;
    /* Explicit White */
}

.service-card:hover .service-title {
    color: var(--brand-orange) !important;
}

.service-desc {
    color: #e0e0e0 !important;
    /* Improved visibility */
    font-size: 0.875rem;
    margin-bottom: 1.5rem;
    line-height: 1.6;
}


/* --- GLOBAL CARD STYLES (Internship Style Applied Everywhere) --- */
.service-card,
.role-card,
.resource-card,
.blog-card,
.project-card,
.glass-card {
    background: linear-gradient(145deg, #1e1e1e 0%, #121212 100%) !important;
    border: 1px solid rgba(255, 255, 255, 0.15) !important;
    border-radius: 16px !important;
    padding: 2rem;
    position: relative !important;
    overflow: hidden !important;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4) !important;
    transition: all 0.3s ease !important;
}

.service-card:hover,
.role-card:hover,
.resource-card:hover,
.blog-card:hover,
.project-card:hover,
.glass-card:hover {
    transform: translateY(-5px) !important;
    background: linear-gradient(145deg, #252525 0%, #1a1a1a 100%) !important;
    border-color: #FF6B00 !important;
    box-shadow: 0 10px 40px rgba(255, 107, 0, 0.2) !important;
}

/* Top Orange Border Effect (Pseudo) */
.service-card::before,
.role-card::before,
.resource-card::before,
.blog-card::before,
.project-card::before,
.glass-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, #FF6B00, transparent);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.service-card:hover::before,
.role-card:hover::before,
.resource-card:hover::before,
.blog-card:hover::before,
.project-card:hover::before,
.glass-card:hover::before {
    opacity: 1;
}

/* Text Visibility Overrides */
.service-title,
.tool-card-title,
.res-title,
.blog-title,
.project-title {
    color: #ffffff !important;
}

.service-desc,
.tool-card-desc,
.res-desc,
.blog-excerpt,
.project-desc {
    color: #b0b0b0 !important;
}

.service-card:hover .service-title,
.role-card:hover .tool-card-title,
.resource-card:hover .res-title,
.blog-card:hover .blog-title,
.project-card:hover .project-title {
    color: #FF6B00 !important;
}


/* --- FIX: CARD TEXT VISIBILITY --- */
.glass-card .about-features-title,
.glass-card .feature-item-title,
.project-card .project-placeholder-text {
    color: #ffffff !important;
}

.glass-card .feature-item-desc {
    color: #d1d5db !important;
    /* Light Grey */
}

/* Ensure Feature Numbers are visible */
.feature-number {
    color: var(--brand-orange) !important;
    background: rgba(255, 107, 0, 0.1) !important;
    border: 1px solid rgba(255, 107, 0, 0.3) !important;
}

/* --- CRITICAL: FORCE TEXT VISIBILITY IN DARK CARDS --- */

/* "Why Work With Me" Card */
.glass-card .about-features-title {
    color: #ffffff !important;
}

.glass-card .feature-item-title {
    color: #ffffff !important;
}

.glass-card .feature-item-desc {
    color: #cbd5e1 !important;
    /* Blue-ish Light Grey */
}

/* Portfolio Project Cards */
.project-card .project-title {
    color: #ffffff !important;
}

.project-card .project-cat-subtitle {
    color: var(--brand-orange) !important;
}

.project-card .project-desc-text {
    color: #cbd5e1 !important;
    /* Blue-ish Light Grey */
}

.project-card .project-placeholder-text {
    color: #ffffff !important;
    opacity: 1 !important;
}

/* Override any potential dark text inheritance */
.glass-card *,
.project-card * {
    text-shadow: none !important;
}