/* =============================================================
   Hazem Design - Modern Website Styles
   تصميم عصري وجميل
   ============================================================= */

/* Import Cairo font from Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Cairo:wght@200;300;400;500;600;700;800;900&display=swap');

/* --- CSS Variables --- */
:root {
    /* Colors */
    --primary-gradient-start: #a855f7;
    --primary-gradient-end: #06b6d4;
    --secondary-glow: #ec4899;
    --accent-color: #f59e0b;
    
    /* Dark Theme */
    --bg-primary: #0a0a0f;
    --bg-secondary: #111116;
    --bg-card: #1a1a22;
    --bg-card-hover: #252530;
    
    /* Text Colors */
    --text-primary: #f0f0f5;
    --text-secondary: #a0a0b5;
    --text-muted: #6b6b80;
    
    /* Borders & Shadows */
    --border-color: rgba(255, 255, 255, 0.08);
    --border-glow: rgba(168, 85, 247, 0.3);
    --shadow-soft: 0 10px 40px rgba(0, 0, 0, 0.3);
    --shadow-glow: 0 0 40px rgba(168, 85, 247, 0.15);
    
    /* Status Colors */
    --success-color: #10b981;
    --warning-color: #f59e0b;
    --error-color: #ef4444;
    
    /* Spacing */
    --section-padding: 100px;
    --container-width: 1200px;
    
    /* Transitions */
    --transition-fast: 0.2s ease;
    --transition-normal: 0.3s ease;
    --transition-slow: 0.5s ease;
}

/* Light Theme */
html.light-theme {
    --bg-primary: #f8f9fc;
    --bg-secondary: #ffffff;
    --bg-card: #ffffff;
    --bg-card-hover: #f3f4f6;
    --text-primary: #1a1a2e;
    --text-secondary: #4b5563;
    --text-muted: #9ca3af;
    --border-color: rgba(0, 0, 0, 0.08);
}

/* --- Animations --- */
@keyframes gradient-shift {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

@keyframes fade-in-up {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes pulse-glow {
    0%, 100% { box-shadow: 0 0 20px rgba(168, 85, 247, 0.3); }
    50% { box-shadow: 0 0 40px rgba(168, 85, 247, 0.6), 0 0 60px rgba(6, 182, 212, 0.3); }
}

@keyframes shimmer {
    0% { left: -100%; }
    100% { left: 100%; }
}

/* --- Base Styles --- */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: 'Cairo', sans-serif;
    font-weight: 400;
    background: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.7;
    overflow-x: hidden;
    position: relative;
}

/* Background Gradient Effect */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 20% 20%, rgba(168, 85, 247, 0.08) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(6, 182, 212, 0.08) 0%, transparent 50%),
        radial-gradient(circle at 50% 50%, rgba(236, 72, 153, 0.05) 0%, transparent 60%);
    pointer-events: none;
    z-index: -1;
}

/* --- Container --- */
.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 20px;
}

/* --- Typography --- */
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    color: var(--text-primary);
    line-height: 1.3;
    margin-bottom: 20px;
}

h1 { font-size: clamp(2.5rem, 5vw, 4rem); }
h2 { 
    font-size: clamp(2rem, 4vw, 3rem); 
    text-align: center;
    margin-bottom: 30px;
}
h3 { font-size: clamp(1.3rem, 2.5vw, 1.8rem); }

/* Gradient Text Effect */
.gradient-text,
h1 span, h2 span {
    background: linear-gradient(135deg, var(--primary-gradient-start), var(--secondary-glow), var(--primary-gradient-end));
    background-size: 200% 200%;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: gradient-shift 4s ease infinite;
}

p {
    color: var(--text-secondary);
    margin-bottom: 20px;
    font-size: 1.1rem;
}

a {
    color: var(--primary-gradient-start);
    text-decoration: none;
    transition: var(--transition-fast);
}

a:hover {
    color: var(--primary-gradient-end);
}

