/* Luxury Style CSS for Rocka Homes & Villas */

/* Import Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@400;500;600;700&family=Poppins:wght@300;400;500;600;700&display=swap');

/* CSS Variables for consistent theming */
:root {
    --primary-green: #2d5016;
    --accent-gold: #d4af37;
    --soft-ivory: #f8f6f0;
    --muted-gray: #6b7280;
    --deep-emerald: #064e3b;
    --champagne: #f7e7ce;
    --text-dark: #1f2937;
    --text-light: #6b7280;
    --shadow-soft: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    --shadow-medium: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    --shadow-large: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
}

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

body {
    font-family: 'Poppins', sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    background-color: var(--soft-ivory);
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-family: 'Playfair Display', serif;
    font-weight: 600;
    line-height: 1.2;
}

/* Luxury Hero Section */
.luxury-hero {
    position: relative;
    height: 100vh;
    min-height: 600px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.hero-bg {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.6);
    animation: parallax 20s ease-in-out infinite;
}

@keyframes parallax {
    0%, 100% { transform: scale(1.05); }
    50% { transform: scale(1.1); }
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(45, 80, 22, 0.7) 0%, rgba(6, 78, 59, 0.5) 100%);
    z-index: 2;
}

.hero-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 3;
    text-align: center;
    color: white;
    max-width: 800px;
    padding: 0 2rem;
    width: 100%;
    animation: fadeIn 1s ease-out;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

.hero-title {
    font-size: 4rem;
    font-weight: 700;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    text-align: center;
    width: 100%;
    animation: fadeIn 1s ease-out 0.2s both;
}

.hero-subtitle {
    font-size: 1.5rem;
    font-weight: 500;
    margin-bottom: 1rem;
    color: var(--champagne);
    text-align: center;
    width: 100%;
    animation: fadeIn 1s ease-out 0.4s both;
}

.hero-description {
    font-size: 1.1rem;
    margin-bottom: 2.5rem;
    opacity: 0.9;
    text-align: center;
    width: 100%;
    animation: fadeIn 1s ease-out 0.6s both;
}

.hero-actions {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    flex-wrap: wrap;
    animation: fadeIn 1s ease-out 0.8s both;
}

.btn-primary, .btn-secondary {
    padding: 1rem 2rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    position: relative;
    overflow: hidden;
}

.btn-primary {
    background: linear-gradient(135deg, var(--accent-gold) 0%, #f4d03f 100%);
    color: var(--text-dark);
    box-shadow: var(--shadow-medium);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-large);
    background: linear-gradient(135deg, #f4d03f 0%, var(--accent-gold) 100%);
}

.btn-secondary {
    background: transparent;
    color: white;
    border: 2px solid white;
}

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

.scroll-indicator {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 3;
    animation: bounce 2s infinite;
}

.scroll-arrow {
    width: 24px;
    height: 24px;
    border-right: 2px solid white;
    border-bottom: 2px solid white;
    transform: rotate(45deg);
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% { transform: translateX(-50%) translateY(0); }
    40% { transform: translateX(-50%) translateY(-10px); }
    60% { transform: translateX(-50%) translateY(-5px); }
}

/* Section Headers */
.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-header h2 {
    font-size: 2.5rem;
    color: var(--text-dark);
    margin-bottom: 1rem;
    position: relative;
}

.section-header h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: linear-gradient(90deg, var(--accent-gold), var(--primary-green));
    border-radius: 2px;
}

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

/* Communities Preview Section */
.communities-preview {
    padding: 3rem 0;
    background: white;
    margin-top: 0;
}

.communities-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    margin-top: 3rem;
    width: 100%;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}

.community-card {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow-soft);
    transition: all 0.3s ease;
    position: relative;
    width: 100%;
    min-width: 0;
    border: 2px solid transparent;
    background-image: linear-gradient(white, white), 
                      linear-gradient(135deg, var(--accent-gold), var(--primary-green));
    background-origin: border-box;
    background-clip: content-box, border-box;
}

.community-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--accent-gold), var(--primary-green));
    border-radius: 20px 20px 0 0;
}

