/* =========================
   RESET
========================= */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: "DM Sans", sans-serif;
    background: #f8f7f3;
    color: #17212b;
    line-height: 1.7;
}

a {
    text-decoration: none;
    color: inherit;
}

img {
    width: 100%;
    display: block;
}

section {
    scroll-margin-top: 90px;
}


/* =========================
   VARIABLES
========================= */

:root {
    --dark: #13304b;
    --dark2: #1b3142;
    --gold: #b58b45;
    --light-gold: #d7b875;
    --cream: #f3ebd7;
    --white: #ffffff;
    --text: #59636d;
    --border: #e5e0d7;
}


/* =========================
   HEADER
========================= */

.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 82px;

    padding: 0 7%;

    display: flex;
    align-items: center;
    justify-content: space-between;

    background: rgba(255, 255, 255, 0.94);
    backdrop-filter: blur(15px);

    border-bottom: 1px solid rgba(0, 0, 0, 0.05);

    z-index: 1000;
}


.logo {
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo > span {
    width: 45px;
    height: 45px;

    display: grid;
    place-items: center;

    background: var(--dark);
    color: white;

    border-radius: 50%;

    font-family: "Playfair Display", serif;
    font-weight: 700;
}

.logo div {
    display: flex;
    flex-direction: column;
}

.logo strong {
    font-family: "Playfair Display", serif;
    font-size: 18px;
}

.logo small {
    font-size: 10px;
    color: var(--gold);
    letter-spacing: 1px;
    text-transform: uppercase;
}


.navbar {
    display: flex;
    align-items: center;
    gap: 30px;
}

.navbar a {
    position: relative;

    font-size: 14px;
    font-weight: 600;

    color: #59636d;

    transition: 0.3s;
}

.navbar a:hover,
.navbar a.active {
    color: var(--gold);
}

.navbar a::after {
    content: "";

    position: absolute;

    width: 0;
    height: 2px;

    left: 50%;
    bottom: -8px;

    background: var(--gold);

    transform: translateX(-50%);

    transition: 0.3s;
}

.navbar a:hover::after,
.navbar a.active::after {
    width: 20px;
}


.menu-btn {
    display: none;

    font-size: 25px;

    cursor: pointer;

    color: var(--dark);
}


/* =========================
   HERO
========================= */

.hero {
    min-height: 100vh;

    padding: 160px 7% 100px;

    background:
        radial-gradient(
            circle at 85% 20%,
            rgba(181, 139, 69, 0.15),
            transparent 30%
        ),
        var(--cream);

    overflow: hidden;
}

.hero-content {
    max-width: 1250px;
    margin: auto;

    min-height: 650px;

    display: grid;
    grid-template-columns: 1.05fr 0.95fr;

    align-items: center;

    gap: 70px;
}


.tag {
    display: inline-flex;
    align-items: center;
    gap: 10px;

    color: var(--gold);

    font-size: 12px;
    font-weight: 700;

    letter-spacing: 2px;

    margin-bottom: 20px;
}

.tag i {
    font-size: 14px;
}


.hero h1 {
    max-width: 700px;

    font-family: "Playfair Display", serif;

    font-size: clamp(48px, 6vw, 82px);

    line-height: 1.08;

    color: var(--dark);

    margin-bottom: 25px;
}

.hero h1 span {
    display: block;
    color: var(--gold);
}


.hero-text > p {
    max-width: 620px;

    color: var(--text);

    font-size: 17px;

    margin-bottom: 35px;
}


.hero-buttons {
    display: flex;
    gap: 15px;

    flex-wrap: wrap;
}


.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    gap: 10px;

    padding: 14px 25px;

    border-radius: 4px;

    font-size: 14px;
    font-weight: 700;

    transition: 0.3s;
}

.primary-btn {
    background: var(--dark);
    color: white;
}

.primary-btn:hover {
    background: var(--gold);
    transform: translateY(-3px);
}