/* --- Buttons --- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 16px 32px;
    background: linear-gradient(135deg, var(--primary-gradient-start), var(--primary-gradient-end));
    color: white;
    border: none;
    border-radius: 50px;
    font-family: inherit;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    text-decoration: none;
    transition: all var(--transition-normal);
    position: relative;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(168, 85, 247, 0.3);
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: left 0.5s ease;
}

.btn:hover::before {
    left: 100%;
}

.btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(168, 85, 247, 0.4);
}

.btn:active {
    transform: translateY(-1px);
}

.btn-outline {
    background: transparent;
    border: 2px solid var(--primary-gradient-start);
    color: var(--text-primary);
    box-shadow: none;
}

.btn-outline:hover {
    background: linear-gradient(135deg, var(--primary-gradient-start), var(--primary-gradient-end));
    color: white;
}

.btn-whatsapp {
    background: linear-gradient(135deg, #25d366, #128c7e);
    box-shadow: 0 5px 20px rgba(37, 211, 102, 0.3);
}

.btn-telegram {
    background: linear-gradient(135deg, #0088cc, #00a0dc);
    box-shadow: 0 5px 20px rgba(0, 136, 204, 0.3);
}

/* --- Navigation --- */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 15px 0;
    background: rgba(10, 10, 15, 0.9);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border-color);
    transition: var(--transition-normal);
}

html.light-theme .navbar {
    background: rgba(255, 255, 255, 0.95);
}

.navbar .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav-logo img {
    height: 50px;
    width: auto;
}

.nav-links {
    display: flex;
    gap: 35px;
    list-style: none;
}

.nav-links a {
    color: var(--text-secondary);
    font-weight: 500;
    padding: 10px 0;
    position: relative;
    transition: var(--transition-fast);
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--primary-gradient-start), var(--primary-gradient-end));
    transition: width var(--transition-normal);
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--text-primary);
}

.nav-links a:hover::after,
.nav-links a.active::after {
    width: 100%;
}

.nav-controls {
    display: flex;
    align-items: center;
    gap: 15px;
}

.theme-switcher,
.language-switcher {
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    cursor: pointer;
    transition: var(--transition-fast);
    color: var(--text-primary);
    font-weight: 600;
}

.theme-switcher:hover,
.language-switcher:hover {
    border-color: var(--primary-gradient-start);
    transform: scale(1.05);
}

.nav-toggle {
    display: none;
    background: transparent;
    border: none;
    color: var(--text-primary);
    font-size: 1.5rem;
    cursor: pointer;
    padding: 10px;
}

/* Mobile Navigation */
@media (max-width: 900px) {
    .nav-toggle {
        display: block;
    }
    
    .nav-links {
        position: fixed;
        top: 80px;
        left: 0;
        right: 0;
        background: var(--bg-secondary);
        flex-direction: column;
        padding: 20px;
        gap: 0;
        transform: translateY(-120%);
        opacity: 0;
        transition: var(--transition-normal);
        border-bottom: 1px solid var(--border-color);
    }
    
    .nav-links.active {
        transform: translateY(0);
        opacity: 1;
    }
    
    .nav-links li {
        border-bottom: 1px solid var(--border-color);
    }
    
    .nav-links a {
        display: block;
        padding: 15px 0;
    }
}

/* --- Hero Section --- */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 140px 20px 100px;
    position: relative;
    overflow: hidden;
    background: linear-gradient(180deg, var(--bg-primary) 0%, var(--bg-secondary) 100%);
}

.hero::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 800px;
    height: 800px;
    transform: translate(-50%, -50%);
    background: radial-gradient(circle, rgba(168, 85, 247, 0.15) 0%, transparent 70%);
    pointer-events: none;
}

.hero .container {
    position: relative;
    z-index: 2;
    max-width: 900px;
}

.hero h1 {
    animation: fade-in-up 1s ease;
    margin-bottom: 30px;
}

.hero p {
    font-size: 1.25rem;
    max-width: 700px;
    margin: 0 auto 40px;
    animation: fade-in-up 1s ease 0.2s both;
}

.hero .btn {
    animation: fade-in-up 1s ease 0.4s both;
}

