/* Design System & Variables */
:root {
    --primary-color: #ffffff;
    /* White Background */
    --text-main: #0f172a;
    /* Dark Navy for Text */
    --text-secondary: #334155;
    /* Slate for secondary text */
    --brand-green: #007a43;
    /* DzairEvo Green */
    --brand-green-light: #2ecc71;
    /* Lighter Green */
    --accent-color: #10b981;
    /* Emerald */
    --bg-light: #f8fafc;
    --glass-bg: rgba(255, 255, 255, 0.7);
    --glass-border: rgba(0, 122, 67, 0.1);
    --card-bg: rgba(255, 255, 255, 0.9);
    --font-main: 'Outfit', sans-serif;
    --font-signature: 'Dancing Script', cursive;
    /* New signature font */
    --transition-speed: 0.3s;
    --container-width: 1200px;
    --shadow-sm: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    --shadow-md: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
}

/* Reset & Base Styles */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    transition: var(--transition-speed);
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-main);
    background-color: var(--primary-color);
    color: var(--text-secondary);
    line-height: 1.6;
    overflow-x: hidden;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    position: relative;
}

#canvas-background {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    pointer-events: none;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition-speed);
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    display: block;
}

/* Typography */
h1,
h2,
h3,
h4,
h5,
h6 {
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;
    color: var(--text-main);
}

h1 {
    font-size: 3.5rem;
    background: linear-gradient(to right, var(--brand-green), var(--brand-green-light));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

h2 {
    font-size: 2.5rem;
}

p {
    margin-bottom: 1.5rem;
    color: var(--text-secondary);
}

/* Utilities */
.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 2rem;
}

.btn {
    display: inline-block;
    padding: 0.8rem 2rem;
    border-radius: 50px;
    font-weight: 600;
    cursor: pointer;
    transition: all var(--transition-speed) ease;
    border: none;
}

.btn-primary {
    background: linear-gradient(135deg, var(--brand-green), var(--brand-green-light));
    color: white;
    box-shadow: 0 4px 15px rgba(0, 122, 67, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 122, 67, 0.4);
}

.btn-outline {
    background: transparent;
    border: 2px solid var(--brand-green);
    color: var(--brand-green);
}

.btn-outline:hover {
    background: var(--brand-green);
    color: white;
}

.section-padding {
    padding: 5rem 0;
}

/* Header & Nav */
header {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    background: var(--glass-bg);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--glass-border);
    padding: 1rem 0;
    box-shadow: var(--shadow-sm);
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* Logo Styles - Updated */
.logo {
    display: flex;
    align-items: center;
}

nav .logo {
    height: 35px;
    /* Smaller for header */
}

footer .logo {
    height: 70px;
    /* Larger for footer */
    margin-bottom: 1rem;
    display: block;
}

.logo img {
    height: 100%;
    width: auto;
}

.nav-links {
    display: flex;
    gap: 2rem;
    align-items: center;
}

.nav-links a {
    font-weight: 500;
    font-size: 1rem;
    position: relative;
    color: var(--text-main);
}

.nav-links a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -5px;
    left: 0;
    background-color: var(--brand-green);
    transition: width var(--transition-speed);
}

.nav-links a:hover::after {
    width: 100%;
}

.mobile-menu-btn {
    display: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--text-main);
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    padding-top: 80px;
}

/* Abstract Shapes for Hero Background */
.hero::before {
    content: '';
    position: absolute;
    top: -10%;
    right: -5%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(46, 204, 113, 0.15) 0%, transparent 70%);
    filter: blur(60px);
    z-index: -1;
}

.hero::after {
    content: '';
    position: absolute;
    bottom: -10%;
    left: -5%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(0, 122, 67, 0.1) 0%, transparent 70%);
    filter: blur(60px);
    z-index: -1;
}

.hero-content {
    max-width: 600px;
}

.hero-subtitle {
    color: var(--brand-green);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 1rem;
    display: block;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    margin-top: 2rem;
    flex-wrap: wrap;
}

