@import url(fontawesome-all.min.css);
@import url("https://fonts.googleapis.com/css?family=Raleway:200,700|Source+Sans+Pro:300,600,300italic,600italic");
@import url('https://fonts.googleapis.com/css2?family=Noto+Serif+TC:wght@200..900&display=swap');

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

:root {
    --navbar-height-px: 88px;
    --primary-color: white;
    --secondary-color: #aa9272;
    --accent-gold: #9a8a78;
    --text-dark: #333;
    --text-light: #666;
    --dark: #414141;
    --white: #ffffff;
    --transition: all 0.2s ease;
    --font-yeseva-one: 'Yeseva One', display;
    --font-noto-self: 'Noto Serif TC', display;
    --font-roboto:  "Roboto", sans-serif;
}

h1, h2, h3, h4, h5, h6, 
a,
.section-title,
.hero-title,
.hero-subtitle,
.service-title,
.project-name,
.about-subtitle,
.team-title,
.promise-title,
.partners-title {
    font-family: var(--font-yeseva-one);
}

p {
    font-family: var(--font-noto-self);
}

html {
    font-size: 100%;
    scroll-behavior: smooth;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    background-color: var(--accent-gold);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

/* Navigation */
.navbar {
    background-color: var(--dark);
    box-shadow: 0 0.125em 0.5em rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
    padding: 1em 0;
    padding: 0.5em 0;
    height: clamp(5em, 8vw, 6em);
    display: flex;
    align-items: center;
    justify-content: flex-start;
}

.nav-container {
    max-width: 75em;
    margin: 0;
    /*padding: 0 5%;*/
    padding-left: 0;
    display: flex;
    justify-content: flex-end;
    align-items: center;
    flex: 1;
    min-width: 0;
    margin-left: auto
}

.logo {
    margin-left: 1%;
    display: flex;
    align-items: center;
}

.logo img {
    height: clamp(4em, 8vw, 8em);
    width: auto;
    background-color: transparent;
}

.nav-menu {
    display: flex;
    list-style: none;
    min-width: 0;
    margin-right: 0.5em;
}

.nav-menu a {
    color: var(--primary-color);
    font-weight: 500;
    padding: 0.5em 0.7em;
    font-size: clamp(0.8em, 2vw, 1.5em);
}

.nav-menu li {
    position: relative; /* vertical separators */
    align-items: stretch;
}

.nav-menu li a {
    display: flex;
    align-items: center;
    justify-content: center;
}

.nav-menu a:hover,
.nav-menu a.active {
    color: var(--dark);
    background-color: var(--accent-gold);
}

.nav-menu .nav-lang-item {
    display: none;
}

.nav-contact {
    margin-right: 0.5em;
}

.contact-icons,
.lang .lang-toggle {
    font-size: clamp(0.7rem, 1.4vw, 1rem);
    line-height: 1;
    padding: 0.8em 1em;
    border: 1px solid var(--primary-color);
    color: var(--primary-color);
    background: transparent;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    white-space: nowrap;
    cursor: pointer;
    box-sizing: border-box;
    font-family: inherit;
    font-weight: 500;
}

.lang .lang-toggle {
    margin-right: clamp(1em, 5vw, 2em);
}

.contact-icons {
    border: none;
}

.contact-icons .email-icon {
    display: inline-flex;
}

.contact-icons .phone-icon {
    display: none;
}

.contact-icons a i {
    font-size: 2em;
}

.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5em;
}

.mobile-menu-toggle span {
    width: 1.5em;
    height: 0.1875em;
    background-color: var(--primary-color);
    margin: 0.25em 0;
    transition: var(--transition);
}

.nav-menu li:not(:last-child):not(:nth-last-child(2))::after { /* vertical separators */
    content: "";
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 2px;
    height: 100%;
    background-color: var(--primary-color);
}

