@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700;800&family=Plus+Jakarta+Sans:wght@300;400;500;600;700;800&display=swap');
@import url('https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.4.0/css/all.min.css');

/* CSS Variables for Premium Warm Palette */
:root {
    --bg-primary: #FAF8F5;
    --bg-secondary: #FFFFFF;
    --bg-tertiary: #F3ECE3;
    --color-primary: #4A7C59;
    --color-primary-dark: #355E41;
    --color-primary-light: #E9F3ED;
    --color-secondary: #E07A5F;
    --color-secondary-dark: #C55F45;
    --color-secondary-light: #FDF0ED;
    --color-accent: #F4F1DE;
    --color-text: #2D3A3A;
    --color-text-light: #6A7979;
    --shadow-sm: 0 4px 6px -1px rgba(74, 124, 89, 0.05), 0 2px 4px -1px rgba(74, 124, 89, 0.03);
    --shadow-md: 0 10px 20px -3px rgba(74, 124, 89, 0.08), 0 4px 12px -2px rgba(74, 124, 89, 0.04);
    --shadow-lg: 0 20px 30px -5px rgba(74, 124, 89, 0.12), 0 10px 20px -5px rgba(74, 124, 89, 0.06);
    --radius-sm: 8px;
    --radius-md: 16px;
    --radius-lg: 30px;
    --font-title: 'Outfit', sans-serif;
    --font-body: 'Plus Jakarta Sans', sans-serif;
    --transition-smooth: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    --transition-fast: all 0.2s ease;
}

/* Base Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    background-color: var(--bg-primary);
    color: var(--color-text);
    font-family: var(--font-body);
    line-height: 1.7;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-title);
    color: var(--color-text);
    font-weight: 700;
    line-height: 1.2;
}

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

img, video {
    max-width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
}

/* Utilities */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

.section-padding {
    padding: 100px 0;
}

.text-center {
    text-align: center;
}

.badge {
    background-color: var(--color-primary-light);
    color: var(--color-primary);
    padding: 8px 16px;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    display: inline-block;
    margin-bottom: 16px;
}

.section-title {
    font-size: 2.5rem;
    margin-bottom: 20px;
    position: relative;
    display: inline-block;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 4px;
    background-color: var(--color-secondary);
    border-radius: 2px;
}

.section-title.left::after {
    left: 0;
    transform: none;
}

.section-desc {
    color: var(--color-text-light);
    max-width: 600px;
    margin: 0 auto 60px auto;
    font-size: 1.1rem;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 14px 30px;
    font-family: var(--font-title);
    font-weight: 600;
    border-radius: 50px;
    cursor: pointer;
    transition: var(--transition-smooth);
    border: none;
    font-size: 1rem;
}

.btn-primary {
    background-color: var(--color-primary);
    color: var(--bg-secondary);
    box-shadow: 0 4px 15px rgba(74, 124, 89, 0.3);
}

.btn-primary:hover {
    background-color: var(--color-primary-dark);
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(74, 124, 89, 0.4);
}

.btn-secondary {
    background-color: var(--color-secondary);
    color: var(--bg-secondary);
    box-shadow: 0 4px 15px rgba(224, 122, 95, 0.3);
}

.btn-secondary:hover {
    background-color: var(--color-secondary-dark);
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(224, 122, 95, 0.4);
}

.btn-outline {
    background-color: transparent;
    border: 2px solid var(--color-primary);
    color: var(--color-primary);
}

.btn-outline:hover {
    background-color: var(--color-primary);
    color: var(--bg-secondary);
    transform: translateY(-3px);
}

.btn-white {
    background-color: var(--bg-secondary);
    color: var(--color-primary);
    box-shadow: var(--shadow-md);
}

.btn-white:hover {
    background-color: var(--color-primary-light);
    transform: translateY(-3px);
}

