﻿/* =========================================================
   ShriAnanta — Institutional Website
   Main Stylesheet / css/style.css
========================================================= */


/* =========================================================
   ROOT VARIABLES
========================================================= */

:root {

    --forest: #1f3529;
    --forest-light: #314b3c;

    --earth: #8c7b68;
    --earth-light: #b7aa9a;

    --gold: #b89b63;

    --charcoal: #232323;
    --soft-charcoal: #4d4d4d;

    --off-white: #f6f4ef;
    --white: #ffffff;

    --border: #ddd8cf;

    --shadow-soft:
        0 10px 30px rgba(0, 0, 0, 0.05);

    --transition:
        all 0.3s ease;

    --container:
        1240px;
}


/* =========================================================
   RESET
========================================================= */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {

    font-family: 'Inter', sans-serif;

    background: var(--off-white);

    color: var(--charcoal);

    line-height: 1.7;

    font-size: 16px;

    overflow-x: hidden;
}

img {
    max-width: 100%;
    display: block;
}

a {

    text-decoration: none;

    color: inherit;

    transition: var(--transition);
}

ul {
    list-style: none;
}

button,
input,
textarea {

    font-family: inherit;
}


/* =========================================================
   TYPOGRAPHY
========================================================= */

h1,
h2,
h3,
h4 {

    font-family: 'Cormorant Garamond', serif;

    font-weight: 600;

    line-height: 1.15;

    color: var(--forest);
}

h1 {
    font-size: 4rem;
}

h2 {
    font-size: 3rem;
}

h3 {
    font-size: 1.7rem;
}

h4 {
    font-size: 1.2rem;
}

p {

    color: var(--soft-charcoal);

    margin-bottom: 1.2rem;
}

.lead-text {

    font-size: 1.25rem;

    line-height: 1.9;

    color: var(--charcoal);
}

.eyebrow {

    display: inline-block;

    margin-bottom: 1rem;

    text-transform: uppercase;

    letter-spacing: 2px;

    font-size: 0.75rem;

    font-weight: 600;

    color: var(--gold);
}


/* =========================================================
   LAYOUT
========================================================= */

.container {

    width: 90%;

    max-width: var(--container);

    margin: 0 auto;
}

.narrow-container {

    max-width: 850px;
}

.section {

    padding: 110px 0;
}

.section-light {

    background: #efece5;
}

.center {
    text-align: center;
}

.center-content {
    text-align: center;
}

.grid-two {

    display: grid;

    grid-template-columns: repeat(2, 1fr);

    gap: 80px;

    align-items: center;
}

.align-center {
    align-items: center;
}

.align-start {
    align-items: start;
}


/* =========================================================
   HEADER
========================================================= */

.site-header {

    position: sticky;

    top: 0;

    width: 100%;

    background: rgba(246, 244, 239, 0.96);

    backdrop-filter: blur(8px);

    border-bottom: 1px solid rgba(0, 0, 0, 0.05);

    z-index: 999;
}

.nav-container {

    display: flex;

    justify-content: space-between;

    align-items: center;

    padding: 22px 0;
}


/* =========================================================
   LOGO
========================================================= */

.logo {

    display: flex;

    flex-direction: column;
}

.logo-mark {

    font-family: 'Cormorant Garamond', serif;

    font-size: 2rem;

    font-weight: 700;

    color: var(--forest);

    line-height: 1;
}

.logo-sub {

    font-size: 0.72rem;

    text-transform: uppercase;

    letter-spacing: 1.5px;

    color: var(--earth);

    margin-top: 4px;
}


/* =========================================================
   NAVIGATION
========================================================= */

.site-nav ul {

    display: flex;

    align-items: center;

    gap: 38px;
}

.site-nav a {

    position: relative;

    font-size: 0.95rem;

    font-weight: 500;

    color: var(--charcoal);
}

.site-nav a:hover {

    color: var(--forest);
}

.active-nav {

    color: var(--forest) !important;
}

.active-nav::after {

    content: "";

    position: absolute;

    left: 0;

    bottom: -8px;

    width: 100%;

    height: 1px;

    background: var(--gold);
}


/* =========================================================
   MOBILE NAV
========================================================= */

