﻿/* 
   Modern CSS Reset & Variables
*/
:root {
    --bg-color: #DFF1F1;
    --text-color: #0f172a;
    --primary-color: #0070c0;
    --secondary-color: #2bac44;
    --accent-color: #06b6d4;
    --card-bg: rgba(255, 255, 255, 0.7);
    --card-border: rgba(255, 255, 255, 0.4);
    --shadow-sm: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -1px rgba(0, 0, 0, 0.03);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --font-heading: 'Times New Roman', Times, Baskerville, Georgia, serif;
    --font-body: 'Times New Roman', Times, Baskerville, Georgia, serif;
    --transition: all 0.3s ease;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    background-color: var(--bg-color);
    color: var(--text-color);
    line-height: 1.6;
    transition: background-color 0.3s ease, color 0.3s ease;
    overflow-x: hidden;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-heading);
    line-height: 1.2;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

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

/* Utilities for screen readers (SEO / A11y) */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border-width: 0;
}

/* Sticky Social Bar */
.sticky-social-bar {
    position: fixed;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
    z-index: 1000;
}

.social-btn {
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.2rem;
    transition: width 0.3s ease;
}

.social-btn:hover {
    width: 55px;
}

.instagram {
    background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
}

.linkedin {
    background-color: #0077b5;
}

.whatsapp {
    background-color: #25d366;
}

.email {
    background-color: #ea4335;
}

/* Header Section */
.site-header {
    width: 100%;
    background: #ffffff;
    z-index: 1000;
    border-bottom: 1px solid #e5e7eb;
    position: sticky;
    top: 0;
}

/* Top Bar (if any) */
.top-bar {
    border-bottom: 1px solid #e5e7eb;
    padding: 10px 0;
    font-size: 0.9rem;
    font-weight: 500;
}

.top-bar-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.contact-info a {
    color: #4b5563;
    margin-right: 15px;
}

.contact-info a i {
    color: #4b5563;
    margin-right: 5px;
}

.contact-info .divider {
    margin-right: 15px;
    color: #d1d5db;
}

.top-social a {
    color: #4b5563;
    margin-left: 20px;
    font-size: 1rem;
}

.top-social a:hover,
.contact-info a:hover {
    color: #14b8a6;
}

/* Header Flex Container */
.header-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo .main-logo {
    max-height: 55px;
    width: auto;
    display: block;
}

/* Main Navigation */
.main-nav {
    background-color: transparent;
    margin-left: 40px;
    margin-right: auto;
}

.nav-links {
    list-style: none;
    display: flex;
    margin: 0;
    padding: 0;
}

.nav-links li {
    margin: 0;
}

.nav-links a {
    display: block;
    color: #1a1b35;
    /* Dark navy/blue-black */
    padding: 24px 16px;
    font-weight: 700;
    font-size: 1.05rem;
    position: relative;
    transition: color 0.3s ease;
}

.nav-links a:hover {
    color: #0070c0;
}

.nav-links a.active {
    color: #1a1b35;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 16px;
    right: 16px;
    height: 4px;
    background: linear-gradient(90deg, #0070c0, #2bac44);
    border-radius: 4px 4px 0 0;
    transform: scaleX(0);
    transform-origin: center;
    transition: transform 0.3s ease;
}

.nav-links a:hover::after,
.nav-links a.active::after {
    transform: scaleX(1);
}

/* Contact Highlight Button */
.contact-highlight {
    background: #0070c0;
    color: #ffffff !important;
    padding: 10px 24px;
    border-radius: 30px;
    transition: transform 0.3s ease, box-shadow 0.3s ease, background 0.3s ease;
    box-shadow: 0 4px 6px rgba(0, 112, 192, 0.3);
    display: inline-block;
}

.contact-highlight:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(0, 112, 192, 0.5);
    color: #ffffff !important;
}

.contact-highlight::after {
    display: none;
}

.nav-right {
    display: flex;
    align-items: center;
    margin-left: auto;
}

.nav-search {
    display: flex;
    align-items: center;
}

.nav-search input {
    border: none;
    outline: none;
    padding: 10px;
    font-size: 1rem;
    color: #64748b;
    width: 150px;
}

.nav-search input::placeholder {
    color: #64748b;
}

.nav-search button {
    background: none;
    border: none;
    cursor: pointer;
    color: #4b5563;
    font-size: 1.2rem;
    padding: 10px;
    transition: color 0.3s ease;
}

.nav-search button:hover {
    color: #0070c0;
}

/* Dropdown */
.dropdown {
    position: relative;
}

.dropdown-toggle i {
    margin-left: 5px;
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    padding: 10px 0;
    min-width: 180px;
    list-style: none;
    display: flex;
    flex-direction: column;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.3s ease;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    z-index: 1001;
}

.dropdown:hover>.dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.nav-links .dropdown-menu a {
    padding: 10px 20px;
    font-weight: 500;
    font-size: 0.95rem;
    color: #1a1b35;
    text-transform: none;
    transition: background 0.2s ease, color 0.2s ease;
}

.nav-links .dropdown-menu a:hover {
    background: #f1f5f9;
    color: #0070c0;
}

.nav-links .dropdown-menu a::after {
    display: none;
}

/* Contact Dropdown */
.contact-dropdown {
    width: 280px;
    padding: 15px !important;
    white-space: normal;
    line-height: 1.5;
    color: #4b5563;
}

.contact-dropdown li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 5px 0;
}

.contact-dropdown li i {
    color: #2bac44;
    margin-top: 4px;
}

/* Submenu */
.dropdown-submenu {
    position: relative;
}

.dropdown-submenu .submenu {
    top: 0;
    left: 100%;
    margin-top: -1px;
}

.dropdown-submenu:hover>.submenu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

/* Hero Section Overhaul */
.hero {
    position: relative;
    background-color: transparent;
    display: flex;
    align-items: center;
    padding: 60px 0;
    margin-top: 0;
    min-height: 600px;
}

.hero-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    gap: 40px;
}

.hero-content {
    position: relative;
    z-index: 2;
    width: 50%;
    text-align: left;
}

.hero-title {
    font-family: var(--font-heading);
    font-size: 4.5rem;
    color: #1a1b35;
    /* Dark text */
    line-height: 1.1;
    margin: 0 0 20px 0;
    font-weight: 800;
}

.hero-subtitle {
    font-size: 1.1rem;
    color: #4b5563;
    margin-bottom: 30px;
    line-height: 1.6;
    max-width: 450px;
}

.hero-buttons {
    display: flex;
    gap: 15px;
    align-items: center;
}

.btn {
    display: inline-block;
    padding: 12px 28px;
    border-radius: 30px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 1rem;
}

.btn-primary {
    background-color: #0070c0;
    /* Blue button */
    color: #ffffff;
    border: 2px solid #0070c0;
}

.btn-primary:hover {
    background-color: #005a9c;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 112, 192, 0.3);
}

.btn-outline {
    background-color: transparent;
    color: #0070c0;
    border: 2px solid #0070c0;
    /* Blue outline */
}

.btn-outline:hover {
    background-color: #0070c0;
    color: #ffffff;
    transform: translateY(-2px);
}

.hero-image {
    width: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    z-index: 1;
}

.hero-illustration {
    max-width: 100%;
    height: auto;
}

/* Hero Mini Apply Form */
.hero-mini-form {
    width: 100%;
    max-width: 420px;
    background: rgba(255, 255, 255, 0.95);
    border-radius: 24px;
    box-shadow: 0 20px 60px rgba(0, 112, 192, 0.2), 0 4px 20px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(0, 112, 192, 0.12);
    overflow: hidden;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    animation: fadeUp 0.8s ease both;
}

.hero-mini-form-header {
    background: linear-gradient(135deg, #2bac44 0%, #2bac44 50%, #0070c0 100%);
    padding: 24px 28px 20px;
    color: #ffffff;
}

.hero-mini-form-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(255, 255, 255, 0.25);
    color: #ffffff;
    font-size: 0.8rem;
    font-weight: 700;
    padding: 4px 14px;
    border-radius: 20px;
    margin-bottom: 12px;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.hero-mini-form-header h3 {
    font-size: 1.35rem;
    font-weight: 800;
    margin-bottom: 6px;
    color: #ffffff;
}

.hero-mini-form-header p {
    font-size: 0.88rem;
    color: rgba(255, 255, 255, 0.85);
    line-height: 1.4;
}

.hero-quick-form-body {
    display: flex;
    flex-direction: column;
    gap: 14px;
    padding: 22px 24px 18px;
}

.hero-form-group {
    position: relative;
    display: flex;
    align-items: center;
}

.hero-input-icon {
    position: absolute;
    left: 14px;
    color: #2bac44;
    font-size: 0.95rem;
    pointer-events: none;
    z-index: 1;
}

.hero-form-group input,
.hero-form-group select {
    width: 100%;
    padding: 12px 14px 12px 40px;
    border-radius: 10px;
    border: 1.5px solid #e2e8f0;
    background: #f8faff;
    font-family: var(--font-body);
    font-size: 0.95rem;
    color: var(--text-color);
    outline: none;
    transition: var(--transition);
}

.hero-form-group input::placeholder {
    color: #94a3b8;
}

.hero-form-group input:focus,
.hero-form-group select:focus {
    border-color: #0070c0;
    background: #ffffff;
    box-shadow: 0 0 0 3px rgba(0, 112, 192, 0.12);
}

.hero-form-group select {
    appearance: none;
    -webkit-appearance: none;
    cursor: pointer;
}

.hero-quick-submit {
    width: 100%;
    padding: 13px;
    font-size: 1rem;
    border-radius: 12px;
    font-weight: 700;
    cursor: pointer;
    background: linear-gradient(135deg, #0070c0, #2bac44);
    color: #ffffff;
    border: none;
    box-shadow: 0 4px 15px rgba(0, 112, 192, 0.4);
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-top: 4px;
}

.hero-quick-submit:hover {
    background: linear-gradient(135deg, #2bac44, #0070c0);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(0, 112, 192, 0.5);
}

.hero-mini-form-footer {
    text-align: center;
    padding: 12px 24px 18px;
    font-size: 0.82rem;
    color: #64748b;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    border-top: 1px solid #f1f5f9;
}

.hero-mini-form-footer i {
    color: #22c55e;
}

.hero-form-msg {
    padding: 10px 14px;
    border-radius: 8px;
    font-size: 0.9rem;
    font-weight: 600;
    text-align: center;
}

.hero-form-msg.success {
    background: rgba(34, 197, 94, 0.12);
    color: #16a34a;
    border: 1px solid rgba(34, 197, 94, 0.3);
}

.hero-form-msg.error {
    background: rgba(239, 68, 68, 0.1);
    color: #dc2626;
    border: 1px solid rgba(239, 68, 68, 0.2);
}

.hero-form-msg.hidden {
    display: none;
}

@media (max-width: 900px) {
    .hero-mini-form {
        max-width: 100%;
    }
}

/* Programs Section */
.programs-section {
    padding: 80px 20px;
}

.programs-header {
    text-align: center;
    margin-bottom: 40px;
}

.programs-subtitle {
    font-family: 'Georgia', 'Times New Roman', serif;
    color: #2bac44;
    font-weight: 700;
    font-size: 1.2rem;
    display: inline-block;
    margin-bottom: 10px;
}

.programs-title {
    font-family: 'Georgia', 'Times New Roman', serif;
    font-size: 2.5rem;
    color: #000000;
    margin-bottom: 15px;
    font-weight: 700;
}

.programs-title .text-blue {
    color: #0070c0;
    font-weight: 800;
}

.programs-desc {
    font-style: italic;
    color: #64748b;
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0 auto;
}

.programs-filter {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.filter-label {
    font-family: 'Comic Sans MS', 'Chalkboard SE', 'Comic Neue', cursive, sans-serif;
    color: #4b5563;
    font-size: 1.1rem;
}

.filter-buttons {
    display: flex;
    justify-content: center;
    gap: 15px;
    flex-wrap: wrap;
}

.filter-btn {
    font-family: var(--font-body);
    background-color: #ffffff;
    color: #1a1b35;
    border: 1px solid #cbd5e1;
    padding: 10px 24px;
    border-radius: 30px;
    font-size: 0.95rem;
    font-weight: 600;
    font-style: normal;
    cursor: pointer;
    transition: var(--transition);
    box-shadow: var(--shadow-sm);
}

.filter-btn:hover {
    background-color: #0070c0;
    border-color: #0070c0;
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 112, 192, 0.3);
}

.filter-btn.active {
    background-color: #0070c0;
    border-color: #0070c0;
    color: #ffffff;
    box-shadow: 0 4px 12px rgba(0, 112, 192, 0.3);
}

.internships-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 30px;
}

/* Job Cards (Glassmorphism) */
.job-card {
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: 20px;
    padding: 30px;
    transition: var(--transition);
    box-shadow: var(--shadow-sm);
    display: flex;
    flex-direction: column;
    gap: 15px;
    position: relative;
    overflow: hidden;
}

.job-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: var(--primary-color);
    opacity: 0;
    transition: var(--transition);
}

.job-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
}

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

