/* Header Styles */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: #f6f4f1;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    z-index: 1000;
    margin-top: 0px;
}

.header-content {
    max-width: 1400px;
    margin: 0px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: #f6f4f1;
}



.menu-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
}

.bar {
    display: block;
    width: 25px;
    height: 3px;
    margin: 5px auto;
    background-color: var(--primary-color);
    transition: all 0.3s ease;
}

.nav-container {
    display: flex;
    align-items: center;
    margin-left: 10rem;
    
}

.nav {
    list-style: none;
    display: flex;
    gap: 3.5rem;
    margin: 0;
    padding: 0;
}

.nav a {
    text-decoration: none;
    color: var(--primary-color);
    font-weight: 500;
    transition: color 0.3s ease;
}

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

.portfolio-dropdown {
    position: relative;
}

.portfolio-dropdown-content {
    display: none;
    position: absolute;
    background: white;
    min-width: 160px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    padding: 0.5rem 0;
    border-radius: 4px;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
}

.portfolio-dropdown:hover .portfolio-dropdown-content {
    display: flex;
    flex-direction: column;
}

.portfolio-dropdown-content a {
    padding: 0.5rem 1rem;
    white-space: nowrap;
}

.portfolio-dropdown-content a:hover {
    background: var(--accent-color);
    color: white;
}

@media (max-width: 768px) {
    .menu-toggle {
        display: block;
        position: absolute;
        top: 2rem;     /* distance from top */
        right: 2rem;
    }

    .nav-container {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: white;
        padding: 1rem;
        box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    }

    .nav-container.active {
        display: block;
    }

    .nav {
        flex-direction: column;
        gap: 1rem;
    }

    .portfolio-dropdown-content {
        position: static;
        transform: none;
        box-shadow: none;
        background: #f5f5f5;
        margin-top: 0.5rem;
    }

    .portfolio-dropdown:hover .portfolio-dropdown-content {
        display: none;
    }

    .portfolio-dropdown.active .portfolio-dropdown-content {
        display: flex;
    }

    /* Hamburger menu animation */
    .menu-toggle.active .bar:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }

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

    .menu-toggle.active .bar:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }
}

:root {
    --primary-color: #373737;
    --accent-color: #5c4a34;
    --text-color: #333;
    --light-bg: #f6f4f1;
    --background-color: #f6f4f1;
    --transition: all 0.3s ease;
}

body {
    margin: 0;
    padding: 0;
    font-family: 'ubuntu light', sans-serif;
    color: var(--text-color);
    background-color: #f6f4f1;
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    opacity: 0; /* slide slightly up */
    animation: pageFadeIn 0.8s ease-in forwards;
}

@keyframes pageFadeIn {
  to {
    opacity: 1;
  }
}

header {
    background-color: #f6f4f1;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 0px;
}

.logo {
    margin-bottom: 5px;
    margin-top: 5px;
    margin-left: 2rem;
    margin-right: 3rem;
}

.nav {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    align-items: center;
    margin-right: 2rem;
}

.nav li {
    margin: 0 1.5rem;
    position: relative;
}

.nav li a {
    color: var(--primary-color);
    text-decoration: none;
    font-size: 1.1rem;
    font-weight: 500;
    transition: var(--transition);
    padding: 0.5rem 0;
    
}

.nav li a:after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: 0;
    left: 0;
    background-color: var(--accent-color);
    transition: var(--transition);
}

.nav li a:hover {
    color: var(--accent-color);
}

.nav li a:hover:after {
    width: 100%;
}

.portfolio-dropdown {
    position: relative;
}

.portfolio-dropdown-content {
    display: none;
    position: absolute;
    background-color: white;
    min-width: 160px;
    box-shadow: 0 8px 16px rgba(0,0,0,0.1);
    border-radius: 4px;
    padding: 0.5rem 0;
    z-index: 1;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
}

.portfolio-dropdown:hover .portfolio-dropdown-content {
    display: block;
}

.portfolio-dropdown-content a {
    color: var(--text-color);
    padding: 0.7rem 1rem;
    display: block;
    text-align: center;
    transition: var(--transition);
}

.portfolio-dropdown-content a:hover {
    background-color: var(--light-bg);
    color: var(--accent-color);
}

main {
    margin-top: 80px;
    min-height: calc(100vh - 80px);
}