/* Services Preview */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.service-card {
    background: var(--card-bg);
    border: 1px solid rgba(0, 0, 0, 0.05);
    padding: 2rem;
    border-radius: 20px;
    transition: var(--transition-speed);
    box-shadow: var(--shadow-sm);
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-md);
    border-color: var(--brand-green-light);
}

.service-icon {
    font-size: 2.5rem;
    color: var(--brand-green);
    margin-bottom: 1.5rem;
}

/* Portfolio Styles */
.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 2rem;
}

.portfolio-item {
    position: relative;
    border-radius: 15px;
    overflow: hidden;
    height: 300px;
    background-color: #f1f5f9;
    box-shadow: var(--shadow-sm);
}

.portfolio-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.portfolio-item:hover .portfolio-img {
    transform: scale(1.1);
}

.portfolio-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    background: linear-gradient(to top, rgba(0, 122, 67, 0.95), rgba(0, 122, 67, 0.8));
    padding: 2rem;
    transform: translateY(100%);
    transition: transform 0.3s ease;
    color: white;
}

.portfolio-item:hover .portfolio-overlay {
    transform: translateY(0);
}

.portfolio-overlay h3 {
    color: white;
    margin-bottom: 0.5rem;
}

.portfolio-overlay p {
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 0;
}

.portfolio-tag {
    display: inline-block;
    background: white;
    color: var(--brand-green);
    padding: 0.2rem 0.8rem;
    border-radius: 20px;
    font-size: 0.8rem;
    margin-bottom: 0.5rem;
    font-weight: 600;
}

/* Contact Styles */
.contact-wrapper {
    display: flex;
    flex-wrap: wrap;
    gap: 4rem;
    background: white;
    border: 1px solid rgba(0, 0, 0, 0.05);
    padding: 3rem;
    border-radius: 20px;
    box-shadow: var(--shadow-md);
}

.contact-info {
    flex: 1;
    min-width: 280px;
}

.contact-form {
    flex: 1.5;
    min-width: 280px;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    color: var(--text-main);
    font-weight: 600;
}

.form-control {
    width: 100%;
    padding: 1rem;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    color: var(--text-main);
    font-family: var(--font-main);
    transition: var(--transition-speed);
}

.form-control:focus {
    outline: none;
    border-color: var(--brand-green);
    box-shadow: 0 0 0 3px rgba(0, 122, 67, 0.1);
    background: white;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 2rem;
}

.contact-item i {
    font-size: 1.5rem;
    color: var(--brand-green);
    margin-right: 1.5rem;
    margin-top: 0.2rem;
}

.contact-item h4 {
    margin-bottom: 0.5rem;
    color: var(--text-main);
}

.social-links {
    display: flex;
    gap: 1rem;
    margin-top: 2rem;
}

.social-btn {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #f1f5f9;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-speed);
    color: var(--brand-green);
}

.social-btn:hover {
    background: var(--brand-green);
    color: white;
    transform: translateY(-3px);
}

/* Footer */
footer {
    background: #f8fafc;
    padding: 4rem 0 2rem;
    border-top: 1px solid #e2e8f0;
    margin-top: auto;
    /* Sticky footer */
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-grid h4 {
    color: var(--text-main);
    margin-bottom: 1.5rem;
}

.footer-grid ul li a {
    color: var(--text-secondary);
}

.footer-grid ul li a:hover {
    color: var(--brand-green);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid #e2e8f0;
    color: var(--text-secondary);
    font-size: 0.9rem;
}

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in {
    animation: fadeIn 1s ease forwards;
}

/* Responsive */
@media (max-width: 768px) {
    h1 {
        font-size: 2.5rem;
    }

    .container {
        padding: 0 1.5rem;
    }

    .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: white;
        flex-direction: column;
        padding: 2rem;
        text-align: center;
        border-bottom: 1px solid #e2e8f0;
        box-shadow: var(--shadow-md);
    }

    .nav-links.active {
        display: flex;
    }

    .mobile-menu-btn {
        display: block;
    }

    .hero {
        text-align: center;
        justify-content: center;
        padding-top: 100px;
    }

    .hero-buttons {
        justify-content: center;
    }

    .contact-wrapper {
        padding: 1.5rem;
        gap: 2rem;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 1rem;
    }

    h1 {
        font-size: 2rem;
    }

    .services-grid,
    .portfolio-grid {
        grid-template-columns: 1fr;
    }

    .contact-info,
    .contact-form {
        min-width: 100%;
    }
}

