/* ==========================================
   DESIGN SYSTEM, FONTS & VARIABLES
   ========================================== */
@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700;800&family=Plus+Jakarta+Sans:wght@300;400;500;600;700;800&display=swap');

:root {
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Plus Jakarta Sans', sans-serif;
    
    /* Colors */
    --color-dark-bg: #0c0a15;
    --color-light-bg: #f8fafc;
    --color-projects-bg: #eef2f6;
    --color-white: #ffffff;
    --color-text-dark: #0f172a;
    --color-text-light: #f8fafc;
    --color-text-muted: #64748b;
    
    /* Gradients */
    --gradient-primary: linear-gradient(135deg, #a855f7 0%, #ec4899 100%);
    --gradient-hero: linear-gradient(90deg, #ffffff 0%, #f472b6 60%, #c084fc 100%);
    --gradient-light-card: linear-gradient(135deg, #ffe4e6 0%, #f3e8ff 100%);
    --gradient-pink-violet: linear-gradient(135deg, #ec4899 0%, #8b5cf6 100%);
    
    /* Spacing & Borders */
    --container-width: 1100px;
    --radius-card: 24px;
    --radius-pill: 9999px;
    --radius-sm: 12px;
    
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --shadow-sm: 0 4px 10px rgba(0, 0, 0, 0.02);
    --shadow-md: 0 10px 30px rgba(0, 0, 0, 0.05);
    --shadow-lg: 0 20px 40px rgba(0, 0, 0, 0.08);
}

/* Reset */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
    overflow-x: hidden;
    width: 100%;
}

body {
    --color-theme-bg: var(--color-light-bg);
    --color-theme-text: var(--color-text-dark);
    --color-theme-muted: var(--color-text-muted);
    --color-theme-card-bg: var(--color-white);
    --color-theme-card-border: #e2e8f0;
    --color-theme-projects-bg: var(--color-projects-bg);
    --color-theme-about-gradient: var(--gradient-light-card);
    
    font-family: var(--font-body);
    background-color: var(--color-theme-bg);
    color: var(--color-theme-text);
    overflow-x: hidden;
    line-height: 1.5;
    transition: background-color 0.3s ease, color 0.3s ease;
}

body.dark-theme {
    --color-theme-bg: #07050d;
    --color-theme-text: #f8fafc;
    --color-theme-muted: #94a3b8;
    --color-theme-card-bg: #151224;
    --color-theme-card-border: #221d38;
    --color-theme-projects-bg: #0c0a15;
    --color-theme-about-gradient: linear-gradient(135deg, #1e1833 0%, #151126 100%);
}

/* ==========================================
   LAYOUT CONTAINERS (HORIZONTAL ALIGNMENT)
   ========================================== */
.container {
    width: 100%;
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 24px; /* Consistent left & right padding across all sections */
}

.section-wrapper {
    width: 100%;
    padding: 90px 0; /* Consistent top & bottom spacing */
    position: relative;
    overflow: hidden;
}

/* ==========================================
   NAVIGATION BAR (FLOATING PILL)
   ========================================== */
/* ==========================================
   NAVIGATION BAR (FLOATING & STICKY PILL)
   ========================================== */
.nav-bar-container {
    position: fixed; /* Keep on screen while scrolling */
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    width: calc(100% - 48px);
    max-width: 500px;
    z-index: 1000; /* Ensure it stays above all other content */
}

.nav-pill {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: rgba(15, 23, 42, 0.85); /* Dark translucent background for high readability over light sections */
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: var(--radius-pill);
    padding: 8px 12px;
    list-style: none;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.18);
}

.nav-pill li a {
    color: rgba(255, 255, 255, 0.85);
    font-family: var(--font-heading);
    font-weight: 500;
    font-size: 0.95rem;
    padding: 8px 18px;
    text-decoration: none;
    display: block;
    border-radius: var(--radius-pill);
    transition: var(--transition);
}

.nav-pill li a:hover {
    color: #fff;
    background: rgba(255, 255, 255, 0.12);
}

.nav-pill li.contact-nav a {
    background: #000;
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.nav-pill li.contact-nav a:hover {
    background: #111;
    border-color: rgba(255, 255, 255, 0.4);
}

.theme-toggle-li {
    display: flex;
    align-items: center;
}

.btn-theme-toggle {
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.25);
    color: rgba(255, 255, 255, 0.85);
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 0.9rem;
    transition: var(--transition);
}

.btn-theme-toggle:hover {
    color: #fff;
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.45);
}

/* ==========================================
   TYPOGRAPHY HELPERS
   ========================================== */
.gradient-text {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
}

.gradient-text-hero {
    background: var(--gradient-hero);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
}

/* ==========================================
   SECTION 1: HERO (DARK THEME)
   ========================================== */
.hero-wrapper {
    background-color: var(--color-dark-bg);
    min-height: 100vh;
    padding: 130px 0 0; /* No bottom padding so stats tabs sit at the bottom edge */
    color: var(--color-text-light);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    overflow: hidden;
    position: relative;
}

.hero-wrapper::after {
    content: '';
    position: absolute;
    bottom: 0;
    right: 0;
    width: 60%;
    height: 100%;
    background: radial-gradient(circle at bottom right, rgba(168, 85, 247, 0.15), transparent 70%);
    pointer-events: none;
    z-index: 1;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 40px;
    align-items: center;
    position: relative;
    z-index: 2;
}

/* Decorative stars and icons */
.hero-decor-star {
    position: absolute;
    left: 24px;
    bottom: 25%;
    color: #fcd34d;
    font-size: 2.8rem;
    animation: float-decor 4s infinite alternate ease-in-out;
}

.hero-decor-plus {
    position: absolute;
    left: 12px;
    top: 25%;
    color: #8b5cf6;
    font-size: 2.2rem;
    animation: float-decor 4s infinite alternate-reverse ease-in-out;
}

@keyframes float-decor {
    0% { transform: translateY(0) scale(1); }
    100% { transform: translateY(-10px) scale(1.05); }
}

.hero-content {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.tag-badge {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.12);
    color: #fff;
    padding: 6px 16px;
    border-radius: var(--radius-pill);
    font-size: 0.85rem;
    font-weight: 500;
    transform: rotate(-3deg) translateY(-8px);
    margin-bottom: 24px;
    display: inline-block;
    backdrop-filter: blur(8px);
}

.hero-content h3 {
    font-size: 1.1rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 12px;
    color: rgba(255, 255, 255, 0.8);
}

.hero-content h1 {
    font-size: 6rem;
    font-weight: 800;
    line-height: 1;
    margin-bottom: 12px;
    letter-spacing: -2px;
}

.hero-content h2 {
    font-size: 3.8rem;
    font-weight: 700;
    margin-bottom: 30px;
    color: #fff;
}

.hero-buttons {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 40px;
}

.btn-download-ecard {
    background: var(--gradient-primary);
    color: #fff;
    padding: 14px 30px;
    border-radius: var(--radius-pill);
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    border: none;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(236, 72, 153, 0.3);
    text-decoration: none;
    font-size: 0.95rem;
    transition: var(--transition);
}

.btn-download-ecard:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(236, 72, 153, 0.5), var(--shadow-glow);
}

.btn-play-circle {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: #6366f1;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(99, 102, 241, 0.4);
    transition: var(--transition);
}

.btn-play-circle:hover {
    transform: scale(1.1);
    background: #4f46e5;
}

.stars-rating {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.7);
    display: flex;
    align-items: center;
    gap: 8px;
}