.outline-btn {
    border: 1px solid var(--dark);
    color: var(--dark);
}

.outline-btn:hover {
    background: var(--dark);
    color: white;
}


.hero-stats {
    display: flex;

    gap: 45px;

    margin-top: 55px;
}

.hero-stats div {
    display: flex;
    flex-direction: column;
}

.hero-stats strong {
    font-family: "Playfair Display", serif;

    font-size: 30px;

    color: var(--dark);
}

.hero-stats span {
    font-size: 12px;
    color: var(--text);
}


.hero-image {
    position: relative;

    max-width: 480px;

    margin-left: auto;
}

.hero-image img {
    position: relative;

    height: 590px;

    object-fit: cover;

    border-radius: 240px 240px 10px 10px;

    z-index: 2;
}


.image-decoration {
    position: absolute;

    width: 100%;
    height: 100%;

    top: 25px;
    left: 25px;

    border: 2px solid var(--gold);

    border-radius: 240px 240px 10px 10px;
}


.image-card {
    position: absolute;

    bottom: 30px;
    left: -45px;

    z-index: 5;

    background: white;

    padding: 18px 22px;

    display: flex;
    align-items: center;

    gap: 14px;

    box-shadow: 0 15px 50px rgba(0,0,0,0.12);

    border-left: 4px solid var(--gold);
}

.image-card > i {
    font-size: 25px;
    color: var(--gold);
}

.image-card div {
    display: flex;
    flex-direction: column;
}

.image-card strong {
    color: var(--dark);
}

.image-card span {
    font-size: 11px;
    color: var(--text);
}


/* =========================
   COMMON SECTION
========================= */

.section {
    padding: 110px 7%;
}

.section-heading {
    max-width: 700px;
    margin: 0 auto 70px;

    text-align: center;
}

.section-heading > span,
.small-title {
    color: var(--gold);

    font-size: 12px;
    font-weight: 700;

    letter-spacing: 2px;
}

.section-heading h2 {
    margin-top: 12px;

    font-family: "Playfair Display", serif;

    font-size: clamp(36px, 5vw, 54px);

    line-height: 1.2;

    color: var(--dark);
}

.section-heading h2 strong {
    color: var(--gold);
}

.section-heading p {
    margin-top: 18px;
    color: var(--text);
}


/* =========================
   ABOUT
========================= */

.about {
    background: white;
}

.about-container {
    max-width: 1150px;
    margin: auto;

    display: grid;
    grid-template-columns: 0.8fr 1.2fr;

    gap: 80px;

    align-items: center;
}


.about-image {
    position: relative;
}

.about-image::before {
    content: "";

    position: absolute;

    width: 100%;
    height: 100%;

    top: 20px;
    left: -20px;

    border: 1px solid var(--gold);

    z-index: 0;
}

.about-image img {
    position: relative;

    height: 500px;

    object-fit: cover;

    z-index: 2;
}


.about-content h3 {
    margin-top: 15px;

    font-family: "Playfair Display", serif;

    font-size: 42px;

    color: var(--dark);
}

.about-content h4 {
    color: var(--gold);

    margin-bottom: 20px;
}

.about-content p {
    color: var(--text);

    margin-bottom: 15px;
}


.personal-info {
    margin-top: 30px;

    display: grid;
    grid-template-columns: 1fr 1fr;

    gap: 20px;
}

.personal-info div {
    padding-bottom: 15px;

    border-bottom: 1px solid var(--border);
}

.personal-info span {
    display: block;

    font-size: 11px;

    color: var(--gold);

    text-transform: uppercase;

    letter-spacing: 1px;
}

.personal-info strong {
    color: var(--dark);
}


/* =========================
   MESSAGE
========================= */

.message {
    background: var(--dark);
    color: white;
}

.message-container {
    max-width: 1000px;
    margin: auto;

    display: grid;
    grid-template-columns: 100px 1fr;

    gap: 50px;

    align-items: start;
}

