/* CSS Variables */
:root {
    --primary: #003359;
    --secondary: #e94725;
    --accent: #98dc28;
    --light-bg: #f7f8f3;
    --accent-bg: #b8dfe8;
    --dark: #2a2a2a;
    --white: #ffffff;
    --gray: #737373;
    --border: #e5e5e5;
}

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

html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
}

body {
    font-family: 'Quicksand', sans-serif;
    line-height: 1.6;
    color: var(--dark);
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4 {
    font-family: 'Block Berthold', 'Quicksand', sans-serif;
    font-weight: 400;
    line-height: 1.4;
}

h1 {
    font-size: 48px;
    color: var(--primary);
}

h2 {
    font-size: 40px;
    color: var(--primary);
}

h3 {
    font-size: 24px;
    color: var(--primary);
}

h4 {
    font-size: 20px;
    color: var(--dark);
}

p {
    font-size: 18px;
    font-weight: 500;
    line-height: 1.4;
}

a {
    text-decoration: none;
    color: inherit;
    -webkit-tap-highlight-color: transparent;
}

button {
    cursor: pointer;
    border: none;
    outline: none;
    touch-action: manipulation;
    -webkit-tap-highlight-color: transparent;
}

img {
    max-width: 100%;
    display: block;
}

/* Button Styles */
.btn-primary {
    background-color: var(--secondary);
    color: var(--white);
    padding: 10px 32px;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 700;
    text-transform: uppercase;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.btn-primary::before {
    content: '';
    position: absolute;
    left: -1px;
    top: 0;
    bottom: 0;
    width: 1px;
    background-color: var(--accent);
}

.btn-primary:hover {
    background-color: #d63d1e;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(233, 71, 37, 0.3);
}

/* Navigation */
.navbar {
    background-color: var(--white);
    height: 92px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 70px;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease;
}

.nav-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    max-width: 1440px;
}

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

.nav-links a {
    font-size: 16px;
    font-weight: 500;
    color: var(--primary);
    transition: color 0.3s ease;
}

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

.nav-logo {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
}

.nav-logo img {
    height: 72px;
    width: auto;
}

.nav-cta {
    margin-left: auto;
}

/* Mobile Menu Toggle */
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    padding: 5px;
    cursor: pointer;
    z-index: 1001;
}

.mobile-menu-toggle span {
    width: 25px;
    height: 3px;
    background-color: var(--primary);
    border-radius: 2px;
    transition: all 0.3s ease;
}

.mobile-menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(8px, 8px);
}

.mobile-menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -7px);
}

/* Mobile Menu Overlay */
.mobile-menu-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 999;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.mobile-menu-overlay.active {
    opacity: 1;
    visibility: visible;
}

.mobile-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 280px;
    height: 100%;
    background-color: var(--white);
    box-shadow: -2px 0 8px rgba(0, 0, 0, 0.1);
    padding: 24px;
    display: flex;
    flex-direction: column;
    transition: right 0.3s ease;
    z-index: 1000;
}

.mobile-menu-overlay.active .mobile-menu {
    right: 0;
}

.mobile-menu-close {
    align-self: flex-end;
    font-size: 36px;
    background: none;
    border: none;
    color: var(--primary);
    cursor: pointer;
    padding: 0;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}

.mobile-menu-links {
    display: flex;
    flex-direction: column;
    gap: 24px;
    margin-bottom: 32px;
}

.mobile-menu-links a {
    font-size: 20px;
    font-weight: 600;
    color: var(--primary);
    padding: 8px 0;
    border-bottom: 1px solid var(--border);
    transition: color 0.3s ease;
}

.mobile-menu-links a:hover {
    color: var(--secondary);
}

.mobile-menu-cta {
    width: 100%;
}

/* Hero Section */
.hero {
    background-color: var(--light-bg);
    padding: 0;
}

section#home {
    height: calc(100vh - 92px);
}

.hero-container {
    display: flex;
    align-items: center;
    height: 100%;
}

.hero-content {
    flex: 1;
    padding: 0 64px 0 64px;
    max-width: 720px;
}

.hero-content h1 {
    margin-bottom: 14px;
}

.hero-content p {
    margin-bottom: 32px;
    max-width: 581px;
}

.hero-image {
    flex: 1;
    height: 100%;
    overflow: hidden;
    position: relative;
}

.hero-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

/* Features Section */
.features {
    background-color: var(--accent-bg);
    padding: 20px 70px;
}

.features-container {
    display: flex;
    gap: 60px;
    align-items: center;
    justify-content: center;
    max-width: 1300px;
    margin: 0 auto;
}

.feature-item {
    display: flex;
    gap: 12px;
    align-items: center;
}

.feature-icon {
    flex-shrink: 0;
    width: 45px;
    height: 45px;
}

