:root {
    --primary: #C5A059;
    /* Gold */
    --secondary: #2D4F3E;
    /* Tropical Green */
    --bg-light: #F9F7F2;
    /* Off-White */
    --bg-dark: #1A1A1A;
    /* Dark Slate */
    --accent: #DED5C4;
    /* Beige */
    --text-dark: #2A2A2A;
    --text-light: #F9F7F2;
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Inter', sans-serif;
    --transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    --container-width: 1200px;
    --section-padding: 100px 0;
}

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

html {
    scroll-behavior: smooth;
}

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

/* Typography */
h1,
h2,
h3,
h4,
.logo {
    font-family: var(--font-heading);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
}

h2 {
    font-size: 2.5rem;
    margin-bottom: 2rem;
    position: relative;
}

.subtitle {
    display: block;
    color: var(--primary);
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 4px;
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

.subtitle.light {
    color: var(--accent);
}

p {
    margin-bottom: 1.5rem;
    font-weight: 300;
    font-size: 1.1rem;
}

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

/* Buttons */
.btn {
    display: inline-block;
    padding: 15px 40px;
    font-family: var(--font-heading);
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 0.85rem;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    transition: var(--transition);
    border: none;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.btn::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 0;
    background: rgba(255, 255, 255, 0.1);
    transition: var(--transition);
    z-index: -1;
}

.btn:hover::after {
    height: 100%;
}

.btn-primary {
    background-color: var(--primary);
    color: white;
}

.btn-primary:hover {
    background-color: #b08d4a;
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.btn-outline {
    background-color: transparent;
    border: 1px solid white;
    color: white;
}

.btn-outline:hover {
    background-color: white;
    color: var(--text-dark);
    transform: translateY(-3px);
}

.btn-block {
    display: block;
    width: 100%;
}

/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 25px 0;
    transition: var(--transition);
}

.navbar.scrolled {
    background: rgba(26, 26, 26, 0.95);
    backdrop-filter: blur(10px);
    padding: 15px 0;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.nav-container {
    max-width: var(--container-width);
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 20px;
}

.logo {
    color: white;
    font-size: 1.5rem;
    text-decoration: none;
}

.nav-links {
    display: flex;
    list-style: none;
    align-items: center;
}

.nav-links li {
    margin-left: 35px;
}

.nav-links a {
    color: white;
    text-decoration: none;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-weight: 500;
    transition: var(--transition);
    opacity: 0.8;
}

.nav-links a:hover {
    color: var(--primary);
    opacity: 1;
}

.btn-nav {
    background: var(--primary);
    padding: 10px 20px !important;
    opacity: 1 !important;
}

/* Hero Section */
.hero {
    min-height: 100vh;
    background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    position: relative;
    overflow: hidden;
    padding: 120px 0 80px;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 20% 20%, rgba(197, 160, 89, 0.18), transparent 45%),
        radial-gradient(circle at 80% 80%, rgba(45, 79, 62, 0.15), transparent 50%);
    opacity: 1;
    z-index: 0;
}

/* Floating Decorative Elements */
.hero-decoration {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: 1;
}

.floating-circle {
    position: absolute;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(197, 160, 89, 0.1), rgba(197, 160, 89, 0.05));
    backdrop-filter: blur(40px);
    animation: float 20s infinite ease-in-out;
}

.circle-1 {
    width: 400px;
    height: 400px;
    top: -100px;
    right: -100px;
    animation-delay: 0s;
}

.circle-2 {
    width: 300px;
    height: 300px;
    bottom: -50px;
    left: -50px;
    animation-delay: 5s;
}

.circle-3 {
    width: 200px;
    height: 200px;
    top: 50%;
    left: 50%;
    animation-delay: 10s;
}

@keyframes float {

    0%,
    100% {
        transform: translate(0, 0) scale(1);
    }

    25% {
        transform: translate(30px, -30px) scale(1.1);
    }

    50% {
        transform: translate(-20px, 20px) scale(0.9);
    }

    75% {
        transform: translate(20px, 30px) scale(1.05);
    }
}

