/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    /* Light Theme Variables */
    --primary: #3b82f6;
    --primary-dark: #2563eb;
    --primary-light: #60a5fa;
    --secondary: #0ea5e9;
    --accent: #06b6d4;
    --background: #ffffff;
    --background-alt: #f8fafc;
    --background-card: #ffffff;
    --text: #1e293b;
    --text-light: #64748b;
    --text-muted: #94a3b8;
    --border: #e2e8f0;
    --shadow: 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);
    --radius: 8px;
    --transition: all 0.3s ease;
    --footer-bg: #1e293b;
    --footer-text: #f8fafc;
}

[data-theme="dark"] {
    /* Dark Theme Variables */
    --primary: #3b82f6;
    --primary-dark: #2563eb;
    --primary-light: #60a5fa;
    --secondary: #0ea5e9;
    --accent: #06b6d4;
    --background: #0f172a;
    --background-alt: #1e293b;
    --background-card: #1e293b;
    --text: #f1f5f9;
    --text-light: #94a3b8;
    --text-muted: #64748b;
    --border: #334155;
    --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.2), 0 2px 4px -1px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.3), 0 4px 6px -2px rgba(0, 0, 0, 0.2);
    --footer-bg: #0a0f1a;
    --footer-text: #f8fafc;
}

body {
    font-family: "Inter", sans-serif;
    line-height: 1.6;
    color: var(--text);
    background-color: var(--background);
    transition: background-color 0.3s ease, color 0.3s ease;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
}

/* Theme Toggle */
.theme-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: transparent;
    border: 1px solid var(--border);
    color: var(--text);
    cursor: pointer;
    transition: var(--transition);
    margin-right: 10px;
}

.theme-toggle:hover {
    background-color: rgba(59, 130, 246, 0.1);
    transform: translateY(-2px);
}

.theme-toggle svg {
    width: 20px;
    height: 20px;
}

/* Section Headers */
.section-header {
    text-align: center;
    margin-bottom: 50px;
}

.section-header h2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 15px;
}

.section-header.left-aligned {
    text-align: left;
}

.section-line {
    height: 4px;
    width: 60px;
    background: linear-gradient(90deg, var(--primary), var(--secondary));
    margin: 0 auto;
    border-radius: 2px;
}

.section-header.left-aligned .section-line {
    margin: 0;
}

/* Button Styles */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px 20px;
    border-radius: var(--radius);
    font-weight: 500;
    text-align: center;
    transition: var(--transition);
    cursor: pointer;
    border: none;
    font-size: 0.95rem;
}

.btn-primary {
    background: linear-gradient(90deg, var(--primary), var(--secondary));
    color: white;
    box-shadow: 0 4px 6px rgba(59, 130, 246, 0.3);
}

.btn-primary:hover {
    box-shadow: 0 6px 8px rgba(59, 130, 246, 0.4);
    transform: translateY(-2px);
}

.btn-outline {
    background-color: transparent;
    color: var(--primary);
    border: 1px solid var(--primary);
}

.btn-outline:hover {
    background-color: rgba(59, 130, 246, 0.1);
    transform: translateY(-2px);
}

.btn-large {
    padding: 12px 28px;
    font-size: 1.1rem;
}

.btn-sm {
    padding: 8px 16px;
    font-size: 0.85rem;
}

/* Header Styles */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: rgba(var(--background-rgb), 0.95);
    backdrop-filter: blur(10px);
    box-shadow: var(--shadow);
    z-index: 1000;
    padding: 15px 0;
    transition: background-color 0.3s ease;
}

[data-theme="light"] header {
    background-color: rgba(255, 255, 255, 0.95);
}

[data-theme="dark"] header {
    background-color: rgba(15, 23, 42, 0.95);
}

header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo img {
    height: 40px;
}

.main-nav ul {
    display: flex;
}

.main-nav li {
    margin: 0 15px;
}

.main-nav a {
    color: var(--text);
    font-weight: 500;
    position: relative;
}

.main-nav a:after {
    content: "";
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -5px;
    left: 0;
    background: linear-gradient(90deg, var(--primary), var(--secondary));
    transition: width 0.3s ease;
}

.main-nav a:hover:after {
    width: 100%;
}

.auth-buttons {
    display: flex;
    gap: 10px;
}

.header-controls {
    display: flex;
    align-items: center;
}

.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 21px;
    cursor: pointer;
}

.mobile-menu-toggle span {
    display: block;
    height: 3px;
    width: 100%;
    background-color: var(--text);
    border-radius: 3px;
    transition: background-color 0.3s ease;
}

