:root {
    --bg-color: #f6efe9;
    --text-main: #4a3034;
    --text-muted: #6e5257;
    --pink-accent: #fbe6ee;
    --pink-darker: #f5c4d6;
    --white: #ffffff;
    --border-radius: 20px;
    
    --font-heading: 'Playfair Display', serif;
    --font-body: 'Inter', sans-serif;
}

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

body {
    font-family: var(--font-body);
    background-color: var(--bg-color);
    color: var(--text-main);
    line-height: 1.6;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 500;
    color: var(--text-main);
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

/* Navbar */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 5%;
    position: fixed;
    top: 0;
    width: 100%;
    background-color: rgba(246, 239, 233, 0.9);
    backdrop-filter: blur(10px);
    z-index: 1000;
    transition: all 0.3s ease;
}

.navbar.scrolled {
    padding: 1rem 5%;
    box-shadow: 0 4px 20px rgba(74, 48, 52, 0.05);
}

.logo {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 700;
    font-style: italic;
}

.nav-links {
    display: flex;
    gap: 2rem;
}

.nav-links a {
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text-muted);
    transition: color 0.3s ease;
    position: relative;
}

.nav-links a:hover, .nav-links a.active {
    color: var(--text-main);
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0%;
    height: 1px;
    background-color: var(--text-main);
    transition: width 0.3s ease;
}

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

.btn-contact {
    border: 1px solid var(--text-main);
    padding: 0.5rem 1.5rem;
    border-radius: 30px;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
}

.btn-contact:hover {
    background-color: var(--text-main);
    color: var(--white);
}

/* Global Buttons */
.btn-primary {
    background-color: var(--pink-accent);
    color: var(--text-main);
    padding: 0.8rem 2rem;
    border-radius: 30px;
    border: 1px solid var(--pink-darker);
    font-size: 0.9rem;
    font-weight: 500;
    display: inline-block;
    transition: all 0.3s ease;
}

.btn-primary:hover {
    background-color: var(--pink-darker);
    transform: translateY(-2px);
}

.btn-outline {
    border: 1px solid var(--text-main);
    padding: 0.6rem 1.8rem;
    border-radius: 30px;
    font-size: 0.9rem;
    display: inline-block;
    transition: all 0.3s ease;
    background: transparent;
}

.btn-outline:hover {
    background-color: var(--text-main);
    color: var(--white);
}

/* Typography elements */
.subtitle, .card-subtitle {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: var(--text-muted);
    display: block;
    margin-bottom: 1rem;
}

.signature {
    font-family: var(--font-heading);
    font-style: italic;
    font-size: 1.5rem;
    color: var(--text-muted);
    opacity: 0.7;
}

/* Pink Card */
.pink-card {
    background-color: var(--pink-accent);
    border-radius: var(--border-radius);
    padding: 3rem;
}

/* Hero Section */
.hero {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 100vh;
    padding: 120px 5% 50px;
    gap: 4rem;
}

.hero-content {
    flex: 1;
    max-width: 600px;
}

.hero-content h1 {
    font-size: 4rem;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    color: var(--text-main);
}

.hero-content p {
    font-size: 1.1rem;
    color: var(--text-muted);
    margin-bottom: 2.5rem;
}

.hero-buttons {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.hero-image {
    flex: 1;
    position: relative;
    max-width: 500px;
}

.hero-image img {
    width: 100%;
    border-radius: var(--border-radius);
    box-shadow: 0 20px 40px rgba(74, 48, 52, 0.1);
    object-fit: cover;
    aspect-ratio: 4/5;
}

.badge {
    position: absolute;
    top: -20px;
    left: -20px;
    background-color: var(--pink-accent);
    width: 100px;
    height: 100px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 1px;
    z-index: 10;
    box-shadow: 0 10px 20px rgba(0,0,0,0.05);
}

/* Sections Global */
section {
    padding: 5rem 5%;
}

.section-header {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 4rem;
}

.section-header h2 {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.section-header p {
    font-size: 1.1rem;
    color: var(--text-muted);
}

/* About Section */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    margin-bottom: 4rem;
}

.about-text p {
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
    text-align: justify;
}

.pink-card h3 {
    font-size: 2rem;
    margin-bottom: 2rem;
}

.check-list li {
    margin-bottom: 1rem;
    position: relative;
    padding-left: 2rem;
}

.check-list li::before {
    content: '→';
    position: absolute;
    left: 0;
    color: var(--text-main);
}

.experience-roles {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    border-top: 1px solid rgba(74, 48, 52, 0.1);
    padding-top: 4rem;
}

.role-box h4 {
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
}

.role-box p {
    font-size: 0.9rem;
    color: var(--text-muted);
}


/* Counseling Section */
.counseling-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: stretch;
}