.quote-icon {
    width: 75px;
    height: 75px;

    display: grid;
    place-items: center;

    border: 1px solid rgba(255,255,255,0.25);

    color: var(--light-gold);

    font-size: 25px;
}

.message .small-title {
    color: var(--light-gold);
}

.message h2 {
    margin: 20px 0;

    font-family: "Playfair Display", serif;

    font-size: clamp(32px, 5vw, 52px);

    line-height: 1.25;
}

.message h2 span {
    color: var(--light-gold);
}

.message p {
    color: rgba(255,255,255,0.7);

    max-width: 750px;
}

.signature {
    margin-top: 35px;

    font-family: "Playfair Display", serif;

    font-size: 24px;

    color: var(--light-gold);
}

.designation {
    font-size: 12px;
    color: rgba(255,255,255,0.6);
}


/* =========================
   TIMELINE
========================= */

.journey {
    background: var(--cream);
}

.timeline {
    max-width: 1000px;
    margin: auto;

    position: relative;
}

.timeline::before {
    content: "";

    position: absolute;

    top: 0;
    bottom: 0;

    left: 50%;

    width: 1px;

    background: var(--border);

    transform: translateX(-50%);
}


.timeline-item {
    position: relative;

    width: 50%;

    padding: 0 60px 70px;
}

.timeline-item:nth-child(odd) {
    text-align: right;
}

.timeline-item:nth-child(even) {
    margin-left: 50%;
}


.timeline-year {
    font-family: "Playfair Display", serif;

    font-size: 40px;

    color: var(--gold);
}


.timeline-dot {
    position: absolute;

    width: 13px;
    height: 13px;

    border-radius: 50%;

    background: var(--gold);

    top: 13px;
}

.timeline-item:nth-child(odd) .timeline-dot {
    right: -6px;
}

.timeline-item:nth-child(even) .timeline-dot {
    left: -6px;
}


.timeline-content span {
    font-size: 10px;

    color: var(--gold);

    letter-spacing: 2px;

    font-weight: 700;
}

.timeline-content h3 {
    margin: 8px 0;

    font-family: "Playfair Display", serif;

    font-size: 27px;

    color: var(--dark);
}

.timeline-content p {
    color: var(--text);

    font-size: 14px;
}


/* =========================
   EXPERTISE
========================= */

.expertise {
    background: white;
}

.expertise-grid {
    max-width: 1150px;
    margin: auto;

    display: grid;

    grid-template-columns: repeat(3, 1fr);

    gap: 20px;
}


.expertise-card {
    padding: 35px;

    border: 1px solid var(--border);

    transition: 0.4s;

    background: white;
}

.expertise-card:hover {
    transform: translateY(-8px);

    border-color: var(--gold);

    box-shadow: 0 20px 50px rgba(0,0,0,0.08);
}


.icon {
    width: 55px;
    height: 55px;

    display: grid;
    place-items: center;

    background: #f5efe4;

    color: var(--gold);

    margin-bottom: 25px;

    font-size: 20px;
}

.expertise-card h3 {
    font-family: "Playfair Display", serif;

    font-size: 23px;

    color: var(--dark);

    margin-bottom: 12px;
}

.expertise-card p {
    font-size: 14px;

    color: var(--text);
}


/* =========================
   ACHIEVEMENTS
========================= */

.achievements {
    background: var(--cream);
}

.achievement-grid {
    max-width: 1050px;
    margin: auto;

    display: grid;

    grid-template-columns: repeat(3, 1fr);

    gap: 25px;
}

.achievement-card {
    text-align: center;

    background: white;

    padding: 45px 30px;

    border-top: 3px solid var(--gold);

    transition: 0.3s;
}

.achievement-card:hover {
    transform: translateY(-7px);

    box-shadow: 0 20px 50px rgba(0,0,0,0.08);
}

