 :root {
            --primary-color: #1d3057;
            --accent-color: #fac62b;
            --text-light: #ffffff;
            --text-dark: #1d3057;
            --bg-light: #f5f5fa;
            --bg-dark: #dcdce5;
            --transition: all 0.3s ease;
        }

        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
        }

        body {
            font-family: 'Montserrat', sans-serif;
            background-color: var(--bg-light);
            overflow-x: hidden;
            color: var(--text-dark);
            line-height: 1.6;
        }

        .container {
            max-width: 1200px;
            margin: 0 auto;
            padding: 0 20px;
        }

        section {
            padding: 60px 0;
        }

        /* Header */
        .header {
            padding: 20px 0;
            background-color: var(--bg-light);
        }

        .image-header {
            display: flex;
            justify-content: center;
            margin-bottom: 20px;
        }

        .image-header img {
            width: 180px;
            height: auto;
        }

        /* Title Section */
        .title-section {
            text-align: center;
            margin-bottom: 40px;
        }

        .big-title {
            display: flex;
            justify-content: center;
            align-items: center;
            flex-wrap: wrap;
            color: var(--primary-color);
            gap: 10px;
        }

        .number-title {
            font-family: 'Impact', sans-serif;
            font-size: 100px;
            font-weight: 800;
            line-height: 1;
            position: relative;
        }

        .number-title span {
            font-family: 'Montserrat', sans-serif;
            position: absolute;
            font-size: 14px;
            color: var(--text-light);
            background-color: var(--primary-color);
            padding: 2px 5px;
            border-radius: 4px;
            right: -15px;
            top: 20px;
        }

        .text-title {
            font-size: 28px;
            font-weight: 800;
            text-align: left;
        }

        .section-header {
            background-color: var(--primary-color);
            color: var(--text-light);
            text-align: center;
            padding: 15px 20px;
            margin-bottom: 40px;
            border-radius: 6px;
            box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
        }

        /* Key People Section */
        .key-people {
            background-color: var(--bg-light);
        }

        .people-grid {
            display: flex;
            flex-wrap: wrap;
            justify-content: center;
            gap: 30px;
        }

        .person-card {
            position: relative;
            width: 240px;
            height: 320px;
            background-color: var(--primary-color);
            clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%, 0 0);
            border-radius: 8px;
            overflow: hidden;
            box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
            transition: transform 0.4s ease, box-shadow 0.4s ease;
        }

        .person-card:hover {
            transform: translateY(-10px);
            box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
        }

        .person-card img {
            width: 100%;
            height: 100%;
            object-fit: cover;
            transition: var(--transition);
        }

        .person-info {
            position: absolute;
            bottom: 0;
            left: 0;
            width: 100%;
            background: linear-gradient(to top, var(--accent-color), rgba(250, 198, 43, 0.8));
            padding: 15px;
            color: var(--primary-color);
            text-align: center;
            transform: translateY(0);
            transition: var(--transition);
        }

        .person-name {
            font-weight: 700;
            font-size: 16px;
            margin-bottom: 5px;
            display: block;
        }

        .person-role {
            font-size: 14px;
            font-weight: 600;
            display: block;
        }

        /* Featured Doctors Section */
        .featured-doctors {
            position: relative;
            color: var(--text-light);
            padding: 80px 0;
            text-align: center;
            background: linear-gradient(rgba(29, 48, 87, 0.269), rgba(29, 48, 87, 0.9)), url("../doctor-images/s.webp");
            background-size: cover;
            background-position: center;
            background-attachment: fixed;
        }

        .featured-doctors::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: rgba(0, 0, 0, 0.5);
            z-index: 1;
        }

        .featured-doctors .container {
            position: relative;
            z-index: 2;
        }

        .featured-title {
            font-size: 36px;
            margin-bottom: 15px;
            font-weight: 700;
            position: relative;
            display: inline-block;
        }

        .featured-title::after {
            content: '';
            position: absolute;
            bottom: -10px;
            left: 50%;
            transform: translateX(-50%);
            width: 80px;
            height: 3px;
            background-color: var(--accent-color);
        }

        .featured-subtitle {
            font-size: 20px;
            margin-bottom: 50px;
            max-width: 800px;
            margin-left: auto;
            margin-right: auto;
        }

        .doctor-cards {
            display: flex;
            flex-wrap: wrap;
            justify-content: center;
            gap: 30px;
        }

       .doctor-card {
    background-color: rgba(255, 255, 255, 0.1); 
    border-radius: 12px;
    padding: 20px;
    width: 280px;
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3); 
    transition: transform 0.4s ease, box-shadow 0.4s ease;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
}


        .doctor-card:hover {
            transform: translateY(-10px) scale(1.03);
            box-shadow: 0 15px 30px rgba(0, 0, 0, 0.3);
        }

        .doctor-card img {
            width: 100%;
            border-radius: 10px;
            margin-bottom: 15px;
            transition: var(--transition);
        }

        .doctor-card:hover img {
            transform: scale(1.05);
        }

        .doctor-card h3 {
            margin: 10px 0 5px;
            font-size: 20px;
            color: var(--text-light);
        }

        .doctor-card p {
            font-size: 16px;
            color: #ddd;
        }

        /* Steering Committee Section */
        .steering-committee {
            background-color: var(--bg-light);
            text-align: center;
        }

        .steering-title {
            font-size: 32px;
            font-weight: 600;
            margin-bottom: 40px;
            position: relative;
            display: inline-block;
        }

        .steering-title::after {
            content: '';
            position: absolute;
            bottom: -10px;
            left: 50%;
            transform: translateX(-50%);
            width: 60px;
            height: 3px;
            background-color: var(--primary-color);
        }

        .steering-grid {
            display: grid;
            grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
            max-width: 1200px;
            margin: 0 auto;
            gap: 30px;
        }

        .steering-card {
            position: relative;
            overflow: hidden;
            border-radius: 12px;
            box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
            transition: transform 0.4s ease, box-shadow 0.4s ease;
        }

        .steering-card:hover {
            transform: translateY(-8px);
            box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
        }

        .steering-card img {
            width: 100%;
            display: block;
            border-radius: 12px;
            transition: transform 0.6s ease;
        }

        .steering-card:hover img {
            transform: scale(1.05);
        }

        .steering-name {
            position: absolute;
            bottom: 0;
            width: 100%;
            background: linear-gradient(to top, rgba(28, 47, 87, 0.95), rgba(28, 47, 87, 0.7));
            text-align: center;
            padding: 15px 0;
            transition: all 0.3s ease;
        }

        .steering-card:hover .steering-name {
            padding-top: 20px;
            padding-bottom: 20px;
        }

        .steering-name span {
            color: var(--accent-color);
            font-weight: 600;
            font-size: 16px;
        }

        /* International Faculty Section */
        .international-faculty {
            background: linear-gradient(rgba(245, 245, 250, 0.46), rgba(245, 245, 250, 0.49));
            background-size: cover;
            background-position: center;
            padding: 80px 0;
            text-align: center;
        }

        .faculty-grid {
            display: grid;
            grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
            gap: 25px;
            margin-top: 50px;
        }

        .faculty-card {
            background-color: white;
            border-radius: 10px;
            overflow: hidden;
            box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
            transition: transform 0.3s ease, box-shadow 0.3s ease;
        }

        .faculty-card:hover {
            transform: translateY(-10px);
            box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
        }

        .faculty-img-container {
            position: relative;
            height: 55px;
            overflow: hidden;
        }

        .faculty-card:hover .faculty-img-container img {
            transform: scale(1.03);
        }

        .country-flag {
            border-radius: 50%;

            width: 40px;
        }

        .faculty-info {
            padding: 15px;
        }

        .faculty-name {
            color: var(--primary-color);
            font-weight: 600;
            font-size: 16px;
            margin-bottom: 5px;
        }

        .faculty-country {
            color: #666;
            font-size: 14px;
        }

        /* National Faculty Section */
        .national-faculty {
            background: linear-gradient(135deg, var(--bg-light) 0%, var(--bg-dark) 100%);
            text-align: center;
        }

        .names-grid {
            display: grid;
            grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
            gap: 15px;
            margin-top: 40px;
        }

        .name-item {
            background-color: white;
            padding: 15px;
            border-radius: 8px;
            box-shadow: 0 3px 10px rgba(0, 0, 0, 0.05);
            transition: all 0.3s ease;
        }

        .name-item:hover {
            transform: translateY(-5px);
            background-color: var(--primary-color);
            color: var(--text-light);
            box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
        }

        /* Committee Sections */
        .committee-section {
            padding: 70px 0;
        }

        .committee-section:nth-child(odd) {
            background-color: var(--bg-light);
        }

        .committee-section:nth-child(even) {
            background-color: var(--bg-dark);
        }

        .committee-header {
            text-align: center;
            margin-bottom: 50px;
        }

        .committee-title {
            font-size: 32px;
            font-weight: 700;
            color: var(--primary-color);
            margin-bottom: 15px;
            position: relative;
            display: inline-block;
        }

        .committee-title::after {
            content: '';
            position: absolute;
            bottom: -10px;
            left: 50%;
            transform: translateX(-50%);
            width: 60px;
            height: 3px;
            background-color: var(--accent-color);
        }

        .committee-grid {
            display: grid;
            grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
            gap: 30px;
        }

        .committee-card {
            background-color: white;
            border-radius: 10px;
            padding: 20px;
            box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
            text-align: center;
            transition: all 0.3s ease;
        }

        .committee-card:hover {
            transform: translateY(-8px);
            box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
        }

        .committee-card h3 {
            color: var(--primary-color);
            font-size: 18px;
            margin-bottom: 5px;
        }

        .committee-card p {
            color: #666;
            font-size: 14px;
        }

