/* =============================================
   SINA ZARJANI - COMPLETE FINAL CSS
   Vibrant Soft UI, Energetic Animations
   All Pages Covered
   ============================================= */

@import url('https://fonts.googleapis.com/css2?family=Vazirmatn:wght@400;500;600;700;900&display=swap');

:root {
    /* پالت پرانرژی ولی همچنان پاستیلی */
    --bg: #F4F0FA;
    --surface: #FFFFFF;
    --primary: #A78BFA;
    --primary-dark: #7C3AED;
    --primary-light: #DDD6FE;
    --accent: #F472B6;
    --accent-light: #FBCFE8;
    --text: #3B2F4A;
    --text-muted: #6B5B7B;
    --success: #6EE7B7;
    --warning: #FCD34D;
    --danger: #FCA5A5;

    --shadow-soft: 8px 8px 20px rgba(167, 139, 250, 0.12), -8px -8px 20px #FFFFFF;
    --shadow-hover: 12px 12px 28px rgba(167, 139, 250, 0.18), -12px -12px 28px #FFFFFF;
    --shadow-inset: inset 5px 5px 10px rgba(167, 139, 250, 0.08), inset -5px -5px 10px #FFFFFF;
    --shadow-btn: 5px 5px 15px rgba(167, 139, 250, 0.25), -5px -5px 15px #FFFFFF;

    --radius: 24px;
    --radius-sm: 14px;
    --radius-xs: 10px;
    --transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1.2);
}

/* ===== RESET & BASE ===== */
* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
    font-family: 'Vazirmatn', 'Segoe UI', Tahoma, sans-serif;
    background: var(--bg);
    color: var(--text);
    direction: rtl;
    line-height: 1.8;
    min-height: 100vh;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}

/* ===== SCROLLBAR ===== */
::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: var(--primary-light); border-radius: 10px; }
::-webkit-scrollbar-thumb:hover { background: var(--primary); }

::selection { background: var(--accent-light); color: var(--primary-dark); }

/* ===== BACKGROUND PARTICLES ===== */
.bg-particles {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 0;
    opacity: 0.4;
}
.bg-particles::before,
.bg-particles::after {
    content: '';
    position: absolute;
    border-radius: 50%;
    animation: floatParticle 8s infinite alternate ease-in-out;
}
.bg-particles::before {
    width: 300px;
    height: 300px;
    top: -50px;
    right: -50px;
    background: radial-gradient(circle, var(--primary-light) 0%, transparent 70%);
    animation-duration: 10s;
}
.bg-particles::after {
    width: 400px;
    height: 400px;
    bottom: -100px;
    left: -100px;
    background: radial-gradient(circle, var(--accent-light) 0%, transparent 70%);
    animation-duration: 12s;
}
@keyframes floatParticle {
    0% { transform: translate(0, 0) scale(1); }
    100% { transform: translate(30px, -30px) scale(1.1); }
}

/* ===== MAIN CONTAINER ===== */
main {
    max-width: 1100px;
    margin: 2rem auto;
    padding: 0 1.5rem;
    position: relative;
    z-index: 1;
}

/* ===== TYPOGRAPHY ===== */
h1, h2, h3, h4, h5, h6 { line-height: 1.4; color: var(--text); }
h1 { font-size: 2.8rem; font-weight: 900; }
h2 { font-size: 2.2rem; font-weight: 700; margin-bottom: 1.5rem; }
h3 { font-size: 1.5rem; font-weight: 700; margin-bottom: 0.8rem; }
h4 { font-size: 1.2rem; font-weight: 600; margin-bottom: 0.5rem; }

p { margin-bottom: 0.5rem; }

a {
    color: var(--primary-dark);
    text-decoration: none;
    transition: var(--transition);
}
a:hover { color: var(--accent); }

/* ===== HERO TITLE SPECIAL ===== */
.hero-title {
    font-size: 3.5rem;
    font-weight: 900;
    margin-bottom: 0.5rem;
}
.greeting {
    display: block;
    font-size: 1.8rem;
    font-weight: 400;
    color: var(--text-muted);
    margin-bottom: 0.2rem;
}
.name-gradient {
    background: linear-gradient(135deg, var(--primary-dark), var(--accent));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: gradientShift 4s ease infinite;
    background-size: 200% 200%;
}
@keyframes gradientShift {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

/* ===== SECTION TITLES ===== */
h2.section-title {
    font-size: 2.2rem;
    text-align: center;
    margin-bottom: 2.5rem;
    position: relative;
    display: block;
}
h2.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: var(--accent);
    border-radius: 2px;
}

