/* ============================================================
   ANIL PHONDEKAR – Personal Portfolio
   Color Palette:
     - Deep Navy:   #0a1628
     - Navy:        #112240
     - Gold:        #c9a84c
     - Gold Light:  #d4b96a
     - White:       #ffffff
     - Light Grey:  #f4f5f7
     - Text Dark:   #1a1a2e
     - Text Muted:  #5a6270
   ============================================================ */

/* === RESET & BASE === */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --navy-dark: #0a1628;
    --navy: #112240;
    --navy-light: #1a3356;
    --gold: #c9a84c;
    --gold-light: #d4b96a;
    --gold-dark: #b8943a;
    --white: #ffffff;
    --grey-100: #f4f5f7;
    --grey-200: #e8eaed;
    --grey-300: #d1d5db;
    --text-dark: #1a1a2e;
    --text-body: #374151;
    --text-muted: #6b7280;
    --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.08);
    --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 8px 32px rgba(0, 0, 0, 0.12);
    --shadow-xl: 0 12px 48px rgba(0, 0, 0, 0.15);
    --radius-sm: 6px;
    --radius-md: 12px;
    --radius-lg: 20px;
    --transition: 0.3s ease;
    --font-devanagari: 'Noto Sans Devanagari', sans-serif;
    --font-latin: 'Inter', sans-serif;
}

html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
}

body {
    font-family: var(--font-devanagari);
    font-size: 16px;
    line-height: 1.7;
    color: var(--text-body);
    background-color: var(--white);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

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

ul {
    list-style: none;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* === TYPOGRAPHY === */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-devanagari);
    font-weight: 700;
    line-height: 1.25;
    color: var(--text-dark);
}

/* === BUTTONS === */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 32px;
    font-family: var(--font-devanagari);
    font-size: 15px;
    font-weight: 600;
    border: 2px solid transparent;
    border-radius: var(--radius-sm);
    cursor: pointer;
    transition: all var(--transition);
    white-space: nowrap;
    text-align: center;
}

.btn-primary {
    background: var(--gold);
    color: var(--navy-dark);
    border-color: var(--gold);
}

.btn-primary:hover {
    background: var(--gold-dark);
    border-color: var(--gold-dark);
    transform: translateY(-2px);
    box-shadow: 0 4px 16px rgba(201, 168, 76, 0.35);
}

.btn-outline {
    background: transparent;
    color: var(--white);
    border-color: rgba(255, 255, 255, 0.4);
}

.btn-outline:hover {
    background: var(--white);
    color: var(--navy-dark);
    border-color: var(--white);
    transform: translateY(-2px);
}

.btn-sm {
    padding: 8px 20px;
    font-size: 13px;
}

.btn-lg {
    padding: 16px 40px;
    font-size: 16px;
}

/* === HEADER / NAVIGATION === */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    transition: all var(--transition);
}

.navbar {
    padding: 18px 0;
    transition: all var(--transition);
}

.site-header.scrolled .navbar {
    background: rgba(255, 255, 255, 0.97);
    backdrop-filter: blur(12px);
    box-shadow: var(--shadow-sm);
    padding: 12px 0;
}

.navbar-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.navbar-brand {
    font-family: var(--font-latin);
    font-size: 20px;
    font-weight: 700;
    color: var(--white);
    letter-spacing: -0.02em;
    transition: color var(--transition);
}

.site-header.scrolled .navbar-brand {
    color: var(--navy-dark);
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 6px;
}

.nav-link {
    padding: 8px 16px;
    font-size: 14px;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.85);
    border-radius: var(--radius-sm);
    transition: all var(--transition);
}

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

.site-header.scrolled .nav-link {
    color: var(--text-body);
}

.site-header.scrolled .nav-link:hover,
.site-header.scrolled .nav-link.active {
    color: var(--gold);
}

/* Hamburger */
.navbar-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 6px;
    z-index: 1001;
}

.hamburger-line {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--white);
    border-radius: 2px;
    transition: all var(--transition);
}

.site-header.scrolled .hamburger-line {
    background: var(--navy-dark);
}

.navbar-toggle.active .hamburger-line:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.navbar-toggle.active .hamburger-line:nth-child(2) {
    opacity: 0;
}

.navbar-toggle.active .hamburger-line:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

/* === HERO SECTION === */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, var(--navy-dark) 0%, var(--navy) 50%, var(--navy-light) 100%);
    position: relative;
    overflow: hidden;
    padding-top: 80px;
}

.hero::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(201, 168, 76, 0.08) 0%, transparent 70%);
    border-radius: 50%;
}

.hero::after {
    content: '';
    position: absolute;
    bottom: -30%;
    left: -10%;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(201, 168, 76, 0.05) 0%, transparent 70%);
    border-radius: 50%;
}

.hero-inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 60px;
    position: relative;
    z-index: 1;
}

