@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Outfit:wght@400;500;600;700;800&display=swap');

:root {
    --primary: #0f1d3a;
    --primary-rgb: 15, 29, 58;
    --primary-light: #1e3a6e;
    --primary-dark: #0a1428;
    --dark: #0f172a;
    --dark-rgb: 15, 23, 42;
    --light-bg: #f8fafc;
    --card-bg: #ffffff;
    --text: #1e293b;
    --text-muted: #64748b;
    --border: #e2e8f0;
    --accent-yellow: #FBC523;
    --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
    --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
    --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --radius: 12px;
    --radius-lg: 20px;
}

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

img, svg, video, iframe {
    max-width: 100%;
    height: auto;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--light-bg);
    color: var(--text);
    line-height: 1.6;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Outfit', sans-serif;
    color: var(--dark);
    font-weight: 700;
}

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

/* Header / Navbar */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: #ffffff;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border);
    transition: var(--transition);
}

.header.scrolled {
    background: #ffffff;
    box-shadow: var(--shadow-md);
}

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

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

.logo-placeholder {
    width: 40px;
    height: 40px;
    border-radius: 8px;
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-family: 'Outfit', sans-serif;
    font-weight: 800;
    font-size: 1.25rem;
}

.logo-img {
    height: 48px;
    width: auto;
    object-fit: contain;
    background: transparent;
}

.footer-logo-img {
    height: 44px;
    width: auto;
    object-fit: contain;
    background: transparent;
    filter: none;
}

.logo-text {
    display: flex;
    flex-direction: column;
}

.logo-text .brand-name {
    font-family: 'Outfit', sans-serif;
    font-weight: 800;
    font-size: 1.25rem;
    line-height: 1.1;
    color: var(--dark);
}

.logo-text .branch-name {
    font-size: 0.75rem;
    color: var(--primary);
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
}

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

.nav-link {
    font-size: 0.95rem;
    font-weight: 500;
    color: #475569;
    position: relative;
    padding: 0.25rem 0;
}

.nav-link:hover, .nav-link.active {
    color: var(--primary);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary);
    transition: var(--transition);
}

.nav-link:hover::after, .nav-link.active::after {
    width: 100%;
}

.nav-link-btn {
    background: linear-gradient(135deg, #0f1d3a 0%, #1e3a6e 100%) !important;
    color: #ffffff !important;
    font-weight: 700 !important;
    padding: 0.5rem 1.25rem !important;
    border-radius: 30px !important;
    font-size: 0.88rem !important;
    letter-spacing: 0.4px;
    position: relative !important;
    overflow: hidden !important;
    border: 1px solid rgba(251, 197, 35, 0.6) !important;
    box-shadow: 0 4px 14px rgba(15, 29, 58, 0.25), 0 0 10px rgba(251, 197, 35, 0.2);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
}

/* Glare Light Reflection Sweep */
.nav-link-btn::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(
        60deg,
        transparent 30%,
        rgba(255, 255, 255, 0.45) 50%,
        transparent 70%
    );
    transform: rotate(30deg) translateX(-100%);
    animation: glare-sweep 3.5s infinite ease-in-out;
    pointer-events: none;
}

@keyframes glare-sweep {
    0% {
        transform: rotate(30deg) translateX(-150%);
    }
    25% {
        transform: rotate(30deg) translateX(150%);
    }
    100% {
        transform: rotate(30deg) translateX(150%);
    }
}

.nav-link-btn:hover, .nav-link-btn.active {
    background: linear-gradient(135deg, #1e3a6e 0%, #0f1d3a 100%) !important;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(15, 29, 58, 0.35), 0 0 16px rgba(251, 197, 35, 0.5);
    border-color: #FBC523 !important;
    color: #ffffff !important;
}

.nav-link-btn::after {
    display: none !important;
}

.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 6px;
    cursor: pointer;
    background: none;
    border: none;
    padding: 0.5rem;
}

.menu-toggle span {
    display: block;
    width: 25px;
    height: 2px;
    background: #0f1d3a;
    transition: var(--transition);
}

/* Page Layout */
.main-content {
    margin-top: 80px;
}

.hero {
    position: relative;
    min-height: 42vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 5.5rem 2rem 5rem;
    background: radial-gradient(circle at 50% 10%, rgba(30, 58, 110, 0.75) 0%, rgba(10, 20, 40, 0.98) 75%), linear-gradient(135deg, #091224 0%, #0F1D3A 50%, #172B54 100%);
    text-align: center;
    overflow: hidden;
    color: #ffffff;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: radial-gradient(rgba(255, 255, 255, 0.12) 1px, transparent 1px);
    background-size: 28px 28px;
    opacity: 0.5;
    pointer-events: none;
    z-index: 1;
}

.hero::after {
    content: '';
    position: absolute;
    top: -20%;
    left: 50%;
    transform: translateX(-50%);
    width: 650px;
    height: 320px;
    background: radial-gradient(circle, rgba(251, 197, 35, 0.18) 0%, rgba(30, 58, 110, 0.15) 50%, transparent 80%);
    filter: blur(50px);
    pointer-events: none;
    z-index: 1;
}

.hero-home {
    min-height: calc(100vh - 80px);
    padding: 6rem 2rem;
    background: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)), url('hero-team.jpg') no-repeat center center/cover;
    background-color: #000000;
}

.hero-home::before, .hero-home::after {
    display: none;
}

.hero-home .hero-container {
    max-width: 850px;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.4rem 1.15rem;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2), inset 0 1px 0 rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 1.2px;
    text-transform: uppercase;
    color: #FBC523;
    animation: fadeIn 0.8s ease-out;
}

.hero-badge .badge-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background-color: #FBC523;
    box-shadow: 0 0 8px #FBC523;
}

.hero-bottom-divider {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, transparent 0%, rgba(251, 197, 35, 0.6) 50%, transparent 100%);
    z-index: 3;
}

