/* Reset și stiluri de bază */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
}

:root {
    --primary: #4F46E5;
    --primary-dark: #4338CA;
    --primary-light: #EEF2FF;
    --accent: #F59E0B;
    --accent-dark: #D97706;
    --dark: #111827;
    --gray-800: #1F2937;
    --gray-700: #374151;
    --gray-600: #4B5563;
    --gray-500: #6B7280;
    --gray-400: #9CA3AF;
    --gray-300: #D1D5DB;
    --gray-200: #E5E7EB;
    --gray-100: #F3F4F6;
    --gray-50: #F9FAFB;
    --white: #FFFFFF;
    --radius-sm: 0.375rem;
    --radius-md: 0.5rem;
    --radius-lg: 0.75rem;
    --radius-xl: 1rem;
    --radius-2xl: 1.5rem;
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    --ease: cubic-bezier(0.25, 0.1, 0.25, 1);
}

body {
    line-height: 1.6;
    color: var(--gray-800);
    background-color: var(--gray-50);
}

.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

a {
    text-decoration: none;
    color: inherit;
}

button {
    cursor: pointer;
    font-family: inherit;
}

/* Utilități */
.text-gradient {
    background: linear-gradient(90deg, var(--primary) 0%, #8B5CF6 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    color: transparent;
}

.glass {
    background: rgba(255, 255, 255, 0.5);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

/* Header */
header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 1.25rem 0;
    transition: background-color 0.3s var(--ease), box-shadow 0.3s var(--ease);
    background-color: transparent;
}

header.scrolled {
    background-color: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow: var(--shadow-md);
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.75rem;
    font-weight: 800;
    letter-spacing: -0.5px;
    color: var(--primary);
}

.logo span {
    color: var(--accent);
}

.nav-links {
    display: flex;
    gap: 2.5rem;
}

.nav-links a {
    font-weight: 500;
    transition: color 0.3s var(--ease);
    position: relative;
}

.nav-links a:hover, .nav-links a.active {
    color: var(--primary);
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -0.5rem;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--primary);
    transition: width 0.3s var(--ease);
}

.nav-links a:hover::after, .nav-links a.active::after {
    width: 100%;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.75rem 1.5rem;
    border-radius: var(--radius-lg);
    font-weight: 500;
    transition: all 0.3s var(--ease);
    border: none;
    outline: none;
}

.btn-primary {
    background-color: var(--primary);
    color: var(--white);
}