.feature-icon img {
    width: 100%;
    height: 100%;
}

.feature-text h3 {
    font-size: 16px;
    margin-bottom: 2px;
}

.feature-text p {
    font-size: 14px;
    font-weight: 600;
}

/* Services Section */
.services {
    padding: 80px 70px;
    background-color: var(--white);
}

.services-container {
    max-width: 1300px;
    margin: 0 auto;
}

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

.section-header h2 {
    font-size: 48px;
    margin-bottom: 14px;
}

.section-header p {
    max-width: 862px;
    margin: 0 auto;
}

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

.service-card {
    border-radius: 8px;
    overflow: hidden;
    background-color: #f4f4f4;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
}

.service-image {
    height: 330px;
    overflow: hidden;
}

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

.service-content {
    padding: 37px 24px;
    background-color: #f4f4f4;
    text-align: center;
    flex: 1;
}

.service-content h3 {
    margin-bottom: 12px;
}

.service-content p {
    font-size: 18px;
    color: #3a3a3a;
}

/* Meet the Family Section */
.meet-family {
    padding: 60px 70px;
    background-color: var(--white);
}

.meet-family-container {
    display: flex;
    gap: 80px;
    align-items: center;
    max-width: 1300px;
    margin: 0 auto;
}

.meet-family-content {
    flex: 1;
    max-width: 610px;
}

.meet-family-content h2 {
    font-size: 48px;
    margin-bottom: 14px;
}

.meet-family-content p {
    margin-bottom: 32px;
}

.meet-family-image {
    flex: 1;
    height: 518px;
    border-radius: 8px;
    overflow: hidden;
}

.meet-family-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Testimonials Section */
.testimonials {
    padding: 60px 70px;
    background-color: var(--white);
}

.testimonials-container {
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
}

.testimonials .section-header h2 {
    font-size: 40px;
}

.slider-wrapper {
    position: relative;
    margin: 60px 0 40px;
}

.testimonials-slider {
    overflow: hidden;
    width: 100%;
}

.testimonials-track {
    display: flex;
    gap: 24px;
    transition: transform 0.5s ease;
}

.testimonial-card {
    min-width: 380px;
    max-width: 380px;
    flex-shrink: 0;
    background-color: var(--light-bg);
    border: 1px solid var(--primary);
    border-radius: 8px;
    padding: 32px;
    display: flex;
    flex-direction: column;
    gap: 20px;
    box-sizing: border-box;
}

.testimonial-stars {
    display: flex;
    gap: 4px;
    align-items: center;
}

.testimonial-stars img {
    width: 20px;
    height: 20px;
}

.testimonial-text {
    font-size: 16px;
    flex-grow: 1;
}

.testimonial-author {
    display: flex;
    gap: 16px;
    align-items: center;
}

.testimonial-author img {
    width: 48px;
    height: 48px;
    border-radius: 50%;
}

.testimonial-author h4 {
    font-size: 20px;
    margin-bottom: 4px;
}

.testimonial-author p {
    font-size: 16px;
    color: var(--dark);
}

.slider-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: var(--secondary);
    width: 48px;
    height: 48px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    z-index: 100;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    cursor: pointer;
}

.slider-btn:hover {
    background-color: #d63d1e;
    transform: translateY(-50%) scale(1.1);
}

.slider-btn.prev {
    left: -60px;
}

.slider-btn.next {
    right: -60px;
}

.slider-btn img {
    width: 24px;
    height: 24px;
}

.slider-dots {
    display: flex;
    gap: 9px;
    justify-content: center;
    padding: 10px;
}

.dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background-color: rgba(0, 51, 89, 0.3);
    cursor: pointer;
    transition: all 0.3s ease;
}

.dot.active {
    background-color: var(--primary);
    transform: scale(1.3);
}

/* Contact Section */
.contact {
    background-color: var(--light-bg);
    padding: 80px 70px;
}

.contact-container {
    max-width: 1370px;
    margin: 0 auto;
    display: flex;
    gap: 90px;
    position: relative;
}

.contact-info {
    flex: 0 0 505px;
}

.contact-info h2 {
    font-size: 32px;
    margin-bottom: 14px;
}

.contact-info p {
    margin-bottom: 32px;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 17px;
}

.contact-item {
    display: flex;
    gap: 12px;
    align-items: center;
}

.contact-item img {
    width: 20px;
    height: 20px;
}

.contact-item span {
    font-size: 16px;
    font-weight: 500;
}

.contact-form {
    flex: 1;
    background-color: var(--white);
    border: 1px solid var(--border);
    border-radius: 14px;
    padding: 43px 37px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1), 0 1px 2px -1px rgba(0, 0, 0, 0.1);
}

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