.company-logo {
    width: 50px;
    height: 50px;
    background: #e2e8f0;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    color: var(--primary-color);
    font-size: 1.2rem;
}

.job-role {
    font-size: 1.4rem;
    font-weight: 700;
}

.company-name {
    color: #64748b;
    font-weight: 600;
}

.job-details {
    display: flex;
    gap: 15px;
    font-size: 0.9rem;
    color: #64748b;
    margin-top: auto;
}

.job-tags {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.tag {
    background: rgba(0, 112, 192, 0.1);
    color: var(--primary-color);
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
}

.apply-btn {
    display: inline-block;
    text-align: center;
    background: var(--primary-color);
    color: white;
    padding: 12px;
    border-radius: 10px;
    font-weight: 600;
    margin-top: 10px;
    transition: var(--transition);
}

.apply-btn:hover {
    background: #005a9c;
    box-shadow: 0 4px 10px rgba(0, 112, 192, 0.3);
}

/* SEO Content Section */
.seo-content-section {
    padding: 60px 20px;
    background: var(--card-bg);
    border-radius: 20px;
    margin-bottom: 80px;
    border: 1px solid var(--card-border);
}

.seo-content-section h2 {
    font-size: 2rem;
    margin-bottom: 1.5rem;
    font-style: italic;
}

.seo-content-section p {
    margin-bottom: 1rem;
    color: #475569;
}

/* Application Section */
.application-section {
    padding: 60px 20px;
    margin-bottom: 80px;
}

.application-header {
    text-align: center;
    margin-bottom: 40px;
}

.application-title {
    font-size: 2.5rem;
    font-family: var(--font-heading);
    color: var(--text-color);
    font-weight: 700;
}

.application-desc {
    color: #64748b;
    font-size: 1.1rem;
    max-width: 600px;
    margin: 10px auto 0;
}

.application-card {
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: 24px;
    padding: 50px 40px;
    box-shadow: var(--shadow-lg);
    max-width: 800px;
    margin: 0 auto;
}

.application-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.form-row {
    display: flex;
    gap: 20px;
    width: 100%;
}

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

.form-row.grid-large-small {
    display: grid;
    grid-template-columns: 2fr 1fr;
}

.form-group {
    position: relative;
    width: 100%;
}

.form-group input,
.form-group select {
    width: 100%;
    padding: 16px 20px;
    border-radius: 12px;
    border: 1px solid #cbd5e1;
    background: #ffffff;
    font-family: var(--font-body);
    font-size: 1rem;
    color: var(--text-color);
    outline: none;
    transition: var(--transition);
}

.form-group input::placeholder {
    color: #64748b;
    opacity: 0.8;
}

.form-group input:focus,
.form-group select:focus {
    border-color: #0070c0;
    box-shadow: 0 0 0 3px rgba(0, 112, 192, 0.15);
}

/* Dropdown style matching */
.form-group.select-wrapper {
    position: relative;
}

.form-group.select-wrapper select {
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    padding-right: 45px;
    cursor: pointer;
}

.form-group.select-wrapper::after {
    content: '\f078';
    font-family: 'Font Awesome 5 Free';
    font-weight: 900;
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    color: #64748b;
    font-size: 0.85rem;
    pointer-events: none;
}

.form-submit {
    text-align: center;
    margin-top: 10px;
}

.submit-app-btn {
    padding: 16px 45px;
    font-size: 1.1rem;
    background-color: #0070c0;
    border: 2px solid #0070c0;
    color: #ffffff;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(0, 112, 192, 0.3);
    border-radius: 30px;
    font-weight: 600;
    transition: var(--transition);
}

.submit-app-btn:hover {
    background-color: #005a9c;
    border-color: #005a9c;
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(0, 112, 192, 0.5);
}

.form-message {
    margin-top: 20px;
    padding: 15px;
    border-radius: 12px;
    text-align: center;
    font-weight: 600;
    transition: var(--transition);
}

.form-message.success {
    background-color: rgba(37, 211, 102, 0.15);
    color: #128c7e;
    border: 1px solid rgba(37, 211, 102, 0.3);
}

.form-message.error {
    background-color: rgba(234, 67, 53, 0.15);
    color: #ea4335;
    border: 1px solid rgba(234, 67, 53, 0.3);
}

.form-message.hidden {
    display: none;
}

/* Responsive form styling */
@media (max-width: 768px) {
    .application-card {
        padding: 35px 20px;
    }

    .form-row.grid-2,
    .form-row.grid-large-small {
        grid-template-columns: 1fr;
        gap: 20px;
    }
}

/* Footer */
footer {
    background: var(--card-bg);
    border-top: 1px solid var(--card-border);
    padding: 60px 20px 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    margin-bottom: 40px;
}

.footer-brand {
    background-color: #e2e8f0;
    padding: 25px;
    border-radius: 12px;
    width: 100%;
}

.footer-brand h3 {
    color: #1a1b35;
    font-size: 1.2rem;
    margin-bottom: 20px;
    font-family: var(--font-heading);
    font-weight: 700;
}

.footer-brand p {
    color: #64748b;
    font-size: 1.05rem;
    line-height: 1.6;
}

.footer-links {
    background-color: #e2e8f0;
    padding: 25px;
    border-radius: 12px;
    width: 100%;

}

.footer-links h4 {
    color: #1a1b35;
    font-size: 1.2rem;
    margin-bottom: 20px;
    font-family: var(--font-heading);
}

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

.footer-links li {
    margin-bottom: 12px;
}

.footer-links li:last-child {
    margin-bottom: 0;
}

.footer-links a {
    color: #64748b;
    text-decoration: none;
    font-size: 1.05rem;
    line-height: 1.6;
    display: flex;
    align-items: center;
    gap: 10px;
    transition: var(--transition);
}

.footer-links a:hover {
    color: var(--primary-color);
    transform: translateX(5px);
}

.footer-links i {
    color: #0070c0;
    font-size: 0.9rem;
    transition: var(--transition);
}

.footer-links a:hover i {
    color: var(--primary-color);
}

.footer-contact-widget {
    background-color: #e2e8f0;
    padding: 25px;
    border-radius: 12px;
    width: 100%;
}

.footer-contact-widget h4 {
    color: #1a1b35;
    font-size: 1.2rem;
    margin-bottom: 20px;
    font-family: var(--font-heading);
}

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

.footer-contact-widget li {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    margin-bottom: 18px;
    color: #64748b;
    font-size: 1.05rem;
    line-height: 1.6;
}

.footer-contact-widget li:last-child {
    margin-bottom: 0;
}

.footer-contact-widget i {
    color: #0070c0;
    /* Icon color */
    font-size: 1.2rem;
    margin-top: 4px;
}

.footer-bottom {
    text-align: center;
    padding-top: 25px;
    border-top: 1px solid var(--card-border);
    font-size: 0.9rem;
    color: #64748b;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

.footer-logo {
    max-height: 45px;
    width: auto;
    transition: var(--transition);
}

.footer-logo:hover {
    transform: scale(1.05);
}

/* Animations */
@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

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

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

    33% {
        transform: translate(30px, -50px) scale(1.1);
    }

    66% {
        transform: translate(-20px, 20px) scale(0.9);
    }

    100% {
        transform: translate(0, 0) scale(1);
    }
}

@keyframes gradientMove {
    0% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }

    100% {
        background-position: 0% 50%;
    }
}

/* Responsive */
@media (max-width: 768px) {
    .hero h1 {
        font-size: 2.5rem;
    }

    #search-form {
        flex-direction: column;
        border-radius: 20px;
    }

    #search-form select {
        border-left: none;
        border-top: 1px solid var(--card-border);
    }

    #search-form button {
        border-radius: 10px;
    }

    .nav-links {
        display: none;
    }
}

/* Floating Action Button Stack */
.floating-btn-stack {
    position: fixed;
    bottom: 30px;
    right: 30px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    z-index: 999;
}

.floating-btn {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    border: none;
    font-size: 1.2rem;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    color: #ffffff;
}