.mobile-toggle {

    display: none;

    background: none;

    border: none;

    font-size: 1.8rem;

    color: var(--forest);

    cursor: pointer;
}


/* =========================================================
   HERO SECTION
========================================================= */

.hero-section {

    position: relative;

    min-height: 92vh;

    display: flex;

    align-items: center;

    background:
        linear-gradient(
            rgba(18, 28, 22, 0.72),
            rgba(18, 28, 22, 0.72)
        ),
        url('../assets/images/hero-bg.jpg');

    background-size: cover;

    background-position: center;
}

.hero-overlay {

    position: absolute;

    inset: 0;

    background:
        radial-gradient(
            circle at top right,
            rgba(184, 155, 99, 0.12),
            transparent 40%
        );
}

.hero-container {

    position: relative;

    z-index: 2;
}

.hero-content {

    max-width: 860px;
}

.hero-content h1 {

    color: var(--white);

    margin-bottom: 2rem;
}

.hero-description {

    font-size: 1.2rem;

    line-height: 1.9;

    color: rgba(255, 255, 255, 0.88);

    max-width: 760px;

    margin-bottom: 2.5rem;
}


/* =========================================================
   PAGE HERO
========================================================= */

.page-hero {

    padding: 170px 0 110px;

    background:
        linear-gradient(
            rgba(24, 34, 28, 0.84),
            rgba(24, 34, 28, 0.84)
        ),
        url('../assets/images/page-bg.jpg');

    background-size: cover;

    background-position: center;
}

.page-hero-content {

    max-width: 820px;
}

.page-hero h1 {

    color: var(--white);

    margin-bottom: 1.5rem;
}

.page-hero-text {

    font-size: 1.15rem;

    line-height: 1.9;

    color: rgba(255, 255, 255, 0.88);
}


/* =========================================================
   BUTTONS
========================================================= */

.btn {

    display: inline-flex;

    align-items: center;

    justify-content: center;

    padding: 15px 28px;

    border-radius: 2px;

    font-size: 0.95rem;

    font-weight: 600;

    transition: var(--transition);

    cursor: pointer;
}

.btn-primary {

    background: var(--forest);

    color: var(--white);

    border: 1px solid var(--forest);
}

.btn-primary:hover {

    background: var(--forest-light);

    transform: translateY(-2px);
}

.btn-secondary {

    border: 1px solid var(--border);

    color: var(--forest);

    background: transparent;
}

.btn-secondary:hover {

    background: var(--forest);

    color: var(--white);
}

.hero-buttons {

    display: flex;

    gap: 18px;

    flex-wrap: wrap;
}


/* =========================================================
   SECTION HEADINGS
========================================================= */

.section-heading {

    margin-bottom: 50px;
}

.section-heading.center {

    text-align: center;
}

.section-heading h2 {

    max-width: 850px;

    margin: 0 auto;
}


/* =========================================================
   OVERVIEW CARD
========================================================= */

.overview-card {

    background: var(--white);

    padding: 45px;

    border: 1px solid var(--border);

    box-shadow: var(--shadow-soft);
}

.overview-card ul {

    margin-top: 2rem;
}

.overview-card li {

    padding: 14px 0;

    border-bottom: 1px solid rgba(0, 0, 0, 0.06);

    color: var(--soft-charcoal);
}


/* =========================================================
   PHILOSOPHY / CONTENT CARDS
========================================================= */

.philosophy-grid,
.collaboration-grid,
.process-grid {

    display: grid;

    grid-template-columns: repeat(3, 1fr);

    gap: 30px;
}

.philosophy-card,
.collaboration-card,
.process-card {

    background: var(--white);

    padding: 42px;

    border: 1px solid var(--border);

    transition: var(--transition);

    box-shadow: var(--shadow-soft);
}

.philosophy-card:hover,
.collaboration-card:hover,
.process-card:hover {

    transform: translateY(-6px);
}

.card-line {

    width: 55px;

    height: 2px;

    background: var(--gold);

    margin-bottom: 25px;
}


/* =========================================================
   DOMAINS GRID
========================================================= */

.domains-grid {

    display: grid;

    grid-template-columns: repeat(3, 1fr);

    gap: 28px;
}

