/* About Us Page Styles - Syria House */
/* Modern Hero Section with Glassmorphism */
.about-hero {
    position: relative;
    height: 75vh;
    min-height: 500px;
    max-height: 800px;
    overflow: hidden;
    border-radius: 30px;
    margin-bottom: 6rem;
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.25), 0 0 0 1px rgba(255, 255, 255, 0.1) inset;
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 1s ease, transform 1s ease;
}

.about-hero.visible {
    opacity: 1;
    transform: translateY(0);
}

.about-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(0, 116, 193, 0.7) 0%, rgba(0, 0, 0, 0.6) 100%);
    z-index: 1;
    transition: opacity 0.5s ease;
}

.about-hero:hover::before {
    opacity: 0.95;
}

.about-hero img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    animation: zoomIn 30s ease-in-out infinite alternate;
    filter: brightness(0.85) contrast(1.1);
    transition: filter 0.5s ease;
}

.about-hero:hover img {
    filter: brightness(0.95) contrast(1.15);
}

@keyframes zoomIn {
    0% { transform: scale(1) rotate(0deg); }
    100% { transform: scale(1.2) rotate(1.5deg); }
}

.hero-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 2;
    text-align: center;
    color: white;
    width: 90%;
    max-width: 950px;
    opacity: 0;
    animation: fadeInUpHero 1.2s ease-out 0.3s forwards;
}

.hero-content h1 {
    font-size: clamp(3rem, 7vw, 6rem);
    font-weight: 900;
    margin-bottom: 1.5rem;
    text-shadow: 4px 4px 20px rgba(0, 0, 0, 0.5);
    letter-spacing: 3px;
    background: linear-gradient(135deg, #ffffff 0%, #e0f2ff 50%, #ffffff 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    background-size: 200% 200%;
    animation: shimmer 4s ease-in-out infinite;
}

@keyframes shimmer {
    0%, 100% { background-position: 0% 50%; filter: brightness(1); }
    50% { background-position: 100% 50%; filter: brightness(1.3); }
}

.hero-content p {
    font-size: clamp(1.3rem, 3vw, 1.8rem);
    opacity: 0.98;
    text-shadow: 2px 2px 10px rgba(0, 0, 0, 0.5);
    font-weight: 400;
    letter-spacing: 1px;
}

html.dark-theme .hero-content p {
    color: #ffffff;
}

/* Modern Image Sections - Distributed between content */
.image-section {
    position: relative;
    border-radius: 25px;
    overflow: hidden;
    margin: 4rem 0;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.15), 0 0 0 1px rgba(255, 255, 255, 0.1) inset;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    opacity: 0;
    transform: translateY(60px) scale(0.95);
    height: 500px;
}

.image-section.animate-in {
    opacity: 1;
    transform: translateY(0) scale(1);
}

.image-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(0, 116, 193, 0.1) 0%, rgba(0, 0, 0, 0.2) 100%);
    opacity: 0;
    transition: opacity 0.5s ease;
    z-index: 1;
}

.image-section:hover {
    transform: translateY(-10px) scale(1.01);
    box-shadow: 0 30px 70px rgba(0, 116, 193, 0.25), 0 0 0 1px rgba(255, 255, 255, 0.15) inset;
}

.image-section:hover::before {
    opacity: 1;
}

.image-section img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
    filter: brightness(0.9) saturate(1.1);
}

.image-section:hover img {
    transform: scale(1.1) rotate(1deg);
    filter: brightness(1) saturate(1.2);
}

/* Full width image variant */
.image-section-full {
    height: 600px;
}

/* Half width image variant */
.image-section-half {
    height: 450px;
}

/* Modern Content Sections with Glassmorphism */
.about-content {
    font-size: 1.2rem;
    line-height: 2;
    color: #2c3e50;
}

html.dark-theme .about-content {
    color: #fcfcfc;
}

.content-section {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-radius: 25px;
    padding: 4rem;
    margin-bottom: 3rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08),
                0 0 0 1px rgba(255, 255, 255, 0.8) inset,
                0 0 40px rgba(0, 116, 193, 0.05);
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    opacity: 0;
    transform: translateY(50px);
    border: 1px solid rgba(0, 116, 193, 0.15);
    position: relative;
    overflow: hidden;
}

html.dark-theme .content-section {
    background: #212121;
    border: 1px solid rgb(255 255 255 / 12%);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3),
                0 0 0 1px rgb(255 255 255 / 8%) inset,
                0 0 40px rgba(0, 116, 193, 0.1);
}

.content-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(0, 116, 193, 0.08), transparent);
    transition: left 0.8s ease;
}

.content-section:hover::before {
    left: 100%;
}

.content-section::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #0074c1, #00a8ff, #0074c1);
    background-size: 200% 100%;
    opacity: 0;
    transition: opacity 0.5s ease;
    animation: gradientMove 3s ease infinite;
}

.content-section:hover::after {
    opacity: 1;
}

