/*================ HEADER ================*/

.header{

    position:relative;

    top:0;
    left:0;

    width:100%;

    z-index:999;

    transition:.35s;

    padding:18px 0;

    background:transparent;

}

.header.scrolled{

    background:rgba(255,255,255,.82);

    backdrop-filter:blur(18px);

    box-shadow:0 10px 30px rgba(0,0,0,.08);

}

[data-theme="dark"] .header.scrolled{

    background:rgba(20,20,20,.82);

}

/*======================================================
                ABOUT.CSS
        About Page Specific Styles
======================================================*/

:root {
    --primary: #775144;
    --primary-dark: #2A0800;
    --secondary: #C09891;
    --bg-color: #F7F3F0;
    --surface-color: #EFE3DD;
    --card-bg: #FFFFFF;
    --heading: #2A0800;
    --text-color: #3B2924;
    --text-light: #775144;
}

[data-theme="dark"] {
    --primary: #C09891;
    --primary-dark: #E2B9AF;
    --secondary: #775144;
    --bg-color: #121212;
    --surface-color: #1E1E1E;
    --card-bg: #272727;
    --heading: #F5F5F5;
    --text-color: #ECECEC;
    --text-light: #BDBDBD;
}

/*================ RESET OVERRIDES ================*/

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: var(--bg-color);
    color: var(--text-color);
    overflow-x: hidden;
    transition: .35s;
}

img {
    width: 100%;
    display: block;
}

a {
    text-decoration: none;
    color: inherit;
}

button {
    border: none;
    outline: none;
    background: none;
    cursor: pointer;
}

ul {
    list-style: none;
}

.container {
    width: min(1320px, 92%);
    margin: auto;
}

.section {
    padding: 110px 0;
}

.section-title {
    text-align: center;
    margin-bottom: 70px;
}

.section-title span {
    display: inline-block;
    color: var(--primary);
    letter-spacing: 2px;
    text-transform: uppercase;
    font-size: .85rem;
    margin-bottom: 12px;
}

.section-title h2 {
    font-size: clamp(2rem, 4vw, 3rem);
    margin-bottom: 16px;
    color: var(--heading);
}

.section-title p {
    color: var(--text-light);
    max-width: 650px;
    margin: auto;
    line-height: 1.9;
}

.section-tag {
    display: inline-block;
    color: var(--primary);
    letter-spacing: 2px;
    text-transform: uppercase;
    font-size: .85rem;
    margin-bottom: 12px;
}

/*================ ABOUT HERO ================*/

.about-hero {
    background: linear-gradient(135deg, #2A0800 0%, #775144 100%);
    padding: 140px 0 90px;
    color: #fff;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.about-hero::before {
    content: '';
    position: absolute;
    width: 500px;
    height: 500px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.05);
    top: -250px;
    right: -100px;
}

.about-hero::after {
    content: '';
    position: absolute;
    width: 300px;
    height: 300px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.04);
    bottom: -150px;
    left: -100px;
}

.about-hero-content {
    position: relative;
    z-index: 2;
}

.about-hero-tag {
    display: inline-block;
    color: var(--secondary);
    letter-spacing: 3px;
    text-transform: uppercase;
    font-size: .9rem;
    margin-bottom: 20px;
    border: 1px solid rgba(255, 255, 255, 0.15);
    padding: 8px 24px;
    border-radius: 999px;
}

.about-hero h1 {
    font-size: clamp(2.8rem, 5vw, 4.5rem);
    line-height: 1.1;
    margin-bottom: 20px;
}

.about-hero p {
    font-size: 1.1rem;
    max-width: 600px;
    margin: auto;
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.8;
}

/*================ OUR STORY ================*/

.our-story {
    background: var(--bg-color);
}

.story-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 70px;
    align-items: center;
}

.story-image {
    position: relative;
    border-radius: 28px;
    overflow: hidden;
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.12);
}

.story-image img {
    transition: .5s;
    width: 100%;
    height: 100%;
    object-fit: cover;
    min-height: 400px;
}