/* Hero Section */
.hero {
    background: url("../img/hero_image02_darkened.jpg") no-repeat center center fixed;
    -webkit-background-size: cover;
    -moz-background-size: cover;
    -o-background-size: cover;
    background-size: cover;
    color: var(--white);
    padding: 8em 3%;
    text-align: center;
    min-height: 70vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-content {
    max-width: 80em;
}

/* .hero-title {
    font-size: 6em;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 0.5em;
} */

@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:wght@400;600&family=Montserrat:wght@300;500&display=swap');

.hero-title {
    font-family: 'Cormorant Garamond', serif;
    font-size: 4em;
    font-weight: 400;
    line-height: 1.2;
    margin-bottom: 0.2em;
}

.hero-title-secondary {
    font-family: 'Cormorant Garamond', serif;
    font-size: 4em;
    font-weight: 400;
    line-height: 1.2;
    color: white;
}

.hero-tagline {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.5em;
    font-weight: 300;
    letter-spacing: 0.05em;
    margin-top: 3em;
}

.hero-title {
    text-shadow: 3px 3px 20px white;
}
.hero-title-secondary {
    text-shadow: 3px 3px 20px white;
}

/* Section Styles */
section {
    padding: 3em 5%;
}

.section-title {
    font-size: 2.5em;
    color: var(--primary-color);
    text-align: center;
    margin-bottom: .5em;
}

.section-description {
    text-align: center;
    font-size: 1.125em;
    color: var(--primary-color);
    max-width: 50em;
    margin: 0 auto 3em;
}

/* Project Gallery */
.project-gallery {
    background-color: var(--dark);
    min-height: calc(100vh - var(--navbar-height));
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.gallery-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5em;
    max-width: 75em;
    margin: 0 auto;
}

.gallery-item {
    flex: 1 1 calc(33.333% - 1em);
    min-width: 15em;
    overflow: hidden;
    border-radius: 0.5em;
    box-shadow: 0 0.25em 1em rgba(0, 0, 0, 0.1);
    transition: var(--transition);
}

.gallery-item:nth-child(1),
.gallery-item:nth-child(2),
.gallery-item:nth-child(3) {
    aspect-ratio: 4/3;  /* First row - normal height */
}

.gallery-item:nth-child(4),
.gallery-item:nth-child(5) {
    aspect-ratio: 4/3;  /* Second row - shorter */
}

.gallery-item:hover {
    transform: translateY(-0.5em);
    box-shadow: 0 0.5em 1.5em rgba(0, 0, 0, 0.15);
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    background-color: #ddd;
}

/* Services Section */
/* Services Section */
.services {
    background-color: var(--accent-gold);
    width: 100%;
    margin: 0;
    padding: 3em 5%;
    min-height: calc(100vh - var(--navbar-height-px));
    display: flex;
    align-items: center;
}

.services-container {
    max-width: 75em;
    margin: 0 auto;
    width: 100%;
}

.services .section-description {
    text-align: center;
    font-size: 1.125em;
    color: var(--white);
    max-width: 50em;
    margin: 0 auto 3em;
}

.services-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 3em 2em;
    margin-top: 3em;
    justify-content: center;
}

.service-card {
    flex: 1 1 calc(33.333% - 1.5em);
    min-width: 15em;
    max-width: 20em;
    padding: 0;
    background-color: transparent;
    border-radius: 0;
    box-shadow: none;
    text-align: center;
    transition: var(--transition);
}

@media (min-width: 48em) {
    .service-card:hover {
        transform: translateY(-0.3em);
    box-shadow: none;
    }
}

.service-icon {
    width: 10em;
    height: 10em;
    margin: 0 auto 1.5em;
    border-radius: 50%;
    overflow: hidden;
    background-color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.4s ease;
}

@media (min-width: 48em) {
    .service-card:hover .service-icon {
        transform: scale(1.05);
    }
}

.service-icon img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.service-title {
    font-size: 1.25em;
    color: var(--white);
    margin-bottom: 1em;
    font-weight: 600;
}

