/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html, body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    color: var(--text-primary);
    background-color: var(--page-bg);
    overflow-x: hidden;
}

/* Professional Color Palette - NextLeap-inspired theme */
:root {
    --primary-color: #0b5fff; /* Brand blue */
    --primary-dark: #0846c6; /* Darker blue for hover */
    --primary-light: #e8f0ff; /* Very light blue tint */
    --secondary-color: #0b5fff; /* Use primary as secondary for CTAs */
    --accent-color: #1f2937; /* Near-black for strong text */
    --success-color: #10b981;
    --warning-color: #f59e0b;
    --error-color: #ef4444;
    --text-primary: #111827; /* Very dark gray */
    --text-secondary: #4b5563; /* Dark gray */
    --text-light: #6b7280; /* Medium gray */
    --bg-primary: #ffffff; /* White */
    --bg-secondary: #f8fafc; /* Light gray/blue */
    --bg-dark: #111827; /* Footer dark */
    --border-color: #e5e7eb; /* Subtle border */
    --shadow-light: 0 1px 3px rgba(17, 24, 39, 0.08);
    --shadow-medium: 0 4px 6px rgba(17, 24, 39, 0.12);
    --shadow-heavy: 0 10px 15px rgba(17, 24, 39, 0.18);
    --gradient-primary: linear-gradient(135deg, #0b5fff, #0846c6);
    --gradient-secondary: linear-gradient(135deg, #5aa4ff, #0b5fff);
    --gradient-accent: linear-gradient(135deg, #0b5fff, #5aa4ff);

    /* Theming variables (defaults) */
    --page-bg: var(--bg-primary);
    --hero-bg: var(--bg-secondary);
    --on-hero-text: var(--text-primary);
    --section-1-bg: var(--bg-primary);
    --section-2-bg: var(--bg-secondary);
    --section-3-bg: var(--bg-primary);
    --section-heading-color: var(--text-primary);
    --section-subtext-color: var(--text-secondary);
    --card-bg: #ffffff;
    --card-text: var(--text-primary);
    --card-border: var(--border-color);
    --muted-on-card: var(--text-secondary);
    --stat-card-bg: #ffffff;
    --stat-card-border: var(--border-color);
    --on-stat-card: var(--text-primary);
    --cta-bg: var(--primary-color);
    --on-cta-text: #ffffff;
    --footer-bg: var(--primary-color);
    --on-footer-text: #ffffff;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: 600;
    line-height: 1.2;
    margin-bottom: 0.5rem;
    color: var(--text-primary);
}

h1 { font-size: 2.5rem; font-weight: 700; }
h2 { font-size: 2rem; font-weight: 700; }
h3 { font-size: 1.5rem; font-weight: 600; }
h4 { font-size: 1.25rem; font-weight: 600; }

p {
    margin-bottom: 1rem;
    color: var(--text-primary);
    line-height: 1.7;
}

/* Professional Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 12px 24px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 500;
    text-align: center;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    font-size: 14px;
    position: relative;
    overflow: hidden;
}

.btn-primary {
    background: var(--primary-color);
    color: white;
    box-shadow: var(--shadow-medium);
}

.btn-primary:hover {
    background: var(--primary-dark);
    transform: translateY(-1px);
    box-shadow: var(--shadow-heavy);
}

.btn-secondary {
    background: var(--secondary-color);
    color: white;
    box-shadow: var(--shadow-medium);
}

.btn-secondary:hover {
    background: #a8903f;
    transform: translateY(-1px);
    box-shadow: var(--shadow-heavy);
}

.btn-secondary:hover {
    background: var(--border-color);
    transform: translateY(-1px);
}

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

.btn-outline:hover {
    background: var(--primary-color);
    color: white;
    transform: translateY(-1px);
}

.btn-large {
    padding: 16px 32px;
    font-size: 16px;
    font-weight: 600;
}

/* Professional Navigation */
.navbar {
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border-color);
    position: sticky;
    top: 0;
    z-index: 1000;
    padding: 1rem 0;
    transition: all 0.3s ease;
}

.nav-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.logo-img {
    width: 40px;
    height: 40px;
    object-fit: contain;
}

.nav-logo h2 {
    color: var(--primary-color);
    font-weight: 700;
    font-size: 1.5rem;
    letter-spacing: -0.5px;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
    align-items: center;
}

.nav-menu a {
    text-decoration: none;
    color: var(--text-secondary);
    font-weight: 500;
    transition: color 0.3s ease;
    padding: 0.5rem 1rem;
    border-radius: 6px;
}

.nav-menu a:hover,
.nav-menu a.active {
    color: var(--primary-color);
    background: var(--bg-secondary);
}

.nav-auth {
    display: flex;
    gap: 1rem;
    align-items: center;
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.hamburger span {
    width: 25px;
    height: 2px;
    background: var(--text-primary);
    margin: 3px 0;
    transition: 0.3s;
}

/* Professional Hero Section */
.hero-3d {
    position: relative;
    padding: 6rem 0;
    overflow: hidden;
    min-height: 90vh;
    display: flex;
    align-items: center;
    background: var(--hero-bg);
}

.hero-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    position: relative;
    z-index: 2;
}

.hero-content { color: var(--on-hero-text); }

.hero-badge {
    display: inline-block;
    background: var(--secondary-color);
    color: white;
    border-radius: 6px;
    padding: 0.5rem 1rem;
    margin-bottom: 2rem;
    font-size: 0.875rem;
    font-weight: 500;
    letter-spacing: 0.5px;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    letter-spacing: -1px;
    color: var(--on-hero-text);
}

.gradient-text {
    /* Use gold gradient for high contrast on deep green hero */
    background: var(--gradient-secondary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Ensure hero highlighted words are gold on every page */
.hero-3d .gradient-text {
    background: linear-gradient(135deg, #bfa64d, #d9c97a);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 1.25rem;
    margin-bottom: 2rem;
    line-height: 1.6;
    font-weight: 400;
}

/* Home-specific theme (dark hero like NextLeap) */
.theme-home {
    --page-bg: #000000; /* complete black */
    --hero-bg: #000000;
    --on-hero-text: #ffffff;
    --section-1-bg: #000000;
    --section-2-bg: #000000;
    --section-3-bg: #000000;
    --section-heading-color: #ffffff;
    --section-subtext-color: #ffffff;
    --card-bg: #000000; /* cards also black */
    --card-text: #ffffff;
    --card-border: rgba(255,255,255,0.12);
    --muted-on-card: #ffffff;
    --stat-card-bg: rgba(255,255,255,0.06);
    --stat-card-border: rgba(255,255,255,0.12);
    --on-stat-card: #ffffff;
    --cta-bg: #000000;
    --on-cta-text: #ffffff;
    --footer-bg: #000000;
    --on-footer-text: #ffffff;

    /* override blues with DARK GREEN accent only */
    --primary-color: #1b4720; /* dark green */
    --primary-dark: #15361a;
    --primary-light: #2a6b33;
    --secondary-color: #1b4720;
    --success-color: #1b4720;
    --gradient-primary: linear-gradient(135deg, #1b4720, #1b4720);
    --gradient-secondary: linear-gradient(135deg, #1b4720, #1b4720);
    --gradient-accent: linear-gradient(135deg, #1b4720, #1b4720);

    /* ensure any default dark text (#111827) becomes white on home */
    --text-primary: #ffffff;
    --text-secondary: #ffffff;
}
.theme-home .gradient-text { background: linear-gradient(135deg,#1b4720,#1b4720); -webkit-background-clip:text; -webkit-text-fill-color:transparent; background-clip:text; }

/* Ensure all box text on home is white */
.theme-home .hero-stats .stat-label { color: #ffffff; }
.theme-home .card-front-3d h3 { color: #1b4720; }
.theme-home .card-front-3d p { color: #2f5b36; }
.theme-home .story-location { color: #ffffff; }
.theme-home .job-location-3d { color: #ffffff; }
.theme-home .job-experience-3d { color: #ffffff; }
.theme-home .story-text { color: #ffffff; }
.theme-home .story-salary { background: rgba(27,71,32,0.25); }
/* Remove any blue tints on home */
.theme-home .shape { background: rgba(255, 255, 255, 0.06); }
.theme-home .footer-3d::before { background: rgba(255, 255, 255, 0.06); }
.theme-home .job-company-3d { color: #ffffff; }

/* Make hero flip card white with dark green text on home */
.theme-home .card-front,
.theme-home .card-back {
    background: #ffffff;
    color: #1b4720;
    border: 1px solid rgba(27, 71, 32, 0.2);
}
.theme-home .card-front h3,
.theme-home .card-back h4 { color: #1b4720; }
.theme-home .card-back li { color: #2f5b36; }
.theme-home .card-icon { color: #1b4720; opacity: 1; }

/* Mobile nav dropdown on home stays black */
.theme-home .nav-menu { background: #000000; }
/* In white boxes on home, ensure dark green text */
.theme-home .job-card-inner { background: #000000; border: 1px solid rgba(255,255,255,0.12); }
.theme-home .featured-jobs-3d .job-card-inner { background: #ffffff; color: #1b4720; border: 1px solid rgba(27,71,32,0.2); }
.theme-home .featured-jobs-3d .job-header-3d h3 { color: #1b4720; }
.theme-home .featured-jobs-3d .job-company-3d { color: #1b4720; }
.theme-home .featured-jobs-3d .job-location-3d,
.theme-home .featured-jobs-3d .job-experience-3d { color: #2f5b36; }

/* Home dark header to match reference */
.theme-home .navbar { background: transparent; border-bottom: 1px solid rgba(255,255,255,0.12); }
.theme-home .nav-menu a { color: rgba(255,255,255,0.88); }
.theme-home .nav-menu a:hover,
.theme-home .nav-menu a.active {
    color: #ffffff;
    background: rgba(27,71,32,0.2); /* dark green tint */
}
.theme-home .hamburger span { background: #ffffff; }
.theme-home .nav-auth .btn-outline { color: #ffffff; border: 1px solid rgba(255,255,255,0.5); }
.theme-home .nav-auth .btn-outline:hover { background: rgba(255,255,255,0.1); }
.theme-home .nav-auth .btn-primary { background: #1b4720; }
.theme-home .nav-auth .btn-primary:hover { background: #15361a; }

/* ensure badges are not blue on home */
.theme-home .hero-badge { background: rgba(255,255,255,0.08); color: #ffffff; border: 1px solid rgba(255,255,255,0.18); }

/* Home hero: full-width image with gradient overlay for readability */
.theme-home .hero-3d {
    background: linear-gradient(180deg, rgba(0,0,0,0.6), rgba(0,0,0,0.6)), url("ChatGPT Image Aug 13, 2025, 10_13_28 PM.png");
    background-size: cover;
    background-position: center;
}
.theme-home .hero-background, 
.theme-home .floating-shapes { display: none; }
.theme-home .hero-container { grid-template-columns: 1fr; }

/* Use gold accents only within the home hero for better visibility */
.theme-home .hero-3d {
    --primary-color: #bfa64d; /* gold */
    --primary-dark: #9f8a3d;
    --secondary-color: #bfa64d;
    --gradient-primary: linear-gradient(135deg, #bfa64d, #d9c97a);
    --gradient-secondary: linear-gradient(135deg, #d9c97a, #bfa64d);
    --gradient-accent: linear-gradient(135deg, #bfa64d, #d9c97a);
}
.theme-home .hero-3d .gradient-text {
    background: linear-gradient(135deg, #bfa64d, #d9c97a);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
.theme-home .hero-3d .btn-primary { background: #bfa64d; color: #1b4720; }
.theme-home .hero-3d .btn-primary:hover { background: #9f8a3d; }

/* Iklavya page: warm sand background, deep-green text, gold accents */
.theme-iklavya {
    --page-bg: #f7f4ea;
    --hero-bg: linear-gradient(180deg, rgba(0,0,0,0.55), rgba(0,0,0,0.55)), url("1234.png");
    --on-hero-text: #ffffff;
    --section-1-bg: #ffffff;
    --section-2-bg: #f3efe0;
    --section-3-bg: #ffffff;
    --section-heading-color: #1b4720;
    --section-subtext-color: #4a5568;
    --card-bg: #ffffff;
    --card-text: #1b4720;
    --card-border: #e2e8f0;
    --muted-on-card: #4a5568;
    --stat-card-bg: #ffffff;
    --stat-card-border: #e2e8f0;
    --on-stat-card: #1b4720;
    --cta-bg: #1b4720;
    --on-cta-text: #ffffff;
    --footer-bg: #1b4720;
    --on-footer-text: #ffffff;
}
.theme-iklavya .navbar { background: rgba(255,255,255,0.9); border-bottom: 1px solid var(--border-color); }
.theme-iklavya .hero-3d { background-size: cover; background-position: center; }
.theme-iklavya .nav-menu a { color: var(--text-secondary); }
.theme-iklavya .nav-menu a:hover, .theme-iklavya .nav-menu a.active { color: var(--primary-color); background: rgba(27,71,32,0.06); }
.theme-iklavya .hero-badge { background: rgba(255,255,255,0.12); color: #ffffff; border: 1px solid rgba(255,255,255,0.2); }
.theme-iklavya .hero-title, .theme-iklavya .hero-subtitle { color: #ffffff; }
.theme-iklavya .btn-primary { background: #bfa64d; color: #1b4720; }
.theme-iklavya .btn-primary:hover { background: #9f8a3d; }
.theme-iklavya .btn-secondary { background: rgba(255,255,255,0.12); color: #ffffff; border: 1px solid rgba(255,255,255,0.2); }

/* Employers page: clean light with blue hero */
.theme-employers {
    --page-bg: #ffffff;
    --hero-bg: linear-gradient(180deg, rgba(0,0,0,0.55), rgba(0,0,0,0.55)), url("Gemini_Generated_Image_o1sbbio1sbbio1sb.png");
    --on-hero-text: #111827;
    --section-1-bg: #ffffff;
    --section-2-bg: #f8fafc;
    --section-3-bg: #ffffff;
    --section-heading-color: #111827;
    --section-subtext-color: #4b5563;
    --card-bg: #ffffff;
    --card-text: #111827;
    --card-border: #e5e7eb;
    --muted-on-card: #4b5563;
    --stat-card-bg: #ffffff;
    --stat-card-border: #e5e7eb;
    --on-stat-card: #111827;
    --cta-bg: #0b5fff;
    --on-cta-text: #ffffff;
    --footer-bg: #0b5fff;
    --on-footer-text: #ffffff;
}
.theme-employers .navbar { background: rgba(255,255,255,0.95); border-bottom: 1px solid var(--border-color); }
.theme-employers .hero-3d { background-size: cover; background-position: center; }
.theme-employers .hero-container { grid-template-columns: 1.2fr 0.8fr; }
.theme-employers .hero-content { max-width: 720px; }
.theme-employers .hero-title { font-size: 3.25rem; }
.theme-employers .hero-subtitle { font-size: 1.2rem; max-width: 720px; }
.theme-employers .hero-badge { background: rgba(255,255,255,0.12); color: #ffffff; border: 1px solid rgba(255,255,255,0.2); }
.theme-employers .hero-title, .theme-employers .hero-subtitle { color: #ffffff; }
.theme-employers .btn-primary { background: #bfa64d; color: #1b4720; }
.theme-employers .btn-primary:hover { background: #9f8a3d; }
.theme-employers .btn-secondary { background: rgba(255,255,255,0.12); color: #ffffff; border: 1px solid rgba(255,255,255,0.2); }

/* Partners page: premium gold vibe */
.theme-partners {
    --page-bg: #fffaf0;
    --hero-bg: linear-gradient(180deg, rgba(0,0,0,0.55), rgba(0,0,0,0.55)), url("Gemini_Generated_Image_ra6fkwra6fkwra6f.png");
    --on-hero-text: #ffffff;
    --section-1-bg: #ffffff;
    --section-2-bg: #fffaf0;
    --section-3-bg: #ffffff;
    --section-heading-color: #1b4720;
    --section-subtext-color: rgba(27,71,32,0.85);
    --card-bg: #ffffff;
    --card-text: #1b4720;
    --card-border: #e2e8f0;
    --muted-on-card: rgba(27,71,32,0.7);
    --stat-card-bg: #ffffff;
    --stat-card-border: #e2e8f0;
    --on-stat-card: #1b4720;
    --cta-bg: #1b4720;
    --on-cta-text: #ffffff;
    --footer-bg: #1b4720;
    --on-footer-text: #ffffff;
}
.theme-partners .navbar { background: rgba(255,255,255,0.9); border-bottom: 1px solid var(--border-color); }
.theme-partners .hero-3d { background-size: cover; background-position: center; }
.theme-partners .hero-badge { background: rgba(255,255,255,0.12); color: #ffffff; border: 1px solid rgba(255,255,255,0.2); }
.theme-partners .hero-title, .theme-partners .hero-subtitle { color: #ffffff; }
.theme-partners .btn-primary { background: #bfa64d; color: #1b4720; }
.theme-partners .btn-primary:hover { background: #9f8a3d; }
.theme-partners .btn-secondary { background: rgba(255,255,255,0.12); color: #ffffff; border: 1px solid rgba(255,255,255,0.2); }

/* Jobs page: clean neutral */
.theme-jobs {
    --page-bg: #ffffff;
    --hero-bg: linear-gradient(180deg, rgba(0,0,0,0.55), rgba(0,0,0,0.55)), url("JOBS.png");
    --on-hero-text: #111827;
    --section-1-bg: #ffffff;
    --section-2-bg: #f8fafc;
    --section-3-bg: #ffffff;
    --section-heading-color: #111827;
    --section-subtext-color: #4b5563;
    --card-bg: #ffffff;
    --card-text: #111827;
    --card-border: #e5e7eb;
    --muted-on-card: #4b5563;
    --stat-card-bg: #ffffff;
    --stat-card-border: #e5e7eb;
    --on-stat-card: #111827;
    --cta-bg: #0b5fff;
    --on-cta-text: #ffffff;
    --footer-bg: #0b5fff;
    --on-footer-text: #ffffff;
}
.theme-jobs .hero-3d { background-size: cover; background-position: center; }
.theme-jobs .hero-title, .theme-jobs .hero-subtitle { color: #ffffff; }
.theme-jobs .hero-badge { background: rgba(255,255,255,0.12); color: #ffffff; border: 1px solid rgba(255,255,255,0.2); }
.theme-jobs .btn-primary { background: #bfa64d; color: #1b4720; }
.theme-jobs .btn-primary:hover { background: #9f8a3d; }
.theme-jobs .btn-outline { color: #ffffff; border-color: rgba(255,255,255,0.6); }
.theme-jobs .btn-outline:hover { background: rgba(255,255,255,0.1); color: #ffffff; }

.hero-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-bottom: 3rem;
}

.hero-stats .stat-item {
    text-align: center;
    background: var(--stat-card-bg);
    border-radius: 12px;
    padding: 1.5rem;
    border: 1px solid var(--stat-card-border);
    box-shadow: var(--shadow-light);
    transition: transform 0.3s ease;
    color: var(--on-stat-card);
}

.hero-stats .stat-item:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-medium);
}

.hero-stats .stat-number {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.hero-stats .stat-label {
    font-size: 0.875rem;
    color: var(--text-secondary);
    font-weight: 500;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.hero-visual {
    display: flex;
    justify-content: center;
    align-items: center;
}

.card-container {
    position: relative;
    transform-style: preserve-3d;
}

.card {
    width: 320px;
    height: 420px;
    position: relative;
    transform-style: preserve-3d;
    transition: transform 0.6s ease;
}

.card-front,
.card-back {
    position: absolute;
    width: 100%;
    height: 100%;
    backface-visibility: hidden;
    border-radius: 16px;
    padding: 2rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    color: white;
    box-shadow: var(--shadow-heavy);
}

.card-front {
    background: var(--gradient-primary);
    transform: rotateY(0deg);
}

.card-back {
    background: var(--gradient-secondary);
    transform: rotateY(180deg);
}

.card-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
    opacity: 0.9;
}

.card-front h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.card-back h4 {
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.card-back ul {
    list-style: none;
    text-align: left;
    width: 100%;
}

.card-back li {
    margin-bottom: 0.75rem;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.9);
    position: relative;
    padding-left: 1.5rem;
}

.card-back li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--success-color);
    font-weight: bold;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.floating-shapes {
    position: relative;
    width: 100%;
    height: 100%;
}

.shape {
    position: absolute;
    background: rgba(37, 99, 235, 0.05);
    border-radius: 50%;
    animation: float 8s ease-in-out infinite;
}

.shape-1 {
    width: 120px;
    height: 120px;
    top: 20%;
    left: 10%;
    animation-delay: 0s;
}

.shape-2 {
    width: 80px;
    height: 80px;
    top: 60%;
    right: 15%;
    animation-delay: 2s;
}

.shape-3 {
    width: 100px;
    height: 100px;
    top: 80%;
    left: 20%;
    animation-delay: 4s;
}

.shape-4 {
    width: 60px;
    height: 60px;
    top: 30%;
    right: 30%;
    animation-delay: 1s;
}

@keyframes float {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-10px);
    }
}

@keyframes rotate3d {
    0% {
        transform: rotateY(0deg);
    }
    100% {
        transform: rotateY(360deg);
    }
}

/* Professional Value Propositions */
.value-props-3d {
    padding: 6rem 0;
    background: var(--section-1-bg);
    position: relative;
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-header h2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--section-heading-color);
    margin-bottom: 1rem;
}

.section-header p {
    font-size: 1.125rem;
    color: var(--section-subtext-color);
    max-width: 600px;
    margin: 0 auto;
}

.props-grid-3d {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.prop-card-3d {
    perspective: 1000px;
    height: 400px;
}

.card-3d-inner {
    position: relative;
    width: 100%;
    height: 100%;
    text-align: center;
    transition: transform 0.8s;
    transform-style: preserve-3d;
    cursor: pointer;
}

.prop-card-3d:hover .card-3d-inner {
    transform: rotateY(180deg);
}

.card-front-3d,
.card-back-3d {
    position: absolute;
    width: 100%;
    height: 100%;
    backface-visibility: hidden;
    border-radius: 16px;
    padding: 2rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    box-shadow: var(--shadow-medium);
    border: 1px solid var(--border-color);
}

.card-front-3d {
    background: white;
    color: var(--text-primary);
}

.card-back-3d {
    background: var(--gradient-primary);
    color: white;
    transform: rotateY(180deg);
}

.prop-icon-3d {
    width: 80px;
    height: 80px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    color: white;
    font-size: 2rem;
    box-shadow: var(--shadow-medium);
}

.card-front-3d h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.card-front-3d p {
    color: var(--text-secondary);
    line-height: 1.6;
}

.card-back-3d h4 {
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: white;
}

.card-back-3d ul {
    list-style: none;
    text-align: left;
    width: 100%;
}

.card-back-3d li {
    margin-bottom: 0.75rem;
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.9);
    position: relative;
    padding-left: 1.5rem;
}

.card-back-3d li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--success-color);
    font-weight: bold;
}

/* Professional Featured Jobs */
.featured-jobs-3d {
    padding: 6rem 0;
    background: var(--section-2-bg);
    position: relative;
}

.jobs-grid-3d {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    align-items: stretch;
}

.job-card-3d {
    perspective: 1000px;
    height: 300px;
}

.job-card-inner {
    position: relative;
    width: 100%;
    height: 100%;
    transition: transform 0.6s ease;
    transform-style: preserve-3d;
    background: var(--card-bg);
    border-radius: 16px;
    padding: 2rem;
    box-shadow: var(--shadow-light);
    border: 1px solid var(--card-border);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    color: var(--card-text);
}

.job-card-3d:hover .job-card-inner {
    transform: translateY(-4px);
    box-shadow: var(--shadow-heavy);
}

.job-header-3d {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 1rem;
}

.job-header-3d h3 {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--card-text);
    margin: 0;
}

.job-type-badge {
    background: var(--gradient-accent);
    color: white;
    padding: 0.25rem 0.75rem;
    border-radius: 6px;
    font-size: 0.75rem;
    font-weight: 600;
}

.job-company-3d { color: var(--primary-color); font-weight: 600; margin-bottom: 0.5rem; }

.job-location-3d { color: var(--muted-on-card); font-size: 0.9rem; margin-bottom: 0.5rem; display: flex; align-items: center; gap: 0.5rem; }

.job-salary-3d {
    color: var(--success-color);
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.job-experience-3d { color: var(--muted-on-card); font-size: 0.9rem; margin-bottom: 1rem; }

.job-actions-3d {
    display: flex;
    gap: 0.5rem;
    justify-content: center;
    align-items: center;
    margin-top: auto;
}

.view-all-jobs {
    text-align: center;
    margin-top: 3rem;
}

/* Ensure training program cards (and all featured job cards) have aligned buttons */
.featured-jobs-3d .job-card-3d { height: 340px; display: flex; }
.featured-jobs-3d .job-card-inner { height: 100%; display: flex; flex-direction: column; }
.featured-jobs-3d .job-actions-3d .btn { width: 220px; text-align: center; white-space: nowrap; }

/* Professional Success Stories */
.success-stories-3d {
    padding: 6rem 0;
    background: var(--section-3-bg);
    position: relative;
}

.stories-grid-3d {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.story-card-3d {
    perspective: 1000px;
    height: 350px;
}

.story-card-inner {
    position: relative;
    width: 100%;
    height: 100%;
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: 16px;
    padding: 2rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    color: var(--card-text);
    transition: transform 0.3s ease;
}

.story-card-3d:hover .story-card-inner {
    transform: translateY(-4px);
}

.story-avatar {
    width: 80px;
    height: 80px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    margin-bottom: 1.5rem;
}

.story-content h4 {
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.story-location {
    font-size: 0.9rem;
    color: var(--muted-on-card);
    margin-bottom: 1rem;
}

.story-text {
    font-style: italic;
    line-height: 1.6;
    margin-bottom: 1rem;
}

.story-salary {
    font-weight: 700;
    color: var(--success-color);
    background: rgba(16, 185, 129, 0.08);
    padding: 0.5rem 1rem;
    border-radius: 6px;
    font-size: 0.9rem;
}

/* Professional CTA Section */
.cta-section-3d {
    padding: 6rem 0;
    background: var(--cta-bg);
    position: relative;
}

.cta-content-3d {
    text-align: center;
    color: var(--on-cta-text);
    max-width: 800px;
    margin: 0 auto;
    padding: 0 20px;
    position: relative;
    z-index: 2;
}

.cta-content-3d h2 {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.cta-content-3d p {
    font-size: 1.25rem;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 2rem;
}

.cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.cta-background-3d {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.floating-elements {
    position: relative;
    width: 100%;
    height: 100%;
}

.element {
    position: absolute;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 50%;
    animation: float 8s ease-in-out infinite;
}

.element-1 {
    width: 200px;
    height: 200px;
    top: 20%;
    left: 10%;
    animation-delay: 0s;
}

.element-2 {
    width: 150px;
    height: 150px;
    top: 60%;
    right: 15%;
    animation-delay: 3s;
}

.element-3 {
    width: 100px;
    height: 100px;
    top: 80%;
    left: 30%;
    animation-delay: 6s;
}

/* Professional Footer */
.footer-3d {
    background: var(--footer-bg);
    color: var(--on-footer-text);
    padding: 4rem 0 2rem;
    position: relative;
}

.footer-3d::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.1), rgba(15, 23, 42, 0.1));
    z-index: 1;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
    position: relative;
    z-index: 2;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1rem;
}

.footer-logo-img {
    width: 40px;
    height: 40px;
    object-fit: contain;
}

.footer-logo h3 {
    color: var(--on-footer-text);
    font-weight: 700;
    font-size: 1.5rem;
}

.footer-section h3,
.footer-section h4 {
    color: var(--on-footer-text);
    margin-bottom: 1rem;
}

.footer-section p {
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 0.5rem;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 0.5rem;
}

.footer-section ul li a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section ul li a:hover {
    color: white;
}

.social-links {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
}

.social-links a {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--on-footer-text);
    text-decoration: none;
    transition: all 0.3s ease;
}

.social-links a:hover {
    background: var(--primary-color);
    transform: translateY(-2px);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 2rem;
    text-align: center;
    color: rgba(255, 255, 255, 0.6);
    position: relative;
    z-index: 2;
}

/* Additional Styles for New Pages */
.enrollment-form {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 16px;
    padding: 2rem;
    margin-top: 2rem;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

/* Form Styles */
.form-container {
    background: white;
    border-radius: 16px;
    padding: 2rem;
    box-shadow: var(--shadow-medium);
    border: 1px solid var(--border-color);
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
    color: var(--text-primary);
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    font-size: 14px;
    transition: all 0.3s ease;
    background: white;
    color: var(--primary-color);
    font-weight: 500;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(27, 71, 32, 0.1);
    background: white;
    color: var(--primary-color);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: var(--text-light);
    font-weight: 400;
}

/* Login/Register Form Styles */
.auth-container {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    padding: 2rem;
}

.auth-card {
    background: white;
    border-radius: 16px;
    padding: 2rem;
    box-shadow: var(--shadow-heavy);
    width: 100%;
    max-width: 400px;
}

.auth-header {
    text-align: center;
    margin-bottom: 2rem;
}

.auth-header h2 {
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.auth-header p {
    color: var(--text-secondary);
}

.user-type-selector {
    display: flex;
    gap: 1rem;
    margin-bottom: 2rem;
}

.user-type-btn {
    flex: 1;
    padding: 12px;
    border: 1px solid var(--border-color);
    background: white;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 500;
}

.user-type-btn.active {
    background: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
}

.registration-form {
    display: none;
}

.registration-form.active {
    display: block;
}

/* Partnership Form Styles */
.partnership-selector {
    margin: 2rem 0;
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    justify-content: center;
}

.partnership-btn {
    padding: 12px 24px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    background: rgba(255, 255, 255, 0.1);
    color: white;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 500;
}

.partnership-btn.active {
    background: var(--primary-color);
    border-color: var(--primary-color);
    color: white;
}

.partnership-form {
    display: none;
}

.partnership-form.active {
    display: block;
}

.enrollment-form-inner {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.form-group {
    display: flex;
    flex-direction: column;
}



.contact-info {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin: 2rem 0;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.1rem;
}

.contact-item i {
    width: 20px;
    color: var(--primary-color);
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-stats {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 2rem;
    }
    
    .card {
        width: 280px;
        height: 380px;
    }
    
    .props-grid-3d {
        grid-template-columns: 1fr;
    }
    
    .jobs-grid-3d {
        grid-template-columns: 1fr;
    }
    
    .stories-grid-3d {
        grid-template-columns: 1fr;
    }
    
    .cta-content-3d h2 {
        font-size: 2rem;
    }
    
    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .section-header h2 {
        font-size: 2rem;
    }
    
    .nav-menu {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: white;
        border-top: 1px solid var(--border-color);
        box-shadow: var(--shadow-medium);
        flex-direction: column;
        padding: 1rem 0;
    }
    
    .nav-menu.open {
        display: flex;
    }
    
    .nav-menu li {
        margin: 0.5rem 0;
    }
    
    .hamburger {
        display: flex;
    }
    
    .hamburger.active span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }
    
    .hamburger.active span:nth-child(2) {
        opacity: 0;
    }
    
    .hamburger.active span:nth-child(3) {
        transform: rotate(-45deg) translate(7px, -6px);
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
    }
    
    .hero-stats .stat-number {
        font-size: 2rem;
    }
    
    .card {
        width: 240px;
        height: 320px;
    }
    
    .card-front-3d,
    .card-back-3d {
        padding: 1.5rem;
    }
    
    .prop-icon-3d {
        width: 60px;
        height: 60px;
        font-size: 1.5rem;
    }
    
    .cta-content-3d h2 {
        font-size: 1.75rem;
    }
    
    .cta-content-3d p {
        font-size: 1rem;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .enrollment-form {
        padding: 1.5rem;
    }
    
    .contact-info {
        margin: 1.5rem 0;
    }
    
    .contact-item {
        font-size: 1rem;
    }
} 

/* Brand highlight utilities */
.highlight-gold {
    color: var(--secondary-color);
    font-weight: 600;
}

.underline-gold {
    border-bottom: 3px solid var(--secondary-color);
}

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

/* Partners card (home) */
.partners-card-section {
    padding: 3rem 0;
    background: var(--section-1-bg);
}

.partners-card {
    max-width: 1200px;
    margin: 0 auto;
    background: #ffffff;
    border-radius: 16px;
    padding: 2rem;
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-medium);
}

.partners-card .partners-heading {
    text-align: center;
    font-size: 1.75rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
    color: #1b4720; /* dark green heading */
}

.partners-logos {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 1.5rem 2rem;
    align-items: center;
    justify-items: center;
}

.partner-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.5rem 0.25rem;
}

.partner-logo {
    order: 2;
    height: 108px;
    width: auto;
    object-fit: contain;
    display: block;
}

.partner-text {
    order: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.partner-role {
    font-size: 0.8rem;
    color: #6b7280; /* neutral gray */
    line-height: 1.2;
}

.partner-name {
    font-size: 1.25rem;
    font-weight: 800;
    color: #1b4720; /* dark green name */
    margin-bottom: 0.25rem;
}

@media (max-width: 640px) {
    .partner-logo { height: 84px; }
    .partner-name { font-size: 1.1rem; }
}

/* Make Student (Iklavya) Login button match Employer Login across all pages */
.nav-auth a[href="iklavya-login.html"] {
    background: var(--primary-color);
    color: #ffffff;
    border: 1px solid var(--primary-color);
}
.nav-auth a[href="iklavya-login.html"]:hover {
    background: var(--primary-dark);
}
.theme-home .nav-auth a[href="iklavya-login.html"] {
    background: #1b4720;
    border-color: #1b4720;
}
.theme-home .nav-auth a[href="iklavya-login.html"]:hover {
    background: #15361a;
}