/* Hero Container */
.hero-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 40px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
    position: relative;
    z-index: 2;
}

/* Hero Left Content */
.hero-left {
    animation: slideInLeft 1s ease-out;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: rgba(197, 160, 89, 0.15);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(197, 160, 89, 0.3);
    padding: 12px 24px;
    border-radius: 50px;
    margin-bottom: 30px;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-weight: 500;
    color: var(--primary);
    animation: fadeInUp 1s ease 0.2s both;
}

.hero-badge i {
    color: var(--primary);
    font-size: 0.9rem;
}

.hero-title {
    display: flex;
    flex-direction: column;
    margin-bottom: 30px;
    line-height: 1.1;
}

.hero-title-line {
    font-size: 1.8rem;
    font-weight: 300;
    letter-spacing: 3px;
    color: rgba(255, 255, 255, 0.8);
    animation: fadeInUp 1s ease 0.4s both;
}

.hero-title-main {
    font-size: 6rem;
    font-weight: 700;
    letter-spacing: 8px;
    background: linear-gradient(135deg, #ffffff 0%, var(--primary) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin: 10px 0;
    animation: fadeInUp 1s ease 0.6s both;
    text-shadow: 0 0 80px rgba(197, 160, 89, 0.3);
}

.hero-description {
    font-size: 1.15rem;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.75);
    margin-bottom: 40px;
    max-width: 550px;
    font-weight: 300;
    animation: fadeInUp 1s ease 0.8s both;
}

/* Hero Features */
.hero-features {
    display: flex;
    gap: 30px;
    margin-bottom: 40px;
    animation: fadeInUp 1s ease 1s both;
}

.hero-feature {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.9);
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 500;
}

.hero-feature i {
    color: var(--primary);
    font-size: 1.2rem;
}

/* Hero Buttons */
.hero-btns {
    display: flex;
    gap: 20px;
    margin-bottom: 60px;
    flex-wrap: wrap;
    animation: fadeInUp 1s ease 1.2s both;
}

.btn-hero {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 18px 36px;
    font-size: 0.9rem;
    border-radius: 50px;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.btn-hero i {
    font-size: 0.85rem;
    transition: transform 0.3s ease;
}

.btn-hero:hover i {
    transform: translateX(5px);
}

.btn-outline.btn-hero {
    border: 2px solid rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(10px);
}

.btn-outline.btn-hero:hover {
    border-color: white;
    background: rgba(255, 255, 255, 0.1);
}

/* Hero Stats */
.hero-stats {
    display: flex;
    align-items: center;
    gap: 30px;
    padding: 30px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    animation: fadeInUp 1s ease 1.4s both;
}

.stat-item h3 {
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 5px;
    letter-spacing: 1px;
}

.stat-item p {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.6);
    text-transform: uppercase;
    letter-spacing: 2px;
    margin: 0;
}

.stat-divider {
    width: 1px;
    height: 40px;
    background: rgba(255, 255, 255, 0.2);
}

/* Hero Right Visual */
.hero-right {
    position: relative;
    animation: slideInRight 1s ease-out;
}

.hero-image-wrapper {
    position: relative;
    animation: fadeInUp 1s ease 0.8s both;
}

.hero-image-card {
    position: relative;
    border-radius: 30px;
    overflow: hidden;
    box-shadow: 0 40px 100px rgba(0, 0, 0, 0.4);
    transform: perspective(1000px) rotateY(-5deg);
    transition: transform 0.6s ease;
}

.hero-image-card:hover {
    transform: perspective(1000px) rotateY(0deg) scale(1.02);
}

.hero-image-card img {
    width: 100%;
    height: 600px;
    object-fit: cover;
    display: block;
}

.hero-image-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg,
            rgba(197, 160, 89, 0.2) 0%,
            rgba(45, 79, 62, 0.2) 100%);
    mix-blend-mode: overlay;
}

