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

/* Base Styles */
.container {
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 1rem;
}

@media (min-width: 640px) {
    .container {
        padding: 0 1.5rem;
    }
}

@media (min-width: 1024px) {
    .container {
        padding: 0 2rem;
    }
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Playfair Display', serif;
    font-weight: 700;
}

p {
    font-family: 'Poppins', sans-serif;
}

/* Buttons */
.btn {
    padding: 0.625rem 1.5rem;
    border: none;
    border-radius: 0.5rem;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
    font-family: 'Poppins', sans-serif;
}

.btn-primary {
    background-color: #2563eb;
    color: white;
}

.btn-primary:hover {
    background-color: #1d4ed8;
}

.btn-outline {
    background-color: transparent;
    color: #2563eb;
    border: 2px solid #2563eb;
}

.btn-outline:hover {
    background-color: #eff6ff;
}

.btn-lg {
    padding: 0.75rem 2rem;
    font-size: 1.125rem;
}

.btn-white {
    background-color: white;
    color: #2563eb;
}

.btn-white:hover {
    background-color: #f3f4f6;
}

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

.btn-outline-white:hover {
    background-color: rgba(255, 255, 255, 0.1);
}

/* Hero Section */
.relbiz-hero {
    padding: 4rem 0 5rem 0;
    background: linear-gradient(135deg, #f0f9ff, #ffffff, #f0fdf4);
    position: relative;
    overflow: hidden;
}

.relbiz-hero::before {
    content: '';
    position: absolute;
    top: 80px;
    right: 0;
    width: 384px;
    height: 384px;
    background-color: rgba(219, 234, 254, 0.5);
    border-radius: 50%;
    filter: blur(80px);
    z-index: -1;
}

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

@media (min-width: 1024px) {
    .hero-content {
        grid-template-columns: 1fr 1fr;
    }
}

.hero-text h1 {
    font-size: 3rem;
    line-height: 1.2;
    color: #111827;
    margin-bottom: 1rem;
}

@media (min-width: 1024px) {
    .hero-text h1 {
        font-size: 3.75rem;
    }
}

.hero-text p {
    font-size: 1.25rem;
    color: #4b5563;
    margin-bottom: 2rem;
    line-height: 1.8;
}

.hero-buttons {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 2rem;
}

@media (min-width: 640px) {
    .hero-buttons {
        flex-direction: row;
    }
}

.hero-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    padding-top: 2rem;
    border-top: 1px solid #e5e7eb;
}

.stat {
    text-align: left;
}

.stat-number {
    font-size: 1.875rem;
    font-weight: bold;
    margin-bottom: 0.25rem;
}

.stat-label {
    font-size: 0.875rem;
    color: #6b7280;
}

.stat:nth-child(1) .stat-number {
    color: #2563eb;
}

.stat:nth-child(2) .stat-number {
    color: #14b8a6;
}

.stat:nth-child(3) .stat-number {
    color: #2563eb;
}

.hero-image {
    position: relative;
    height: 384px;
}

.hero-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 1rem;
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
}

.hero-image::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(30, 58, 138, 0.2), transparent);
    border-radius: 1rem;
}

/* Legacy Section */
.relbiz-legacy {
    padding: 5rem 0;
    background: linear-gradient(to right, #1e3a8a, #0f766e);
    color: white;
}

.legacy-content {
    max-width: 48rem;
}

.relbiz-legacy h2 {
    font-size: 2.25rem;
    margin-bottom: 1.5rem;
}

.relbiz-legacy p {
    font-size: 1.125rem;
    color: #dbeafe;
    line-height: 1.8;
    margin-bottom: 1.5rem;
}

/* Services Section */
.relbiz-services {
    padding: 5rem 0;
    background-color: #ffffff;
}

.services-header {
    text-align: center;
    margin-bottom: 4rem;
}

.services-header h2 {
    font-size: 2.25rem;
    color: #111827;
    margin-bottom: 1rem;
}

.services-header p {
    font-size: 1.25rem;
    color: #4b5563;
    max-width: 42rem;
    margin: 0 auto;
}

.services-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
}