/* Hero Slider Styles */
.hero-slider {
    position: relative;
    height: 100vh;
    overflow: hidden;
    margin-top: 70px;
    /* Add space for fixed header */
}

.slider-container {
    height: 100%;
    width: 100%;
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transition: opacity 1s ease, transform 1s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
    padding: 0 20px;
    transform: scale(1.05);
}

.slide:before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(14, 165, 233, 0.7), rgba(37, 99, 235, 0.7));
}

.slide.active {
    opacity: 1;
    transform: scale(1);
}

.slide:nth-child(1) {
    background-image: url("/src/images/hero1.png");
}

.slide:nth-child(2) {
    background-image: url("/src/images/hero2.png");
}

.slide:nth-child(3) {
    background-image: url("/src/images/hero3.png");
}

.slide-content {
    position: relative;
    z-index: 1;
    max-width: 800px;
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease 0.3s, transform 0.8s ease 0.3s;
}

.slide.active .slide-content {
    opacity: 1;
    transform: translateY(0);
}

.slide-content h1 {
    font-size: 3.5rem;
    margin-bottom: 20px;
    font-weight: 700;
    line-height: 1.2;
}

.slide-content p {
    font-size: 1.2rem;
    margin-bottom: 30px;
    font-weight: 300;
}

.slider-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.1);
    color: white;
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    font-size: 1.5rem;
    cursor: pointer;
    z-index: 10;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(5px);
}

.slider-arrow:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-50%) scale(1.1);
}

.slider-arrow.prev {
    left: 20px;
}

.slider-arrow.next {
    right: 20px;
}

.slider-dots {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 10;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.3);
    cursor: pointer;
    transition: var(--transition);
}

.dot.active {
    background-color: white;
    transform: scale(1.2);
}

/* Services Section */
.services {
    padding: 100px 0;
    background-color: var(--background);
    transition: background-color 0.3s ease;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.service-card {
    background-color: var(--background-card);
    padding: 40px 30px;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    transition: transform 0.3s ease, box-shadow 0.3s ease, background-color 0.3s ease, border-color 0.3s ease;
    border: 1px solid var(--border);
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary-dark);
}