@keyframes gradientMove {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

.content-section.animate-in {
    opacity: 1;
    transform: translateY(0);
}

.content-section:hover {
    transform: translateY(-10px) scale(1.005);
    box-shadow: 0 20px 50px rgba(0, 116, 193, 0.2),
                0 0 0 1px rgba(255, 255, 255, 0.9) inset,
                0 0 60px rgba(0, 116, 193, 0.1);
    border-color: rgba(0, 116, 193, 0.3);
}

html.dark-theme .content-section:hover {
    box-shadow: 0 20px 50px rgba(0, 116, 193, 0.3),
                0 0 0 1px rgb(255 255 255 / 15%) inset,
                0 0 60px rgba(0, 116, 193, 0.15);
    border-color: rgb(255 255 255 / 20%);
}

.content-section h3 {
    color: #0074c1;
    font-size: 2.2rem;
    font-weight: 800;
    margin-bottom: 2rem;
    padding-bottom: 1.25rem;
    border-bottom: 4px solid transparent;
    border-image: linear-gradient(90deg, #0074c1, #00a8ff) 1;
    position: relative;
    transition: all 0.4s ease;
    letter-spacing: 0.5px;
}

html.dark-theme .content-section h3 {
    color: #00a8ff;
    border-image: linear-gradient(90deg, #00a8ff, #0074c1) 1;
}

.content-section:hover h3 {
    color: #005a9e;
    transform: translateX(5px);
}

html.dark-theme .content-section:hover h3 {
    color: #00a8ff;
}

html[dir="rtl"] .content-section:hover h3 {
    transform: translateX(-5px);
}

.content-section h3::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 100px;
    height: 4px;
    background: linear-gradient(90deg, #0074c1, rgba(0, 116, 193, 0.4));
    transition: width 0.5s ease;
    border-radius: 2px;
}

.content-section:hover h3::after {
    width: 150px;
}

.content-section p {
    margin-bottom: 1.5rem;
    color: #4a5568;
    font-weight: 400;
}

html.dark-theme .content-section p {
    color: #fcfcfc;
}

.content-section p.lead {
    font-size: 1.35rem;
    font-weight: 500;
    color: #2d3748;
    line-height: 1.8;
}

html.dark-theme .content-section p.lead {
    color: #fcfcfc;
}

.content-section ul {
    list-style: none;
    padding: 0;
}

.content-section ul li {
    padding: 1rem 0;
    padding-right: 2.5rem;
    position: relative;
    color: #4a5568;
    transition: all 0.3s ease;
    font-size: 1.1rem;
}

html.dark-theme .content-section ul li {
    color: #fcfcfc;
}

.content-section ul li::before {
    content: '✓';
    position: absolute;
    right: 0;
    color: #0074c1;
    font-weight: 900;
    font-size: 1.4rem;
    transition: all 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    background: rgba(0, 116, 193, 0.1);
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
}

.content-section ul li:hover {
    color: #0074c1;
    padding-right: 3rem;
    transform: translateX(-5px);
}

html.dark-theme .content-section ul li:hover {
    color: #00a8ff;
}

html[dir="rtl"] .content-section ul li:hover {
    transform: translateX(5px);
}

.content-section ul li:hover::before {
    transform: scale(1.2) rotate(360deg);
    background: rgba(0, 116, 193, 0.2);
    box-shadow: 0 4px 12px rgba(0, 116, 193, 0.3);
}

.content-section strong {
    color: #0074c1;
    font-weight: 700;
    background: linear-gradient(135deg, rgba(0, 116, 193, 0.1), rgba(0, 168, 255, 0.1));
    padding: 2px 6px;
    border-radius: 4px;
}

html.dark-theme .content-section strong {
    color: #00a8ff;
    background: linear-gradient(135deg, rgba(0, 168, 255, 0.2), rgba(0, 116, 193, 0.2));
}

/* Animations */
@keyframes fadeInUpHero {
    from {
        opacity: 0;
        transform: translate(-50%, calc(-50% + 30px));
    }
    to {
        opacity: 1;
        transform: translate(-50%, -50%);
    }
}

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

@keyframes fadeInScale {
    from {
        opacity: 0;
        transform: scale(0.9);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

/* Responsive Design */
@media (max-width: 1200px) {
    .about-hero {
        height: 65vh;
        min-height: 400px;
    }
}

@media (max-width: 768px) {
    .about-hero {
        height: 50vh;
        min-height: 350px;
        border-radius: 25px;
        margin-bottom: 4rem;
    }

    .hero-content h1 {
        font-size: 2.5rem;
    }

    .image-section {
        height: 400px;
        margin: 3rem 0;
        border-radius: 20px;
    }

    .image-section-full {
        height: 400px;
    }

    .content-section {
        padding: 2.5rem;
        margin-bottom: 2.5rem;
    }

    .content-section h3 {
        font-size: 1.8rem;
    }

    .about-content {
        font-size: 1.1rem;
    }
}

@media (max-width: 576px) {
    .about-hero {
        height: 45vh;
        min-height: 300px;
        border-radius: 20px;
    }

    .image-section {
        height: 350px;
        margin: 2.5rem 0;
        border-radius: 15px;
    }

    .content-section {
        padding: 2rem;
    }

    .content-section h3 {
        font-size: 1.6rem;
    }

    .content-section p.lead {
        font-size: 1.2rem;
    }
}

/* RTL Support */
html[dir="rtl"] .content-section ul li {
    padding-right: 0;
    padding-left: 2.5rem;
}

html[dir="rtl"] .content-section ul li::before {
    right: auto;
    left: 0;
}

html[dir="rtl"] .content-section ul li:hover {
    padding-right: 0;
    padding-left: 3rem;
    transform: translateX(5px);
}

html[dir="rtl"] .content-section h3::after {
    left: auto;
    right: 0;
}

/* Social Icons */
.social-icons {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    margin-top: 1.5rem;
}

.social-icon {
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    margin: 0;
    padding: 0;
}

.social-icon i {
    font-size: 32px;
    color: #0074c1;
    display: block;
    line-height: 1;
    margin: 0;
    padding: 0;
    transition: all 0.3s ease;
}

.social-icon:hover i {
    color: #00a8ff;
    transform: scale(1.1);
}

html.dark-theme .social-icon i {
    color: #00a8ff;
}

html.dark-theme .social-icon:hover i {
    color: #0074c1;
}
