/* ========================================================================== 
   پالت رنگی
   ========================================================================== */
   :root {
    --primary: #16788B; /* آبی تیره */
    --secondary: #48CAE4; /* آبی روشن */
    --background: #f9f9f9; /* پس‌زمینه خاکستری خیلی روشن */
    --text-dark: #333; /* متن تیره */
    --text-light: #fff; /* متن روشن */
    --accent: #ffc107; /* رنگ تاکیدی */
}

/* ========================================================================== 
   استایل کلی
   ========================================================================== */
body {
    font-family: 'Poppins', Arial, sans-serif;
    margin: 0;
    padding: 0;
    background-color: var(--background);
    color: var(--text-dark);
    font-size: 15px;
    line-height: 1.6;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Poppins', sans-serif;
    color: var(--text-dark);
    margin: 0 0 10px;
}

h1 {
    font-size: 40px;
    font-weight: 700;
    color: var(--text-light);
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

h2 {
    font-size: 36px;
    font-weight: 600;
    color: var(--primary);
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.2);
}

p {
    margin: 0 0 15px;
    font-size: 15px;
    color: var(--text-dark);
}

a {
    color: var(--primary);
    text-decoration: none;
    transition: color 0.3s ease, transform 0.3s ease;
}

a:hover {
    color: var(--secondary);
    transform: scale(1.1);
}

a:focus {
    outline: 2px dashed var(--accent);
    outline-offset: 4px;
}

/* ========================================================================== 
   بخش معرفی
   ========================================================================== */
   .hero-section {
    background: linear-gradient(135deg, var(--secondary) 0%, var(--primary) 100%);
    color: var(--text-light);
    padding: 100px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.hero-section::before,
.hero-section::after {
    content: "";
    position: absolute;
    border-radius: 50%;
    z-index: 0; /* حباب‌ها در لایه پایین‌تر قرار می‌گیرند */
    animation: float 6s ease-in-out infinite;
    pointer-events: none; /* جلوگیری از مسدود کردن کلیک */
    will-change: transform;
}

.hero-section::before {
    top: -50px;
    left: -50px;
    width: 200px;
    height: 200px;
    background: rgba(255, 255, 255, 0.1);
}

.hero-section::after {
    bottom: -50px;
    right: -50px;
    width: 300px;
    height: 300px;
    background: rgba(255, 255, 255, 0.1);
    animation: float-reverse 8s ease-in-out infinite;
}

.hero-section .btn-primary {
    background-color: var(--primary);
    color: var(--text-light);
    padding: 10px 20px;
    border-radius: 50px;
    font-size: 16px;
    font-weight: bold;
    transition: background-color 0.3s ease, transform 0.3s ease;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    position: relative;
    z-index: 3; /* دکمه بالاتر از حباب‌ها قرار می‌گیرد */
}

.hero-section .btn-primary:hover {
    background-color: var(--secondary);
    transform: translateY(-3px);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.3);
}

.hero-section .btn-primary:focus {
    outline: 2px dashed var(--accent);
    outline-offset: 4px;
}
/* ========================================================================== 
   انیمیشن‌ها
   ========================================================================== */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes float {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-20px);
    }
}

@keyframes float-reverse {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(20px);
    }
}

/* ========================================================================== 
   ریسپانسیو
   ========================================================================== */
@media (max-width: 768px) {
    .hero-section {
        padding: 50px 20px;
    }

    h1 {
        font-size: 32px;
    }

    h2 {
        font-size: 28px;
    }

    p {
        font-size: 14px;
    }

    .hero-section .btn-primary {
        font-size: 14px;
        padding: 8px 16px;
    }
}

@media (max-width: 480px) {
    .hero-section {
        padding: 30px 10px;
    }

    h1 {
        font-size: 28px;
    }

    h2 {
        font-size: 24px;
    }

    p {
        font-size: 12px;
    }

    .hero-section .btn-primary {
        font-size: 12px;
        padding: 6px 12px;
    }
}