.service-card .icon {
    margin-bottom: 20px;
    color: var(--primary);
    background: linear-gradient(135deg, var(--primary-light), var(--primary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.service-card h3 {
    margin-bottom: 15px;
    color: var(--text);
    font-weight: 600;
    font-size: 1.5rem;
    transition: color 0.3s ease;
}

.service-card p {
    color: var(--text-light);
    transition: color 0.3s ease;
}

/* Investment Products Section */
.investment-products {
    padding: 100px 0;
    background-color: var(--background-alt);
    transition: background-color 0.3s ease;
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.product-card {
    background-color: var(--background-card);
    padding: 40px 30px;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    transition: transform 0.3s ease, box-shadow 0.3s ease, background-color 0.3s ease, border-color 0.3s ease;
    display: flex;
    flex-direction: column;
    border: 1px solid var(--border);
    height: 100%;
}

.product-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary-dark);
}

.product-icon {
    margin-bottom: 20px;
    color: var(--primary);
    background: linear-gradient(135deg, var(--primary-light), var(--primary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.product-card h3 {
    margin-bottom: 15px;
    color: var(--text);
    font-weight: 600;
    font-size: 1.5rem;
    transition: color 0.3s ease;
}

.product-card p {
    margin-bottom: 20px;
    flex-grow: 1;
    color: var(--text-light);
    transition: color 0.3s ease;
}

.product-features {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 20px;
}

.product-features span {
    background: rgba(59, 130, 246, 0.1);
    color: var(--primary);
    font-size: 0.8rem;
    padding: 4px 12px;
    border-radius: 20px;
    display: inline-block;
    font-weight: 500;
    transition: background-color 0.3s ease, color 0.3s ease;
}

.products-cta {
    text-align: center;
    margin-top: 60px;
}

.products-cta p {
    margin-bottom: 20px;
    font-size: 1.1rem;
    color: var(--text);
    transition: color 0.3s ease;
}

@media (max-width: 768px) {
    .products-grid {
        grid-template-columns: 1fr;
    }
}

/* Investment Packages Section */
.investment-packages {
    padding: 100px 0;
    background-color: var(--background);
    transition: background-color 0.3s ease;
}

.section-subtitle {
    max-width: 800px;
    margin: 20px auto 40px;
    text-align: center;
    color: var(--text-light);
    font-size: 1.1rem;
    transition: color 0.3s ease;
}

.packages-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-bottom: 40px;
}

.package-card {
    position: relative;
    background-color: var(--background-card);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    border: 1px solid var(--border);
    padding: 30px;
    display: flex;
    flex-direction: column;
    transition: transform 0.3s ease, box-shadow 0.3s ease, background-color 0.3s ease, border-color 0.3s ease;
    overflow: hidden;
}

.package-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary-dark);
}

.package-card.featured {
    border: 2px solid var(--primary);
    transform: scale(1.02);
}

.package-card.featured:hover {
    transform: scale(1.02) translateY(-10px);
}

.package-badge {
    position: absolute;
    top: 12px;
    right: -30px;
    background: linear-gradient(90deg, var(--primary), var(--secondary));
    color: white;
    padding: 5px 30px;
    font-size: 0.8rem;
    font-weight: 600;
    transform: rotate(45deg);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.package-header {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
}

.package-icon {
    margin-right: 15px;
    color: var(--primary);
    background: linear-gradient(135deg, var(--primary-light), var(--primary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.package-header h3 {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--text);
    transition: color 0.3s ease;
}

.package-price {
    margin-bottom: 25px;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--border);
    transition: border-color 0.3s ease;
}

.price-amount {
    font-size: 2rem;
    font-weight: 700;
    color: var(--text);
    transition: color 0.3s ease;
}

.price-period {
    font-size: 0.9rem;
    color: var(--text-light);
    transition: color 0.3s ease;
}

.package-details {
    flex-grow: 1;
    margin-bottom: 25px;
}

.package-return {
    background-color: rgba(59, 130, 246, 0.1);
    padding: 10px 15px;
    border-radius: var(--radius);
    margin-bottom: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    transition: background-color 0.3s ease;
}

[data-theme="dark"] .package-return {
    background-color: rgba(59, 130, 246, 0.2);
}

.return-rate {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 5px;
}

.return-period {
    font-size: 0.9rem;
    color: var(--text-light);
    transition: color 0.3s ease;
}

.package-features {
    list-style: none;
    margin-bottom: 20px;
}

.package-features li {
    display: flex;
    align-items: center;
    margin-bottom: 12px;
    color: var(--text);
    transition: color 0.3s ease;
}

.package-features li svg {
    margin-right: 10px;
    color: var(--primary);
    flex-shrink: 0;
}

.package-features li.feature-disabled {
    color: var(--text-muted);
}

.package-features li.feature-disabled svg {
    color: var(--text-muted);
}

.package-risk {
    margin-bottom: 25px;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
}

.risk-label {
    font-weight: 500;
    margin-right: 10px;
    color: var(--text);
    transition: color 0.3s ease;
}

.risk-meter {
    width: 100px;
    height: 6px;
    background-color: var(--border);
    border-radius: 3px;
    margin: 0 10px;
    overflow: hidden;
    transition: background-color 0.3s ease;
}

.risk-level {
    height: 100%;
    background: linear-gradient(90deg, var(--primary), var(--secondary));
    border-radius: 3px;
}

.risk-text {
    font-size: 0.9rem;
    color: var(--text-light);
    transition: color 0.3s ease;
}

.btn-full {
    width: 100%;
}

.packages-cta {
    text-align: center;
    margin-top: 40px;
}

.packages-cta p {
    margin-bottom: 20px;
    font-size: 1.1rem;
    color: var(--text);
    transition: color 0.3s ease;
}

@media (max-width: 992px) {
    .packages-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .packages-grid {
        grid-template-columns: 1fr;
    }

    .package-card.featured {
        transform: scale(1);
    }

    .package-card.featured:hover {
        transform: translateY(-10px);
    }
}

@media (max-width: 576px) {
    .package-header h3 {
        font-size: 1.3rem;
    }

    .price-amount {
        font-size: 1.8rem;
    }

    .return-rate {
        font-size: 1.3rem;
    }
}

/* Why Choose Us Section */
.why-choose-us {
    padding: 100px 0;
    background-color: var(--background);
    transition: background-color 0.3s ease;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.feature {
    background-color: var(--background-card);
    padding: 40px 30px;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    transition: transform 0.3s ease, box-shadow 0.3s ease, background-color 0.3s ease, border-color 0.3s ease;
    border: 1px solid var(--border);
}

.feature:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary-dark);
}

.feature-icon {
    margin-bottom: 20px;
    color: var(--primary);
    background: linear-gradient(135deg, var(--primary-light), var(--primary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.feature h3 {
    margin-bottom: 15px;
    color: var(--text);
    font-weight: 600;
    font-size: 1.5rem;
    transition: color 0.3s ease;
}

.feature p {
    color: var(--text-light);
    transition: color 0.3s ease;
}

/* Stats Section */
.stats {
    padding: 80px 0;
    background: linear-gradient(135deg, var(--primary-dark), var(--secondary));
    color: white;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
    text-align: center;
}

.stat-number {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 10px;
    background: linear-gradient(135deg, #ffffff, rgba(255, 255, 255, 0.8));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.stat-label {
    font-size: 1.1rem;
    font-weight: 500;
}

/* About Preview Section */
.about-preview {
    padding: 100px 0;
    background-color: var(--background-alt);
    transition: background-color 0.3s ease;
}

.about-preview .container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.about-content h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
    color: var(--text);
    font-weight: 700;
    transition: color 0.3s ease;
}

.about-content p {
    margin-bottom: 20px;
    color: var(--text-light);
    font-size: 1.05rem;
    transition: color 0.3s ease;
}

.about-content .btn {
    margin-top: 20px;
}

.about-image {
    position: relative;
}

.about-image:before {
    content: "";
    position: absolute;
    top: -20px;
    left: -20px;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--primary-dark), var(--secondary));
    border-radius: var(--radius);
    z-index: -1;
}

.about-image img {
    border-radius: var(--radius);
    box-shadow: var(--shadow-lg);
    width: 100%;
}

/* Testimonials Section */
.testimonials {
    padding: 100px 0;
    background-color: var(--background);
    transition: background-color 0.3s ease;
}

.testimonial-slider {
    position: relative;
    max-width: 900px;
    margin: 0 auto;
}

.testimonial-container {
    position: relative;
    overflow: hidden;
    min-height: 320px;
}

.testimonial {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    opacity: 0;
    transition: opacity 0.5s ease, transform 0.5s ease;
    visibility: hidden;
    transform: translateX(30px);
}

.testimonial.active {
    opacity: 1;
    position: relative;
    visibility: visible;
    transform: translateX(0);
}

.testimonial-content {
    background-color: var(--background-card);
    padding: 40px;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    position: relative;
    border: 1px solid var(--border);
    transition: background-color 0.3s ease, border-color 0.3s ease;
}

.quote-icon {
    color: var(--primary-light);
    opacity: 0.2;
    position: absolute;
    top: 20px;
    left: 20px;
}

.testimonial-content p {
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 30px;
    position: relative;
    z-index: 1;
    color: var(--text);
    transition: color 0.3s ease;
}

.testimonial-author {
    display: flex;
    align-items: center;
}

.testimonial-author img {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
    margin-right: 15px;
    border: 3px solid var(--background-alt);
    transition: border-color 0.3s ease;
}

.author-info h4 {
    margin: 0;
    color: var(--text);
    font-size: 1.1rem;
    font-weight: 600;
    transition: color 0.3s ease;
}

.author-info p {
    margin: 5px 0 0;
    font-size: 0.9rem;
    color: var(--text-light);
    transition: color 0.3s ease;
}

.testimonial-controls {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 40px;
}

.testimonial-arrow {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: white;
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    font-size: 1.2rem;
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
}

.testimonial-arrow:hover {
    transform: scale(1.1);
    box-shadow: 0 4px 8px rgba(59, 130, 246, 0.3);
}

.testimonial-dots {
    display: flex;
    gap: 10px;
    margin: 0 20px;
}

.testimonial-dots .dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background-color: var(--border);
    cursor: pointer;
    transition: var(--transition);
}

.testimonial-dots .dot.active {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    transform: scale(1.2);
}

@media (max-width: 768px) {
    .testimonial-content {
        padding: 30px 20px;
    }

    .testimonial-content p {
        font-size: 1rem;
    }
}

/* CTA Section */
.cta {
    padding: 100px 0;
    background: linear-gradient(135deg, var(--primary-dark), var(--secondary));
    color: white;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.cta:before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    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.05' fill-rule='evenodd'/%3E%3C/svg%3E");
    opacity: 0.5;
}

.cta .container {
    position: relative;
    z-index: 1;
}

.cta h2 {
    font-size: 2.8rem;
    margin-bottom: 20px;
    font-weight: 700;
}

.cta p {
    max-width: 700px;
    margin: 0 auto 30px;
    font-size: 1.2rem;
    opacity: 0.9;
}

/* Footer Styles */
footer {
    background-color: var(--footer-bg);
    color: var(--footer-text);
    padding: 80px 0 20px;
    transition: background-color 0.3s ease;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
    margin-bottom: 60px;
}

.footer-logo img {
    height: 40px;
    margin-bottom: 15px;
}

.footer-logo p {
    font-size: 0.95rem;
    opacity: 0.8;
    margin-bottom: 20px;
}

.social-icons {
    display: flex;
    gap: 15px;
}

.social-icons a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    transition: var(--transition);
}

.social-icons a:hover {
    background-color: var(--primary);
    transform: translateY(-3px);
}

.footer-links h4,
.footer-contact h4,
.footer-newsletter h4 {
    margin-bottom: 20px;
    font-size: 1.2rem;
    font-weight: 600;
    color: white;
}

.footer-links ul li {
    margin-bottom: 12px;
}

.footer-links a {
    opacity: 0.7;
    transition: var(--transition);
}

.footer-links a:hover {
    opacity: 1;
    color: var(--primary-light);
}

.footer-contact address {
    font-style: normal;
    opacity: 0.7;
    line-height: 1.8;
}

.footer-contact address p {
    margin-bottom: 8px;
}

.footer-newsletter p {
    opacity: 0.7;
    margin-bottom: 15px;
}

.newsletter-form {
    display: flex;
    gap: 10px;
}

.newsletter-form input {
    flex: 1;
    padding: 10px 15px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: var(--radius);
    background-color: rgba(255, 255, 255, 0.05);
    color: white;
    font-family: inherit;
}

.newsletter-form input:focus {
    outline: none;
    border-color: var(--primary-light);
}

.newsletter-form button {
    white-space: nowrap;
}

.footer-bottom {
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.footer-bottom p {
    opacity: 0.7;
    font-size: 0.9rem;
}

.footer-legal {
    display: flex;
    gap: 20px;
}

.footer-legal a {
    opacity: 0.7;
    font-size: 0.9rem;
    transition: var(--transition);
}

.footer-legal a:hover {
    opacity: 1;
    color: var(--primary-light);
}

/* Responsive Styles */
@media (max-width: 992px) {
    .about-preview .container {
        grid-template-columns: 1fr;
    }

    .about-image {
        order: -1;
    }

    .slide-content h1 {
        font-size: 2.8rem;
    }

    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .newsletter-form {
        flex-direction: column;
    }
}

@media (max-width: 768px) {
    header .container {
        flex-wrap: wrap;
    }

    .main-nav {
        order: 3;
        width: 100%;
        margin-top: 15px;
        display: none;
    }

    .main-nav.active {
        display: block;
    }

    .main-nav ul {
        flex-direction: column;
    }

    .main-nav li {
        margin: 10px 0;
    }

    .mobile-menu-toggle {
        display: flex;
    }

    .slide-content h1 {
        font-size: 2.2rem;
    }

    .slide-content p {
        font-size: 1rem;
    }

    .features-grid {
        grid-template-columns: 1fr;
    }

    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }

    .footer-legal {
        justify-content: center;
    }

    .section-header h2 {
        font-size: 2rem;
    }

    .cta h2 {
        font-size: 2.2rem;
    }
}

@media (max-width: 576px) {
    .slider-arrow {
        width: 40px;
        height: 40px;
    }

    .services-grid {
        grid-template-columns: 1fr;
    }

    .slide-content h1 {
        font-size: 1.8rem;
    }

    .stats-grid {
        grid-template-columns: 1fr;
    }

    .btn-large {
        padding: 10px 20px;
        font-size: 1rem;
    }
}

/* Animation Enhancements */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.service-card,
.product-card,
.feature,
.stat {
    opacity: 0;
    transform: translateY(20px);
}

.service-card.animate,
.product-card.animate,
.feature.animate,
.stat.animate {
    animation: fadeInUp 0.6s forwards;
}

.service-card:nth-child(2),
.product-card:nth-child(2),
.feature:nth-child(2),
.stat:nth-child(2) {
    animation-delay: 0.2s;
}

.service-card:nth-child(3),
.product-card:nth-child(3),
.feature:nth-child(3),
.stat:nth-child(3) {
    animation-delay: 0.4s;
}

.product-card:nth-child(4),
.feature:nth-child(4),
.stat:nth-child(4) {
    animation-delay: 0.6s;
}

.product-card:nth-child(5),
.feature:nth-child(5) {
    animation-delay: 0.8s;
}

.product-card:nth-child(6),
.feature:nth-child(6) {
    animation-delay: 1s;
}

/* Theme transition */
.theme-transition {
    transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
}