/* Mobile Media Queries - iPhone and Mobile Devices */

/* iPhone 14 Pro Max, iPhone 13 Pro Max, iPhone 12 Pro Max */
@media only screen and (max-width: 728px) {
     .featured-doctors {
          
            background: linear-gradient(rgba(29, 48, 87, 0.269), rgba(29, 48, 87, 0.9)), url("../img/s-mob.webp");
         
        }
    .container {
        padding: 0 15px;
    }
    
    section {
        padding: 40px 0;
    }
    
    /* Header adjustments */
    .image-header img {
        width: 140px;
    }
    
    /* Title section for mobile */
    .big-title {
        flex-direction: column;
        gap: 15px;
    }
    
    .number-title {
        font-size: 70px;
    }
    
    .number-title span {
        font-size: 12px;
        right: -10px;
        top: 15px;
    }
    
    .text-title {
        font-size: 22px;
        text-align: center;
    }
    
    .section-header {
        padding: 12px 15px;
        margin-bottom: 30px;
        font-size: 18px;
    }
    
    /* Key People Section */
    .key-people .container {
        display: flex;
        flex-direction: column;
        align-items: center;
    }
    
    .people-grid {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
        justify-items: center;
        align-items: center;
        max-width: 380px;
        width: 100%;
        margin: 0 auto;
        padding: 0 10px;
        justify-self: center;
    }
    
    .person-card {
        width: 100%;
        max-width: 170px;
        height: 240px;
        justify-self: center;
    }
    
    .person-info {
        padding: 10px;
    }
    
    .person-name {
        font-size: 13px;
        margin-bottom: 3px;
        line-height: 1.2;
    }
    
    .person-role {
        font-size: 11px;
        line-height: 1.2;
    }
    
    .person-info {
        padding: 12px;
    }
    
    .person-name {
        font-size: 14px;
    }
    
    .person-role {
        font-size: 12px;
    }
    
    /* Featured Doctors Section */
    .featured-doctors {
        padding: 60px 0;
        background-attachment: scroll;
    }
    
    .featured-title {
        font-size: 28px;
    }
    
    .featured-subtitle {
        font-size: 16px;
        margin-bottom: 30px;
    }
    
    .doctor-cards {
        gap: 20px;
    }
    
    .doctor-card {
        width: 100%;
        max-width: 280px;
        padding: 15px;
    }
    
    .doctor-card h3 {
        font-size: 18px;
    }
    
    .doctor-card p {
        font-size: 14px;
    }
    
    /* Steering Committee */
    .steering-title {
        font-size: 26px;
        margin-bottom: 30px;
    }
    
    .steering-grid {
        grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
        gap: 20px;
    }
    
    /* International Faculty */
    .international-faculty {
        padding: 60px 0;
        background-attachment: scroll;
    }
    
    .faculty-grid {
        grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
        gap: 15px;
        margin-top: 30px;
    }
    
    .faculty-name {
        font-size: 14px;
    }
    
    .faculty-country {
        font-size: 12px;
    }
    
    /* National Faculty */
    .names-grid {
        grid-template-columns: 1fr;
        gap: 10px;
    }
    
    .name-item {
        padding: 12px;
        font-size: 14px;
    }
    
    /* Committee Sections */
    .committee-section {
        padding: 50px 0;
    }
    
    .committee-title {
        font-size: 26px;
    }
    
    .committee-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .committee-card {
        padding: 15px;
    }
    
    .committee-card h3 {
        font-size: 16px;
    }
    
    .committee-card p {
        font-size: 13px;
    }
}