#image-container {
    text-align: center;
}

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

.background {
    height: 100vh;
    background-position: center;
    transition: background-image 0.5s ease;
}

.content {
    text-align: center;
    margin-top: 0px;
    background-color: var(--light-bg);
    padding-top: 30px;
}

/* Hero Section */
.hero {
    min-height: calc(100vh - 80px);
    width: 100%;
    background: var(--background-color);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 80px;
    padding: 2rem 0;
}

.slideshow-container {
    width: 100%;
    height: calc(100vh - 80px);
    position: relative;
    overflow: hidden;
    margin: 0 auto;
    background-color: var(--background-color);
}

#image-container {
    width: 100%;
    height: 100%;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 1rem;
    box-sizing: border-box;
    background: var(--background-color);
}

#image-container img {
    max-width: 98%;
    max-height: 98%;
    width: auto;
    height: auto;
    object-fit: contain;
    transition: opacity 0.5s ease-in-out;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.overlay {
    display: none;
}

.slide-caption {
    text-align: center;
    color: var(--primary-color);
    font-family: 'Playfair Display', serif;
    font-size: 2rem;
    margin: 2rem 0;
    opacity: 0;
    transition: opacity 0.5s ease;
    font-style: italic;
}

.hero-title {
    position: absolute;
    top: 10%;
    left: 50%;
    transform: translateX(-50%);
    color: var(--primary-color);
    font-family: 'Arsenal', sans-serif;
    font-size: 2.8rem;
    text-align: center;
    z-index: 2;
}

/* Category Showcase Styles */
.category-showcase {
    padding: 2rem 2rem;
    background-color: var(--background-color);
    font-weight: normal;
}

.showcase-title {
    font-family: 'Arsenal', sans-serif;
    font-size: 2.5rem;
    color: var(--primary-color);
    text-align: center;
    margin-bottom: 3rem;
    font-weight: normal;
}

.showcase-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 1rem;
}

.showcase-item {
    position:relative;
    overflow: hidden;
    border-radius: 15px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    /* transition: transform 0.3s ease; */
    aspect-ratio: 3/4;
    text-decoration: none;
}

.showcase-item:hover {
    transform: translateY(-5px);
}

/* Default styles for showcase images */
.showcase-image {
    width: 100%;
    height: 100%;
    object-fit: cover; /* Ensures the image fills the container */
    display: block;
    transition: transform 0.3s ease;
}

.showcase-item:hover .showcase-image {
    transform: scale(1.05);
}

.showcase-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.8), transparent);
    padding: 2rem;
    color: white;
    transform: translateY(20%);
    transition: transform 0.3s ease;
    flex-direction: column;
}

.showcase-item:hover .showcase-overlay {
    transform: translateY(0);
}

.showcase-overlay h3 {
    font-family: 'Arsenal', sans-serif;
    font-size: 1.5rem;
    margin: 0 0 0.5rem 0;
    font-weight: normal;
    text-align: center;
}

.showcase-overlay p {
    margin: 1rem;
    font-size: 1rem;
    opacity: 0.9;
    text-align: center;
}

/* Slideshow Controls */
.slideshow-controls {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    align-items: center;
    gap: 1rem;
    z-index: 2;
}

.nav-btn {
    background: rgba(255, 255, 255, 0.3);
    border: none;
    color: white;
    font-size: 1.5rem;
    padding: 0.5rem 1rem;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.nav-btn:hover {
    background: rgba(255, 255, 255, 0.5);
}

.dots-container {
    display: flex;
    gap: 0.5rem;
}

.dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.3);
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.dot.active {
    background-color: white;
}

@media (max-width: 768px) {
    .category-showcase {
        padding: 4rem 1rem;
    }

    .showcase-title {
        font-size: 2rem;
    }

    .showcase-grid {
        grid-template-columns: 1fr; /* Display one item per row */
        justify-items: center; /* Center the grid items */
    }

    .showcase-item {
        
        margin: 0 auto; /* Center the items */
        aspect-ratio: 3/4;
    }

    .showcase-image {
        width: 100%;
        height: 100%;
        object-fit: cover; /* Ensures the image fills the container */
    }

    .gallery-container {
        padding: 2rem 1rem;
    }

    .section-title {
        font-size: 2.5rem;
    }

    .photo-grid {
        grid-template-columns: 1fr;
    }

    .gallery-image {
        height: 300px;
    }
}