@media (min-width: 768px) {
    .services-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.service-card {
    background: white;
    border: 1px solid #e5e7eb;
    border-radius: 1rem;
    padding: 2rem;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.service-card:hover {
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
}

.service-card:nth-child(2) {
    margin-top: 2rem;
}

@media (min-width: 768px) {
    .service-card:nth-child(2) {
        margin-top: 2rem;
    }
}

.service-icon {
    width: 56px;
    height: 56px;
    border-radius: 0.75rem;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    font-size: 28px;
}

.service-card:nth-child(1) .service-icon {
    background: linear-gradient(135deg, #2563eb, #1d4ed8);
    color: white;
}

.service-card:nth-child(2) .service-icon {
    background: linear-gradient(135deg, #14b8a6, #0d9488);
    color: white;
}

.service-card:nth-child(3) .service-icon {
    background: linear-gradient(135deg, #2563eb, #1d4ed8);
    color: white;
}

.service-card h3 {
    font-size: 1.5rem;
    color: #111827;
    margin-bottom: 1rem;
}

.service-card p {
    color: #4b5563;
    line-height: 1.8;
    margin-bottom: 1.5rem;
}

.service-link {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 600;
    text-decoration: none;
    transition: gap 0.3s ease;
}

.service-card:nth-child(1) .service-link {
    color: #2563eb;
}

.service-card:nth-child(2) .service-link {
    color: #14b8a6;
}

.service-card:nth-child(3) .service-link {
    color: #2563eb;
}

.service-link:hover {
    gap: 0.75rem;
}

/* Why Us Section */
.relbiz-why-us {
    padding: 5rem 0;
    background-color: #f9fafb;
}

.relbiz-why-us h2 {
    font-size: 2.25rem;
    color: #111827;
    margin-bottom: 4rem;
    text-align: center;
}

.strengths-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
}

@media (min-width: 768px) {
    .strengths-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

.strength {
    display: flex;
    gap: 1.5rem;
}

.strength-icon {
    flex-shrink: 0;
    width: 48px;
    height: 48px;
    border-radius: 0.75rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
}

.strength:nth-child(1) .strength-icon,
.strength:nth-child(3) .strength-icon {
    background-color: #dbeafe;
    color: #2563eb;
}

.strength:nth-child(2) .strength-icon,
.strength:nth-child(4) .strength-icon {
    background-color: #ccfbf1;
    color: #14b8a6;
}

.strength h3 {
    font-size: 1.25rem;
    color: #111827;
    margin-bottom: 0.5rem;
}

.strength p {
    color: #4b5563;
    line-height: 1.8;
}

/* Global Reach Section */
.relbiz-global-reach {
    padding: 5rem 0;
    background-color: #ffffff;
}

.global-reach-header {
    text-align: center;
    margin-bottom: 3rem;
}

.global-reach-header h2 {
    font-size: 2.25rem;
    color: #111827;
    margin-bottom: 1rem;
}

.global-reach-header p {
    font-size: 1.25rem;
    color: #4b5563;
    max-width: 42rem;
    margin: 0 auto;
}

.reach-cards {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    margin-top: 3rem;
}

@media (min-width: 768px) {
    .reach-cards {
        grid-template-columns: repeat(3, 1fr);
    }
}

.reach-card {
    border-radius: 1rem;
    padding: 2rem;
    text-align: center;
}

.reach-card:nth-child(1) {
    background: linear-gradient(135deg, #f0f9ff, #dbeafe);
}

.reach-card:nth-child(2) {
    background: linear-gradient(135deg, #f0fdfa, #ccfbf1);
}

.reach-card:nth-child(3) {
    background: linear-gradient(135deg, #f0f9ff, #ccfbf1);
}

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

.reach-card:nth-child(1) h3 {
    color: #1e3a8a;
}

.reach-card:nth-child(2) h3 {
    color: #134e4a;
}

.reach-card:nth-child(3) h3 {
    color: #1e3a8a;
}

.reach-card p {
    line-height: 1.8;
}

.reach-card:nth-child(1) p {
    color: #0c4a6e;
}

.reach-card:nth-child(2) p {
    color: #0f766e;
}

.reach-card:nth-child(3) p {
    color: #0c4a6e;
}

/* CTA Section */
.relbiz-cta {
    padding: 5rem 0;
    background: linear-gradient(to right, #2563eb, #14b8a6);
    color: white;
    text-align: center;
}

.relbiz-cta h2 {
    font-size: 2.25rem;
    margin-bottom: 1.5rem;
}

.relbiz-cta p {
    font-size: 1.25rem;
    color: #dbeafe;
    max-width: 42rem;
    margin: 0 auto 2rem;
    line-height: 1.8;
}

.cta-buttons {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    justify-content: center;
}

@media (min-width: 640px) {
    .cta-buttons {
        flex-direction: row;
    }
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .hero-text h1 {
        font-size: 2rem;
    }

    .services-header h2,
    .relbiz-why-us h2,
    .global-reach-header h2,
    .relbiz-cta h2 {
        font-size: 1.875rem;
    }

    .hero-image {
        height: 300px;
    }
}
