/* ========================================
   Dweekat Nursing Hub - About Us Page
   Medical Colors: Primary #0d7377, Secondary #14a085
   Arabic Font: Cairo
   ======================================== */

/* ========================================
   Reset & Base Styles
   ======================================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Cairo', sans-serif;
    line-height: 1.8;
    color: #333;
    background-color: #f8f9fa;
    direction: rtl;
    overflow-x: hidden;
}

/* ========================================
   Color Variables
   ======================================== */
:root {
    --primary-color: #0d7377;
    --secondary-color: #14a085;
    --accent-color: #32e0c4;
    --dark-color: #212529;
    --light-color: #f8f9fa;
    --white: #ffffff;
    --gray-100: #f1f3f5;
    --gray-200: #e9ecef;
    --gray-300: #dee2e6;
    --gray-500: #adb5bd;
    --gray-700: #495057;
    
    --gradient-primary: linear-gradient(135deg, #0d7377 0%, #14a085 100%);
    --gradient-accent: linear-gradient(135deg, #14a085 0%, #32e0c4 100%);
    
    --shadow-sm: 0 2px 4px rgba(0,0,0,0.08);
    --shadow-md: 0 4px 12px rgba(0,0,0,0.12);
    --shadow-lg: 0 8px 24px rgba(0,0,0,0.15);
    
    --transition: all 0.3s ease;
}

/* ========================================
   Container & Utilities
   ======================================== */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--dark-color);
    margin-bottom: 15px;
    position: relative;
    display: inline-block;
}

.section-divider {
    width: 80px;
    height: 4px;
    background: var(--gradient-primary);
    margin: 0 auto 20px;
    border-radius: 2px;
}

.section-description {
    font-size: 1.1rem;
    color: var(--gray-700);
    max-width: 700px;
    margin: 0 auto;
}

/* ========================================
   Header & Navigation
   ======================================== */
.header {
    background: var(--white);
    box-shadow: var(--shadow-md);
    position: sticky;
    top: 0;
    z-index: 1000;
    transition: var(--transition);
}

.navbar {
    padding: 1rem 0;
}

.nav-wrapper {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
    text-decoration: none;
}

.logo i {
    font-size: 2rem;
    color: var(--secondary-color);
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-links a {
    color: var(--dark-color);
    text-decoration: none;
    font-weight: 600;
    font-size: 1.05rem;
    transition: var(--transition);
    position: relative;
    padding-bottom: 5px;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: 0;
    right: 0;
    width: 0;
    height: 2px;
    background: var(--gradient-primary);
    transition: width 0.3s ease;
}

.nav-links a:hover::after,
.nav-links a.active::after {
    width: 100%;
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--primary-color);
}

.btn-primary {
    background: var(--gradient-primary);
    color: var(--white);
    padding: 12px 28px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition);
    display: inline-block;
    border: none;
    cursor: pointer;
    box-shadow: var(--shadow-sm);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.btn-secondary {
    background: transparent;
    color: var(--primary-color);
    padding: 12px 28px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition);
    display: inline-block;
    border: 2px solid var(--primary-color);
    cursor: pointer;
}

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

.btn-large {
    padding: 16px 40px;
    font-size: 1.1rem;
}

.nav-cta {
    font-size: 1rem;
}

.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
}

.mobile-menu-toggle span {
    width: 30px;
    height: 3px;
    background: var(--primary-color);
    border-radius: 3px;
    transition: var(--transition);
}

/* ========================================
   Hero Section
   ======================================== */
.hero-section {
    background: var(--gradient-primary);
    padding: 120px 0 80px;
    position: relative;
    overflow: hidden;
    min-height: 400px;
}

.about-hero {
    background: linear-gradient(135deg, #0d7377 0%, #14a085 50%, #32e0c4 100%);
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1440 320"><path fill="rgba(255,255,255,0.05)" d="M0,96L48,112C96,128,192,160,288,160C384,160,480,128,576,122.7C672,117,768,139,864,138.7C960,139,1056,117,1152,101.3C1248,85,1344,75,1392,69.3L1440,64L1440,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"></path></svg>');
    opacity: 0.1;
}

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

.hero-title {
    font-size: 3.5rem;
    font-weight: 800;
    color: var(--white);
    margin-bottom: 20px;
    animation: fadeInUp 1s ease;
}

.hero-subtitle {
    font-size: 2rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.95);
    margin-bottom: 15px;
}

.hero-description {
    font-size: 1.3rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 30px;
}