.hero-content-card {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
    animation: fadeIn 1s ease-out;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(15px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (max-width: 768px) {
    .hero-content-card {
        gap: 1.25rem;
    }
    .hero {
        padding: 4rem 1.25rem 3.5rem;
        min-height: auto;
    }
    .hero h1 {
        font-size: 2.25rem;
    }
    .hero p {
        font-size: 1rem;
    }
}

.hero-container {
    max-width: 900px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.25rem;
    z-index: 2;
    position: relative;
}

.hero h1 {
    font-size: clamp(2rem, 5vw + 0.5rem, 3.25rem);
    line-height: 1.15;
    color: #ffffff;
    letter-spacing: -0.75px;
    font-weight: 800;
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
}

.hero h1 span.highlight {
    color: var(--accent-yellow);
}

.hero p {
    font-size: clamp(0.95rem, 1.2vw + 0.6rem, 1.15rem);
    color: rgba(255, 255, 255, 0.9);
    max-width: 720px;
    line-height: 1.6;
    text-shadow: 0 1px 5px rgba(0, 0, 0, 0.4);
}

.hero-buttons {
    display: flex;
    gap: 1.25rem;
    justify-content: center;
    flex-wrap: wrap;
}

.hero .btn-primary {
    background: #ffffff;
    color: #0f1d3a;
    box-shadow: 0 4px 15px rgba(255, 255, 255, 0.25);
    border: 2px solid #ffffff;
}

.hero .btn-primary:hover {
    background: transparent;
    color: #ffffff;
    box-shadow: 0 6px 20px rgba(255, 255, 255, 0.4);
    transform: translateY(-2px);
}

.hero .btn-outline {
    border: 2px solid #ffffff;
    color: #ffffff;
    background: transparent;
}

.hero .btn-outline:hover {
    background: #ffffff;
    color: #0f1d3a;
    transform: translateY(-2px);
}

.btn {
    display: inline-block;
    padding: 0.75rem 1.75rem;
    border-radius: var(--radius);
    font-family: 'Outfit', sans-serif;
    font-weight: 600;
    text-align: center;
    cursor: pointer;
    transition: var(--transition);
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: white;
    box-shadow: 0 4px 10px rgba(var(--primary-rgb), 0.3);
    border: none;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(var(--primary-rgb), 0.4);
}

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

.btn-outline:hover {
    background: rgba(var(--primary-rgb), 0.05);
    transform: translateY(-2px);
}

/* Sections */
.section {
    padding: 5rem 2rem;
}

.section-container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 2rem;
}

.section-header {
    text-align: center;
    margin-bottom: 3.5rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
}

.section-header h2 {
    font-size: clamp(1.6rem, 3vw + 0.5rem, 2.25rem);
    position: relative;
    padding-bottom: 0.75rem;
}

.section-header h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 4px;
    background: var(--primary);
    border-radius: 2px;
}

.section-header p {
    color: var(--text-muted);
    font-size: clamp(0.95rem, 1vw + 0.5rem, 1.1rem);
    max-width: 600px;
}

/* Grid & Cards */
.grid {
    display: grid;
    gap: 2rem;
}

.grid-2 {
    grid-template-columns: repeat(2, 1fr);
}

.grid-3 {
    grid-template-columns: repeat(3, 1fr);
}

.grid-4 {
    grid-template-columns: repeat(4, 1fr);
}

.span-2-desktop {
    grid-column: span 2;
}

.card {
    background: var(--card-bg);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 2.25rem;
    box-shadow: var(--shadow-sm);
    transition: box-shadow 0.3s ease, border-color 0.3s ease;
    cursor: default;
}

.card:hover {
    box-shadow: var(--shadow-md);
    border-color: rgba(var(--primary-rgb), 0.25);
}

.card-icon {
    font-size: 2rem;
    color: var(--primary);
    margin-bottom: 1.25rem;
}

.card h3 {
    font-size: 1.35rem;
    margin-bottom: 0.75rem;
}

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

/* Stats Section */
.stats-section {
    background: var(--dark);
    color: white;
    position: relative;
    overflow: hidden;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 3rem;
    text-align: center;
}

.stat-item {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.stat-number {
    font-family: 'Outfit', sans-serif;
    font-size: 3.5rem;
    font-weight: 800;
    color: var(--accent-yellow);
    line-height: 1;
}

.stat-label {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.7);
    font-weight: 500;
}

/* Timeline */
.timeline {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
    padding: 2rem 0;
}

.timeline::after {
    content: '';
    position: absolute;
    width: 4px;
    background: var(--border);
    top: 0;
    bottom: 0;
    left: 50%;
    margin-left: -2px;
}

.timeline-item {
    padding: 10px 40px;
    position: relative;
    background-color: inherit;
    width: 50%;
}

.timeline-item::after {
    content: '';
    position: absolute;
    width: 20px;
    height: 20px;
    right: -10px;
    background-color: white;
    border: 4px solid var(--primary);
    top: 15px;
    border-radius: 50%;
    z-index: 1;
    transition: var(--transition);
}

.timeline-item.left {
    left: 0;
}

.timeline-item.right {
    left: 50%;
}

.timeline-item.right::after {
    left: -10px;
}

.timeline-content {
    padding: 1.5rem;
    background-color: white;
    position: relative;
    border-radius: var(--radius);
    box-shadow: var(--shadow-md);
    border: 1px solid var(--border);
}

.timeline-year {
    font-family: 'Outfit', sans-serif;
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--primary);
    margin-bottom: 0.5rem;
}

.timeline-item:hover::after {
    background-color: var(--primary);
}

/* Filter Controls */
.filter-container {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 3rem;
    flex-wrap: wrap;
}

.filter-btn {
    padding: 0.5rem 1.25rem;
    border-radius: 30px;
    background: white;
    border: 1px solid var(--border);
    color: var(--text-muted);
    font-family: 'Outfit', sans-serif;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
}

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

.search-bar {
    max-width: 400px;
    margin: 0 auto 3rem;
    position: relative;
}

.search-input {
    width: 100%;
    padding: 0.75rem 1.5rem;
    border-radius: 30px;
    border: 1px solid var(--border);
    background: white;
    font-family: inherit;
    font-size: 1rem;
    outline: none;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.search-input:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 4px rgba(var(--primary-rgb), 0.1);
}