.subtitle {
    font-size: 1.2rem;
    color: var(--text-muted);
    display: block;
}

.text-muted { color: var(--text-muted); }
.text-center { text-align: center; }
.text-right { text-align: right; }
.text-left { text-align: left; }

/* ===== NAVIGATION ===== */
.soft-nav {
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    box-shadow: 0 4px 20px rgba(167, 139, 250, 0.1);
    padding: 1rem 2.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid rgba(167, 139, 250, 0.1);
}
.nav-brand {
    font-size: 1.3rem;
    font-weight: 900;
    color: var(--primary-dark);
    background: var(--bg);
    padding: 0.6rem 1.5rem;
    border-radius: var(--radius-sm);
    box-shadow: var(--shadow-soft);
    transition: var(--transition);
    flex-shrink: 0;
    letter-spacing: 0.5px;
}
.nav-brand:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-hover);
    color: var(--primary-dark);
}
.nav-links {
    display: flex;
    gap: 0.8rem;
    flex-wrap: wrap;
    align-items: center;
}
.nav-links a {
    color: var(--text);
    font-weight: 500;
    padding: 0.6rem 1.2rem;
    border-radius: 50px;
    transition: var(--transition);
    background: transparent;
    white-space: nowrap;
}
.nav-links a:hover {
    background: var(--primary-light);
    color: #fff;
    transform: translateY(-2px);
    box-shadow: var(--shadow-btn);
}

/* ===== SOFT CARDS ===== */
.soft-card {
    background: var(--surface);
    border-radius: var(--radius);
    padding: 2.5rem;
    margin: 2rem 0;
    box-shadow: var(--shadow-soft);
    transition: var(--transition);
    border: 1px solid rgba(255, 255, 255, 0.8);
    position: relative;
    overflow: hidden;
}
.soft-card:hover {
    box-shadow: var(--shadow-hover);
    transform: translateY(-6px);
}
.soft-card-sm {
    padding: 1.5rem;
    border-radius: var(--radius-sm);
}
.float-on-hover:hover {
    animation: float 2s ease infinite;
}
@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-8px); }
}

/* ===== BUTTONS ===== */
.btn {
    display: inline-block;
    padding: 14px 34px;
    border: none;
    border-radius: 50px;
    cursor: pointer;
    font-size: 1rem;
    font-weight: 700;
    text-decoration: none;
    transition: var(--transition);
    letter-spacing: 0.3px;
    text-align: center;
    font-family: inherit;
    line-height: 1.5;
}
.soft-btn {
    background: linear-gradient(135deg, var(--primary), var(--accent));
    color: white;
    box-shadow: 0 8px 20px rgba(167, 139, 250, 0.35);
}
.soft-btn:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 28px rgba(244, 114, 182, 0.4);
    color: white;
}
.soft-btn:active {
    transform: scale(0.96);
    box-shadow: var(--shadow-inset);
}
.pulse {
    animation: pulse 2s infinite;
}
@keyframes pulse {
    0% { box-shadow: 0 0 0 0 rgba(167, 139, 250, 0.4); }
    70% { box-shadow: 0 0 0 15px rgba(167, 139, 250, 0); }
    100% { box-shadow: 0 0 0 0 rgba(167, 139, 250, 0); }
}
.btn-outline {
    background: transparent;
    border: 2px solid var(--primary);
    color: var(--primary-dark);
}
.btn-outline:hover {
    background: var(--primary);
    color: #fff;
    transform: translateY(-2px);
}
.btn-sm {
    padding: 8px 20px;
    font-size: 0.85rem;
}
.btn-lg {
    padding: 18px 42px;
    font-size: 1.2rem;
}
.btn-block {
    display: block;
    width: 100%;
}

/* ===== HERO SECTION ===== */
.hero {
    text-align: center;
    padding: 4rem 2rem 2rem;
}
.hero-content {
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-radius: var(--radius);
    padding: 3rem 2rem;
    max-width: 800px;
    margin: 0 auto;
}
.hero-subtitle {
    font-size: 1.6rem;
    font-weight: 600;
    color: var(--primary-dark);
    margin: 1rem 0 1.5rem;
}
.hero-desc {
    font-size: 1.1rem;
    color: var(--text-muted);
    margin: 1.5rem 0 2rem;
    line-height: 2;
}
.hero-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* ===== SKILLS BADGES ===== */
.skills {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
    margin: 1.5rem 0;
}
.badge {
    background: var(--accent-light);
    color: var(--primary-dark);
    padding: 0.5rem 1.5rem;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1rem;
    box-shadow: var(--shadow-btn);
    transition: var(--transition);
    white-space: nowrap;
}
.badge:hover {
    transform: scale(1.05) rotate(-2deg);
    background: var(--accent);
    color: white;
}