/* Instagram - Premium Gradient */
.floating-instagram-btn {
    background: linear-gradient(135deg, #833ab4, #fd1d1d, #fcb045);
    box-shadow: 0 4px 15px rgba(253, 29, 29, 0.4);
}

.floating-instagram-btn:hover {
    transform: scale(1.15) rotate(-5deg);
    box-shadow: 0 8px 25px rgba(253, 29, 29, 0.6);
    background: linear-gradient(135deg, #fcb045, #fd1d1d, #833ab4);
    color: #ffffff;
}

/* Call - Vibrant Green */
.floating-call-btn {
    background: linear-gradient(135deg, #00c853, #69f0ae);
    box-shadow: 0 4px 15px rgba(0, 200, 83, 0.5);
}

.floating-call-btn:hover {
    transform: scale(1.15) rotate(5deg);
    box-shadow: 0 8px 25px rgba(0, 200, 83, 0.7);
    background: linear-gradient(135deg, #69f0ae, #00c853);
    color: #ffffff;
}

/* WhatsApp - Chat Green */
.floating-whatsapp-btn {
    background: linear-gradient(135deg, #25d366, #128c7e);
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.4);
}

.floating-whatsapp-btn:hover {
    transform: scale(1.15) rotate(-5deg);
    box-shadow: 0 8px 25px rgba(37, 211, 102, 0.6);
    background: linear-gradient(135deg, #128c7e, #25d366);
    color: #ffffff;
}

/* LinkedIn - Professional Blue */
.floating-linkedin-btn {
    background: linear-gradient(135deg, #0077b5, #00a0dc);
    box-shadow: 0 4px 15px rgba(0, 119, 181, 0.4);
}

.floating-linkedin-btn:hover {
    transform: scale(1.15) rotate(-5deg);
    box-shadow: 0 8px 25px rgba(0, 119, 181, 0.6);
    background: linear-gradient(135deg, #00a0dc, #0077b5);
    color: #ffffff;
}

/* Chat Widget Positioned Left of FAB Stack */
.chat-widget {
    position: fixed;
    bottom: 30px;
    right: 110px;
    width: 320px;
    background: #ffffff;
    border-radius: 12px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
    z-index: 1000;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    transition: all 0.3s ease;
    transform: translateY(0);
    opacity: 1;
}

.chat-widget.hidden {
    opacity: 0;
    pointer-events: none;
    transform: translateY(20px);
}

.chat-header {
    background: #0070c0;
    color: #ffffff;
    padding: 15px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.chat-header h4 {
    margin: 0;
    font-size: 1.1rem;
    font-family: var(--font-heading);
}

#close-chat {
    background: none;
    border: none;
    color: #ffffff;
    font-size: 1.5rem;
    cursor: pointer;
    line-height: 1;
}

.chat-body {
    padding: 15px;
    height: 250px;
    overflow-y: auto;
    background: #f8fafc;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.chat-message {
    padding: 10px 15px;
    border-radius: 15px;
    max-width: 85%;
    font-size: 0.95rem;
    line-height: 1.4;
}

.chat-message.bot {
    background: #eef8fc;
    color: #333333;
    align-self: flex-start;
    border-bottom-left-radius: 5px;
}

.chat-message.user {
    background: #0070c0;
    color: #ffffff;
    align-self: flex-end;
    border-bottom-right-radius: 5px;
}

.chat-footer {
    padding: 15px;
    background: #ffffff;
    border-top: 1px solid #e2e8f0;
    display: flex;
    gap: 10px;
}

#chat-input {
    flex: 1;
    padding: 8px 12px;
    border: 1px solid #cbd5e1;
    border-radius: 20px;
    outline: none;
    font-family: inherit;
}

#chat-input:focus {
    border-color: #0070c0;
}

#send-chat {
    background: #0070c0;
    color: #ffffff;
    border: none;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.3s;
}

#send-chat:hover {
    background: #005a9c;
}

/* Durations Section */
.durations-section {
    padding: 60px 20px;
    margin-bottom: 80px;
}

.durations-header {
    text-align: center;
    margin-bottom: 50px;
}

.durations-title {
    font-size: 2.5rem;
    font-family: var(--font-heading);
    color: var(--text-color);
    font-weight: 700;
}

.durations-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px;
}

.duration-card {
    flex: 1 1 calc(33.333% - 20px);
    min-width: 280px;
    max-width: 360px;
    background: #e2e8f0;
    border: 1px solid var(--card-border);
    border-radius: 20px;
    padding: 40px 30px;
    text-align: center;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.duration-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
    border-color: rgba(0, 112, 192, 0.4);
}

.duration-icon-wrapper {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: rgba(0, 112, 192, 0.1);
    color: #0070c0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin-bottom: 25px;
    transition: var(--transition);
}

.duration-card:hover .duration-icon-wrapper {
    background: #0070c0;
    color: #ffffff;
    transform: rotate(360deg);
}

.duration-card-title {
    font-family: 'Georgia', 'Times New Roman', serif;
    font-size: 1.4rem;
    color: #1a1b35;
    margin-bottom: 6px;
    font-weight: 700;
}

.duration-card-subtitle {
    color: #64748b;
    font-size: 0.95rem;
    margin-bottom: 25px;
}

.duration-highlight {
    color: #0070c0;
    font-size: 1.6rem;
    font-weight: 700;
    margin-bottom: 12px;
    font-family: var(--font-heading);
}

.duration-card-desc {
    color: #475569;
    font-size: 0.9rem;
    line-height: 1.4;
    max-width: 220px;
}

/* Responsive */
@media (max-width: 992px) {
    .duration-card {
        flex: 1 1 calc(50% - 20px);
    }
}

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

    .duration-card {
        padding: 35px 20px;
        flex: 1 1 100%;
        max-width: 400px;
    }
}

/* Why Yale IT Section */
.why-section {
    padding: 60px 20px;
    margin-bottom: 80px;
}

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

.why-title {
    font-size: 2.5rem;
    font-family: var(--font-heading);
    color: var(--text-color);
    font-weight: 700;
}

.why-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
}

.why-card {
    background: #e2e8f0;
    /* Silver background */
    border: 1px solid var(--card-border);
    border-radius: 20px;
    padding: 35px 25px;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    display: flex;
    flex-direction: column;
}

.why-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
    border-color: rgba(0, 112, 192, 0.4);
}

.why-card-header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
}

.why-icon-wrapper {
    width: 45px;
    height: 45px;
    border-radius: 10px;
    background: rgba(0, 112, 192, 0.15);
    color: #0070c0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    transition: var(--transition);
}

.why-card:hover .why-icon-wrapper {
    background: #0070c0;
    color: #ffffff;
}

.why-badge {
    font-size: 1rem;
    font-weight: 700;
    color: #1a1b35;
    font-family: var(--font-body);
}

.why-card-title {
    font-family: 'Georgia', 'Times New Roman', serif;
    font-size: 1.35rem;
    color: #1a1b35;
    margin-bottom: 12px;
    font-weight: 700;
    line-height: 1.3;
}

.why-card-desc {
    color: #475569;
    font-size: 0.95rem;
    line-height: 1.5;
}

/* Responsive why grid */
@media (max-width: 1024px) {
    .why-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

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

    .why-card {
        padding: 25px 20px;
    }
}

/* Success Story Section */
.success-section {
    padding: 60px 20px;
    margin-bottom: 50px;
}

.success-header {
    text-align: center;
    margin-bottom: 45px;
}

/* Success Story Section */
.success-section {
    padding: 60px 20px;
    margin-bottom: 50px;
}

.success-header {
    text-align: center;
    margin-bottom: 45px;
}

.success-title {
    font-size: 2.5rem;
    font-family: var(--font-heading);
    background: linear-gradient(135deg, #0070c0 0%, #2bac44 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    font-weight: 800;
    margin-bottom: 10px;
    display: inline-block;
}

.success-subtitle {
    font-size: 1.15rem;
    color: #64748b;
    font-style: italic;
}

.success-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.success-card {
    background: #ffffff;
    border: 2px solid rgba(0, 112, 192, 0.1);
    border-radius: 24px;
    padding: 30px 25px;
    box-shadow: 0 10px 30px rgba(0, 112, 192, 0.06);
    display: flex;
    align-items: center;
    gap: 20px;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.success-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: linear-gradient(135deg, #0070c0 0%, #2bac44 100%);
    opacity: 0;
    z-index: -1;
    transition: opacity 0.4s ease;
}

.success-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 112, 192, 0.2), 0 10px 20px rgba(43, 172, 68, 0.15);
    border-color: #ffffff;
}

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

.success-icon-wrapper {
    width: 60px;
    height: 60px;
    border-radius: 16px;
    background: rgba(0, 112, 192, 0.1);
    color: #0070c0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.6rem;
    transition: all 0.4s ease;
}

.success-card:hover .success-icon-wrapper {
    background: #ffffff;
    color: #2bac44;
    transform: scale(1.1) rotate(5deg);
}

.success-content {
    display: flex;
    flex-direction: column;
}

.success-number {
    font-size: 2.2rem;
    font-weight: 800;
    color: #0070c0;
    font-family: var(--font-heading);
    line-height: 1.1;
    margin-bottom: 4px;
    transition: color 0.4s ease;
}

.success-card:hover .success-number {
    color: #ffffff;
}

.success-label {
    font-size: 1.05rem;
    color: #475569;
    font-weight: 600;
    transition: color 0.4s ease;
}

.success-card:hover .success-label {
    color: rgba(255, 255, 255, 0.9);
}

/* Responsive grid */
@media (max-width: 992px) {
    .success-grid {
        grid-template-columns: 1fr;
        gap: 20px;
        max-width: 500px;
        margin: 0 auto;
    }
}

/* ==========================================
   SEO 25 Rules Section Styles
   ========================================== */
.seo-rules-section {
    padding: 80px 20px;
    margin-bottom: 80px;
}

.seo-rules-header {
    text-align: center;
    margin-bottom: 45px;
}

.seo-rules-title {
    font-size: 2.8rem;
    font-family: var(--font-heading);
    color: var(--text-color);
    font-weight: 700;
}

.seo-rules-title .text-blue {
    color: #0070c0;
    font-weight: 800;
}

.seo-rules-desc {
    color: #475569;
    font-size: 1.15rem;
    max-width: 700px;
    margin: 15px auto 0;
}

/* Progress Card Tracker */
.seo-progress-card {
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: 20px;
    padding: 25px 35px;
    margin-bottom: 40px;
    box-shadow: var(--shadow-sm);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    transition: var(--transition);
}

.progress-info {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 18px;
    flex-wrap: wrap;
    gap: 15px;
}

.progress-text {
    font-size: 1.1rem;
    color: var(--text-color);
    font-weight: 500;
}

.progress-text strong {
    color: var(--primary-color);
    font-weight: 800;
    font-size: 1.2rem;
}

.btn-reset {
    background: transparent;
    border: 1px solid var(--card-border);
    color: var(--text-color);
    padding: 8px 18px;
    border-radius: 30px;
    font-weight: 700;
    cursor: pointer;
    font-family: var(--font-body);
    transition: var(--transition);
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 8px;
    box-shadow: var(--shadow-sm);
}

.btn-reset:hover {
    background: rgba(0, 112, 192, 0.1);
    color: var(--primary-color);
    border-color: var(--primary-color);
    transform: translateY(-1px);
}

.progress-bar-container {
    width: 100%;
    height: 12px;
    background: rgba(0, 0, 0, 0.06);
    border-radius: 30px;
    overflow: hidden;
}

.progress-bar-fill {
    height: 100%;
    width: 0%;
    background: linear-gradient(90deg, var(--primary-color) 0%, var(--accent-color) 100%);
    border-radius: 30px;
    transition: width 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Controls (Search & Filters) */
.seo-controls {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 40px;
    flex-wrap: wrap;
    gap: 20px;
}

.seo-search-wrapper {
    position: relative;
    max-width: 480px;
    width: 100%;
}

.seo-search-wrapper input {
    width: 100%;
    padding: 14px 20px 14px 50px;
    border-radius: 30px;
    border: 1px solid #cbd5e1;
    background: var(--card-bg);
    color: var(--text-color);
    font-family: var(--font-body);
    font-size: 0.95rem;
    outline: none;
    transition: var(--transition);
    box-shadow: var(--shadow-sm);
}

.seo-search-wrapper input:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 4px rgba(0, 112, 192, 0.15);
}

.seo-search-wrapper .search-icon {
    position: absolute;
    left: 20px;
    top: 50%;
    transform: translateY(-50%);
    color: #64748b;
    font-size: 1.05rem;
    pointer-events: none;
}

.seo-filter-buttons {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.seo-filter-btn {
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    color: var(--text-color);
    padding: 10px 22px;
    border-radius: 30px;
    font-size: 0.9rem;
    font-weight: 700;
    cursor: pointer;
    transition: var(--transition);
    font-family: var(--font-body);
    box-shadow: var(--shadow-sm);
}

.seo-filter-btn:hover {
    background: rgba(6, 182, 212, 0.1);
    border-color: var(--accent-color);
    color: var(--accent-color);
}

.seo-filter-btn.active {
    background: var(--accent-color);
    border-color: var(--accent-color);
    color: #ffffff;
    box-shadow: 0 4px 12px rgba(6, 182, 212, 0.3);
}

/* Grid layout for cards */
.seo-rules-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(360px, 1fr));
    gap: 30px;
}