/* Team Grid & Headshots */
.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: 2rem;
}

.team-card {
    background: white;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    text-align: center;
}

.team-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
    border-color: rgba(var(--primary-rgb), 0.2);
}

.avatar-placeholder {
    width: 100%;
    aspect-ratio: 1;
    background: linear-gradient(135deg, #f1f5f9, #e2e8f0);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-muted);
    position: relative;
}

.avatar-placeholder::after {
    content: 'Grandeur';
    font-family: 'Outfit', sans-serif;
    font-weight: 800;
    font-size: 2rem;
    opacity: 0.15;
}

.team-info {
    padding: 1.5rem;
}

.team-name {
    font-size: 1.15rem;
    margin-bottom: 0.25rem;
}

.team-role {
    font-size: 0.85rem;
    color: var(--primary);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Team Hierarchy & Social Links */
.team-hierarchy {
    display: flex;
    flex-direction: column;
    gap: 4rem;
    margin-top: 3rem;
}

.hierarchy-section {
    width: 100%;
}

.tier-title {
    font-size: 1.5rem;
    color: var(--primary);
    text-align: center;
    margin-bottom: 2rem;
    position: relative;
    padding-bottom: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.tier-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 50px;
    height: 3px;
    background: var(--primary-light);
    border-radius: 2px;
}

.team-grid.tier-grid-1 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 280px));
    justify-content: center;
    gap: 2rem;
}

.team-grid.tier-grid-2 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 280px));
    justify-content: center;
    gap: 2rem;
}

.team-grid.tier-grid-3 {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: 2rem;
}

.team-social {
    margin-top: 1rem;
    display: flex;
    justify-content: center;
    gap: 0.5rem;
}

.social-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background-color: #f1f5f9;
    color: var(--primary);
    transition: var(--transition);
}

.social-link:hover {
    background-color: var(--primary-light);
    color: white;
    transform: scale(1.1);
}

.social-icon {
    width: 18px;
    height: 18px;
    fill: currentColor;
}

/* Placeholder Card Styles */
.team-card.placeholder-card {
    border: 2px dashed #cbd5e1;
    background: rgba(248, 250, 252, 0.4);
    box-shadow: none;
}

.team-card.placeholder-card:hover {
    border-color: var(--primary-light);
    background: rgba(248, 250, 252, 0.8);
    transform: translateY(-3px);
}

