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

:root {
    --dark-grey: #2d3436;
    --medium-grey: #636e72;
    --light-grey: #f8f9fa;
    --white: #ffffff;
    --red: #e74c3c;
    --red-hover: #c0392b;
    --shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    --shadow-hover: 0 4px 16px rgba(0, 0, 0, 0.12);
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.6;
    color: var(--dark-grey);
    background-color: var(--white);
}

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

.navbar {
    background-color: var(--white);
    padding: 20px 0;
    border-bottom: 1px solid #e0e0e0;
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: var(--shadow);
}

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

.logo {
    display: flex;
    flex-direction: column;
}

.logo-text {
    font-size: 28px;
    font-weight: 700;
    color: var(--red);
    letter-spacing: -0.5px;
}

.logo-tagline {
    font-size: 12px;
    color: var(--medium-grey);
    font-weight: 400;
    letter-spacing: 0.5px;
}

.nav-links {
    display: flex;
    gap: 32px;
    align-items: center;
}

.nav-links a {
    color: var(--dark-grey);
    text-decoration: none;
    font-weight: 500;
    font-size: 16px;
    transition: color 0.3s ease;
}

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

.external-link {
    display: flex;
    align-items: center;
    gap: 4px;
    background-color: var(--red);
    color: var(--white) !important;
    padding: 10px 20px;
    border-radius: 6px;
    transition: background-color 0.3s ease, transform 0.2s ease;
}

.external-link:hover {
    background-color: var(--red-hover);
    transform: translateY(-2px);
}

.external-icon {
    font-size: 14px;
}

.hero {
    background: linear-gradient(135deg, var(--dark-grey) 0%, #34495e 100%);
    color: var(--white);
    padding: 120px 0;
    text-align: center;
}

.hero-content {
    max-width: 800px;
    margin: 0 auto;
}

.hero h1 {
    font-size: 52px;
    font-weight: 700;
    margin-bottom: 24px;
    line-height: 1.2;
    letter-spacing: -1px;
}

.hero-subtitle {
    font-size: 20px;
    margin-bottom: 40px;
    opacity: 0.9;
    line-height: 1.5;
    color: var(--light-grey);
}

.cta-button {
    display: inline-block;
    background-color: var(--red);
    color: var(--white);
    padding: 16px 40px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    font-size: 18px;
    transition: background-color 0.3s ease, transform 0.2s ease, box-shadow 0.3s ease;
    box-shadow: 0 4px 12px rgba(231, 76, 60, 0.3);
}

.cta-button:hover {
    background-color: var(--red-hover);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(231, 76, 60, 0.4);
}

.testimonials-featured {
    padding: 80px 0;
    background-color: var(--white);
}

.testimonials-featured h2 {
    font-size: 36px;
    margin-bottom: 60px;
    text-align: center;
    color: var(--dark-grey);
}

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

.testimonial-card {
    background-color: var(--white);
    border: 1px solid #e0e0e0;
    border-radius: 12px;
    padding: 32px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.testimonial-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-hover);
}

.testimonial-image {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 20px;
    border: 3px solid var(--light-grey);
}

.testimonial-content {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.testimonial-quote {
    font-size: 16px;
    line-height: 1.6;
    color: var(--medium-grey);
    margin-bottom: 20px;
    flex: 1;
    font-style: italic;
}

.testimonial-author {
    border-top: 1px solid #e0e0e0;
    padding-top: 16px;
}

.author-name {
    font-weight: 600;
    color: var(--dark-grey);
    font-size: 16px;
    margin-bottom: 4px;
}

.author-name a {
    color: var(--dark-grey);
    text-decoration: none;
    transition: color 0.3s ease;
}

.author-name a:hover {
    color: var(--red);
}

.author-title {
    font-size: 14px;
    color: var(--medium-grey);
}

.author-title a {
    color: var(--medium-grey);
    text-decoration: none;
    transition: color 0.3s ease;
}

.author-title a:hover {
    color: var(--red);
}

.services {
    padding: 80px 0;
    background-color: var(--light-grey);
}

.services h2 {
    font-size: 42px;
    margin-bottom: 20px;
    text-align: center;
    color: var(--dark-grey);
}

.section-intro {
    text-align: center;
    font-size: 20px;
    color: var(--medium-grey);
    max-width: 700px;
    margin: 0 auto 60px;
}

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

.service-card {
    background-color: var(--white);
    padding: 32px;
    border-radius: 12px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid #e0e0e0;
}

.service-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-hover);
    border-color: var(--red);
}