.btn-primary:hover {
    background-color: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.btn-secondary {
    background-color: var(--white);
    color: var(--primary);
    border: 1px solid var(--primary);
}

.btn-secondary:hover {
    background-color: var(--primary-light);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.btn-accent {
    background-color: var(--accent);
    color: var(--white);
}

.btn-accent:hover {
    background-color: var(--accent-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    color: var(--gray-800);
}

/* Hero Section */
.hero {
    position: relative;
    padding: 180px 0 120px;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 100%;
    background: linear-gradient(135deg, #EEF2FF 0%, #EDE9FE 50%, #FAE8FF 100%);
    z-index: -1;
    clip-path: polygon(0 0, 100% 0, 100% 85%, 0 100%);
}

.hero::after {
    content: '';
    position: absolute;
    width: 600px;
    height: 600px;
    background: linear-gradient(135deg, var(--primary-light) 0%, var(--primary) 100%);
    border-radius: 50%;
    top: -200px;
    right: -200px;
    z-index: -2;
    opacity: 0.3;
}

.hero-content {
    display: flex;
    align-items: center;
    gap: 3rem;
}

.hero-text {
    flex: 1;
}

.hero-image {
    flex: 1;
    position: relative;
}

.hero-image img {
    width: 100%;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-xl);
    position: relative;
    z-index: 1;
}

.hero-image::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    top: 1.5rem;
    left: 1.5rem;
    background: linear-gradient(135deg, var(--primary) 0%, #8B5CF6 100%);
    border-radius: var(--radius-lg);
    z-index: 0;
    opacity: 0.6;
}

.hero h1 {
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 1.5rem;
    letter-spacing: -0.025em;
}

.hero h1 span {
    display: block;
}

.hero p {
    font-size: 1.25rem;
    margin-bottom: 2.5rem;
    color: var(--gray-600);
    max-width: 540px;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
}

.hero-stats {
    display: flex;
    gap: 3rem;
    margin-top: 3rem;
}

.stat {
    display: flex;
    flex-direction: column;
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 800;
    line-height: 1;
    color: var(--primary);
}

.stat-label {
    font-size: 1rem;
    color: var(--gray-500);
    margin-top: 0.5rem;
}

/* Section Styles */
section {
    padding: 100px 0;
}

.section-header {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 5rem;
}

.section-header h2 {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
    line-height: 1.2;
    letter-spacing: -0.025em;
}

.section-header p {
    font-size: 1.25rem;
    color: var(--gray-600);
}

/* Features Section */
.features {
    background-color: var(--white);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2.5rem;
}

.feature-card {
    background-color: var(--white);
    border-radius: var(--radius-lg);
    padding: 2.5rem;
    transition: all 0.3s var(--ease);
    border: 1px solid var(--gray-200);
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary-light);
}

.feature-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 3.5rem;
    height: 3.5rem;
    border-radius: var(--radius-lg);
    margin-bottom: 1.5rem;
    background: linear-gradient(135deg, var(--primary-light) 0%, var(--primary) 100%);
    color: var(--white);
    font-size: 1.5rem;
}

.feature-card h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--gray-800);
}

.feature-card p {
    color: var(--gray-600);
}

/* For Users Section */
.for-users {
    background-color: var(--gray-50);
    position: relative;
    overflow: hidden;
}

.for-users::before {
    content: '';
    position: absolute;
    width: 600px;
    height: 600px;
    background: linear-gradient(135deg, var(--primary-light) 0%, var(--primary) 100%);
    border-radius: 50%;
    bottom: -300px;
    left: -300px;
    z-index: 0;
    opacity: 0.1;
}

.tabs {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 3rem;
    position: relative;
    z-index: 1;
    border-bottom: 1px solid #e0e0e0;
}

.tab-button {
    background-color: var(--white);
    color: var(--gray-800);
    border: 1px solid var(--gray-200);
    padding: 1rem 2rem;
    border-radius: var(--radius-lg);
    font-weight: 600;
    transition: all 0.3s var(--ease);
    background: none;
    border: none;
    font-size: 1rem;
    font-weight: 500;
    color: #666;
    cursor: pointer;
    position: relative;
}

.tab-button.active {
    background-color: var(--primary);
    color: var(--white);
    border-color: var(--primary);
    box-shadow: var(--shadow-md);
    color: white;
    font-weight: 600;
}

.tab-button.active::after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: #3366ff;
}

.tab-button:hover:not(.active) {
    transform: translateY(-3px);
    box-shadow: var(--shadow-sm);
    border-color: var(--primary-light);
}

.tab-content {
    display: flex;
    align-items: center;
    gap: 5rem;
    position: relative;
    z-index: 1;
    display: none;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.tab-content.active {
    display: grid;
}

.tab-image {
    flex: 1;
    position: relative;
}

.tab-image img {
    width: 100%;
    border-radius: var(--radius-lg);
    border-radius: 0.5rem;
}

.tab-image.mobile img {
    height: 500px;
    width: 100%;
    object-fit: scale-down;
}

.tab-text {
    flex: 1;
    padding-right: 2rem;
}

.tab-text h3 {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: var(--gray-800);
    margin-top: 0;
    font-size: 1.75rem;
    margin-bottom: 1rem;
}

.tab-text ul {
    margin-bottom: 2rem;
    padding-left: 1.5rem;
}

.tab-text li {
    margin-bottom: 0.75rem;
    position: relative;
    padding-left: 0.5rem;
}

.tab-text li::before {
    content: "";
    position: absolute;
    left: -1.5rem;
    top: 0.5rem;
    width: 0.5rem;
    height: 0.5rem;
    background-color: var(--primary);
    border-radius: 50%;
}

/* Brands Section */
.brands {
    background-color: var(--white);
    padding: 4rem 0;
}

.brands h2 {
    font-size: 1.5rem;
    text-align: center;
    margin-bottom: 3rem;
    color: var(--gray-600);
    font-weight: 500;
}

.brands-grid {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 4rem;
}

.brand-logo {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--gray-400);
    transition: all 0.3s var(--ease);
}