/* Floating Info Card */
.hero-info-card {
    position: absolute;
    bottom: -30px;
    left: -30px;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    padding: 25px 30px;
    border-radius: 20px;
    display: flex;
    align-items: center;
    gap: 20px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.2);
    animation: fadeInUp 1s ease 1.6s both;
    transition: transform 0.3s ease;
}

.hero-info-card:hover {
    transform: translateY(-5px);
}

.info-card-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--primary), #b08d4a);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.2rem;
}

.info-card-content h4 {
    font-size: 1.1rem;
    color: var(--text-dark);
    margin: 0 0 5px 0;
    font-weight: 600;
    letter-spacing: 1px;
}

.info-card-content p {
    font-size: 0.85rem;
    color: #666;
    margin: 0;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Scroll Indicator */
.hero-scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    text-align: center;
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    opacity: 0.7;
    z-index: 3;
    animation: fadeInUp 1s ease 2s both;
}

.mouse {
    width: 25px;
    height: 40px;
    border: 2px solid white;
    border-radius: 20px;
    margin: 0 auto 10px;
    position: relative;
}

.mouse::after {
    content: '';
    position: absolute;
    top: 8px;
    left: 50%;
    width: 4px;
    height: 8px;
    background: white;
    border-radius: 2px;
    transform: translateX(-50%);
    animation: scrollMouse 2s infinite;
}

/* Animations */
@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(50px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Responsive Design */
@media (max-width: 1200px) {
    .hero-container {
        gap: 60px;
        padding: 0 30px;
    }

    .hero-title-main {
        font-size: 5rem;
    }

    .hero-image-card img {
        height: 500px;
    }
}

@media (max-width: 991px) {
    .hero {
        padding: 100px 0 60px;
    }

    .hero-container {
        grid-template-columns: 1fr;
        gap: 60px;
        text-align: center;
    }

    .hero-left {
        order: 2;
    }

    .hero-right {
        order: 1;
    }

    .hero-badge {
        margin-left: auto;
        margin-right: auto;
    }

    .hero-title {
        align-items: center;
    }

    .hero-title-main {
        font-size: 4rem;
    }

    .hero-description {
        margin-left: auto;
        margin-right: auto;
    }

    .hero-features {
        justify-content: center;
    }

    .hero-btns {
        justify-content: center;
    }

    .hero-stats {
        justify-content: center;
    }

    .hero-image-card {
        transform: perspective(1000px) rotateY(0deg);
    }

    .hero-info-card {
        left: 50%;
        transform: translateX(-50%);
    }
}

@media (max-width: 768px) {
    .hero-title-line {
        font-size: 1.3rem;
    }

    .hero-title-main {
        font-size: 3rem;
        letter-spacing: 4px;
    }

    .hero-description {
        font-size: 1rem;
    }

    .hero-features {
        flex-direction: column;
        gap: 15px;
        align-items: center;
    }

    .hero-btns {
        flex-direction: column;
        width: 100%;
    }

    .btn-hero {
        width: 100%;
        justify-content: center;
    }

    .hero-stats {
        flex-wrap: wrap;
        gap: 20px;
    }

    .stat-divider {
        display: none;
    }

    .hero-image-card img {
        height: 400px;
    }

    .hero-info-card {
        position: relative;
        left: 0;
        bottom: 0;
        margin-top: 20px;
        transform: none;
    }

    .circle-1,
    .circle-2,
    .circle-3 {
        width: 200px;
        height: 200px;
    }
}

@media (max-width: 480px) {
    .hero-container {
        padding: 0 20px;
    }

    .hero-title-main {
        font-size: 2.5rem;
    }

    .hero-image-card img {
        height: 300px;
    }
}

/* Sections */
.section-padding {
    padding: var(--section-padding);
}

.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 20px;
}

.container-full {
    width: 100%;
    padding: 0 40px;
}

/* About Section */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.about-img {
    position: relative;
}

.about-img img {
    width: 100%;
    height: auto;
    box-shadow: 30px 30px 0 var(--accent);
}