/* iPhone 14 Pro, iPhone 13 Pro, iPhone 12 Pro, iPhone 14, iPhone 13, iPhone 12 */
@media only screen and (max-width: 390px) {
    .container {
        padding: 0 12px;
    }
    
    .number-title {
        font-size: 60px;
    }
    
    .text-title {
        font-size: 20px;
    }
    
    .key-people .container {
        display: flex;
        flex-direction: column;
        align-items: center;
    }
    
    .people-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
        max-width: 360px;
        width: 100%;
        margin: 0 auto;
        padding: 0 10px;
    }
    
    .person-card {
        width: 100%;
        max-width: 160px;
        height: 220px;
        justify-self: center;
    }
    
    .person-name {
        font-size: 12px;
    }
    
    .person-role {
        font-size: 10px;
    }
    
    .featured-title {
        font-size: 24px;
    }
    
    .steering-grid {
        grid-template-columns: 1fr;
    }
    
    .faculty-grid {
        grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
    }
}

/* iPhone SE 3rd Gen, iPhone 8, iPhone 7, iPhone 6s */
@media only screen and (max-width: 375px) {
    .image-header img {
        width: 120px;
    }
    
    .number-title {
        font-size: 55px;
    }
    
    .text-title {
        font-size: 18px;
    }
    
    .key-people .container {
        display: flex;
        flex-direction: column;
        align-items: center;
    }
    
    .people-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
        max-width: 340px;
        width: 100%;
        margin: 0 auto;
        padding: 0 10px;
    }
    
    .person-card {
        width: 100%;
        max-width: 150px;
        height: 200px;
        justify-self: center;
    }
    
    .person-info {
        padding: 8px;
    }
    
    .person-name {
        font-size: 11px;
        margin-bottom: 2px;
    }
    
    .person-role {
        font-size: 9px;
    }
    
    .featured-title {
        font-size: 22px;
    }
    
    .featured-subtitle {
        font-size: 14px;
    }
    
    .steering-title {
        font-size: 24px;
    }
    
    .committee-title {
        font-size: 24px;
    }
}