/* Scroll Down Arrow */
.scroll-arrow {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    color: var(--text-muted);
    animation: float 2s ease-in-out infinite;
    cursor: pointer;
    opacity: 0.6;
    transition: var(--transition-fast);
}

.scroll-arrow:hover {
    opacity: 1;
    color: var(--primary-gradient-start);
}

/* --- Sections --- */
section {
    padding: var(--section-padding) 0;
    position: relative;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-header p {
    max-width: 600px;
    margin: 0 auto;
}

/* Fade In Animation */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* --- Cards --- */
.card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    padding: 35px;
    transition: all var(--transition-normal);
    position: relative;
    overflow: hidden;
}

.card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(168, 85, 247, 0.05), rgba(6, 182, 212, 0.05));
    opacity: 0;
    transition: opacity var(--transition-normal);
}

.card:hover {
    transform: translateY(-8px);
    border-color: var(--border-glow);
    box-shadow: var(--shadow-glow);
}

.card:hover::before {
    opacity: 1;
}

.card > * {
    position: relative;
    z-index: 2;
}

/* --- Grid Layouts --- */
.grid-3 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
}

.grid-2 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 30px;
}

/* --- Why Us Section --- */
.why-us-item {
    text-align: center;
}

.why-us-item .icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 25px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(168, 85, 247, 0.1), rgba(6, 182, 212, 0.1));
    border-radius: 20px;
    font-size: 2rem;
    color: var(--primary-gradient-start);
}

.why-us-item h3 {
    margin-bottom: 15px;
}

.why-us-item p {
    margin-bottom: 0;
}

/* --- Services Section --- */
.service-card {
    display: flex;
    flex-direction: column;
}

.service-card .service-image {
    width: 100%;
    height: 180px;
    object-fit: cover;
    border-radius: 15px;
    margin-bottom: 25px;
}

.service-card h3 {
    margin-bottom: 15px;
}

.service-card p {
    flex-grow: 1;
}

.service-card .tagline {
    background: linear-gradient(135deg, rgba(168, 85, 247, 0.15), rgba(6, 182, 212, 0.15));
    padding: 15px 20px;
    border-radius: 12px;
    font-weight: 500;
    color: var(--text-primary);
    margin: 20px 0;
    text-align: center;
}

.service-card .btn {
    width: 100%;
    margin-top: auto;
}

/* --- Testimonials Section --- */
.testimonial-card blockquote {
    font-style: italic;
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 25px;
    padding-right: 25px;
    border-right: 3px solid var(--primary-gradient-start);
}

[dir="ltr"] .testimonial-card blockquote {
    padding-right: 0;
    padding-left: 25px;
    border-right: none;
    border-left: 3px solid var(--primary-gradient-start);
}

.testimonial-card .author {
    font-weight: 600;
    color: var(--text-primary);
    margin: 0;
}

/* --- Portfolio Section --- */
.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
}

.portfolio-item {
    position: relative;
    aspect-ratio: 1;
    border-radius: 15px;
    overflow: hidden;
    cursor: pointer;
}

.portfolio-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-slow);
}

.portfolio-item::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(168, 85, 247, 0.4), rgba(6, 182, 212, 0.4));
    opacity: 0;
    transition: opacity var(--transition-normal);
}

.portfolio-item:hover img {
    transform: scale(1.1);
}

.portfolio-item:hover::after {
    opacity: 1;
}

.more-work-button {
    text-align: center;
    margin-top: 40px;
}

/* --- Gaming Banner --- */
.gaming-banner {
    background: linear-gradient(135deg, rgba(168, 85, 247, 0.1), rgba(6, 182, 212, 0.1));
    border-radius: 25px;
    padding: 60px 40px;
    text-align: center;
    margin: 0 20px;
    border: 1px solid var(--border-color);
}

.gaming-banner h2 {
    margin-bottom: 15px;
}

.gaming-banner p {
    max-width: 500px;
    margin: 0 auto 30px;
}

/* --- FAQ Section --- */
.faq-container {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 15px;
    margin-bottom: 15px;
    overflow: hidden;
    transition: var(--transition-fast);
}