.community-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-large);
    border: 2px solid var(--accent-gold);
    background-image: linear-gradient(white, white), 
                      linear-gradient(135deg, var(--accent-gold), var(--primary-green), var(--accent-gold));
}

.community-card:hover::before {
    background: linear-gradient(90deg, var(--accent-gold), var(--primary-green), var(--accent-gold));
    height: 4px;
}

.card-image {
    position: relative;
    height: 250px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.card-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
    transition: transform 0.3s ease;
}

.community-card:hover .card-image img {
    transform: scale(1.1);
}

.card-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(45, 80, 22, 0.8) 0%, rgba(6, 78, 59, 0.6) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.community-card:hover .card-overlay {
    opacity: 1;
}

.card-info {
    text-align: center;
    color: white;
    padding: 1.5rem;
}

.card-info h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.card-info p {
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
    color: var(--champagne);
}

.card-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.btn-card, .btn-card-secondary {
    padding: 0.75rem 1.5rem;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

.btn-card {
    background: var(--accent-gold);
    color: var(--text-dark);
}

.btn-card:hover {
    background: #f4d03f;
    transform: translateY(-2px);
}

.btn-card-secondary {
    background: transparent;
    color: white;
    border: 2px solid white;
}

.btn-card-secondary:hover {
    background: white;
    color: var(--text-dark);
}

/* Why Choose Section */
.why-choose {
    padding: 6rem 0;
    background: var(--soft-ivory);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    margin-top: 3rem;
    width: 100%;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}

.feature-card {
    background: white;
    padding: 3rem 2rem;
    border-radius: 20px;
    text-align: center;
    box-shadow: var(--shadow-soft);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--accent-gold), var(--primary-green));
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-large);
}

.feature-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 1.5rem;
    background: linear-gradient(135deg, var(--accent-gold), var(--primary-green));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
}

.feature-icon svg {
    width: 40px;
    height: 40px;
}

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

.feature-card p {
    color: var(--text-light);
    line-height: 1.6;
}

/* Virtual Tour Section */
.virtual-tour {
    padding: 8rem 0;
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
    position: relative;
    overflow: hidden;
}

.virtual-tour::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 20% 20%, rgba(27, 94, 32, 0.03) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(46, 125, 50, 0.03) 0%, transparent 50%);
    z-index: 1;
}

.virtual-tour .container {
    position: relative;
    z-index: 2;
}

.tour-showcase {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 4rem;
    margin-top: 4rem;
    align-items: stretch;
    min-height: 450px;
}

.tour-main {
    position: relative;
}

.tour-video-link {
    display: block;
    text-decoration: none;
    color: inherit;
    transition: all 0.4s ease;
    border-radius: 25px;
    overflow: hidden;
}

.tour-video-link:hover {
    transform: translateY(-8px);
}

.tour-video {
    position: relative;
    border-radius: 25px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(27, 94, 32, 0.15);
    transition: all 0.4s ease;
    background: white;
}

.tour-video::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--accent-gold), var(--primary-green));
    z-index: 3;
}

.tour-video-link:hover .tour-video {
    box-shadow: 0 30px 80px rgba(27, 94, 32, 0.25);
}

.tour-image {
    width: 100%;
    height: 450px;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.tour-video:hover .tour-image {
    transform: scale(1.08);
}

.tour-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(27, 94, 32, 0.8) 0%, rgba(46, 125, 50, 0.6) 100%);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: all 0.4s ease;
    backdrop-filter: blur(2px);
}

.tour-video:hover .tour-overlay {
    opacity: 1;
}

