/* Variables */
:root {
    --brand-blue: #396fc8;
    --brand-dark: #171a1f;
    --brand-text: #565d6d;
    --brand-bg: #f3f6fc;
    --accent-gold: #E2B487;
    --white: #ffffff;
    --font-family: 'Inter', sans-serif;
    --transition: all 0.3s ease;
}

/* Reset & Base Styles */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: var(--font-family);
    color: var(--brand-text);
    line-height: 1.6;
    background-color: var(--white);
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 24px;
}

.section-padding {
    padding: 80px 0;
}

.text-center {
    text-align: center;
}

.bg-light {
    background-color: var(--brand-bg);
}

/* Typography */
h1,
h2,
h3,
h4,
h5,
h6 {
    font-weight: 700;
    color: var(--brand-dark);
    margin-bottom: 1rem;
    line-height: 1.2;
}

h1 {
    font-size: 3.5rem;
}

h2 {
    font-size: 2.5rem;
}

h3 {
    font-size: 1.5rem;
}

.section-title {
    font-size: 2.5rem;
    color: var(--brand-dark);
    margin-bottom: 1rem;
}

.section-subtitle {
    font-size: 1.1rem;
    color: var(--brand-text);
    margin-bottom: 40px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.text-brand-blue {
    color: var(--brand-blue);
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 32px;
    border-radius: 9999px;
    /* Rounded full */
    font-weight: 600;
    cursor: pointer;
    border: 1px solid transparent;
    transition: var(--transition);
    font-size: 1rem;
}

.btn-primary {
    background-color: var(--brand-blue);
    color: var(--white);
    box-shadow: 0 4px 6px -1px rgba(57, 111, 200, 0.3);
}

.btn-primary:hover {
    background-color: #2d5ba8;
    transform: translateY(-2px);
}

.btn-outline {
    background-color: var(--white);
    color: var(--brand-blue);
    border-color: var(--brand-blue);
}

.btn-outline:hover {
    background-color: #eff6ff;
}

/* Header */
.site-header {
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(4px);
    box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    height: 80px;
    display: flex;
    align-items: center;
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.site-branding img {
    height: 56px;
    width: auto;
}

.main-navigation ul {
    display: flex;
    align-items: center;
    gap: 32px;
}

.main-navigation ul li a {
    font-weight: 500;
    color: var(--brand-dark);
    font-size: 0.95rem;
}

.main-navigation ul li a:hover {
    color: var(--brand-blue);
}

.header-cta {
    padding: 10px 24px;
    border-radius: 6px;
    font-size: 0.9rem;
    margin-left: 32px;
}

.menu-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 10px;
}

.menu-toggle .bar {
    display: block;
    width: 24px;
    height: 2px;
    background-color: var(--brand-dark);
    margin: 5px 0;
    transition: var(--transition);
}

/* Hero Section */
.hero-section {
    padding-top: 160px;
    padding-bottom: 100px;
    background-color: var(--brand-bg);
    overflow: hidden;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: center;
}

.hero-content h1 {
    font-size: 3.5rem;
    line-height: 1.1;
    margin-bottom: 24px;
}

.hero-content p {
    font-size: 1.125rem;
    margin-bottom: 32px;
    max-width: 500px;
}

.hero-buttons {
    display: flex;
    gap: 16px;
}

.hero-image img {
    border-radius: 16px;
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

/* Features Section */
.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}

.feature-card {
    background: var(--white);
    padding: 32px;
    border-radius: 12px;
    border: 1px solid #e5e7eb;
    box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    transition: var(--transition);
}

.feature-card:hover {
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

.feature-icon {
    width: 48px;
    height: 48px;
    color: var(--accent-gold);
    margin-bottom: 24px;
}

/* Testimonials */
.testimonials-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: center;
}

.stars {
    color: var(--accent-gold);
    display: flex;
    gap: 4px;
    margin-bottom: 16px;
}

.review-card {
    background: var(--white);
    padding: 24px;
    border-radius: 12px;
    border: 1px solid #e5e7eb;
    margin-bottom: 24px;
    box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
}

.review-text {
    font-style: italic;
    color: var(--brand-dark);
    margin-bottom: 16px;
    font-size: 1.1rem;
}

.review-author {
    font-weight: 600;
    color: var(--brand-blue);
}

/* Services */
.services-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
}

.service-card {
    position: relative;
    height: 300px;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
}

.service-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.service-card:hover img {
    transform: scale(1.1);
}

.service-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8), transparent);
    padding: 32px;
    color: var(--white);
}

.service-overlay h3 {
    color: var(--white);
    margin-bottom: 8px;
}

/* Values */
.values-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 24px;
}

.value-card {
    background: var(--white);
    padding: 24px;
    border-radius: 12px;
    border: 1px solid #f3f4f6;
    text-align: center;
}

.value-icon {
    color: var(--brand-blue);
    width: 40px;
    height: 40px;
    margin: 0 auto 16px;
}

/* Blog */
.blog-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}

.blog-card {
    background: var(--white);
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid #e5e7eb;
    transition: var(--transition);
}

.blog-card:hover {
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

.blog-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.blog-content {
    padding: 24px;
}

.blog-link {
    color: var(--brand-blue);
    font-weight: 500;
    font-size: 0.9rem;
}

/* Contact */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
}

.contact-form-wrapper {
    background: var(--white);
    padding: 32px;
    border-radius: 12px;
    box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1);
}