.service-description {
    color: var(--white);
    line-height: 1.7;
    font-size: 0.9375em;
}

/* Services Contact Button */
.services-contact-button {
    display: inline-block;
    margin-top: 3em;
    padding: 1em 3em;
    border: 0.125em solid var(--white);
    color: var(--white);
    background-color: transparent;
    font-size: 1em;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    border-radius: 0.25em;
    transition: all 0.3s ease;
    text-align: center;
}

.services-contact-button:hover {
    background-color: var(--white);
    color: #9A8A78;
}

/* About Section */
.about {
    background-color: transparent;
    max-width: 100%;
    margin: 0;
    padding: 0;
    min-height: calc(100vh - var(--navbar-height-px));
    display: flex;
    flex-direction: column;
}

.about-container {
    background-color: var(--accent-gold);
    max-width: 75em;
    margin: 0 auto;
    padding: 0 5%;
}

.about-subtitle {
    font-size: 1.75em;
    color: var(--white);
    margin-bottom: 2em;
}

.about-content {
    display: flex;
    flex-wrap: nowrap;
    gap: 0;
    align-items: stretch;
    margin-bottom: 0;
    flex: 1;
}

.about-text {
    flex: 1 1 50%;
    min-width: 18.75em;
    background-color: #3a3a3a;
    color: var(--white);
    padding: 5em 8%;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.about-text h2 {
    font-size: 3em;
    color: var(--white);
    margin-bottom: 0.5em;
}

.about-text h3 {
    font-size: 1.5em;
    color: var(--white);
    margin-bottom: 2em;
    font-weight: 400;
}

.about-text p {
    margin-bottom: 1.5em;
    font-size: 1em;
    line-height: 1.8;
    color: var(--white);
}

.about-image {
    flex: 1 1 50%;
    min-width: 18.75em;
}

.about-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 0;
    box-shadow: none;
    background-color: #ddd;
}

.team-promise-wrapper {
    display: flex;
    flex-wrap: nowrap;
    gap: 0;
    flex: 1;
}

.team-section,
.promise-section {
    flex: 1 1 50%;
    margin-top: 0;
    padding: 5em 8%;
    display: flex;
    flex-direction: column;
    justify-content: flex-start; 
    min-height: 25.25em;
}

.team-section {
    background-color: #9A8A78;
    color: #3a3a3a;
}

.promise-section {
    background-color: #4a4a4a;
    color: var(--white);
}

.team-title,
.promise-title {
    font-size: 2.5em;
    margin-bottom: 1em;
    position: relative;
    padding-bottom: 0.5em;
}

.team-title {
    color: #3a3a3a;
}

.team-title::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 3em;
    height: 0.1875em;
    background-color: #3a3a3a;
}

.promise-title {
    color: var(--white);
}

.promise-title::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 3em;
    height: 0.1875em;
    background-color: var(--white);
}

.team-section p {
    font-size: 1em;
    line-height: 1.8;
    color: #3a3a3a;
    margin-bottom: 1em;
}

.promise-section p {
    font-size: 1em;
    line-height: 1.8;
    color: var(--white);
    margin-bottom: 1em;
}

/* Working With Us Section */
.working-with-us {
    max-width: 100%;
    background-color: #3a3a3a;
    color: var(--white);
    padding: 5em 18%;
}

.working-with-us .section-title {
    color: var(--white);
    text-align: left;
    font-size: 3em;
    margin-bottom: 1em;
}

.section-intro {
    text-align: left;
    font-size: 1.125em;
    color: var(--white);
    max-width: 100%;
    margin: 0 0 2em 0;
    line-height: 1.8;
}

.partners-title {
    font-size: 1.25em;
    color: var(--white);
    text-align: left;
    margin: 2em 0 1em 0;
    font-weight: 400;
}

.partners-list {
    list-style: disc;
    padding-left: 1.5em;
}