.brand-logo:hover {
    color: var(--primary);
    transform: scale(1.05);
}

/* How It Works Section */
.how-it-works {
    background-color: var(--gray-50);
    position: relative;
    overflow: hidden;
}

.how-it-works::before {
    content: '';
    position: absolute;
    width: 400px;
    height: 400px;
    background: linear-gradient(135deg, var(--accent) 0%, var(--primary) 100%);
    border-radius: 50%;
    top: -200px;
    right: -200px;
    z-index: 0;
    opacity: 0.1;
}

.steps {
    display: flex;
    justify-content: space-between;
    margin-top: 3rem;
    position: relative;
    z-index: 1;
}

.steps::before {
    content: "";
    position: absolute;
    top: 3.5rem;
    left: 2rem;
    right: 2rem;
    height: 2px;
    background: linear-gradient(90deg, var(--primary-light) 0%, var(--primary) 50%, var(--primary-light) 100%);
    z-index: -1;
}

.step {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    width: 22%;
    position: relative;
    z-index: 1;
}

.step-number {
    background: linear-gradient(135deg, var(--primary) 0%, #8B5CF6 100%);
    color: var(--white);
    width: 4rem;
    height: 4rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    font-size: 1.5rem;
    font-weight: 700;
    box-shadow: var(--shadow-lg);
}

.step h3 {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
    color: var(--gray-800);
}

.step p {
    color: var(--gray-600);
    font-size: 0.95rem;
}

/* Testimonials Section */
.testimonials {
    background-color: var(--white);
    position: relative;
    overflow: hidden;
}

.testimonials::before {
    content: '';
    position: absolute;
    width: 500px;
    height: 500px;
    background: linear-gradient(135deg, var(--primary-light) 0%, var(--primary) 100%);
    border-radius: 50%;
    bottom: -250px;
    right: -250px;
    z-index: 0;
    opacity: 0.1;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
    position: relative;
    z-index: 1;
}

.testimonial-card {
    background-color: var(--white);
    border-radius: var(--radius-lg);
    padding: 2.5rem;
    box-shadow: var(--shadow-lg);
    transition: transform 0.3s var(--ease);
    border: 1px solid var(--gray-100);
}

.testimonial-card:hover {
    transform: translateY(-10px);
}

.testimonial-quote {
    font-size: 2rem;
    color: var(--primary);
    margin-bottom: 1rem;
    display: block;
}

.testimonial-text {
    font-style: italic;
    margin-bottom: 2rem;
    color: var(--gray-700);
    line-height: 1.6;
}

.testimonial-author {
    display: flex;
    align-items: center;
}

.testimonial-author img {
    width: 3.5rem;
    height: 3.5rem;
    border-radius: 50%;
    object-fit: cover;
    margin-right: 1rem;
    border: 3px solid var(--primary-light);
}

.author-info h4 {
    font-size: 1.125rem;
    margin-bottom: 0.25rem;
    font-weight: 700;
}

.author-info p {
    color: var(--gray-500);
    font-size: 0.875rem;
}

/* CTA Section */
.cta-section {
    background: linear-gradient(135deg, var(--primary) 0%, #8B5CF6 100%);
    color: var(--white);
    text-align: center;
    position: relative;
    overflow: hidden;
    padding: 120px 0;
}

.cta-section::before {
    content: '';
    position: absolute;
    width: 400px;
    height: 400px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    top: -200px;
    left: -200px;
}

.cta-section::after {
    content: '';
    position: absolute;
    width: 300px;
    height: 300px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    bottom: -150px;
    right: -150px;
}

.cta-content {
    position: relative;
    z-index: 1;
    max-width: 700px;
    margin: 0 auto;
}

.cta-section h2 {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.cta-section p {
    font-size: 1.25rem;
    margin-bottom: 2.5rem;
    opacity: 0.9;
}

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 1rem;
}

.btn-light {
    background-color: var(--white);
    color: var(--primary);
}

.btn-light:hover {
    background-color: var(--gray-100);
    transform: translateY(-2px);
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.2);
}

.btn-outline {
    background-color: transparent;
    color: var(--white);
    border: 2px solid var(--white);
}

.btn-outline:hover {
    background-color: rgba(255, 255, 255, 0.1);
    transform: translateY(-2px);
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.2);
}

