@font-face {
    font-family: 'Inter';
    font-style: normal;
    font-weight: 100 900;
    font-display: swap;
    src: url('../fonts/Inter.woff2') format('woff2-variations');
}

@font-face {
    font-family: 'Tajawal';
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: url('../fonts/Tajawal-400.woff2') format('woff2');
}

@font-face {
    font-family: 'Tajawal';
    font-style: normal;
    font-weight: 700;
    font-display: swap;
    src: url('../fonts/Tajawal-700.woff2') format('woff2');
}

body {
    font-family: 'Inter', sans-serif;
}

html[lang="ar"] body {
    font-family: 'Tajawal', sans-serif;
}


/* New class for responsive images that maintain aspect ratio */
.responsive-image-container {
    position: relative;
    width: 100%;
    padding-top: 66.67%; /* This creates a 3:2 aspect ratio (400/600 * 100) */
}

.responsive-image-container img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover; /* This is the key fix: it prevents image distortion */
}

/* Match section background to page */
.contact-section {
    background-color: #1f1f1f; /* Tailwind's bg-neutral-800 */
    padding: 3rem 0;
}

/* Card styling for dark theme */
.contact-section .card {
    background-color: #2a2a2a; /* Dark gray for contrast */
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 0.5rem;
    color: #fff;
}

/* Headings */
.contact-section h4 {
    color: #f3f3f3;
}

/* Subtext and links */
.contact-section .small,
.contact-section a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
}

/* Divider line */
.contact-section hr {
    border-color: rgba(255, 255, 255, 0.15);
}

/* Icons */
.contact-section i {
    color: #e4c662; /* Your accent yellow */
    font-size: 1.5rem;
}