.link-more {
    color: var(--primary);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    display: inline-flex;
    align-items: center;
    transition: var(--transition);
}

.link-more i {
    margin-left: 10px;
    transition: var(--transition);
}

.link-more:hover i {
    transform: translateX(5px);
}

/* Experience Cards */
.experience-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.exp-card {
    background: white;
    padding: 50px 30px;
    text-align: center;
    transition: var(--transition);
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.exp-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.03);
    border-color: var(--primary);
}

.exp-icon {
    font-size: 2.5rem;
    color: var(--primary);
    margin-bottom: 25px;
}

.exp-card h3 {
    font-size: 1.2rem;
    margin-bottom: 15px;
}

.exp-card p {
    font-size: 0.95rem;
    color: #666;
}

/* Gallery */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-top: 50px;
}

.gallery-item {
    position: relative;
    overflow: hidden;
    aspect-ratio: 1 / 1;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 1s ease;
}

.gallery-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(45, 79, 62, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: var(--transition);
}

.gallery-overlay span {
    color: white;
    font-family: var(--font-heading);
    text-transform: uppercase;
    letter-spacing: 3px;
    font-size: 0.9rem;
    transform: translateY(20px);
    transition: var(--transition);
}

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

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

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

.gallery-more {
    margin-top: 45px;
}

.gallery-page-header {
    padding: 140px 0 70px;
    background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%);
    color: var(--text-light);
}

.gallery-page-header p {
    margin: 0 auto;
    max-width: 720px;
}

.gallery-category + .gallery-category {
    padding-top: 0;
}

/* Pool Parallax Section */
.pool-parallax {
    background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url('images/pool-bg.jpg') center/cover no-repeat;
    background-attachment: fixed;
    height: 60vh;
    display: flex;
    align-items: center;
}

@media (max-width: 1024px) {
    .pool-parallax {
        background-attachment: scroll;
        height: auto;
        padding: 80px 0;
    }
}

.light {
    color: white;
}

/* Testimonials */
.reviews {
    background-color: white;
}

/* Testimonials Grid */
.testimonial-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 50px;
}

.testimonial-card {
    background: #fff;
    padding: 40px 30px;
    text-align: center;
    border: 1px solid rgba(0, 0, 0, 0.05);
    transition: var(--transition);
}

.stars {
    color: var(--primary);
    margin-bottom: 20px;
}

.testimonial-card p {
    font-size: 1.1rem;
    font-style: italic;
    color: var(--text-dark);
    line-height: 1.6;
}

.guest-info {
    margin-top: 25px;
}

.guest-info strong {
    display: block;
    font-family: var(--font-heading);
    letter-spacing: 2px;
}

.guest-info span {
    font-size: 0.8rem;
    color: #888;
    text-transform: uppercase;
}

.testimonial-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.05);
    border-color: var(--primary);
}

@media (max-width: 991px) {
    .testimonial-grid {
        grid-template-columns: 1fr;
        max-width: 600px;
        margin-left: auto;
        margin-right: auto;
    }
}

/* Contact Section */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
}

.contact-list {
    list-style: none;
    margin: 40px 0;
}

.contact-list li {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
    font-size: 1.1rem;
}

.contact-list i {
    width: 40px;
    color: var(--primary);
    font-size: 1.2rem;
}

.social-links a {
    display: inline-flex;
    width: 50px;
    height: 50px;
    border: 1px solid var(--accent);
    align-items: center;
    justify-content: center;
    text-decoration: none;
    color: var(--text-dark);
    margin-right: 15px;
    border-radius: 50%;
    transition: var(--transition);
}

.social-links a:hover {
    background: var(--primary);
    border-color: var(--primary);
    color: white;
}

.contact-form {
    background: white;
    padding: 40px;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.05);
}

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

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

input,
textarea {
    width: 100%;
    padding: 15px 0;
    border: none;
    border-bottom: 1px solid var(--accent);
    font-family: var(--font-body);
    font-size: 1rem;
    transition: var(--transition);
    outline: none;
}