/* Footer */
footer {
    background-color: var(--gray-900);
    color: var(--gray-300);
    padding: 5rem 0 2rem;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr repeat(3, 1fr);
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-logo {
    font-size: 1.75rem;
    font-weight: 800;
    color: var(--white);
    margin-bottom: 1.5rem;
    display: inline-block;
}

.footer-logo span {
    color: var(--accent);
}

.footer-text {
    max-width: 300px;
    margin-bottom: 1.5rem;
    color: var(--gray-400);
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 2.5rem;
    height: 2.5rem;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    transition: all 0.3s var(--ease);
}

.social-link:hover {
    background-color: var(--primary);
    transform: translateY(-3px);
}

.footer-heading {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 1.5rem;
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 0.75rem;
}

.footer-links a {
    color: var(--gray-400);
    transition: color 0.3s var(--ease);
}

.footer-links a:hover {
    color: var(--primary);
}

.copyright {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--gray-500);
    font-size: 0.875rem;
}

/* Responsive Styles */
@media (max-width: 1024px) {
    .hero h1 {
        font-size: 3rem;
    }
    
    .footer-content {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    header {
        padding: 1rem 0;
    }
    
    .nav-links, .header .btn {
        display: none;
    }
    
    .mobile-menu-btn {
        display: block;
    }
    
    .hero {
        padding: 140px 0 80px;
    }
    
    .hero-content {
        flex-direction: column;
    }
    
    .hero h1 {
        font-size: 2.5rem;
    }
    
    .hero-stats {
        flex-wrap: wrap;
        gap: 2rem;
    }
    
    .tab-content {
        flex-direction: column-reverse;
        gap: 3rem;
        grid-template-columns: 1fr;
    }
    
    .tab-text {
        padding-right: 0;
        order: 1;
    }
    
    .tab-image {
        margin-bottom: 2rem;
        order: 0;
    }
    
    .tabs {
        flex-direction: column;
    }
    
    .tab-button {
        width: 100%;
        text-align: left;
        padding: 1rem 0;
    }
    
    .section-header h2 {
        font-size: 2rem;
    }
    
    .steps {
        flex-direction: column;
        gap: 3rem;
        align-items: center;
    }
    
    .steps::before {
        display: none;
    }
    
    .step {
        width: 100%;
        max-width: 300px;
    }
    
    .cta-section h2 {
        font-size: 2rem;
    }
    
    .cta-buttons {
        flex-direction: column;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }
}

/* Calculator Section */
.calculator {
    background-color: var(--white);
    padding: 100px 0;
}

.calculator-container {
    display: flex;
    gap: 4rem;
    align-items: center;
}

.calculator-text {
    flex: 1;
}

.calculator-text h2 {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
    line-height: 1.2;
    letter-spacing: -0.025em;
}

.calculator-text p {
    font-size: 1.125rem;
    color: var(--gray-600);
    margin-bottom: 2rem;
}

.calculator-form {
    flex: 1;
    background: var(--white);
    padding: 2.5rem;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-xl);
    border: 1px solid var(--gray-200);
}