.domain-card {

    background: var(--white);

    padding: 38px;

    border: 1px solid var(--border);

    text-align: center;

    transition: var(--transition);
}

.domain-card:hover {

    transform: translateY(-4px);
}

.domain-icon {

    display: inline-block;

    font-size: 2rem;

    color: var(--gold);

    margin-bottom: 18px;
}


/* =========================================================
   STRATEGIC AREAS GRID
========================================================= */

.strategic-grid {

    display: grid;

    grid-template-columns: repeat(3, 1fr);

    gap: 30px;
}

.strategic-card {

    background: var(--white);

    padding: 42px;

    border: 1px solid var(--border);

    box-shadow: var(--shadow-soft);

    transition: var(--transition);
}

.strategic-card:hover {

    transform: translateY(-6px);
}

.strategic-icon {

    width: 62px;

    height: 62px;

    display: flex;

    align-items: center;

    justify-content: center;

    border: 1px solid var(--border);

    color: var(--gold);

    font-size: 1.5rem;

    margin-bottom: 28px;
}


/* =========================================================
   COLLABORATION SECTION
========================================================= */

.collaboration-section {

    background: var(--forest);
}

.collaboration-wrapper {

    display: flex;

    justify-content: space-between;

    align-items: center;

    gap: 40px;
}

.collaboration-content h2,
.collaboration-section h2 {

    color: var(--white);
}

.collaboration-section p {

    color: rgba(255, 255, 255, 0.82);
}


/* =========================================================
   PROCESS SECTION
========================================================= */

.process-number {

    display: inline-block;

    font-size: 2.3rem;

    font-family: 'Cormorant Garamond', serif;

    color: var(--gold);

    margin-bottom: 20px;
}


/* =========================================================
   FORMS
========================================================= */

.contact-form {

    background: var(--white);

    padding: 45px;

    border: 1px solid var(--border);

    box-shadow: var(--shadow-soft);
}

.form-heading {

    margin-bottom: 30px;
}

.form-group {

    margin-bottom: 22px;
}

.form-group label {

    display: block;

    margin-bottom: 10px;

    font-size: 0.92rem;

    font-weight: 600;

    color: var(--forest);
}

.form-group input,
.form-group textarea {

    width: 100%;

    padding: 15px 16px;

    border: 1px solid var(--border);

    background: #faf8f4;

    color: var(--charcoal);

    font-size: 0.95rem;

    transition: var(--transition);
}

.form-group input:focus,
.form-group textarea:focus {

    outline: none;

    border-color: var(--forest);

    background: var(--white);
}


/* =========================================================
   CONTACT PAGE
========================================================= */

.contact-details-wrapper {

    margin-top: 40px;

    display: grid;

    gap: 25px;
}

.contact-detail-card {

    background: var(--white);

    padding: 35px;

    border: 1px solid var(--border);

    box-shadow: var(--shadow-soft);
}

.contact-detail-card a {

    color: var(--forest);

    font-weight: 600;
}

.contact-info-block {

    margin-top: 35px;
}


/* =========================================================
   MAP PLACEHOLDER
========================================================= */

.map-placeholder {

    height: 460px;

    background:
        linear-gradient(
            rgba(27, 41, 32, 0.72),
            rgba(27, 41, 32, 0.72)
        ),
        url('../assets/images/map-placeholder.jpg');

    background-size: cover;

    background-position: center;

    display: flex;

    align-items: center;

    justify-content: center;

    border: 1px solid var(--border);
}

.map-overlay {

    text-align: center;

    max-width: 600px;

    padding: 40px;
}

.map-overlay h3 {

    color: var(--white);

    margin-bottom: 18px;
}

.map-overlay p {

    color: rgba(255, 255, 255, 0.82);
}


/* =========================================================
   SOCIAL LINKS
========================================================= */

.social-links {

    margin-top: 45px;

    display: flex;

    justify-content: center;
}

.social-card {

    display: flex;

    align-items: center;

    gap: 20px;

    background: var(--white);

    padding: 24px 32px;

    border: 1px solid var(--border);

    box-shadow: var(--shadow-soft);
}

