/* ===== ROOT & VARIABLES ===== */
:root {
    --primary-color: #1e40af;
    --primary-dark: #1e3a8a;
    --secondary-color: #3b82f6;
    --text-dark: #111827;
    --text-gray: #4b5563;
    --bg-light: #f9fafb;
    --bg-lighter: #f3f4f6;
    --border-color: #e5e7eb;
    --border-light: #f3f4f6;
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    --transition: all 0.3s ease;
}

html[dir="rtl"] {
    direction: rtl;
    text-align: right;
}

/* ===== GLOBAL STYLES ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    color: var(--text-dark);
    background-color: #fff;
    line-height: 1.6;
    font-size: 16px;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* ===== TYPOGRAPHY ===== */
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.2;
}

h1 { font-size: 56px; }
h2 { font-size: 40px; }
h3 { font-size: 24px; }
h4 { font-size: 18px; }
p { color: var(--text-gray); }

/* ===== BUTTONS ===== */
.btn {
    padding: 12px 24px;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    display: inline-block;
    text-decoration: none;
    text-align: center;
}

.btn-primary {
    background-color: var(--primary-color);
    color: white;
}

.btn-primary:hover {
    background-color: var(--primary-dark);
    box-shadow: var(--shadow-lg);
}

.btn-text {
    background-color: transparent;
    color: var(--primary-color);
    border-bottom: 2px solid var(--primary-color);
    padding: 12px 0;
}

.btn-text:hover {
    color: var(--primary-dark);
    border-bottom-color: var(--primary-dark);
}

.btn-lg {
    padding: 16px 32px;
    font-size: 18px;
}

.btn i {
    margin-left: 8px;
    transition: var(--transition);
}

html[dir="rtl"] .btn i {
    margin-left: 0;
    margin-right: 8px;
}

.btn:hover i {
    transform: translateX(4px);
}

html[dir="rtl"] .btn:hover i {
    transform: translateX(-4px);
}

/* ===== NAVBAR ===== */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    border-bottom: 1px solid var(--border-color);
    padding: 16px 0;
    transform: translateY(0);
    opacity: 1;
    transition: all 0.3s ease;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    font-weight: 700;
    font-size: 18px;
}

.logo-image {
    height: 120px;
    width: auto;
    max-width: 350px;
    object-fit: contain;
    animation: fadeInDown 0.6s ease;
    transition: all 0.3s ease;
}

.logo-image:hover {
    transform: scale(1.05);
}

.logo-text {
    animation: fadeInDown 0.6s ease 0.1s both;
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 20px;
}

.lang-selector select {
    padding: 8px 12px;
    border: 1px solid var(--border-color);
    border-radius: 6px;
    background-color: white;
    color: var(--text-dark);
    font-size: 14px;
    cursor: pointer;
    transition: var(--transition);
}

.lang-selector select:hover {
    border-color: var(--primary-color);
}

/* ===== HERO SECTION ===== */
.hero {
    margin-top: 80px;
    padding: 80px 24px;
    position: relative;
    overflow: hidden;
    min-height: 600px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #ffffff 0%, #f0f4ff 100%),
                url('https://images.unsplash.com/photo-1552664730-d307ca884978?w=1200&q=80');
    background-size: cover;
    background-position: center right;
    background-attachment: fixed;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    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="%231e40af" fill-opacity="0.05"><path d="M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z"/></g></g></svg>');
    pointer-events: none;
    opacity: 0.5;
}

.hero::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 30% 50%, rgba(59, 130, 246, 0.1), transparent 80%);
    pointer-events: none;
}

.hero-content {
    max-width: 800px;
    text-align: center;
    position: relative;
    z-index: 1;
}

.hero-title {
    margin-bottom: 24px;
    color: var(--text-dark);
    line-height: 1.3;
}