/* Card design */
.seo-card {
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: 20px;
    padding: 28px;
    display: flex;
    flex-direction: column;
    gap: 16px;
    transition: var(--transition);
    box-shadow: var(--shadow-sm);
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.seo-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color) 0%, var(--accent-color) 100%);
    opacity: 0;
    transition: var(--transition);
}

.seo-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

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

.seo-card.checked {
    border-color: rgba(37, 211, 102, 0.5);
    background: rgba(37, 211, 102, 0.04);
}

.seo-card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 15px;
}

/* Custom Checkbox */
.seo-card-checkbox-label {
    display: flex;
    align-items: center;
    gap: 12px;
    cursor: pointer;
    font-weight: 700;
    font-size: 1.15rem;
    color: var(--text-color);
    user-select: none;
}

.seo-card-checkbox-label input {
    display: none;
}

.seo-checkbox-custom {
    width: 24px;
    height: 24px;
    border: 2px solid #cbd5e1;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
    background: #ffffff;
    flex-shrink: 0;
}

.seo-card-checkbox-label:hover .seo-checkbox-custom {
    border-color: var(--primary-color);
}

.seo-checkbox-custom::after {
    content: '\f00c';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    font-size: 0.8rem;
    color: #ffffff;
    display: none;
}

.seo-card-checkbox-label input:checked+.seo-checkbox-custom {
    background: #25d366;
    border-color: #25d366;
}

.seo-card-checkbox-label input:checked+.seo-checkbox-custom::after {
    display: block;
}

/* Badges */
.seo-badge {
    font-size: 0.72rem;
    padding: 4px 12px;
    border-radius: 30px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.6px;
}

.seo-badge.foundational {
    background: rgba(0, 112, 192, 0.12);
    color: var(--primary-color);
}

.seo-badge.on-page {
    background: rgba(236, 72, 153, 0.12);
    color: var(--secondary-color);
}

.seo-badge.technical {
    background: rgba(6, 182, 212, 0.12);
    color: var(--accent-color);
}

/* Content details */
.seo-card-desc {
    color: #64748b;
    font-size: 0.95rem;
    line-height: 1.55;
}

.seo-card-toggle-btn {
    background: transparent;
    border: none;
    color: var(--primary-color);
    font-weight: 700;
    font-size: 0.92rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 6px;
    transition: var(--transition);
    padding: 0;
    margin-top: auto;
    width: fit-content;
}

.seo-card-toggle-btn:hover {
    color: var(--accent-color);
}

.seo-card-toggle-btn i {
    font-size: 0.8rem;
    transition: transform 0.3s ease;
}

.seo-card-toggle-btn.active i {
    transform: rotate(180deg);
}

/* Accordion details box */
.seo-card-details {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.35s cubic-bezier(0.4, 0, 0.2, 1), padding 0.35s ease;
    display: flex;
    flex-direction: column;
    gap: 15px;
    border-top: 1px solid rgba(0, 0, 0, 0.06);
    padding-top: 0;
}

.seo-card-details.open {
    max-height: 500px;
    padding-top: 20px;
    border-top: 1px solid rgba(0, 0, 0, 0.06);
}

.details-block {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.details-block h4 {
    font-size: 0.82rem;
    font-weight: 700;
    color: var(--text-color);
    text-transform: uppercase;
    letter-spacing: 0.6px;
}

.details-block p {
    font-size: 0.9rem;
    color: #475569;
    background: rgba(0, 0, 0, 0.02);
    padding: 10px 14px;
    border-radius: 10px;
    border-left: 3px solid var(--accent-color);
    margin: 0;
    line-height: 1.5;
}

.details-block.example p {
    border-left-color: #25d366;
}

/* Theme updates and Dark overrides */

/* Responsive queries */
@media (max-width: 768px) {
    .seo-rules-title {
        font-size: 2.2rem;
    }

    .seo-controls {
        flex-direction: column;
        align-items: stretch;
    }

    .seo-filter-buttons {
        justify-content: center;
    }

    .seo-rules-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .seo-progress-card {
        padding: 20px;
    }

    .progress-info {
        flex-direction: column;
        align-items: flex-start;
    }
}

/* Course Card Custom Styling */
.course-image-wrapper {
    width: 50px;
    height: 50px;
    border-radius: 12px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #ffffff;
    border: 1px solid rgba(0, 0, 0, 0.08);
    flex-shrink: 0;
}

.course-card-image {
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 2px;
}

.course-desc {
    font-size: 0.95rem;
    color: #475569;
    line-height: 1.5;
    margin: 5px 0;
}

/* Placement Partners Logo Section */
.partners-container {
    margin-top: 50px;
    padding-top: 40px;
    border-top: 1px solid var(--card-border);
    text-align: center;
}

.partners-title {
    font-size: 1.6rem;
    font-family: var(--font-heading);
    margin-bottom: 30px;
    color: var(--text-color);
    font-weight: 700;
}

.partners-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
    align-items: center;
    justify-items: center;
}

.partner-logo-card {
    background: #ffffff;
    border-radius: 12px;
    padding: 10px 15px;
    width: 100%;
    max-width: 190px;
    height: 70px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    animation: floatLogo 4s ease-in-out infinite;
}

/* Staggered organic delays and durations for floating effect */
.partner-logo-card:nth-child(even) {
    animation-duration: 4.5s;
    animation-delay: 0.3s;
}

.partner-logo-card:nth-child(3n) {
    animation-duration: 5s;
    animation-delay: 0.1s;
}

.partner-logo-card:nth-child(4n) {
    animation-duration: 3.8s;
    animation-delay: 0.6s;
}

.partner-logo-card:hover {
    transform: translateY(-8px) scale(1.03);
    box-shadow: var(--shadow-lg);
    animation-play-state: paused;
}

@keyframes floatLogo {
    0% {
        transform: translateY(0px);
    }

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

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

.partner-logo-svg {
    width: 100%;
    height: 100%;
}

@media (max-width: 992px) {
    .partners-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 768px) {
    .partners-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
}

@media (max-width: 576px) {
    .chat-widget {
        right: 20px;
        bottom: 100px;
        width: calc(100% - 40px);
        max-width: 320px;
    }
}

/* SPA Navigation & Page View Routing */
.page-view {
    display: none;
    opacity: 0;
    transition: opacity 0.3s ease-in-out;
}

.page-view.active {
    display: block;
    opacity: 1;
}

/* Scroll offset for sticky header on in-page sections */
#internships,
#apply,
#contact {
    scroll-margin-top: 80px;
}

/* Page Views Container Base */
.page-view-container {
    padding: 60px 0;
    min-height: calc(100vh - 250px);
}

/* Internship Details Page */
.details-container {
    max-width: 900px;
    margin: 0 auto;
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: 24px;
    padding: 40px;
    box-shadow: var(--shadow-lg);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.details-header {
    display: flex;
    gap: 25px;
    align-items: center;
    border-bottom: 1px solid var(--card-border);
    padding-bottom: 25px;
    margin-bottom: 30px;
}

.details-img-wrapper {
    width: 80px;
    height: 80px;
    border-radius: 16px;
    background: #ffffff;
    padding: 8px;
    border: 1px solid rgba(0, 0, 0, 0.08);
}

.details-img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.details-title-area h2 {
    font-size: 2.2rem;
    color: var(--text-color);
}

.details-meta-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin-bottom: 30px;
}

.meta-box {
    background: rgba(255, 255, 255, 0.4);
    padding: 15px 20px;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    display: flex;
    align-items: center;
    gap: 12px;
}

.meta-box i {
    font-size: 1.4rem;
    color: var(--primary-color);
}

.meta-box-text h4 {
    font-size: 0.85rem;
    color: #64748b;
    text-transform: uppercase;
}

.meta-box-text p {
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--text-color);
}

.syllabus-section {
    margin-bottom: 35px;
}

.syllabus-title {
    font-size: 1.6rem;
    margin-bottom: 20px;
    border-bottom: 2px solid var(--primary-color);
    padding-bottom: 8px;
    display: inline-block;
}