.form-row {
    margin-bottom: 1.5rem;
}

.form-label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
    color: var(--gray-700);
}

.form-input {
    width: 100%;
    padding: 0.75rem 1rem;
    border-radius: var(--radius-md);
    border: 1px solid var(--gray-300);
    font-family: inherit;
    font-size: 1rem;
    transition: all 0.3s var(--ease);
}

.form-input:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 2px var(--primary-light);
}

.calculator-result {
    margin-top: 2rem;
    padding: 1.5rem;
    background-color: var(--primary-light);
    border-radius: var(--radius-md);
    text-align: center;
}

.result-number {
    font-size: 2rem;
    font-weight: 800;
    color: var(--primary);
    margin-bottom: 0.5rem;
}

.result-text {
    color: var(--gray-700);
}

/* App Download Section */
.app-download {
    background: linear-gradient(135deg, #F3F4F6 0%, #EDE9FE 100%);
    padding: 100px 0;
    position: relative;
    overflow: hidden;
}

.app-download::before {
    content: '';
    position: absolute;
    width: 400px;
    height: 400px;
    background: rgba(99, 102, 241, 0.1);
    border-radius: 50%;
    top: -200px;
    left: -200px;
}

.app-container {
    display: flex;
    align-items: center;
    gap: 4rem;
}

.app-text {
    flex: 1;
}

.app-text h2 {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.app-text p {
    font-size: 1.125rem;
    color: var(--gray-600);
    margin-bottom: 2rem;
}

.app-badges {
    display: flex;
    gap: 1rem;
}

.app-badge {
    display: inline-block;
    padding: 0.75rem 1.25rem;
    background-color: var(--gray-800);
    color: var(--white);
    border-radius: var(--radius-md);
    transition: all 0.3s var(--ease);
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.app-badge.available:hover {
    background-color: var(--gray-900);
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
}

.badge-icon {
    font-size: 1.75rem;
    min-width: 3rem;
    margin-top: 5px;
}

.badge-text {
    display: flex;
    flex-direction: column;
}

.badge-small {
    font-size: 0.7rem;
    opacity: 0.8;
}

.badge-large {
    font-size: 1rem;
    font-weight: 600;
}

.app-screens {
    flex: 1;
    position: relative
}

.app-screens img {
    width: 100%;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-xl);
    position: relative;
    z-index: 1;
    height: 500px;
    object-fit: scale-down;
}

.app-screens::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    top: 1.5rem;
    left: -1.5rem;
    background: linear-gradient(135deg, var(--primary) 0%, #8B5CF6 100%);
    border-radius: var(--radius-lg);
    z-index: 0;
    opacity: 0.4;
}

/* FAQ Section */
.faq {
    background-color: var(--white);
    padding: 100px 0;
}

.accordion {
    max-width: 800px;
    margin: 3rem auto 0;
}

.accordion-item {
    border-bottom: 1px solid var(--gray-200);
    padding: 1.5rem 0;
}

.accordion-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    padding: 0.5rem 0;
}

.accordion-title {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--gray-800);
}

.accordion-icon {
    font-size: 1.5rem;
    color: var(--primary);
    transition: transform 0.3s var(--ease);
}

.accordion-content {
    padding: 1rem 0;
    color: var(--gray-600);
    line-height: 1.6;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s var(--ease);
}

.accordion-item.active .accordion-icon {
    transform: rotate(45deg);
}

.accordion-item.active .accordion-content {
    max-height: 500px;
}

/* Blog Section */
.blog {
    background-color: var(--gray-50);
    padding: 100px 0;
}

.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.blog-card {
    background-color: var(--white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: all 0.3s var(--ease);
}

.blog-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
}

.blog-image {
    height: 200px;
    overflow: hidden;
}

.blog-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s var(--ease);
}

.blog-card:hover .blog-image img {
    transform: scale(1.05);
}

.blog-content {
    padding: 1.5rem;
}