.hero-subtitle {
    font-size: 20px;
    margin-bottom: 32px;
    color: var(--text-gray);
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.hero-cta {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 40px;
}

@media (max-width: 768px) {
    .hero {
        padding: 60px 24px;
        margin-top: 70px;
    }
    
    h1 { font-size: 36px; }
    h2 { font-size: 28px; }
    h3 { font-size: 20px; }
    
    .hero-title {
        font-size: 32px;
    }
    
    .hero-subtitle {
        font-size: 16px;
    }
    
    .hero-cta {
        flex-direction: column;
        align-items: stretch;
    }
    
    .hero-cta .btn {
        width: 100%;
    }
}

/* ===== TRUST SECTION ===== */
.trust-section {
    padding: 80px 24px;
    background: linear-gradient(135deg, #f9fafb 0%, #f3f4f6 100%),
                url('https://images.unsplash.com/photo-1600880292203-757bb62b4d32?w=1200&q=80');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    position: relative;
}

.highlights-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 32px;
}

.highlight-card {
    background-color: white;
    padding: 32px;
    border-radius: 12px;
    border: 1px solid var(--border-color);
    transition: var(--transition);
    text-align: center;
}

.highlight-card:hover {
    border-color: var(--secondary-color);
    box-shadow: var(--shadow-lg);
}

.highlight-card i {
    font-size: 32px;
    color: var(--primary-color);
    margin-bottom: 16px;
}

.highlight-card h3 {
    margin-bottom: 8px;
    font-size: 18px;
}

.highlight-card p {
    font-size: 14px;
    color: var(--text-gray);
}

/* ===== SERVICES SECTION ===== */
.services-section {
    padding: 80px 24px;
    background: linear-gradient(to bottom, #ffffff 0%, #f9fafb 100%);
    position: relative;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
    position: relative;
    z-index: 2;
}

.section-header h2 {
    margin-bottom: 16px;
}

.section-header p {
    font-size: 18px;
    max-width: 500px;
    margin: 0 auto;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 32px;
}

.service-card {
    padding: 32px;
    border: 1px solid var(--border-color);
    border-radius: 12px;
    transition: var(--transition);
}

.service-card:hover {
    border-color: var(--secondary-color);
    box-shadow: var(--shadow-lg);
    transform: translateY(-4px);
}

.service-card h3 {
    margin-bottom: 12px;
    transition: var(--transition);
}

.service-card:hover h3 {
    color: var(--primary-color);
}

.service-card p {
    font-size: 15px;
    line-height: 1.7;
}

/* ===== PROCESS SECTION ===== */
.process-section {
    padding: 80px 24px;
    background: linear-gradient(135deg, #f3f4f6 0%, #e5e7eb 100%),
                url('https://images.unsplash.com/photo-1552664730-d307ca884978?w=1200&q=80');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    position: relative;
}

.process-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 32px;
    position: relative;
}

.process-card {
    background-color: white;
    padding: 32px;
    border-radius: 12px;
    border: 1px solid var(--border-color);
    text-align: center;
}

.process-number {
    width: 48px;
    height: 48px;
    background-color: var(--primary-color);
    color: white;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 18px;
    margin: 0 auto 16px;
}

.process-card h3 {
    margin-bottom: 12px;
}

.process-card p {
    font-size: 14px;
}

/* ===== FEATURED SECTION ===== */
.featured-section {
    padding: 80px 24px;
    background: linear-gradient(to right, #ffffff 0%, #f0f4ff 100%);
    position: relative;
}

.featured-section::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(59, 130, 246, 0.05), transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

.featured-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.featured-image {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-radius: 12px;
    aspect-ratio: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-lg);
    background-image: 
        linear-gradient(135deg, rgba(30, 64, 175, 0.85), rgba(59, 130, 246, 0.85)),
        url('https://images.unsplash.com/photo-1552664730-d307ca884978?w=800&q=80');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
}

.metric-display {
    text-align: center;
    color: white;
}

.metric-number {
    font-size: 64px;
    font-weight: bold;
    margin-bottom: 12px;
}

.metric-display p {
    font-size: 18px;
    color: rgba(255, 255, 255, 0.9);
}

.case-label {
    color: var(--primary-color);
    font-weight: 600;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 12px;
}

.featured-content h3 {
    margin-bottom: 32px;
}

.case-details {
    margin-bottom: 32px;
}

.detail-block {
    margin-bottom: 24px;
}

.detail-label {
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 8px;
}

.detail-text {
    color: var(--text-gray);
    font-size: 15px;
    line-height: 1.7;
}

.case-link {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition);
    display: inline-block;
}

.case-link:hover {
    color: var(--primary-dark);
}

.case-link i {
    margin-left: 6px;
    transition: var(--transition);
}

html[dir="rtl"] .case-link i {
    margin-left: 0;
    margin-right: 6px;
}

.case-link:hover i {
    transform: translateX(3px) translateY(-2px);
}

@media (max-width: 768px) {
    .featured-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .featured-image {
        aspect-ratio: auto;
        min-height: 300px;
    }
    
    .metric-number {
        font-size: 48px;
    }
}

/* ===== WHY SECTION ===== */
.why-section {
    padding: 80px 24px;
    background: linear-gradient(135deg, #f3f4f6 0%, #f9fafb 100%),
                url('https://images.unsplash.com/photo-1600880292203-757bb62b4d32?w=1200&q=80');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    position: relative;
}

.why-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.85);
    pointer-events: none;
}