.syllabus-timeline {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.timeline-card {
    background: rgba(255, 255, 255, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 20px;
    transition: var(--transition);
}

.timeline-card:hover {
    transform: translateX(5px);
    background: rgba(255, 255, 255, 0.6);
}

.timeline-card h4 {
    color: var(--primary-color);
    font-size: 1.15rem;
    margin-bottom: 6px;
}

.timeline-card p {
    color: var(--text-color);
    font-size: 0.95rem;
}

.details-actions {
    display: flex;
    gap: 15px;
    margin-top: 30px;
}

/* Login/Register Card Styles */
.login-container {
    max-width: 460px;
    margin: 0 auto;
}

.login-card {
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: 24px;
    padding: 35px;
    box-shadow: var(--shadow-lg);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.login-tabs {
    display: flex;
    border-bottom: 2px solid var(--card-border);
    margin-bottom: 25px;
}

.login-tab-btn {
    flex: 1;
    text-align: center;
    padding: 12px;
    font-family: var(--font-body);
    font-weight: 700;
    cursor: pointer;
    background: none;
    border: none;
    color: #64748b;
    transition: var(--transition);
    font-size: 1rem;
}

.login-tab-btn.active {
    color: var(--primary-color);
    border-bottom: 2px solid var(--primary-color);
    margin-bottom: -2px;
}

.login-form-wrapper {
    display: none;
}

.login-form-wrapper.active {
    display: block;
}

.login-header-text {
    text-align: center;
    margin-bottom: 20px;
}

.login-header-text h3 {
    font-size: 1.5rem;
    color: var(--text-color);
}

.login-header-text p {
    color: #64748b;
    font-size: 0.9rem;
}

/* Dashboards Styling */
.dashboard-grid {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 30px;
}

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

.dashboard-sidebar {
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: 20px;
    padding: 25px;
    height: fit-content;
}

.user-profile-widget {
    text-align: center;
    border-bottom: 1px solid var(--card-border);
    padding-bottom: 20px;
    margin-bottom: 20px;
}

.user-avatar {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    background: var(--primary-color);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    font-weight: bold;
    margin: 0 auto 15px;
}

.user-profile-widget h3 {
    font-size: 1.25rem;
    margin-bottom: 4px;
}

.user-profile-widget p {
    color: #64748b;
    font-size: 0.85rem;
}

.dashboard-menu {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.dashboard-menu-item a {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    border-radius: 10px;
    font-weight: 600;
    transition: var(--transition);
}

.dashboard-menu-item.active a,
.dashboard-menu-item a:hover {
    background: rgba(0, 112, 192, 0.1);
    color: var(--primary-color);
}

.dashboard-main {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.dashboard-card {
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: 20px;
    padding: 30px;
    box-shadow: var(--shadow-sm);
}

.dashboard-card-title {
    font-size: 1.4rem;
    margin-bottom: 20px;
    font-weight: 700;
    border-bottom: 1px solid var(--card-border);
    padding-bottom: 10px;
}

/* Metric Cards for Admin Dashboard */
.metrics-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 20px;
    margin-bottom: 30px;
}

.metric-card {
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: 16px;
    padding: 20px;
    text-align: center;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.metric-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.metric-icon {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 12px;
    font-size: 1.2rem;
}

.metric-icon.total {
    background: rgba(0, 112, 192, 0.15);
    color: var(--primary-color);
}

.metric-icon.pending {
    background: rgba(243, 156, 18, 0.15);
    color: #f39c12;
}

.metric-icon.approved {
    background: rgba(37, 211, 102, 0.15);
    color: #25d366;
}

.metric-icon.rejected {
    background: rgba(231, 76, 60, 0.15);
    color: #e74c3c;
}

.metric-number {
    font-size: 1.8rem;
    font-weight: 800;
    margin-bottom: 4px;
}

.metric-label {
    font-size: 0.85rem;
    color: #64748b;
    text-transform: uppercase;
    font-weight: 700;
}

/* Tables and Badges */
.table-responsive {
    overflow-x: auto;
    width: 100%;
}

.dashboard-table {
    width: 100%;
    border-collapse: collapse;
    text-align: left;
    font-size: 0.95rem;
}

.dashboard-table th {
    background: rgba(0, 0, 0, 0.02);
    padding: 12px 16px;
    font-weight: 700;
    color: #64748b;
    border-bottom: 2px solid var(--card-border);
}

.dashboard-table td {
    padding: 16px;
    border-bottom: 1px solid var(--card-border);
    vertical-align: middle;
}

.status-badge {
    padding: 4px 10px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    display: inline-block;
}

.status-badge.pending {
    background: rgba(243, 156, 18, 0.12);
    color: #f39c12;
}

.status-badge.approved {
    background: rgba(37, 211, 102, 0.12);
    color: #25d366;
}

.status-badge.rejected {
    background: rgba(231, 76, 60, 0.12);
    color: #e74c3c;
}

.action-btn-group {
    display: flex;
    gap: 8px;
}

.action-btn {
    border: none;
    padding: 6px 12px;
    border-radius: 6px;
    font-family: var(--font-body);
    font-weight: 700;
    cursor: pointer;
    font-size: 0.8rem;
    transition: var(--transition);
}

.action-btn.approve {
    background: #25d366;
    color: white;
}

.action-btn.approve:hover {
    background: #20b855;
}

.action-btn.reject {
    background: #e74c3c;
    color: white;
}

.action-btn.reject:hover {
    background: #c0392b;
}

.action-btn.download {
    background: var(--primary-color);
    color: white;
}

.action-btn.download:hover {
    background: #005a9c;
}

/* Contact Page View */
.contact-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 40px;
}

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

.contact-info-panel {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.contact-detail-card {
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: 20px;
    padding: 25px;
    display: flex;
    align-items: flex-start;
    gap: 20px;
}

.contact-icon-box {
    width: 50px;
    height: 50px;
    border-radius: 12px;
    background: rgba(0, 112, 192, 0.12);
    color: var(--primary-color);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    flex-shrink: 0;
}

.contact-text-box h3 {
    font-size: 1.15rem;
    margin-bottom: 6px;
    font-weight: 700;
}

.contact-text-box p {
    color: #64748b;
    font-size: 0.95rem;
}

/* Beautiful Interactive Map Card */
.map-card {
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: 20px;
    padding: 15px;
    height: 450px;
    box-shadow: var(--shadow-sm);
    position: relative;
    overflow: hidden;
}

.map-placeholder {
    width: 100%;
    height: 100%;
    border-radius: 12px;
    border: none;
}

/* Certificate Modal Overlay */
.cert-modal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.6);
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.cert-modal.active {
    opacity: 1;
    visibility: visible;
}

.cert-modal-content {
    background: white;
    padding: 40px;
    border-radius: 20px;
    max-width: 700px;
    width: 90%;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
    position: relative;
    color: #1e293b;
    text-align: center;
}

.close-cert-modal {
    position: absolute;
    top: 20px;
    right: 20px;
    font-size: 2rem;
    background: none;
    border: none;
    cursor: pointer;
    color: #64748b;
}

.certificate-frame {
    border: 10px double #0070c0;
    padding: 30px;
    background: #fbfbf6;
    border-radius: 8px;
    font-family: 'Times New Roman', serif;
}

.certificate-frame h2 {
    font-size: 2.2rem;
    color: #1e293b;
    margin-bottom: 10px;
}

.certificate-frame h3 {
    font-size: 1.2rem;
    color: #64748b;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 25px;
}

.certificate-frame .cert-recipient {
    font-size: 1.8rem;
    font-weight: bold;
    color: #0070c0;
    border-bottom: 2px solid #cbd5e1;
    display: inline-block;
    padding: 0 20px;
    margin-bottom: 20px;
}

.certificate-frame .cert-text {
    font-size: 1.1rem;
    line-height: 1.6;
    max-width: 500px;
    margin: 0 auto 30px;
}

.cert-signatures {
    display: flex;
    justify-content: space-between;
    margin-top: 40px;
    padding: 0 40px;
}

.signature-block {
    border-top: 1px solid #94a3b8;
    padding-top: 8px;
    width: 150px;
    font-size: 0.9rem;
    color: #64748b;
}

/* Audience Section */
.audience-section {
    padding: 80px 20px;
    margin-bottom: 40px;
    background: linear-gradient(to bottom, #ffffff, #f8fafc);
}

.audience-header {
    text-align: center;
    margin-bottom: 50px;
}

.audience-title {
    font-size: 2.5rem;
    font-family: var(--font-heading);
    color: var(--text-color);
    font-weight: 800;
    margin-bottom: 15px;
}

.audience-subtitle {
    font-size: 1.15rem;
    color: #64748b;
    max-width: 600px;
    margin: 0 auto;
}

.audience-grid {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 30px;
}

.audience-card {
    background: #ffffff;
    border: 1px solid var(--card-border);
    border-radius: 20px;
    padding: 35px 25px;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    height: 100%;
}

.audience-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
    border-color: #0070c0;
}

.audience-icon-wrapper {
    width: 60px;
    height: 60px;
    border-radius: 16px;
    background: rgba(0, 112, 192, 0.1);
    color: #0070c0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    margin-bottom: 20px;
    transition: var(--transition);
}

.audience-card:hover .audience-icon-wrapper {
    background: #0070c0;
    color: #ffffff;
    transform: scale(1.1);
}

.audience-card-title {
    font-size: 1.4rem;
    color: var(--text-color);
    margin-bottom: 12px;
    font-weight: 700;
    font-family: var(--font-heading);
}

.audience-card-desc {
    color: #64748b;
    font-size: 0.95rem;
    line-height: 1.5;
    margin-bottom: 25px;
    flex-grow: 1;
}

.audience-benefits {
    list-style: none;
    padding: 0;
    margin: 0 0 30px 0;
}

.audience-benefits li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 12px;
    color: #475569;
    font-size: 0.95rem;
    line-height: 1.4;
}

.audience-benefits li i {
    color: #22c55e;
    font-size: 1.1rem;
    margin-top: 2px;
}

.audience-btn {
    margin-top: auto;
    text-align: center;
    display: block;
    width: 100%;
    padding: 12px;
    font-weight: 600;
    border-radius: 10px;
}

/* Package Section - Light Theme */
.package-section {
    background: linear-gradient(to bottom, #f8fafc, #ffffff);
    padding: 80px 20px;
    margin: 40px 0;
}

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

.package-header.text-center {
    text-align: center;
    margin-bottom: 50px;
}

.package-title {
    color: var(--text-color);
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 15px;
    font-family: var(--font-heading);
}

.package-content-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
}

.package-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.package-card {
    background-color: #ffffff;
    border: 1px solid var(--card-border);
    border-radius: 16px;
    padding: 24px;
    display: flex;
    align-items: center;
    gap: 20px;
    transition: var(--transition);
    box-shadow: var(--shadow-sm);
}

.package-card:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-2px);
    border-color: rgba(0, 112, 192, 0.3);
}

.package-icon {
    width: 60px;
    height: 60px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    flex-shrink: 0;
}

.package-icon.text-yellow {
    background-color: rgba(245, 158, 11, 0.15);
    color: #d97706;
}

.package-icon.text-blue {
    background-color: rgba(59, 130, 246, 0.15);
    color: #2563eb;
}

.package-icon.text-indigo {
    background-color: rgba(99, 102, 241, 0.15);
    color: #0070c0;
}

.package-icon.text-sky {
    background-color: rgba(14, 165, 233, 0.15);
    color: #0284c7;
}

.package-icon.text-purple {
    background-color: rgba(168, 85, 247, 0.15);
    color: #9333ea;
}

.package-item-title {
    color: var(--text-color);
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 6px;
    font-family: var(--font-heading);
}

.package-item-desc {
    color: #64748b;
    font-size: 0.95rem;
    line-height: 1.5;
    margin: 0;
}

.package-certificate-preview {
    background: #ffffff;
    padding: 30px;
    border-radius: 20px;
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--card-border);
    transform: perspective(1000px) rotateY(-5deg);
    transition: var(--transition);
}

.package-certificate-preview:hover {
    transform: perspective(1000px) rotateY(0deg) scale(1.02);
}

.certificate-frame.mini {
    padding: 20px;
    border-width: 6px;
}

.certificate-frame.mini h2 {
    font-size: 1.8rem;
}

.certificate-frame.mini h3 {
    font-size: 1rem;
    margin-bottom: 15px;
}

.certificate-frame.mini .cert-recipient {
    font-size: 1.4rem;
    padding: 0 10px;
    margin-bottom: 15px;
}

.certificate-frame.mini .cert-text {
    font-size: 0.95rem;
    margin: 0 auto 20px;
}

.certificate-frame.mini .cert-signatures {
    margin-top: 25px;
    padding: 0 10px;
}

.certificate-frame.mini .signature-block {
    width: 100px;
    font-size: 0.8rem;
}

@media (max-width: 900px) {
    .package-content-grid {
        grid-template-columns: 1fr;
    }

    .package-certificate-preview {
        transform: none;
    }

    .package-certificate-preview:hover {
        transform: none;
    }
}

@media (max-width: 600px) {
    .package-card {
        flex-direction: column;
        align-items: flex-start;
        padding: 20px;
    }
}

/* Internship Card Program Comparison */
.program-comparison {
    margin-top: 15px;
    margin-bottom: 10px;
    font-size: 0.85rem;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
    background: #f8fafc;
    padding: 12px;
    border-radius: 8px;
    border: 1px solid #e2e8f0;
}

.pc-column {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.others-col {
    border-left: 1px solid #e2e8f0;
    padding-left: 15px;
}

.pc-badge {
    font-weight: 700;
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 0.75rem;
    letter-spacing: 0.5px;
    align-self: flex-start;
}

.yale-badge {
    background: #eafff0;
    color: #1b5e20;
    border: 1px solid #c8e6c9;
}

.yale-text {
    color: #0f172a;
    font-weight: 600;
    line-height: 1.4;
}

.others-badge {
    background: #fef2f2;
    color: #dc2626;
    border: 1px solid #fecaca;
}

.others-text {
    color: #64748b;
    line-height: 1.4;
}

@media (max-width: 600px) {
    .program-comparison {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .others-col {
        border-left: none;
        padding-left: 0;
        border-top: 1px solid #e2e8f0;
        padding-top: 12px;
    }
}

/* Ensure Floating Action Buttons look great on mobile screens */
@media (max-width: 768px) {
    .floating-btn-stack {
        bottom: 20px !important;
        right: 20px !important;
        gap: 10px !important;
        z-index: 9999 !important;
        /* Ensure they are above everything */
        position: fixed !important;
    }

    .floating-btn {
        width: 40px !important;
        height: 40px !important;
        font-size: 1.1rem !important;
    }
}

/* ==========================================================================
   Mobile Responsive Fixes & Detached Floating Buttons
   ========================================================================== */

/* 1. Hero Layout Shift */
@media (max-width: 992px) {
    .hero-container {
        flex-direction: column !important;
        text-align: center !important;
        padding-top: 30px;
    }

    .hero-content,
    .hero-image {
        width: 100% !important;
        text-align: center !important;
    }

    .hero-title {
        font-size: 3rem !important;
    }

    .hero-mini-form {
        margin: 0 auto;
    }
}

/* 2. Footer Layout Shift */
@media (max-width: 768px) {
    .footer-content {
        grid-template-columns: 1fr !important;
        gap: 30px;
    }
}

/* 3. Grid Viewport Overflow Fix */
.internships-grid {
    grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)) !important;
}