.play-button {
    width: 90px;
    height: 90px;
    background: linear-gradient(135deg, var(--accent-gold), #f4d03f);
    border: 3px solid white;
    border-radius: 50%;
    color: white;
    font-size: 2.2rem;
    cursor: pointer;
    transition: all 0.4s ease;
    margin-bottom: 1.5rem;
    box-shadow: 0 8px 25px rgba(244, 208, 63, 0.4);
    display: flex;
    align-items: center;
    justify-content: center;
}

.play-button:hover {
    background: linear-gradient(135deg, var(--primary-green), var(--deep-emerald));
    transform: scale(1.15);
    box-shadow: 0 12px 35px rgba(27, 94, 32, 0.4);
}

.play-button svg {
    margin-left: 4px;
}

.tour-overlay p {
    color: white;
    font-weight: 700;
    font-size: 1.2rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
    letter-spacing: 0.5px;
}

.tour-gallery {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    height: 100%;
    align-content: stretch;
    margin: 0;
    padding: 0;
}

.gallery-item-link {
    display: block;
    text-decoration: none;
    color: inherit;
    transition: all 0.4s ease;
    border-radius: 20px;
    overflow: hidden;
    height: 100%;
    margin: 0;
    padding: 0;
    width: 100%;
}

.gallery-item-link:hover {
    transform: translateY(-5px);
}

.gallery-item {
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    position: relative;
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    height: 100%;
    min-height: 200px;
    margin: 0;
    padding: 0;
    transform: scale(1);
}

.gallery-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--accent-gold), var(--primary-green));
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 2;
}

.gallery-item-link:hover .gallery-item::before {
    opacity: 1;
}

.gallery-item-link:hover .gallery-item {
    transform: scale(1.05);
    background-size: 105%;
    box-shadow: 0 20px 50px rgba(27, 94, 32, 0.2);
}

.gallery-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(27, 94, 32, 0.8) 0%, rgba(46, 125, 50, 0.6) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: all 0.4s ease;
    backdrop-filter: blur(2px);
    border-radius: 20px;
}

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