.team-card.placeholder-card .avatar-placeholder {
    background: linear-gradient(135deg, #f8fafc, #f1f5f9);
}

.team-card.placeholder-card .avatar-placeholder::after {
    content: 'Open Position';
    font-size: 1.25rem;
    opacity: 0.35;
}

.team-card.placeholder-card .team-name {
    color: var(--text-muted);
    font-style: italic;
}

.team-card.placeholder-card .social-link.placeholder-link {
    width: auto;
    height: auto;
    padding: 0.4rem 1rem;
    border-radius: 20px;
    background-color: #ffffff;
    color: var(--text-muted);
    font-size: 0.8rem;
    font-weight: 500;
    gap: 0.4rem;
    border: 1px solid #cbd5e1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.team-card.placeholder-card .social-link.placeholder-link:hover {
    background-color: var(--primary-light);
    color: white;
    border-color: var(--primary-light);
}

.team-card.placeholder-card .social-link.placeholder-link span {
    font-size: 0.75rem;
    text-transform: none;
    letter-spacing: 0;
}

/* Projects grid and styling */
.project-card {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.project-tag {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 1rem;
    width: max-content;
}

.tag-default { background: #e2e8f0; color: #475569; }
.tag-finance { background: #fee2e2; color: #991b1b; }
.tag-marketing { background: #fef3c7; color: #92400e; }
.tag-strategy { background: #dbeafe; color: #0f1d3a; }
.tag-impact { background: #e0f2fe; color: #075985; }

/* Contact Page split layout */
.contact-split {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 4rem;
}

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

.contact-item {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
}

.contact-icon {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: rgba(var(--primary-rgb), 0.1);
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    flex-shrink: 0;
}

.contact-details h3 {
    font-size: 1.1rem;
    margin-bottom: 0.25rem;
}

.contact-details p {
    color: var(--text-muted);
}

.contact-form-container {
    background: white;
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 3rem;
    box-shadow: var(--shadow-md);
}

.form-group {
    margin-bottom: 1.5rem;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    width: 100%;
}

.form-group label,
.form-label {
    display: block;
    font-weight: 600;
    margin-bottom: 0.5rem;
    font-size: 0.92rem;
    color: var(--dark, #0f172a);
}

.form-group input[type="text"],
.form-group input[type="email"],
.form-group input[type="url"],
.form-group input[type="tel"],
.form-group input[type="password"],
.form-group select,
.form-group textarea,
.form-input,
.form-select,
.form-textarea {
    width: 100% !important;
    box-sizing: border-box;
    padding: 0.85rem 1.1rem;
    border-radius: 10px;
    border: 1px solid var(--border, #cbd5e1);
    background-color: #ffffff;
    font-family: inherit;
    font-size: 0.95rem;
    color: var(--dark, #0f172a);
    outline: none;
    transition: all 0.25s ease;
    box-shadow: 0 1px 3px rgba(0,0,0,0.03);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus,
.form-input:focus,
.form-select:focus,
.form-textarea:focus {
    border-color: var(--primary, #0f1d3a);
    background-color: #ffffff;
    box-shadow: 0 0 0 4px rgba(15, 29, 58, 0.12);
}

.form-group textarea,
.form-textarea {
    min-height: 140px;
    resize: vertical;
    line-height: 1.5;
}

/* Footer styling */
.footer {
    background: var(--dark);
    color: white;
    padding: 4rem 2rem 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-container {
    max-width: 1280px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 2fr 1fr 1.5fr;
    gap: 4rem;
    margin-bottom: 3rem;
}

.footer-brand {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

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

.footer-logo .logo-placeholder {
    background: white;
    color: var(--primary-dark);
}

.footer-logo .brand-name {
    color: white;
}

.footer-brand p {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.95rem;
    max-width: 320px;
}

.footer-motto {
    font-family: 'Outfit', sans-serif;
    font-weight: 800;
    font-size: 1.1rem;
    letter-spacing: 2px;
    color: var(--accent-yellow);
}

.footer-links h3, .footer-contact h3 {
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
    position: relative;
    padding-bottom: 0.5rem;
    color: white;
}

.footer-links h3::after, .footer-contact h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 30px;
    height: 2px;
    background: var(--primary-light);
}

.footer-links ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.95rem;
}

.footer-links a:hover {
    color: var(--primary-light);
    padding-left: 4px;
}

.footer-contact {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.95rem;
}

.footer-contact span {
    display: block;
}

.footer-bottom {
    max-width: 1280px;
    margin: 0 auto;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    text-align: center;
    color: rgba(255, 255, 255, 0.4);
    font-size: 0.85rem;
}

/* Responsive Breakpoints & Mobile Optimization */
@media (max-width: 1080px) and (min-width: 769px) {
    .nav-container {
        padding: 1rem 1.5rem;
    }
    .nav-links {
        gap: 1.25rem;
    }
    .nav-link {
        font-size: 0.88rem;
    }
}

@media (max-width: 1024px) {
    .grid-3 {
        grid-template-columns: repeat(2, 1fr);
    }
    .grid-4 {
        grid-template-columns: repeat(2, 1fr);
    }
    .contact-split {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }
    .footer-container {
        grid-template-columns: 1fr 1fr;
        gap: 3rem;
    }
}

@media (max-width: 768px) {
    .section-container {
        padding: 0 1.25rem;
    }

    .grid, .stats-grid, .values-grid {
        gap: 1.75rem !important;
    }

    .grid-2, .grid-3, .grid-4 {
        grid-template-columns: 1fr;
    }
    
    .span-2-desktop {
        grid-column: auto;
    }
    
    .section {
        padding: 3.5rem 1rem;
    }
    
    .section-header {
        margin-bottom: 2rem;
    }
    
    .nav-container {
        padding: 0.75rem 1.25rem;
    }
    
    .logo-img {
        height: 38px;
    }
    
    .main-content {
        margin-top: 60px;
    }
    
    .hero-home {
        min-height: calc(100vh - 60px);
        padding: 4rem 1rem;
    }
    
    .hero {
        padding: 3.5rem 1.25rem 3rem;
        min-height: 32vh;
    }
    
    .nav-links {
        display: flex;
        flex-direction: column;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: rgba(15, 29, 58, 0.98);
        backdrop-filter: blur(16px);
        -webkit-backdrop-filter: blur(16px);
        padding: 0 2rem;
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
        border-top: 1px solid rgba(255, 255, 255, 0.1);
        gap: 1.15rem;
        align-items: flex-start;
        opacity: 0;
        visibility: hidden;
        transform: translateY(-10px);
        max-height: 0;
        overflow-y: auto;
        transition: opacity 0.3s ease, transform 0.3s ease, max-height 0.3s ease, padding 0.3s ease;
        z-index: 999;
    }
    
    .nav-links.active {
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
        max-height: calc(100vh - 65px);
        padding: 1.5rem 2rem 2rem;
    }
    
    .nav-links .nav-link {
        color: rgba(255, 255, 255, 0.85);
        width: 100%;
        padding: 0.5rem 0;
        font-size: 1.05rem;
    }
    
    .nav-links .nav-link:hover, .nav-links .nav-link.active {
        color: var(--accent-yellow);
    }
    
    .nav-links .nav-link::after {
        background: var(--accent-yellow);
    }
    
    .menu-toggle {
        display: flex;
    }
    
    .timeline::after {
        left: 29px !important;
    }
    
    .timeline-item {
        width: 100%;
        padding-left: 55px;
        padding-right: 15px;
    }
    
    .timeline-item.right {
        left: 0;
    }
    
    .timeline-item::after,
    .timeline-item.right::after {
        left: 21px !important;
        right: auto !important;
    }
    
    .footer-container {
        grid-template-columns: 1fr;
        gap: 2.5rem;
        text-align: center;
    }
    
    .footer-brand, .footer-links, .footer-contact {
        align-items: center;
        text-align: center;
    }
    
    .footer-brand p {
        margin: 0 auto;
    }
    
    .footer-links h3::after, .footer-contact h3::after {
        left: 50%;
        transform: translateX(-50%);
    }
    
    .contact-form-container {
        padding: 1.75rem 1.25rem;
    }
    
    /* Collaborator cards marquee scaling */
    .collab-card {
        min-width: 210px;
        height: 180px;
        padding: 1.5rem 1.25rem;
        margin: 0 0.65rem;
        gap: 1rem;
    }
    
    .collab-logo-wrapper {
        height: 80px;
    }
    
    .collab-logo {
        height: 70px;
        width: 70px;
    }
    
    .collab-logo.mamaearth {
        height: 45px;
        width: 45px;
    }
    
    .collab-logo.honasa {
        height: 60px;
        width: 60px;
    }
    
    .collab-name {
        font-size: 0.95rem;
    }
    
    /* Slider Mobile Improvements */
    .slider-container {
        min-height: auto;
        margin: 1.5rem auto;
    }

    .achieve-slide {
        flex-direction: column;
    }

    .slide-img-container {
        width: 100% !important;
        height: 220px !important;
    }

    .slide-text-container {
        width: 100% !important;
        padding: 1.5rem 1.25rem 3.25rem !important;
    }

    .slide-text-container h3 {
        font-size: 1.35rem;
    }

    .slide-text-container .slide-inst {
        font-size: 0.95rem;
        margin-bottom: 0.75rem;
    }

    .slider-btn {
        width: 38px;
        height: 38px;
        font-size: 1rem;
        top: 110px;
        transform: translateY(-50%);
    }
    
    .slider-btn.prev {
        left: 0.75rem;
    }
    
    .slider-btn.next {
        right: 0.75rem;
    }
    
    .slider-dots {
        bottom: 1rem;
        right: 50%;
        transform: translateX(50%);
    }
}

@media (max-width: 576px) {
    .stats-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 1.5rem 0.75rem !important;
    }
    .stat-number {
        font-size: 2.35rem !important;
    }
    .stat-label {
        font-size: 0.85rem !important;
    }
}

@media (max-width: 480px) {
    .hero-buttons {
        flex-direction: column;
        width: 100%;
    }
    .hero-buttons .btn {
        width: 100%;
    }
    .card {
        padding: 1.5rem 1.25rem;
    }
}

/* ==========================================================================
   Achievements Slider & Slideshow
   ========================================================================== */
.slider-container {
    position: relative;
    max-width: 900px;
    margin: 2rem auto;
    background: var(--card-bg);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    overflow: hidden;
    min-height: 380px;
}

.slides-wrapper {
    display: flex;
    transition: transform 0.5s ease-in-out;
    width: 400%; /* 4 slides */
}

.achieve-slide {
    width: 25%; /* 100% / 4 */
    display: flex;
    flex-direction: row;
    flex-shrink: 0;
}

@media (max-width: 768px) {
    .achieve-slide {
        flex-direction: column;
    }
    .slide-img-container {
        width: 100% !important;
        height: 200px !important;
    }
    .slide-text-container {
        width: 100% !important;
        padding: 1.5rem !important;
    }
}

.slide-img-container {
    width: 50%;
    height: 380px;
    position: relative;
    background-color: var(--light-bg);
    overflow: hidden;
}

.slide-img-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.slide-text-container {
    width: 50%;
    padding: 3rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    background: var(--card-bg);
}

.slide-tag {
    font-family: 'Outfit', sans-serif;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: var(--primary-light);
    margin-bottom: 0.75rem;
}

.slide-text-container h3 {
    font-size: 1.75rem;
    margin-bottom: 0.5rem;
    color: var(--dark);
}

.slide-text-container .slide-inst {
    font-weight: 600;
    color: var(--text-muted);
    font-size: 1.1rem;
    margin-bottom: 1.25rem;
}

.slide-text-container p {
    color: var(--text);
    font-size: 0.95rem;
    line-height: 1.6;
}

.slider-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.9);
    border: 1px solid var(--border);
    color: var(--dark);
    font-size: 1.25rem;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: var(--shadow-sm);
    z-index: 10;
    transition: var(--transition);
}

.slider-btn:hover {
    background: #ffffff;
    box-shadow: var(--shadow-md);
    color: var(--primary-light);
}

.slider-btn.prev {
    left: 1.5rem;
}

.slider-btn.next {
    right: 1.5rem;
}

.slider-dots {
    position: absolute;
    bottom: 1.5rem;
    right: 3rem;
    display: flex;
    gap: 0.5rem;
    z-index: 10;
}

.slider-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--border);
    cursor: pointer;
    transition: var(--transition);
}

.slider-dot.active {
    background: var(--primary);
    width: 20px;
    border-radius: 4px;
}

/* ==========================================================================
   Knowledge Hub Pages & Resources
   ========================================================================= */
.resource-card {
    background: var(--card-bg);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 2rem;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: var(--transition);
    height: 100%;
}

.resource-card:hover {
    border-color: var(--primary-light);
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
}

.resource-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 1rem;
}

.resource-tag {
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 0.35rem 0.75rem;
    background: rgba(15, 29, 58, 0.08);
    color: var(--primary);
    border-radius: 50px;
}

.resource-card h3 {
    font-size: 1.25rem;
    margin-bottom: 0.75rem;
    color: var(--dark);
    font-weight: 700;
}

.resource-card p {
    font-size: 0.9rem;
    color: var(--text-muted);
    line-height: 1.55;
    flex-grow: 1;
    margin-bottom: 1.5rem;
}

.resource-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 1rem;
    border-top: 1px solid var(--border);
}

.resource-type {
    font-size: 0.75rem;
    font-weight: 600;
    color: #94a3b8;
}

.resource-link {
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--primary-light);
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
}

.resource-link:hover {
    color: var(--primary);
    text-decoration: underline;
}

.resources-stats {
    background: rgba(15, 29, 58, 0.05);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 1.5rem 2rem;
    margin-bottom: 3rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 1.5rem;
}

.resources-stats h2 {
    font-size: 1.35rem;
    color: var(--dark);
}

.resources-stats p {
    font-size: 0.95rem;
    color: var(--text-muted);
}

.resources-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    background: var(--primary);
    color: #ffffff;
    padding: 0.55rem 1.1rem;
    border-radius: 8px;
    font-weight: 600;
    font-size: 0.9rem;
    text-decoration: none;
    transition: all 0.25s ease;
    cursor: pointer;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);
}

a.resources-badge:hover {
    background: #0d1b2a;
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(15, 29, 58, 0.25);
}

/* Collaborators & Clients Marquee Slider */
.marquee-container {
    position: relative;
    width: 100%;
    overflow: hidden;
    padding: 2.5rem 0;
    background-color: var(--light-bg);
}

.mask-horizontal-fade {
    mask-image: linear-gradient(to right, transparent, white 15%, white 85%, transparent);
    -webkit-mask-image: linear-gradient(to right, transparent, white 15%, white 85%, transparent);
}

.marquee-content {
    display: flex;
    width: max-content;
    align-items: center;
    animation: marquee 30s linear infinite;
}

.marquee-content:hover {
    animation-play-state: paused;
}

@keyframes marquee {
    0% {
        transform: translate3d(0, 0, 0);
    }
    100% {
        transform: translate3d(-50%, 0, 0);
    }
}

.collab-card {
    margin: 0 1.25rem;
    padding: 2.5rem 2rem;
    border-radius: var(--radius-lg);
    background: var(--card-bg);
    box-shadow: var(--shadow-md);
    border: 1px solid var(--border);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
    min-width: 280px;
    height: 240px;
    flex-shrink: 0;
    transition: var(--transition);
}

.collab-card:hover {
    transform: translateY(-6px) scale(1.02);
    box-shadow: var(--shadow-lg);
    border-color: rgba(var(--primary-rgb), 0.3);
}

.collab-logo-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    height: 110px;
    width: 100%;
}

.collab-logo {
    height: 100px;
    width: 100px;
    object-fit: contain;
    transition: var(--transition);
}

.collab-logo.mamaearth {
    height: 60px;
    width: 60px;
}

.collab-logo.honasa {
    height: 80px;
    width: 80px;
}

.collab-name {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--dark);
    font-family: 'Outfit', sans-serif;
    text-align: center;
}