/* 4. Detached Floating Action Buttons (Mobile) */
@media (max-width: 768px) {
    /* .floating-btn-stack {
        position: static !important;
        flex-direction: row !important;
        justify-content: flex-end !important;
        padding: 20px !important;
        background: transparent !important;
        width: 100% !important;
        margin-top: 20px !important;
        bottom: auto !important;
        right: auto !important;
        box-shadow: none !important;
    } */

    .chat-widget {
        position: static !important;
        width: 100% !important;
        max-width: 100% !important;
        margin-top: 20px !important;
        right: auto !important;
        bottom: auto !important;
        border: 1px solid var(--card-border);
        box-shadow: none !important;
        border-radius: 12px !important;
    }
}


/* ==========================================================================
   Dynamic Navbar & Mobile Menu Styles
   ========================================================================== */

/* Navbar Scroll Hide Transition */
.site-header {
    transition: transform 0.3s ease-in-out;
}

.site-header.nav-hidden {
    transform: translateY(-100%);
}

/* Mobile Menu Toggle Button */
.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 1.6rem;
    color: var(--text-color);
    cursor: pointer;
    transition: color 0.3s ease;
}

.mobile-menu-toggle:hover {
    color: var(--primary-color);
}

/* Mobile Nav Styles */
@media (max-width: 768px) {
    .mobile-menu-toggle {
        display: block;
        margin-left: 15px;
    }

    /* Make the Contact Us button a bit smaller on mobile so it fits next to hamburger */
    .contact-highlight {
        padding: 8px 15px;
        font-size: 0.9rem;
    }

    /* Convert main-nav into a dropdown */
    .main-nav {
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: #ffffff;
        box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
        border-top: 1px solid #e5e7eb;
        /* Slide animation */
        transform: translateY(-10px);
        opacity: 0;
        visibility: hidden;
        transition: all 0.3s ease-in-out;
        z-index: 999;
    }

    .main-nav.nav-active {
        transform: translateY(0);
        opacity: 1;
        visibility: visible;
    }

    /* Override the display: none from earlier */
    .nav-links {
        display: flex !important;
        flex-direction: column;
        padding: 10px 0;
        margin: 0;
    }

    .nav-links a {
        padding: 15px 20px;
        border-bottom: 1px solid #f1f5f9;
        font-size: 1.1rem;
        display: block;
    }

    .nav-links a:hover {
        background: #f8fafc;
        color: var(--primary-color);
    }

    .nav-links li:last-child a {
        border-bottom: none;
    }
}


/* ==========================================================================
   YouTube Shorts Grid & Cropping
   ========================================================================== */
.videos-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    max-width: 1000px;
    margin: 40px auto 0;
}

.shorts-wrapper {
    position: relative;
    width: 100%;
    aspect-ratio: 16/9;
    overflow: hidden;
    border-radius: 20px;
    box-shadow: var(--shadow-lg);
    background: #000;
}

.shorts-wrapper iframe {
    position: absolute;
    top: -60px;
    left: -34px;
    width: calc(100% + 68px);
    height: calc(100% + 120px);
    pointer-events: auto;
}


/* ==========================================================================
   Video Testimonial Cards
   ========================================================================== */
.videos-grid.testimonials-grid {
    align-items: center;
    padding: 60px 20px;
    gap: 40px;
}

.testimonial-card {
    background: #ffffff;
    border-radius: 24px;
    padding: 20px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.06);
    display: flex;
    flex-direction: column;
    gap: 15px;
    transition: transform 0.4s ease, box-shadow 0.4s ease;
    border: 1px solid rgba(0, 0, 0, 0.02);
}

.testimonial-card:hover {
    box-shadow: 0 25px 45px rgba(0, 0, 0, 0.1);
}

@media (min-width: 992px) {
    .testimonial-card:nth-child(3n+1) {
        transform: translateY(30px);
    }

    .testimonial-card:nth-child(3n+2) {
        transform: translateY(-40px);
    }

    .testimonial-card:nth-child(3n+3) {
        transform: translateY(50px);
    }

    .testimonial-card:nth-child(3n+1):hover {
        transform: translateY(20px);
    }

    .testimonial-card:nth-child(3n+2):hover {
        transform: translateY(-50px);
    }

    .testimonial-card:nth-child(3n+3):hover {
        transform: translateY(40px);
    }
}

.testimonial-info {
    display: flex;
    flex-direction: column;
    gap: 8px;
    text-align: left;
    padding-top: 5px;
}

.testimonial-stars {
    color: #FFC107;
    font-size: 14px;
    display: flex;
    gap: 4px;
}

.testimonial-name {
    font-size: 1.15rem;
    font-weight: 800;
    color: #1f2937;
    margin: 0;
}

.testimonial-role {
    font-size: 0.85rem;
    color: #6b7280;
    margin: 0;
}

.testimonial-socials {
    display: flex;
    gap: 12px;
    margin: 8px 0;
}

.testimonial-socials i {
    color: #9CA3AF;
    font-size: 18px;
    cursor: pointer;
    transition: color 0.2s;
}

.testimonial-socials i:hover {
    color: var(--primary-color);
}

.testimonial-review-lines {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-top: 5px;
}

.testimonial-review-lines .line {
    height: 10px;
    background: #E5E7EB;
    border-radius: 10px;
}

.line-long {
    width: 100%;
}

.line-medium {
    width: 85%;
}

.line-short {
    width: 50%;
}

.testimonial-verified {
    text-align: right;
    margin-top: 5px;
}

.testimonial-verified span {
    font-size: 0.75rem;
    color: #3B82F6;
    font-weight: 600;
}

/* Fix iframe math for 16:9 ratio and hide YouTube UI */
.shorts-wrapper {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    border-radius: 16px;
    background: #000;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    pointer-events: auto;
}

/* Scale iframe up and reposition to crop out top title and bottom controls */
.shorts-wrapper iframe {
    position: absolute;
    top: -60px;
    left: -2px;
    width: calc(100% + 4px);
    height: calc(100% + 120px);
    pointer-events: auto;
}


/* ==========================================================================
   Premium Dark Footer
   ========================================================================== */
.premium-footer {
    background-color:#DFF1F1;
    color: var(--text-color);
    padding: 80px 40px 0;
    font-family: 'Inter', sans-serif;
    position: relative;
    overflow: hidden;
    border-top: 1px solid rgba(15, 23, 42, 0.08);
}

.premium-footer-top {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    margin-bottom: 60px;
    position: relative;
    z-index: 2;
    max-width: 1400px;
    margin-left: auto;
    margin-right: auto;
}

.premium-footer-left {
    display: flex;
    flex-direction: column;
    gap: 35px;
}

.premium-footer-socials {
    display: flex;
    gap: 15px;
}

.premium-footer-socials a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    border: 1px solid rgba(15, 23, 42, 0.15);
    color: var(--text-color);
    font-size: 1.2rem;
    transition: all 0.3s ease;
    text-decoration: none;
}

.premium-footer-socials a:hover {
    background: var(--primary-color);
    color: #ffffff;
    border-color: var(--primary-color);
}

.premium-footer-contact {
    display: flex;
    flex-direction: column;
    gap: 20px;
    font-size: 1rem;
    color: #475569;
    line-height: 1.6;
}

.premium-footer-contact p {
    margin: 0;
}

.premium-footer-contact a {
    color: var(--text-color);
    text-decoration: none;
    transition: color 0.3s ease;
    font-weight: 500;
}

.premium-footer-contact a:hover {
    color: var(--primary-color);
}

.premium-footer-right {
    display: flex;
    justify-content: center;
}

.premium-footer-col h4 {
    color: var(--text-color);
    font-size: 40px;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 25px;
    font-weight: 600;
}

.premium-footer-col ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.premium-footer-col ul li a {
    color: #475569;
    text-decoration: none;
    font-size: 0.95rem;
    transition: color 0.3s ease;
}

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

.premium-footer-divider-container {
    max-width: 1400px;
    margin: 0 auto;
    position: relative;
    border-top: 1px solid rgba(15, 23, 42, 0.1);
    padding-top: 40px;
    z-index: 2;
}

.premium-footer-btn {
    position: absolute;
    right: 0;
    top: -25px;
    background: var(--primary-color);
    color: #ffffff;
    padding: 12px 30px;
    border-radius: 30px;
    font-weight: 600;
    text-decoration: none;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 112, 192, 0.25);
}

.premium-footer-btn:hover {
    background: #0056b3;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 112, 192, 0.4);
}

.premium-footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    flex-wrap: wrap;
    gap: 40px;
    padding-bottom: 120px;
    z-index: 2;
    position: relative;
}

.premium-footer-brand-text {
    max-width: 400px;
    color: #475569;
    font-size: 0.95rem;
    line-height: 1.6;
    margin: 0;
}

.premium-footer-legal {
    display: flex;
    gap: 40px;
}

.premium-footer-legal a {
    color: var(--text-color);
    text-decoration: none;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-weight: 500;
    transition: color 0.3s ease;
}

.premium-footer-legal a:hover {
    color: var(--primary-color);
}

@keyframes slideMarquee {
    from {
        transform: translateX(100vw);
    }
    to {
        transform: translateX(-100%);
    }
}

.premium-footer-huge-text {
    position: absolute;
    bottom: -8vw;
    left: 0;
    font-size: 28vw;
    font-weight: 900;
    color: rgba(0, 112, 192, 0.04);
    white-space: nowrap;
    line-height: 1;
    z-index: 1;
    font-family: 'Inter', sans-serif;
    pointer-events: none;
    letter-spacing: -0.05em;
    animation: slideMarquee 25s linear infinite;
}

@media (max-width: 768px) {
    .premium-footer {
        padding: 60px 20px 0;
    }

    .premium-footer-top {
        flex-direction: column;
        gap: 50px;
    }

    .premium-footer-right {
        gap: 50px;
        flex-direction: column;
    }

    .premium-footer-btn {
        position: relative;
        top: 0;
        display: inline-block;
        margin-top: -20px;
        margin-bottom: 40px;
    }

    .premium-footer-bottom {
        flex-direction: column;
        gap: 30px;
        padding-bottom: 80px;
    }

    .premium-footer-legal {
        flex-direction: column;
        gap: 20px;
    }

    .premium-footer-huge-text {
        font-size: 35vw;
        bottom: -3vw;
    }
}


/* ==========================================================================
   Bento Grid Durations
   ========================================================================== */
.bento-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-template-rows: repeat(2, 240px);
    gap: 24px;
    max-width: 1100px;
    margin: 0 auto;
}

.bento-card {
    background: #ffffff;
    /* Light theme */
    border-radius: 32px;
    padding: 30px;
    color: #1e293b;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.06);
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275), box-shadow 0.4s ease;
    border: 1px solid rgba(0, 0, 0, 0.04);
}

.bento-card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.1);
}

