/* --- Professional Design System --- */
:root {
    --primary-color: #2C3E50; /* A deep, elegant charcoal */
    --secondary-color: #F8F8F8; /* A soft off-white */
    --accent-color: #BDB76B; /* A muted, dark khaki gold */
    --text-color: #555;
    --light-text-color: #fff;
    --border-color: #EAEAEA;
    --font-headings: 'Lora', serif;
    --font-body: 'Montserrat', sans-serif;
    --box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

/* --- Global & Typography --- */
body {
    font-family: var(--font-body);
    color: var(--text-color);
    margin: 0;
    line-height: 1.7;
    background-color: #fff;
    -webkit-font-smoothing: antialiased;
    /* This makes the color changes smooth */
    transition: background-color 0.4s ease, color 0.4s ease;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-headings);
    color: var(--primary-color);
    font-weight: 600;
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    position: relative;
}

.section-title::after {
    content: '';
    display: block;
    width: 60px;
    height: 3px;
    background: var(--accent-color);
    margin: 1rem auto 0;
}

p {
    margin-bottom: 1rem;
}

a {
    text-decoration: none;
    color: var(--primary-color);
}

.container {
    max-width: 1100px;
    margin: auto;
    padding: 4rem 2rem;
}

.page-header {
    text-align: center;
    padding-bottom: 2rem;
}

.page-header h1 {
    font-size: 3rem;
    margin-bottom: 0.5rem;
}

/* --- Navigation & Buttons --- */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 2.5rem;
    background-color: rgba(255, 255, 255, 0.95);
    position: sticky;
    top: 0;
    width: 100%;
    box-sizing: border-box;
    z-index: 1000;
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border-color);
}

.nav-logo {
    font-family: var(--font-body);
    font-size: 1.2rem;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.nav-menu {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
    gap: 2.5rem;
}

.nav-link {
    font-size: 0.9rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: color 0.3s;
}

.nav-link:hover,
.nav-link.active {
    color: var(--accent-color);
}

.hamburger {
    display: none;
    cursor: pointer;
}

.bar {
    display: block;
    width: 25px;
    height: 2px;
    margin: 5px auto;
    background-color: var(--primary-color);
    transition: all 0.3s ease-in-out;
}

.btn {
    display: inline-block;
    background: var(--primary-color);
    color: var(--light-text-color);
    padding: 12px 28px;
    border: 2px solid var(--primary-color);
    border-radius: 5px;
    cursor: pointer;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

.btn:hover {
    background-color: var(--accent-color);
    border-color: var(--accent-color);
    color: var(--light-text-color);
}

/* --- Homepage Sections --- */
.hero {
    height: 90vh;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    color: var(--light-text-color);
}

.hero-wedding {
    background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url('/images/scene1.jpg');
    background-position: center;
    background-size: cover;
    background-position: bottom center; /* Change this line */
}

.hero-text h1 {
    font-size: 3.5rem;
    color: var(--light-text-color);
    margin-bottom: 1rem;
}

.hero-text p {
    font-size: 1.2rem;
    font-weight: 400;
}

.gallery-grid-home {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
    margin-bottom: 1.5rem; /* Adds space between rows */
}

.featured-gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 5px;
    box-shadow: var(--box-shadow);
}

.featured-gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.4s ease, filter 0.4s ease;
}

.featured-gallery-item:hover img {
    transform: scale(1.1);
    filter: brightness(0.5);
}