.hero-label {
    display: inline-block;
    font-size: 14px;
    font-weight: 600;
    color: var(--gold);
    letter-spacing: 1px;
    margin-bottom: 20px;
    text-transform: uppercase;
}

.hero-title {
    font-size: clamp(32px, 5vw, 56px);
    font-weight: 800;
    color: var(--white);
    line-height: 1.15;
    margin-bottom: 24px;
}

.hero-name {
    color: var(--gold);
    display: block;
}

.hero-subtitle {
    font-size: clamp(15px, 1.6vw, 18px);
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.8;
    margin-bottom: 36px;
    max-width: 520px;
}

.hero-cta {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

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

.hero-image-wrapper {
    position: relative;
    width: 100%;
    max-width: 420px;
}

.hero-image-wrapper img {
    width: 100%;
    height: auto;
    border-radius: var(--radius-lg);
    object-fit: cover;
    aspect-ratio: 5/6;
    background: var(--navy-light);
}

.hero-image-accent {
    position: absolute;
    bottom: -12px;
    right: -12px;
    width: 120px;
    height: 120px;
    border: 3px solid var(--gold);
    border-radius: var(--radius-lg);
    opacity: 0.3;
    z-index: -1;
}

/* === SECTIONS === */
.section {
    padding: 100px 0;
}

.section:nth-child(even) {
    background: var(--grey-100);
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-label {
    display: inline-block;
    font-family: var(--font-latin);
    font-size: 12px;
    font-weight: 700;
    color: var(--gold);
    letter-spacing: 3px;
    text-transform: uppercase;
    margin-bottom: 12px;
}

.section-title {
    font-size: clamp(28px, 4vw, 42px);
    font-weight: 800;
    color: var(--navy-dark);
    margin-bottom: 12px;
}

.section-subtitle {
    font-size: 16px;
    color: var(--text-muted);
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.7;
}

/* === ABOUT === */
.about-content {
    max-width: 800px;
    margin: 0 auto;
}

.about-intro {
    font-size: 20px;
    font-weight: 600;
    color: var(--navy-dark);
    margin-bottom: 24px;
}

.about-text p {
    font-size: 16px;
    line-height: 1.9;
    color: var(--text-body);
    margin-bottom: 20px;
}

.about-text p:last-child {
    margin-bottom: 0;
}

.highlight {
    color: var(--navy-dark);
    font-weight: 600;
    position: relative;
}

.highlight::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: var(--gold);
    opacity: 0.4;
}

/* === WORK / कार्यक्षेत्र === */
.work-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.work-card {
    background: var(--white);
    border-radius: var(--radius-md);
    padding: 36px 28px;
    box-shadow: var(--shadow-sm);
    transition: all var(--transition);
    position: relative;
    overflow: hidden;
}

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

.work-card-number {
    font-family: var(--font-latin);
    font-size: 48px;
    font-weight: 800;
    color: var(--grey-200);
    position: absolute;
    top: 16px;
    right: 20px;
    line-height: 1;
}

.work-card-icon {
    width: 52px;
    height: 52px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--gold), var(--gold-light));
    color: var(--navy-dark);
    border-radius: var(--radius-sm);
    font-size: 20px;
    margin-bottom: 20px;
}

.work-card-title {
    font-size: 18px;
    font-weight: 700;
    color: var(--navy-dark);
    margin-bottom: 10px;
}

.work-card-desc {
    font-size: 14px;
    color: var(--text-muted);
    line-height: 1.7;
}

/* === INITIATIVES / उपक्रम === */
.initiatives-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.initiative-card {
    display: flex;
    align-items: center;
    gap: 20px;
    background: var(--white);
    border-radius: var(--radius-md);
    padding: 24px;
    box-shadow: var(--shadow-sm);
    transition: all var(--transition);
}

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

.initiative-card-logo {
    flex-shrink: 0;
    width: 64px;
    height: 64px;
    border-radius: var(--radius-sm);
    overflow: hidden;
    background: var(--grey-100);
    display: flex;
    align-items: center;
    justify-content: center;
}

.initiative-card-logo img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 6px;
}

.initiative-logo-fallback {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--navy);
    color: var(--gold);
    font-size: 24px;
}

.initiative-card-content {
    flex: 1;
    min-width: 0;
}

.initiative-card-name {
    font-size: 16px;
    font-weight: 700;
    color: var(--navy-dark);
    margin-bottom: 4px;
    line-height: 1.35;
}

.initiative-card-role {
    display: inline-block;
    font-size: 12px;
    font-weight: 600;
    color: var(--gold-dark);
    background: rgba(201, 168, 76, 0.12);
    padding: 3px 10px;
    border-radius: 20px;
    margin-bottom: 10px;
}

.initiative-card-content .btn {
    margin-top: 2px;
}

/* === VISION / ध्येय === */
.vision {
    background: linear-gradient(135deg, var(--navy-dark) 0%, var(--navy) 100%);
    padding: 100px 0;
    text-align: center;
}