/* Header & Top Bar */
.top-bar {
    background-color: var(--color-primary);
    color: var(--bg-secondary);
    padding: 8px 0;
    font-size: 0.85rem;
    font-weight: 500;
}

.top-bar-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.top-bar-info {
    display: flex;
    gap: 24px;
}

.top-bar-info span {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.top-bar-socials {
    display: flex;
    gap: 16px;
}

.top-bar-socials a:hover {
    color: var(--color-accent);
}

.header {
    background-color: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: var(--shadow-sm);
    transition: var(--transition-smooth);
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 0;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    font-family: var(--font-title);
    font-size: 1.4rem;
    font-weight: 800;
    color: var(--color-primary);
}

.logo i {
    font-size: 1.8rem;
    color: var(--color-secondary);
}

.nav-menu {
    display: flex;
    gap: 32px;
    list-style: none;
}

.nav-link {
    font-family: var(--font-title);
    font-weight: 600;
    font-size: 1.05rem;
    position: relative;
    padding: 8px 0;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 3px;
    background-color: var(--color-secondary);
    transition: var(--transition-smooth);
    border-radius: 2px;
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

.nav-link:hover,
.nav-link.active {
    color: var(--color-primary);
}

.nav-toggle {
    display: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--color-primary);
}

/* Hero Slider */
.hero-slider {
    position: relative;
    height: 85vh;
    min-height: 550px;
    overflow: hidden;
    background-color: var(--bg-tertiary);
}

.slider-container {
    height: 100%;
    position: relative;
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    z-index: 1;
    transition: opacity 1s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    align-items: center;
    justify-content: center;
}

.slide.active {
    opacity: 1;
    z-index: 2;
}

.slide-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    filter: brightness(0.8);
    transform: scale(1.1);
    transition: transform 6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.slide.active .slide-bg {
    transform: scale(1);
}

.slide-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(250, 248, 245, 0.1) 0%, rgba(74, 124, 89, 0.3) 100%);
}

.slide-content {
    position: relative;
    z-index: 10;
    text-align: center;
    color: var(--bg-secondary);
    max-width: 800px;
    padding: 40px;
    border-radius: var(--radius-md);
    background: rgba(74, 124, 89, 0.2);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: var(--shadow-lg);
    transform: translateY(30px);
    opacity: 0;
    transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.8s ease;
}

.slide.active .slide-content {
    transform: translateY(0);
    opacity: 1;
    transition-delay: 0.4s;
}

.slide-tagline {
    font-size: 1.1rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 16px;
    color: var(--color-accent);
    display: inline-block;
    border-bottom: 2px solid var(--color-secondary);
    padding-bottom: 4px;
}

.slide-title {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 20px;
    color: var(--bg-secondary);
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.slide-desc {
    font-size: 1.25rem;
    margin-bottom: 30px;
    color: rgba(255, 255, 255, 0.9);
}

.slide-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    align-items: center;
}

/* Slider Controls */
.slider-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.25);
    backdrop-filter: blur(5px);
    color: var(--bg-secondary);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 10;
    border: 1px solid rgba(255, 255, 255, 0.3);
    transition: var(--transition-smooth);
}

.slider-arrow:hover {
    background: var(--color-primary);
    color: var(--bg-secondary);
    transform: translateY(-50%) scale(1.1);
    box-shadow: var(--shadow-md);
}

.slider-arrow-prev {
    left: 30px;
}

.slider-arrow-next {
    right: 30px;
}

.slider-dots {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 12px;
    z-index: 10;
}

.slider-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.4);
    cursor: pointer;
    transition: var(--transition-smooth);
    border: 2px solid transparent;
}

.slider-dot.active {
    background: var(--color-secondary);
    transform: scale(1.3);
    border-color: var(--bg-secondary);
}

/* Dedication / Intro Section */
.dedication-section {
    background: linear-gradient(to bottom, var(--bg-primary), var(--bg-secondary));
}