.hero-decoration {
    margin-top: 40px;
    font-size: 4rem;
    color: rgba(255, 255, 255, 0.2);
    animation: float 3s ease-in-out infinite;
}

.wave-divider {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
}

.wave-divider svg {
    display: block;
    width: 100%;
    height: auto;
}

/* ========================================
   About Platform Section
   ======================================== */
.about-platform {
    padding: 80px 0;
    background: var(--white);
}

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

.about-text {
    padding-right: 40px;
}

.lead-text {
    font-size: 1.25rem;
    line-height: 1.9;
    color: var(--dark-color);
    margin-bottom: 25px;
}

.about-text p {
    font-size: 1.1rem;
    line-height: 1.9;
    color: var(--gray-700);
    margin-bottom: 20px;
}

.about-highlights {
    margin-top: 35px;
    display: grid;
    gap: 15px;
}

.highlight-item {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 15px;
    background: var(--gray-100);
    border-radius: 12px;
    transition: var(--transition);
}

.highlight-item:hover {
    background: var(--gray-200);
    transform: translateX(-5px);
}

.highlight-item i {
    font-size: 1.5rem;
    color: var(--secondary-color);
}

.highlight-item span {
    font-size: 1.05rem;
    font-weight: 600;
    color: var(--dark-color);
}

.about-image {
    position: relative;
}

.rounded-image {
    width: 100%;
    height: auto;
    border-radius: 20px;
    box-shadow: var(--shadow-lg);
    position: relative;
    z-index: 1;
}

.image-decoration {
    position: absolute;
    top: -20px;
    right: -20px;
    width: 100%;
    height: 100%;
    background: var(--gradient-accent);
    border-radius: 20px;
    z-index: 0;
    opacity: 0.3;
}

/* ========================================
   Founder Section
   ======================================== */
.founder-section {
    padding: 80px 0;
    background: var(--gray-100);
}

.founder-content {
    display: grid;
    grid-template-columns: 400px 1fr;
    gap: 60px;
    align-items: start;
}

.founder-image-wrapper {
    text-align: center;
    position: sticky;
    top: 100px;
}

.founder-image {
    position: relative;
    display: inline-block;
    margin-bottom: 30px;
}

.circle-image {
    width: 300px;
    height: 300px;
    border-radius: 50%;
    object-fit: cover;
    box-shadow: var(--shadow-lg);
    position: relative;
    z-index: 1;
    border: 8px solid var(--white);
}

.image-ring {
    position: absolute;
    top: -15px;
    right: -15px;
    width: calc(100% + 30px);
    height: calc(100% + 30px);
    border-radius: 50%;
    border: 3px solid var(--secondary-color);
    z-index: 0;
    animation: pulse 2s ease-in-out infinite;
}

.founder-name {
    font-size: 2rem;
    font-weight: 700;
    color: var(--dark-color);
    margin-bottom: 10px;
}

.founder-title {
    font-size: 1.2rem;
    color: var(--secondary-color);
    font-weight: 600;
    margin-bottom: 30px;
    padding: 10px 20px;
    background: rgba(20, 160, 133, 0.1);
    border-radius: 50px;
    display: inline-block;
}

.founder-bio {
    margin-bottom: 40px;
}

.founder-bio p {
    font-size: 1.1rem;
    line-height: 1.9;
    color: var(--gray-700);
    margin-bottom: 20px;
    text-align: justify;
}

.founder-credentials {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
}

.credential-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 15px 20px;
    background: var(--white);
    border-radius: 12px;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.credential-item:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
}

.credential-item i {
    font-size: 1.5rem;
    color: var(--primary-color);
}

.credential-item span {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--dark-color);
}

/* ========================================
   Vision & Mission Section
   ======================================== */
.vision-mission-section {
    padding: 80px 0;
    background: var(--white);
}

.vision-mission-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
    margin-top: 20px;
}

.vm-card {
    background: var(--white);
    padding: 50px 40px;
    border-radius: 20px;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.vm-card::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 100%;
    height: 5px;
    background: var(--gradient-primary);
}

.vision-card::before {
    background: var(--gradient-primary);
}

.mission-card::before {
    background: var(--gradient-accent);
}

.vm-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
}

.vm-icon {
    width: 80px;
    height: 80px;
    background: var(--gradient-primary);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 30px;
    box-shadow: var(--shadow-sm);
}

.mission-card .vm-icon {
    background: var(--gradient-accent);
}

.vm-icon i {
    font-size: 2.5rem;
    color: var(--white);
}