.form-group {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.form-group.full-width {
    grid-column: 1 / -1;
    margin-top: 16px;
}

.form-group label {
    font-size: 16px;
    font-weight: 500;
    color: #101828;
}

.form-group input,
.form-group select,
.form-group textarea {
    padding: 13px;
    border: 1px solid var(--border);
    border-radius: 8px;
    font-family: 'Quicksand', sans-serif;
    font-size: 14px;
    background-color: var(--white);
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
    transition: border-color 0.3s ease;
    -webkit-appearance: none;
    appearance: none;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary);
}

.phone-input {
    display: flex;
    align-items: center;
}

.country-code {
    padding: 13px;
    border: 1px solid var(--border);
    border-right: none;
    border-radius: 8px 0 0 8px;
    background-color: var(--white);
    font-size: 12px;
    font-weight: 500;
}

.phone-input input {
    flex: 1;
    border-radius: 0 8px 8px 0;
}

.contact-form button[type="submit"] {
    margin: 32px auto 0;
    display: block;
}

/* Footer */
.footer {
    background-color: var(--primary);
    padding: 40px 70px;
    color: var(--white);
}

.footer-container {
    max-width: 1300px;
    margin: 0 auto;
}

.footer-content {
    display: flex;
    gap: 80px;
    margin-bottom: 30px;
}

.footer-about {
    flex: 0 0 268px;
}

.footer-logo {
    width: 116px;
    margin-bottom: 24px;
}

.footer-about p {
    font-size: 16px;
}

.footer-links {
    display: flex;
    gap: 40px;
    flex: 1;
}

.footer-column h3 {
    font-size: 20px;
    color: var(--white);
    margin-bottom: 16px;
}

.footer-column ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-column a {
    font-size: 16px;
    font-weight: 500;
    transition: color 0.3s ease;
}

.footer-column a:hover {
    color: var(--accent);
}

.social-links a {
    display: flex;
    align-items: center;
    gap: 12px;
}

.social-links img {
    width: 24px;
    height: 24px;
}

.footer-newsletter {
    flex: 0 0 400px;
}

.footer-newsletter h3 {
    font-size: 20px;
    color: var(--white);
    margin-bottom: 16px;
}

.footer-newsletter p {
    font-size: 14px;
    margin-bottom: 24px;
    line-height: 1.5;
}

.newsletter-form {
    display: flex;
    gap: 14px;
}

.newsletter-form input {
    flex: 1;
    padding: 12px;
    border: 1px solid #aaa8a5;
    border-radius: 8px;
    font-family: 'Quicksand', sans-serif;
    font-size: 14px;
}

.newsletter-form button {
    padding: 10px 32px;
    white-space: nowrap;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    padding-top: 32px;
}

.footer-bottom p {
    font-size: 16px;
    font-weight: 500;
}

/* Responsive Design */
@media (max-width: 1200px) {
    .hero-container {
        flex-direction: column;
        height: auto;
    }

    .hero-content,
    .hero-image {
        max-width: 100%;
    }

    .hero-image {
        height: 400px;
    }

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

    .testimonials-slider {
        padding: 0 60px;
    }
    
    .slider-btn.prev {
        left: 10px;
    }

    .slider-btn.next {
        right: 10px;
    }

    .meet-family-container,
    .contact-container {
        flex-direction: column;
    }

    .contact-info {
        flex: 1;
    }

    .footer-content {
        flex-wrap: wrap;
        gap: 40px;
    }

    .footer-about,
    .footer-newsletter {
        flex: 1 1 100%;
    }
}

@media (max-width: 900px) {
    .services {
        padding: 60px 40px;
    }

    .meet-family {
        padding: 60px 40px;
    }

    .testimonials {
        padding: 60px 40px;
    }

    .contact {
        padding: 60px 40px;
    }

    .footer {
        padding: 40px 40px;
    }

    .testimonials-slider {
        padding: 0 60px;
    }
    
    .slider-btn.prev {
        left: 5px;
    }

    .slider-btn.next {
        right: 5px;
    }
}