.partners-list li {
    margin-bottom: 1.5em;
    color: var(--white);
    line-height: 1.8;
}

.partners-list li::marker {
    color: var(--white);
    font-size: 1.2em;
}

.partners-list li strong {
    font-weight: 600;
    color: var(--white);
}

/* Projects Page Styles */
.projects-hero {
    background: url("../img/hero_image02_darkened.jpg") no-repeat center center fixed;
    -webkit-background-size: cover;
    -moz-background-size: cover;
    -o-background-size: cover;
    background-size: cover;
    color: var(--white);
    padding: 6em 5%;
    text-align: center;
}

.projects-hero-content h1 {
    font-size: 3em;
    margin-bottom: 0.5em;
}

.projects-hero-content h2 {
    font-size: 1.75em;
    margin-bottom: 0.5em;
    font-weight: 400;
}

.projects-hero-content p {
    font-size: 1.25em;
}

/* Project Categories */
.project-categories {
    background-color: var(--dark);
    padding: 4em 5%;
}

.categories-container {
    max-width: 75em;
    margin: 0 auto;
    display: flex;
    flex-wrap: wrap;
    gap: 2em;
}

.category-card {
    flex: 1 1 calc(25% - 1.5em);
    min-width: 17em;
    background-color: var(--text-light);
    border-radius: 0.5em;
    overflow: hidden;
    box-shadow: 0 0.25em 1em rgba(0, 0, 0, 0.1);
    transition: var(--transition);
    display: flex;
    flex-direction: column;
}

.category-card:hover {
    transform: translateY(-0.5em);
    box-shadow: 0 0.5em 1.5em rgba(0, 0, 0, 0.15);
}

.category-image {
    width: 100%;
    aspect-ratio: 4/3;
    overflow: hidden;
}

.category-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    background-color: #ddd;
}

.category-card h3 {
    padding: 1em 1em 0.5em;
    color: var(--accent-gold);
    font-size: 1.8em;
    min-height: 4.5em;  /* Fixed height to align all titles */
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;  /* Prevent shrinking */

}

.category-card p {
    padding: 0 1.5em 1.5em;
    color: var(--white);
    font-size: 0.9375em;
    line-height: 1.6;
}

/* Completed & Ongoing Projects */
.completed-projects,
.ongoing-projects {
    padding: 2.5em 8;
    max-width: 100%;
    margin: 0;
    width: 100%;
}

.ongoing-projects {
    background-color: var(--dark);
}

.projects-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 2em;
    margin-top: 3em;
}

.project-card {
    flex: 1 1 calc(33.333% - 1.5em);
    min-width: 18.75em;
    background-color: var(--text-light);
    border-radius: 0.5em;
    overflow: hidden;
    box-shadow: 0 0.25em 1em rgba(0, 0, 0, 0.1);
    /* transition: var(--transition); */
}

.project-card:hover {
    box-shadow: 0 0.5em 1.5em rgba(0, 0, 0, 0.15);
    transform: translateY(-0.3em);
}

.project-image {
    width: 100%;
    aspect-ratio: 4/3;
    overflow: hidden;
}

.project-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    background-color: #ddd;
    transition: var(--transition);
}

.project-card:hover .project-image img {
    transform: scale(1.05);
}

.project-info {
    padding: 1.5em;
}

.project-info h3 {
    font-size: 2em;
    color: var(--secondary-color);
    margin-bottom: 0.5em;
}

.project-type {
    color: var(--secondary-color);
    font-weight: 600;
    font-size: 0.9375em;
    margin-bottom: 0.5em;
}

.project-stage {
    color: var(--secondary-color);
    font-size: 0.75em;
    font-weight: 600;
    letter-spacing: 0.05em;
    margin-bottom: 1em;
    text-transform: uppercase;
}

.project-description {
    color: var(--white);
    line-height: 1.7;
    font-size: 0.9375em;
}

/* Contact Section */
.contact-section {
    background-color: var(--accent-gold);
    padding: 4em 5%;
}