/* Pricing Styles */
.pricing-container {
    padding: 4rem 2rem;
    max-width: 1400px;
    margin: 0 auto;
    margin-top: 80px;
}

.page-title {
    font-family: 'Arsenal', sans-serif;
    font-size: 3rem;
    color: var(--primary-color);
    text-align: center;
    margin-bottom: 0.5rem;
    font-weight: normal;
}

.subtitle {
    text-align: center;
    color: #666;
    margin-bottom: 3rem;
    font-size:
     1.2rem;
}
.link-btn {
    background: var(--accent-color);
    color: white;
    padding: 0.7rem;
    border: none;
    border-radius: 30px;
    font-size: 1rem;
    cursor: pointer;
    transition: background-color 0.3s ease;
    width: 100%;
}

.link-btn:hover {
    background: #978137ff;
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.pricing-card {
    background: white;
    border-radius: 15px;
    padding: 2rem;
    text-align: center;
    position: relative;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}

.pricing-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 12px 24px rgba(0,0,0,0.15);
}

.pricing-card.popular {
    border: 2px solid var(--accent-color);
}

.popular-badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--accent-color);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 500;
}

.pricing-card h2 {
    color: var(--primary-color);
    font-family: 'Arsenal', sans-serif;
    font-size: 1.8rem;
    margin-bottom: 1rem;
    font-weight: normal;
}

.price {
    font-size: 2.5rem;
    color: var(--accent-color);
    font-weight: normal;
    margin-bottom: 2rem;
}

.features {
    list-style: none;
    padding: 0;
    margin: 0 0 2rem 0;
}

.features li {
    padding: 0.8rem 0;
    border-bottom: 1px solid #eee;
    color: #666;
}

.features li:last-child {
    border-bottom: none;
}

.book-btn {
    display: inline-block;
    background: var(--primary-color);
    color: white;
    padding: 1rem 2rem;
    border-radius: 30px;
    text-decoration: none;
    transition: background-color 0.3s ease;
    font-weight: normal;
}

.book-btn:hover {
    background: var(--accent-color);
}

.portrait-images {
    display: flex;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
    justify-content: center;
}

.portrait-img {
    width: 80px;
    height: 80px;
    object-fit: cover;
    border-radius: 10px;
    transition: transform 0.3s ease;
}

.portrait-img:hover {
    transform: scale(1.1);
}

@media (max-width: 768px) {
    .pricing-container {
        padding: 2rem 1rem;
    }

    .page-title {
        font-size: 2.5rem;
    }

    .pricing-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
}

/* Contact Styles */
.contact-container {
    padding: 4rem 2rem;
    max-width: 1400px;
    margin: 0 auto;
    margin-top: 80px;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
}

/* Form Styles */
.contact-form-container {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    color: var(--primary-color);
    font-weight: 500;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 0.8rem;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--accent-color);
}

.submit-btn {
    background: var(--accent-color);
    color: white;
    padding: 1rem 2rem;
    border: none;
    border-radius: 30px;
    font-size: 1rem;
    cursor: pointer;
    transition: background-color 0.3s ease;
    width: 100%;
}

.submit-btn:hover {
    background: #978137ff;
}