.gallery-overlay span {
    color: white;
    font-weight: 700;
    font-size: 1rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.gallery-item img {
    width: 100%;
    height: 120px;
    object-fit: cover;
}

/* Testimonials Section */
.testimonials {
    padding: 6rem 0;
    background: var(--soft-ivory);
}

.testimonials-carousel {
    position: relative;
    max-width: 800px;
    margin: 3rem auto 0;
    overflow: hidden;
}

.testimonial-card {
    display: none;
    background: white;
    padding: 3rem;
    border-radius: 20px;
    box-shadow: var(--shadow-medium);
    text-align: center;
    animation: fadeIn 0.5s ease-in-out;
}

.testimonial-card.active {
    display: block;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.stars {
    color: var(--accent-gold);
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
}

.testimonial-content p {
    font-size: 1.2rem;
    font-style: italic;
    color: var(--text-dark);
    margin-bottom: 2rem;
    line-height: 1.6;
}

.testimonial-author {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
}

.author-info h4 {
    font-size: 1.1rem;
    color: var(--text-dark);
    margin-bottom: 0.25rem;
}

.author-info span {
    color: var(--text-light);
    font-size: 0.9rem;
}

.carousel-controls {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-top: 2rem;
}

.carousel-btn {
    width: 50px;
    height: 50px;
    border: none;
    border-radius: 50%;
    background: var(--accent-gold);
    color: var(--text-dark);
    font-size: 1.5rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.carousel-btn:hover {
    background: #f4d03f;
    transform: scale(1.1);
}

/* Call to Action Section */
.cta-section {
    padding: 6rem 0;
    background: linear-gradient(135deg, var(--primary-green) 0%, var(--deep-emerald) 100%);
    color: white;
    text-align: center;
}

.cta-content h2 {
    font-size: 3rem;
    margin-bottom: 1rem;
    color: white;
}

.cta-content p {
    font-size: 1.3rem;
    margin-bottom: 3rem;
    opacity: 0.9;
}

.cta-actions {
    display: flex;
    gap: 2rem;
    justify-content: center;
    flex-wrap: wrap;
}

.btn-cta-primary, .btn-cta-secondary {
    padding: 1.2rem 2.5rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.btn-cta-primary {
    background: var(--accent-gold);
    color: var(--text-dark);
    box-shadow: var(--shadow-medium);
}

.btn-cta-primary:hover {
    background: #f4d03f;
    transform: translateY(-3px);
    box-shadow: var(--shadow-large);
}

.btn-cta-secondary {
    background: transparent;
    color: white;
    border: 2px solid white;
}

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

/* Responsive Design */
@media (min-width: 1024px) {
    .communities-grid {
        grid-template-columns: repeat(4, 1fr) !important;
    }
    .features-grid {
        grid-template-columns: repeat(4, 1fr) !important;
    }
}

@media (max-width: 768px) {
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-subtitle {
        font-size: 1.2rem;
    }
    
    .hero-actions {
        flex-direction: column;
        align-items: center;
    }
    
    .section-header h2 {
        font-size: 2rem;
    }
    
    .communities-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
    }
    
    .tour-showcase {
        grid-template-columns: 1fr;
    }
    
    .tour-gallery {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .cta-content h2 {
        font-size: 2rem;
    }
    
    .cta-actions {
        flex-direction: column;
        align-items: center;
    }
}

@media (max-width: 480px) {
    .communities-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 1rem;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .btn-primary, .btn-secondary {
        padding: 0.8rem 1.5rem;
        font-size: 1rem;
    }
    
    .feature-card {
        padding: 2rem 1.5rem;
    }
    
    .testimonial-card {
        padding: 2rem 1.5rem;
    }
}

/* Scroll Animations */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Loading Animation */
@keyframes shimmer {
    0% { background-position: -200px 0; }
    100% { background-position: calc(200px + 100%) 0; }
}

.loading {
    background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
    background-size: 200px 100%;
    animation: shimmer 1.5s infinite;
}

/* Ensure hero images are never hidden by loading states */
.hero-bg.loading,
.luxury-hero .hero-bg.loading,
.about-hero .hero-bg.loading,
.contact-hero .hero-bg.loading,
.gallery-hero .hero-bg.loading,
.clubhouses-hero .hero-bg.loading,
.buyers-guide-hero .hero-bg.loading,
.news-events-hero .hero-bg.loading {
    background: none !important;
    animation: none !important;
    opacity: 1 !important;
}

/* About Us Page Styles */
.about-hero {
    position: relative;
    height: 60vh;
    min-height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.about-hero .hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.about-hero .hero-bg {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.6);
}

.about-hero .hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(45, 80, 22, 0.7) 0%, rgba(6, 78, 59, 0.5) 100%);
    z-index: 2;
}

.about-hero .hero-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 3;
    text-align: center;
    color: white;
    max-width: 800px;
    padding: 0 2rem;
}

.about-hero h1 {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.about-hero p {
    font-size: 1.3rem;
    color: var(--champagne);
}

/* About Introduction */
.about-intro {
    padding: 6rem 0;
    background: white;
}

.intro-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.since-badge {
    display: inline-block;
    background: linear-gradient(135deg, var(--accent-gold), var(--primary-green));
    color: white;
    padding: 0.5rem 1.5rem;
    border-radius: 25px;
    font-weight: 600;
    font-size: 0.9rem;
    margin-bottom: 2rem;
}

.intro-text h2 {
    font-size: 2.5rem;
    color: var(--text-dark);
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.intro-text p {
    font-size: 1.1rem;
    color: var(--text-light);
    line-height: 1.7;
    margin-bottom: 3rem;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.stat-item {
    text-align: center;
    padding: 1.5rem;
    background: var(--soft-ivory);
    border-radius: 15px;
    transition: transform 0.3s ease;
}

.stat-item:hover {
    transform: translateY(-5px);
}

.stat-item h3 {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-green);
    margin-bottom: 0.5rem;
}

.stat-item p {
    color: var(--text-light);
    font-weight: 500;
}

.intro-image {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow-large);
    padding: 0;
    margin: 0;
}

.intro-image img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    object-position: center;
    transition: transform 0.3s ease;
    display: block;
    border-radius: 20px;
}

.intro-image:hover img {
    transform: scale(1.05);
}

/* Why Choose About */
.why-choose-about {
    padding: 6rem 0;
    background: var(--soft-ivory);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 3rem;
    margin-top: 3rem;
}

.feature-card {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow-soft);
    transition: all 0.3s ease;
}

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

.feature-image {
    height: 200px;
    overflow: hidden;
}

.feature-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.feature-card:hover .feature-image img {
    transform: scale(1.1);
}

.feature-content {
    padding: 2rem;
}

.feature-content h3 {
    font-size: 1.5rem;
    color: var(--text-dark);
    margin-bottom: 1rem;
}

.feature-content p {
    color: var(--text-light);
    line-height: 1.6;
}

