/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Poppins', sans-serif;
    line-height: 1.6;
    color: #444444;
    overflow-x: hidden;
}

.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Typography */
h1,
h2,
h3,
h4,
h5,
h6 {
    font-weight: 600;
    line-height: 1.2;
}

.text-primary {
    color: #1d76bb;
}

.text-secondary {
    color: #39b1dc;
}

.text-bold {
    font-weight: 700;
}

/* Header */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    padding: 20px 0;
    transition: all 0.3s ease;
}

.header-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    width: 85px;
    height: 60px;
    object-fit: contain;
}

.navigation {
    margin-left: auto;
}

.nav-list {
    display: flex;
    list-style: none;
    gap: 40px;
    align-items: center;
}

.nav-link {
    text-decoration: none;
    font-weight: 500;
    font-size: 20px;
    color: #39b1dc;
    padding: 12px 24px;
    border-radius: 50px;
    transition: all 0.3s ease;
    position: relative;
}

.nav-link.active {
    background: linear-gradient(135deg, #1d76bb, #39b1dc);
    color: white;
    border: 1px solid #1d76bb;
}

.nav-link:hover:not(.active) {
    color: #1d76bb;
    transform: translateY(-2px);
}

/* Hero Section */
.hero {
    min-height: 100vh;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.9), rgba(242, 248, 253, 0.9));
    position: relative;
    display: flex;
    align-items: center;
    padding-top: 120px;
    overflow: hidden;
}

.hero-decorations {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    pointer-events: none;
}