.story-image:hover img {
    transform: scale(1.05);
}

.story-experience {
    position: absolute;
    bottom: 30px;
    right: 30px;
    background: var(--primary);
    color: #fff;
    padding: 20px 30px;
    border-radius: 18px;
    text-align: center;
}

.story-experience .exp-number {
    display: block;
    font-size: 2.2rem;
    font-weight: 700;
    line-height: 1;
}

.story-experience .exp-label {
    font-size: .85rem;
    opacity: .9;
}

.story-content h2 {
    font-size: clamp(2rem, 3.5vw, 3rem);
    color: var(--heading);
    margin-bottom: 20px;
}

.story-content p {
    color: var(--text-light);
    line-height: 2;
    margin-bottom: 18px;
}

.story-stats {
    display: flex;
    gap: 40px;
    margin: 30px 0 35px;
}

.stat-item {
    text-align: center;
}

.stat-item strong {
    display: block;
    font-size: 2rem;
    color: var(--primary);
}

.stat-item span {
    font-size: .85rem;
    color: var(--text-light);
}

.story-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 15px 34px;
    border-radius: 999px;
    background: var(--primary);
    color: #fff;
    font-weight: 600;
    transition: .35s;
}

.story-btn:hover {
    transform: translateY(-4px);
    background: var(--primary-dark);
    box-shadow: 0 18px 40px rgba(0, 0, 0, .18);
}

/*================ OUR VALUES ================*/

.our-values {
    background: var(--surface-color);
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.value-card {
    background: var(--card-bg);
    border-radius: 24px;
    padding: 40px 28px;
    text-align: center;
    transition: .35s;
    box-shadow: 0 12px 30px rgba(0, 0, 0, .06);
}

.value-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 25px 60px rgba(0, 0, 0, .12);
}

.value-icon {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    margin: auto;
    margin-bottom: 25px;
    background: rgba(192, 152, 145, .12);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    font-size: 2rem;
    transition: .35s;
}

.value-card:hover .value-icon {
    background: var(--primary);
    color: #fff;
    transform: rotate(8deg) scale(1.08);
}

.value-card h3 {
    font-size: 1.3rem;
    margin-bottom: 14px;
    color: var(--heading);
}

.value-card p {
    line-height: 1.9;
    color: var(--text-light);
}

/*================ OUR TEAM ================*/

.our-team {
    background: var(--bg-color);
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 35px;
}

.team-card {
    background: var(--card-bg);
    border-radius: 24px;
    overflow: hidden;
    text-align: center;
    padding-bottom: 30px;
    transition: .35s;
    box-shadow: 0 12px 30px rgba(0, 0, 0, .06);
}

.team-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 25px 60px rgba(0, 0, 0, .12);
}

.team-image {
    width: 100%;
    height: 280px;
    overflow: hidden;
}

.team-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: .5s;
}

.team-card:hover .team-image img {
    transform: scale(1.08);
}

.team-card h4 {
    font-size: 1.3rem;
    color: var(--heading);
    margin: 20px 0 6px;
}

.team-card span {
    color: var(--primary);
    font-size: .9rem;
    font-weight: 600;
    display: block;
    margin-bottom: 10px;
}

.team-card p {
    color: var(--text-light);
    font-size: .9rem;
    padding: 0 20px;
    line-height: 1.6;
}

.team-social {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-top: 18px;
}

.team-social a {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(192, 152, 145, .12);
    color: var(--primary);
    transition: .35s;
}

.team-social a:hover {
    background: var(--primary);
    color: #fff;
    transform: translateY(-4px);
}

/*================ NEWSLETTER ================*/

.newsletter {
    padding: 120px 0;
}

.newsletter-box {
    background: var(--card-bg);
    border-radius: 35px;
    padding: 70px;
    text-align: center;
    box-shadow: 0 15px 45px rgba(0, 0, 0, .08);
}