.blog-tag {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    background-color: var(--primary-light);
    color: var(--primary);
    border-radius: var(--radius-md);
    font-size: 0.75rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.blog-title {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
    color: var(--gray-800);
}

.blog-excerpt {
    color: var(--gray-600);
    margin-bottom: 1.5rem;
    font-size: 0.95rem;
    line-height: 1.6;
}

.blog-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 1rem;
    border-top: 1px solid var(--gray-200);
}

.blog-author {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.blog-author img {
    width: 2rem;
    height: 2rem;
    border-radius: 50%;
    object-fit: cover;
}

.blog-date {
    font-size: 0.85rem;
    color: var(--gray-500);
}

/* Contact Section */
.contact {
    background-color: var(--white);
    padding: 100px 0;
}

.contact-container {
    display: flex;
    gap: 4rem;
    margin-top: 3rem;
    flex-wrap: wrap; /* Allow wrapping on smaller screens */
}

.contact-info {
    display: flex;
    gap: 2rem; /* Adjust the gap between the cards as needed */
    flex: 1;
    flex-wrap: wrap; /* Allow wrapping on smaller screens */
}

.contact-card {
    background-color: var(--gray-50);
    border-radius: var(--radius-lg);
    padding: 2rem;
    margin-bottom: 1.5rem;
    transition: all 0.3s var(--ease);
    border-left: 4px solid var(--primary);
    flex: 1 1 calc(50% - 2rem); /* Take up 50% of the container width minus the gap */
    box-sizing: border-box; /* Include padding and border in the element's total width and height */
}

.contact-card:hover {
    transform: translateX(5px);
    box-shadow: var(--shadow-md);
}

.contact-card-icon {
    width: 3rem;
    height: 3rem;
    background-color: var(--primary-light);
    color: var(--primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    margin-bottom: 1rem;
}

.contact-card h3 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--gray-800);
}

.contact-card p {
    color: var(--gray-600);
}

.contact-form {
    flex: 1;
    background-color: var(--white);
    padding: 2.5rem;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--gray-200);
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
    color: var(--gray-700);
}

.form-control {
    width: 100%;
    padding: 0.75rem 1rem;
    border-radius: var(--radius-md);
    border: 1px solid var(--gray-300);
    font-family: inherit;
    font-size: 1rem;
    transition: all 0.3s var(--ease);
}

.form-control:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 2px var(--primary-light);
}

textarea.form-control {
    min-height: 120px;
    resize: vertical;
}

/* Newsletter Section */
.newsletter {
    background: linear-gradient(135deg, #4F46E5 0%, #8B5CF6 100%);
    padding: 80px 0;
    color: var(--white);
    position: relative;
    overflow: hidden;
}

.newsletter::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url("data:image/svg+xml,%3Csvg width='100' height='100' viewBox='0 0 100 100' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M11 18c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7zm48 25c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7zm-43-7c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zm63 31c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zM34 90c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zm56-76c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zM12 86c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm28-65c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm23-11c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm-6 60c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm29 22c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zM32 63c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm57-13c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm-9-21c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM60 91c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM35 41c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM12 60c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2z' fill='%23ffffff' fill-opacity='0.1' fill-rule='evenodd'/%3E%3C/svg%3E");
    z-index: 0;
}

.newsletter-container {
    position: relative;
    z-index: 1;
    text-align: center;
    max-width: 700px;
    margin: 0 auto;
}

.newsletter h2 {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
}

.newsletter p {
    font-size: 1.125rem;
    margin-bottom: 2.5rem;
    opacity: 0.9;
}

.newsletter-form {
    display: flex;
    gap: 1rem;
    max-width: 500px;
    margin: 0 auto;
}

.newsletter-input {
    flex: 1;
    padding: 0.875rem 1.25rem;
    border-radius: var(--radius-lg);
    border: none;
    font-size: 1rem;
    box-shadow: var(--shadow-md);
}

.newsletter-input:focus {
    outline: none;
}