.achievement-card > i {
    font-size: 35px;

    color: var(--gold);

    margin-bottom: 20px;
}

.achievement-card h3 {
    font-family: "Playfair Display", serif;

    font-size: 23px;

    color: var(--dark);
}

.achievement-card span {
    color: var(--gold);

    font-size: 12px;
}

.achievement-card p {
    margin-top: 15px;

    font-size: 14px;

    color: var(--text);
}


/* =========================
   VISION
========================= */

.vision {
    background: white;
}

.vision-container {
    max-width: 1100px;
    margin: auto;

    display: grid;

    grid-template-columns: 1fr 1fr;
}

.vision-card {
    padding: 60px;

    background: #f7f4ed;
}

.vision-card.dark {
    background: var(--dark);

    color: white;
}

.vision-icon {
    font-size: 30px;

    color: var(--gold);

    margin-bottom: 25px;
}

.vision-card > span {
    color: var(--gold);

    font-size: 11px;

    font-weight: 700;

    letter-spacing: 2px;
}

.vision-card h2 {
    margin: 15px 0;

    font-family: "Playfair Display", serif;

    font-size: 35px;

    line-height: 1.25;
}

.vision-card h2 strong {
    display: block;

    color: var(--gold);
}

.vision-card p {
    color: var(--text);
}

.vision-card.dark p {
    color: rgba(255,255,255,0.65);
}


/* =========================
   GALLERY
========================= */

.gallery {
    background: var(--cream);
}

.gallery-grid {
    max-width: 1100px;
    margin: auto;

    display: grid;

    grid-template-columns: repeat(4, 1fr);

    gap: 15px;
}

.gallery-item {
    height: 280px;

    overflow: hidden;
}

.gallery-item img {
    height: 100%;

    object-fit: cover;

    transition: 0.5s;
}

.gallery-item:hover img {
    transform: scale(1.08);
}


/* =========================
   CONTACT
========================= */

.contact {
    background: white;
}

.contact-container {
    max-width: 1100px;
    margin: auto;

    display: grid;

    grid-template-columns: 0.8fr 1.2fr;

    gap: 70px;
}

.contact-info {
    display: flex;

    flex-direction: column;

    gap: 25px;
}

.contact-item {
    display: flex;

    gap: 18px;

    align-items: center;
}

.contact-icon {
    width: 55px;
    height: 55px;

    display: grid;
    place-items: center;

    background: #f5efe4;

    color: var(--gold);

    flex-shrink: 0;
}

.contact-item div:last-child {
    display: flex;

    flex-direction: column;
}

.contact-item span {
    color: var(--gold);

    font-size: 11px;

    text-transform: uppercase;

    letter-spacing: 1px;
}

.contact-item strong {
    color: var(--dark);

    font-size: 14px;
}


.contact-form {
    display: flex;

    flex-direction: column;

    gap: 15px;
}

.input-row {
    display: grid;

    grid-template-columns: 1fr 1fr;

    gap: 15px;
}

.contact-form input,
.contact-form textarea {
    width: 100%;

    border: 1px solid var(--border);

    background: #faf9f6;

    padding: 15px;

    outline: none;

    font-family: inherit;

    resize: vertical;
}

.contact-form input:focus,
.contact-form textarea:focus {
    border-color: var(--gold);
}

.contact-form button {
    border: none;

    cursor: pointer;

    width: fit-content;
}

#formMessage {
    font-size: 13px;

    color: var(--gold);
}


/* =========================
   FOOTER
========================= */

.footer {
    background: var(--dark);

    color: white;

    padding: 50px 7% 25px;
}

.footer-content {
    max-width: 1150px;

    margin: auto;

    display: flex;

    justify-content: space-between;

    align-items: center;
}

.footer-logo {
    font-family: "Playfair Display", serif;

    font-size: 23px;

    color: white;
}

.footer-content p {
    color: rgba(255,255,255,0.5);

    font-size: 13px;
}