.dot-pattern {
    position: absolute;
    width: 94px;
    height: 139px;
    background-image: radial-gradient(circle, #39b1dc 2px, transparent 2px);
    background-size: 29px 26px;
    opacity: 0.3;
}

.dot-pattern-1 {
    top: 200px;
    right: 100px;
    transform: rotate(90deg);
}

.dot-pattern-2 {
    bottom: 300px;
    left: 50px;
    transform: rotate(90deg);
}

.dot-pattern-3 {
    top: 50%;
    left: 20%;
    transform: rotate(45deg);
}

.circular-border {
    position: absolute;
    border: 2px solid #1d76bb;
    border-radius: 50%;
    opacity: 0.4;
}

.circular-border-1 {
    width: 82px;
    height: 82px;
    top: 150px;
    left: 100px;
}

.circular-border-2 {
    width: 94px;
    height: 94px;
    top: 250px;
    right: 200px;
}

.circular-border-3 {
    width: 55px;
    height: 55px;
    top: 100px;
    left: 50%;
}

.circular-border-4 {
    width: 106px;
    height: 106px;
    bottom: 150px;
    right: 150px;
}

.circular-border-5 {
    width: 82px;
    height: 82px;
    bottom: 200px;
    left: 200px;
}

.circular-border-6 {
    width: 82px;
    height: 82px;
    top: 60%;
    right: 30%;
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
    position: relative;
    z-index: 2;
}

.hero-title {
    font-size: 80px;
    font-weight: 900;
    margin-bottom: 24px;
}

.title-primary {
    color: #1d76bb;
}

.title-secondary {
    color: #07c1de;
}

.hero-subtitle {
    font-size: 32px;
    font-weight: 600;
    color: #444444;
    margin-bottom: 64px;
}

.hero-description {
    font-size: 20px;
    line-height: 1.8;
    color: #444444;
    max-width: 576px;
}

.hero-image {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.doctor-container {
    position: relative;
    width: 600px;
    height: 600px;
    background: linear-gradient(135deg, #57b7dc, #1d76bb);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.doctor-image {
    width: 580px;
    height: 580px;
    object-fit: cover;
    border-radius: 50%;
    filter: brightness(1.1) contrast(1.1);
}

.floating-icons {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
}

.icon-circle {
    position: absolute;
    width: 80px;
    height: 80px;
    background: rgba(29, 118, 187, 1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 10px 30px rgba(29, 118, 187, 0.2);
    animation: float 3s ease-in-out infinite;
}

.icon-circle img {
    width: 40px;
    height: 40px;
}

.icon-1 {
    top: 10%;
    left: 20%;
    animation-delay: 0s;
}

.icon-2 {
    top: 20%;
    right: 10%;
    animation-delay: 0.5s;
}

.icon-3 {
    bottom: 30%;
    left: 10%;
    animation-delay: 1s;
}

.icon-4 {
    bottom: 20%;
    right: 20%;
    animation-delay: 1.5s;
}

.icon-5 {
    top: 50%;
    left: -10%;
    animation-delay: 2s;
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-20px);
    }
}

/* About Section */
.about {
    padding: 60px 0;
    background: #f2f8fd;
    position: relative;
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}




.view-all-btn:hover {
    background: #39b1dc;
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(29, 118, 187, 0.3);
}

.about-title {
    font-size: 24px;
    color: #1d76bb;
    margin-bottom: 24px;
}

.about-description {
    font-size: 17px;
    line-height: 1.8;
    margin-bottom: 40px;
}

.info-cards {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.info-card {
    background: white;
    border-radius: 20px;
    padding: 20px;
    display: flex;
    gap: 20px;
    box-shadow: 0 4px 20px rgba(57, 177, 220, 0.1);
    transition: all 0.3s ease;
}

.info-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 40px rgba(57, 177, 220, 0.2);
}

.info-icon {
    width: 92px;
    height: 94px;
    background: #f2f8fd;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.info-icon img {
    width: 50px;
    height: 50px;
}

.info-content h4 {
    font-size: 16px;
    color: #1d76bb;
    font-weight: 600;
    margin-bottom: 8px;
}

.info-content p {
    font-size: 13px;
    color: #444444;
    opacity: 0.8;
    line-height: 1.6;
}

/* Values Section */
.values {
    padding: 60px 0;
    background: white;
}

.section-header {
    text-align: center;
    margin-bottom: 80px;
}

.section-title {
    font-size: 32px;
    color: #444444;
    margin-bottom: 16px;
}

.section-subtitle {
    font-size: 32px;
    color: #1d76bb;
    font-weight: 600;
}

.section-description {
    font-size: 24px;
    color: #444444;
    margin-top: 16px;
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
    max-width: 1488px;
    margin: 0 auto;
}

.value-card {
    background: #f2f8fd;
    border-radius: 20px;
    overflow: hidden;
    border: 1px solid rgba(241, 248, 252, 1);
    transition: all 0.3s ease;
    position: relative;
    height: 330px;
}

.value-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 60px rgba(57, 177, 220, 0.2);
}

.value-image {
    width: 100%;
    height: 176px;
    overflow: hidden;
}

.value-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.value-card:hover .value-image img {
    transform: scale(1.1);
}

.value-icon {
    position: absolute;
    top: 182px;
    right: 8px;
    width: 50px;
    height: 50px;
    background: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.value-icon img {
    width: 35px;
    height: 35px;
}

.value-title {
    position: absolute;
    top: 193px;
    left: 11px;
    font-family: 'Readex Pro', sans-serif;
    font-weight: 500;
    color: #444444;
    font-size: 20px;
}

.value-description {
    position: absolute;
    top: 237px;
    left: 11px;
    right: 11px;
    font-family: 'Readex Pro', sans-serif;
    font-weight: 400;
    color: #444444;
    font-size: 14px;
    opacity: 0.8;
    line-height: 1.5;
}

/* SHAFI Solution Section */
.shafi-solution {
    padding: 120px 0;
    background: white;
}

.shafi-main-card {
    background: linear-gradient(134deg, rgba(255, 255, 255, 1) 0%, rgba(29, 118, 187, 1) 100%);
    border-radius: 50px;
    padding: 60px;
    margin: 60px 0;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    box-shadow: 0 4px 20px rgba(57, 177, 220, 0.2);
    position: relative;
    overflow: hidden;
}

.shafi-main-card::before {
    content: '';
    position: absolute;
    top: -50px;
    left: -100px;
    width: 500px;
    height: 300px;
    background: url('/vector-2-1.svg') no-repeat;
    background-size: contain;
    opacity: 0.1;
}

.shafi-logo {
    width: 499px;
    height: 209px;
    margin-bottom: 40px;
}

.shafi-description {
    font-size: 20px;
    line-height: 1.8;
    color: #444444;
}

.hospital-illustration {
    display: flex;
    justify-content: center;
    align-items: center;
}

.hospital-image {
    width: 100%;
    max-width: 500px;
    height: 400px;
    object-fit: cover;
    border-radius: px;

}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 24px;
    margin-top: 60px;
}

.feature-card {
    background: #f2f8fd;
    border-radius: 20px;
    padding: 20px;
    display: flex;
    align-items: center;
    gap: 20px;
    height: 140px;
    transition: all 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(57, 177, 220, 0.2);
}

.feature-icon {
    width: 116px;
    height: 124px;
    background: white;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.feature-icon img {
    width: 90px;
    height: 90px;
}

.feature-content h4 {
    font-size: 24px;
    color: #1d76bb;
    font-weight: 700;
    margin-bottom: 8px;
}

.feature-content p {
    font-size: 18px;
    color: #444444;
    line-height: 1.6;
}

/* Modules Section */
.modules {
    padding: 120px 0;
    background: #f2f8fd;
}

.modules-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 24px;
    max-width: 1400px;
    margin: 0 auto;
}

.module-card {
    background: white;
    border-radius: 20px;
    height: 246px;
    box-shadow: 0 4px 20px rgba(57, 177, 220, 0.1);
    overflow: hidden;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
}

.module-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 60px rgba(57, 177, 220, 0.3);
}