/* ===== SERVICES SECTION ===== */
.services {
    text-align: center;
    margin-top: 3rem;
}
.service-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}
.service-card {
    padding: 2.5rem 2rem;
    text-align: center;
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
}
.service-icon {
    font-size: 3.5rem;
    margin-bottom: 1rem;
    display: block;
    animation: bounce 2s infinite;
}
@keyframes bounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-15px); }
}
.service-card h3 {
    margin-bottom: 1rem;
    color: var(--primary-dark);
}
.service-card p {
    color: var(--text-muted);
}

/* ===== ABOUT PAGE ===== */
.about-container {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 2rem;
    align-items: start;
}
.about-image {
    text-align: center;
}
.about-image img {
    width: 100%;
    max-width: 300px;
    border-radius: var(--radius);
    box-shadow: var(--shadow-soft);
}
.about-placeholder {
    width: 100%;
    max-width: 300px;
    height: 300px;
    background: linear-gradient(135deg, var(--primary-light), var(--accent-light));
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 5rem;
    box-shadow: var(--shadow-soft);
    margin: 0 auto;
}
.about-details h3 {
    margin-top: 1.5rem;
}
.skills-list {
    list-style: none;
    padding: 0;
}
.skills-list li {
    padding: 0.5rem 0;
    border-bottom: 1px solid var(--primary-light);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}
.skills-list li::before {
    content: '▸';
    color: var(--accent);
    font-weight: bold;
}
.cert-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 1rem;
    margin-top: 1rem;
}
.cert-card {
    background: var(--bg);
    padding: 1.2rem;
    border-radius: var(--radius-sm);
    text-align: center;
    box-shadow: var(--shadow-inset);
    transition: var(--transition);
}
.cert-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-soft);
}
.cert-icon {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
}
.cert-card h4 {
    font-size: 0.95rem;
    margin: 0;
}

/* ===== PORTFOLIO ===== */
.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}
.portfolio-card {
    background: var(--surface);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow-soft);
    transition: var(--transition);
}
.portfolio-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-hover);
}
.portfolio-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
    background: linear-gradient(135deg, var(--primary-light), var(--accent-light));
}
.portfolio-placeholder {
    width: 100%;
    height: 200px;
    background: linear-gradient(135deg, var(--primary-light), var(--accent-light));
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 4rem;
    color: white;
}
.portfolio-info {
    padding: 1.5rem;
}
.portfolio-info h3 {
    margin-bottom: 0.5rem;
}
.portfolio-tags {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
    margin: 0.8rem 0;
}
.tag {
    background: var(--accent-light);
    color: var(--primary-dark);
    padding: 0.3rem 0.8rem;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 600;
}
.portfolio-links {
    display: flex;
    gap: 0.8rem;
    margin-top: 1rem;
}

/* ===== TESTIMONIALS ===== */
.testimonial-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}
.testimonial-card {
    background: var(--surface);
    border-radius: var(--radius);
    padding: 2rem;
    box-shadow: var(--shadow-soft);
    transition: var(--transition);
    position: relative;
}
.testimonial-card::before {
    content: '"';
    position: absolute;
    top: 10px;
    right: 20px;
    font-size: 4rem;
    color: var(--primary-light);
    line-height: 1;
    font-family: serif;
}
.testimonial-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-hover);
}
.testimonial-text {
    font-style: italic;
    margin: 1rem 0;
    color: var(--text);
    position: relative;
    z-index: 1;
}
.testimonial-author {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    margin-top: 1rem;
}
.testimonial-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: var(--primary-light);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-dark);
}
.testimonial-name {
    font-weight: 700;
    color: var(--text);
}
.testimonial-role {
    font-size: 0.85rem;
    color: var(--text-muted);
}