/* iPhone SE 2nd Gen, iPhone 5s (smallest screens) */
@media only screen and (max-width: 320px) {
    .container {
        padding: 0 10px;
    }
    
    section {
        padding: 30px 0;
    }
   
    .image-header img {
        width: 100px;
    }
    
    .number-title {
        font-size: 45px;
    }
    
    .text-title {
        font-size: 16px;
    }
    
    .section-header {
        font-size: 16px;
        padding: 10px 12px;
    }
    
    .key-people .container {
        display: flex;
        flex-direction: column;
        align-items: center;
    }
    
    .people-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 8px;
        max-width: 300px;
        width: 100%;
        margin: 0 auto;
        padding: 0 10px;
    }
    
    .person-card {
        width: 100%;
        max-width: 140px;
        height: 180px;
        justify-self: center;
    }
    
    .person-info {
        padding: 6px;
    }
    
    .person-name {
        font-size: 10px;
        margin-bottom: 2px;
    }
    
    .person-role {
        font-size: 8px;
        line-height: 1.1;
    }
    
    .featured-title {
        font-size: 20px;
    }
    
    .featured-subtitle {
        font-size: 13px;
    }
    
    .doctor-card {
        padding: 12px;
    }
    
    .steering-title,
    .committee-title {
        font-size: 22px;
    }
    
    .faculty-grid {
        grid-template-columns: 1fr;
    }
}

/* Landscape orientation for phones */
@media only screen and (max-height: 500px) and (orientation: landscape) {
    section {
        padding: 30px 0;
    }
    
    .featured-doctors {
        padding: 40px 0;
    }
    
    .international-faculty {
        padding: 40px 0;
    }
    
    .committee-section {
        padding: 40px 0;
    }
    
    .number-title {
        font-size: 50px;
    }
    
    .featured-title {
        font-size: 24px;
    }
    
    .people-grid {
        justify-content: space-around;
    }
    
    .person-card {
        width: 120px;
        height: 160px;
    }
}

/* High DPI iPhone displays */
@media only screen and (-webkit-min-device-pixel-ratio: 2) and (max-width: 428px) {
    .doctor-card,
    .steering-card,
    .faculty-card,
    .committee-card {
        -webkit-transform: translateZ(0);
        transform: translateZ(0);
        -webkit-backface-visibility: hidden;
        backface-visibility: hidden;
    }
}

/* iPhone with Dynamic Island - adjust for safe areas */
@media only screen and (max-width: 428px) and (min-height: 926px) {
    .header {
        padding-top: env(safe-area-inset-top, 20px);
    }
    
    .featured-doctors,
    .international-faculty {
        padding-left: env(safe-area-inset-left, 0);
        padding-right: env(safe-area-inset-right, 0);
    }
}