/* ===================================
   Dr. Amgad Magdy Dental Clinic
   Premium One-Page Website
   =================================== */

/* CSS Variables - Brand Colors from Logo */
:root {
    --primary-blue: #0033A0;
    --primary-blue-dark: #002080;
    --primary-blue-light: #1E40AF;
    --accent-gold: #D4AF37;
    --accent-gold-light: #F5D76E;
    --white: #FFFFFF;
    --off-white: #F8FAFC;
    --gray-light: #E2E8F0;
    --gray: #64748B;
    --gray-dark: #334155;
    --text-dark: #1E293B;
    --gradient-blue: linear-gradient(135deg, #0033A0 0%, #1E40AF 50%, #3B82F6 100%);
    --gradient-gold: linear-gradient(135deg, #D4AF37 0%, #F5D76E 100%);
    --shadow-sm: 0 2px 8px rgba(0, 51, 160, 0.08);
    --shadow-md: 0 8px 24px rgba(0, 51, 160, 0.12);
    --shadow-lg: 0 16px 48px rgba(0, 51, 160, 0.16);
    --shadow-xl: 0 24px 64px rgba(0, 51, 160, 0.2);
    --border-radius: 16px;
    --border-radius-lg: 24px;
    --transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Reset & Base */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

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

body {
    font-family: 'Cairo', 'Segoe UI', Tahoma, sans-serif;
    background: var(--off-white);
    color: var(--text-dark);
    line-height: 1.7;
    direction: rtl;
    width: 100%;
    position: relative;
    padding-top: 90px;
}

/* Typography */
h1,
h2,
h3,
h4,
h5,
h6 {
    font-weight: 700;
    line-height: 1.3;
    color: var(--primary-blue);
}

h1 {
    font-size: clamp(2.5rem, 5vw, 4rem);
}

h2 {
    font-size: clamp(2rem, 4vw, 3rem);
}

h3 {
    font-size: clamp(1.5rem, 3vw, 2rem);
}

p {
    font-size: 1.1rem;
    color: var(--gray-dark);
}

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

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Section Base */
section {
    padding: 100px 0;
    position: relative;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-header h2 {
    margin-bottom: 16px;
    position: relative;
    display: inline-block;
}

.section-header h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: var(--gradient-gold);
    border-radius: 2px;
}

.section-header p {
    font-size: 1.2rem;
    color: var(--gray);
    max-width: 600px;
    margin: 20px auto 0;
}

/* ========== NAVIGATION ========== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    width: 100vw;
    z-index: 99999;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    padding: 10px 0;
}

.navbar.scrolled {
    background: rgba(255, 255, 255, 0.98);
    box-shadow: var(--shadow-md);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 40px;
    max-width: 1400px;
    margin: 0 auto;
}

.nav-logo img {
    height: 65px;
    transition: var(--transition);
}

.nav-logo:hover img {
    transform: scale(1.05);
}

.nav-links {
    display: flex;
    gap: 40px;
    list-style: none;
}

.nav-links a {
    font-weight: 600;
    font-size: 1rem;
    color: var(--text-dark);
    position: relative;
    padding: 8px 0;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: 0;
    right: 0;
    width: 0;
    height: 3px;
    background: var(--gradient-gold);
    transition: var(--transition);
    border-radius: 2px;
}

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

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

.nav-cta {
    background: var(--gradient-blue);
    color: var(--white) !important;
    padding: 12px 28px !important;
    border-radius: 50px;
    font-weight: 600;
    box-shadow: var(--shadow-sm);
}

.nav-cta:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.nav-cta::after {
    display: none !important;
}

/* Mobile Menu */
.mobile-menu-btn {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 10px;
}

.mobile-menu-btn span {
    width: 28px;
    height: 3px;
    background: var(--primary-blue);
    border-radius: 2px;
    transition: var(--transition);
}

/* ========== HERO SECTION ========== */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    background: url('../images/hero-bg.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    overflow: hidden;
    padding-top: 0;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to left,
            rgba(248, 250, 252, 0.3) 0%,
            rgba(248, 250, 252, 0.7) 40%,
            rgba(248, 250, 252, 0.92) 70%,
            rgba(248, 250, 252, 0.98) 100%);
    z-index: 0;
    pointer-events: none;
}

.hero::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
        radial-gradient(ellipse at 100% 50%, rgba(0, 51, 160, 0.15) 0%, transparent 50%),
        radial-gradient(ellipse at 0% 100%, rgba(212, 175, 55, 0.1) 0%, transparent 40%);
    z-index: 0;
    pointer-events: none;
}

@keyframes float {

    0%,
    100% {
        transform: translate(0, 0) rotate(0deg);
    }

    33% {
        transform: translate(30px, -30px) rotate(5deg);
    }

    66% {
        transform: translate(-20px, 20px) rotate(-5deg);
    }
}

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

.hero-content {
    animation: fadeInRight 1s ease-out;
}

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

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

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: rgba(0, 51, 160, 0.1);
    color: var(--primary-blue);
    padding: 10px 20px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.95rem;
    margin-bottom: 24px;
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {

    0%,
    100% {
        box-shadow: 0 0 0 0 rgba(0, 51, 160, 0.2);
    }

    50% {
        box-shadow: 0 0 0 15px rgba(0, 51, 160, 0);
    }
}

.hero-badge i {
    color: var(--accent-gold);
}

.hero h1 {
    font-size: clamp(2.5rem, 5vw, 3.5rem);
    margin-bottom: 20px;
    line-height: 1.2;
}

.hero h1 span {
    background: var(--gradient-blue);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 1.3rem;
    color: var(--gray);
    margin-bottom: 16px;
}

.hero-description {
    font-size: 1.15rem;
    color: var(--gray-dark);
    margin-bottom: 32px;
    max-width: 500px;
}

.hero-stats {
    display: flex;
    gap: 40px;
    margin-bottom: 40px;
}

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

.stat-number {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--primary-blue);
    line-height: 1;
}

