@font-face {
    font-family: 'IranianSans';
    src: url('/main/assets/fonts/IranianSans.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: 'IranianSans', Arial, sans-serif;
    background: linear-gradient(135deg, #e0e7ff, #ffffff);
    min-height: 100vh;
    overflow-x: hidden;
}

.about-us-container {
    padding: 0;
}

/* Hero Section */
.hero-section {
    background: url('/main/photos/hero-bg.jpg') no-repeat center center/cover;
    position: relative;
    min-height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(220, 38, 38, 0.7), rgba(153, 27, 27, 0.7));
    z-index: 1;
}

.hero-section .container {
    position: relative;
    z-index: 2;
}

.hero-section h1 {
    font-size: clamp(2rem, 6vw, 3.5rem);
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.hero-section p {
    font-size: clamp(1rem, 3vw, 1.25rem);
}

.btn-danger {
    background-color: #dc2626;
    border: none;
    padding: 0.75rem 1.5rem;
    font-size: 1.1rem;
    transition: transform 0.3s ease, background-color 0.3s ease;
}

.btn-danger:hover {
    background-color: #b91c1c;
    transform: translateY(-3px);
}

/* About Section */
.about-us-section h2 {
    font-size: clamp(1.5rem, 5vw, 2.5rem);
}

.about-card {
    position: relative;
    overflow: hidden;
    border-radius: 12px;
    transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.about-card:hover {
    transform: translateY(-10px) rotate(2deg);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.2);
}

.about-card i {
    transition: transform 0.3s ease;
}

.about-card:hover i {
    transform: scale(1.2);
}

.about-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: #dc2626;
    transition: width 0.3s ease;
}

.about-card:hover::before {
    width: 100%;
}

/* Team Section */
.team-section {
    background: #f8fafc;
    position: relative;
}

.team-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('data:image/svg+xml,%3Csvg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1440 320"%3E%3Cpath fill="%23dc2626" fill-opacity="0.1" d="M0,96L48,112C96,128,192,160,288,160C384,160,480,128,576,112C672,96,768,96,864,112C960,128,1056,160,1152,160C1248,160,1344,128,1392,112L1440,96L1440,320L1392,320C1344,320,1248,320,1152,320C1056,320,960,320,864,320C768,320,672,320,576,320C480,320,384,320,288,320C192,320,96,320,48,320L0,320Z"%3E%3C/path%3E%3C/svg%3E') no-repeat bottom;
    z-index: 0;
}

.team-section h2 {
    font-size: clamp(1.5rem, 5vw, 2.5rem);
}

.team-card {
    border-radius: 12px;
    transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.team-card:hover {
    transform: scale(1.05);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.2);
}

.team-img {
    object-fit: cover;
    transition: transform 0.3s ease, border-color 0.3s ease;
}

.team-img:hover {
    transform: scale(1.1);
    border-color: #b91c1c;
}

/* Animation Classes */
.animate-fade-in {
    animation: fadeIn 0.8s ease-in-out;
}

.animate-slide-up {
    animation: slideUp 0.8s ease-in-out;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes slideUp {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}

.aos-fade-up {
    animation: fadeUp 0.6s ease-out forwards;
}

.aos-zoom-in {
    animation: zoomIn 0.6s ease-out forwards;
}

@keyframes fadeUp {
    from { opacity: 0; transform: translateY(50px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes zoomIn {
    from { opacity: 0; transform: scale(0.8); }
    to { opacity: 1; transform: scale(1); }
}

/* Responsive Adjustments */
@media (min-width: 992px) {
    .hero-section {
        min-height: 500px;
    }

    .hero-section h1 {
        font-size: clamp(3rem, 7vw, 4.5rem);
    }

    .hero-section p {
        font-size: clamp(1.25rem, 3vw, 1.5rem);
    }

    .about-us-section {
        padding: 4rem 0;
    }

    .about-card {
        padding: 2rem;
    }

    .about-card i {
        font-size: 4rem;
    }

    .about-card h3 {
        font-size: 1.5rem;
    }

    .team-section {
        padding: 4rem 0;
    }

    .team-card {
        padding: 2rem;
    }

    .team-img {
        width: 180px;
        height: 180px;
    }
}

@media (max-width: 991px) {
    .hero-section {
        min-height: 300px;
    }

    .hero-section h1 {
        font-size: clamp(1.8rem, 5vw, 2.5rem);
    }

    .hero-section p {
        font-size: clamp(0.9rem, 2.5vw, 1.1rem);
    }

    .about-card,
    .team-card {
        padding: 1.5rem;
    }

    .team-img {
        width: 120px;
        height: 120px;
    }
}

@media (max-width: 768px) {
    .hero-section {
        min-height: 250px;
    }

    .hero-section h1 {
        font-size: clamp(1.5rem, 4vw, 2rem);
    }

    .hero-section p {
        font-size: clamp(0.8rem, 2vw, 1rem);
    }

    .about-card,
    .team-card {
        margin-bottom: 1rem;
    }

    .team-img {
        width: 100px;
        height: 100px;
    }
}

@media (max-width: 576px) {
    .hero-section {
        min-height: 200px;
    }

    .hero-section h1 {
        font-size: clamp(1.2rem, 3.5vw, 1.8rem);
    }

    .hero-section p {
        font-size: clamp(0.7rem, 1.8vw, 0.9rem);
    }

    .about-us-container {
        padding: 0;
    }

    .team-img {
        width: 80px;
        height: 80px;
    }
}