.vm-title {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--dark-color);
    margin-bottom: 20px;
}

.vm-description {
    font-size: 1.1rem;
    line-height: 1.9;
    color: var(--gray-700);
    margin-bottom: 30px;
}

.vm-features {
    display: grid;
    gap: 15px;
}

.vm-feature {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 15px;
    background: var(--gray-100);
    border-radius: 10px;
    transition: var(--transition);
}

.vm-feature:hover {
    background: var(--gray-200);
}

.vm-feature i {
    font-size: 1.2rem;
    color: var(--secondary-color);
}

.vm-feature span {
    font-size: 1rem;
    font-weight: 600;
    color: var(--dark-color);
}

/* ========================================
   Why Section
   ======================================== */
.why-section {
    padding: 80px 0;
    background: var(--gray-100);
}

.why-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.why-card {
    background: var(--white);
    padding: 40px 30px;
    border-radius: 15px;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    text-align: center;
}

.why-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
}

.why-icon {
    width: 70px;
    height: 70px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px;
    box-shadow: var(--shadow-sm);
}

.why-card:nth-child(even) .why-icon {
    background: var(--gradient-accent);
}

.why-icon i {
    font-size: 2rem;
    color: var(--white);
}

.why-title {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--dark-color);
    margin-bottom: 15px;
}

.why-description {
    font-size: 1rem;
    line-height: 1.8;
    color: var(--gray-700);
}

/* ========================================
   CTA Section
   ======================================== */
.cta-section {
    padding: 80px 0;
    background: var(--gradient-primary);
    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 xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1440 320"><path fill="rgba(255,255,255,0.05)" d="M0,96L48,112C96,128,192,160,288,160C384,160,480,128,576,122.7C672,117,768,139,864,138.7C960,139,1056,117,1152,101.3C1248,85,1344,75,1392,69.3L1440,64L1440,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"></path></svg>');
    opacity: 0.1;
}

.cta-content {
    text-align: center;
    position: relative;
    z-index: 1;
}

.cta-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 20px;
}

.cta-description {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 40px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.cta-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    margin-bottom: 60px;
}

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

.cta-buttons .btn-primary:hover {
    background: var(--gray-100);
}

.cta-buttons .btn-secondary {
    border-color: var(--white);
    color: var(--white);
}

.cta-buttons .btn-secondary:hover {
    background: var(--white);
    color: var(--primary-color);
}

.cta-stats {
    display: flex;
    gap: 60px;
    justify-content: center;
}

.stat-item {
    text-align: center;
}

.stat-item i {
    font-size: 3rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 15px;
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 5px;
}

.stat-label {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.85);
}

/* ========================================
   Footer
   ======================================== */
.footer {
    background: var(--dark-color);
    color: var(--white);
    padding: 60px 0 30px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
    margin-bottom: 40px;
}

.footer-title {
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 20px;
    color: var(--white);
}

.footer-description {
    font-size: 0.95rem;
    line-height: 1.7;
    color: var(--gray-300);
    margin-bottom: 20px;
}

.social-links {
    display: flex;
    gap: 15px;
}

.social-links a {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    transition: var(--transition);
}

.social-links a:hover {
    background: var(--secondary-color);
    transform: translateY(-3px);
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    color: var(--gray-300);
    text-decoration: none;
    transition: var(--transition);
    display: inline-block;
}

.footer-links a:hover {
    color: var(--accent-color);
    transform: translateX(-5px);
}

.newsletter-form {
    display: flex;
    gap: 10px;
}

.newsletter-form input {
    flex: 1;
    padding: 12px 15px;
    border: 2px solid rgba(255, 255, 255, 0.2);
    border-radius: 50px;
    background: rgba(255, 255, 255, 0.1);
    color: var(--white);
    font-family: 'Cairo', sans-serif;
}

.newsletter-form input::placeholder {
    color: rgba(255, 255, 255, 0.5);
}

.newsletter-form button {
    width: 50px;
    height: 50px;
    background: var(--secondary-color);
    border: none;
    border-radius: 50%;
    color: var(--white);
    cursor: pointer;
    transition: var(--transition);
}

.newsletter-form button:hover {
    background: var(--accent-color);
    transform: rotate(15deg);
}

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

.footer-bottom p {
    color: var(--gray-300);
    font-size: 0.95rem;
}

/* ========================================
   Scroll To Top Button
   ======================================== */