.stat-number span {
    color: var(--accent-gold);
}

.stat-label {
    font-size: 0.95rem;
    color: var(--gray);
    margin-top: 4px;
}

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

.btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 16px 36px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 1.1rem;
    cursor: pointer;
    border: none;
    transition: var(--transition);
}

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

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
}

.btn-secondary {
    background: var(--white);
    color: var(--primary-blue);
    border: 2px solid var(--primary-blue);
}

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

.hero-image {
    position: relative;
    animation: fadeInLeft 1s ease-out 0.3s both;
}

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

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

.hero-image-wrapper {
    position: relative;
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-xl);
}

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

.hero-image-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0, 51, 160, 0.9), transparent);
    padding: 40px 30px 30px;
    color: var(--white);
}

.hero-image-overlay h3 {
    color: var(--white);
    font-size: 1.5rem;
    margin-bottom: 8px;
}

.hero-image-overlay p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1rem;
}

/* Floating Elements */
.floating-tooth {
    position: absolute;
    font-size: 80px;
    opacity: 0.1;
    color: var(--primary-blue);
    animation: floatTooth 6s ease-in-out infinite;
}

.floating-tooth:nth-child(1) {
    top: 20%;
    left: 5%;
    animation-delay: 0s;
}

.floating-tooth:nth-child(2) {
    top: 60%;
    right: 8%;
    animation-delay: 2s;
}

.floating-tooth:nth-child(3) {
    bottom: 20%;
    left: 15%;
    animation-delay: 4s;
}

@keyframes floatTooth {

    0%,
    100% {
        transform: translateY(0) rotate(0deg);
    }

    50% {
        transform: translateY(-20px) rotate(10deg);
    }
}

/* ========== ABOUT SECTION ========== */
.about {
    background: var(--white);
    position: relative;
    overflow: hidden;
}

.about::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--gradient-blue);
}

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

.about-images {
    position: relative;
}

.about-main-image {
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    transform: rotate(-3deg);
    transition: var(--transition);
}

.about-main-image:hover {
    transform: rotate(0deg);
}

.about-main-image img {
    width: 100%;
    height: 500px;
    object-fit: cover;
}

.about-secondary-image {
    position: absolute;
    bottom: -40px;
    left: -40px;
    width: 200px;
    height: 200px;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    border: 5px solid var(--white);
    transform: rotate(5deg);
    transition: var(--transition);
}

.about-secondary-image:hover {
    transform: rotate(0deg) scale(1.05);
}

.about-secondary-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.about-content h2 {
    margin-bottom: 24px;
}

.about-content h2 span {
    color: var(--accent-gold);
}

.about-text {
    margin-bottom: 24px;
}

.about-features {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-top: 32px;
}

.about-feature {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px;
    background: var(--off-white);
    border-radius: var(--border-radius);
    transition: var(--transition);
}

.about-feature:hover {
    background: rgba(0, 51, 160, 0.05);
    transform: translateX(-5px);
}

.about-feature i {
    font-size: 1.5rem;
    color: var(--primary-blue);
}

.about-feature span {
    font-weight: 600;
    color: var(--text-dark);
}

