/* ========================================
   DARSAN YEDURI - Personal Brand Website
   Executive | Modern | Light | Minimal
   ======================================== */

/* Reset & Base */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --color-primary: #1a365d;
    --color-primary-light: #2b6cb0;
    --color-accent: #3182ce;
    --color-dark: #1a202c;
    --color-text: #2d3748;
    --color-text-light: #718096;
    --color-bg: #ffffff;
    --color-bg-soft: #f7fafc;
    --color-border: #e2e8f0;
    --font-display: 'Playfair Display', Georgia, serif;
    --font-body: 'Inter', -apple-system, sans-serif;
    --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.7;
    color: var(--color-text);
    background: var(--color-bg);
    -webkit-font-smoothing: antialiased;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* ========== Navigation ========== */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 20px 0;
    transition: var(--transition);
}

.nav.scrolled {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    padding: 12px 0;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 36px;
}

.nav-links li {
    position: relative;
}

.nav-links a {
    font-size: 14px;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.85);
    text-decoration: none;
    letter-spacing: 0.3px;
    transition: var(--transition);
    position: relative;
    padding-bottom: 6px;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: currentColor;
    transition: var(--transition);
}

.nav-links a:hover::after {
    width: 100%;
}

/* Active section indicator */
.nav-links a.active::after {
    width: 100%;
    background: #fff;
}

.nav.scrolled .nav-links a.active::after {
    background: var(--color-primary);
}

.nav.scrolled .nav-links a {
    color: var(--color-text);
}

.nav.scrolled .nav-links a:hover {
    color: var(--color-primary);
}

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
}

.nav-toggle span {
    width: 24px;
    height: 2px;
    background: var(--color-bg);
    transition: var(--transition);
}

.nav.scrolled .nav-toggle span {
    background: var(--color-dark);
}

/* ========== Hero ========== */
.hero {
    position: relative;
    height: 100vh;
    min-height: 700px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: url('assets/images/bestbanner.jpg') center center / cover no-repeat;
    overflow: hidden;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(26, 54, 93, 0.82) 0%, rgba(26, 32, 44, 0.75) 100%);
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    padding: 0 24px;
}

.hero-label {
    font-size: 13px;
    font-weight: 500;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 16px;
}

.hero-title {
    font-family: var(--font-display);
    font-size: clamp(48px, 8vw, 80px);
    font-weight: 700;
    color: #fff;
    line-height: 1.1;
    margin-bottom: 20px;
}

.hero-subtitle {
    font-size: clamp(16px, 2vw, 20px);
    font-weight: 300;
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.6;
    margin-bottom: 40px;
}

.hero-cta {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

.btn {
    display: inline-block;
    padding: 14px 32px;
    font-size: 14px;
    font-weight: 500;
    letter-spacing: 0.5px;
    text-decoration: none;
    border-radius: 4px;
    transition: var(--transition);
}

.btn-primary {
    background: #fff;
    color: var(--color-primary);
}

.btn-primary:hover {
    background: var(--color-bg-soft);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.btn-outline {
    border: 1.5px solid rgba(255, 255, 255, 0.6);
    color: #fff;
}

.btn-outline:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: #fff;
}

.hero-scroll {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    z-index: 2;
}

.hero-scroll span {
    font-size: 11px;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.5);
}

.scroll-line {
    width: 1px;
    height: 40px;
    background: rgba(255, 255, 255, 0.3);
    position: relative;
    overflow: hidden;
}

.scroll-line::after {
    content: '';
    position: absolute;
    top: -100%;
    left: 0;
    width: 100%;
    height: 100%;
    background: #fff;
    animation: scrollDown 2s ease-in-out infinite;
}

@keyframes scrollDown {
    0% { top: -100%; }
    100% { top: 100%; }
}

/* ========== Sections ========== */
.section {
    padding: 100px 0;
}

.section-label {
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 2.5px;
    text-transform: uppercase;
    color: var(--color-accent);
    margin-bottom: 12px;
}

.section-label.center {
    text-align: center;
}

.section-title {
    font-family: var(--font-display);
    font-size: clamp(32px, 4vw, 44px);
    font-weight: 600;
    color: var(--color-dark);
    line-height: 1.2;
    margin-bottom: 24px;
}

.section-title.center {
    text-align: center;
}

/* ========== About ========== */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1.4fr;
    gap: 80px;
    align-items: center;
}

.about-image {
    position: relative;
}

.about-image img {
    width: 100%;
    border-radius: 8px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1);
}

.about-image::before {
    content: '';
    position: absolute;
    top: -12px;
    left: -12px;
    right: 12px;
    bottom: 12px;
    border: 2px solid var(--color-border);
    border-radius: 8px;
    z-index: -1;
}

.about-text {
    font-size: 16px;
    color: var(--color-text-light);
    margin-bottom: 16px;
    line-height: 1.8;
}

.about-stats {
    display: flex;
    gap: 40px;
    margin-top: 36px;
    padding-top: 36px;
    border-top: 1px solid var(--color-border);
}