.scroll-to-top {
    position: fixed;
    bottom: 30px;
    left: 30px;
    width: 50px;
    height: 50px;
    background: var(--gradient-primary);
    border: none;
    border-radius: 50%;
    color: var(--white);
    font-size: 1.2rem;
    cursor: pointer;
    box-shadow: var(--shadow-md);
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
    z-index: 999;
}

.scroll-to-top.show {
    opacity: 1;
    visibility: visible;
}

.scroll-to-top:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

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

@keyframes float {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-20px);
    }
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
        opacity: 0.5;
    }
    50% {
        transform: scale(1.05);
        opacity: 0.8;
    }
}

.fade-in {
    animation: fadeInUp 1s ease;
}

/* ========================================
   Responsive Design
   ======================================== */

/* Tablet (768px - 1023px) */
@media (max-width: 1023px) {
    .section-title {
        font-size: 2rem;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .about-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .about-text {
        padding-right: 0;
    }
    
    .founder-content {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }
    
    .founder-image-wrapper {
        position: static;
    }
    
    .founder-credentials {
        max-width: 500px;
        margin: 0 auto;
    }
    
    .vision-mission-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .why-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 25px;
    }
    
    .footer-content {
        grid-template-columns: repeat(2, 1fr);
        gap: 30px;
    }
}

/* Mobile (< 768px) */
@media (max-width: 767px) {
    .container {
        padding: 0 15px;
    }
    
    .nav-wrapper {
        flex-wrap: wrap;
    }
    
    .nav-links {
        position: fixed;
        top: 70px;
        right: -100%;
        width: 100%;
        height: calc(100vh - 70px);
        background: var(--white);
        flex-direction: column;
        padding: 30px;
        box-shadow: var(--shadow-md);
        transition: var(--transition);
        gap: 0;
    }
    
    .nav-links.active {
        right: 0;
    }
    
    .nav-links li {
        width: 100%;
        border-bottom: 1px solid var(--gray-200);
    }
    
    .nav-links a {
        display: block;
        padding: 15px 0;
    }
    
    .nav-cta {
        display: none;
    }
    
    .mobile-menu-toggle {
        display: flex;
    }
    
    .mobile-menu-toggle.active span:nth-child(1) {
        transform: rotate(45deg) translate(8px, 8px);
    }
    
    .mobile-menu-toggle.active span:nth-child(2) {
        opacity: 0;
    }
    
    .mobile-menu-toggle.active span:nth-child(3) {
        transform: rotate(-45deg) translate(8px, -8px);
    }
    
    .hero-section {
        padding: 80px 0 60px;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-subtitle {
        font-size: 1.5rem;
    }
    
    .hero-description {
        font-size: 1.1rem;
    }
    
    .section-title {
        font-size: 1.75rem;
    }
    
    .section-header {
        margin-bottom: 40px;
    }
    
    .about-platform,
    .founder-section,
    .vision-mission-section,
    .why-section,
    .cta-section {
        padding: 60px 0;
    }
    
    .lead-text {
        font-size: 1.1rem;
    }
    
    .about-text p {
        font-size: 1rem;
    }
    
    .about-highlights {
        margin-top: 25px;
    }
    
    .founder-bio p {
        font-size: 1rem;
        text-align: right;
    }
    
    .circle-image {
        width: 220px;
        height: 220px;
    }
    
    .founder-credentials {
        grid-template-columns: 1fr;
    }
    
    .vm-card {
        padding: 35px 25px;
    }
    
    .vm-title {
        font-size: 1.5rem;
    }
    
    .vm-description {
        font-size: 1rem;
    }
    
    .why-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .cta-title {
        font-size: 1.75rem;
    }
    
    .cta-description {
        font-size: 1.05rem;
    }
    
    .cta-buttons {
        flex-direction: column;
        gap: 15px;
        margin-bottom: 40px;
    }
    
    .cta-buttons .btn-large {
        width: 100%;
    }
    
    .cta-stats {
        flex-direction: column;
        gap: 30px;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .scroll-to-top {
        bottom: 20px;
        left: 20px;
        width: 45px;
        height: 45px;
    }
}

/* Extra Small (< 480px) */
@media (max-width: 479px) {
    .hero-title {
        font-size: 1.75rem;
    }
    
    .hero-subtitle {
        font-size: 1.3rem;
    }
    
    .logo {
        font-size: 1.25rem;
    }
    
    .logo i {
        font-size: 1.75rem;
    }
    
    .section-title {
        font-size: 1.5rem;
    }
    
    .btn-large {
        padding: 14px 30px;
        font-size: 1rem;
    }
}