.faq-item:hover {
    border-color: var(--border-glow);
}

.faq-question {
    padding: 25px;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: 600;
    color: var(--text-primary);
    transition: var(--transition-fast);
}

.faq-question::after {
    content: '+';
    font-size: 1.5rem;
    color: var(--primary-gradient-start);
    transition: transform var(--transition-normal);
}

.faq-item.active .faq-question {
    color: var(--primary-gradient-start);
}

.faq-item.active .faq-question::after {
    transform: rotate(45deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height var(--transition-normal);
}

.faq-answer p {
    padding: 0 25px 25px;
    margin: 0;
}

/* --- Contact Section --- */
.contact-section {
    background: var(--bg-secondary);
}

.contact-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.contact-form {
    background: var(--bg-card);
    padding: 50px;
    border-radius: 25px;
    border: 1px solid var(--border-color);
    max-width: 700px;
    margin: 0 auto;
}

.contact-form h3 {
    text-align: center;
    margin-bottom: 40px;
}

.form-group {
    margin-bottom: 25px;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 18px 20px;
    background: var(--bg-primary);
    border: 2px solid var(--border-color);
    border-radius: 12px;
    color: var(--text-primary);
    font-family: inherit;
    font-size: 1rem;
    transition: var(--transition-fast);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-gradient-start);
    box-shadow: 0 0 20px rgba(168, 85, 247, 0.2);
}

.form-group textarea {
    resize: vertical;
    min-height: 140px;
}

.phone-group {
    display: flex;
    gap: 15px;
}

.phone-group input:first-child {
    width: 30%;
}

.phone-group input:last-child {
    width: 70%;
}

.form-group .btn {
    width: 100%;
}

/* --- Footer --- */
.site-footer {
    background: var(--bg-secondary);
    padding: 80px 0 30px;
    border-top: 1px solid var(--border-color);
}

.footer-top {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 60px;
    margin-bottom: 50px;
}

.footer-logo img {
    height: 60px;
    margin-bottom: 25px;
}

.footer-description {
    color: var(--text-secondary);
    margin-bottom: 25px;
    line-height: 1.8;
}

.footer-links h4 {
    font-size: 1.2rem;
    margin-bottom: 25px;
    color: var(--text-primary);
}

.footer-links ul {
    list-style: none;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    color: var(--text-secondary);
    transition: var(--transition-fast);
}

.footer-links a:hover {
    color: var(--primary-gradient-start);
}

.footer-social {
    display: flex;
    gap: 15px;
    margin-top: 25px;
}

.footer-social a {
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    color: var(--text-secondary);
    font-size: 1.2rem;
    transition: var(--transition-fast);
}

.footer-social a:hover {
    color: var(--primary-gradient-start);
    border-color: var(--primary-gradient-start);
    transform: translateY(-3px);
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid var(--border-color);
}

.footer-bottom p {
    color: var(--text-muted);
    margin: 0;
    font-size: 0.95rem;
}

@media (max-width: 900px) {
    .footer-top {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }
    
    .footer-social {
        justify-content: center;
    }
}

/* --- Floating WhatsApp Button --- */
.whatsapp-floating {
    position: fixed;
    bottom: 30px;
    left: 30px;
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #25d366, #128c7e);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.8rem;
    box-shadow: 0 5px 25px rgba(37, 211, 102, 0.4);
    z-index: 999;
    transition: var(--transition-fast);
    animation: pulse-glow 2s ease-in-out infinite;
}

[dir="ltr"] .whatsapp-floating {
    left: auto;
    right: 30px;
}

.whatsapp-floating:hover {
    transform: scale(1.1);
    color: white;
}

/* --- Gallery Sections --- */
.square-gallery,
.a4-gallery {
    display: grid;
    gap: 20px;
    margin-top: 40px;
}

.square-gallery {
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
}

.a4-gallery {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
}

.square-gallery img,
.a4-gallery img {
    width: 100%;
    height: auto;
    border-radius: 15px;
    cursor: pointer;
    transition: var(--transition-normal);
    border: 1px solid var(--border-color);
}