.featured-gallery-title {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: white;
    font-family: var(--font-headings);
    font-size: 1.5rem;
    text-align: center;
    width: 100%;
    padding: 1rem;
    box-sizing: border-box;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.featured-gallery-item:hover .featured-gallery-title {
    opacity: 1;
}

.testimonials {
    background: var(--secondary-color);
    padding: 4rem 2rem;
}

.testimonial-card {
    max-width: 700px;
    margin: 2rem auto;
    text-align: center;
}

.testimonial-text {
    font-family: var(--font-headings);
    font-size: 1.5rem;
    font-style: italic;
    line-height: 1.5;
    margin-bottom: 1.5rem;
}

.testimonial-author {
    font-weight: 700;
    color: var(--accent-color);
}

/* --- Professional Gallery Page (Styled like Homepage) --- */
.gallery-container {
    max-width: 1200px;
    margin: auto;
    padding: 0 1rem;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 5px;
    box-shadow: var(--box-shadow);
    /* This next line forces the box into a uniform shape, just like the homepage */
}

.gallery-item img {
    width: 100%;
    height: 100%; /* This makes the image fill the box */
    object-fit: cover; /* This stops the image from stretching */
    display: block;
    transition: transform 0.4s ease, filter 0.4s ease;
}

.gallery-item:hover img {
    transform: scale(1.1);
    filter: brightness(0.5);
}

.gallery-title {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: white;
    font-family: var(--font-headings);
    font-size: 1.5rem;
    text-align: center;
    width: 100%;
    padding: 1rem;
    box-sizing: border-box;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.gallery-item:hover .gallery-title {
    opacity: 1;
}
/* --- Refined About Page --- */
.about-section {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    align-items: center;
    gap: 3rem;
}

.about-photo-container {
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.about-photo {
    width: 100%;
    border-radius: 8px;
    display: block;
}

.about-text h1 {
    font-size: 2.8rem;
    margin-bottom: 1rem;
}

/* --- Investment & Contact Pages (with Form Effects) --- */
.package-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 2rem; }
.package-card { border: 1px solid var(--border-color); padding: 2rem; text-align: center; border-radius: 5px; transition: all 0.3s ease; }
.package-card.featured { border-color: var(--accent-color); transform: scale(1.05); box-shadow: var(--box-shadow); }
.package-card h3 { font-size: 1.5rem; }
.package-card .price { font-size: 2rem; font-family: var(--font-headings); color: var(--accent-color); margin: 1rem 0; }
.package-card ul { list-style: none; padding: 0; margin: 1.5rem 0; }
.package-card ul li { margin-bottom: 0.75rem; }
.faq-section { max-width: 800px; margin: 4rem auto 0; }
.faq-item { border-bottom: 1px solid var(--border-color); padding: 1.5rem 0; }
.faq-item h4 { margin: 0 0 0.5rem 0; font-size: 1.2rem; }
.faq-item p { margin: 0; }


/* Enhanced Contact Form Styles Start Here */
.contact-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: flex-start;
}
.contact-form-section {
    background-color: #ffffff;
    padding: 2.5rem;
    border-radius: 8px;
    box-shadow: 0 15px 35px rgba(0,0,0,0.07);
}

.form-group {
    position: relative; /* This is needed for the animated underline */
    margin-bottom: 2.5rem; /* More space for the new style */
    /* Entrance Animation */
    opacity: 0;
    animation: fadeInUp 0.5s ease-out forwards;
}

/* This creates the staggered animation effect */
.form-group:nth-child(2) { animation-delay: 0.1s; }
.form-group:nth-child(3) { animation-delay: 0.2s; }
.form-group:nth-child(4) { animation-delay: 0.3s; }
.form-group:nth-child(5) { animation-delay: 0.4s; }


.form-group label {
    display: block;
    margin-bottom: 0.75rem;
    font-weight: 500;
    font-size: 0.9rem;
    color: var(--primary-color);
}

.form-group input,
.form-group textarea {
    width: 100%;
    border: none; /* Remove the old border */
    border-bottom: 2px solid #ccc; /* Add a simple bottom border */
    border-radius: 0; /* Remove radius for a flat look */
    padding: 10px 0; /* Adjust padding for the underline style */
    background-color: transparent; /* Make the background transparent */
    font-family: var(--font-body);
    font-size: 1rem;
    color: var(--text-color);
    box-sizing: border-box;
    transition: border-color 0.3s ease;
}

/* Remove old focus effect */
.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    box-shadow: none;
    border-bottom-color: var(--accent-color);
}

