/* ==================================================
1. CSS VARIABLES
================================================== */
:root {
    /* Ease Settings */
    --ease-out: cubic-bezier(0.22, 1, 0.36, 1);

    /* Color Palette */
    --color-primary: #6cbf43;
    --color-primary-dark: #4caf2a;
    --color-primary-light: #8be25c;
    --color-primary-ultra-light: #b4ff84;
    --color-primary-bg: #ecf8e8;
    
    --color-dark: #111111;
    --color-dark-deeper: #121212;
    --color-bg-dark-1: #141414;
    --color-bg-dark-2: #0a0a0a;
    --color-bg-dark-3: #0f0f0f;
    --color-bg-light: #ffffff;
    
    --color-text-dark: #1a1a1a;
    --color-text-muted: #6b6b6b;
    --color-text-muted-light: #9e9e9e;
    --color-text-muted-medium: #6f6f6f;
    --color-text-muted-dark: #666666;
    --color-text-social-muted: #8a8a8a;
    --color-white: #ffffff;

    /* Social Brands */
    --color-fb: #1877f2;
    --color-wa: #25d366;
    --color-yt: #ff0000;

    /* Border Radii */
    --radius-small: 10px;
    --radius-medium: 14px;
    --radius-large: 16px;
    --radius-xlarge: 20px;
    --radius-xxlarge: 26px;
    --radius-stat: 28px;
    --radius-pill: 30px;
    --radius-filters: 40px;
    --radius-circle: 50%;

    /* Container Widths */
    --container-max-width: 1200px;

    /* Spacing System */
    --spacing-xxs: 6px;
    --spacing-xs: 12px;
    --spacing-sm: 16px;
    --spacing-md: 20px;
    --spacing-lg: 24px;
    --spacing-xl: 30px;
    --spacing-xxl: 40px;
    --spacing-xxxl: 60px;
    --spacing-huge: 80px;
    --spacing-massive: 100px;

    /* Shadows */
    --shadow-button: 0 4px 12px rgba(0, 0, 0, 0.4);
    --shadow-button-hover: 0 12px 35px rgba(85, 255, 0, 0.35), 0 0 60px rgba(108, 191, 67, 0.25);
    --shadow-filters: 0 10px 30px rgba(0, 0, 0, 0.25);
    --shadow-filter-pill: 0 6px 18px rgba(108, 191, 67, 0.35);
    --shadow-stats: 0 35px 90px rgba(0, 0, 0, 0.6), 0 10px 30px rgba(0, 0, 0, 0.4);
    --shadow-stat-icon: 0 10px 25px rgba(108, 191, 67, 0.35), 0 0 25px rgba(108, 191, 67, 0.15);
    --shadow-stat-icon-hover: 0 18px 40px rgba(108, 191, 67, 0.5), 0 0 40px rgba(108, 191, 67, 0.25);
    --shadow-stats-hover: 0 60px 140px rgba(0, 0, 0, 0.75);
    --shadow-card: 0 25px 60px rgba(0, 0, 0, 0.25);
    --shadow-cta: 0 25px 60px rgba(0, 0, 0, 0.08);
    --shadow-cta-hover: 0 35px 80px rgba(0, 0, 0, 0.12);
    --shadow-icon-box: 0 12px 30px rgba(34, 94, 60, 0.35);
    --shadow-icon-box-hover: 0 20px 50px rgba(34, 94, 60, 0.5), 0 0 25px rgba(108, 191, 67, 0.3);
    --shadow-social-icon: 0 12px 30px rgba(0, 0, 0, 0.2), 0 0 20px rgba(0, 0, 0, 0.08);
    --shadow-social-icon-hover: 0 25px 60px rgba(0, 0, 0, 0.35), 0 0 40px rgba(108, 191, 67, 0.35);
    --shadow-lightbox-img: 0 30px 80px rgba(0, 0, 0, 0.7), 0 0 40px rgba(108, 191, 67, 0.2);
    --shadow-scroll-top: 0 8px 20px rgba(0, 0, 0, 0.2);
    --shadow-scroll-top-hover: 0 14px 35px rgba(0, 0, 0, 0.25);
}