/* Our Services */
.our-services {
    padding: 6rem 0;
    background: white;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.service-card {
    background: white;
    padding: 3rem 2rem;
    border-radius: 20px;
    text-align: center;
    box-shadow: var(--shadow-soft);
    transition: all 0.3s ease;
    border: 1px solid #f0f0f0;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-large);
    border-color: var(--accent-gold);
}

.service-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 1.5rem;
    background: linear-gradient(135deg, var(--accent-gold), var(--primary-green));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
}

.service-icon svg {
    width: 40px;
    height: 40px;
}

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

.service-card p {
    color: var(--text-light);
    line-height: 1.6;
}

/* Testimonials About */
.testimonials-about {
    padding: 6rem 0;
    background: var(--soft-ivory);
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.testimonial-card {
    background: white;
    padding: 2.5rem;
    border-radius: 20px;
    box-shadow: var(--shadow-medium);
    transition: transform 0.3s ease;
}

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

.stars {
    color: var(--accent-gold);
    font-size: 1.2rem;
    margin-bottom: 1rem;
}

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

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.author-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    overflow: hidden;
}

.author-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.author-info h4 {
    font-size: 1.1rem;
    color: var(--text-dark);
    margin-bottom: 0.25rem;
}

.author-info span {
    color: var(--text-light);
    font-size: 0.9rem;
}

/* Our Partners */
.our-partners {
    padding: 6rem 0;
    background: white;
}

.partners-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
    align-items: center;
}

/* Full Width Partners Section */
.our-partners-fullwidth {
    width: 100vw;
    margin-left: calc(-50vw + 50%);
    background: var(--soft-ivory);
    padding: 3rem 0;
    margin-top: 0;
    margin-bottom: 0;
}

.partners-container {
    overflow: hidden;
    margin: 0;
    width: 100%;
    position: relative;
}

.partners-grid {
    display: flex;
    gap: 2rem;
    align-items: center;
    animation: infiniteScroll 20s linear infinite;
    width: max-content;
    padding: 0;
    justify-content: space-between;
}

.partner-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1.5rem 1.5rem;
    background: var(--soft-ivory);
    border-radius: 15px;
    transition: all 0.3s ease;
    flex-shrink: 0;
    width: 120px;
    height: 80px;
}

.partner-logo:hover {
    transform: translateY(-5px) scale(1.1);
    box-shadow: var(--shadow-medium);
}

.partner-logo img {
    max-width: 80px;
    max-height: 50px;
    width: auto;
    height: auto;
    object-fit: contain;
    opacity: 0.7;
    transition: opacity 0.3s ease;
}

.partner-logo:hover img {
    opacity: 1;
}

@keyframes infiniteScroll {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

/* CTA About */
.cta-about {
    padding: 6rem 0;
    background: linear-gradient(135deg, var(--primary-green) 0%, var(--deep-emerald) 100%);
    color: white;
    text-align: center;
}

.cta-content h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: white;
}

.cta-content p {
    font-size: 1.2rem;
    margin-bottom: 3rem;
    opacity: 0.9;
}

.cta-form {
    display: flex;
    max-width: 500px;
    margin: 0 auto;
    gap: 1rem;
}

.email-input {
    flex: 1;
    padding: 1rem 1.5rem;
    border: none;
    border-radius: 50px;
    font-size: 1rem;
    outline: none;
}

.btn-cta {
    padding: 1rem 2rem;
    background: var(--accent-gold);
    color: var(--text-dark);
    border: none;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-cta:hover {
    background: #f4d03f;
    transform: translateY(-2px);
}

/* Responsive Design for About Page */
@media (max-width: 768px) {
    .about-hero h1 {
        font-size: 2rem;
    }
    
    .intro-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .stats-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    .testimonials-grid {
        grid-template-columns: 1fr;
    }
    
    .partners-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .cta-form {
        flex-direction: column;
    }
    
    .cta-content h2 {
        font-size: 2rem;
    }
}

@media (max-width: 480px) {
    .about-hero {
        height: 50vh;
        min-height: 300px;
    }
    
    .about-hero h1 {
        font-size: 1.8rem;
    }
    
    .intro-text h2 {
        font-size: 2rem;
    }
    
    .partners-grid {
        grid-template-columns: 1fr;
    }
}