.contact-container {
    max-width: 75em;
    margin: 0 auto;
    display: flex;
    flex-wrap: wrap;
    gap: 4em;
}

.contact-info {
    flex: 1 1 35%;
    min-width: 18.75em;
}

.contact-info h2 {
    font-size: 2.5em;
    color: var(--white);
    margin-bottom: 0.5em;
}

.contact-info > p {
    color: var(--dark);
    line-height: 1.8;
    margin-bottom: 2em;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 1.5em;
}

.contact-detail-item h4 {
    color: var(--white);
    font-size: 1.5em;
    margin-bottom: 0.5em;
}

.contact-detail-item p {
    color: var(--dark);
    line-height: 1.6;
}

/* .contact-detail-item a {
    color: var(--text-light);
} */

.contact-detail-item:nth-child(1) a,
.contact-detail-item:nth-child(2) a {
    /* color: var(--white); */
    font-size: 1.3em;
}

.contact-detail-item a:hover {
    color: var(--text-light);
}

.contact-form-wrapper {
    flex: 1 1 55%;
    min-width: 18.75em;
    background-color: var(--dark);
    padding: 2.5em;
    border-radius: 0.5em;
    box-shadow: 0 0.25em 1em rgba(0, 0, 0, 0.1);
}

.contact-form-wrapper h3 {
    font-size: 2.5em;
    color: var(--accent-gold);
    margin-bottom: 1em;
}

.contact-form {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5em;
}

.form-group {
    flex: 1 1 calc(50% - 0.75em);
    min-width: 15em;
    display: flex;
    flex-direction: column;
}

.form-group.full-width {
    flex: 1 1 100%;
}

.form-group label {
    color: var(--accent-gold);
    font-weight: 500;
    margin-bottom: 0.5em;
    font-size: 1.5em;
}

.form-group input,
.form-group textarea {
    padding: 0.875em;
    border: none;
    border-bottom: 0.15em solid var(--accent-gold);
    border-radius: 0;
    font-family: inherit;
    font-size: 1em;
    transition: var(--transition);
    background-color: var(--text-light);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border: 0.15em solid var(--accent-gold);;
    box-shadow: 0 0 0 0.1875em rgba(44, 95, 127, 0.1);
}

.form-group textarea {
    resize: vertical;
    min-height: 9.375em;
}

.submit-button {
    padding: 1em 2.5em;
    background-color: var(--accent-gold);
    color: var(--white);
    border: none;
    border-radius: 0.25em;
    font-size: 1.0625em;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
}

.submit-button:hover {
    background-color: #c49d2e;
    transform: translateY(-0.1875em);
    box-shadow: 0 0.25em 1em rgba(212, 175, 55, 0.3);
}

/* Footer */
.footer {
    background-color: var(--primary-color);
    color: var(--white);
    padding: 3em 5% 1em;
}

.footer-content {
    max-width: 75em;
    margin: 0 auto;
    display: flex;
    flex-wrap: wrap;
    gap: 3em;
    margin-bottom: 2em;
}

.footer-section {
    flex: 1 1 calc(33.333% - 2em);
    min-width: 15em;
}

.footer-section h4 {
    font-size: 1.25em;
    margin-bottom: 1em;
    color: var(--accent-gold);
}

.footer-section p {
    line-height: 1.8;
    margin-bottom: 0.5em;
    opacity: 0.9;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 0.5em;
}

.footer-section ul li a:hover {
    color: var(--accent-gold);
}

.footer-bottom {
    text-align: center;
    padding-top: 2em;
    border-top: 0.0625em solid rgba(255, 255, 255, 0.1);
    opacity: 0.8;
}