.grid-dedication {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.dedication-images {
    position: relative;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.dedication-img-card {
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: var(--transition-smooth);
}

.dedication-img-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.dedication-img-card.tall {
    grid-row: span 2;
}

.dedication-img-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.dedication-content {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.dedication-content h2 {
    font-size: 2.8rem;
    margin-bottom: 24px;
    color: var(--color-primary);
}

.dedication-content p {
    font-size: 1.1rem;
    color: var(--color-text-light);
    margin-bottom: 30px;
}

.dedication-features {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    width: 100%;
    margin-bottom: 40px;
}

.feature-item {
    display: flex;
    align-items: flex-start;
    gap: 16px;
}

.feature-icon-wrapper {
    background-color: var(--color-primary-light);
    color: var(--color-primary);
    width: 50px;
    height: 50px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    flex-shrink: 0;
}

.feature-title {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 4px;
}

.feature-desc {
    font-size: 0.9rem;
    color: var(--color-text-light);
}

/* Custom Cards (Services / Benefits) */
.services-cards-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 50px;
}

.service-card {
    background-color: var(--bg-secondary);
    border-radius: var(--radius-md);
    padding: 40px 30px;
    box-shadow: var(--shadow-sm);
    border: 1px solid rgba(74, 124, 89, 0.05);
    transition: var(--transition-smooth);
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background-color: var(--color-primary);
    transition: var(--transition-smooth);
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
    border-color: var(--color-primary-light);
}

.service-card:hover::before {
    background-color: var(--color-secondary);
    height: 8px;
}

.service-card-icon {
    width: 70px;
    height: 70px;
    border-radius: 20px;
    background-color: var(--color-primary-light);
    color: var(--color-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    margin-bottom: 24px;
    transition: var(--transition-smooth);
}

.service-card:hover .service-card-icon {
    background-color: var(--color-secondary-light);
    color: var(--color-secondary);
    transform: rotate(5deg) scale(1.05);
}

.service-card-title {
    font-size: 1.4rem;
    margin-bottom: 16px;
}

.service-card-desc {
    color: var(--color-text-light);
    font-size: 0.95rem;
    margin-bottom: 24px;
    flex-grow: 1;
}

.service-card-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: var(--font-title);
    font-weight: 700;
    color: var(--color-primary);
}

.service-card-link:hover {
    color: var(--color-secondary);
}

/* Gallery / Masonry Grid */
.gallery-section {
    background-color: var(--bg-tertiary);
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-gap: 20px;
    margin-top: 40px;
}

.gallery-item {
    position: relative;
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    height: 250px;
    transition: var(--transition-smooth);
}

.gallery-item.wide {
    grid-column: span 2;
}

.gallery-item.tall {
    grid-row: span 2;
    height: 520px;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-smooth);
}

.gallery-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, rgba(74, 124, 89, 0.8) 0%, rgba(224, 122, 95, 0.3) 100%);
    opacity: 0;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 24px;
    color: var(--bg-secondary);
    transition: var(--transition-smooth);
    pointer-events: none;
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
}

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

.gallery-overlay h4 {
    color: var(--bg-secondary);
    font-size: 1.25rem;
    margin-bottom: 4px;
}

.gallery-overlay p {
    font-size: 0.85rem;
    opacity: 0.9;
}

/* Video Section styling */
.video-section {
    background-color: var(--bg-secondary);
}

.video-player-container {
    width: 100%;
    max-width: 900px;
    margin: 0 auto;
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    border: 6px solid var(--color-primary-light);
    position: relative;
    background-color: #000;
    aspect-ratio: 16/9;
}

.video-player-container video {
    width: 100%;
    height: 100%;
}

.video-carousel {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 30px;
}

.video-thumbnail {
    width: 120px;
    height: 75px;
    border-radius: var(--radius-sm);
    overflow: hidden;
    cursor: pointer;
    opacity: 0.6;
    border: 3px solid transparent;
    transition: var(--transition-smooth);
}