.guidance-list {
    margin: 2rem 0;
}

.guidance-list li {
    margin-bottom: 1rem;
    font-size: 1.05rem;
}

.counseling-support {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.counseling-support h3 {
    font-size: 2rem;
    margin-bottom: 2rem;
}

.support-list li {
    margin-bottom: 1.2rem;
    padding-left: 2rem;
    position: relative;
}

.support-list li::before {
    content: '•';
    position: absolute;
    left: 0;
    color: var(--pink-darker);
    font-size: 1.5rem;
    line-height: 1;
}

/* NAAC Section */
.naac-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.expertise-block {
    background-color: var(--white);
    padding: 2.5rem;
    border-radius: var(--border-radius);
    box-shadow: 0 10px 30px rgba(74, 48, 52, 0.03);
    transition: transform 0.3s ease;
}

.expertise-block:hover {
    transform: translateY(-5px);
}

.expertise-block h3 {
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    border-bottom: 1px solid var(--pink-accent);
    padding-bottom: 1rem;
}

.expertise-block li {
    margin-bottom: 0.8rem;
    font-size: 0.95rem;
    color: var(--text-muted);
}

/* Research Section */
.research-section {
    background-color: var(--pink-accent);
    margin: 5rem 5%;
    border-radius: var(--border-radius);
    padding: 5rem;
}

.research-container {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 4rem;
}

.research-text h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.research-text p {
    text-align: justify;
}

.research-text h3 {
    margin: 2.5rem 0 1.5rem;
    font-size: 1.5rem;
}

.tags {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
}

.tags span {
    background-color: var(--white);
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 500;
}

.research-list li {
    margin-bottom: 1rem;
    padding-left: 1.5rem;
    position: relative;
}

.research-list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 10px;
    width: 6px;
    height: 6px;
    background-color: var(--text-main);
    border-radius: 50%;
}

.profile-links {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.profile-link {
    background-color: var(--white);
    padding: 1rem 1.5rem;
    border-radius: 10px;
    font-weight: 600;
    display: flex;
    justify-content: space-between;
    transition: all 0.3s ease;
}

.profile-link:hover {
    background-color: var(--text-main);
    color: var(--white);
}

.profile-link::after {
    content: '↗';
}

/* Navbar Social Icons */
.navbar-social {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-right: 0.5rem;
}

.navbar-social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    border: 1px solid rgba(74, 48, 52, 0.2);
    color: var(--text-muted);
    transition: all 0.3s ease;
}

.navbar-social-link:hover {
    background-color: var(--text-main);
    color: var(--white);
    border-color: var(--text-main);
    transform: translateY(-2px);
}

/* Achievements Section */
.achievements-section {
    padding: 5rem 5%;
    background-color: var(--bg-color);
}

/* Stats Strip */
.achievements-stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    max-width: 900px;
    margin: 0 auto 3.5rem;
    text-align: center;
}

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

.stat-number {
    font-family: var(--font-heading);
    font-size: 3rem;
    font-weight: 700;
    color: var(--text-main);
    line-height: 1;
}

.stat-label {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--text-muted);
}

/* Category Filter Tabs */
.achievements-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    justify-content: center;
    margin-bottom: 3rem;
}