.social-icon {

    width: 52px;

    height: 52px;

    border-radius: 50%;

    display: flex;

    align-items: center;

    justify-content: center;

    background: var(--forest);

    color: var(--white);

    font-weight: 700;
}


/* =========================================================
   DOCUMENTS
========================================================= */

.documents-grid {

    display: grid;

    grid-template-columns: repeat(3, 1fr);

    gap: 30px;
}

.document-card {

    background: var(--white);

    padding: 38px;

    border: 1px solid var(--border);

    box-shadow: var(--shadow-soft);

    transition: var(--transition);
}

.document-card:hover {

    transform: translateY(-6px);
}

.document-top {

    margin-bottom: 20px;
}

.document-tag {

    display: inline-block;

    padding: 6px 14px;

    background: rgba(184, 155, 99, 0.12);

    color: var(--gold);

    font-size: 0.78rem;

    font-weight: 600;

    text-transform: uppercase;

    letter-spacing: 1px;
}

.document-footer {

    margin-top: 28px;

    display: flex;

    justify-content: space-between;

    align-items: center;

    gap: 15px;
}

.document-format {

    font-size: 0.82rem;

    color: var(--earth);
}


/* =========================================================
   FOOTER
========================================================= */

.site-footer {

    background: #18221c;

    padding-top: 90px;
}

.footer-grid {

    display: grid;

    grid-template-columns: 2fr 1fr 1fr 1fr;

    gap: 50px;
}

.site-footer h3,
.site-footer h4 {

    color: var(--white);

    margin-bottom: 22px;
}

.site-footer p,
.site-footer li,
.site-footer a {

    color: rgba(255, 255, 255, 0.74);

    font-size: 0.95rem;
}

.site-footer ul li {

    margin-bottom: 12px;
}

.site-footer a:hover {

    color: var(--gold);
}

.footer-bottom {

    margin-top: 70px;

    border-top: 1px solid rgba(255, 255, 255, 0.08);

    padding: 24px 0;
}

.footer-bottom-container {

    display: flex;

    justify-content: center;

    text-align: center;
}


/* =========================================================
   RESPONSIVE
========================================================= */

@media (max-width: 1100px) {

    .grid-two,
    .footer-grid,
    .documents-grid,
    .strategic-grid,
    .domains-grid,
    .philosophy-grid,
    .collaboration-grid,
    .process-grid {

        grid-template-columns: 1fr 1fr;
    }

    h1 {
        font-size: 3.2rem;
    }

    h2 {
        font-size: 2.5rem;
    }
}

@media (max-width: 860px) {

    .mobile-toggle {

        display: block;
    }

    .site-nav {

        position: absolute;

        top: 100%;

        left: 0;

        width: 100%;

        background: var(--off-white);

        border-top: 1px solid rgba(0, 0, 0, 0.05);

        padding: 20px 0;

        display: none;
    }

    .site-nav.active {
        display: block;
    }

    .site-nav ul {

        flex-direction: column;

        gap: 18px;
    }

    .grid-two,
    .footer-grid,
    .documents-grid,
    .strategic-grid,
    .domains-grid,
    .philosophy-grid,
    .collaboration-grid,
    .process-grid {

        grid-template-columns: 1fr;
    }

    .collaboration-wrapper {

        flex-direction: column;

        align-items: flex-start;
    }

    h1 {
        font-size: 2.6rem;
    }

    h2 {
        font-size: 2.1rem;
    }

    .section {
        padding: 80px 0;
    }

    .hero-section {

        min-height: 82vh;
    }

    .hero-buttons {

        flex-direction: column;

        align-items: flex-start;
    }
}

@media (max-width: 560px) {

    .logo-mark {

        font-size: 1.6rem;
    }

    .logo-sub {

        font-size: 0.62rem;
    }

    h1 {

        font-size: 2.2rem;
    }

    h2 {

        font-size: 1.8rem;
    }

    .lead-text {

        font-size: 1.05rem;
    }

    .contact-form,
    .overview-card,
    .document-card,
    .strategic-card,
    .philosophy-card,
    .collaboration-card,
    .process-card {

        padding: 30px;
    }

    .page-hero {

        padding: 150px 0 90px;
    }
}