/* Contact Info Styles */
.contact-info {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.info-card {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    text-align: center;
}

.info-icon {
    font-size: 2rem;
    color: var(--accent-color);
    margin-bottom: 1rem;
}

.info-card h3 {
    color: var(--primary-color);
    font-family: 'Arsenal', sans-serif;
    margin-bottom: 1rem;
    font-weight: normal;
}

.map-container iframe {
    border: 0;
}

.map-container {
    margin-top: 1rem;
    border-radius: 8px;
    overflow: hidden;
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-top: 1rem;
}

.social-link {
    color: var(--primary-color);
    font-size: 1.5rem;
    transition: color 0.3s ease;
}

.social-link:hover {
    color: var(--accent-color);
}

.messages {
    margin-bottom: 2rem;
}

.message {
    padding: 1rem;
    margin-bottom: 1rem;
    border-radius: 5px;
    text-align: center;
}

.message.success {
    background-color: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.message.error {
    background-color: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

.errorlist {
    color: #dc3545;
    font-size: 0.9rem;
    margin-top: 0.25rem;
    list-style: none;
    padding: 0;
}

@media (max-width: 968px) {
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .contact-container {
        padding: 2rem 1rem;
    }
}

/* Portfolio Styles */
.portfolio-container {
    padding: 4rem 2rem;
    max-width: 1400px;
    margin: 0 auto;
    margin-top: 80px;
}

.category-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    font-family: 'Arsenal', sans-serif;
}

.category-card {
    position: relative;
    border-radius: 15px;
    overflow: hidden;
    aspect-ratio: 3/4;
    text-decoration: none;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.category-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}

.category-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

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

.category-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 2rem;
    background: linear-gradient(to top, rgba(0,0,0,0.8), transparent);
    color: white;
    transform: translateY(20%);
    transition: transform 0.3s ease;
}

.category-card:hover .category-overlay {
    transform: translateY(0);
}

.category-overlay h2 {
    font-family: 'Arsenal', sans-serif;
    font-size: 2rem;
    margin: 0 0 0.5rem 0;
    font-weight: normal;
}

.category-overlay p {
    margin: 0 0 1rem 0;
    opacity: 0.9;
}

.explore-btn {
    display: inline-block;
    padding: 0.5rem 0;
    color: white;
    font-weight: 500;
    transition: transform 0.3s ease;
}

.category-card:hover .explore-btn {
    transform: translateX(10px);
}

@media (max-width: 768px) {
    .portfolio-container {
        padding: 2rem 1rem;
    }

    .category-grid {
        gap: 1.5rem;
    }

    .category-overlay h2 {
        font-size: 1.8rem;
    }
}

/* Gallery Styles */
.gallery-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 4rem 2rem;
    margin-top: 80px;
}

.section-title {
    font-family: 'Arsenal', sans-serif;
    font-size: 3rem;
    color: var(--primary-color);
    text-align: center;
    margin-bottom: 0.5rem;
    font-weight: normal;
}

.section-description {
    text-align: center;
    color: #666;
    margin-bottom: 3rem;
    font-size: 1.2rem;
}

.photo-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 2rem;
}

.photo-item {
    position: relative;
    overflow: hidden;
    border-radius: 15px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}

.gallery-image {
    width: 100%;
    height: 400px;
    object-fit: cover;
    display: block;
}

.photo-title {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(0, 0, 0, 0.7);
    color: white;
    padding: 1rem;
    text-align: center;
    transform: translateY(100%);
    transition: transform 0.3s ease;
}

.photo-item:hover .photo-title {
    transform: translateY(0);
}

.no-photos {
    text-align: center;
    grid-column: 1 / -1;
    color: #666;
    font-size: 1.2rem;
    padding: 2rem;
}

/* About Page Styles */
.about-container {
    max-width: 1200px;
    margin: 0 auto;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    padding: 4rem 2rem;
    margin-top: 80px;
}

.page-title {
    margin-bottom: 1.5rem;
    margin-top: 0rem;
}

.intro-section {
    margin-bottom: 3rem;
    padding-bottom: 2rem;
    border-bottom: 2px solid rgba(44, 62, 80, 0.1);
}

.intro-section .intro {
    font-size: 1.4rem;
    color: var(--primary-color);
    font-weight: 500;
    line-height: 1.6;
    text-align: center;
    hyphens: none;
    max-width: 800px;
    margin: 0 auto;
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 4rem;
    align-items: start;
    background-color: var(--background-color);
}

.about-image {
    position: relative;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 8px 20px rgba(0,0,0,0.15);
    margin-top: 5rem;
}

.profile-image {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.5s ease;
}

.image-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.8), transparent);
    padding: 2rem;
    color: white;
    transform: translateY(100%);
    transition: transform 0.3s ease;
}

.about-image:hover .image-overlay {
    transform: translateY(0);
}

.about-image:hover .profile-image {
    transform: scale(1.05);
}

.overlay-content h3 {
    font-family: 'Arsenal', sans-serif;
    font-size: 2rem;
    margin: 0 0 0.5rem 0;
}

.overlay-content p {
    margin: 0;
    font-size: 1.1rem;
    opacity: 0.9;
}

.about-text {
    font-size: 1.1rem;
    line-height: 1.8;
    text-align: left;
}