.service-icon {
    font-size: 40px;
    margin-bottom: 16px;
}

.service-card h3 {
    font-size: 20px;
    margin-bottom: 12px;
    color: var(--dark-grey);
}

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

.why-ritza {
    padding: 80px 0;
    background-color: var(--white);
}

.why-ritza h2 {
    font-size: 42px;
    margin-bottom: 60px;
    text-align: center;
    color: var(--dark-grey);
}

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

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

.why-card h3 {
    font-size: 22px;
    margin-bottom: 16px;
    color: var(--dark-grey);
}

.why-card p {
    color: var(--medium-grey);
    line-height: 1.7;
    font-size: 16px;
}

.testimonials-carousel {
    padding: 80px 0;
    background-color: var(--dark-grey);
    color: var(--white);
}

.testimonials-carousel h2 {
    font-size: 36px;
    margin-bottom: 60px;
    text-align: center;
    color: var(--white);
}

.carousel-wrapper {
    position: relative;
    display: flex;
    align-items: center;
    gap: 20px;
}

.carousel-container {
    overflow: hidden;
    flex: 1;
}

.carousel-track {
    display: flex;
    transition: transform 0.5s ease-in-out;
}

.carousel-slide {
    min-width: 100%;
    padding: 0 20px;
}

.carousel-testimonial {
    background-color: rgba(255, 255, 255, 0.1);
    padding: 48px;
    border-radius: 12px;
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
    backdrop-filter: blur(10px);
}

.carousel-testimonial img {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 24px;
    border: 4px solid rgba(255, 255, 255, 0.2);
}

.carousel-testimonial .quote {
    font-size: 20px;
    line-height: 1.6;
    margin-bottom: 24px;
    font-style: italic;
    color: var(--light-grey);
}

.carousel-testimonial .author {
    font-weight: 600;
    font-size: 18px;
    margin-bottom: 4px;
}

.carousel-testimonial .author a {
    color: var(--white);
    text-decoration: none;
    transition: color 0.3s ease;
}

.carousel-testimonial .author a:hover {
    color: var(--red);
}

.carousel-testimonial .title {
    font-size: 16px;
    color: rgba(255, 255, 255, 0.8);
}

.carousel-testimonial .title a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: color 0.3s ease;
}

.carousel-testimonial .title a:hover {
    color: var(--red);
}

.carousel-button {
    background-color: var(--red);
    color: var(--white);
    border: none;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    font-size: 24px;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.2s ease;
    flex-shrink: 0;
}

.carousel-button:hover {
    background-color: var(--red-hover);
    transform: scale(1.1);
}

.carousel-button:active {
    transform: scale(0.95);
}

.carousel-dots {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-top: 32px;
}

.carousel-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.3);
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.2s ease;
}

.carousel-dot.active {
    background-color: var(--red);
    transform: scale(1.2);
}

.carousel-dot:hover {
    background-color: rgba(255, 255, 255, 0.6);
}

.cta-section {
    padding: 80px 0;
    background: linear-gradient(135deg, var(--dark-grey) 0%, #34495e 100%);
    color: var(--white);
    text-align: center;
}

.cta-section h2 {
    font-size: 42px;
    margin-bottom: 20px;
}

.cta-section p {
    font-size: 20px;
    margin-bottom: 40px;
    opacity: 0.9;
}

.footer {
    padding: 32px 0;
    background-color: var(--dark-grey);
    color: var(--white);
    text-align: center;
}

.footer p {
    opacity: 0.8;
}

@media (max-width: 1024px) {
    .testimonials-grid {
        grid-template-columns: repeat(2, 1fr);
    }

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

@media (max-width: 768px) {
    .hero h1 {
        font-size: 36px;
    }

    .hero-subtitle {
        font-size: 18px;
    }

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

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

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

    .nav-links {
        gap: 16px;
    }

    .nav-links a {
        font-size: 14px;
    }

    .external-link {
        padding: 8px 16px;
        font-size: 14px;
    }

    .carousel-button {
        width: 40px;
        height: 40px;
        font-size: 20px;
    }

    .carousel-testimonial {
        padding: 32px 24px;
    }

    .carousel-testimonial .quote {
        font-size: 18px;
    }
}

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

    .hero h1 {
        font-size: 28px;
    }

    .services h2,
    .why-ritza h2,
    .cta-section h2 {
        font-size: 32px;
    }

    .testimonials-featured h2,
    .testimonials-carousel h2 {
        font-size: 28px;
    }
}