/* ========== SERVICES SECTION ========== */
.services {
    background: linear-gradient(135deg, #f0f4ff 0%, #e8f0fe 100%);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.service-card {
    background: var(--white);
    border-radius: var(--border-radius-lg);
    padding: 40px 30px;
    text-align: center;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--gradient-gold);
    transform: scaleX(0);
    transition: var(--transition);
}

.service-card:hover::before {
    transform: scaleX(1);
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
}

.service-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 24px;
    background: var(--gradient-blue);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: var(--white);
    transition: var(--transition);
}

.service-card:hover .service-icon {
    transform: scale(1.1) rotate(10deg);
}

.service-card h3 {
    font-size: 1.4rem;
    margin-bottom: 16px;
    color: var(--text-dark);
}

.service-card p {
    color: var(--gray);
    font-size: 1rem;
}

/* ========== WHY CHOOSE US ========== */
.why-us {
    background: var(--white);
}

.why-us-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.why-card {
    padding: 40px 30px;
    background: var(--off-white);
    border-radius: var(--border-radius-lg);
    text-align: center;
    transition: var(--transition);
    border: 2px solid transparent;
}

.why-card:hover {
    border-color: var(--primary-blue);
    background: var(--white);
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}

.why-icon {
    font-size: 3rem;
    color: var(--accent-gold);
    margin-bottom: 20px;
}

.why-card h3 {
    font-size: 1.3rem;
    margin-bottom: 12px;
    color: var(--text-dark);
}

.why-card p {
    color: var(--gray);
}

/* ========== PRICE SECTION ========== */
.pricing {
    background: var(--gradient-blue);
    color: var(--white);
    text-align: center;
}

.pricing h2 {
    color: var(--white);
}

.pricing h2::after {
    background: var(--white);
}

.pricing .section-header p {
    color: rgba(255, 255, 255, 0.9);
}

.pricing-card {
    background: var(--white);
    border-radius: var(--border-radius-lg);
    padding: 50px 40px;
    max-width: 500px;
    margin: 0 auto;
    box-shadow: var(--shadow-xl);
    position: relative;
    overflow: hidden;
}

.pricing-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 6px;
    background: var(--gradient-gold);
}

.pricing-badge {
    display: inline-block;
    background: rgba(0, 51, 160, 0.1);
    color: var(--primary-blue);
    padding: 8px 24px;
    border-radius: 50px;
    font-weight: 600;
    margin-bottom: 24px;
}

.price {
    font-size: 4rem;
    font-weight: 800;
    color: var(--primary-blue);
    margin-bottom: 8px;
}

.price span {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--gray);
}

.pricing-text {
    font-size: 1.2rem;
    color: var(--gray);
    margin-bottom: 32px;
}

.pricing-features {
    list-style: none;
    text-align: right;
    margin-bottom: 32px;
}

.pricing-features li {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 0;
    border-bottom: 1px solid var(--gray-light);
    color: var(--text-dark);
    font-size: 1.05rem;
}

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

.pricing-features i {
    color: var(--accent-gold);
    font-size: 1.2rem;
}

/* ========== GALLERY ========== */
.gallery {
    background: var(--off-white);
}

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

.gallery-item {
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    cursor: pointer;
}

.gallery-item:hover {
    transform: scale(1.03);
    box-shadow: var(--shadow-lg);
}

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

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

/* ========== CONTACT SECTION ========== */
.contact {
    background: var(--white);
}

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

.contact-info h3 {
    font-size: 1.8rem;
    margin-bottom: 24px;
    color: var(--text-dark);
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    margin-bottom: 30px;
    padding: 20px;
    background: var(--off-white);
    border-radius: var(--border-radius);
    transition: var(--transition);
}

.contact-item:hover {
    background: rgba(0, 51, 160, 0.05);
    transform: translateX(-5px);
}

.contact-icon {
    width: 60px;
    height: 60px;
    background: var(--gradient-blue);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: var(--white);
    flex-shrink: 0;
}

.contact-text h4 {
    font-size: 1.1rem;
    color: var(--text-dark);
    margin-bottom: 8px;
}

.contact-text p,
.contact-text a {
    color: var(--gray);
    font-size: 1.05rem;
}

.contact-text a:hover {
    color: var(--primary-blue);
}

.social-links {
    display: flex;
    gap: 16px;
    margin-top: 32px;
}

.social-link {
    width: 50px;
    height: 50px;
    background: var(--gradient-blue);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    color: var(--white);
    transition: var(--transition);
}

.social-link:hover {
    transform: translateY(-5px) scale(1.1);
    box-shadow: var(--shadow-md);
}

.social-link.facebook:hover {
    background: #1877F2;
}