.social-links {
    display: flex;

    gap: 10px;
}

.social-links a {
    width: 40px;
    height: 40px;

    display: grid;
    place-items: center;

    border: 1px solid rgba(255,255,255,0.15);

    transition: 0.3s;
}

.social-links a:hover {
    background: var(--gold);

    border-color: var(--gold);
}

.copyright {
    max-width: 1150px;

    margin: 40px auto 0;

    padding-top: 20px;

    border-top: 1px solid rgba(255,255,255,0.1);

    color: rgba(255,255,255,0.4);

    font-size: 12px;
}


/* =========================
   BACK TOP
========================= */

.back-top {
    position: fixed;

    right: 25px;
    bottom: 25px;

    width: 45px;
    height: 45px;

    display: grid;
    place-items: center;

    background: var(--gold);

    color: white;

    opacity: 0;
    visibility: hidden;

    transition: 0.3s;

    z-index: 900;
}

.back-top.show {
    opacity: 1;
    visibility: visible;
}


/* =========================
   RESPONSIVE
========================= */

@media (max-width: 1000px) {

    .navbar {
        gap: 18px;
    }

    .hero-content {
        gap: 40px;
    }

    .hero-image img {
        height: 500px;
    }

    .expertise-grid {
        grid-template-columns: 1fr 1fr;
    }

    .gallery-grid {
        grid-template-columns: 1fr 1fr;
    }
}


@media (max-width: 800px) {

    .header {
        padding: 0 5%;
    }

    .menu-btn {
        display: block;
    }

    .navbar {
        position: absolute;

        top: 82px;
        left: 0;

        width: 100%;

        background: white;

        display: flex;
        flex-direction: column;

        padding: 25px;

        gap: 22px;

        transform: translateY(-150%);

        transition: 0.4s;

        box-shadow: 0 15px 30px rgba(0,0,0,0.08);
    }

    .navbar.active {
        transform: translateY(0);
    }


    .hero {
        padding-left: 5%;
        padding-right: 5%;
    }

    .hero-content {
        grid-template-columns: 1fr;

        text-align: center;
    }

    .hero-text > p {
        margin-left: auto;
        margin-right: auto;
    }

    .hero-buttons,
    .hero-stats {
        justify-content: center;
    }

    .hero-image {
        margin: 40px auto 0;
    }


    .about-container,
    .contact-container {
        grid-template-columns: 1fr;

        gap: 50px;
    }

    .about-image {
        max-width: 500px;

        margin: auto;
    }


    .message-container {
        grid-template-columns: 1fr;

        gap: 20px;
    }


    .timeline::before {
        left: 10px;
    }

    .timeline-item,
    .timeline-item:nth-child(even) {
        width: 100%;

        margin-left: 0;

        padding-left: 45px;

        text-align: left;
    }

    .timeline-item:nth-child(odd) .timeline-dot,
    .timeline-item:nth-child(even) .timeline-dot {
        left: 4px;
        right: auto;
    }


    .vision-container {
        grid-template-columns: 1fr;
    }

}


@media (max-width: 600px) {

    .section {
        padding: 80px 5%;
    }

    .hero h1 {
        font-size: 48px;
    }

    .hero-image img {
        height: 450px;
    }

    .image-card {
        left: 10px;
        bottom: 20px;
    }

    .hero-stats {
        gap: 20px;
    }

    .hero-stats strong {
        font-size: 25px;
    }

    .hero-stats span {
        font-size: 10px;
    }

    .personal-info {
        grid-template-columns: 1fr;
    }

    .expertise-grid,
    .achievement-grid,
    .gallery-grid {
        grid-template-columns: 1fr;
    }

    .gallery-item {
        height: 300px;
    }

    .vision-card {
        padding: 40px 25px;
    }

    .input-row {
        grid-template-columns: 1fr;
    }

    .footer-content {
        flex-direction: column;

        gap: 25px;

        text-align: center;
    }

}