/* Privacy Policy Styles */
.page-header {
    padding: 8rem 0 4rem;
    text-align: center;
    background: linear-gradient(135deg, rgba(0, 122, 67, 0.05), rgba(46, 204, 113, 0.05));
    border-bottom: 1px solid rgba(0, 122, 67, 0.1);
}

.page-header h1 {
    margin-bottom: 1rem;
}

.page-header p {
    font-size: 1.2rem;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto;
}

.privacy-content {
    color: var(--text-secondary);
}

.privacy-section {
    margin-bottom: 3rem;
}

.privacy-section h2 {
    font-size: 1.8rem;
    color: var(--text-main);
    margin-top: 2rem;
    margin-bottom: 1.5rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid var(--brand-green);
}

.privacy-section h3 {
    font-size: 1.3rem;
    color: var(--text-main);
    margin-top: 1.5rem;
    margin-bottom: 1rem;
}

.privacy-section ul {
    list-style: none;
    margin-left: 0;
    padding-left: 0;
}

.privacy-section ul li {
    position: relative;
    padding-left: 2rem;
    margin-bottom: 0.8rem;
    line-height: 1.8;
}

.privacy-section ul li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--brand-green);
    font-weight: bold;
    font-size: 1.2rem;
}

.privacy-section p {
    line-height: 1.8;
    margin-bottom: 1rem;
}

.privacy-section strong {
    color: var(--text-main);
    font-weight: 600;
}

.privacy-section a {
    color: var(--brand-green);
    text-decoration: underline;
    transition: var(--transition-speed);
}

.privacy-section a:hover {
    color: var(--brand-green-light);
}

@media (max-width: 768px) {
    .page-header {
        padding: 6rem 0 3rem;
    }

    .page-header h1 {
        font-size: 2rem;
    }

    .privacy-section h2 {
        font-size: 1.5rem;
    }

    .privacy-section h3 {
        font-size: 1.2rem;
    }
}

/* Quote Page Styles */
.quote-wrapper {
    background: white;
    border-radius: 20px;
    box-shadow: var(--shadow-md);
    padding: 3rem;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.form-section {
    margin-bottom: 3rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid #f1f5f9;
}

.form-section:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.form-section h3 {
    color: var(--brand-green);
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.8rem;
}

.section-subtitle {
    margin-bottom: 2rem;
    color: var(--text-secondary);
}

.form-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
}

/* Custom Checkbox Grid */
.services-checkbox-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 1.5rem;
}

.service-checkbox {
    position: relative;
    cursor: pointer;
}

.service-checkbox input {
    position: absolute;
    opacity: 0;
    cursor: pointer;
}

.checkbox-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 1.5rem;
    background: var(--bg-light);
    border: 2px solid transparent;
    border-radius: 15px;
    transition: all var(--transition-speed);
    text-align: center;
    height: 100%;
}

.service-checkbox input:checked~.checkbox-content {
    background: rgba(0, 122, 67, 0.05);
    border-color: var(--brand-green);
    transform: translateY(-5px);
    box-shadow: var(--shadow-sm);
}

.checkmark {
    font-size: 2rem;
    color: var(--text-secondary);
    margin-bottom: 1rem;
    transition: color var(--transition-speed);
}

.service-checkbox input:checked~.checkbox-content .checkmark {
    color: var(--brand-green);
}

.label-text {
    font-weight: 600;
    color: var(--text-main);
}

.form-submit {
    text-align: center;
    margin-top: 2rem;
}

.btn-lg {
    padding: 1rem 3rem;
    font-size: 1.1rem;
}