/* Responsive Design - Tablet */
@media (max-width: 48em) {
    .hero, .projects-hero {
        background-attachment: scroll;
        background-position: center center;
    }

    .hero-title {
        font-size: 2.5em;
    }

    .hero-subtitle {
        font-size: 1.25em;
    }

    .section-title {
        font-size: 2em;
    }

    .gallery-item {
        flex: 1 1 calc(50% - 1em);
    }

    .service-card {
        flex: 1 1 calc(50% - 1em);
    }

    .partner-card {
        flex: 1 1 calc(50% - 1em);
    }

    .category-card {
        flex: 1 1 calc(50% - 1em);
    }

    .project-card {
        flex: 1 1 calc(50% - 1em);
    }

    .about-content {
        flex-direction: column;
    }

    .contact-container {
        flex-direction: column;
    }
}

/* Responsive Design - Mobile */
@media (max-width: 37.5em) {
    html {
        font-size: 87.5%;
    }

    .mobile-menu-toggle {
        display: flex;

    }

    .nav-menu {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background-color: var(--dark);
        flex-direction: column;
        gap: 0;
        max-height: 0;
        overflow: hidden;
        transition: var(--transition);
        box-shadow: 0 0.5em 1em rgba(0, 0, 0, 0.1);
    }

    .nav-menu.active {
        max-height: 25em;
        padding: 1em 0;
    }

    .nav-menu li {
        padding: 0 5%;
    }

    .nav-menu a {
        display: block;
        padding: 0.75em 1em;
        font-size: 1.2em;
    }

    .nav-menu .nav-lang-item {
        display: flex;
        justify-content: center;
    }

    .nav-menu .nav-lang-item a {
        display: block;
        padding: 0.75em 1em;
    }

    .contact-icons {
        order: 1;
        margin-left: auto;
        display: flex;
        align-items: center;
    }

    .contact-icons .phone-icon {
        display: inline-flex;
    }

    .contact-icons .email-icon {
        display: none;
    }

    .nav-container {
        order: 2;
        display: flex;
        align-items: center;
        justify-content: flex-end;
        margin-left: 3em;
        margin-right: 1em;
        max-width: 0;
    }

    .lang {
        display: none;
    }

    .hero {
        padding: 4em 5%;
        min-height: 50vh;
    }

    .hero-title {
        font-size: 2em;
    }

    .hero-title-secondary {
        font-size: 2em;
    }

    .hero-tagline {
        font-size: 0.9em;
    }

    section {
        padding: 3em 5%;
    }

    .section-title {
        font-size: 1.75em;
    }

    .gallery-item {
        flex: 1 1 100%;
    }

    .service-card {
        flex: 1 1 100%;
    }

    .partner-card {
        flex: 1 1 100%;
    }

    .category-card {
        flex: 1 1 100%;
    }

    .project-card {
        flex: 1 1 100%;
    }

    .about-content {
        flex-direction: column;
    }

    .about-text,
    .about-image {
        flex: 1 1 100%;
        min-width: 100%;
    }

    .projects-hero-content h1 {
        font-size: 2em;
    }

    .projects-hero-content h2 {
        font-size: 1.25em;
    }

    .contact-container {
        flex-direction: column;
        gap: 2em;
    }

    .form-group {
        flex: 1 1 100%;
        min-width: 100%;
    }

    .footer-content {
        flex-direction: column;
    }

    .footer-section {
        flex: 1 1 100%;
    }

    .project-gallery,
    .services,
    .about {
        min-height: auto;
    }
    
    .about-content,
    .team-promise-wrapper {
        min-height: auto;
    }
}

/* Mobile menu toggle active state */
.mobile-menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(0.57em, 0.57em);
}

.mobile-menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(0.375em, -0.375em);
}

/* View All Button */
.view-all-container {
    text-align: center;
    margin-top: 3em;
}

.view-all-button {
    display: inline-block;
    padding: .6em 1.3em;
    background-color: var(--accent-gold);
    color: var(--white);
    font-size: 1.8em;
    font-weight: 600;
    border-radius: 0.25em;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    transition: var(--transition);
}