.module-icon {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.module-icon img {
    width: 95px;
    height: 95px;
}

.module-title {
    background: #39b1dc;
    color: white;
    padding: 20px;
    text-align: center;
    font-weight: 600;
    font-size: 18px;
    line-height: 1.3;
    height: 113px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Workflow Section */
.workflow {
    padding: 120px 0;
    background: white;
}

.workflow-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 28px;
    margin-top: 60px;
}

.workflow-card {
    border-radius: 50px;
    padding: 20px;
    height: 579px;
    display: flex;
    flex-direction: column;
    color: white;
    position: relative;
    overflow: hidden;
}

.workflow-card-1 {
    background: #1d76bb;
}

.workflow-card-2 {
    background: #39b1dc;
}

.workflow-card-3 {
    background: #5ce4f9;
}

.workflow-logo {
    background: white;
    border-radius: 50px;
    height: 239px;
    margin: 19px 15px 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.workflow-logo img {
    width: 336px;
    height: 140px;
}

.workflow-content {
    padding: 0 15px;
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.workflow-content h4 {
    font-size: 32px;
    font-weight: 600;
    margin-bottom: 20px;
}

.workflow-content p {
    font-size: 20px;
    line-height: 1.6;
    margin-bottom: 40px;
}

.workflow-btn {
    background: white;
    border: none;
    border-radius: 20px;
    padding: 16px 32px;
    font-size: 24px;
    font-weight: 600;
    cursor: pointer;
    margin: 0 26px 20px;
    transition: all 0.3s ease;
}

.workflow-card-1 .workflow-btn {
    color: #1d76bb;
}

.workflow-card-2 .workflow-btn {
    color: #39b1dc;
}

.workflow-card-3 .workflow-btn {
    color: #5ce4f9;
}

.workflow-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

/* Footer */
.footer {
    background: linear-gradient(135deg, #1d76bb, #39b1dc);
    color: white;
    padding: 80px 0 40px;
}

.footer-content {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 60px;
    margin-bottom: 60px;
}

.footer-logo {
    width: 350px;
    height: 247px;
    margin-bottom: 24px;
}

.footer-description {
    font-size: 16px;
    line-height: 1.8;
    opacity: 0.9;
}

.footer-title {
    font-size: 28px;
    font-weight: 600;
    margin-bottom: 24px;
    color: #444444;
}

.footer-links {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.footer-links a {
    color: white;
    text-decoration: none;
    font-size: 32px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.footer-links a:hover {
    color: #f2f8fd;
    transform: translateX(10px);
}

.footer-text {
    font-size: 20px;
    line-height: 1.6;
    margin-bottom: 24px;
    opacity: 0.9;
}

.newsletter-form {
    display: flex;
    background: white;
    border-radius: 20px;
    overflow: hidden;
    margin-bottom: 40px;
}

.newsletter-input {
    flex: 1;
    border: none;
    padding: 20px;
    font-size: 20px;
    color: #444444;
    outline: none;
}

.newsletter-input::placeholder {
    color: #444444;
    opacity: 0.5;
}

.newsletter-btn {
    background: #1d76bb;
    color: white;
    border: none;
    padding: 20px 40px;
    font-size: 20px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
}

.newsletter-btn:hover {
    background: #39b1dc;
}

.contact-info {
    margin-top: 32px;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 25px;
    margin-bottom: 20px;
    font-size: 24px;
    font-weight: 500;
}

.contact-item img {
    width: 24px;
    height: 24px;
}

.social-media {
    display: flex;
    gap: 40px;
    margin-bottom: 32px;
}

.social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    transition: all 0.3s ease;
}

.social-link:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-5px);
}

.social-link img {
    width: 30px;
    height: 30px;
}

.footer-divider {
    width: 100%;
    height: 1px;
    background: rgba(255, 255, 255, 0.2);
    margin-top: 40px;
}

/* Responsive Design */
@media (max-width: 1200px) {
    .hero-content {
        grid-template-columns: 1fr;
        gap: 60px;
        text-align: center;
    }

    .hero-title {
        font-size: 60px;
    }

    .about-content {
        grid-template-columns: 1fr;
        gap: 60px;
    }

    .shafi-main-card {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }
}

@media (max-width: 768px) {
    .container {
        padding: 0 16px;
    }

    .header {
        padding: 16px 0;
    }

    .nav-list {
        gap: 20px;
    }

    .nav-link {
        font-size: 16px;
        padding: 8px 16px;
    }

    .hero {
        padding-top: 100px;
        min-height: auto;
        padding-bottom: 80px;
    }

    .hero-title {
        font-size: 48px;
    }

    .hero-subtitle {
        font-size: 24px;
        margin-bottom: 40px;
    }

    .hero-description {
        font-size: 18px;
    }

    .doctor-container {
        width: 400px;
        height: 400px;
    }

    .doctor-image {
        width: 350px;
        height: 350px;
    }

    .section-title,
    .section-subtitle {
        font-size: 24px;
    }

    .about,
    .values,
    .shafi-solution,
    .modules,
    .workflow {
        padding: 80px 0;
    }

    .values-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .features-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .feature-card {
        height: auto;
        min-height: 120px;
        padding: 16px;
    }

    .feature-icon {
        width: 80px;
        height: 80px;
    }

    .feature-icon img {
        width: 60px;
        height: 60px;
    }

    .feature-content h4 {
        font-size: 20px;
    }

    .feature-content p {
        font-size: 16px;
    }

    .modules-grid {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
        gap: 16px;
    }

    .workflow-steps {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .workflow-card {
        height: auto;
        min-height: 400px;
    }

    .workflow-logo {
        height: 150px;
        margin: 15px 10px 0;
    }

    .workflow-logo img {
        width: 200px;
        height: 80px;
    }

    .workflow-content h4 {
        font-size: 24px;
    }

    .workflow-content p {
        font-size: 16px;
    }

    .footer {
        padding: 60px 0 30px;
    }

    .footer-logo {
        width: 250px;
        height: 150px;
    }

    .footer-title {
        font-size: 24px;
    }

    .footer-links a {
        font-size: 24px;
    }

    .newsletter-form {
        flex-direction: column;
    }

    .newsletter-btn {
        border-radius: 0 0 20px 20px;
    }
}

@media (max-width: 480px) {
    .nav-list {
        flex-direction: column;
        gap: 10px;
    }

    .hero-title {
        font-size: 36px;
    }

    .hero-subtitle {
        font-size: 20px;
    }

    .doctor-container {
        width: 300px;
        height: 300px;
    }

    .doctor-image {
        width: 250px;
        height: 250px;
    }

    .icon-circle {
        width: 60px;
        height: 60px;
    }

    .icon-circle img {
        width: 30px;
        height: 30px;
    }

    .section-title,
    .section-subtitle {
        font-size: 20px;
    }

    .shafi-main-card {
        padding: 30px 20px;
    }

    .shafi-logo {
        width: 100%;
        height: auto;
        max-width: 300px;
    }

    .modules-grid {
        grid-template-columns: 1fr;
    }

    .social-media {
        justify-content: center;
        gap: 20px;
    }
}

/* Smooth scrolling and animations */
@media (prefers-reduced-motion: no-preference) {

    .hero-content,
    .about-content,
    .value-card,
    .feature-card,
    .module-card,
    .workflow-card {
        animation: fadeInUp 0.8s ease-out;
    }

    .hero-content {
        animation-delay: 0.2s;
    }

    .about-content {
        animation-delay: 0.3s;
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Focus styles for accessibility */
.nav-link:focus,
.workflow-btn:focus,
.view-all-btn:focus,
.newsletter-btn:focus {
    outline: 2px solid #39b1dc;
    outline-offset: 2px;
}

.newsletter-input:focus {
    outline: 2px solid #1d76bb;
    outline-offset: -2px;
}

/* Print styles */
@media print {

    .header,
    .footer,
    .hero-decorations {
        display: none;
    }

    body {
        font-size: 12pt;
        line-height: 1.4;
    }

    .hero,
    .about,
    .values,
    .shafi-solution,
    .modules,
    .workflow {
        padding: 20pt 0;
        page-break-inside: avoid;
    }
}

.about-image {
    padding: 20px;
    display: flex;
    justify-content: center;
}

.about-card {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    width: fit-content;
    max-width: 100%;
}

.about-img {
    display: block;
    width: 100%;
    height: auto;
    border-radius: 20px;
}

/* البادچ */
.about-header {
    position: absolute;
    /* left: 328px; */
    width: 100%;
    height: 24px;
}



.badge-dot {
    width: 10px;
    height: 10px;
    background-color: white;
    border-radius: 50%;
    margin-right: 8px;
}

/* الزر */
.view-all-btn {
      position: absolute;
    bottom: 20px;
    left: 20px;
    padding: 14px 34px;
    background-color: #2a71d0;
    color: white;
    border: none;
    border-radius: 10px;
    font-size: 14px;
    cursor: pointer;
    font-weight: bold;
}