.bento-card-1 {
    grid-column: 1 / span 1;
    grid-row: 1 / span 2;
    background: linear-gradient(145deg, #ffffff, #f8fafc);
}

.bento-card-2 {
    grid-column: 2 / span 2;
    grid-row: 1 / span 1;
}

.bento-card-3 {
    grid-column: 4 / span 1;
    grid-row: 1 / span 1;
    background: #ffffff;
}

.bento-card-4 {
    grid-column: 2 / span 1;
    grid-row: 2 / span 1;
    background: #ffffff;
}

.bento-card-5 {
    grid-column: 3 / span 2;
    grid-row: 2 / span 1;
}

.bento-title {
    font-size: 1.3rem;
    font-weight: 800;
    margin-bottom: 5px;
    color: #0f172a;
}

.bento-subtitle {
    font-size: 0.9rem;
    color: #64748b;
    margin: 0;
}

.bento-highlight {
    font-size: 3rem;
    font-weight: 800;
    color: #0ea5e9;
    font-family: 'Inter', sans-serif;
    line-height: 1;
}

.bento-days {
    font-size: 1.2rem;
    font-weight: 600;
    color: #94a3b8;
}

/* Animations */
@keyframes bentoFloat {
    0% {
        transform: translateY(0);
    }

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

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

@keyframes pulseDot {
    0% {
        transform: scale(0.8);
        opacity: 0.5;
    }

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

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

@keyframes growBar {
    from {
        height: 0%;
    }
}

/* SVG and Charts styling */
.bento-chart-container {
    margin-top: auto;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 15px;
    animation: bentoFloat 4s ease-in-out infinite;
}

.bento-circular-progress {
    width: 140px;
    height: 140px;
    transform: rotate(-90deg);
    filter: drop-shadow(0 4px 6px rgba(14, 165, 233, 0.2));
}

.bento-bar-chart {
    display: flex;
    align-items: flex-end;
    gap: 8px;
    height: 80px;
    margin-top: auto;
}

.bento-bar {
    flex: 1;
    background: #e2e8f0;
    border-radius: 6px 6px 0 0;
    transition: height 1s ease;
    animation: growBar 1.5s ease-out;
}

.bento-line-chart {
    width: 150px;
    height: 100px;
    margin-top: auto;
    animation: bentoFloat 5s ease-in-out infinite alternate;
}

@media (max-width: 992px) {
    .bento-grid {
        grid-template-columns: repeat(2, 1fr);
        grid-template-rows: auto;
    }

    .bento-card {
        height: 220px;
    }

    .bento-card-1 {
        grid-column: 1 / span 1;
        grid-row: 1 / span 2;
        height: auto;
    }

    .bento-card-2 {
        grid-column: 2 / span 1;
        grid-row: 1 / span 1;
    }

    .bento-card-3 {
        grid-column: 2 / span 1;
        grid-row: 2 / span 1;
    }

    .bento-card-4 {
        grid-column: 1 / span 2;
        grid-row: 3 / span 1;
    }

    .bento-card-5 {
        grid-column: 1 / span 2;
        grid-row: 4 / span 1;
    }
}

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

    .bento-card {
        grid-column: 1 / span 1 !important;
        grid-row: auto !important;
        height: 200px;
    }

    .bento-card-1 {
        height: 280px;
    }
}


/* ==========================================================================
   Premium Contact Section (Matching Footer Colors)
   ========================================================================== */
.premium-contact-section {
    background-color: #0e1d43;
    /* Match the footer's custom color */
    color: #e2e8f0;
}

.premium-contact-section h2,
.premium-contact-section h3 {
    color: #ffffff;
}

.premium-contact-section p {
    color: #cbd5e1;
}

.premium-contact-section .contact-detail-card {
    background: rgba(255, 255, 255, 0.05);
    /* Light translucent for dark theme */
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: none;
    transition: transform 0.3s ease, border-color 0.3s ease;
}

.premium-contact-section .contact-detail-card:hover {
    transform: translateY(-5px);
    border-color: rgba(255, 255, 255, 0.2);
}

.premium-contact-section .contact-icon-box {
    background: rgba(255, 255, 255, 0.1);
    color: #0ea5e9;
}

.premium-contact-section .contact-text-box h3 {
    color: #ffffff;
}

.premium-contact-section .contact-text-box p {
    color: #94a3b8;
}

.premium-contact-section .map-card {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.premium-contact-section .application-card {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: none;
}

.premium-contact-section .login-header-text h3 {
    color: #ffffff;
}

.premium-contact-section .login-header-text p {
    color: #cbd5e1;
}

.premium-contact-section input,
.premium-contact-section textarea {
    background: rgba(255, 255, 255, 0.05) !important;
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
    color: #ffffff !important;
}

.premium-contact-section input::placeholder,
.premium-contact-section textarea::placeholder {
    color: #64748b !important;
}

.premium-contact-section input:focus,
.premium-contact-section textarea:focus {
    border-color: #0ea5e9 !important;
    background: rgba(255, 255, 255, 0.08) !important;
}

/* ==========================================================================
   Light Theme Override for Premium Footer & Contact
   ========================================================================== */
.premium-footer,
.premium-contact-section {
    background-color: transparent !important;
    color: #1e293b !important;
}

.premium-footer-socials a {
    border-color: rgba(0, 0, 0, 0.2) !important;
    color: #1e293b !important;
}

.premium-footer-socials a:hover {
    background: #0070c0 !important;
    color: #ffffff !important;
    border-color: #0070c0 !important;
}

.premium-footer-contact p,
.premium-contact-section p {
    color: #64748b !important;
}

.premium-footer-contact a {
    color: #1e293b !important;
}

.premium-footer-contact a:hover {
    color: #38bdf8 !important;
}

.premium-footer-col h4,
.premium-contact-section h2,
.premium-contact-section h3 {
    color: #0070c0 !important;
}

.premium-footer-col ul li a {
    color: #64748b !important;
}

.premium-footer-col ul li a:hover {
    color: #0070c0 !important;
}

.premium-footer-divider-container {
    border-top: 1px solid rgba(0, 0, 0, 0.1) !important;
}

.premium-footer-btn {
    background: #0070c0 !important;
    color: #ffffff !important;
}

.premium-footer-btn:hover {
    background: #0056b3 !important;
    color: #ffffff !important;
}

.premium-footer-legal a {
    color: #1e293b !important;
}

.premium-footer-legal a:hover {
    color: #0070c0 !important;
}

.premium-footer-huge-text {
    color: rgba(0, 0, 0, 0.03) !important;
}
/* Extracted from app.js */

        <a href="#internships" class="btn btn-outline" style="margin-bottom: 25px; display: inline-flex; align-items: center; gap: 8px; border-color: var(--primary-color); color: var(--primary-color);">
            <i class="fas fa-arrow-left"></i> Back to Internships
        </a>
        
        <div class="details-header">
            <div class="details-img-wrapper">
                <img src="${job.image}" alt="${job.role.replace(" Intern", "").replace(" Developer", "") + " - Internship in Coimbatore with Certificate"}" class="details-img" loading="lazy">
            </div>
            <div class="details-title-area">
                <h2>${job.role.replace(" Intern", "").replace(" Developer", "")}<br><span style="font-size: 0.65em; font-weight: 500; color: #64748b; display: inline-block; margin-top: 6px;">Internship in Coimbatore with Certificate</span></h2>
                <p class="company-name" style="margin-top: 5px;">${job.company}</p>
            </div>
        </div>

        <div class="details-meta-grid">
            <div class="meta-box">
                <i class="fas fa-clock"></i>
                <div class="meta-box-text">
                    <h4>Duration</h4>
                    <p>${job.duration}</p>
                </div>
            </div>
            <div class="meta-box">
                <i class="fas fa-wallet"></i>
                <div class="meta-box-text">
                    <h4>Stipend</h4>
                    <p>${job.stipend}</p>
                </div>
            </div>
            <div class="meta-box">
                <i class="fas fa-certificate"></i>
                <div class="meta-box-text">
                    <h4>Certificate</h4>
                    <p>Free Verified Cert.</p>
                </div>
            </div>
        </div>

        <div style="margin-bottom: 35px;">
            <h3 style="font-size: 1.5rem; margin-bottom: 10px;">Program Overview</h3>
            <p style="font-size: 1.1rem; line-height: 1.6; color: var(--text-color);">${job.description} This hands-on training program is structured to provide critical skillsets needed to secure enterprise jobs in Coimbatore and beyond.</p>
        </div>

        <div class="syllabus-section">
            <h3 class="syllabus-title">Curriculum Syllabus</h3>
            <div class="syllabus-timeline">
                ${syllabusHtml}
            </div>
        </div>

        <div class="details-actions">
            <a href="#apply?course=${encodeURIComponent(job.role)}" class="btn btn-primary">Apply Now</a>
            <a href="#internships" class="btn btn-outline">Browse Other Internships</a>
        </div>
    

<tr><td colspan="5" style="text-align: center; color: #64748b; padding: 30px;">You haven't submitted any internship applications yet. <a href="#apply" style="color: var(--primary-color); font-weight: bold;">Apply here!</a></td></tr>


            <td><strong>${app.courseSelected}</strong></td>
            <td>${app.duration}</td>
            <td>${app.date}</td>
            <td><span class="status-badge ${app.status}">${app.status}</span></td>
            <td>${actionBtn}</td>
        

<tr><td colspan="6" style="text-align: center; color: #64748b; padding: 30px;">No applications in queue.</td></tr>


            <td><strong>${app.fullName}</strong></td>
            <td>${app.college}</td>
            <td>${app.courseSelected}</td>
            <td>${app.duration}</td>
            <td><span class="status-badge ${app.status}">${app.status}</span></td>
            <td>${actionHtml}</td>
        

<p style="grid-column: 1 / -1; text-align: center; color: var(--text-color);">No internships found matching your criteria. Try adjusting your search.</p>


            <div style="display: flex; gap: 15px; align-items: center;">
                <div class="course-image-wrapper" aria-hidden="true">
                    <img src="${job.image}" alt="${job.role.replace(" Intern", "").replace(" Developer", "") + " - Internship in Coimbatore with Certificate"}" class="course-card-image" loading="lazy">
                </div>
                <div>
                    <h3 id="job-title-${job.id}" class="job-role">${job.role.replace(" Intern", "").replace(" Developer", "")}<br><span style="font-size: 0.75em; font-weight: 500; color: #64748b; display: inline-block; margin-top: 5px; line-height: 1.3;">Internship in Coimbatore with Certificate</span></h3>
                    <p class="company-name">${job.company}</p>
                </div>
            </div>
            
            <p class="course-desc">${job.description}</p>
            
            <div class="job-tags" aria-label="Required Skills">
                ${tagsHtml}
            </div>
            
            <div class="job-details">
                <span aria-label="Duration">⏱️ ${job.duration}</span>
                <span aria-label="Stipend">💰 ${job.stipend}</span>
            </div>
            
            <div class="program-comparison">
                <div class="pc-column yale-col">
                    <span class="pc-badge yale-badge">YALE</span>
                    <span class="pc-text yale-text">${job.yaleFeature}</span>
                </div>
                <div class="pc-column others-col">
                    <span class="pc-badge others-badge">Others</span>
                    <span class="pc-text others-text">${job.othersFeature}</span>
                </div>
            </div>
            
            <div style="display: flex; gap: 10px; margin-top: 10px;">
                <a href="#details-${job.id}" class="details-link-btn" style="flex: 1; text-align: center; border: 2px solid var(--primary-color); padding: 10px; border-radius: 10px; font-weight: 600; color: var(--primary-color); transition: var(--transition);">Syllabus Details</a>
                <a href="#apply?course=${encodeURIComponent(job.role)}" class="apply-btn" style="flex: 1; text-align: center; margin-top: 0; padding: 10px; border-radius: 10px; font-weight: 600;">Apply Now</a>
            </div>
        


    .partner-logo-card {
        background: #ffffff;
        border: 2px solid #0070c0; /* Yale Blue */
        border-radius: 16px;
        padding: 15px 35px;
        display: flex;
        align-items: center;
        justify-content: center;
        box-shadow: 0 4px 10px rgba(0, 112, 192, 0.15);
        height: 90px;
        min-width: 250px;
        transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
    }
    .partner-logo-card:hover {
        transform: translateY(-5px);
        box-shadow: 0 12px 20px rgba(43, 172, 68, 0.2);
        border-color: #2bac44; /* Yale Green */
    }
    .partner-logo-svg {
        width: 100%;
        height: 100%;
        max-width: 180px;
    }



    .audience-card {
        border-top: 4px solid #0070c0 !important; /* Yale Blue */
        transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease !important;
    }
    .audience-card:hover {
        border-top: 4px solid #2bac44 !important; /* Yale Green */
        box-shadow: 0 15px 30px rgba(43, 172, 68, 0.15) !important;
    }
    .audience-icon-wrapper {
        background-color: rgba(0, 112, 192, 0.1) !important; /* Yale Blue Tint */
        color: #0070c0 !important; /* Yale Blue */
    }
    .audience-card:hover .audience-icon-wrapper {
        background-color: #2bac44 !important; /* Yale Green */
        color: #ffffff !important;
    }
    .audience-btn {
        border-color: #0070c0 !important; /* Yale Blue */
        color: #0070c0 !important; /* Yale Blue */
        transition: all 0.3s ease !important;
    }
    .audience-card:hover .audience-btn {
        background-color: #2bac44 !important; /* Yale Green */
        border-color: #2bac44 !important; /* Yale Green */
        color: #ffffff !important;
    }
    .bento-card {
        border: 2px solid transparent !important;
        transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275) !important;
        background: #ffffff;
        position: relative;
        overflow: hidden;
        z-index: 1;
    }
    .bento-card::before {
        content: '';
        position: absolute;
        top: 0; left: 0; right: 0; bottom: 0;
        background: linear-gradient(135deg, #0070c0 0%, #2bac44 100%);
        opacity: 0;
        z-index: -1;
        transition: opacity 0.4s ease;
    }
    .bento-card:hover::before {
        opacity: 1;
    }
    .bento-card:hover {
        box-shadow: 0 20px 40px rgba(0, 112, 192, 0.4), 0 10px 20px rgba(43, 172, 68, 0.3) !important;
        transform: translateY(-8px);
        border-color: transparent !important;
    }
    .bento-card:hover * {
        color: #ffffff !important;
    }
    .bento-card:hover svg circle, .bento-card:hover svg path {
        stroke: #ffffff !important;
    }
    .bento-card:hover svg circle[fill="#2bac44"], .bento-card:hover svg circle[fill="#0070c0"] {
        fill: #ffffff !important;
    }
    .bento-card:hover .bento-bar {
        background: rgba(255, 255, 255, 0.3) !important;
    }
    .bento-card:hover .bento-bar:last-child {
        background: #ffffff !important;
        box-shadow: 0 -4px 10px rgba(255, 255, 255, 0.5) !important;
    }
    .bento-card:hover [style*="background: rgba(0, 112, 192, 0.1)"] {
        background: rgba(255, 255, 255, 0.2) !important;
        box-shadow: 0 4px 10px rgba(255, 255, 255, 0.2) !important;
    }
    .bento-card:hover .bento-chart-container > div > div {
        background: #ffffff !important;
    }



            .marquee-wrapper {
                overflow: hidden;
                width: 100%;
                display: flex;
            }
            .marquee-track {
                display: flex;
                width: max-content;
                animation: scrollMarquee 30s linear infinite;
            }
            .marquee-wrapper:hover .marquee-track {
                animation-play-state: paused;
            }
            @keyframes scrollMarquee {
                0% { transform: translateX(0); }
                100% { transform: translateX(-50%); }
            }
        


    .infinite-marquee-container {
        overflow: hidden;
        white-space: nowrap;
        width: 100%;
        position: relative;
        padding: 10px 0;
    }
    .infinite-marquee-track {
        display: inline-flex;
        animation: infinite-scroll 30s linear infinite;
        gap: 30px;
    }
    .infinite-marquee-container:hover .infinite-marquee-track {
        animation-play-state: paused;
    }
    @keyframes infinite-scroll {
        0% { transform: translateX(0); }
        100% { transform: translateX(calc(-50% - 15px)); }
    }



    marquee {
        all: unset !important;
        display: block !important;
        overflow: hidden !important;
        white-space: nowrap !important;
        width: 100% !important;
    }
    marquee > div {
        display: inline-flex !important;
        width: max-content !important;
        animation: seamlessScroll 25s linear infinite !important;
        gap: 30px !important;
    }
    .partner-logo-card {
        flex: 0 0 250px !important;
        width: 250px !important;
        min-width: 250px !important;
        max-width: 250px !important;
        height: 90px !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        box-sizing: border-box !important;
    }
    .partner-logo-svg {
        flex: 0 0 180px !important;
        width: 180px !important;
        min-width: 180px !important;
        max-width: 180px !important;
        height: auto !important;
    }
    marquee:hover > div {
        animation-play-state: paused !important;
    }
    @keyframes seamlessScroll {
        0% { transform: translateX(0); }
        100% { transform: translateX(-50%); }
    }



    .why-card {
        background: #ffffff;
        border-radius: 20px;
        padding: 30px;
        border: 2px solid transparent;
        transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275) !important;
        position: relative;
        overflow: hidden;
        z-index: 1;
        box-shadow: 0 10px 30px rgba(0, 112, 192, 0.08) !important;
    }
    
    .why-card::before {
        content: '';
        position: absolute;
        top: 0; left: 0; right: 0; bottom: 0;
        background: linear-gradient(135deg, #0070c0 0%, #2bac44 100%);
        opacity: 0;
        z-index: -1;
        transition: opacity 0.4s ease;
    }
    
    .why-card:hover {
        transform: translateY(-10px) !important;
        box-shadow: 0 20px 40px rgba(0, 112, 192, 0.25), 0 10px 20px rgba(43, 172, 68, 0.2) !important;
        border-color: transparent !important;
    }
    
    .why-card:hover::before {
        opacity: 1;
    }
    
    .why-icon-wrapper {
        background: rgba(0, 112, 192, 0.1) !important; /* Yale Blue Light */
        color: #0070c0 !important; /* Yale Blue */
        transition: all 0.4s ease !important;
    }
    
    .why-card:hover .why-icon-wrapper {
        background: #ffffff !important;
        color: #2bac44 !important; /* Yale Green */
        transform: scale(1.1) rotate(5deg);
        box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    }
    
    .why-badge {
        background: rgba(43, 172, 68, 0.1) !important; /* Yale Green Light */
        color: #2bac44 !important; /* Yale Green */
        font-weight: 700 !important;
        transition: all 0.4s ease !important;
        border: 1px solid rgba(43, 172, 68, 0.2);
    }
    
    .why-card:hover .why-badge {
        background: #ffffff !important;
        color: #0070c0 !important; /* Yale Blue */
        border-color: #ffffff;
    }
    
    .why-card-title {
        color: #1e293b !important;
        transition: color 0.4s ease !important;
    }
    
    .why-card:hover .why-card-title {
        color: #ffffff !important;
    }
    
    .why-card-desc {
        color: #64748b !important;
        transition: color 0.4s ease !important;
    }
    
    .why-card:hover .why-card-desc {
        color: rgba(255, 255, 255, 0.9) !important;
    }





/* Light Theme Contact Form Fixes */
.premium-contact-section .contact-detail-card,
.premium-contact-section .map-card,
.premium-contact-section .application-card {
    background: #ffffff !important;
    border: 1px solid rgba(0, 0, 0, 0.08) !important;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.03) !important;
}

.premium-contact-section input,
.premium-contact-section select,
.premium-contact-section textarea {
    background: #ffffff !important;
    border: 1px solid #cbd5e1 !important;
    color: #1e293b !important;
}

.premium-contact-section input::placeholder,
.premium-contact-section textarea::placeholder {
    color: #64748b !important;
}

.premium-contact-section input:focus,
.premium-contact-section select:focus,
.premium-contact-section textarea:focus {
    border-color: #0070c0 !important;
    background: #ffffff !important;
    box-shadow: 0 0 0 3px rgba(0, 112, 192, 0.15) !important;
}

.premium-contact-section .contact-icon-box {
    background: rgba(0, 112, 192, 0.1) !important;
    color: #0070c0 !important;
}


/* --- UPGRADED CONTACT SECTION UI --- */
.premium-contact-section {
    padding: 80px 0;
}
.premium-contact-section .contact-grid {
    gap: 40px;
    align-items: start;
}
.premium-contact-section .contact-detail-card {
    background: #ffffff !important;
    border: 1px solid #e2e8f0 !important;
    border-radius: 16px;
    padding: 24px;
    display: flex;
    align-items: center;
    gap: 20px;
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.05), 0 8px 10px -6px rgba(0, 0, 0, 0.01) !important;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    margin-bottom: 20px;
}
.premium-contact-section .contact-detail-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 8px 10px -6px rgba(0, 0, 0, 0.01) !important;
}
.premium-contact-section .contact-icon-box {
    background: #eff6ff !important;
    color: #2563eb !important;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    flex-shrink: 0;
}
.premium-contact-section .contact-text-box h3 {
    color: #0f172a !important;
    font-size: 1.125rem;
    font-weight: 700;
    margin-bottom: 4px;
}
.premium-contact-section .contact-text-box p {
    color: #475569 !important;
    font-size: 0.95rem;
    line-height: 1.5;
    margin: 0;
}
.premium-contact-section .map-card {
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.05) !important;
    border: 1px solid #e2e8f0;
    height: 250px;
}
.premium-contact-section .application-card {
    background: #ffffff !important;
    border-radius: 24px !important;
    padding: 40px !important;
    box-shadow: 0 20px 40px -15px rgba(0,0,0,0.05) !important;
    border: 1px solid #e2e8f0 !important;
}
.premium-contact-section .login-header-text h3 {
    color: #0f172a !important;
    font-size: 1.75rem;
    font-weight: 800;
    margin-bottom: 8px;
}
.premium-contact-section .login-header-text p {
    color: #64748b !important;
    margin-bottom: 24px;
}
.premium-contact-section input, .premium-contact-section textarea, .premium-contact-section select {
    background: #f8fafc !important;
    border: 1px solid #e2e8f0 !important;
    color: #0f172a !important;
    font-size: 1rem;
    border-radius: 12px;
    padding: 16px 20px;
    transition: all 0.2s ease;
    width: 100%;
}
.premium-contact-section input::placeholder, .premium-contact-section textarea::placeholder {
    color: #94a3b8 !important;
}
.premium-contact-section input:focus, .premium-contact-section textarea:focus, .premium-contact-section select:focus {
    border-color: #3b82f6 !important;
    background: #ffffff !important;
    box-shadow: 0 0 0 4px rgba(59, 130, 246, 0.1) !important;
    outline: none;
}
.premium-contact-section .btn-primary {
    padding: 16px;
    font-size: 1.1rem;
    font-weight: 600;
    border-radius: 12px;
    background: linear-gradient(135deg, #2563eb, #1d4ed8) !important;
    border: none;
    box-shadow: 0 4px 14px rgba(37, 99, 235, 0.3);
    transition: all 0.3s ease;
    color: white !important;
}
.premium-contact-section .btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(37, 99, 235, 0.4);
}