.why-grid {
    display: grid;
    gap: 20px;
}

.why-card {
    background-color: white;
    padding: 24px;
    border-radius: 10px;
    border: 1px solid var(--border-color);
    display: flex;
    gap: 16px;
    align-items: flex-start;
    transition: var(--transition);
}

.why-card:hover {
    border-color: var(--secondary-color);
    box-shadow: var(--shadow-md);
}

.why-card i {
    font-size: 20px;
    color: var(--primary-color);
    flex-shrink: 0;
    margin-top: 2px;
}

.why-card p {
    line-height: 1.7;
    font-size: 15px;
}

/* ===== CTA SECTION ===== */
.cta-section {
    padding: 80px 24px;
    text-align: center;
    background: linear-gradient(135deg, rgba(30, 64, 175, 0.9) 0%, rgba(30, 58, 138, 0.9) 100%),
                url('https://images.unsplash.com/photo-1552664730-d307ca884978?w=1200&q=80');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    color: white;
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg width="100" height="100" viewBox="0 0 100 100" xmlns="http://www.w3.org/2000/svg"><rect x="10" y="10" width="30" height="30" fill="none" stroke="white" stroke-width="0.5" opacity="0.1"/><rect x="60" y="60" width="30" height="30" fill="none" stroke="white" stroke-width="0.5" opacity="0.1"/></svg>') repeat;
    pointer-events: none;
}

.cta-section h2,
.cta-section p {
    position: relative;
    z-index: 1;
    color: white;
}

.cta-section .btn-primary {
    position: relative;
    z-index: 1;
    background-color: white;
    color: var(--primary-color);
}

.cta-section .btn-primary:hover {
    background-color: rgba(255, 255, 255, 0.9);
}

.cta-section h2 {
    margin-bottom: 24px;
}

.cta-section p {
    font-size: 18px;
    max-width: 600px;
    margin: 0 auto 40px;
}

/* ===== FOOTER ===== */
.footer {
    background: linear-gradient(135deg, rgba(17, 24, 39, 0.95) 0%, rgba(31, 41, 55, 0.95) 100%),
                url('https://images.unsplash.com/photo-1552664730-d307ca884978?w=1200&q=80');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    color: white;
    padding: 60px 24px 30px;
    position: relative;
    overflow: hidden;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg width="100" height="100" viewBox="0 0 100 100" xmlns="http://www.w3.org/2000/svg"><circle cx="20" cy="20" r="15" fill="none" stroke="white" stroke-width="0.5" opacity="0.05"/><circle cx="80" cy="80" r="15" fill="none" stroke="white" stroke-width="0.5" opacity="0.05"/><path d="M10 50 Q 50 40 90 50" fill="none" stroke="white" stroke-width="0.5" opacity="0.05"/></svg>') repeat;
    pointer-events: none;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 50px;
    margin-bottom: 50px;
}