/* ==========================================================================
   About Slider (Home Page Auto-Swiping Cards)
   ========================================================================== */
.about-slider-container {
    position: relative;
    width: 100%;
    aspect-ratio: 1.6;
    overflow: hidden;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    border: 1px solid var(--border);
    background-color: var(--dark);
}

.about-slider-wrapper {
    position: relative;
    width: 100%;
    height: 100%;
}

.about-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.6s cubic-bezier(0.4, 0, 0.2, 1), visibility 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 1;
}

.about-slide.active {
    opacity: 1;
    visibility: visible;
    z-index: 2;
}

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

.about-slide-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 2.5rem;
    text-align: center;
    color: white;
}

.slide-gradient-1 {
    background: linear-gradient(135deg, #0f1d3a 0%, #1e3a6e 60%, #29559e 100%);
}

.slide-gradient-2 {
    background: linear-gradient(135deg, #081021 0%, #0f1d3a 60%, #1a325c 100%);
}

.slide-gradient-3 {
    background: linear-gradient(135deg, #0c1830 0%, #172a50 60%, #29559e 100%);
}

.slide-gradient-4 {
    background: linear-gradient(135deg, #071329 0%, #112347 60%, #1b3970 100%);
}

.placeholder-icon {
    font-size: 3.5rem;
    margin-bottom: 1.25rem;
    filter: drop-shadow(0 4px 6px rgba(0,0,0,0.2));
    animation: floatIcon 3s ease-in-out infinite;
}

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

.about-slide-placeholder h3 {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--accent-yellow);
    margin-bottom: 1rem;
    font-family: 'Outfit', sans-serif;
    letter-spacing: -0.5px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.about-slide-placeholder p {
    font-size: 1.1rem;
    max-width: 85%;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.85);
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}

.about-slide-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    background: linear-gradient(to top, rgba(15, 29, 58, 0.95) 0%, rgba(15, 29, 58, 0.75) 100%);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    color: white;
    padding: 1rem 1.75rem;
    font-size: 1rem;
    font-weight: 600;
    font-family: 'Outfit', sans-serif;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    z-index: 3;
    letter-spacing: 0.5px;
}

.about-slider-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: rgba(15, 29, 58, 0.7);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.25);
    font-size: 1.1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 10;
    transition: all 0.3s cubic-bezier(0.165, 0.84, 0.44, 1);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.about-slider-arrow:hover {
    background: var(--primary);
    color: var(--accent-yellow);
    border-color: var(--accent-yellow);
    transform: translateY(-50%) scale(1.1);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.4);
}