/* Responsive Quote Page */
@media (max-width: 768px) {
    .quote-wrapper {
        padding: 1.5rem;
    }
}

/* CEO Section Styles */
.ceo-section {
    display: flex;
    align-items: center;
    gap: 4rem;
    flex-wrap: wrap;
}

.ceo-image {
    flex: 1;
    min-width: 300px;
    position: relative;
}

.ceo-image img {
    border-radius: 20px;
    box-shadow: var(--shadow-md);
    width: 100%;
    max-width: 400px;
    margin: 0 auto;
}

.ceo-content {
    flex: 1.5;
    min-width: 300px;
}

.ceo-quote {
    font-size: 1.2rem;
    font-style: italic;
    color: var(--text-secondary);
    margin-bottom: 2rem;
    position: relative;
}

.ceo-quote::before {
    content: '"';
    font-size: 4rem;
    color: var(--brand-green);
    opacity: 0.2;
    position: absolute;
    top: -20px;
    left: -20px;
}

.ceo-signature {
    font-family: var(--font-signature);
    font-size: 2rem;
    color: var(--brand-green);
    margin-bottom: 0.5rem;
}

.ceo-title {
    font-weight: 600;
    color: var(--text-main);
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.9rem;
}

/* Team Section Styles */
.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 3rem;
    text-align: center;
}

.team-member {
    background: white;
    padding: 2rem;
    border-radius: 20px;
    box-shadow: var(--shadow-sm);
    transition: var(--transition-speed);
}

.team-member:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-md);
}

.team-img {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    object-fit: cover;
    margin: 0 auto 1.5rem;
    border: 3px solid var(--brand-green);
    padding: 3px;
}

.team-name {
    font-size: 1.2rem;
    color: var(--text-main);
    margin-bottom: 0.5rem;
}

.team-role {
    color: var(--brand-green);
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.team-social a {
    color: var(--text-secondary);
    font-size: 1.2rem;
    transition: var(--transition-speed);
}

.team-social a:hover {
    color: #0077b5;
    /* LinkedIn Blue */
}

/* Partners Slider Styles */
.partners-slider {
    overflow: hidden;
    padding: 2rem 0;
    background: white;
    position: relative;
}

.partners-track {
    display: flex;
    justify-content: center;
    padding: 1.5rem;
    background: var(--bg-light);
    border: 2px solid transparent;
    border-radius: 15px;
    transition: all var(--transition-speed);
    text-align: center;
    height: 100%;
}

.service-checkbox input:checked~.checkbox-content {
    background: rgba(0, 122, 67, 0.05);
    border-color: var(--brand-green);
    transform: translateY(-5px);
    box-shadow: var(--shadow-sm);
}

.checkmark {
    font-size: 2rem;
    color: var(--text-secondary);
    margin-bottom: 1rem;
    transition: color var(--transition-speed);
}

.service-checkbox input:checked~.checkbox-content .checkmark {
    color: var(--brand-green);
}

.label-text {
    font-weight: 600;
    color: var(--text-main);
}

.form-submit {
    text-align: center;
    margin-top: 2rem;
}

.btn-lg {
    padding: 1rem 3rem;
    font-size: 1.1rem;
}

/* Responsive Quote Page */
@media (max-width: 768px) {
    .quote-wrapper {
        padding: 1.5rem;
    }
}

/* CEO Section Styles */
.ceo-section {
    display: flex;
    align-items: center;
    gap: 4rem;
    flex-wrap: wrap;
}

.ceo-image {
    flex: 1;
    min-width: 300px;
    position: relative;
}

.ceo-image img {
    border-radius: 20px;
    box-shadow: var(--shadow-md);
    width: 100%;
    max-width: 400px;
    margin: 0 auto;
}

.ceo-content {
    flex: 1.5;
    min-width: 300px;
}

.ceo-quote {
    font-size: 1.2rem;
    font-style: italic;
    color: var(--text-secondary);
    margin-bottom: 2rem;
    position: relative;
}

.ceo-quote::before {
    content: '"';
    font-size: 4rem;
    color: var(--brand-green);
    opacity: 0.2;
    position: absolute;
    top: -20px;
    left: -20px;
}

.ceo-signature {
    font-family: var(--font-signature);
    font-size: 2rem;
    color: var(--brand-green);
    margin-bottom: 0.5rem;
}

.ceo-title {
    font-weight: 600;
    color: var(--text-main);
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.9rem;
}

/* Team Section Styles */
.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 3rem;
    text-align: center;
}