.contact-info-item {
    display: flex;
    gap: 16px;
    margin-bottom: 24px;
}

.contact-icon {
    color: var(--brand-blue);
    width: 24px;
    height: 24px;
    flex-shrink: 0;
}

.map-image {
    height: 250px;
    border-radius: 12px;
    overflow: hidden;
    margin-top: 32px;
}

.map-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Form Styles */
.form-group {
    margin-bottom: 24px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: var(--brand-dark);
    font-size: 0.9rem;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    background-color: #f9fafb;
    font-family: inherit;
    transition: var(--transition);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--brand-blue);
    background-color: var(--white);
    box-shadow: 0 0 0 3px rgba(57, 111, 200, 0.1);
}

/* Footer */
.site-footer {
    background-color: var(--white);
    border-top: 1px solid #f3f4f6;
    padding: 48px 0;
    color: var(--brand-text);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: 32px;
    margin-bottom: 32px;
}

.footer-column h3 {
    color: var(--brand-blue);
    font-size: 1.25rem;
    margin-bottom: 16px;
}

.footer-column h4 {
    color: var(--brand-dark);
    font-size: 1rem;
    margin-bottom: 16px;
}

.footer-menu li {
    margin-bottom: 8px;
}

.footer-menu li a {
    color: var(--brand-text);
    font-size: 0.9rem;
}

.footer-menu li a:hover {
    color: var(--brand-blue);
}

.footer-bottom {
    border-top: 1px solid #f3f4f6;
    padding-top: 32px;
    text-align: center;
    display: flex;
    justify-content: center;
    gap: 24px;
}

/* Responsive */
@media (max-width: 1024px) {
    .container {
        padding: 0 20px;
    }

    h1 {
        font-size: 2.5rem;
    }

    .hero-grid,
    .testimonials-grid,
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .features-grid,
    .blog-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .values-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .services-grid {
        grid-template-columns: 1fr;
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    .menu-toggle {
        display: block;
    }

    .main-navigation {
        display: none;
        position: absolute;
        top: 80px;
        left: 0;
        width: 100%;
        background: var(--white);
        padding: 20px;
        box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
        flex-direction: column;
    }

    .main-navigation.toggled {
        display: flex;
    }

    .main-navigation ul {
        flex-direction: column;
        gap: 16px;
        width: 100%;
    }

    .header-cta {
        margin: 16px 0 0;
        width: 100%;
        text-align: center;
    }

    .features-grid,
    .blog-grid,
    .values-grid {
        grid-template-columns: 1fr;
    }

    .footer-grid {
        grid-template-columns: 1fr;
    }

    .hero-image {
        order: -1;
    }
}

/* Animations */
.fade-in-up {
    box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1);
}

.contact-info-item {
    display: flex;
    gap: 16px;
    margin-bottom: 24px;
}

.contact-icon {
    color: var(--brand-blue);
    width: 24px;
    height: 24px;
    flex-shrink: 0;
}

.map-image {
    height: 250px;
    border-radius: 12px;
    overflow: hidden;
    margin-top: 32px;
}

.map-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Form Styles */
.form-group {
    margin-bottom: 24px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: var(--brand-dark);
    font-size: 0.9rem;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    background-color: #f9fafb;
    font-family: inherit;
    transition: var(--transition);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--brand-blue);
    background-color: var(--white);
    box-shadow: 0 0 0 3px rgba(57, 111, 200, 0.1);
}

/* Footer */
.site-footer {
    background-color: var(--white);
    border-top: 1px solid #f3f4f6;
    padding: 48px 0;
    color: var(--brand-text);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: 32px;
    margin-bottom: 32px;
}

.footer-column h3 {
    color: var(--brand-blue);
    font-size: 1.25rem;
    margin-bottom: 16px;
}

.footer-column h4 {
    color: var(--brand-dark);
    font-size: 1rem;
    margin-bottom: 16px;
}

.footer-menu li {
    margin-bottom: 8px;
}

.footer-menu li a {
    color: var(--brand-text);
    font-size: 0.9rem;
}

.footer-menu li a:hover {
    color: var(--brand-blue);
}

.footer-bottom {
    border-top: 1px solid #f3f4f6;
    padding-top: 32px;
    text-align: center;
    display: flex;
    justify-content: center;
    gap: 24px;
}

/* Responsive */
@media (max-width: 1024px) {
    .container {
        padding: 0 20px;
    }

    h1 {
        font-size: 2.5rem;
    }

    .hero-grid,
    .testimonials-grid,
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .features-grid,
    .blog-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .values-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .services-grid {
        grid-template-columns: 1fr;
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    .menu-toggle {
        display: block;
    }

    .main-navigation {
        display: none;
        position: absolute;
        top: 80px;
        left: 0;
        width: 100%;
        background: var(--white);
        padding: 20px;
        box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
        flex-direction: column;
    }

    .main-navigation.toggled {
        display: flex;
    }

    .main-navigation ul {
        flex-direction: column;
        gap: 16px;
        width: 100%;
    }

    .header-cta {
        margin: 16px 0 0;
        width: 100%;
        text-align: center;
    }

    .features-grid,
    .blog-grid,
    .values-grid {
        grid-template-columns: 1fr;
    }

    .footer-grid {
        grid-template-columns: 1fr;
    }

    .hero-image {
        order: -1;
    }
}

/* Animations */
.fade-in-up {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.fade-in-up.visible {
    opacity: 1;
    transform: translateY(0);
}