.about-slider-arrow.about-prev {
    left: 1.25rem;
}

.about-slider-arrow.about-next {
    right: 1.25rem;
}

/* Responsiveness for mobile screen sizes */
@media (max-width: 768px) {
    .about-slider-container {
        aspect-ratio: 1.4;
    }
    .about-slide-placeholder {
        padding: 1.5rem;
    }
    .placeholder-icon {
        font-size: 2.5rem;
        margin-bottom: 0.75rem;
    }
    .about-slide-placeholder h3 {
        font-size: 1.4rem;
        margin-bottom: 0.5rem;
    }
    .about-slide-placeholder p {
        font-size: 0.95rem;
        max-width: 95%;
    }
    .about-slide-caption {
        padding: 0.75rem 1.25rem;
        font-size: 0.9rem;
    }
    .about-slider-arrow {
        width: 36px;
        height: 36px;
        font-size: 0.95rem;
    }
    .about-slider-arrow.about-prev {
        left: 0.75rem;
    }
    .about-slider-arrow.about-next {
        right: 0.75rem;
    }
}

/* ==========================================
   NEW SERVICE CARDS & INTERACTIVE MARQUEE
   ========================================== */

/* Service Cards Bento Grid & Design */
.services-bento-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 3rem;
}

.service-card {
    background: var(--card-bg);
    border: 1px solid var(--border);
    border-radius: 20px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
    transition: box-shadow 0.3s ease, border-color 0.3s ease;
    height: 100%;
    cursor: default;
}

.service-card:hover {
    box-shadow: 0 12px 32px rgba(15, 29, 58, 0.08);
    border-color: rgba(var(--primary-rgb), 0.25);
}

.service-image-container {
    position: relative;
    width: 100%;
    height: 180px;
    overflow: hidden;
}

.service-placeholder-gradient {
    width: 100%;
    height: 100%;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Service Category Badges inside Card Header */
.service-card-badge {
    position: absolute;
    bottom: 1rem;
    left: 1.25rem;
    z-index: 5;
    background: rgba(15, 23, 42, 0.65);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #ffffff;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.5px;
    padding: 0.35rem 0.85rem;
    border-radius: 20px;
    display: flex;
    align-items: center;
    gap: 0.4rem;
}

/* Grid blueprint overlay for premium feel */
.service-image-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        linear-gradient(rgba(255, 255, 255, 0.08) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.08) 1px, transparent 1px);
    background-size: 20px 20px;
    z-index: 2;
    pointer-events: none;
}