.footer-col h4 {
    margin-bottom: 20px;
    font-size: 16px;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    font-weight: 700;
    font-size: 16px;
    margin-bottom: 16px;
}

.footer-logo-image {
    height: 80px;
    width: auto;
    max-width: 280px;
    object-fit: contain;
    transition: all 0.3s ease;
}

.footer-logo-image:hover {
    transform: scale(1.05);
}

.footer-desc {
    color: rgba(255, 255, 255, 0.7);
    font-size: 14px;
    line-height: 1.7;
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-link {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    font-size: 14px;
    transition: var(--transition);
    display: flex;
    align-items: center;
    gap: 10px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
}

.footer-link:hover {
    color: white;
}

.footer-link i {
    font-size: 16px;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 30px;
    text-align: center;
    color: rgba(255, 255, 255, 0.6);
    font-size: 14px;
}

/* ===== MODAL & FORM ===== */
.modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6);
    overflow-y: auto;
    animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

.modal.show {
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal-content {
    background-color: white;
    padding: 40px;
    border-radius: 12px;
    width: 90%;
    max-width: 600px;
    box-shadow: var(--shadow-lg);
    animation: slideUp 0.3s ease;
    max-height: 90vh;
    overflow-y: auto;
}

@keyframes slideUp {
    from {
        transform: translateY(50px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.modal-close {
    float: right;
    font-size: 28px;
    font-weight: bold;
    color: var(--text-gray);
    cursor: pointer;
    line-height: 1;
    transition: var(--transition);
}

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

.modal-content h2 {
    margin-bottom: 8px;
    font-size: 28px;
}

.form-subtitle {
    color: var(--text-gray);
    margin-bottom: 30px;
    font-size: 14px;
}
.modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6);
    overflow-y: auto;
    animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

.modal.show {
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal-content {
    background-color: white;
    padding: 40px;
    border-radius: 12px;
    width: 90%;
    max-width: 600px;
    box-shadow: var(--shadow-lg);
    animation: slideUp 0.3s ease;
    max-height: 90vh;
    overflow-y: auto;
}

@keyframes slideUp {
    from {
        transform: translateY(50px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.modal-close {
    float: right;
    font-size: 28px;
    font-weight: bold;
    color: var(--text-gray);
    cursor: pointer;
    line-height: 1;
    transition: var(--transition);
}

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

.modal-content h2 {
    margin-bottom: 8px;
    font-size: 28px;
}

.form-subtitle {
    color: var(--text-gray);
    margin-bottom: 30px;
    font-size: 14px;
}

/* ===== FORM ELEMENTS ===== */
.form-group {
    margin-bottom: 24px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: var(--text-dark);
    font-size: 14px;
}

.form-group input[type="text"],
.form-group input[type="email"],
.form-group input[type="tel"],
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    font-family: inherit;
    font-size: 14px;
    color: var(--text-dark);
    transition: var(--transition);
}

.form-group input[type="text"]:focus,
.form-group input[type="email"]:focus,
.form-group input[type="tel"]:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(30, 64, 175, 0.1);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
    line-height: 1.5;
}

.form-group select {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%231e40af' d='M6 9L1 4h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 12px center;
    padding-right: 36px;
    appearance: none;
    cursor: pointer;
}

/* ===== CHECKBOX & RADIO GROUPS ===== */
.checkbox-group {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 12px;
    margin-top: 12px;
}

.checkbox-label {
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    font-size: 14px;
    color: var(--text-gray);
    font-weight: normal;
}

.checkbox-label input[type="checkbox"] {
    width: 18px;
    height: 18px;
    cursor: pointer;
    accent-color: var(--primary-color);
    flex-shrink: 0;
}

.checkbox-label:hover {
    color: var(--text-dark);
}

.checkbox-label input[type="checkbox"]:focus {
    outline: 2px solid var(--primary-color);
    outline-offset: 2px;
}

/* ===== FORM SUBMIT BUTTON ===== */
.form-submit {
    width: 100%;
    margin-top: 30px;
}

/* ===== SUCCESS MESSAGE ===== */
.success-message {
    text-align: center;
    padding: 40px 20px;
    animation: slideUp 0.3s ease;
}

.success-message i {
    font-size: 64px;
    color: #10b981;
    margin-bottom: 20px;
    display: block;
}

.success-message h2 {
    color: #10b981;
    margin-bottom: 12px;
}

.success-message p {
    color: var(--text-gray);
    margin-bottom: 30px;
    font-size: 15px;
}

.success-message .btn {
    margin: 0 auto;
}
@media (max-width: 640px) {
    .modal-content {
        width: 95%;
        padding: 30px 20px;
        margin: 20px;
    }
    
    .modal-content h2 {
        font-size: 24px;
    }
    
    .checkbox-group {
        grid-template-columns: 1fr;
    }
    
    .form-group {
        margin-bottom: 20px;
    }
}
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--bg-light);
}

::-webkit-scrollbar-thumb {
    background: var(--primary-color);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--primary-dark);
}

/* ===== ICON ANIMATIONS ===== */
.highlight-card i {
    transition: all 0.3s ease;
    transform-origin: center;
}

.highlight-card:hover i {
    transform: scale(1.3) rotate(10deg);
    animation: pulse 0.6s ease-in-out;
}

.service-card {
    position: relative;
    overflow: hidden;
}

.service-card::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;
}

.service-card:hover::before {
    left: 100%;
}

/* ===== FEATURED IMAGE HOVER EFFECTS ===== */
.featured-image {
    position: relative;
    overflow: hidden;
}

.featured-image::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, transparent 30%, rgba(255, 255, 255, 0.1) 50%, transparent 70%);
    transform: translateX(-100%);
    transition: transform 0.6s ease;
}