.video-thumbnail.active, .video-thumbnail:hover {
    opacity: 1;
    border-color: var(--color-secondary);
    transform: scale(1.05);
}

/* Call to Action & Contact Form */
.cta-section {
    background-color: var(--color-primary);
    color: var(--bg-secondary);
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    width: 300px;
    height: 300px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.05);
    top: -100px;
    right: -100px;
}

.cta-section::after {
    content: '';
    position: absolute;
    width: 400px;
    height: 400px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.03);
    bottom: -150px;
    left: -150px;
}

.cta-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 60px;
    align-items: center;
    position: relative;
    z-index: 10;
}

.cta-info h2 {
    color: var(--bg-secondary);
    font-size: 2.8rem;
    margin-bottom: 20px;
}

.cta-info p {
    font-size: 1.15rem;
    margin-bottom: 30px;
    color: rgba(255, 255, 255, 0.9);
}

.contact-card-box {
    background-color: var(--bg-secondary);
    border-radius: var(--radius-md);
    padding: 40px;
    box-shadow: var(--shadow-lg);
    color: var(--color-text);
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    font-weight: 600;
    margin-bottom: 8px;
    font-size: 0.9rem;
    color: var(--color-text);
}

.form-control {
    width: 100%;
    padding: 14px 20px;
    border-radius: var(--radius-sm);
    border: 1px solid var(--bg-tertiary);
    background-color: var(--bg-primary);
    font-family: var(--font-body);
    font-size: 0.95rem;
    transition: var(--transition-fast);
}

.form-control:focus {
    outline: none;
    border-color: var(--color-primary);
    background-color: var(--bg-secondary);
    box-shadow: 0 0 0 4px var(--color-primary-light);
}

/* Floating Contact Buttons */
.floating-container {
    position: fixed;
    bottom: 30px;
    right: 30px;
    display: flex;
    flex-direction: column;
    gap: 15px;
    z-index: 9999;
}

.btn-float {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--bg-secondary);
    font-size: 1.8rem;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
    cursor: pointer;
    position: relative;
    transition: var(--transition-smooth);
}

.btn-float:hover {
    transform: scale(1.1) translateY(-5px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.25);
}

.btn-float.whatsapp {
    background-color: #25D366;
    animation: float-pulse 2s infinite;
}

.btn-float.call {
    background-color: var(--color-secondary);
}

.btn-float.whatsapp:hover {
    background-color: #20BA5A;
}

.btn-float.call:hover {
    background-color: var(--color-secondary-dark);
}

.btn-float-tooltip {
    position: absolute;
    right: 75px;
    background-color: var(--color-text);
    color: var(--bg-secondary);
    padding: 8px 16px;
    border-radius: var(--radius-sm);
    font-size: 0.85rem;
    font-weight: 600;
    white-space: nowrap;
    opacity: 0;
    pointer-events: none;
    transform: translateX(10px);
    transition: var(--transition-smooth);
    box-shadow: var(--shadow-md);
}

.btn-float:hover .btn-float-tooltip {
    opacity: 1;
    transform: translateX(0);
}

@keyframes float-pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7);
    }
    70% {
        box-shadow: 0 0 0 15px rgba(37, 211, 102, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
    }
}

/* Footer Section */
.footer {
    background-color: var(--bg-tertiary);
    color: var(--color-text);
    padding: 80px 0 30px 0;
    border-top: 1px solid rgba(74, 124, 89, 0.1);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
    gap: 40px;
    margin-bottom: 50px;
}

.footer-col h4 {
    font-size: 1.25rem;
    margin-bottom: 24px;
    position: relative;
    padding-bottom: 10px;
}

.footer-col h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 45px;
    height: 3px;
    background-color: var(--color-secondary);
    border-radius: 2px;
}