.view-all-button:hover {
    background-color: #B3A89A;
    transform: translateY(-0.1875em);
    box-shadow: 0 0.5em 1em rgba(26, 58, 82, 0.3);
}

.scroll-to-top {
    background-color: var(--white) !important;
    color: var(--accent-gold) !important;
}

@media (max-width: 37.5em) {
    .about-content {
        flex-direction: column;
    }
    
    .team-promise-wrapper {
        flex-direction: column;
    }
    
    .about-text,
    .about-image,
    .team-section,
    .promise-section {
        flex: 1 1 100%;
        min-width: 100%;
    }
    
    .about-text,
    .team-section,
    .promise-section {
        padding: 3em 5%;
    }
}

/* Toast Container */
#toast-container {
    position: fixed;
    top: 7em;
    right: 1.5em;
    z-index: 9999;
    display: flex;
    flex-direction: column;
    gap: 0.5em;
}

.toast {
    padding: 1em 1.25em;
    border-radius: 0.5em;
    color: #fff;
    font-size: 0.95em;
    min-width: 12em;
    max-width: 20em;
    opacity: 0;
    transform: translateX(20px);
    transition: opacity 0.3s ease, transform 0.3s ease;
    box-shadow: 0 0.75em 2em rgba(0, 0, 0, 0.2);
}

.toast.show {
    opacity: 1;
    transform: translateX(0);
}

.toast.success {
    background-color: #4CAF50;
}

.toast.error {
    background-color: #E64A3C;
}

.image-popup {
    display: none;
    position: fixed;
    z-index: 100000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    justify-content: center;
    align-items: center;
}

.image-popup img {
    /* max-width: 80%; */
    /* max-height: 80%; */
    margin: 15% auto;
    padding: 0;
    border: none;
    border-radius: 2px;
    background: none !important;
    object-fit: cover;
    cursor: pointer;
}

.popup {
    display: none;
    position: fixed;
    z-index: 10000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    background-color: rgba(0, 0, 0, 0.6);
}

.popup-content {
    background-color: #2c2a40;
    margin: 15% auto;
    padding: 20px;
    border-radius: 10px;
    width: 80%;
    max-width: 600px;
    color: #ffffff;
    position: relative;
    text-align: left;
}

.popup-content .close {
		position: absolute;
		top: 10px;
		right: 15px;
		font-size: 24px;
		cursor: pointer;
}

/* privacy policy */


.privacy-hero {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: var(--dark);
    padding: 4em 5%;
    text-align: center;
}

.privacy-hero-content h1 {
    font-size: 3em;
    margin-bottom: 0.5em;
    color: var(--accent-gold);
}

.privacy-hero-content p {
    font-size: 1.125em;
    opacity: 0.9;
}

.privacy-content {
    padding: 4em 5%;
    background-color: var(--white);
}

.privacy-container {
    max-width: 50em;
    margin: 0 auto;
}

.privacy-section {
    margin-bottom: 3em;
    padding-bottom: 2em;
    border-bottom: 0.0625em solid #e0e0e0;
}

.privacy-section:last-child {
    border-bottom: none;
}

.privacy-section h2 {
    font-size: 1.75em;
    color: var(--accent-gold);
    margin-bottom: 1em;
}

.privacy-section p {
    font-size: 1em;
    line-height: 1.8;
    color: var(--text-light);
    margin-bottom: 1em;
}

.privacy-section ul {
    margin-left: 2em;
    margin-bottom: 1em;
}

.privacy-section ul li {
    font-size: 1em;
    line-height: 1.8;
    color: var(--text-light);
    margin-bottom: 0.5em;
}

.privacy-section a {
    color: var(--secondary-color);
    text-decoration: underline;
}

.privacy-section a:hover {
    color: var(--accent-color);
}

/* Mobile responsive */
@media (max-width: 37.5em) {
    .privacy-hero-content h1 {
        font-size: 2em;
    }
    
    .privacy-section h2 {
        font-size: 1.5em;
    }
}