/* ==================================================
2. GLOBAL STYLES
================================================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    color: var(--color-dark, #111111);
    background:
        linear-gradient(
            rgba(255, 255, 255, 0.35), 
            rgba(255, 255, 255, 0.35)
        ),
        url("../assets/images/newContact.png") center/cover no-repeat fixed;
}

/* ==================================================
3. PAGE LAYOUT
================================================== */
.container {
    width: 100%;
    max-width: var(--container-max-width, 75rem);
    margin-left: auto;
    margin-right: auto;
    padding-left: 1.25rem;
    padding-right: 1.25rem;
}



/* Premium CTA Section */
.cta {
    margin: var(--spacing-massive, 6.25rem) auto;
    padding: 2.5rem 3.125rem;
    background: var(--color-bg-light, #ffffff);
    border-radius: var(--radius-xxlarge, 1.625rem);
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1.25rem;
    box-shadow: var(--shadow-cta);
    transition: all 0.4s var(--ease-out);
}

.cta:hover {
    transform: translateY(-0.25rem);
    box-shadow: var(--shadow-cta-hover);
}

.cta-left {
    display: flex;
    gap: 1.25rem;
    align-items: center;
}

.icon {
    width: 3.375rem;
    height: 3.375rem;
    background: linear-gradient(145deg, #f3fbef, #e6f7df);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius-circle, 50%);
    font-size: 20px;
    color: var(--color-primary, #6cbf43);
    box-shadow:
        0 8px 18px rgba(108, 191, 67, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.7);
    transition: all 0.4s ease;
}

.cta:hover .icon {
    transform: scale(1.08);
}

.cta h3 {
    margin-bottom: 0.375rem;
    font-size: 18px;
    font-weight: 600;
}

.cta p {
    color: var(--color-text-muted-dark, #666666);
    font-size: 14px;
    line-height: 1.5;
}

/* ==================================================
4. HEADER
================================================== */
.gallery {
    position: relative;
    z-index: 1;
}

.gallery-header {
    display: block;
    margin-top: var(--spacing-xxxl, 3.75rem);
}

.gallery-header .left {
    max-width: 32.5rem;
}

.tag {
    display: inline-block;
    font-size: 11px;
    letter-spacing: 3px;
    text-transform: uppercase;
    font-weight: 600;
    color: var(--color-primary, #6cbf43);
    position: relative;
    padding-left: 1.875rem;
}

.tag::before {
    content: "";
    position: absolute;
    left: 0;
    top: 50%;
    width: 1.25rem;
    height: 2px;
    background: var(--color-primary, #6cbf43);
    transform: translateY(-50%);
}

.gallery-header h1 {
    font-size: 48px;
    line-height: 1.1;
    letter-spacing: -0.6px;
    font-weight: 600;
}

.gallery-header p {
    font-size: 15px;
    line-height: 1.7;
    color: var(--color-text-muted, #6b6b6b);
    margin-top: 1.125rem;
}

.gallery-header h1 span {
    color: var(--color-primary, #6cbf43);
}

/* ==================================================
6. GALLERY FILTERS
================================================== */
.filters {
    position: relative;
    overflow: hidden;
    margin-top: 2rem;
    display: inline-flex;
    align-items: center;
    padding: 0.375rem;
    border-radius: var(--radius-filters, 2.5rem);
    background: linear-gradient(
        145deg,
        rgba(20, 40, 30, 0.85),
        rgba(15, 30, 22, 0.85)
    );
    backdrop-filter: blur(14px);
    border: 1px solid rgba(108, 191, 67, 0.25);
    box-shadow: var(--shadow-filters);
}

.filters::before {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: var(--radius-filters, 2.5rem);
    background: radial-gradient(
        circle at 30% 20%,
        rgba(108, 191, 67, 0.15),
        transparent 60%
    );
    pointer-events: none;
}

.filter-pill {
    position: absolute;
    top: 0.375rem;
    height: calc(100% - 0.75rem);
    border-radius: var(--radius-pill, 1.875rem);
    background: linear-gradient(
        135deg,
        var(--color-primary, #6cbf43),
        var(--color-primary-dark, #4caf2a)
    );
    box-shadow: var(--shadow-filter-pill);
    transition: all 0.35s var(--ease-out);
    z-index: 0;
    left: 0;
}

.filters button {
    border: none;
    background: transparent;
    padding: 0.625rem 1.375rem;
    border-radius: var(--radius-pill, 1.875rem);
    font-size: 14px;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.6);
    cursor: pointer;
    position: relative;
    z-index: 1;
    transition: all 0.3s ease;
}

.filters button.active {
    color: var(--color-white, #ffffff);
}

.filters button:hover {
    color: var(--color-white, #ffffff);
}

.filters button:active {
    transform: scale(0.94);
}

/* ==================================================
7. GALLERY GRID
================================================== */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(17.5rem, 1fr));
    gap: var(--spacing-lg, 1.5rem);
    margin-top: var(--spacing-xxxl, 3.75rem);
    overflow: visible;
    isolation: isolate;
}

.big {
    grid-column: span 2;
    grid-row: span 1;
    aspect-ratio: auto;
    height: 400px; /* Keep exact image height */
}

/* ==================================================
8. GALLERY CARDS
================================================== */
.card {
    position: relative;
    border-radius: var(--radius-xlarge, 1.25rem);
    overflow: hidden;
    background: #111;
    cursor: pointer;
    will-change: transform;
    transform-origin: center;
    backface-visibility: hidden;
    transition: transform 0.4s var(--ease-out),
               box-shadow 0.4s ease;
    z-index: 1;
}

.card.show {
    opacity: 1;
    transform: scale(1) translateY(0);
}

.card.hide {
    opacity: 0;
    transform: scale(0.9) translateY(20px);
    pointer-events: none;
}

.card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transform: none !important;
    transition: transform 1.2s var(--ease-out);
}

.card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-card);
    z-index: 2;
}

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

.card::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(
        120deg,
        transparent,
        rgba(255, 255, 255, 0.15),
        transparent
    );
    opacity: 0;
    transition: 0.6s;
}

.card:hover::after {
    opacity: 1;
}

/* ==================================================
9. MODAL / LIGHTBOX
================================================== */
.lightbox {
    position: fixed;
    inset: 0;
    display: none;
    align-items: center;
    justify-content: center;
    background: rgba(10, 15, 12, 0.95);
    backdrop-filter: blur(8px);
    z-index: 9999;
    opacity: 0;
    transition: opacity 0.35s ease;
}

.lightbox.active {
    display: flex;
    opacity: 1;
}

.lightbox-img {
    max-width: 85%;
    max-height: 80vh;
    border-radius: var(--radius-large, 1rem);
    box-shadow: var(--shadow-lightbox-img);
    transform: scale(0.9);
    transition: transform 0.35s var(--ease-out);
}

.lightbox.active .lightbox-img {
    transform: scale(1);
}

.lightbox-close {
    position: absolute;
    top: 1.875rem;
    right: 2.5rem;
    font-size: 28px;
    color: var(--color-white, #ffffff);
    cursor: pointer;
    opacity: 0.7;
    transition: 0.3s;
}

.lightbox-close:hover {
    opacity: 1;
    transform: scale(1.2);
}

.lightbox-prev,
.lightbox-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.08);
    border: none;
    width: 3.125rem;
    height: 3.125rem;
    border-radius: var(--radius-circle, 50%);
    color: var(--color-white, #ffffff);
    font-size: 22px;
    cursor: pointer;
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
}

.lightbox-prev:hover,
.lightbox-next:hover {
    background: rgba(108, 191, 67, 0.4);
    transform: translateY(-50%) scale(1.1);
}

.lightbox-prev {
    left: 2.5rem;
}

.lightbox-next {
    right: 2.5rem;
}

.lightbox-counter {
    position: absolute;
    bottom: 1.875rem;
    left: 50%;
    transform: translateX(-50%);
    color: #ddd;
    font-size: 13px;
    letter-spacing: 1px;
    opacity: 0.8;
}

/* ==================================================
10. BUTTONS
================================================== */
.back-btn {
    margin-top: 1.875rem;
}

.back-modern {
    border: none;
    height: 50px;
    padding: 0 1.5rem;
    border-radius: var(--radius-pill, 1.875rem);
    display: inline-flex;
    align-items: center;
    gap: var(--spacing-xs, 0.75rem);
    background: var(--color-dark-deeper, #121212);
    cursor: pointer;
    text-decoration: none;
    transition: all 0.45s var(--ease-out);
    box-shadow: var(--shadow-button);
}

.arrow-icon {
    width: 20px;
    height: 20px;
    display: block;
    transition: transform 0.5s var(--ease-out);
}

.back-modern .text {
    font-weight: 500;
    color: var(--color-white, #ffffff);
    font-size: 14px;
    letter-spacing: 0.4px;
    transition: all 0.4s ease;
}

.back-modern:hover {
    background: linear-gradient(135deg, var(--color-primary, #6cbf43), var(--color-primary-dark, #4caf2a));
    box-shadow: var(--shadow-button-hover);
    transform: translateY(-3px) scale(1.02);
}

.back-modern:hover .arrow-icon {
    stroke: var(--color-white, #ffffff) !important;
    transform: translateX(-6px) scale(1.05);
    filter: drop-shadow(0 0 6px rgba(255, 255, 255, 0.9));
    animation: arrowElastic 0.6s var(--ease-out);
}

.back-modern:hover .text {
    color: var(--color-white, #ffffff);
    letter-spacing: 0.6px;
    transform: translateX(-2px);
    transition: transform 0.4s var(--ease-out);
}

.cta-btn-modern {
    height: 52px;
    padding: 0 1.625rem;
    border-radius: var(--radius-pill, 1.875rem);
    display: inline-flex;
    align-items: center;
    gap: var(--spacing-xs, 0.75rem);
    background: var(--color-dark-deeper, #121212);
    color: var(--color-white, #ffffff);
    text-decoration: none;
    cursor: pointer;
    font-weight: 500;
    font-size: 14px;
    letter-spacing: 0.4px;
    transition: all 0.45s var(--ease-out);
    box-shadow:
        0 6px 18px rgba(0, 0, 0, 0.25),
        inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

.cta-btn-modern:hover {
    background: linear-gradient(135deg, var(--color-primary, #6cbf43), var(--color-primary-dark, #4caf2a));
    box-shadow:
        0 12px 35px rgba(108, 191, 67, 0.4),
        0 0 60px rgba(108, 191, 67, 0.25),
        inset 0 1px 0 rgba(255, 255, 255, 0.4);
    transform: translateY(-3px) scale(1.02);
}

.cta-btn-modern .text {
    color: var(--color-white, #ffffff);
}

.cta-btn-modern:hover .arrow-icon {
    animation: arrowElasticCTA 0.6s var(--ease-out);
}

.scroll-top {
    position: fixed;
    bottom: 1.75rem;
    right: 1.75rem;
    width: 2.75rem;
    height: 2.75rem;
    border-radius: var(--radius-circle, 50%);
    border: none;
    background: linear-gradient(135deg, var(--color-primary, #6cbf43), var(--color-primary-dark, #4caf2a));
    color: var(--color-white, #ffffff);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 9999;
    box-shadow: var(--shadow-scroll-top);
    opacity: 0;
    transform: translateY(15px);
    transition: all 0.35s var(--ease-out);
}

/* Ensure the arrow remains perfectly centered and has no shifting transforms */
.scroll-top svg {
    display: block;
    margin: auto;
    transform: none !important;
}

/* Fallback centering styling for icons */
.scroll-top i {
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0;
    padding: 0;
    line-height: 1;
    transform: none !important;
}

/* Styled absolutely to prevent pushing the flex item (SVG) on click */
.scroll-top .scroll-ripple {
    position: absolute;
    border-radius: var(--radius-circle, 50%);
    transform: scale(0);
    background: rgba(255, 255, 255, 0.4);
    animation: rippleAnim 0.6s linear;
    pointer-events: none;
}

.scroll-top.show {
    opacity: 1;
    transform: translateY(0);
}

.scroll-top:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: var(--shadow-scroll-top-hover);
}

.scroll-top:hover svg {
    transform: none !important;
}

.scroll-top:active {
    transform: scale(0.92);
}

.scroll-top:active svg {
    transform: none !important;
}

/* ==================================================
11. FOOTER
================================================== */
/* Social Connect bottom page block */
.social-connect {
    margin: 2.5rem auto 1.25rem;
    text-align: center;
    margin-top: var(--spacing-massive, 6.25rem);
}

.social-connect h2,
.social-connect p {
    text-align: center;
}

.social-divider {
    width: 7.5rem;
    height: 1px;
    margin: 0 auto 1.25rem;
    background: linear-gradient(
        to right,
        transparent,
        rgba(108, 191, 67, 0.6),
        transparent
    );
}

.social-connect h2 {
    font-size: 26px;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.social-connect p {
    font-size: 14px;
    color: #777;
    max-width: 32.5rem;
    margin: 0 auto;
}

.social-grid {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: var(--spacing-huge, 5rem);
    margin-top: 2.5rem;
    flex-wrap: wrap;
}

.social-card {
    flex: 1;
    text-align: center;
    position: relative;
    text-decoration: none;
    color: inherit;
    transition: transform 0.25s var(--ease-out);
    will-change: transform;
    transform-style: preserve-3d;
    perspective: 1000px;
    cursor: pointer;
}

.social-card:not(:last-child)::after {
    content: "";
    position: absolute;
    display: none;
    top: 0.9375rem;
    width: 1px;
    height: 4.375rem;
    background: linear-gradient(
        to bottom,
        transparent,
        rgba(108, 191, 67, 0.25),
        transparent
    );
}

.social-icon {
    width: 4.125rem;
    height: 4.125rem;
    border-radius: 1.125rem;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: auto;
    font-size: 22px;
    color: var(--color-white, #ffffff);
    position: relative;
    overflow: hidden;
    transform: translateZ(40px);
    box-shadow: var(--shadow-social-icon);
    transition: all 0.5s var(--ease-out);
    animation: iconBreath 4s ease-in-out infinite;
}

.social-card h4,
.social-card span {
    transform: translateZ(20px);
}

.fb { background: var(--color-fb, #1877f2); }
.ig {
    background: linear-gradient(
        135deg,
        #f58529,
        #dd2a7b,
        #8134af,
        #515bd4
    );
}
.wa { background: var(--color-wa, #25d366); }
.yt { background: var(--color-yt, #ff0000); }

.social-card h4 {
    margin-top: 0.875rem;
    font-size: 14px;
    font-weight: 600;
    color: var(--color-text-dark, #1a1a1a);
}

.social-card span {
    font-size: 12px;
    color: var(--color-text-social-muted, #8a8a8a);
}

.social-card:hover {
    transform: translateY(-6px);
}

.social-icon::before {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: inherit;
    background: linear-gradient(
        120deg,
        transparent,
        rgba(255, 255, 255, 0.6),
        transparent
    );
    opacity: 0;
    transform: translateX(-120%);
    transition: 0.6s;
}

.social-icon::after {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: inherit;
    background: radial-gradient(
        circle at 30% 20%,
        rgba(255, 255, 255, 0.35),
        transparent 60%
    );
    opacity: 0.3;
}

.social-card:hover .social-icon {
    transform: translateY(-12px) scale(1.12);
    box-shadow: var(--shadow-social-icon-hover);
}

.social-card:hover .social-icon::before {
    opacity: 1;
    transform: translateX(120%);
}

.social-card:hover::before {
    opacity: 1;
}

.social-card::after {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: var(--radius-xlarge, 1.25rem);
    background: radial-gradient(
        circle at var(--x, 50%) var(--y, 50%),
        rgba(108, 191, 67, 0.18),
        transparent 65%
    );
    opacity: 0;
    transition: opacity 0.3s ease;
}

.social-card:hover::after {
    opacity: 1;
}

.social-card:active {
    transform: scale(0.94) !important;
    transition: 0.1s;
}

.ripple {
    position: absolute;
    border-radius: var(--radius-circle, 50%);
    transform: scale(0);
    background: rgba(255, 255, 255, 0.5);
    animation: rippleAnim 0.6s linear;
    pointer-events: none;
}

.clicked {
    animation: clickPulse 0.35s var(--ease-out);
}

.social-card .burst {
    position: absolute;
    inset: 0;
    border-radius: var(--radius-xlarge, 1.25rem);
    background: radial-gradient(
        circle,
        rgba(108, 191, 67, 0.4),
        transparent 70%
    );
    opacity: 0;
    animation: burstAnim 0.4s ease;
    pointer-events: none;
}

/* Remove translucent background/glass layer behind the YouTube social card only */
.social-card:has(.yt)::after,
.social-card:has(.yt)::before,
.social-card:has(.yt) .burst,
.social-card:nth-child(4)::after,
.social-card:nth-child(4)::before,
.social-card:nth-child(4) .burst {
    display: none !important;
    opacity: 0 !important;
}

/* ==================================================
12. ANIMATIONS
================================================== */
@keyframes arrowElastic {
    0% { transform: translateX(0); }
    40% { transform: translateX(-8px); }
    65% { transform: translateX(-3px); }
    85% { transform: translateX(-6px); }
    100% { transform: translateX(-5px); }
}

@keyframes arrowElasticCTA {
    0% { transform: translateX(0); }
    40% { transform: translateX(8px); }
    65% { transform: translateX(3px); }
    85% { transform: translateX(6px); }
    100% { transform: translateX(5px); }
}

@keyframes fadeLuxury {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes iconBreath {
    0% {
        box-shadow:
            0 12px 30px rgba(0,0,0,0.2),
            0 0 0 rgba(108,191,67,0);
    }
    50% {
        box-shadow:
            0 16px 40px rgba(0,0,0,0.25),
            0 0 18px rgba(108,191,67,0.25);
    }
    100% {
        box-shadow:
            0 12px 30px rgba(0,0,0,0.2),
            0 0 0 rgba(108,191,67,0);
    }
}

@keyframes rippleAnim {
    to {
        transform: scale(4);
        opacity: 0;
    }
}

@keyframes clickPulse {
    0% { transform: scale(1); }
    40% { transform: scale(0.9); }
    70% { transform: scale(1.05); }
    100% { transform: scale(1); }
}

@keyframes burstAnim {
    0% {
        opacity: 0.7;
        transform: scale(0.6);
    }
    100% {
        opacity: 0;
        transform: scale(1.4);
    }
}

/* ==================================================
13. UTILITIES
================================================== */
html {
    scroll-behavior: smooth;
}

.reveal {
    opacity: 0;
    transform: translateY(60px) scale(0.96);
    transition: all 1s var(--ease-out);
}

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

/* ================= RESPONSIVE MEDIA QUERIES (BYTE-FOR-BYTE PRESERVED) ================= */
@media(max-width:900px){

    .features{
        flex-direction:column;
        align-items:center;
        text-align:center;
        gap:40px;
    }

    .feature::after{
        display:none;
    }
}

@media(max-width:900px){

    .gallery-header{
        flex-direction:column;
    }

    .gallery-grid{
    gap:20px;
}

    .big{
        grid-column: span 2;
    }

    .wide{
        grid-column: span 2;
    }

    .tall{
        grid-row: span 2;
    }

    .features{
        flex-direction:column;
        align-items:center;
        text-align:center;
    }

    .cta{
        flex-direction:column;
        gap:20px;
        text-align:center;
    }
}

@media(max-width:500px){

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

    .big,
    .wide{
        grid-column: span 1;
    }
}

@media(max-width:900px){

    .social-grid{
        flex-wrap:wrap;
        gap:40px;
        padding:0;
        justify-content:center;
    }

    .social-card{
        flex:unset;
        width:120px;
    }

    .social-card::after{
        display:none;
    }
}