input:focus,
textarea:focus {
    border-bottom-color: var(--primary);
}

.form-status {
    margin-top: 20px;
    font-size: 0.9rem;
}

/* Map Section */
.map-section {
    padding: 100px 0;
    background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), url('images/kurunegala-city.jpg') center/cover no-repeat;
    position: relative;
}

.map-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
}

.map-wrapper {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 40px 100px rgba(0, 0, 0, 0.5);
    line-height: 0;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.map-wrapper iframe {
    filter: grayscale(1) contrast(1.2) opacity(0.8);
    transition: var(--transition);
}

.map-wrapper:hover iframe {
    filter: grayscale(0) contrast(1) opacity(1);
}

@media (max-width: 768px) {
    .map-section {
        padding: 60px 0;
    }
}

/* Footer */
.footer {
    padding: 80px 0;
    background: var(--bg-dark);
    color: white;
}

.footer .logo {
    font-size: 2.5rem;
    margin-bottom: 30px;
}

.footer-links {
    margin-bottom: 40px;
}

.footer-links a {
    color: white;
    text-decoration: none;
    margin: 0 20px;
    text-transform: uppercase;
    font-size: 0.8rem;
    letter-spacing: 2px;
    transition: var(--transition);
    opacity: 0.6;
}

.footer-links a:hover {
    opacity: 1;
    color: var(--primary);
}

.copyright {
    font-size: 0.8rem;
    opacity: 0.4;
    letter-spacing: 1px;
}

/* Floating Elements */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background: #25d366;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 30px;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
    z-index: 999;
    text-decoration: none;
    transition: var(--transition);
}

.whatsapp-float:hover {
    transform: scale(1.1);
    background: #20ba5a;
}

#scrollToTop {
    position: fixed;
    bottom: 110px;
    right: 30px;
    width: 60px;
    height: 60px;
    background: white;
    color: var(--text-dark);
    border: 1px solid var(--accent);
    border-radius: 50%;
    cursor: pointer;
    z-index: 999;
    display: none;
    transition: var(--transition);
}

#scrollToTop:hover {
    background: var(--primary);
    color: white;
    border-color: var(--primary);
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

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

@keyframes scrollMouse {
    0% {
        opacity: 1;
        top: 8px;
    }

    100% {
        opacity: 0;
        top: 20px;
    }
}

.js .reveal-up,
.js .reveal-left,
.js .reveal-right,
.js .fade-in {
    opacity: 0;
    transition: all 1s ease-out;
}

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

.js .reveal-up {
    transform: translateY(50px);
}

.reveal-left.active {
    opacity: 1;
    transform: translateX(0);
}

.js .reveal-left {
    transform: translateX(-50px);
}

.reveal-right.active {
    opacity: 1;
    transform: translateX(0);
}

.js .reveal-right {
    transform: translateX(50px);
}

.fade-in.active {
    opacity: 1;
}

/* Mobile Responsiveness */
@media (max-width: 1024px) {
    :root {
        --section-padding: 80px 0;
    }

    .container {
        padding: 0 30px;
    }
}