.newsletter-box span {
    color: var(--primary);
    letter-spacing: 2px;
    text-transform: uppercase;
    font-size: .85rem;
}

.newsletter-box h2 {
    margin: 18px 0;
    font-size: 2.8rem;
    color: var(--heading);
}

.newsletter-box p {
    max-width: 650px;
    margin: auto;
    margin-bottom: 35px;
    color: var(--text-light);
    line-height: 2;
}

.newsletter-form {
    display: flex;
    justify-content: center;
    gap: 18px;
    flex-wrap: wrap;
}

.newsletter-form input {
    width: 450px;
    max-width: 100%;
    padding: 18px 25px;
    border: none;
    border-radius: 999px;
    background: var(--surface-color);
    color: var(--heading);
    outline: none;
    font-size: 1rem;
}

.newsletter-form input:focus {
    box-shadow: 0 0 0 3px rgba(192, 152, 145, .25);
}

.newsletter-form button {
    padding: 18px 36px;
    border: none;
    border-radius: 999px;
    background: var(--primary);
    color: #fff;
    font-weight: 600;
    cursor: pointer;
    transition: .35s;
}

.newsletter-form button:hover {
    background: var(--primary-dark);
    transform: translateY(-3px);
}

/*================ FOOTER ================*/

.footer {
    background: #1b120f;
    color: #f4f4f4;
    padding: 90px 0 30px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 50px;
    margin-bottom: 60px;
}

.footer-about img {
    width: 70px;
    margin-bottom: 20px;
}

.footer-about h3 {
    margin-bottom: 15px;
    font-size: 1.6rem;
}

.footer-about p {
    color: #cfcfcf;
    line-height: 2;
}

.footer-links h4,
.footer-contact h4 {
    margin-bottom: 20px;
    font-size: 1.2rem;
    color: #fff;
}

.footer-links ul {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.footer-links a {
    color: #cfcfcf;
    transition: .3s;
}

.footer-links a:hover {
    color: var(--secondary);
    padding-right: 8px;
}

.footer-contact p {
    color: #cfcfcf;
    margin-bottom: 12px;
}

.socials {
    display: flex;
    gap: 15px;
    margin-top: 25px;
}

.socials a {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, .08);
    color: #fff;
    transition: .35s;
}

.socials a:hover {
    background: var(--primary);
    transform: translateY(-5px);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, .08);
    padding-top: 25px;
    text-align: center;
    color: #aaa;
    font-size: .9rem;
}

/*================ RESPONSIVE ================*/

@media (max-width: 991px) {

    .section {
        padding: 80px 0;
    }

    .story-grid {
        grid-template-columns: 1fr;
        gap: 50px;
    }

    .story-image img {
        min-height: 300px;
    }

    .values-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 25px;
    }

    .team-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 25px;
    }

    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 40px;
    }

}

@media (max-width: 768px) {

    .section {
        padding: 60px 0;
    }

    .section-title {
        margin-bottom: 45px;
    }

    .about-hero {
        padding: 100px 0 60px;
    }

    .about-hero h1 {
        font-size: 2.5rem;
    }

    .story-grid {
        gap: 30px;
    }

    .story-image img {
        min-height: 250px;
    }

    .story-experience {
        bottom: 15px;
        right: 15px;
        padding: 15px 20px;
    }

    .story-experience .exp-number {
        font-size: 1.6rem;
    }

    .story-stats {
        flex-direction: column;
        gap: 20px;
        align-items: center;
    }

    .values-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .team-grid {
        grid-template-columns: 1fr;
        gap: 25px;
    }

    .team-image {
        height: 220px;
    }

    .newsletter-box {
        padding: 40px 20px;
    }

    .newsletter-box h2 {
        font-size: 2rem;
    }

    .newsletter-form {
        flex-direction: column;
        gap: 12px;
    }

    .newsletter-form input,
    .newsletter-form button {
        width: 100%;
    }

    .footer {
        padding: 60px 0 25px;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 30px;
    }

    .socials {
        justify-content: center;
    }

}