/* ===== FORMS ===== */
.auth-container,
.order-form {
    max-width: 550px;
    margin: 3rem auto;
}
.form-group {
    margin-bottom: 1.2rem;
}
.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0 1.5rem;
}
.form-group.full-width {
    grid-column: 1 / -1;
}
label {
    font-weight: 600;
    color: var(--text);
    display: block;
    margin-bottom: 0.3rem;
}
input,
textarea,
select {
    width: 100%;
    padding: 15px 18px;
    margin: 8px 0 16px;
    border: none;
    border-radius: var(--radius-sm);
    background: var(--bg);
    box-shadow: var(--shadow-inset);
    font-size: 1rem;
    font-family: inherit;
    transition: var(--transition);
    color: var(--text);
}
input:focus,
textarea:focus,
select:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(167, 139, 250, 0.3), var(--shadow-inset);
    background: #fff;
}
textarea {
    resize: vertical;
    min-height: 120px;
}
input[type="file"] {
    padding: 12px;
    cursor: pointer;
}
select {
    cursor: pointer;
    appearance: none;
    -webkit-appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' fill='%237C3AED' viewBox='0 0 16 16'%3E%3Cpath d='M8 11L3 6h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: left 15px center;
}
.submit-btn {
    width: 100%;
    margin-top: 1rem;
    font-size: 1.1rem;
    padding: 16px;
}

/* ===== ALERTS ===== */
.alert {
    padding: 1rem 1.5rem;
    border-radius: var(--radius-sm);
    margin: 1.5rem 0;
    font-weight: 500;
}
.success {
    background: #ECFDF5;
    color: #065F46;
    border-right: 5px solid var(--success);
}
.error {
    background: #FFF0F0;
    color: #991B1B;
    border-right: 5px solid var(--danger);
}
.warning {
    background: #FFFBEB;
    color: #92400E;
    border-right: 5px solid var(--warning);
}
.info {
    background: #EFF6FF;
    color: #1E40AF;
    border-right: 5px solid #93C5FD;
}

/* ===== DASHBOARD ===== */
.dashboard {
    max-width: 900px;
    margin: 2rem auto;
}
.user-info {
    background: var(--bg);
    padding: 1.5rem 2rem;
    border-radius: var(--radius-sm);
    box-shadow: var(--shadow-inset);
    margin: 2rem 0;
}
.user-info p {
    margin: 0.6rem 0;
    font-size: 1.1rem;
}
.user-info strong {
    color: var(--primary-dark);
}
.orders-list {
    display: grid;
    gap: 1.5rem;
    margin-top: 2rem;
}
.order-card {
    padding: 1.5rem;
    border-radius: var(--radius-sm);
    background: var(--surface);
    box-shadow: var(--shadow-soft);
    transition: var(--transition);
    border-right: 5px solid var(--primary-light);
}
.order-card:hover {
    transform: translateX(-5px);
}