.tab-btn {
    padding: 0.5rem 1.4rem;
    border-radius: 30px;
    border: 1px solid rgba(74, 48, 52, 0.2);
    background: transparent;
    color: var(--text-muted);
    font-family: var(--font-body);
    font-size: 0.85rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.25s ease;
}

.tab-btn:hover {
    border-color: var(--text-main);
    color: var(--text-main);
}

.tab-btn.active {
    background-color: var(--text-main);
    color: var(--white);
    border-color: var(--text-main);
}

/* Achievement Cards Grid */
.achievements-cards {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
    gap: 1.5rem;
    max-width: 1200px;
    margin: 0 auto;
}

.achievement-card {
    display: flex;
    align-items: flex-start;
    gap: 1.2rem;
    background-color: var(--white);
    border-radius: var(--border-radius);
    padding: 1.6rem 1.8rem;
    box-shadow: 0 4px 20px rgba(74, 48, 52, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border-left: 3px solid transparent;
}

.achievement-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 30px rgba(74, 48, 52, 0.1);
    border-left-color: var(--pink-darker);
}

.achievement-card[data-category="books"]:hover  { border-left-color: #a8d8a8; }
.achievement-card[data-category="awards"]:hover  { border-left-color: #f5c842; }
.achievement-card[data-category="editorial"]:hover  { border-left-color: #a0c4ff; }
.achievement-card[data-category="certifications"]:hover  { border-left-color: #c9b1f5; }
.achievement-card[data-category="institutional"]:hover  { border-left-color: var(--pink-darker); }

.achievement-card.hidden {
    display: none;
}

.achievement-icon {
    font-size: 1.8rem;
    flex-shrink: 0;
    line-height: 1;
    margin-top: 0.1rem;
}

.achievement-body {
    flex: 1;
}

.achievement-year {
    font-size: 0.72rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--text-muted);
    display: block;
    margin-bottom: 0.4rem;
}

.achievement-body h4 {
    font-size: 1rem;
    font-weight: 600;
    font-family: var(--font-body);
    color: var(--text-main);
    margin-bottom: 0.5rem;
    line-height: 1.4;
}

.achievement-body p {
    font-size: 0.88rem;
    color: var(--text-muted);
    line-height: 1.6;
}

@media (max-width: 768px) {
    .achievements-stats {
        grid-template-columns: repeat(2, 1fr);
    }
    .achievements-cards {
        grid-template-columns: 1fr;
    }
}

/* Footer */
.footer {
    padding: 5rem 5% 2rem;
    background-color: var(--text-main);
    color: var(--white);
}

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

/* Contact Form */
.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.contact-form input,
.contact-form textarea {
    padding: 1rem;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 10px;
    background-color: rgba(255, 255, 255, 0.05);
    color: var(--white);
    font-family: var(--font-body);
    font-size: 0.95rem;
}

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

.contact-form input:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: var(--pink-accent);
    background-color: rgba(255, 255, 255, 0.1);
}

.footer-brand h2 {
    color: var(--pink-accent);
    margin-bottom: 1rem;
}

.footer-brand p {
    color: rgba(255,255,255,0.7);
    max-width: 400px;
}

.footer-contact h3 {
    color: var(--white);
    margin-bottom: 1.5rem;
}

.footer-contact p {
    margin-bottom: 0.8rem;
    color: rgba(255,255,255,0.8);
}

.footer-contact a {
    color: var(--pink-accent);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255,255,255,0.1);
    color: rgba(255,255,255,0.5);
    font-size: 0.9rem;
}

/* Animations */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

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

/* =============================================
   HAMBURGER & MOBILE NAV
   ============================================= */
.hamburger {
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 5px;
    width: 38px;
    height: 38px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
    z-index: 1100;
    order: 3;
}

.hamburger span {
    display: block;
    width: 22px;
    height: 2px;
    background-color: var(--text-main);
    border-radius: 2px;
    transition: all 0.3s ease;
    transform-origin: center;
}

/* Animate to X when open */
.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile nav overlay */
.mobile-nav {
    display: none;
    position: fixed;
    inset: 0;
    background-color: var(--bg-color);
    z-index: 1050;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 2.5rem;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.mobile-nav.open {
    opacity: 1;
    pointer-events: all;
}

.mobile-nav a {
    font-family: var(--font-heading);
    font-size: 2rem;
    color: var(--text-main);
    transition: color 0.2s ease;
}

.mobile-nav a:hover { color: var(--text-muted); }

.mobile-nav-social {
    display: flex;
    gap: 1.2rem;
    margin-top: 1rem;
}

/* =============================================
   TABLET (≤ 992px)
   ============================================= */
@media (max-width: 992px) {

    /* Sections */
    .hero, .about-grid, .counseling-content, .research-container, .footer-content {
        grid-template-columns: 1fr;
        flex-direction: column;
    }

    .hero-content h1 { font-size: 3rem; }

    .naac-grid { grid-template-columns: 1fr; }
    .experience-roles { grid-template-columns: 1fr; }

    .research-section {
        margin: 3rem 5%;
        padding: 3rem;
    }

    .research-container {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }

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

/* =============================================
   MOBILE (≤ 768px)
   ============================================= */
@media (max-width: 768px) {

    /* --- Navbar --- */
    .nav-links,
    .navbar-social,
    .btn-contact {
        display: none;
    }

    .hamburger { display: flex; }

    .mobile-nav { display: flex; }

    .navbar {
        padding: 1rem 5%;
    }

    /* --- Hero --- */
    .hero {
        flex-direction: column;
        padding: 110px 5% 50px;
        gap: 2.5rem;
        text-align: center;
    }

    .hero-content { max-width: 100%; }

    .hero-content h1 {
        font-size: 2.4rem;
        line-height: 1.15;
    }

    .hero-content p { font-size: 1rem; }

    .hero-buttons {
        flex-direction: column;
        align-items: center;
        gap: 1.2rem;
    }

    .hero-image {
        max-width: 100%;
        width: 100%;
    }

    /* --- Section headings --- */
    .section-header h2 { font-size: 2.2rem; }
    .section-header { margin-bottom: 2.5rem; }

    /* --- About --- */
    .about-grid { gap: 2rem; }
    .pink-card { padding: 2rem; }
    .pink-card h3 { font-size: 1.5rem !important; }
    .experience-roles {
        grid-template-columns: 1fr;
        gap: 1.2rem;
        padding-top: 2rem;
    }

    /* --- Counseling --- */
    .counseling-content { gap: 2rem; }
    .counseling-card { padding: 2rem; }

    /* --- NAAC --- */
    .naac-grid { gap: 1.2rem; }
    .expertise-block { padding: 1.8rem; }

    /* --- Research --- */
    .research-section {
        margin: 2rem 3%;
        padding: 2.5rem 1.5rem;
        border-radius: 16px;
    }

    .research-text h2 { font-size: 2rem; }

    .tags { gap: 0.6rem; }
    .tags span { font-size: 0.8rem; }

    /* --- Achievements --- */
    .achievements-stats {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.2rem;
        margin-bottom: 2rem;
    }

    .stat-number { font-size: 2.2rem; }

    .achievements-tabs {
        gap: 0.5rem;
        margin-bottom: 2rem;
    }

    .tab-btn {
        padding: 0.45rem 1rem;
        font-size: 0.78rem;
    }

    .achievements-cards {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .achievement-card {
        padding: 1.2rem 1.2rem;
    }

    /* --- Footer --- */
    .footer { padding: 3rem 5% 1.5rem; }
    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .footer-contact h3 { font-size: 1.5rem; }
}

/* =============================================
   SMALL PHONES (≤ 480px)
   ============================================= */
@media (max-width: 480px) {

    .hero-content h1 { font-size: 2rem; }
    .section-header h2 { font-size: 1.8rem; }

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

    .stat-number { font-size: 1.8rem; }
    .stat-label { font-size: 0.7rem; }

    .mobile-nav a { font-size: 1.6rem; }
}
