  /*
Theme Name: Ufuq Aljamal Almutaqadimah
Author: Afifa Zahra
Version: 1.0
Author URI: https://gobookdeals.com
Description: Premium digital solutions theme with bilingual support (English/Arabic) for business, web development, and travel services.
*/
  :root {
        /* New Color Scheme: Deep Royal Blue + Emerald + Gold */
        --primary-dark: #0f1b3d;
        --secondary-dark: #1e3a8a;
        --accent-gold: #d4af37;
        --accent-gold-light: #f4d03f;
        --emerald: #059669;
        --emerald-light: #10b981;
        --text-light: #ffffff;
        --text-muted: #94a3b8;
        --bg-light: #f0f4f8;
        --bg-white: #ffffff;
        --border-color: rgba(212, 175, 55, 0.4);
        --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    }

    * {
        margin: 0;
        padding: 0;
        box-sizing: border-box;
    }

    html {
        scroll-behavior: smooth;
    }

    body {
        font-family: 'Plus Jakarta Sans', 'Tajawal', sans-serif;
        background-color: var(--bg-light);
        color: var(--primary-dark);
        line-height: 1.6;
        overflow-x: hidden;
        transition: var(--transition);
    }

    /* RTL Support */
    html[dir="rtl"] body {
        font-family: 'Tajawal', 'Plus Jakarta Sans', sans-serif;
    }

    html[dir="rtl"] .nav-container {
        flex-direction: row-reverse;
    }

    html[dir="rtl"] .nav-links {
        flex-direction: row-reverse;
    }

    html[dir="rtl"] .hero-content {
        direction: rtl;
    }

    html[dir="rtl"] .hero-text {
        text-align: right;
    }

    html[dir="rtl"] .hero-stats {
        flex-direction: row-reverse;
    }

    html[dir="rtl"] .services-grid {
        direction: rtl;
    }

    html[dir="rtl"] .about-content {
        direction: rtl;
    }

    html[dir="rtl"] .about-text {
        text-align: right;
    }

    html[dir="rtl"] .features-list li {
        flex-direction: row-reverse;
    }

    html[dir="rtl"] .contact-content {
        direction: rtl;
    }

    html[dir="rtl"] .contact-info {
        text-align: right;
    }

    html[dir="rtl"] .contact-item {
        flex-direction: row-reverse;
    }

    html[dir="rtl"] .footer-content {
        direction: rtl;
    }

    html[dir="rtl"] .cta-buttons {
        flex-direction: row-reverse;
        justify-content: flex-start;
    }

    html[dir="rtl"] .section-header h2::after {
        left: auto;
        right: 50%;
        transform: translateX(50%);
    }

    html[dir="rtl"] .form-row {
        flex-direction: row-reverse;
    }

    html[dir="rtl"] .submit-btn {
        flex-direction: row-reverse;
    }

    html[dir="rtl"] .social-links {
        flex-direction: row-reverse;
    }

    /* Language Toggle */
    .lang-toggle {
        background: rgba(255,255,255,0.1);
        border: 1px solid var(--border-color);
        color: var(--text-light);
        padding: 0.5rem 1rem;
        border-radius: 20px;
        cursor: pointer;
        font-family: inherit;
        font-weight: 600;
        display: flex;
        align-items: center;
        gap: 0.5rem;
        transition: var(--transition);
        margin-left: 1rem;
    }

    html[dir="rtl"] .lang-toggle {
        margin-left: 0;
        margin-right: 1rem;
    }

    .lang-toggle:hover {
        background: var(--accent-gold);
        color: var(--primary-dark);
        transform: translateY(-2px);
    }

    .lang-toggle i {
        font-size: 0.9rem;
    }

    /* Navigation */
    nav {
        position: fixed;
        top: 0;
        width: 100%;
        z-index: 1000;
        background: rgba(15, 27, 61, 0.98);
        backdrop-filter: blur(10px);
        border-bottom: 1px solid var(--border-color);
        transition: var(--transition);
    }

    .nav-container {
        max-width: 1200px;
        margin: 0 auto;
        padding: 1rem 2rem;
        display: flex;
        justify-content: space-between;
        align-items: center;
    }

    .logo {
        font-size: 1.3rem;
        font-weight: 800;
        color: var(--text-light);
        text-decoration: none;
        display: flex;
        align-items: center;
        gap: 0.6rem;
    }

    .logo-img {
        height: 100px;
        width: auto;
        border-radius: 8px;
        object-fit: contain;
        transition: var(--transition);
         background: transparent;
    border-radius: 0;
    filter: drop-shadow(0 2px 4px rgba(0,0,0,0.2));
    }

    .logo span {
        color: var(--accent-gold);
    }

    .logo:hover .logo-img {
        transform: scale(1.05);
        filter: brightness(1.1);
    }

    /* RTL adjustments for logo */
    html[dir="rtl"] .logo {
        flex-direction: row-reverse;
    }

    .nav-links {
        display: flex;
        gap: 2.5rem;
        list-style: none;
        align-items: center;
    }

    .nav-links a {
        color: var(--text-light);
        text-decoration: none;
        font-weight: 600;
        font-size: 0.95rem;
        position: relative;
        transition: var(--transition);
    }

    .nav-links a::after {
        content: '';
        position: absolute;
        bottom: -5px;
        left: 0;
        width: 0;
        height: 2px;
        background: var(--accent-gold);
        transition: var(--transition);
    }

    html[dir="rtl"] .nav-links a::after {
        left: auto;
        right: 0;
    }

    .nav-links a:hover::after {
        width: 100%;
    }

    .nav-links a:hover {
        color: var(--accent-gold);
    }

    .mobile-menu {
        display: none;
        color: var(--text-light);
        font-size: 1.5rem;
        cursor: pointer;
    }

    /* Hero Section */
    .hero {
        min-height: 100vh;
        background: linear-gradient(135deg, var(--primary-dark) 0%, var(--secondary-dark) 50%, #064e3b 100%);
        display: flex;
        align-items: center;
        position: relative;
        overflow: hidden;
        padding-top: 80px;
    }

    .hero::before {
        content: '';
        position: absolute;
        top: -50%;
        right: -10%;
        width: 800px;
        height: 800px;
        background: radial-gradient(circle, rgba(212, 175, 55, 0.15) 0%, transparent 70%);
        animation: pulse 4s ease-in-out infinite;
    }

    html[dir="rtl"] .hero::before {
        right: auto;
        left: -10%;
    }

    @keyframes pulse {
        0%, 100% { transform: scale(1); opacity: 0.5; }
        50% { transform: scale(1.1); opacity: 0.8; }
    }

    .hero-content {
        max-width: 1200px;
        margin: 0 auto;
        padding: 0 2rem;
        position: relative;
        z-index: 2;
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 4rem;
        align-items: center;
    }

    .hero-text h1 {
        font-size: 3rem;
        font-weight: 800;
        color: var(--text-light);
        line-height: 1.3;
        margin-bottom: 1.5rem;
    }

    .hero-text h1 span {
        color: var(--accent-gold);
        display: block;
    }

    .hero-text p {
        font-size: 1.2rem;
        color: rgba(255,255,255,0.8);
        margin-bottom: 2rem;
        line-height: 1.8;
    }

    .hero-stats {
        display: flex;
        gap: 3rem;
        margin-top: 3rem;
        padding-top: 2rem;
        border-top: 1px solid rgba(255,255,255,0.1);
    }

    .stat-item h3 {
        font-size: 2.5rem;
        color: var(--accent-gold);
        font-weight: 800;
    }

    .stat-item p {
        color: rgba(255,255,255,0.7);
        font-size: 0.9rem;
        margin-top: 0.25rem;
    }

    .hero-visual {
        position: relative;
        height: 500px;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .floating-card {
        position: absolute;
        background: rgba(255,255,255,0.08);
        backdrop-filter: blur(10px);
        border: 1px solid var(--border-color);
        border-radius: 20px;
        padding: 1.5rem;
        color: var(--text-light);
        animation: float 6s ease-in-out infinite;
        box-shadow: 0 20px 40px rgba(0,0,0,0.3);
        min-width: 160px;
        text-align: center;
    }

    .floating-card:nth-child(1) {
        top: 10%;
        right: 10%;
        animation-delay: 0s;
    }

    .floating-card:nth-child(2) {
        bottom: 20%;
        left: 0;
        animation-delay: 2s;
    }

    .floating-card:nth-child(3) {
        top: 50%;
        right: 0;
        animation-delay: 4s;
    }

    html[dir="rtl"] .floating-card:nth-child(1) {
        right: auto;
        left: 10%;
    }

    html[dir="rtl"] .floating-card:nth-child(2) {
        left: auto;
        right: 0;
    }

    html[dir="rtl"] .floating-card:nth-child(3) {
        right: auto;
        left: 0;
    }

    @keyframes float {
        0%, 100% { transform: translateY(0px); }
        50% { transform: translateY(-20px); }
    }

    .floating-card i {
        font-size: 2rem;
        color: var(--accent-gold);
        margin-bottom: 0.5rem;
    }

    .floating-card h4 {
        font-size: 0.95rem;
        font-weight: 700;
        margin-bottom: 0.25rem;
    }

    .floating-card p {
        font-size: 0.8rem;
        color: rgba(255,255,255,0.7);
        margin: 0;
    }

    .cta-buttons {
        display: flex;
        gap: 1rem;
        margin-top: 2rem;
    }

    .btn-primary {
        background: linear-gradient(135deg, var(--accent-gold), var(--accent-gold-light));
        color: var(--primary-dark);
        padding: 1rem 2.5rem;
        border-radius: 50px;
        text-decoration: none;
        font-weight: 800;
        transition: var(--transition);
        border: none;
        display: inline-flex;
        align-items: center;
        gap: 0.5rem;
        box-shadow: 0 4px 15px rgba(212, 175, 55, 0.3);
        cursor: pointer;
        font-size: 1rem;
    }

    .btn-primary:hover {
        transform: translateY(-3px);
        box-shadow: 0 10px 30px rgba(212, 175, 55, 0.4);
    }

    .btn-secondary {
        background: transparent;
        color: var(--text-light);
        padding: 1rem 2.5rem;
        border-radius: 50px;
        text-decoration: none;
        font-weight: 600;
        border: 2px solid rgba(255,255,255,0.4);
        transition: var(--transition);
        display: inline-flex;
        align-items: center;
        gap: 0.5rem;
        cursor: pointer;
        font-size: 1rem;
    }

    .btn-secondary:hover {
        border-color: var(--accent-gold);
        color: var(--accent-gold);
        background: rgba(212, 175, 55, 0.1);
    }

    /* Section Styling */
    section {
        padding: 6rem 2rem;
    }

    .container {
        max-width: 1200px;
        margin: 0 auto;
    }

    .section-header {
        text-align: center;
        margin-bottom: 4rem;
    }

    .section-header h2 {
        font-size: 2.5rem;
        font-weight: 800;
        color: var(--primary-dark);
        margin-bottom: 1rem;
        position: relative;
        display: inline-block;
    }

    .section-header h2::after {
        content: '';
        position: absolute;
        bottom: -10px;
        left: 50%;
        transform: translateX(-50%);
        width: 60px;
        height: 4px;
        background: linear-gradient(90deg, var(--accent-gold), var(--emerald));
        border-radius: 2px;
    }

    .section-header p {
        color: var(--text-muted);
        font-size: 1.1rem;
        max-width: 600px;
        margin: 1.5rem auto 0;
    }

    /* Services Section */
    .services {
        background: var(--bg-light);
    }

    .services-grid {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
        gap: 2rem;
    }

    .service-card {
        background: white;
        border-radius: 20px;
        padding: 2.5rem;
        box-shadow: 0 4px 20px rgba(0,0,0,0.05);
        transition: var(--transition);
        position: relative;
        overflow: hidden;
        border: 1px solid rgba(0,0,0,0.05);
    }

    .service-card::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 4px;
        background: linear-gradient(90deg, var(--accent-gold), var(--emerald));
        transform: scaleX(0);
        transition: var(--transition);
    }

    .service-card:hover::before {
        transform: scaleX(1);
    }

    .service-card:hover {
        transform: translateY(-10px);
        box-shadow: 0 20px 40px rgba(0,0,0,0.1);
    }

    .service-icon {
        width: 70px;
        height: 70px;
        background: linear-gradient(135deg, var(--primary-dark), var(--emerald));
        border-radius: 15px;
        display: flex;
        align-items: center;
        justify-content: center;
        margin-bottom: 1.5rem;
        font-size: 1.8rem;
        color: var(--accent-gold);
        transition: var(--transition);
    }

    .service-card:hover .service-icon {
        transform: rotate(-5deg) scale(1.1);
        background: linear-gradient(135deg, var(--accent-gold), var(--accent-gold-light));
        color: var(--primary-dark);
    }

    .service-card h3 {
        font-size: 1.5rem;
        margin-bottom: 1rem;
        color: var(--primary-dark);
        font-weight: 800;
    }

    .service-card p {
        color: var(--text-muted);
        margin-bottom: 1.5rem;
        line-height: 1.8;
    }

    .price-tag {
        display: inline-flex;
        align-items: center;
        gap: 0.5rem;
        background: linear-gradient(135deg, rgba(212, 175, 55, 0.1), rgba(5, 150, 105, 0.1));
        color: var(--primary-dark);
        padding: 0.75rem 1.5rem;
        border-radius: 50px;
        font-weight: 700;
        font-size: 1.1rem;
        border: 2px solid var(--border-color);
        transition: var(--transition);
    }

    .price-tag i {
        color: var(--emerald);
    }

    .service-card:hover .price-tag {
        border-color: var(--emerald);
        transform: scale(1.05);
    }

    /* About Section */
    .about {
        background: var(--primary-dark);
        color: var(--text-light);
        position: relative;
        overflow: hidden;
    }

    .about::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: url('data:image/svg+xml,<svg width="60" height="60" viewBox="0 0 60 60" xmlns="http://www.w3.org/2000/svg"><g fill="none" fill-rule="evenodd"><g fill="%23ffffff" fill-opacity="0.03"><path d="M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z"/></g></g></svg>');
        opacity: 0.5;
    }

    .about-content {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 5rem;
        align-items: center;
        position: relative;
        z-index: 1;
    }

    .about-text h2 {
        font-size: 2.5rem;
        margin-bottom: 1.5rem;
        font-weight: 800;
        line-height: 1.3;
    }

    .about-text h2 span {
        color: var(--accent-gold);
    }

    .about-text p {
        color: rgba(255,255,255,0.8);
        margin-bottom: 1.5rem;
        font-size: 1.1rem;
        line-height: 1.8;
    }

    .features-list {
        list-style: none;
        margin-top: 2rem;
    }

    .features-list li {
        display: flex;
        align-items: center;
        gap: 1rem;
        margin-bottom: 1rem;
        color: var(--text-light);
        font-weight: 500;
    }

    .features-list i {
        color: var(--emerald);
        font-size: 1.2rem;
        width: 24px;
    }

    .about-image {
        position: relative;
    }

    .about-image-frame {
        background: linear-gradient(135deg, var(--secondary-dark), var(--primary-dark));
        border: 2px solid var(--border-color);
        border-radius: 20px;
        padding: 2rem;
        position: relative;
        z-index: 1;
    }

    .experience-badge {
        position: absolute;
        bottom: -20px;
        left: -20px;
        background: linear-gradient(135deg, var(--emerald), var(--emerald-light));
        color: white;
        padding: 1.5rem;
        border-radius: 15px;
        text-align: center;
        font-weight: 800;
        box-shadow: 0 10px 30px rgba(0,0,0,0.3);
        z-index: 2;
        border: 2px solid var(--accent-gold);
    }

    html[dir="rtl"] .experience-badge {
        left: auto;
        right: -20px;
    }

    .experience-badge .years {
        font-size: 2.5rem;
        display: block;
        line-height: 1;
        color: var(--accent-gold);
    }

    .experience-badge .text {
        font-size: 0.9rem;
        font-weight: 600;
    }

    /* Contact Section */
    .contact {
        background: var(--bg-light);
    }

    .contact-content {
        display: grid;
        grid-template-columns: 1fr 1.5fr;
        gap: 5rem;
    }

    .contact-info h3 {
        font-size: 2rem;
        margin-bottom: 1.5rem;
        color: var(--primary-dark);
        font-weight: 800;
    }

    .contact-info > p {
        color: var(--text-muted);
        margin-bottom: 2rem;
        font-size: 1.1rem;
    }

    .contact-details {
        display: flex;
        flex-direction: column;
        gap: 1.5rem;
    }

    .contact-item {
        display: flex;
        align-items: flex-start;
        gap: 1rem;
    }

    .contact-item i {
        width: 50px;
        height: 50px;
        background: white;
        border-radius: 12px;
        display: flex;
        align-items: center;
        justify-content: center;
        color: var(--emerald);
        font-size: 1.2rem;
        box-shadow: 0 4px 10px rgba(0,0,0,0.05);
        flex-shrink: 0;
        border: 1px solid rgba(5, 150, 105, 0.2);
    }

    .contact-item div h4 {
        color: var(--primary-dark);
        margin-bottom: 0.25rem;
        font-weight: 700;
    }

    .contact-item div p {
        color: var(--text-muted);
        font-size: 0.95rem;
    }

    .whatsapp-btn {
        display: inline-flex;
        align-items: center;
        gap: 0.5rem;
        background: #25D366;
        color: white;
        padding: 0.75rem 1.5rem;
        border-radius: 50px;
        text-decoration: none;
        font-weight: 700;
        margin-top: 1rem;
        transition: var(--transition);
        border: 2px solid #25D366;
    }

    .whatsapp-btn:hover {
        transform: translateY(-2px);
        box-shadow: 0 10px 20px rgba(37, 211, 102, 0.3);
    }

    .contact-form {
        background: white;
        padding: 3rem;
        border-radius: 20px;
        box-shadow: 0 10px 40px rgba(0,0,0,0.05);
        border: 1px solid rgba(0,0,0,0.05);
    }

    .form-row {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 1rem;
    }

    .form-group {
        margin-bottom: 1.5rem;
    }

    .form-group label {
        display: block;
        margin-bottom: 0.5rem;
        color: var(--primary-dark);
        font-weight: 700;
        font-size: 0.9rem;
    }

    .form-group input,
    .form-group textarea,
    .form-group select {
        width: 100%;
        padding: 1rem;
        border: 2px solid #e2e8f0;
        border-radius: 10px;
        font-family: inherit;
        font-size: 1rem;
        transition: var(--transition);
        background: #f8fafc;
    }

    html[dir="rtl"] .form-group input,
    html[dir="rtl"] .form-group textarea,
    html[dir="rtl"] .form-group select {
        text-align: right;
    }

    .form-group input:focus,
    .form-group textarea:focus,
    .form-group select:focus {
        outline: none;
        border-color: var(--emerald);
        background: white;
        box-shadow: 0 0 0 3px rgba(5, 150, 105, 0.1);
    }

    .form-group textarea {
        resize: vertical;
        min-height: 120px;
    }

    .submit-btn {
        width: 100%;
        background: linear-gradient(135deg, var(--primary-dark), var(--emerald));
        color: white;
        padding: 1rem;
        border: none;
        border-radius: 10px;
        font-size: 1.1rem;
        font-weight: 700;
        cursor: pointer;
        transition: var(--transition);
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 0.5rem;
    }

    .submit-btn:hover {
        transform: translateY(-2px);
        box-shadow: 0 10px 30px rgba(5, 150, 105, 0.3);
    }

    .submit-btn:disabled {
        opacity: 0.7;
        cursor: not-allowed;
        transform: none;
    }

    /* Success Message */
    .success-message {
        display: none;
        background: linear-gradient(135deg, var(--emerald), var(--emerald-light));
        color: white;
        padding: 1.5rem;
        border-radius: 10px;
        margin-top: 1rem;
        text-align: center;
        font-weight: 600;
        animation: slideIn 0.5s ease;
    }

    @keyframes slideIn {
        from { opacity: 0; transform: translateY(-10px); }
        to { opacity: 1; transform: translateY(0); }
    }

    /* Footer */
    footer {
        background: var(--primary-dark);
        color: var(--text-light);
        padding: 4rem 2rem 2rem;
        border-top: 1px solid var(--border-color);
    }

    .footer-content {
        max-width: 1200px;
        margin: 0 auto;
        display: grid;
        grid-template-columns: 2fr 1fr 1fr 1fr;
        gap: 4rem;
        margin-bottom: 3rem;
    }

    .footer-brand h3 {
        font-size: 1.8rem;
        margin-bottom: 1rem;
        font-weight: 800;
    }

    .footer-brand h3 span {
        color: var(--accent-gold);
    }

    .footer-brand p {
        color: rgba(255,255,255,0.7);
        line-height: 1.8;
        margin-bottom: 1.5rem;
    }

    .social-links {
        display: flex;
        gap: 1rem;
    }

    .social-links a {
        width: 40px;
        height: 40px;
        background: rgba(255,255,255,0.05);
        border: 1px solid var(--border-color);
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        color: var(--text-light);
        transition: var(--transition);
        text-decoration: none;
    }

    .social-links a:hover {
        background: var(--emerald);
        color: white;
        border-color: var(--emerald);
        transform: translateY(-3px);
    }

    .footer-column h4 {
        color: var(--accent-gold);
        margin-bottom: 1.5rem;
        font-weight: 800;
        font-size: 1.1rem;
    }

    .footer-column ul {
        list-style: none;
    }

    .footer-column ul li {
        margin-bottom: 0.75rem;
    }

    .footer-column ul li a {
        color: rgba(255,255,255,0.7);
        text-decoration: none;
        transition: var(--transition);
        font-size: 0.95rem;
        display: inline-block;
    }

    .footer-column ul li a:hover {
        color: var(--accent-gold);
        padding-left: 5px;
    }

    html[dir="rtl"] .footer-column ul li a:hover {
        padding-left: 0;
        padding-right: 5px;
    }

    .footer-bottom {
        max-width: 1200px;
        margin: 0 auto;
        padding-top: 2rem;
        border-top: 1px solid rgba(255,255,255,0.1);
        text-align: center;
        color: rgba(255,255,255,0.6);
        font-size: 0.9rem;
    }

    /* Responsive */
    @media (max-width: 968px) {
        .hero-content {
            grid-template-columns: 1fr;
            text-align: center;
        }

        html[dir="rtl"] .hero-text {
            text-align: center;
        }

        .hero-text h1 {
            font-size: 2.2rem;
        }

        .hero-stats {
            justify-content: center;
        }

        html[dir="rtl"] .hero-stats {
            flex-direction: row;
        }

        .hero-visual {
            display: none;
        }

        .about-content,
        .contact-content {
            grid-template-columns: 1fr;
            gap: 3rem;
        }

        .footer-content {
            grid-template-columns: 1fr 1fr;
            gap: 2rem;
        }

        .nav-links {
            display: none;
        }

        .mobile-menu {
            display: block;
        }

        .lang-toggle {
            margin-left: auto;
            margin-right: 1rem;
        }

        .form-row {
            grid-template-columns: 1fr;
        }
        
        /* Tablet logo adjustments - bigger image, smaller text */
        .logo {
            font-size: 1.1rem;
            gap: 0.5rem;
        }
        
        .logo-img {
            height: 48px;
        }
    }

    @media (max-width: 640px) {
        .services-grid {
            grid-template-columns: 1fr;
        }

        .footer-content {
            grid-template-columns: 1fr;
            text-align: center;
        }

        html[dir="rtl"] .footer-content {
            direction: rtl;
        }

        .social-links {
            justify-content: center;
        }

        .hero-text h1 {
            font-size: 1.8rem;
        }

        .cta-buttons {
            flex-direction: column;
        }

        html[dir="rtl"] .cta-buttons {
            align-items: stretch;
        }

        .experience-badge {
            position: relative;
            bottom: auto;
            left: auto;
            right: auto;
            margin: 2rem auto 0;
            display: inline-block;
        }

        .contact-form {
            padding: 2rem 1.5rem;
        }
        
        /* Mobile logo adjustments - bigger image, smaller text */
        .logo {
            font-size: 0.95rem;
            gap: 0.4rem;
        }
        
        .logo-img {
            height: 42px;
            border-radius: 6px;
        }
    }

    /* Scroll animations */
    .fade-up {
        opacity: 0;
        transform: translateY(30px);
        transition: opacity 0.8s ease, transform 0.8s ease;
    }

    .fade-up.visible {
        opacity: 1;
        transform: translateY(0);
    }

    /* Loading animation for language switch */
    .lang-transition {
        animation: fadeIn 0.5s ease;
    }

    @keyframes fadeIn {
        from { opacity: 0; transform: translateY(10px); }
        to { opacity: 1; transform: translateY(0); }
    }

    /* Spinner for form submission */
    .spinner {
        display: none;
        width: 20px;
        height: 20px;
        border: 2px 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); }
    }

    .submit-btn.loading .spinner {
        display: inline-block;
    }

    .submit-btn.loading .btn-text {
        display: none;
    }