/* ===== STATUS BADGES (GLOBAL) ===== */
.status,
.status-badge {
    padding: 0.4rem 1.2rem;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 700;
    white-space: nowrap;
    display: inline-block;
}
.status.pending,
.status-pending { background: #FFF3E0; color: #E65100; }
.status.in_progress,
.status-in_progress { background: #E3F2FD; color: #1565C0; }
.status.completed,
.status-completed { background: #E8F5E9; color: #2E7D32; }
.status-new { background: #FFF3E0; color: #E65100; }
.status-read { background: #E3F2FD; color: #1565C0; }
.status-replied { background: #E8F5E9; color: #2E7D32; }

/* ===== PRIORITY BADGES ===== */
.priority-badge {
    padding: 0.4rem 1.2rem;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
    white-space: nowrap;
    display: inline-block;
}
.priority-low { background: #ECFDF5; color: #065F46; }
.priority-medium { background: #FFFBEB; color: #92400E; }
.priority-high { background: #FFF0F0; color: #991B1B; }

/* ===== CONTACT PAGE ===== */
.contact-page {
    animation: fadeIn 0.8s ease;
}
.contact-header {
    text-align: center;
    margin-bottom: 2rem;
}
.contact-container {
    display: grid;
    grid-template-columns: 1.3fr 0.7fr;
    gap: 2rem;
    margin-top: 2rem;
}
.contact-form-section {
    padding: 2.5rem;
}
.form-desc {
    color: var(--text-muted);
    margin-bottom: 2rem;
}
.direct-call-card,
.direct-email-card,
.social-card {
    text-align: center;
    padding: 2rem;
    margin-bottom: 1.5rem;
}
.call-icon,
.email-icon {
    font-size: 3.5rem;
    margin-bottom: 1rem;
}
.call-number {
    font-size: 2rem;
    font-weight: 900;
    color: var(--primary-dark);
    margin: 1rem 0;
    letter-spacing: 2px;
    direction: ltr;
}
.email-address {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--primary-dark);
    margin: 1rem 0;
    direction: ltr;
}
.call-desc,
.email-desc,
.social-desc {
    color: var(--text-muted);
    margin-bottom: 1.5rem;
}
.call-btn,
.email-btn {
    width: 100%;
    margin-bottom: 1rem;
}
.call-note,
.email-note {
    font-size: 0.9rem;
    color: var(--text-muted);
}
.social-links {
    display: flex;
    gap: 0.8rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 1rem;
}
.social-link {
    padding: 0.6rem 1.2rem;
    background: var(--bg);
    border-radius: 50px;
    text-decoration: none;
    color: var(--text);
    font-weight: 500;
    transition: var(--transition);
    box-shadow: var(--shadow-inset);
}
.social-link:hover {
    background: var(--primary-light);
    color: white;
    transform: translateY(-2px);
}

/* ===== FOOTER ===== */
.soft-footer {
    text-align: center;
    padding: 2.5rem;
    background: var(--surface);
    box-shadow: 0 -5px 30px rgba(167, 139, 250, 0.1);
    margin-top: 4rem;
    color: var(--text-muted);
    font-weight: 500;
}

/* ===== UTILITY CLASSES ===== */
.mt-1 { margin-top: 1rem; }
.mt-2 { margin-top: 2rem; }
.mt-3 { margin-top: 3rem; }
.mb-1 { margin-bottom: 1rem; }
.mb-2 { margin-bottom: 2rem; }
.mb-3 { margin-bottom: 3rem; }
.p-1 { padding: 1rem; }
.p-2 { padding: 2rem; }
.p-3 { padding: 3rem; }

/* ===== ANIMATIONS ===== */
.fade-in { animation: fadeIn 0.8s ease both; }
.slide-up { animation: slideUp 0.7s ease both; }
.slide-in-right { animation: slideInRight 0.6s ease both; }
.slide-in-left { animation: slideInLeft 0.6s ease both; }

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}
@keyframes slideUp {
    from { opacity: 0; transform: translateY(40px); }
    to { opacity: 1; transform: translateY(0); }
}
@keyframes slideInRight {
    from { opacity: 0; transform: translateX(50px); }
    to { opacity: 1; transform: translateX(0); }
}
@keyframes slideInLeft {
    from { opacity: 0; transform: translateX(-50px); }
    to { opacity: 1; transform: translateX(0); }
}

/* ===== RESPONSIVE ===== */
@media (max-width: 968px) {
    .about-container {
        grid-template-columns: 1fr;
    }
    .contact-container {
        grid-template-columns: 1fr;
    }
    .form-row {
        grid-template-columns: 1fr;
    }
    .portfolio-grid {
        grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    }
}

@media (max-width: 768px) {
    body { font-size: 15px; }
    h1 { font-size: 2rem; }
    h2 { font-size: 1.6rem; }
    h3 { font-size: 1.3rem; }
    .hero-title { font-size: 2.4rem; }
    .greeting { font-size: 1.4rem; }
    .hero-subtitle { font-size: 1.3rem; }

    .soft-nav {
        flex-direction: column;
        gap: 1rem;
        padding: 1rem;
    }
    .nav-links { justify-content: center; }
    .nav-links a { padding: 0.5rem 0.8rem; font-size: 0.9rem; }

    .soft-card { padding: 1.5rem; margin: 1rem 0; }

    .hero { padding: 2rem 1rem; }
    .hero-content { padding: 2rem 1rem; }
    .hero-actions { flex-direction: column; align-items: center; }
    .hero-actions .btn { width: 100%; }

    .service-grid { grid-template-columns: 1fr; }
    .testimonial-grid { grid-template-columns: 1fr; }

    .auth-container,
    .order-form { margin: 1.5rem auto; padding: 0 1rem; }

    .contact-form-section { padding: 1.5rem; }
    .call-number { font-size: 1.5rem; }

    .cert-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 480px) {
    h1 { font-size: 1.8rem; }
    .hero-title { font-size: 2rem; }
    .greeting { font-size: 1.2rem; }
    .hero-subtitle { font-size: 1.1rem; }

    .nav-links { gap: 0.4rem; }
    .nav-links a { padding: 0.4rem 0.6rem; font-size: 0.8rem; }
    .nav-brand { font-size: 1rem; padding: 0.4rem 1rem; }

    .btn { padding: 12px 24px; font-size: 0.95rem; }
    .soft-card { padding: 1.2rem; }

    .cert-grid { grid-template-columns: 1fr 1fr; }
    .portfolio-grid { grid-template-columns: 1fr; }
}