.bio-section {
    margin-bottom: 3rem;
}

.bio-section .bio {
    color: var(--text-color);
    font-size: 1.1rem;
    line-height: 1.8;
    text-align: left;
    hyphens: none;
}

@media (max-width: 768px) {
    .about-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .about-image {
        max-width: 400px;
        margin: 0 auto;
    }

    .intro-section .intro {
        font-size: 1.2rem;
    }
}


.vertical {
            aspect-ratio: 3 / 4;
        }
        .horizontal {
            aspect-ratio: 4 / 3;
        }
.lightbox {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    z-index: 1000;
    text-align: center;
}

.lightbox.show {
    display: flex;
    justify-content: center;
    align-items: center;
}

.lightbox img {
    max-width: 90%;
    max-height: 90vh;
    object-fit: contain;
}

.lightbox-close, .lightbox-prev, .lightbox-next {
    position: absolute;
    color: white;
    font-size: 40px;
    cursor: pointer;
    user-select: none;
    padding: 20px;
}

.lightbox-close {
    top: 10px;
    right: 25px;
    font-size: 35px;
}

.lightbox-prev {
    left: 20px;
    top: 50%;
    transform: translateY(-50%);
}

.lightbox-next {
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
}

.lightbox-close:hover,
.lightbox-prev:hover,
.lightbox-next:hover {
    color: #ccc;
}

#faq {
  max-width: 600px;
  margin: 10px auto;
  margin-bottom: 30px;
}

.faq-item {
  margin-bottom: 10px;
  border-radius: 8px;
  overflow: hidden;

}

.faq-question {
background-color: var(--background-color);
  width: 100%;
  text-align: left;
  padding: 12px 16px;
  border: none;
  cursor: pointer;
  display: flex;
  color: black;
  justify-content: space-between;
  font-weight: normal;
  font-size: 20px;
  font-family: 'Lato', sans-serif;
  transition: background 0s ease;
  border-bottom: 1px solid #ccc;
}


.faq-answer {
  max-height: 0;            /* hidden initially */
  overflow: hidden;
  transition: max-height 0s ease, padding 0.3s ease-out;
  padding: 0 16px;          /* initial padding 0 for hidden */
}

.faq-answer.open {
  max-height: 500px;        /* large enough for content */
  padding: 12px 16px;       /* add padding when open */
}

.faq-icon {
  transition: transform 0.3s ease forwards;
}

.faq-answer.open + .faq-question .faq-icon {
  transform: rotate(45deg); /* optional rotation for plus -> x */
}

.footer{
    text-align: center;
    height: 50px;
    align-items: center;
    align-content: center;
}

/* MOBILE MENU HIDDEN */
.hamburger-menu .nav-container {
    display: none;
}

/* WHEN TOGGLED OPEN */
.nav-container.open {
    display: block;
}

/* Optional: better mobile styling */
@media (max-width: 768px) {
    .nav {
        flex-direction: column;
        gap: 20px;
        padding: 20px 0;
        text-align: center;
    }
}