.vision-inner {
    max-width: 800px;
}

.vision-quote {
    margin-bottom: 40px;
}

.vision-quote-icon {
    color: var(--gold);
    font-size: 28px;
    opacity: 0.5;
}

.vision-quote-end {
    margin-top: 16px;
}

.vision-statement {
    font-size: clamp(22px, 3.5vw, 34px);
    font-weight: 700;
    color: var(--white);
    line-height: 1.5;
    margin: 24px 0;
    padding: 0 20px;
}

.vision-supporting {
    font-size: 16px;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.9;
    max-width: 700px;
    margin: 0 auto;
}

/* === CONTACT / संपर्क === */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: start;
    max-width: 900px;
    margin: 0 auto;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    margin-bottom: 24px;
}

.contact-item-icon {
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(201, 168, 76, 0.1);
    color: var(--gold);
    border-radius: var(--radius-sm);
    font-size: 16px;
    flex-shrink: 0;
}

.contact-item-label {
    display: block;
    font-size: 12px;
    font-weight: 600;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 2px;
}

.contact-item-value {
    font-size: 15px;
    font-weight: 500;
    color: var(--navy-dark);
}

a.contact-item-value:hover {
    color: var(--gold);
}

.contact-social {
    display: flex;
    gap: 12px;
    margin-top: 32px;
}

.social-link {
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--grey-100);
    color: var(--navy-dark);
    border-radius: 50%;
    font-size: 16px;
    transition: all var(--transition);
}

.social-link:hover {
    background: var(--gold);
    color: var(--navy-dark);
    transform: translateY(-3px);
}

.contact-actions {
    display: flex;
    flex-direction: column;
    gap: 16px;
    padding-top: 8px;
}

.contact-btn {
    justify-content: center;
}

/* === FOOTER === */
.site-footer {
    background: var(--navy-dark);
    padding: 32px 0;
}

.footer-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 12px;
}

.footer-copyright {
    font-family: var(--font-latin);
    font-size: 13px;
    color: rgba(255, 255, 255, 0.5);
}

.footer-tagline {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.35);
}

/* === ANIMATIONS (Intersection Observer) === */
.fade-up {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-up.visible {
    opacity: 1;
    transform: translateY(0);
}

/* === RESPONSIVE: Tablet (≤ 992px) === */
@media (max-width: 992px) {
    .hero-inner {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 40px;
    }

    .hero-subtitle {
        margin-left: auto;
        margin-right: auto;
    }

    .hero-cta {
        justify-content: center;
    }

    .hero-image-wrapper {
        max-width: 300px;
    }

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

    .initiatives-grid {
        grid-template-columns: 1fr;
    }

    .contact-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
}

/* === RESPONSIVE: Tablet Portrait / Mobile Nav (≤ 768px) === */
@media (max-width: 768px) {
    .navbar-toggle {
        display: flex;
    }

    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 280px;
        height: 100vh;
        background: var(--navy-dark);
        flex-direction: column;
        align-items: flex-start;
        padding: 80px 32px 32px;
        gap: 4px;
        transition: right var(--transition);
        box-shadow: var(--shadow-xl);
    }

    .nav-menu.active {
        right: 0;
    }

    .nav-menu .nav-link {
        color: rgba(255, 255, 255, 0.8);
        font-size: 16px;
        padding: 12px 16px;
        width: 100%;
        border-radius: var(--radius-sm);
    }

    .nav-menu .nav-link:hover,
    .nav-menu .nav-link.active {
        color: var(--white);
        background: rgba(255, 255, 255, 0.08);
    }

    .section {
        padding: 70px 0;
    }

    .work-grid {
        grid-template-columns: 1fr;
    }

    .hero {
        min-height: auto;
        padding: 100px 0 60px;
    }
}

/* === RESPONSIVE: Mobile (≤ 480px) === */
@media (max-width: 480px) {
    .container {
        padding: 0 16px;
    }

    .btn {
        padding: 12px 24px;
        font-size: 14px;
    }

    .btn-lg {
        padding: 14px 28px;
        font-size: 15px;
    }

    .hero-cta {
        flex-direction: column;
        align-items: center;
    }

    .hero-cta .btn {
        width: 100%;
        max-width: 280px;
        justify-content: center;
    }

    .section {
        padding: 60px 0;
    }

    .section-header {
        margin-bottom: 40px;
    }

    .work-card {
        padding: 28px 20px;
    }

    .initiative-card {
        padding: 20px 16px;
    }

    .footer-inner {
        flex-direction: column;
        text-align: center;
    }

    .contact-actions {
        align-items: stretch;
    }
}

/* === REDUCED MOTION === */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }

    html {
        scroll-behavior: auto;
    }

    .fade-up {
        opacity: 1;
        transform: none;
    }
}