/* Vibrant gradient backgrounds for Service Cards */
.gradient-1 { background: linear-gradient(135deg, #0b132b 0%, #1c2541 50%, #3a506b 100%); } /* Market Research */
.gradient-2 { background: linear-gradient(135deg, #064e3b 0%, #047857 50%, #10b981 100%); } /* Financial Planning */
.gradient-3 { background: linear-gradient(135deg, #4c1d95 0%, #7c3aed 50%, #c084fc 100%); } /* Growth Marketing */
.gradient-4 { background: linear-gradient(135deg, #0f172a 0%, #1e3a8a 50%, #3b82f6 100%); } /* Strategic Advisory */
.gradient-5 { background: linear-gradient(135deg, #111827 0%, #1f2937 50%, #4b5563 100%); } /* Sector Analysis */
.gradient-6 { background: linear-gradient(135deg, #7c2d12 0%, #c2410c 50%, #fb923c 100%); } /* Operational Excellence */
.gradient-7 { background: linear-gradient(135deg, #0f172a 0%, #334155 50%, #64748b 100%); } /* Publications & Research */

/* Abstract shapes inside the image container */
.service-placeholder-svg {
    position: absolute;
    width: 110%;
    height: 110%;
    opacity: 0.3;
}

.service-card-content {
    padding: 1.75rem;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.service-card-content h3 {
    font-size: 1.25rem;
    color: var(--dark);
    margin-bottom: 0.75rem;
    font-weight: 700;
}

.service-card-content p {
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 0;
    flex-grow: 1;
}

/* Live Projects (LP) Section Redesign */
.lp-card {
    background: var(--card-bg);
    border: 1px solid var(--border);
    border-radius: 18px;
    padding: 1.75rem;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.03);
    transition: box-shadow 0.3s ease, border-color 0.3s ease;
    position: relative;
    cursor: default;
}

.lp-card:hover {
    box-shadow: 0 12px 28px rgba(15, 29, 58, 0.07);
    border-color: rgba(var(--primary-rgb), 0.25);
}

.lp-card-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 1.25rem;
}

.lp-client-badge {
    display: flex;
    align-items: center;
    gap: 0.65rem;
}

.lp-client-avatar {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    background: linear-gradient(135deg, #0f1d3a 0%, #1e40af 100%);
    color: #ffffff;
    font-weight: 700;
    font-size: 0.85rem;
    display: flex;
    align-items: center;
    justify-content: center;
    letter-spacing: -0.5px;
    box-shadow: 0 4px 10px rgba(15, 29, 58, 0.2);
}

.lp-domain-tag {
    font-size: 0.72rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 0.3rem 0.75rem;
    border-radius: 20px;
    background: rgba(var(--primary-rgb), 0.08);
    color: var(--primary);
    border: 1px solid rgba(var(--primary-rgb), 0.15);
}

.lp-card h3 {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 0.5rem;
}

.lp-card p {
    font-size: 0.92rem;
    color: var(--text-muted);
    line-height: 1.6;
    margin-bottom: 1.25rem;
}

.lp-impact-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    background: #f0fdf4;
    color: #15803d;
    border: 1px solid #bbf7d0;
    padding: 0.4rem 0.85rem;
    border-radius: 12px;
    font-size: 0.82rem;
    font-weight: 600;
    margin-top: auto;
}

.lp-impact-badge.badge-neutral {
    background: #f8fafc;
    color: #475569;
    border-color: #e2e8f0;
}

/* Bento Grid Spans for index.html */
@media (min-width: 992px) {
    .service-card-wide {
        grid-column: span 2;
        flex-direction: row;
    }
    
    .service-card-wide .service-image-container {
        width: 45%;
        height: 100%;
    }
    
    .service-card-wide .service-card-content {
        width: 55%;
    }
}

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

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

/* Clients Marquee Updates */
.marquee-container {
    overflow-x: auto;
    cursor: grab;
    user-select: none;
    -ms-overflow-style: none;  /* IE and Edge */
    scrollbar-width: none;  /* Firefox */
}

.marquee-container::-webkit-scrollbar {
    display: none; /* Chrome, Safari, Opera */
}

.marquee-container:active {
    cursor: grabbing;
}

/* Timeline Circle Symmetry Fixes */
.timeline-item.left::after {
    right: -10px;
    left: auto;
}

.timeline-item.right::after {
    left: -10px;
    right: auto;
}

/* Mobile Timeline Align Fix */
@media (max-width: 768px) {
    .timeline::after {
        left: 29px !important;
    }
    .timeline-item::after,
    .timeline-item.right::after {
        left: 21px !important;
        right: auto !important;
    }
}

/* ==========================================================================
   Admin Footer Link
   ========================================================================== */
.footer-admin-link {
    display: inline-block;
    color: rgba(255, 255, 255, 0.3) !important;
    font-size: 0.8rem !important;
    margin-top: 0.5rem;
    transition: color 0.2s;
}

.footer-admin-link:hover {
    color: var(--gold, #d4af37) !important;
}

/* ==========================================================================
   Social Media Icon Buttons & Connect Card
   ========================================================================== */
.social-icons-wrapper {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    flex-wrap: wrap;
}

.social-icon-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: #f1f5f9;
    color: #0f172a;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
}

.social-icon-btn svg {
    width: 20px;
    height: 20px;
    fill: currentColor;
    transition: transform 0.3s ease;
}

.social-icon-btn:hover {
    transform: translateY(-3px) scale(1.08);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.15);
}

.social-icon-btn:hover svg {
    transform: scale(1.1);
}

/* Brand Colors on Hover */
.social-icon-btn.instagram:hover {
    background: radial-gradient(circle at 30% 107%, #fdf497 0%, #fdf497 5%, #fd5949 45%, #d6249f 60%, #285AEB 90%);
    color: #ffffff;
}

.social-icon-btn.facebook:hover {
    background: #1877f2;
    color: #ffffff;
}

.social-icon-btn.twitter:hover {
    background: #000000;
    color: #ffffff;
}

.social-icon-btn.linkedin:hover {
    background: #0077b5;
    color: #ffffff;
}

.social-icon-btn.linktree:hover {
    background: #43e660;
    color: #000000;
}

/* ==========================================================================
   Our Values Section Styling
   ========================================================================== */
.values-section {
    background-color: #f8fafc;
    position: relative;
    padding: 5rem 0;
}

.section-badge {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: var(--primary-light);
    background: rgba(30, 58, 110, 0.08);
    padding: 0.35rem 0.85rem;
    border-radius: 50px;
    margin-bottom: 0.75rem;
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 2.5rem;
}

.value-card {
    background: #ffffff;
    border: 1px solid rgba(226, 232, 240, 0.8);
    border-radius: 16px;
    padding: 2rem;
    position: relative;
    overflow: hidden;
    transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 0 4px 20px -2px rgba(15, 23, 42, 0.04);
    display: flex;
    flex-direction: column;
}

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

.value-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 35px -10px rgba(15, 29, 58, 0.12);
    border-color: rgba(30, 58, 110, 0.25);
}

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

.value-card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
}

.value-icon-box {
    width: 52px;
    height: 52px;
    border-radius: 12px;
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 6px 16px rgba(15, 29, 58, 0.2);
    transition: transform 0.3s ease;
}

.value-card:hover .value-icon-box {
    transform: scale(1.08) rotate(-3deg);
}

.value-number {
    font-family: 'Outfit', sans-serif;
    font-size: 1.15rem;
    font-weight: 800;
    color: #cbd5e1;
    letter-spacing: 0.5px;
    transition: color 0.3s ease;
}

.value-card:hover .value-number {
    color: var(--primary-light);
}

.value-card h3 {
    font-size: 1.25rem;
    color: var(--dark);
    margin-bottom: 0.75rem;
    font-weight: 700;
    line-height: 1.3;
}

.value-card p {
    font-size: 0.95rem;
    color: var(--text-muted);
    line-height: 1.6;
    margin: 0;
}

.value-card-wide {
    grid-column: span 2;
}

@media (max-width: 992px) {
    .values-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .value-card-wide {
        grid-column: span 2;
    }
}

@media (max-width: 640px) {
    .values-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    .value-card-wide {
        grid-column: span 1;
    }
}

/* Live Achievements Card Grid & Auto-Swiping Photo Slider */
.achievements-live-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.achievement-live-card {
    background: #ffffff;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(15, 23, 42, 0.08);
    border: 1px solid rgba(226, 232, 240, 0.8);
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    flex-direction: column;
    position: relative;
}

.achievement-live-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 40px rgba(15, 23, 42, 0.15);
}

.achievement-card-media {
    position: relative;
    width: 100%;
    height: 220px;
    background: linear-gradient(135deg, #0f1d3a 0%, #1e293b 100%);
    overflow: hidden;
}

.achievement-media-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.6s ease-in-out;
    object-fit: cover;
}

.achievement-media-slide.active {
    opacity: 1;
}

.achievement-slider-dots {
    position: absolute;
    bottom: 12px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 6px;
    z-index: 10;
}

.achievement-slider-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.4);
    transition: all 0.3s ease;
    cursor: pointer;
}

.achievement-slider-dot.active {
    width: 22px;
    border-radius: 10px;
    background: #ffffff;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.3);
}

.achievement-rank-pill {
    position: absolute;
    top: 14px;
    right: 14px;
    z-index: 5;
    padding: 0.35rem 0.85rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.02em;
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    backdrop-filter: blur(8px);
}

.rank-gold {
    background: linear-gradient(135deg, #f59e0b, #d97706);
    color: #ffffff;
}

.rank-silver {
    background: linear-gradient(135deg, #94a3b8, #64748b);
    color: #ffffff;
}

.rank-bronze {
    background: linear-gradient(135deg, #b45309, #78350f);
    color: #ffffff;
}

.rank-general {
    background: linear-gradient(135deg, #0f1d3a, #1e3a8a);
    color: #ffffff;
}

.achievement-year-badge {
    position: absolute;
    top: 14px;
    left: 14px;
    z-index: 5;
    background: rgba(15, 23, 42, 0.75);
    color: #ffffff;
    padding: 0.25rem 0.65rem;
    border-radius: 6px;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    backdrop-filter: blur(6px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.achievement-card-content {
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.achievement-card-title {
    font-size: 1.2rem;
    font-weight: 700;
    color: #0f1d3a;
    line-height: 1.4;
    margin-bottom: 0.5rem;
}

.achievement-card-team-name {
    font-size: 0.9rem;
    color: #1e3a8a;
    font-weight: 700;
    margin-bottom: 0.35rem;
    display: flex;
    align-items: center;
    gap: 0.4rem;
}

.achievement-card-team-members {
    font-size: 0.85rem;
    color: #475569;
    font-weight: 500;
    margin-bottom: 0.85rem;
    display: flex;
    align-items: center;
    gap: 0.4rem;
}

.achievement-card-desc {
    font-size: 0.92rem;
    color: #64748b;
    line-height: 1.6;
    margin-top: auto;
}

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

@media (max-width: 580px) {
    .logo-grid-responsive {
        grid-template-columns: repeat(2, 1fr) !important;
    }
}

/* ==========================================================================
   Faculty Mentors Section Styling
   ========================================================================== */
.faculty-section {
    background: var(--bg-alt);
    padding: 5rem 0;
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}

.faculty-grid {
    display: flex;
    justify-content: center;
    align-items: stretch;
    gap: 3rem;
    flex-wrap: wrap;
    margin-top: 2rem;
}

.faculty-card {
    background: #ffffff;
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 2.5rem 2rem;
    width: 320px;
    max-width: 100%;
    text-align: center;
    box-shadow: var(--shadow-sm);
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    flex-direction: column;
    align-items: center;
}

.faculty-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
    border-color: rgba(var(--primary-rgb), 0.3);
}

.faculty-avatar-container {
    position: relative;
    width: 140px;
    height: 140px;
    margin-bottom: 1.5rem;
}

.faculty-img {
    width: 140px;
    height: 140px;
    border-radius: 50%;
    object-fit: cover;
    border: 4px solid var(--primary-light);
    box-shadow: var(--shadow-md);
    display: block;
    transition: transform 0.3s ease;
}

.faculty-card:hover .faculty-img {
    transform: scale(1.04);
}

.faculty-avatar-placeholder {
    width: 140px;
    height: 140px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    font-weight: 700;
    border: 4px solid var(--primary-light);
    box-shadow: var(--shadow-md);
}

.faculty-name {
    font-size: 1.35rem;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 0.35rem;
}

.faculty-role {
    font-size: 0.85rem;
    color: var(--primary);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.6px;
    margin-bottom: 1.25rem;
}

.faculty-social {
    margin-top: auto;
    display: flex;
    justify-content: center;
    align-items: center;
}