@media (max-width: 991px) {
    h1 {
        font-size: 4rem;
    }

    h2 {
        font-size: 2.2rem;
    }

    .about-grid,
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 60px;
    }

    .about-img img {
        box-shadow: 20px 20px 0 var(--accent);
    }

    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 100%;
        height: 100vh;
        background: rgba(26, 26, 26, 0.98);
        backdrop-filter: blur(15px);
        flex-direction: column;
        justify-content: center;
        transition: 0.6s cubic-bezier(0.77, 0, 0.175, 1);
        z-index: 999;
    }

    .nav-links.active {
        right: 0;
    }

    .nav-links li {
        margin: 20px 0;
        opacity: 0;
        transform: translateY(20px);
        transition: 0.4s ease;
    }

    .nav-links.active li {
        opacity: 1;
        transform: translateY(0);
    }

    /* Staggered animation for menu items */
    .nav-links.active li:nth-child(1) {
        transition-delay: 0.3s;
    }

    .nav-links.active li:nth-child(2) {
        transition-delay: 0.4s;
    }

    .nav-links.active li:nth-child(3) {
        transition-delay: 0.5s;
    }

    .nav-links.active li:nth-child(4) {
        transition-delay: 0.6s;
    }

    .nav-links.active li:nth-child(5) {
        transition-delay: 0.7s;
    }

    .nav-links a {
        font-size: 1.2rem;
    }

    .nav-toggle {
        display: block;
        z-index: 1001;
    }

    .nav-toggle span {
        display: block;
        width: 25px;
        height: 2px;
        background: white;
        margin-bottom: 5px;
        transition: var(--transition);
    }

    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    :root {
        --section-padding: 60px 0;
    }

    .hero h1 {
        font-size: 3rem;
    }

    .hero p {
        font-size: 1.1rem;
    }

    .testimonial-card p {
        font-size: 1.2rem;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .footer-links a {
        display: block;
        margin: 15px 0;
    }

    .exp-card {
        padding: 40px 20px;
    }
}

@media (max-width: 480px) {
    .hero h1 {
        font-size: 2.5rem;
    }

    h2 {
        font-size: 1.8rem;
    }

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

    .btn {
        width: 100%;
        margin-bottom: 10px;
    }

    .hero-btns {
        display: flex;
        flex-direction: column;
    }

    .about-img img {
        box-shadow: 15px 15px 0 var(--accent);
    }

    .whatsapp-float,
    #scrollToTop {
        width: 50px;
        height: 50px;
        font-size: 24px;
        bottom: 20px;
        right: 20px;
    }

    #scrollToTop {
        bottom: 80px;
    }
}

/* Global responsive refinements */
img,
iframe {
    max-width: 100%;
}

@media (max-width: 1199px) {
    .container-full {
        padding: 0 28px;
    }

    .about-grid,
    .contact-grid {
        gap: 48px;
    }

    .gallery-grid,
    .testimonial-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .map-wrapper iframe {
        height: 560px !important;
    }
}

@media (max-width: 991px) {
    .container-full {
        padding: 0 22px;
    }

    .section-header h2 {
        margin-bottom: 1.2rem;
    }

    .gallery-page-header {
        padding: 120px 0 60px;
    }

    .pool-content p {
        margin-left: auto;
        margin-right: auto;
        max-width: 680px;
    }

    .contact-form {
        padding: 32px 28px;
    }

    .map-wrapper iframe {
        height: 460px !important;
    }
}

@media (max-width: 768px) {
    .container,
    .container-full {
        padding-left: 16px;
        padding-right: 16px;
    }

    .nav-container {
        padding: 0 16px;
    }

    .subtitle {
        letter-spacing: 2px;
    }

    .hero {
        min-height: auto;
    }

    .hero-scroll-indicator {
        display: none;
    }

    .hero-info-card {
        width: 100%;
        max-width: 360px;
        margin-left: auto;
        margin-right: auto;
    }

    .gallery-page-header {
        padding: 110px 0 50px;
    }

    .gallery-overlay span {
        font-size: 0.8rem;
        letter-spacing: 2px;
        text-align: center;
        padding: 0 12px;
    }

    .contact-list li {
        align-items: flex-start;
    }

    .map-wrapper {
        border-radius: 14px;
    }

    .map-wrapper iframe {
        height: 360px !important;
    }
}

@media (max-width: 576px) {
    .btn {
        letter-spacing: 1px;
        padding: 14px 20px;
    }

    .hero-title-main {
        font-size: clamp(2rem, 10vw, 2.5rem);
        letter-spacing: 2px;
    }

    .hero-title-line {
        font-size: 1.05rem;
        letter-spacing: 2px;
    }

    .exp-card,
    .testimonial-card {
        padding: 28px 18px;
    }

    .contact-form {
        padding: 24px 18px;
    }

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

    .map-wrapper iframe {
        height: 300px !important;
    }
}