.team-member {
    background: white;
    padding: 2rem;
    border-radius: 20px;
    box-shadow: var(--shadow-sm);
    transition: var(--transition-speed);
}

.team-member:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-md);
}

.team-img {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    object-fit: cover;
    margin: 0 auto 1.5rem;
    border: 3px solid var(--brand-green);
    padding: 3px;
}

.team-name {
    font-size: 1.2rem;
    color: var(--text-main);
    margin-bottom: 0.5rem;
}

.team-role {
    color: var(--brand-green);
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.team-social a {
    color: var(--text-secondary);
    font-size: 1.2rem;
    transition: var(--transition-speed);
}

.team-social a:hover {
    color: #0077b5;
    /* LinkedIn Blue */
}

/* Partners Slider Styles */
.partners-slider {
    overflow: hidden;
    padding: 2rem 0;
    background: white;
    position: relative;
}

.partners-track {
    display: flex;
    gap: 1.5rem;
    animation: slide 20s linear infinite;
    width: max-content;
}

.partner-logo {
    height: 50px;
    filter: grayscale(100%);
    opacity: 0.6;
    transition: var(--transition-speed);
    cursor: pointer;
}

.partner-logo:hover {
    filter: grayscale(0%);
    opacity: 1;
}

@keyframes slide {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

/* Stats Section */
.stats-section {
    background: var(--bg-light);
    position: relative;
    overflow: hidden;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 2rem;
    text-align: center;
}

.stat-item {
    background: white;
    padding: 2.5rem 2rem;
    border-radius: 20px;
    box-shadow: var(--shadow-sm);
    transition: var(--transition-speed);
    border: 1px solid rgba(0, 122, 67, 0.05);
}

.stat-item:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-md);
    border-color: var(--brand-green-light);
}

.stat-icon {
    font-size: 2.5rem;
    color: var(--brand-green);
    margin-bottom: 1.5rem;
    background: rgba(0, 122, 67, 0.1);
    width: 80px;
    height: 80px;
    line-height: 80px;
    border-radius: 50%;
    margin: 0 auto 1.5rem;
    transition: var(--transition-speed);
}

.stat-item:hover .stat-icon {
    background: var(--brand-green);
    color: white;
    transform: rotateY(360deg);
}

.stat-number {
    font-size: 3rem;
    font-weight: 800;
    color: var(--text-main);
    margin-bottom: 0.5rem;
    display: block;
    background: linear-gradient(to right, var(--brand-green), var(--brand-green-light));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.stat-label {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-secondary);
    margin-bottom: 0;
}

/* Newsletter Section */
.newsletter-section {
    position: relative;
    background-image: url('../imges/spacework_dzairevo.png');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    padding: 8rem 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.newsletter-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(15, 23, 42, 0.7);
    backdrop-filter: blur(3px);
    z-index: 1;
}

.newsletter-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
    color: white;
}

.glass-card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: 3rem;
    border-radius: 20px;
    box-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.37);
}

.newsletter-content h2 {
    color: white;
    margin-bottom: 1rem;
    font-size: 2.5rem;
}

.newsletter-content p {
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 2rem;
    font-size: 1.1rem;
}

.newsletter-form {
    max-width: 500px;
    margin: 0 auto;
}