.featured-image:hover::after {
    transform: translateX(100%);
}

/* ===== TEXT ANIMATIONS ===== */
.hero-title {
    background: linear-gradient(90deg, #111827 0%, #1e40af 50%, #111827 100%);
    background-size: 200% auto;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-title:hover {
    animation: shimmer 2s linear infinite;
}

/* ===== CARD STAGGER ANIMATION ===== */
@keyframes staggerIn {
    from {
        opacity: 0;
        transform: translateY(20px) scale(0.95);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.why-card {
    animation: staggerIn 0.5s ease-out backwards !important;
}

/* ===== SMOOTH TRANSITIONS ===== */
* {
    transition: background-color 0.3s ease, border-color 0.3s ease, color 0.3s ease;
}

/* ===== FOCUS ANIMATIONS ===== */
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    animation: glow 1.5s ease-in-out infinite;
}

/* ===== LOADING SHIMMER EFFECT (for perceived performance) ===== */
.loading {
    background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
    background-size: 200% 100%;
    animation: shimmer 2s infinite;
}
@media (max-width: 1024px) {
    .featured-grid {
        gap: 40px;
    }
}

@media (max-width: 640px) {
    .container {
        padding: 0 16px;
    }
    
    .nav-container {
        padding: 0 16px;
    }
    
    .navbar {
        padding: 12px 0;
    }
    
    h1 { font-size: 28px; }
    h2 { font-size: 24px; }
    h3 { font-size: 18px; }
    
    .hero {
        padding: 40px 16px;
        margin-top: 60px;
    }
    
    .hero-title {
        font-size: 28px;
    }
    
    .hero-subtitle {
        font-size: 16px;
        margin-bottom: 24px;
    }
    
    .btn {
        padding: 12px 20px;
        font-size: 14px;
    }
    
    .btn-lg {
        padding: 14px 24px;
        font-size: 16px;
    }
    
    .hero-cta {
        gap: 12px;
    }
    
    [section]-section {
        padding: 50px 16px;
    }
    
    .trust-section,
    .services-section,
    .process-section,
    .featured-section,
    .why-section,
    .cta-section {
        padding: 50px 24px;
    }
    
    .highlights-grid,
    .services-grid,
    .process-grid {
        gap: 20px;
    }
    
    .section-header {
        margin-bottom: 40px;
    }
    
    .footer-grid {
        gap: 30px;
    }
    
    .nav-actions {
        gap: 12px;
    }
}