.square-gallery img:hover,
.a4-gallery img:hover {
    transform: scale(1.03);
    box-shadow: var(--shadow-glow);
}

.gallery-cta-button {
    text-align: center;
    margin-top: 40px;
}

/* --- Feature Grid --- */
.service-features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin: 40px 0;
}

.feature-item {
    text-align: center;
}

.icon-circle {
    width: 100px;
    height: 100px;
    margin: 0 auto 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(168, 85, 247, 0.15), rgba(6, 182, 212, 0.15));
    border-radius: 50%;
    border: 2px solid var(--border-glow);
}

.icon-circle img {
    width: 50px;
    height: 50px;
    object-fit: contain;
}

.feature-title {
    font-size: 1.1rem;
    font-weight: 600;
    margin: 0;
}

@media (max-width: 768px) {
    .service-features-grid {
        grid-template-columns: 1fr;
        gap: 25px;
    }
}

/* --- Projects Section --- */
.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
}

.project-item {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    overflow: hidden;
    cursor: pointer;
    transition: var(--transition-normal);
}

.project-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-glow);
}

.project-images {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 5px;
}

.project-images img {
    width: 100%;
    height: 120px;
    object-fit: cover;
}

.project-item h3 {
    padding: 20px;
    margin: 0;
    text-align: center;
    font-size: 1.2rem;
}

/* --- Modals --- */
.modal {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.9);
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition-normal);
}

.modal.show {
    opacity: 1;
    visibility: visible;
}

.modal-content {
    background: var(--bg-card);
    padding: 40px;
    border-radius: 25px;
    max-width: 500px;
    width: 90%;
    text-align: center;
    position: relative;
}

.modal-close {
    position: absolute;
    top: 15px;
    right: 15px;
    background: none;
    border: none;
    color: var(--text-muted);
    font-size: 1.5rem;
    cursor: pointer;
    transition: var(--transition-fast);
}

[dir="ltr"] .modal-close {
    right: auto;
    left: 15px;
}

.modal-close:hover {
    color: var(--text-primary);
}

.success-icon {
    font-size: 4rem;
    color: var(--success-color);
    margin-bottom: 20px;
}

.modal-buttons {
    display: flex;
    gap: 15px;
    justify-content: center;
    margin: 30px 0;
    flex-wrap: wrap;
}

/* --- AI Chat Section --- */
.ai-chat-section {
    background: var(--bg-secondary);
}

.ai-input {
    width: 100%;
    padding: 20px;
    background: var(--bg-card);
    border: 2px solid var(--border-color);
    border-radius: 15px;
    color: var(--text-primary);
    font-family: inherit;
    font-size: 1rem;
    min-height: 120px;
    resize: vertical;
    margin-bottom: 20px;
    transition: var(--transition-fast);
}

.ai-input:focus {
    outline: none;
    border-color: var(--primary-gradient-start);
}

.ai-response {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 15px;
    padding: 25px;
    margin-top: 20px;
    min-height: 100px;
    color: var(--text-secondary);
    line-height: 1.8;
}

/* --- Language Content Toggle --- */
.lang-content {
    display: none;
}

.lang-content.active {
    display: block;
}

/* --- Loading Spinner --- */
.loading {
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 3px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    border-top-color: white;
    animation: spin 1s ease-in-out infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* --- Responsive Adjustments --- */
@media (max-width: 768px) {
    :root {
        --section-padding: 60px;
    }
    
    .hero {
        padding: 120px 20px 60px;
        min-height: auto;
    }
    
    .contact-form {
        padding: 30px;
    }
    
    .phone-group {
        flex-direction: column;
    }
    
    .phone-group input:first-child,
    .phone-group input:last-child {
        width: 100%;
    }
    
    .projects-grid {
        grid-template-columns: 1fr;
    }
    
    .grid-2 {
        grid-template-columns: 1fr;
    }
}

/* --- Print Styles --- */
@media print {
    .navbar,
    .whatsapp-floating,
    .nav-controls,
    .btn {
        display: none !important;
    }
}