/* The Animated Underline Effect */
.form-group::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    height: 2px;
    background: var(--accent-color);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s cubic-bezier(0.6, 0.04, 0.98, 0.34);
}

.form-group:focus-within::after {
    transform: scaleX(1);
}


.contact-form .btn {
    width: 100%;
    padding: 16px;
    font-size: 1rem;
    letter-spacing: 1.5px;
    margin-top: 1rem;
}

.contact-form .btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0,0,0,0.1);
}

.process-section h3 { margin-top: 0; font-size: 1.5rem; margin-bottom: 2rem; }
.process-list { margin-top: 1rem; }
.process-item { display: flex; gap: 1.5rem; align-items: flex-start; margin-bottom: 2rem; }
.process-number { font-size: 2rem; font-family: var(--font-headings); color: var(--accent-color); line-height: 1; font-weight: 600; flex-shrink: 0; }
.process-content h4 { margin: 0 0 0.25rem 0; font-size: 1.1rem; font-family: var(--font-body); font-weight: 700; text-transform: uppercase; letter-spacing: 1px; color: var(--primary-color); }
.process-content p { margin: 0; font-size: 0.95rem; line-height: 1.6; }

/* --- Animation Keyframes --- */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* --- Footer --- */
.site-footer { background-color: var(--primary-color); color: #a9b4c2; padding-top: 3rem; }
.footer-content { max-width: 1100px; margin: auto; text-align: center; padding: 0 2rem; }
.footer-content h3 { color: var(--light-text-color); }
.footer-links a { color: #a9b4c2; margin: 0 10px; transition: color 0.3s; }
.footer-links a:hover { color: var(--accent-color); }
.footer-bottom { text-align: center; padding: 1.5rem; margin-top: 2rem; border-top: 1px solid #405264; }
.footer-bottom p { margin: 0; font-size: 0.9rem; }

/* --- Mobile Responsiveness --- */
@media (min-width: 992px) {
    /* This ensures the homepage grid is always 3 columns on wider screens */
    .gallery-grid-home {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 900px) {
    .about-section, .contact-layout {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 4.5rem;
        flex-direction: column;
        background-color: #fff;
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: 0 10px 27px rgba(0, 0, 0, 0.05);
        padding: 2rem 0;
        gap: 0;
    }

    .nav-menu.active {
        left: 0;
    }

    .nav-item {
        margin: 1.5rem 0;
    }

    .hamburger {
        display: block;
    }

    .hamburger.active .bar:nth-child(2) {
        opacity: 0;
    }

    .hamburger.active .bar:nth-child(1) {
        transform: translateY(7px) rotate(45deg);
    }

    .hamburger.active .bar:nth-child(3) {
        transform: translateY(-7px) rotate(-45deg);
    }

    .hero-text h1 { font-size: 2.5rem; }
    .container { padding: 2rem 1rem; }
    .package-card.featured { transform: scale(1); }
    @media (max-width: 768px) {
    .nav-logo { font-size: 0.9rem; }
    .nav-menu { position: fixed; left: -100%; top: 4.5rem; flex-direction: column; background-color: #fff; width: 100%; text-align: center; transition: 0.3s; box-shadow: 0 10px 27px rgba(0, 0, 0, 0.05); padding: 2rem 0; gap: 0; }
    .nav-menu.active { left: 0; }
    .nav-item { margin: 1.5rem 0; }
    .hamburger { display: block; }
    .hamburger.active .bar:nth-child(2) { opacity: 0; }
    .hamburger.active .bar:nth-child(1) { transform: translateY(7px) rotate(45deg); }
    .hamburger.active .bar:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
    .hero-text h1 { font-size: 2.5rem; }
    .container { padding: 2rem 1rem; }
    .package-card.featured { transform: scale(1); }
    .gallery-grid, .gallery-grid-home { 
        grid-template-columns: 1fr; /* The corrected line is here */
    }
}
}

@media (max-width: 480px) {
    .gallery-grid, .gallery-grid-home {
        grid-template-columns: 1fr;
    }
}
@media (max-width: 1120px) {
    /* This rule makes the main content area more flexible on narrower screens like portrait laptops */
    .container {
        padding: 4rem 1.5rem;
    }
}
/* --- Social Links Section --- */
.social-section {
    text-align: center;
    padding-top: 4rem;
    border-top: 1px solid var(--border-color);
    margin-top: 4rem;
}

.follow-me-container {
    display: flex;
    align-items: center;
    gap: 3rem;
    text-align: left;
    margin-top: 2rem;
}

.follow-image {
    flex-basis: 40%; /* Image column takes up 40% of the width */
    min-width: 250px;
}

.follow-image img {
    width: 100%;
    border-radius: 8px;
    box-shadow: var(--box-shadow);
}

.follow-text {
    flex-basis: 60%; /* Text column takes up 60% of the width */
}

.follow-text h3 {
    font-size: 2.2rem;
    margin-top: 0;
    margin-bottom: 1rem;
}

.social-links {
    margin-top: 2rem;
}

.social-icon {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    font-family: var(--font-body);
    font-weight: 500;
    transition: color 0.3s ease;
    font-size: 1.1rem;
    color: var(--text-color);
    text-decoration: none;
}

.social-icon:hover,
.social-icon:hover span {
    color: var(--accent-color);
}

.social-icon i {
    font-size: 2rem; /* Icon size */
    color: var(--primary-color);
    transition: color 0.3s ease;
}

.social-icon:hover i {
    color: var(--accent-color);
}

/* Dark mode style for the new icon */
.dark-mode .social-icon i {
    color: var(--primary-color);
}

/* Make it stack on mobile */
@media (max-width: 768px) {
    .follow-me-container {
        flex-direction: column;
        text-align: center;
        gap: 2rem;
    }
}
/* --- Thank You Page Styles --- */
.thank-you-page {
    /* Applying the same background as the homepage hero */
    background: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)), url('../images/hero-background.jpg');
    background-position: center;
    background-size: cover;
    background-attachment: fixed;
    color: var(--light-text-color);
}

.thank-you-container {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    min-height: calc(100vh - 200px); /* Fill the screen between header and footer */
    padding: 2rem;
    /* Entrance Animation */
    opacity: 0;
    animation: fadeInUp 0.8s 0.2s ease-out forwards;
}

.thank-you-container .icon {
    font-size: 4rem;
    color: var(--accent-color);
    margin-bottom: 1.5rem;
}

.thank-you-container h1 {
    font-size: 3.5rem;
    color: var(--light-text-color);
    margin-bottom: 1rem;
}

.thank-you-container p {
    font-size: 1.2rem;
    max-width: 500px;
    margin-bottom: 2.5rem;
    color: rgba(255, 255, 255, 0.9);
}

/* Style overrides to make header/footer look good on the dark background */
.thank-you-page .navbar {
    background-color: transparent;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

.thank-you-page .nav-logo,
.thank-you-page .nav-link {
    color: var(--light-text-color);
}

.thank-you-page .hamburger .bar {
    background-color: var(--light-text-color);
}

.thank-you-page .site-footer {
    background-color: transparent;
}
/* --- Dark Mode Styles --- */
.dark-mode-switch {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-left: 1rem;
}

.switch-label {
    font-size: 0.9rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--primary-color);
    transition: color 0.4s ease;
}

.switch {
    position: relative;
    display: inline-block;
    width: 50px;
    height: 26px;
}

.switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #ccc;
    transition: .4s;
}

.slider:before {
    position: absolute;
    content: "";
    height: 18px;
    width: 18px;
    left: 4px;
    bottom: 4px;
    background-color: white;
    transition: .4s;
}

input:checked + .slider {
    background-color: var(--accent-color);
}

input:checked + .slider:before {
    transform: translateX(24px);
}

.slider.round {
    border-radius: 34px;
}

.slider.round:before {
    border-radius: 50%;
}

/* --- Dark Mode Color Overrides --- */
body.dark-mode {
    --primary-color: #F1F1F1;
    --secondary-color: #1E1E1E;
    --text-color: #D3D3D3;
    --border-color: #333;
    background-color: #121212;
}

.dark-mode .navbar,
.dark-mode .testimonials,
.dark-mode .form-group input, 
.dark-mode .form-group textarea,
.dark-mode .site-footer {
    transition: background-color 0.4s ease, color 0.4s ease, border-color 0.4s ease;
}

.dark-mode .navbar { background-color: rgba(30, 30, 30, 0.95); border-bottom-color: var(--border-color); }
.dark-mode .hamburger .bar { background-color: var(--primary-color); }
.dark-mode .btn { background: var(--primary-color); color: #121212; border-color: var(--primary-color); }
.dark-mode .btn:hover { background: var(--accent-color); color: var(--primary-color); border-color: var(--accent-color); }
/* This keeps the testimonial background dark */
.dark-mode .testimonials { background-color: var(--secondary-color); }

/* These new rules specifically target the form for better contrast */
.dark-mode .form-group input, 
.dark-mode .form-group textarea {
    background-color: #2a2a2a; /* A lighter dark gray for the input fields */
    border-bottom-color: #555; /* A more visible border for the underline */
    color: var(--primary-color); /* Ensures text typed is light */
}

/* This makes the placeholder text ("Full Name", etc.) visible in dark mode */
.dark-mode .form-group input::placeholder,
.dark-mode .form-group textarea::placeholder {
    color: #888;
}

/* This corrects the background of the form container in dark mode */
.dark-mode .contact-form-section {
    background-color: var(--secondary-color);
    box-shadow: none;
}
.dark-mode .site-footer { background-color: var(--secondary-color); color: #a9b4c2; }
.dark-mode .footer-bottom { border-top-color: #405264; }
.dark-mode .package-card { border-color: var(--border-color); }
.dark-mode .package-card.featured { border-color: var(--accent-color); }
.dark-mode .nav-menu { background-color: #1E1E1E; }

/* --- Page Load Slide-Up & Fade-In Effect --- */
@keyframes fadeAndScrollUp {
    from {
        opacity: 0;
        transform: translateY(30px); /* Starts the content 30px lower */
    }
    to {
        opacity: 1;
        transform: translateY(0); /* Ends at its normal position */
    }
}

body {
    /* This applies the new animation to every page when it loads */
    animation: fadeAndScrollUp 0.8s ease-out;
}
/* --- Direct Contact Info Styles --- */
.direct-contact-section {
    margin-top: 4rem;
    padding-top: 4rem;
    border-top: 1px solid var(--border-color);
    text-align: center; /* This centers the content */
}

.direct-contact-section h3 {
    font-size: 2rem;
    margin-top: 0;
    margin-bottom: 2rem;
    font-family: var(--font-headings);
    color: var(--primary-color);
}

.contact-info-wrapper {
    display: flex;
    justify-content: center;
    gap: 6rem; /* Increased the gap for more space */
    flex-wrap: wrap;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1rem;
}

.contact-item i {
    font-size: 1.5rem;
    color: var(--accent-color);
}

.contact-item a {
    font-family: var(--font-body);
    font-size: 1.2rem;
    font-weight: 500;
    color: var(--text-color);
    text-decoration: none;
    transition: color 0.3s ease;
}

.contact-item a:hover {
    color: var(--accent-color);
}

/* Dark mode compatibility */
.dark-mode .contact-item a {
    color: var(--text-color);
}
.dark-mode .direct-contact-section{
    border-top-color: var(--border-color);
}
@media (max-width: 768px) {
    /* Navbar fixes for mobile */
    .navbar {
        padding: 1rem 1.5rem;
    }
    .nav-logo {
        font-size: 0.9rem; /* Adjusted logo size */
    }

    /* This rule centers the dark mode switch in the mobile menu */
    .nav-menu .dark-mode-switch {
        justify-content: center;
    }

    /* Existing slide-out menu styles */
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 4.8rem; /* Adjusted for a little space */
        flex-direction: column;
        background-color: #fff;
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: 0 10px 27px rgba(0, 0, 0, 0.05);
        padding: 1rem 0 2rem 0;
        gap: 0;
    }
    .nav-menu.active {
        left: 0;
    }
    .nav-item {
        margin: 1.5rem 0;
    }
    .hamburger {
        display: block;
    }
    .hamburger.active .bar:nth-child(2) {
        opacity: 0;
    }
    .hamburger.active .bar:nth-child(1) {
        transform: translateY(7px) rotate(45deg);
    }
    .hamburger.active .bar:nth-child(3) {
        transform: translateY(-7px) rotate(-45deg);
    }

    /* General mobile layout adjustments */
    .hero-text h1 { font-size: 2.5rem; }
    .container { padding: 2rem 1rem; }
    .package-card.featured { transform: scale(1); }
    .gallery-grid, .gallery-grid-home { 
        grid-template-columns: 1fr;
    }
    .follow-me-container {
        flex-direction: column;
        text-align: center;
        gap: 2rem;
    }
}
/* --- Testimonials (Side-by-Side Layout) --- */
.testimonials { 
    background: var(--secondary-color); 
    padding: 4rem 2rem; 
}

.testimonial-card {
    display: flex; /* This creates the side-by-side layout */
    align-items: center; /* This vertically centers the photo and text */
    gap: 2.5rem; /* This adds space between the photo and text */
    text-align: left;
    max-width: 800px; /* We can make the container a bit wider now */
    margin: 3rem auto;
}

.client-photo {
    width: 140px;  /* This makes the image larger */
    height: 140px; /* This makes the image larger */
    border-radius: 50%;
    object-fit: cover;
    flex-shrink: 0; /* This prevents the image from shrinking */
    border: 4px solid #fff;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.testimonial-content {
    /* This new class holds our text */
    padding-left: 2.5rem;
    border-left: 2px solid var(--border-color);
}

.testimonial-text { 
    font-family: var(--font-headings); 
    font-size: 1.4rem; /* Slightly adjusted size */
    font-style: italic; 
    line-height: 1.6; 
    margin-bottom: 1.5rem; 
}

.testimonial-author { 
    font-weight: 700; 
    color: var(--accent-color); 
}
/* Add this to your main mobile media query */
.testimonial-card {
    flex-direction: column; /* This stacks the photo on top of the text on mobile */
    text-align: center;   /* This centers the layout on mobile */
    gap: 1.5rem;
}
@media (min-width: 992px) {
    /* This ensures the homepage grid is always 3 columns on wider screens */
    .gallery-grid-home {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* ADD THE NEW RULE BLOCK HERE */
@media (max-width: 1120px) {
    .nav-menu {
        gap: 1.2rem;
    }
    .nav-link {
        font-size: 0.8rem;
    }
    .dark-mode-switch {
        margin-left: 0;
    }
    .nav-logo {
        white-space: normal;
    }
}

@media (max-width: 900px) {
    .about-section, .contact-layout {
        grid-template-columns: 1fr;
    }
}
@media (max-width: 480px) {
    .contact-info-wrapper {
        flex-direction: column; /* Stacks the items vertically */
        align-items: center;  /* Centers them in the column */
        gap: 1.5rem;          /* Adjusts the space between them */
    }

    .contact-item a {
        font-size: 1rem; /* Makes the text slightly smaller to prevent overflow */
    }
}