.stars-rating span {
    color: #fbbf24;
}

.stars-rating strong {
    color: #c084fc;
}

/* Portrait (Slanted shape cutout using CSS clip-path) */
.hero-portrait-frame {
    width: 100%;
    height: 460px;
    position: relative;
    border-radius: var(--radius-card);
    overflow: hidden;
    clip-path: polygon(12% 0%, 100% 0%, 100% 100%, 0% 100%);
    border-left: 4px solid #a855f7;
}

.hero-portrait-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
}

/* Bottom Stats Area - sits flush at bottom edge */
.hero-stats-row {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-top: 50px;
    position: relative;
    z-index: 2;
}

.stat-tab {
    padding: 24px 20px;
    border-radius: 20px 20px 0 0;
    text-align: center;
    color: #fff;
    transition: var(--transition);
    border-top: 2px solid transparent;
}

.stat-tab:hover {
    transform: translateY(-4px);
}

.stat-tab-purple { background: linear-gradient(180deg, #6b21a8 0%, #3b0764 100%); border-top-color: #c084fc; }
.stat-tab-red { background: linear-gradient(180deg, #991b1b 0%, #450a0a 100%); border-top-color: #f87171; }
.stat-tab-teal { background: linear-gradient(180deg, #115e59 0%, #042f2e 100%); border-top-color: #2dd4bf; }
.stat-tab-green { background: linear-gradient(180deg, #166534 0%, #062f12 100%); border-top-color: #4ade80; }

.stat-tab h4 {
    font-size: 2.5rem;
    font-weight: 800;
    font-family: var(--font-heading);
    line-height: 1.1;
    margin-bottom: 4px;
}

.stat-tab p {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.85);
    font-weight: 500;
}

/* ==========================================
   SECTION 2: ABOUT ME (LIGHT THEME)
   ========================================== */
.about-wrapper {
    background-color: var(--color-theme-bg);
    transition: var(--transition);
}

.about-card {
    background: var(--color-theme-about-gradient);
    border-radius: var(--radius-card);
    padding: 60px;
    display: grid;
    grid-template-columns: 0.8fr 1.2fr;
    gap: 60px;
    align-items: center;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
}

.about-left {
    display: flex;
    justify-content: center;
}

/* Tilted avatar card */
.about-tilted-frame {
    width: 290px;
    height: 360px;
    background: #fff;
    border-radius: var(--radius-card);
    padding: 12px;
    box-shadow: 0 15px 30px rgba(0,0,0,0.06);
    transform: rotate(-3deg);
    transition: var(--transition);
}

.about-tilted-frame:hover {
    transform: rotate(0deg) scale(1.02);
}

.about-tilted-image {
    width: 100%;
    height: 80%;
    object-fit: cover;
    border-radius: 16px;
    margin-bottom: 12px;
}

.about-frame-text {
    text-align: center;
}

.about-frame-text h4 {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--color-theme-text);
}

.about-frame-text p {
    font-size: 0.75rem;
    color: var(--color-theme-muted);
    font-weight: 600;
}

/* Right Details */
.about-right {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.about-heading {
    margin-bottom: 24px;
}

.about-heading h3 {
    font-size: 2.2rem;
    font-weight: 300;
    color: var(--color-theme-text);
    line-height: 1.2;
}

.about-heading h2 {
    font-size: 3.8rem;
    font-weight: 800;
    color: var(--color-theme-text);
    line-height: 1;
}

.about-description {
    font-size: 1.05rem;
    color: var(--color-theme-muted);
    line-height: 1.7;
    margin-bottom: 36px;
}

.about-description strong {
    color: var(--color-theme-text);
    font-weight: 700;
}

.about-actions {
    display: flex;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
}

.btn-schedule-call {
    background-color: #000;
    color: #fff;
    padding: 13px 28px;
    border-radius: var(--radius-pill);
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    border: none;
    cursor: pointer;
    text-decoration: none;
    font-size: 0.95rem;
    transition: var(--transition);
}

.btn-schedule-call:hover {
    background-color: #222;
    transform: translateY(-2px);
}

.social-links-row {
    display: flex;
    gap: 12px;
}

.social-link-sq {
    width: 44px;
    height: 44px;
    border-radius: var(--radius-sm);
    background-color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-text-muted);
    box-shadow: 0 4px 10px rgba(0,0,0,0.05);
    font-size: 1.1rem;
    transition: var(--transition);
}

.social-link-sq:hover {
    transform: translateY(-2px);
    color: #fff;
    background: var(--gradient-primary);
}

/* ==========================================
   SECTION 3: PARTNERS & SKILLS (LIGHT THEME)
   ========================================== */
.skills-wrapper {
    background-color: var(--color-theme-bg);
    transition: var(--transition);
}

/* Industry Partners Bar */
.partners-panel {
    background: var(--color-theme-card-bg);
    border: 1px solid var(--color-theme-card-border);
    border-radius: var(--radius-card);
    padding: 30px 40px;
    box-shadow: var(--shadow-md);
    border-bottom: 4px solid #a855f7;
    margin-bottom: 80px;
    transition: var(--transition);
}

.partners-panel h3 {
    text-align: center;
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 24px;
    color: var(--color-theme-text);
}

.partners-panel h3 span {
    color: #a855f7;
}

.partners-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.partner-logo-item {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    font-weight: 800;
    letter-spacing: -0.5px;
    color: #94a3b8;
    text-transform: uppercase;
    transition: var(--transition);
}

.partner-logo-item:hover {
    color: #475569;
}

.partner-kapreign { color: #2563eb; }
.partner-moksa { color: #10b981; text-transform: none; }
.partner-kavinu { background: #0f172a; color: #fff; padding: 4px 12px; border-radius: 8px; text-transform: none; }
.partner-warx { background: #000; color: #fff; padding: 4px 12px; border-radius: 8px; font-style: italic; }
.partner-pll { color: #7c3aed; }
.partner-mahyan { color: #b45309; text-transform: none; }
.partner-cattain { background: #1e3a8a; color: #fff; padding: 4px 12px; border-radius: 8px; text-transform: none; }
.partner-codebrew { color: #15803d; }

/* Expertise Section Title */
.expertise-header {
    text-align: center;
    margin-bottom: 50px;
}

.expertise-header h2 {
    font-size: 3.5rem;
    font-weight: 300;
    color: var(--color-theme-text);
    line-height: 1.1;
    transition: var(--transition);
}

.expertise-header h2 strong {
    font-weight: 800;
}

.expertise-header p {
    font-size: 1.1rem;
    color: var(--color-theme-muted);
    margin-top: 12px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    transition: var(--transition);
}

/* Badges lists */
.domain-badges-container {
    display: block;
    overflow: hidden;
    position: relative;
    padding: 10px 0;
    width: 100%;
    max-width: 100%;
}

.domain-badges-row {
    display: inline-flex;
    gap: 16px;
    white-space: nowrap;
    width: max-content;
    animation: scroll-row 35s linear infinite;
    margin-bottom: 16px;
}

.domain-badges-row-reverse {
    display: inline-flex;
    gap: 16px;
    white-space: nowrap;
    width: max-content;
    animation: scroll-row-reverse 35s linear infinite;
    margin-bottom: 16px;
}

.domain-badges-container .domain-badges-row-reverse:last-child {
    margin-bottom: 0;
}

.domain-badges-row:hover,
.domain-badges-row-reverse:hover {
    animation-play-state: paused;
}

.badge-tag-pill {
    background: var(--color-theme-card-bg);
    border: 1px solid var(--color-theme-card-border);
    box-shadow: 0 4px 10px rgba(0,0,0,0.01);
    border-radius: var(--radius-pill);
    padding: 12px 24px;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--color-theme-text);
    transition: var(--transition);
}

.badge-tag-pill:hover {
    border-color: #a855f7;
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(168,85,247,0.1);
}

.badge-tag-pill i {
    color: #a855f7;
    font-size: 1.1rem;
}

@keyframes scroll-row {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

@keyframes scroll-row-reverse {
    0% { transform: translateX(-50%); }
    100% { transform: translateX(0); }
}

/* ==========================================
   SECTION 4: EVENTS HOSTED (LIGHT THEME)
   ========================================== */
.events-wrapper {
    background-color: var(--color-theme-bg);
    transition: var(--transition);
}

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

.events-header h2 {
    font-size: 3.5rem;
    font-weight: 800;
    color: var(--color-theme-text);
}

.events-header h2 span {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Split Card */
.events-split-card {
    background: var(--color-theme-card-bg);
    border-radius: var(--radius-card);
    box-shadow: var(--shadow-md);
    display: grid;
    grid-template-columns: 1fr 1fr;
    overflow: hidden;
    position: relative;
    margin-bottom: 50px;
    transition: var(--transition);
}

.split-card-logo-overlap {
    position: absolute;
    top: -24px;
    left: 50%;
    transform: translateX(-50%);
    width: 68px;
    height: 68px;
    background: #000;
    border-radius: 16px;
    border: 3px solid #fff;
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    color: #fff;
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 0.65rem;
    z-index: 5;
}

.split-card-logo-overlap i {
    font-size: 1.4rem;
    margin-bottom: 2px;
}

/* Left Split (White) */
.events-split-left {
    padding: 50px;
    background-color: var(--color-theme-card-bg);
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 40px;
    border-right: 1px solid var(--color-theme-card-border);
    transition: var(--transition);
}

.event-host-logo-row {
    display: flex;
    align-items: center;
    gap: 24px;
}

.event-logo-holder {
    width: 65px;
    height: 65px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius-sm);
    background-color: var(--color-theme-card-border);
    font-size: 1.5rem;
    color: #a855f7;
    flex-shrink: 0;
    transition: var(--transition);
}

.event-logo-details h4 {
    font-size: 1.25rem;
    font-weight: 800;
    color: var(--color-theme-text);
}

.event-logo-details p {
    font-size: 0.85rem;
    color: var(--color-text-muted);
    font-weight: 600;
}

/* Right Split (Black + Gradient) */
.events-split-right {
    padding: 50px;
    background-color: #000;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    background-image: linear-gradient(135deg, rgba(236,72,153,0.12) 0%, rgba(168,85,247,0.12) 100%);
}

.event-right-info {
    display: flex;
    flex-direction: column;
}

.event-right-info h3 {
    font-size: 2.2rem;
    font-weight: 800;
    margin-bottom: 6px;
    color: #fff;
}

.event-right-info p {
    font-size: 1rem;
    font-weight: 600;
    color: #e879f9;
}

.event-right-avatar-frame {
    width: 130px;
    height: 130px;
    border-radius: 50%;
    border: 3px solid #e879f9;
    overflow: hidden;
    flex-shrink: 0;
    box-shadow: 0 10px 20px rgba(232, 121, 249, 0.2);
}

.event-right-avatar {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 15%; /* Focus on Ahamed's face in the vertical portrait */
}

/* Bottom Event Grid */
.events-media-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.event-media-card {
    height: 230px;
    border-radius: var(--radius-card);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    background-color: #eee;
}

.event-media-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: var(--transition);
}

.event-media-card:hover .event-media-image {
    transform: scale(1.03);
}

/* ==========================================
   SECTION 5: PROJECTS WHICH GOT LEADS (LIGHT GRADIENT)
   ========================================== */
.projects-wrapper {
    background-color: var(--color-theme-projects-bg);
    background-image: radial-gradient(ellipse at 50% -20%, rgba(168, 85, 247, 0.1), transparent 50%);
    transition: var(--transition);
}

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

.projects-header h2 {
    font-size: 3.5rem;
    font-weight: 800;
    color: var(--color-theme-text);
    transition: var(--transition);
}

.projects-header h2 span {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.projects-header p {
    font-size: 1.1rem;
    color: var(--color-theme-muted);
    max-width: 600px;
    margin: 15px auto 0;
    transition: var(--transition);
}

/* Dashed Box Grid Layout */
.projects-dashed-container {
    border: 2px dashed var(--color-theme-card-border);
    border-radius: 28px;
    padding: 50px;
    display: flex;
    flex-direction: column;
    gap: 60px;
    background: rgba(255, 255, 255, 0.03);
    transition: var(--transition);
}

.project-item-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

/* Card Logo Containers */
.project-card-logo-box {
    background: var(--color-theme-card-bg);
    border-radius: var(--radius-card);
    padding: 40px;
    height: 240px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    box-shadow: 0 10px 25px rgba(0,0,0,0.02);
    border: 1px solid var(--color-theme-card-border);
    transition: var(--transition);
}

.project-card-logo-box:hover {
    transform: translateY(-4px);
    box-shadow: 0 15px 35px rgba(0,0,0,0.06);
}

.logo-eid-content {
    font-family: var(--font-heading);
    font-size: 3.8rem;
    font-weight: 800;
    color: #92400e;
    line-height: 1;
    letter-spacing: -2px;
}

.logo-eid-content span {
    font-size: 1.4rem;
    font-weight: 700;
    display: block;
    text-align: center;
    color: #b45309;
}

.logo-xovo-content {
    background-color: #000;
    color: #fff;
    padding: 20px 40px;
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 1.8rem;
    letter-spacing: 2px;
    border-radius: 12px;
}

.logo-robotics-content {
    display: flex;
    align-items: center;
    gap: 16px;
}

.robot-svg-icon {
    width: 60px;
    height: 60px;
    background: var(--gradient-primary);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 2rem;
}

.robotics-title-box h4 {
    font-family: var(--font-heading);
    font-size: 1.6rem;
    font-weight: 800;
    color: var(--color-theme-text);
    line-height: 1.1;
}

.robotics-title-box p {
    font-size: 1rem;
    color: #d946ef;
    font-weight: 700;
}

/* Project Info Text */
.project-details-box {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.project-number {
    font-size: 0.85rem;
    font-weight: 800;
    color: var(--color-text-muted);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 12px;
}

.project-details-box h3 {
    font-size: 2rem;
    font-weight: 800;
    color: var(--color-theme-text);
    line-height: 1.25;
    margin-bottom: 10px;
}

.project-details-box h3 strong {
    color: #a855f7;
}

.project-tag {
    font-size: 0.9rem;
    color: var(--color-text-muted);
    font-weight: 600;
    margin-bottom: 24px;
}

.btn-view-work {
    border: 1px solid #cbd5e1;
    background-color: #fff;
    color: var(--color-text-dark);
    padding: 10px 24px;
    border-radius: var(--radius-pill);
    font-weight: 600;
    font-size: 0.9rem;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
    transition: var(--transition);
}

.btn-view-work:hover {
    background-color: #000;
    color: #fff;
    border-color: #000;
    transform: translateX(4px);
}

/* ==========================================
   SECTION 6: TESTIMONIALS & CONTACT FORM
   ========================================== */
.contact-wrapper {
    background-color: var(--color-theme-bg);
    transition: var(--transition);
}

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

.testimonials-header h2 {
    font-size: 3.5rem;
    font-weight: 800;
    color: var(--color-theme-text);
}

.testimonials-header h2 span {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Reviews List */
.review-cards-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-bottom: 80px;
}

.review-card-item {
    background: var(--color-theme-card-bg);
    border: 1px solid var(--color-theme-card-border);
    border-radius: var(--radius-card);
    padding: 30px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.005);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: var(--transition);
}

.review-card-item:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
    border-color: #e2e8f0;
}

.review-author-row {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
    position: relative;
}

.review-author-avatar {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background-color: #a855f7;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-weight: 700;
}

.review-author-info h4 {
    font-size: 1rem;
    font-weight: 700;
    color: var(--color-theme-text);
}

.review-author-info p {
    font-size: 0.8rem;
    color: var(--color-theme-muted);
    font-weight: 600;
}

.review-card-icon {
    position: absolute;
    right: 0;
    top: 0;
    color: #a855f7;
    font-size: 1.1rem;
}

.review-stars {
    color: #fbbf24;
    font-size: 0.8rem;
    margin-bottom: 14px;
}

.review-text {
    font-size: 0.95rem;
    color: var(--color-theme-text);
    line-height: 1.6;
}

/* Contact Form Grid Layout */
.contact-split-card {
    border-radius: var(--radius-card);
    box-shadow: var(--shadow-lg);
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    overflow: hidden;
    min-height: 580px;
}

/* Left Form Pane (Dark Forest overlay theme) */
.contact-form-left {
    background-color: #111b21;
    background-image: linear-gradient(rgba(17, 27, 33, 0.85), rgba(17, 27, 33, 0.95)), url('https://images.unsplash.com/photo-1518770660439-4636190af475?q=80&w=800&auto=format&fit=crop');
    background-size: cover;
    background-position: center;
    padding: 50px;
    color: #fff;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.contact-form-title-group h2 {
    font-size: 3rem;
    font-weight: 800;
    color: #fff;
    line-height: 1.1;
}

.contact-form-title-group p {
    font-size: 1.1rem;
    color: #94a3b8;
    margin-top: 6px;
    font-weight: 500;
}

.contact-actual-form {
    display: flex;
    flex-direction: column;
    gap: 24px;
    margin-top: 30px;
    margin-bottom: 30px;
}

.form-inputs-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.contact-form-left input,
.contact-form-left textarea {
    background: transparent;
    border: none;
    border-bottom: 1.5px solid rgba(255,255,255,0.25);
    padding: 12px 4px;
    color: #fff;
    font-size: 0.95rem;
    outline: none;
    transition: var(--transition);
}

.contact-form-left input:focus,
.contact-form-left textarea:focus {
    border-color: #a855f7;
}

.contact-form-left input::placeholder,
.contact-form-left textarea::placeholder {
    color: rgba(255, 255, 255, 0.4);
}

.contact-form-left textarea {
    min-height: 100px;
    resize: none;
}

.contact-form-buttons-row {
    display: flex;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
}

.btn-form-send {
    background: var(--gradient-primary);
    color: #fff;
    border: none;
    padding: 13px 28px;
    border-radius: var(--radius-pill);
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(236, 72, 153, 0.3);
    font-size: 0.95rem;
    transition: var(--transition);
}

.btn-form-send:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(236, 72, 153, 0.5);
}

.btn-form-schedule {
    background-color: #000;
    color: #fff;
    border: 1px solid rgba(255,255,255,0.1);
    padding: 13px 28px;
    border-radius: var(--radius-pill);
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    cursor: pointer;
    font-size: 0.95rem;
    transition: var(--transition);
}

.btn-form-schedule:hover {
    background-color: #111;
    border-color: rgba(255,255,255,0.3);
}

/* Right Details Panel (Purple Gradient Layout) */
.contact-details-right {
    background: var(--gradient-pink-violet);
    padding: 50px;
    color: #fff;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
}

.contact-right-avatar-box {
    text-align: center;
    margin-bottom: 20px;
}

.contact-avatar-glow-frame {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    border: 3px solid #fff;
    box-shadow: 0 10px 25px rgba(0,0,0,0.15);
    overflow: hidden;
    position: relative;
    margin: 0 auto 12px;
}

.contact-avatar-glow-frame img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 15%; /* Focus on Ahamed's face in the vertical portrait */
}

.contact-active-badge {
    position: absolute;
    bottom: 5px;
    right: 5px;
    width: 16px;
    height: 16px;
    background-color: #22c55e;
    border: 2px solid #fff;
    border-radius: 50%;
}

.contact-email-link {
    font-size: 1.2rem;
    font-weight: 700;
    color: #fff;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: rgba(255,255,255,0.1);
    padding: 8px 20px;
    border-radius: var(--radius-pill);
    margin-bottom: 30px;
    transition: var(--transition);
}

.contact-email-link:hover {
    background: rgba(255,255,255,0.2);
}

.contact-qrs-wrapper {
    display: flex;
    flex-direction: column;
    gap: 16px;
    width: 100%;
}

.contact-qr-card-item {
    background-color: var(--color-theme-card-bg);
    border: 1px solid var(--color-theme-card-border);
    border-radius: var(--radius-sm);
    padding: 12px;
    display: flex;
    align-items: center;
    gap: 20px;
    box-shadow: 0 8px 20px rgba(0,0,0,0.05);
    transition: var(--transition);
}

.qr-code-img {
    width: 75px;
    height: 75px;
    object-fit: contain;
    border-radius: 6px;
}

.qr-card-details {
    color: var(--color-theme-text);
}

.qr-card-details p {
    font-size: 0.75rem;
    color: var(--color-theme-muted);
    font-weight: 600;
}

.qr-card-details h4 {
    font-size: 1.15rem;
    font-weight: 800;
    margin-top: 4px;
    color: var(--color-theme-text);
}

.qr-card-details a {
    color: inherit;
    text-decoration: none;
}

.qr-card-details a:hover {
    color: #a855f7;
}

/* Follow on Socials */
.contact-follow-tags {
    margin-top: 30px;
    text-align: center;
}

.contact-follow-tags p {
    font-size: 0.85rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 10px;
}

.contact-social-row {
    display: flex;
    justify-content: center;
    gap: 14px;
}

.contact-social-circle-btn {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background-color: rgba(255,255,255,0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 1rem;
    transition: var(--transition);
}

.contact-social-circle-btn:hover {
    background-color: #fff;
    color: #a855f7;
    transform: translateY(-2px);
}

/* ==========================================
   FOOTER (DARK BANNER)
   ========================================== */
.footer-wrapper {
    background-color: #0c0b0e;
    padding: 80px 0;
    color: #fff;
    position: relative;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.footer-lets-connect-heading {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 16px;
    font-size: 4.8rem;
    font-weight: 800;
    font-family: var(--font-heading);
    letter-spacing: -2px;
    line-height: 1.1;
    margin-bottom: 30px;
}

.footer-avatar-capsule {
    width: 100px;
    height: 52px;
    border-radius: 26px;
    overflow: hidden;
    display: inline-block;
    border: 2px solid rgba(255, 255, 255, 0.1);
    vertical-align: middle;
}

.footer-avatar-capsule img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 15%; /* Focus on Ahamed's face in the vertical portrait */
}

.footer-bottom-socials-row {
    display: flex;
    gap: 12px;
    margin-bottom: 24px;
}

.footer-bottom-socials-row .social-link-sq {
    background-color: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.08);
    color: rgba(255,255,255,0.7);
}

.footer-bottom-socials-row .social-link-sq:hover {
    color: #fff;
    background: var(--gradient-primary);
    border-color: transparent;
}

.footer-copyright-text {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.45);
    font-weight: 500;
}

/* ==========================================
   MEDIA QUERIES (RESPONSIVENESS)
   ========================================== */
@media (max-width: 992px) {
    html {
        font-size: 14px;
    }
    
    .hero-grid {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 30px;
    }
    
    .hero-content {
        align-items: center;
    }
    
    .hero-portrait-container {
        display: flex;
        justify-content: center;
    }
    
    .hero-portrait-frame {
        width: 100%;
        max-width: 320px;
        height: 320px;
        clip-path: none;
        border-left: none;
        border-bottom: 4px solid #a855f7;
    }
    
    .about-card {
        grid-template-columns: 1fr;
        padding: 40px;
        gap: 30px;
    }
    
    .about-left {
        order: -1;
    }
    
    .events-split-card {
        grid-template-columns: 1fr;
    }
    
    .events-split-left {
        border-right: none;
        border-bottom: 1px solid #f1f5f9;
        padding: 40px;
    }
    
    .events-split-right {
        padding: 40px;
    }
    
    .split-card-logo-overlap {
        display: none;
    }
    
    .projects-dashed-container {
        padding: 30px;
        gap: 40px;
    }
    
    .project-card-logo-box {
        padding: 30px;
        height: 200px;
    }
    
    .project-item-row {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .project-item-row:nth-child(even) .project-card-logo-box {
        order: -1;
    }
    
    .contact-split-card {
        grid-template-columns: 1fr;
    }
    
    .contact-form-left {
        padding: 40px;
    }
    
    .contact-details-right {
        padding: 40px;
    }
    
    .review-cards-row {
        grid-template-columns: 1fr;
        gap: 20px;
    }
}

@media (max-width: 768px) {
    .nav-bar-container {
        top: 15px;
        width: calc(100% - 32px);
        max-width: 420px;
    }
    
    .nav-pill {
        padding: 6px 8px;
    }
    
    .nav-pill li a {
        padding: 6px 12px;
        font-size: 0.85rem;
    }
    
    .hero-content h1 {
        font-size: 3.8rem;
    }
    
    .hero-content h2 {
        font-size: 2.4rem;
    }
    
    .hero-stats-row {
        grid-template-columns: 1fr 1fr;
        gap: 12px;
    }
    
    .stat-tab {
        border-radius: 12px;
        padding: 16px;
    }
    
    .stat-tab h4 {
        font-size: 2rem;
    }
    
    .about-heading h2 {
        font-size: 2.8rem;
    }
    
    .about-heading h3 {
        font-size: 1.6rem;
    }
    
    .partners-panel {
        padding: 20px 16px;
        margin-bottom: 40px;
    }
    
    .partners-row {
        justify-content: center;
        gap: 15px 25px;
    }
    
    .partner-logo-item {
        font-size: 1.1rem;
    }
    
    .expertise-header h2 {
        font-size: 2.6rem;
    }
    
    .events-header h2 {
        font-size: 2.6rem;
    }
    
    .event-host-logo-row {
        gap: 16px;
    }
    
    .event-logo-holder {
        width: 50px;
        height: 50px;
        font-size: 1.2rem;
    }
    
    .event-logo-details h4 {
        font-size: 1.1rem;
    }
    
    .event-logo-details p {
        font-size: 0.8rem;
    }
    
    .events-media-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .projects-header h2 {
        font-size: 2.6rem;
    }
    
    .project-details-box h3 {
        font-size: 1.6rem;
    }
    
    .testimonials-header h2 {
        font-size: 2.6rem;
    }
    
    .contact-form-title-group h2 {
        font-size: 2.4rem;
    }
    
    .form-inputs-row {
        grid-template-columns: 1fr;
    }
    
    .footer-lets-connect-heading {
        font-size: 2.6rem;
    }
    
    .footer-avatar-capsule {
        width: 80px;
        height: 42px;
    }
}

@media (max-width: 576px) {
    .hero-content h1 {
        font-size: 3rem;
    }
    
    .hero-content h2 {
        font-size: 1.8rem;
    }
    
    .hero-portrait-frame {
        max-width: 260px;
        height: 260px;
    }
    
    .stat-tab {
        padding: 12px 10px;
    }
    
    .stat-tab h4 {
        font-size: 1.6rem;
    }
    
    .stat-tab p {
        font-size: 0.8rem;
    }
    
    .about-card {
        padding: 24px 16px;
        gap: 24px;
    }
    
    .about-tilted-frame {
        width: 240px;
        height: 300px;
        transform: none !important;
    }
    
    .about-heading h2 {
        font-size: 2.2rem;
    }
    
    .about-heading h3 {
        font-size: 1.4rem;
    }
    
    .about-description {
        font-size: 0.95rem;
        line-height: 1.6;
        margin-bottom: 24px;
    }
    
    .about-actions {
        justify-content: center;
        width: 100%;
    }
    
    .btn-schedule-call {
        width: 100%;
        justify-content: center;
    }
    
    .social-links-row {
        justify-content: center;
        width: 100%;
    }
    
    .expertise-header h2 {
        font-size: 2rem;
    }
    
    .expertise-header p {
        font-size: 0.95rem;
    }
    
    .badge-tag-pill {
        padding: 10px 18px;
        font-size: 0.85rem;
    }
    
    .events-header h2 {
        font-size: 2rem;
    }
    
    .events-split-left {
        padding: 20px 16px;
        gap: 24px;
    }
    
    .events-split-right {
        padding: 20px 16px;
        flex-direction: column-reverse;
        text-align: center;
        gap: 16px;
    }
    
    .event-right-avatar-frame {
        width: 90px;
        height: 90px;
    }
    
    .event-right-info h3 {
        font-size: 1.8rem;
    }
    
    .event-right-info p {
        font-size: 0.9rem;
    }
    
    .projects-header h2 {
        font-size: 2rem;
    }
    
    .projects-header p {
        font-size: 0.95rem;
    }
    
    .projects-dashed-container {
        padding: 20px 12px;
        gap: 30px;
    }
    
    .project-card-logo-box {
        padding: 20px;
        height: 160px;
    }
    
    .project-logo-image-exact {
        max-height: 110px !important;
    }
    
    .project-details-box {
        align-items: center;
        text-align: center;
    }
    
    .project-details-box h3 {
        font-size: 1.35rem;
    }
    
    .project-number {
        font-size: 0.75rem;
    }
    
    .project-tag {
        font-size: 0.8rem;
        margin-bottom: 16px;
    }
    
    .btn-view-work {
        width: 100%;
        justify-content: center;
    }
    
    .testimonials-header h2 {
        font-size: 2rem;
    }
    
    .review-card-item {
        padding: 20px;
    }
    
    .review-text {
        font-size: 0.9rem;
    }
    
    .contact-split-card {
        min-height: auto;
    }
    
    .contact-form-left {
        padding: 24px 16px;
    }
    
    .contact-details-right {
        padding: 24px 16px;
    }
    
    .contact-form-title-group h2 {
        font-size: 2rem;
    }
    
    .contact-form-title-group p {
        font-size: 1rem;
    }
    
    .contact-actual-form {
        gap: 16px;
    }
    
    .contact-form-buttons-row {
        justify-content: center;
        width: 100%;
    }
    
    .btn-form-send,
    .btn-form-schedule {
        padding: 10px 20px;
        font-size: 0.85rem;
        width: 100%;
        justify-content: center;
    }
    
    .contact-email-link {
        font-size: 1rem;
        padding: 8px 16px;
        width: 100%;
        justify-content: center;
    }
    
    .contact-qr-card-item {
        gap: 12px;
        padding: 10px;
    }
    
    .qr-code-img {
        width: 60px;
        height: 60px;
    }
    
    .qr-card-details h4 {
        font-size: 0.95rem;
        word-break: break-all;
    }
}

@media (max-width: 480px) {
    .nav-bar-container {
        width: calc(100% - 16px);
        top: 8px;
    }
    
    .nav-pill {
        padding: 4px 6px;
    }
    
    .nav-pill li a {
        padding: 6px 6px;
        font-size: 0.75rem;
    }
    
    .btn-theme-toggle {
        width: 30px;
        height: 30px;
        font-size: 0.8rem;
    }
    
    .hero-content h1 {
        font-size: 2.6rem;
    }
    
    .hero-content h2 {
        font-size: 1.5rem;
    }
    
    .hero-portrait-frame {
        max-width: 220px;
        height: 220px;
    }
    
    .hero-buttons {
        gap: 10px;
        width: 100%;
        justify-content: center;
        flex-wrap: wrap;
    }
    
    .btn-download-ecard {
        padding: 10px 16px;
        font-size: 0.85rem;
        flex: 1;
        justify-content: center;
    }
    
    .btn-play-circle {
        width: 40px;
        height: 40px;
        font-size: 0.85rem;
    }
    
    .hero-stats-row {
        gap: 8px;
    }
    
    .stat-tab {
        padding: 10px 6px;
    }
    
    .about-tilted-frame {
        width: 200px;
        height: 250px;
    }
    
    .footer-lets-connect-heading {
        font-size: 2rem;
        gap: 8px;
    }
    
    .footer-avatar-capsule {
        width: 60px;
        height: 32px;
        border-radius: 16px;
    }
    
    .footer-wrapper {
        padding: 50px 0;
    }
}

@media (max-width: 360px) {
    .nav-pill li a {
        padding: 6px 4px;
        font-size: 0.7rem;
    }
}