.input-group {
    display: flex;
    gap: 10px;
    background: white;
    padding: 5px;
    border-radius: 50px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.newsletter-input {
    flex: 1;
    padding: 1rem 1.5rem;
    border: none;
    outline: none;
    background: transparent;
    color: var(--text-main);
    font-size: 1rem;
}

.newsletter-input::placeholder {
    color: #94a3b8;
}

.newsletter-form .btn-primary {
    padding: 0.8rem 2rem;
    border-radius: 50px;
    white-space: nowrap;
}

@media (max-width: 768px) {
    .input-group {
        flex-direction: column;
        background: transparent;
        box-shadow: none;
        padding: 0;
    }

    .newsletter-input {
        background: white;
        border-radius: 50px;
        width: 100%;
        margin-bottom: 1rem;
    }

    .newsletter-form .btn-primary {
        width: 100%;
    }

    .glass-card {
        padding: 2rem 1.5rem;
    }
}

/* Stats Section */
.stats-section {
    background: var(--bg-light);
    position: relative;
    overflow: hidden;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 2rem;
    text-align: center;
}

.stat-item {
    background: white;
    padding: 2.5rem 2rem;
    border-radius: 20px;
    box-shadow: var(--shadow-sm);
    transition: var(--transition-speed);
    border: 1px solid rgba(0, 122, 67, 0.05);
}

.stat-item:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-md);
    border-color: var(--brand-green-light);
}

.stat-icon {
    font-size: 2.5rem;
    color: var(--brand-green);
    margin-bottom: 1.5rem;
    background: rgba(0, 122, 67, 0.1);
    width: 80px;
    height: 80px;
    line-height: 80px;
    border-radius: 50%;
    margin: 0 auto 1.5rem;
    transition: var(--transition-speed);
}

.stat-item:hover .stat-icon {
    background: var(--brand-green);
    color: white;
    transform: rotateY(360deg);
}

.stat-number {
    font-size: 3rem;
    font-weight: 800;
    color: var(--text-main);
    margin-bottom: 0.5rem;
    display: block;
    background: linear-gradient(to right, var(--brand-green), var(--brand-green-light));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.stat-label {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-secondary);
    margin-bottom: 0;
}

/* Newsletter Section */
.newsletter-section {
    position: relative;
    background-image: url('../imges/spacework_dzairevo.png');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    padding: 8rem 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.newsletter-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(15, 23, 42, 0.7);
    backdrop-filter: blur(3px);
    z-index: 1;
}

.newsletter-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
    color: white;
}

.glass-card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: 3rem;
    border-radius: 20px;
    box-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.37);
}

.newsletter-content h2 {
    color: white;
    margin-bottom: 1rem;
    font-size: 2.5rem;
}

.newsletter-content p {
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 2rem;
    font-size: 1.1rem;
}

.newsletter-form {
    max-width: 500px;
    margin: 0 auto;
}

.input-group {
    display: flex;
    gap: 10px;
    background: white;
    padding: 5px;
    border-radius: 50px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.newsletter-input {
    flex: 1;
    padding: 1rem 1.5rem;
    border: none;
    outline: none;
    background: transparent;
    color: var(--text-main);
    font-size: 1rem;
}

.newsletter-input::placeholder {
    color: #94a3b8;
}

.newsletter-form .btn-primary {
    padding: 0.8rem 2rem;
    border-radius: 50px;
    white-space: nowrap;
}

@media (max-width: 768px) {
    .input-group {
        flex-direction: column;
        background: transparent;
        box-shadow: none;
        padding: 0;
    }

    .newsletter-input {
        background: white;
        border-radius: 50px;
        width: 100%;
        margin-bottom: 1rem;
    }

    .newsletter-form .btn-primary {
        width: 100%;
    }

    .glass-card {
        padding: 2rem 1.5rem;
    }
}

/* Privacy Link Animation */
.privacy-link {
    color: var(--brand-green);
    text-decoration: underline;
    transition: all 0.2s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    display: inline-block;
    font-weight: 600;
}

.privacy-link:hover {
    color: var(--brand-green-light);
    transform: translateY(-3px) scale(1.05);
    text-shadow: 0 4px 8px rgba(0, 122, 67, 0.2);
    text-decoration: none;
}