.social-link.instagram:hover {
    background: linear-gradient(45deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888);
}

.social-link.whatsapp:hover {
    background: #25D366;
}

.contact-map {
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    height: 100%;
    min-height: 400px;
}

.contact-map iframe {
    width: 100%;
    height: 100%;
    border: none;
}

/* ========== FLOATING CTA ========== */
.floating-cta {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 99998;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.float-btn {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    color: var(--white);
    box-shadow: var(--shadow-lg);
    transition: var(--transition);
    animation: pulse-float 2s ease-in-out infinite;
}

@keyframes pulse-float {

    0%,
    100% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.4);
    }

    50% {
        transform: scale(1.05);
        box-shadow: 0 0 0 15px rgba(37, 211, 102, 0);
    }
}

.float-btn:hover {
    transform: scale(1.15);
}

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

@keyframes pulse-whatsapp {

    0%,
    100% {
        box-shadow: 0 8px 24px rgba(37, 211, 102, 0.3);
    }

    50% {
        box-shadow: 0 8px 40px rgba(37, 211, 102, 0.6), 0 0 0 10px rgba(37, 211, 102, 0.1);
    }
}

.float-btn.phone {
    background: var(--primary-blue);
    animation: pulse-phone 2s ease-in-out infinite;
    animation-delay: 0.3s;
}

@keyframes pulse-phone {

    0%,
    100% {
        box-shadow: 0 8px 24px rgba(0, 51, 160, 0.3);
    }

    50% {
        box-shadow: 0 8px 40px rgba(0, 51, 160, 0.6), 0 0 0 10px rgba(0, 51, 160, 0.1);
    }
}

/* ========== FOOTER ========== */
.footer {
    background: var(--text-dark);
    color: var(--white);
    padding: 60px 0 30px;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 60px;
    margin-bottom: 40px;
}

.footer-brand img {
    height: 60px;
    margin-bottom: 20px;
    filter: brightness(0) invert(1);
}

.footer-brand p {
    color: rgba(255, 255, 255, 0.7);
    max-width: 300px;
}

.footer-links h4,
.footer-contact h4 {
    color: var(--white);
    font-size: 1.2rem;
    margin-bottom: 20px;
}

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

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

.footer-links a {
    color: rgba(255, 255, 255, 0.7);
    transition: var(--transition);
}

.footer-links a:hover {
    color: var(--accent-gold);
    padding-right: 10px;
}

.footer-contact p {
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.footer-contact i {
    color: var(--accent-gold);
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-bottom p {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.95rem;
}

.footer-bottom span {
    color: var(--accent-gold);
}

/* ========== RESPONSIVE ========== */
@media (max-width: 1024px) {
    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero-content {
        order: 2;
    }

    .hero-image {
        order: 1;
    }

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

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

    .hero-description {
        margin: 0 auto 32px;
    }

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

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

    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .footer-brand p {
        margin: 0 auto;
    }
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--white);
        flex-direction: column;
        padding: 20px;
        gap: 0;
        box-shadow: var(--shadow-lg);
    }

    .nav-links.active {
        display: flex;
    }

    .nav-links li {
        border-bottom: 1px solid var(--gray-light);
    }

    .nav-links a {
        display: block;
        padding: 16px 0;
    }

    .mobile-menu-btn {
        display: flex;
    }

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

    .why-us-grid {
        grid-template-columns: 1fr;
    }

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

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

    .about-features {
        grid-template-columns: 1fr;
    }

    .about-secondary-image {
        display: none;
    }

    section {
        padding: 60px 0;
    }

    .floating-cta {
        bottom: 20px;
        right: 20px;
    }

    .float-btn {
        width: 65px;
        height: 65px;
        font-size: 1.6rem;
    }

    .nav-logo img {
        height: 55px;
    }
}

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

    .btn {
        padding: 14px 28px;
        font-size: 1rem;
    }

    .hero-buttons {
        flex-direction: column;
    }

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

    .price {
        font-size: 3rem;
    }
}

/* Scroll to top */
.scroll-top {
    position: fixed;
    bottom: 30px;
    left: 30px;
    width: 50px;
    height: 50px;
    background: var(--primary-blue);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
    box-shadow: var(--shadow-md);
    z-index: 99997;
    border: none;
}

.scroll-top.visible {
    opacity: 1;
    visibility: visible;
}

.scroll-top:hover {
    transform: translateY(-5px);
    background: var(--primary-blue-dark);
}

@media (max-width: 768px) {
    .scroll-top {
        bottom: 20px;
        left: 20px;
        width: 45px;
        height: 45px;
    }
}