.reviews-container {
            max-width: 1200px;
            margin: 0 auto;
            padding: 40px 20px;
        }
    
        .page-title {
            text-align: center;
            font-size: 2.5em;
            margin-bottom: 10px;
            color: #333;
            margin-top: 30px;
        }
    
        .subtitle {
            text-align: center;
            color: #666;
            margin-bottom: 40px;
            font-size: 1.2em;
        }
    
        .reviews-grid {
            display: grid;
            grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
            gap: 30px;
            padding: 20px 0;
        }
    
        .review-card {
            background: white;
            border-radius: 8px;
            padding: 25px;
            box-shadow: 0 2px 4px rgba(0,0,0,0.1);
            transition: transform 0.3s ease;
        }
    
        .review-card:hover {
            transform: translateY(-5px);
        }
    
        .review-header {
            display: flex;
            justify-content: space-between;
            align-items: flex-start;
            margin-bottom: 15px;
        }
    
        .client-info h3 {
            margin: 0;
            color: #333;
            font-size: 1.2em;
        }
    
        .rating {
            margin-top: 5px;
        }
    
        .star {
            color: #ffd700;
            font-size: 1.2em;
        }
    
        .star.filled {
            color: #ffd700;
        }
    
        .review-date {
            color: #666;
            font-size: 0.9em;
        }
    
        .review-content {
            color: #444;
        }
    
        .review-text {
            line-height: 1.6;
            margin-bottom: 15px;
        }
    
        .no-reviews {
            text-align: center;
            padding: 40px;
            background: #f8f9fa;
            border-radius: 8px;
            color: #666;
            grid-column: 1 / -1;
        }
    
        .review-form-container {
            max-width: 800px;
            margin: 40px auto 0;
            background: white;
            padding: 40px;
            border-radius: 8px;
            box-shadow: 0 2px 4px rgba(0,0,0,0.1);
        }
    
        .section-title {
            text-align: center;
            font-size: 2em;
            margin-bottom: 10px;
            color: #333;
        }
    
        .section-subtitle {
            text-align: center;
            color: #666;
            margin-bottom: 30px;
            font-size: 1.1em;
        }
    
        .review-form {
            display: flex;
            flex-direction: column;
            gap: 20px;
        }
    
        .form-group {
            display: flex;
            flex-direction: column;
            gap: 8px;
            
        }
    
        .form-label {
            font-weight: 600;
            color: #333;
            font-size: 1.1em;
        }
    
        .form-input {
            padding: 12px;
            border: 1px solid #ddd;
            border-radius: 4px;
            font-size: 1em;
            transition: border-color 0.3s ease;
            width: 100%;
        }
    
        .form-input:focus {
            border-color: #007bff;
            outline: none;
            box-shadow: 0 0 0 2px rgba(0,123,255,0.25);
        }
    
        textarea.form-input {
            min-height: 120px;
            resize: vertical;
        }
    
        .rating-input {
            display: flex;
            flex-direction: column;
            gap: 10px;
        }
    
        .rating-stars {
            display: flex;
            gap: 5px;
        }
    
        .rating-stars .star {
            font-size: 2em;
            cursor: pointer;
            transition: color 0.3s ease;
        }
    
        .rating-stars .star:hover,
        .rating-stars .star.active {
            color: #ffd700;
        }
    
        .rating-text {
            color: #666;
            font-size: 0.9em;
        }
    
        .submit-button {
            background: var(--accent-color);
            color: white;
            padding: 15px 30px;
            border: none;
            border-radius: 30px;
            font-size: 1.1em;
            cursor: pointer;
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 10px;
            transition: background-color 0.3s ease;
        }
    
        .submit-button:hover {
            background: #978137ff;
        }
    
        @media (max-width: 768px) {
            .reviews-grid {
                grid-template-columns: 1fr;
            }
    
            .review-form-container {
                padding: 20px;
            }
            
            .review-form {
                word-wrap: break-word;
            }
            .form-group {
                width: 95%;
            }   
            
        }
        .review-popup {
            display: none;
            position: fixed;
            z-index: 1000;
            left: 0;
            top: 0;
            width: 100%;
            height: 100%;
            overflow: auto;
            background-color: rgba(0, 0, 0, 0.5);
            animation: fadeIn 0.3s ease;
        }
    
        .review-popup-content {
            background-color: #fefefe;
            margin: 15% auto;
            padding: 30px;
            border-radius: 10px;
            max-width: 500px;
            text-align: center;
            box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
            animation: slideUp 0.3s ease;
        }
    
        .review-popup-content h2 {
            color: #4CAF50;
            margin-bottom: 15px;
        }
    
        .review-popup-content p {
            margin-bottom: 20px;
            color: #333;
        }
    
        .review-popup-content button {
            background-color: #4CAF50;
            color: white;
            border: none;
            padding: 10px 20px;
            border-radius: 5px;
            cursor: pointer;
            transition: background-color 0.3s ease;
        }
    
        .review-popup-content button:hover {
            background-color: #45a049;
        }
    
        @keyframes fadeIn {
            from {
                opacity: 0;
            }
            to {
                opacity: 1;
            }
        }
    
        @keyframes slideUp {
            from {
                opacity: 0;
                transform: translateY(20px);
            }
            to {
                opacity: 1;
                transform: translateY(0);
            }
        }
        @keyframes fadeInUp {
            from {
                opacity: 0;
                transform: translateY(20px);
            }
            to {
                opacity: 1;
                transform: translateY(0);
            }
        }