.footer-about p {
    color: var(--color-text-light);
    margin-bottom: 24px;
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    color: var(--color-text-light);
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.footer-links a:hover {
    color: var(--color-primary);
    transform: translateX(5px);
}

.footer-contact-list {
    list-style: none;
}

.footer-contact-list li {
    display: flex;
    gap: 12px;
    margin-bottom: 16px;
    color: var(--color-text-light);
}

.footer-contact-list i {
    color: var(--color-primary);
    font-size: 1.1rem;
    margin-top: 4px;
}

.footer-socials {
    display: flex;
    gap: 12px;
    margin-top: 20px;
}

.footer-social-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: var(--bg-secondary);
    color: var(--color-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    box-shadow: var(--shadow-sm);
    transition: var(--transition-smooth);
}

.footer-social-icon:hover {
    background-color: var(--color-primary);
    color: var(--bg-secondary);
    transform: translateY(-3px);
}

.footer-bottom {
    border-top: 1px solid rgba(74, 124, 89, 0.1);
    padding-top: 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.9rem;
    color: var(--color-text-light);
}

/* Scroll reveal animations class */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* Page Headers (for inner pages) */
.page-header {
    background: linear-gradient(135deg, var(--color-primary-light) 0%, var(--bg-tertiary) 100%);
    padding: 80px 0;
    position: relative;
    overflow: hidden;
}

.page-header::before {
    content: '';
    position: absolute;
    width: 250px;
    height: 250px;
    border-radius: 50%;
    background-color: rgba(224, 122, 95, 0.06);
    top: -50px;
    right: 50px;
}

.page-header-content {
    text-align: center;
    position: relative;
    z-index: 10;
}

.page-header-title {
    font-size: 3rem;
    color: var(--color-primary);
    margin-bottom: 12px;
}

.breadcrumbs {
    display: flex;
    justify-content: center;
    gap: 8px;
    font-family: var(--font-title);
    font-weight: 600;
    font-size: 0.95rem;
}

.breadcrumbs a {
    color: var(--color-text-light);
}

.breadcrumbs a:hover {
    color: var(--color-primary);
}

.breadcrumbs span.current {
    color: var(--color-secondary);
}

/* Responsive Styles */
@media (max-width: 1024px) {
    .services-cards-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .gallery-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    .footer-grid {
        grid-template-columns: 1.5fr 1fr 1fr;
    }
}

@media (max-width: 768px) {
    html {
        font-size: 15px;
    }
    .top-bar {
        display: none;
    }
    .navbar {
        padding: 12px 0;
    }
    .nav-toggle {
        display: block;
    }
    .nav-menu {
        position: fixed;
        top: 60px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 60px);
        background-color: var(--bg-secondary);
        flex-direction: column;
        align-items: center;
        padding-top: 40px;
        transition: var(--transition-smooth);
        box-shadow: var(--shadow-lg);
        z-index: 999;
    }
    .nav-menu.active {
        left: 0;
    }
    .hero-slider {
        height: 70vh;
    }
    .slide-title {
        font-size: 2.2rem;
    }
    .slide-desc {
        font-size: 1.05rem;
    }
    .slide-buttons {
        flex-direction: column;
        gap: 12px;
        width: 100%;
    }
    .slide-buttons .btn {
        width: 100%;
    }
    .slider-arrow {
        width: 45px;
        height: 45px;
        font-size: 1rem;
    }
    .slider-arrow-prev {
        left: 10px;
    }
    .slider-arrow-next {
        right: 10px;
    }
    .grid-dedication {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    .dedication-images {
        order: 2;
    }
    .services-cards-grid {
        grid-template-columns: 1fr;
    }
    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .gallery-item.tall {
        height: 250px;
        grid-row: span 1;
    }
    .cta-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
    .footer-bottom {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .section-title {
        font-size: 2rem;
    }
    .gallery-grid {
        grid-template-columns: 1fr;
    }
    .gallery-item.wide {
        grid-column: span 1;
    }
    .footer-grid {
        grid-template-columns: 1fr;
    }
    .dedication-features {
        grid-template-columns: 1fr;
    }
}