@media (max-width: 768px) {
    /* Navigation */
    .navbar {
        padding: 0 20px;
        height: 70px;
    }

    .nav-links {
        display: none;
    }

    .nav-logo {
        position: static;
        transform: none;
        margin-right: auto;
    }

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

    .nav-cta {
        display: none;
    }

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

    .mobile-menu-overlay {
        display: block;
    }

    section#home {
        height: auto;
    }

    /* Hero Section */
    .hero-content {
        padding: 40px 20px;
    }

    .hero-content h1 {
        font-size: 32px;
        margin-bottom: 16px;
    }

    .hero-content p {
        font-size: 16px;
        margin-bottom: 24px;
    }

    .hero-image {
        height: 300px;
    }

    /* Features */
    .features {
        padding: 20px 20px;
    }

    .features-container {
        flex-direction: column;
        gap: 20px;
        align-items: flex-start;
    }

    .feature-item {
        width: 100%;
    }

    .feature-text h3 {
        font-size: 18px;
    }

    .feature-text p {
        font-size: 14px;
    }

    /* Services */
    .services {
        padding: 60px 20px;
    }

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

    .section-header {
        margin-bottom: 40px;
    }

    .section-header h2 {
        font-size: 32px;
    }

    .section-header p {
        font-size: 16px;
    }

    /* Meet the Family */
    .meet-family {
        padding: 60px 20px;
    }

    .meet-family-container {
        gap: 30px;
    }

    .meet-family-content h2 {
        font-size: 32px;
    }

    .meet-family-content p {
        font-size: 16px;
    }

    .meet-family-image {
        height: 300px;
    }

    /* Testimonials */
    .testimonials {
        padding: 60px 20px;
    }

    .testimonials .section-header h2 {
        font-size: 28px;
    }

    .slider-wrapper {
        margin: 40px 0 30px;
    }

    .testimonials-slider {
        padding: 0 50px;
    }

    .testimonial-card {
        min-width: 280px;
        max-width: 280px;
        padding: 24px;
    }

    .testimonial-text {
        font-size: 14px;
    }

    .testimonial-author h4 {
        font-size: 16px;
    }

    .testimonial-author p {
        font-size: 14px;
    }

    .slider-btn {
        width: 40px;
        height: 40px;
    }

    .slider-btn img {
        width: 20px;
        height: 20px;
    }

    /* Contact */
    .contact {
        padding: 60px 20px;
    }

    .contact-container {
        gap: 40px;
    }

    .contact-info h2 {
        font-size: 28px;
    }

    .contact-info p {
        font-size: 16px;
    }

    .contact-form {
        padding: 30px 20px;
    }

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

    .form-group input,
    .form-group select,
    .form-group textarea {
        font-size: 16px;
        padding: 14px;
    }

    .country-code {
        font-size: 16px;
        padding: 14px;
    }

    /* Footer */
    .footer {
        padding: 40px 20px;
    }

    .footer-content {
        flex-direction: column;
        gap: 30px;
    }

    .footer-about {
        flex: 1 1 auto;
    }

    .footer-links {
        flex-direction: column;
        gap: 30px;
    }

    .footer-newsletter {
        flex: 1 1 auto;
    }

    .newsletter-form {
        flex-direction: column;
    }

    .newsletter-form input {
        font-size: 16px;
        padding: 14px;
    }

    .newsletter-form button {
        width: 100%;
        padding: 14px 32px;
    }

    /* Typography */
    h1 {
        font-size: 32px;
    }

    h2 {
        font-size: 28px;
    }

    h3 {
        font-size: 20px;
    }

    p {
        font-size: 16px;
    }
}

@media (max-width: 480px) {
    /* Extra small screens */
    .navbar {
        height: 60px;
        padding: 0 16px;
    }

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

    .btn-primary {
        padding: 12px 24px;
        font-size: 14px;
        min-height: 44px;
    }

    .hero-content {
        padding: 30px 16px;
    }

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

    .hero-image {
        height: 250px;
    }

    .features {
        padding: 16px;
    }

    .services,
    .meet-family,
    .testimonials,
    .contact {
        padding: 40px 16px;
    }

    .section-header h2 {
        font-size: 28px;
    }

    .testimonials-slider {
        padding: 0 40px;
    }

    .testimonial-card {
        min-width: 240px;
        max-width: 240px;
        padding: 20px;
    }

    .slider-btn.prev {
        left: 0;
    }

    .slider-btn.next {
        right: 0;
    }

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

    .footer {
        padding: 30px 16px;
    }

    .footer-about,
    .footer-newsletter {
        flex: 1 1 100%;
    }

    h1 {
        font-size: 28px;
    }

    h2 {
        font-size: 24px;
    }

    h3 {
        font-size: 18px;
    }

    p {
        font-size: 14px;
    }
}

/* Landscape orientation optimizations */
@media (max-width: 900px) and (orientation: landscape) {
    .hero-image {
        height: 300px;
    }

    .meet-family-image {
        height: 250px;
    }

    section#home {
        height: auto;
    }

    .hero-content {
        padding: 30px 40px;
    }
}

@media (max-width: 768px) and (orientation: landscape) {
    .navbar {
        height: 60px;
    }

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

    .hero-content {
        padding: 24px 20px;
    }

    .hero-image {
        height: 250px;
    }

    .features {
        padding: 16px 20px;
    }

    .features-container {
        flex-direction: row;
        flex-wrap: wrap;
    }

    .feature-item {
        flex: 1 1 45%;
        min-width: 200px;
    }
}