.stat-number {
    display: block;
    font-family: var(--font-display);
    font-size: 32px;
    font-weight: 700;
    color: var(--color-primary);
}

.stat-label {
    font-size: 13px;
    color: var(--color-text-light);
    letter-spacing: 0.3px;
}

/* ========== Expertise ========== */
.expertise {
    background: var(--color-bg-soft);
}

.expertise-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
    margin-top: 48px;
}

.expertise-card {
    background: #fff;
    padding: 40px 32px;
    border-radius: 8px;
    border: 1px solid var(--color-border);
    transition: var(--transition);
}

.expertise-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.06);
    border-color: transparent;
}

.card-icon {
    width: 48px;
    height: 48px;
    margin-bottom: 20px;
    color: var(--color-accent);
}

.card-icon svg {
    width: 100%;
    height: 100%;
}

.expertise-card h3 {
    font-size: 18px;
    font-weight: 600;
    color: var(--color-dark);
    margin-bottom: 12px;
}

.expertise-card p {
    font-size: 15px;
    color: var(--color-text-light);
    line-height: 1.7;
}

/* ========== Impact ========== */
.impact-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 32px;
    margin-top: 48px;
}

.impact-card {
    text-align: center;
    padding: 40px 20px;
    border-radius: 8px;
    border: 1px solid var(--color-border);
    transition: var(--transition);
}

.impact-card:hover {
    border-color: var(--color-accent);
}

.impact-number {
    display: block;
    font-family: var(--font-display);
    font-size: 36px;
    font-weight: 700;
    color: var(--color-primary);
    margin-bottom: 12px;
}

.impact-desc {
    font-size: 14px;
    color: var(--color-text-light);
    line-height: 1.6;
}

/* ========== Banner Section ========== */
.banner-section {
    position: relative;
    padding: 0;
    height: 450px;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.banner-image {
    position: absolute;
    inset: 0;
}

.banner-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.banner-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(26, 54, 93, 0.9) 0%, rgba(26, 54, 93, 0.4) 100%);
}

.banner-content {
    position: relative;
    z-index: 2;
    max-width: 550px;
    padding: 0 60px;
    color: #fff;
}

.banner-content .section-label {
    color: rgba(255, 255, 255, 0.7);
}

.banner-content h2 {
    font-family: var(--font-display);
    font-size: 36px;
    font-weight: 600;
    margin-bottom: 16px;
    line-height: 1.3;
}

.banner-content p {
    font-size: 15px;
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.7;
}

/* ========== Credentials ========== */
.credentials {
    background: var(--color-bg-soft);
}

.credentials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    margin-top: 48px;
}

.cred-column h3 {
    font-size: 16px;
    font-weight: 600;
    color: var(--color-dark);
    margin-bottom: 16px;
    padding-bottom: 12px;
    border-bottom: 2px solid var(--color-accent);
    display: inline-block;
}

.cred-column ul {
    list-style: none;
}

.cred-column li {
    font-size: 15px;
    color: var(--color-text-light);
    padding: 8px 0;
    border-bottom: 1px solid var(--color-border);
}

.cred-column li:last-child {
    border-bottom: none;
}

/* ========== Contact ========== */
.contact {
    text-align: center;
}

.contact-text {
    font-size: 17px;
    color: var(--color-text-light);
    max-width: 600px;
    margin: 0 auto 40px;
}

.contact-links {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 16px;
    color: var(--color-text);
    text-decoration: none;
    transition: var(--transition);
}

.contact-item:hover {
    color: var(--color-accent);
}

.contact-item svg {
    width: 22px;
    height: 22px;
    flex-shrink: 0;
}

/* ========== Footer ========== */
.footer {
    padding: 32px 0;
    text-align: center;
    border-top: 1px solid var(--color-border);
}

.footer p {
    font-size: 13px;
    color: var(--color-text-light);
}

/* ========== Responsive ========== */
@media (max-width: 1024px) {
    .about-grid {
        grid-template-columns: 1fr;
        gap: 48px;
    }
    
    .about-image {
        max-width: 400px;
        margin: 0 auto;
    }
    
    .expertise-grid {
        grid-template-columns: 1fr;
    }
    
    .impact-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .credentials-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: #fff;
        flex-direction: column;
        padding: 24px;
        gap: 16px;
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    }
    
    .nav-links.active {
        display: flex;
    }
    
    .nav-links a {
        color: var(--color-text) !important;
        font-size: 16px;
    }
    
    .nav-toggle {
        display: flex;
    }
    
    .hero {
        min-height: 600px;
    }
    
    .hero-subtitle br {
        display: none;
    }
    
    .about-stats {
        flex-wrap: wrap;
        gap: 24px;
    }
    
    .impact-grid {
        grid-template-columns: 1fr;
    }
    
    .banner-section {
        height: 400px;
    }
    
    .banner-content {
        padding: 0 24px;
    }
    
    .banner-content h2 {
        font-size: 28px;
    }
}
