/* COMPLETE ABOUT PAGE CSS - PERFECT BANNER CENTERING */
/* BASE STYLES - MOBILE FIRST */
* {
    box-sizing: border-box;
}

html, body {
    margin: 0;
    padding: 0;
    overflow-x: hidden;
}

.india-banner {
    background-image: url('https://img.pikbest.com/background/20220119/hospital-banner-background_6222425.jpg!sw800');
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    color: white;
    text-align: center;
    padding: 80px 20px 120px;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 250px;
}

.india-banner::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle, rgba(255,255,255,0.1) 1px, transparent 1px);
    background-size: 20px 20px;
    opacity: 0.3;
}

.india-banner .heading {
    max-width: 900px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    width: 100%;
}

.india-banner .heading[style] {
    margin-top: 0 !important;
    margin-bottom: 0 !important;
}

.icon-logo img {
    width: 140px;
    height: auto;
    margin-bottom: 25px;
    filter: drop-shadow(0 5px 15px rgba(0,0,0,0.3));
}

.india-banner h2 {
    font-size: 3em;
    margin: 0 0 15px 0;
    font-family: 'Times New Roman', Times, serif;
    font-weight: 700;
    text-shadow: 0 2px 10px rgba(0,0,0,0.3);
    line-height: 1.2;
}

/* CONTENT SECTIONS */
.india-section,
.india-section-reverse {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 15px;
}

.section-flex,
.section-flex-reverse {
    display: flex;
    flex-direction: column;
    gap: 30px;
    width: 100%;
}

.india-content-left,
.india-content-right {
    flex: 1;
    min-width: 0;
    padding: 0;
    text-align: center;
    width: 100%;
}

.india-content-left h3,
.india-content-right h3 {
    font-size: 28px;
    margin-bottom: 15px;
    color: #333;
    font-family: 'Times New Roman', Times, serif;
    line-height: 1.2;
}

.india-content-left p,
.india-content-right p {
    font-size: 17px !important;
    line-height: 1.6;
    color: #000000;
    margin-bottom: 20px;
    font-family: Arial, Helvetica, sans-serif;
}

.india-content-left ul,
.india-content-right ul {
    margin: 20px auto 0;
    padding-left: 0;
    color: #555;
    text-align: left;
    max-width: 280px;
    list-style-position: inside;
}

.india-content-left ul li,
.india-content-right ul li {
    font-size: 16px !important;
    font-family: Arial, Helvetica, sans-serif;
    line-height: 1.6;
    margin-bottom: 8px;
    color: #000000;
}

.india-image-right,
.india-image-left {
    width: 100%;
    max-width: 320px;
    height: 250px;
    margin: 0 auto;
}

.india-image-right img,
.india-image-left img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    border-radius: 12px;
    box-shadow: 0 8px 25px rgba(0,0,0,0.1);
    display: block;
}

/* CIRCLES SECTION */
.circles-section {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 60px 15px;
}

.circles-section h3 {
    text-align: center;
    font-size: 2em;
    margin-bottom: 40px;
    color: #333;
    font-weight: 500;
    font-family: 'Times New Roman', Times, serif;
}

.circles-flex {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 25px;
    width: 100%;
    padding: 0 10px;
    justify-content: center;
}

.flip-circle {
    width: 150px;
    height: 150px;
    perspective: 1000px;
    cursor: pointer;
    flex-shrink: 0;
}

.flip-card {
    width: 100%;
    height: 100%;
    position: relative;
    transform-style: preserve-3d;
    transition: transform 0.6s;
}

.flip-front,
.flip-back {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    position: absolute;
    backface-visibility: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: bold;
    box-shadow: 0 8px 25px rgba(0,0,0,0.3);
}

.flip-front {
    background: linear-gradient(45deg, #448AFF, #39b49b);
    font-size: 15px;
}

.flip-back {
    background: linear-gradient(45deg, #667eea 0%, #764ba2 100%);
    transform: rotateY(180deg);
    flex-direction: column;
    font-size: 10px;
    font-weight: 500;
    text-align: center;
    padding: 12px;
    line-height: 1.3;
}

.flip-circle:hover .flip-card {
    transform: rotateY(180deg);
}

/* GALLERY SECTION */
.full-scroll-section {
    width: 100%;
    padding: 60px 0;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    overflow: hidden;
}

.gallery-header {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
    text-align: center;
}

.gallery-header h3 {
    font-size: 2em;
    margin-bottom: 40px;
    color: #333;
    font-weight: 500;
    font-family: 'Times New Roman', Times, serif;
}

.full-scroll-container {
    height: 220px;
    overflow: hidden;
    position: relative;
    margin: 0 12px;
    box-shadow: 0 12px 35px rgba(0,0,0,0.08);
    border-radius: 12px;
    width: calc(100% - 24px);
    max-width: calc(100vw - 24px);
}

.full-scroll-track {
    display: flex;
    height: 100%;
    animation: scroll-squares 20s linear infinite;
}

.scroll-square {
    flex: 0 0 200px;
    height: 100%;
    margin: 0 6px;
    position: relative;
    overflow: hidden;
    border-radius: 10px;
    box-shadow: 0 6px 20px rgba(0,0,0,0.12);
    border: 3px solid rgba(68,138,255,0.2);
    flex-shrink: 0;
}

.scroll-square:nth-child(2),
.scroll-square:nth-child(6) { border-color: rgba(57,180,155,0.2); }
.scroll-square:nth-child(3),
.scroll-square:nth-child(7) { border-color: rgba(102,126,234,0.2); }
.scroll-square:nth-child(4),
.scroll-square:nth-child(8) { border-color: rgba(255,107,107,0.2); }

.scroll-square img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
    border-radius: 9px;
}

.full-scroll-container:hover .full-scroll-track {
    animation-play-state: paused;
}

@keyframes scroll-squares {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

/* EXTRA SMALL MOBILE (≤480px) */
@media (max-width: 480px) {
    .india-section,
    .india-section-reverse {
        padding: 30px 10px;
    }
    
    .india-content-left h3,
    .india-content-right h3 {
        font-size: 24px;
    }
    
    .india-banner {
        padding: 110px 15px 100px;
        min-height: 50vh;
    }
    
    .india-banner h2 {
        font-size: 2.2em;
    }
    
    .flip-circle {
        width: 140px;
        height: 140px;
    }
    
    .full-scroll-container {
        height: 200px;
        margin: 0 8px;
        width: calc(100% - 16px);
    }
    
    .scroll-square {
        flex: 0 0 180px;
        margin: 0 4px;
    }
}

/* TABLET (481px - 768px) */
@media (min-width: 481px) and (max-width: 768px) {
    .india-section,
    .india-section-reverse {
        padding: 50px 20px;
    }
    
    .section-flex,
    .section-flex-reverse {
        gap: 40px;
    }
    
    .india-content-left h3,
    .india-content-right h3 {
        font-size: 32px;
    }
    
    .india-image-right,
    .india-image-left {
        max-width: 380px;
        height: 300px;
    }
    
    .circles-flex {
        flex-direction: row;
        justify-content: center;
        gap: 20px;
    }
    
    .flip-circle {
        width: 170px;
        height: 170px;
    }
    
    .full-scroll-container {
        height: 260px;
        margin: 0 18px;
    }
    
    .scroll-square {
        flex: 0 0 250px;
        margin: 0 8px;
    }
}

/* SMALL DESKTOP (769px - 1024px) */
@media (min-width: 769px) and (max-width: 1024px) {
    .section-flex,
    .section-flex-reverse {
        flex-direction: row;
        align-items: center;
    }
    
    .section-flex-reverse {
        flex-direction: row-reverse;
    }
    
    .india-content-left {
        padding-right: 25px;
        text-align: left;
    }
    
    .india-content-right {
        padding-left: 25px;
        text-align: left;
    }
    
    .india-image-right,
    .india-image-left {
        flex: 0 0 340px;
        min-width: 340px;
        height: 340px;
        margin: 0;
    }
    
    .india-content-left ul,
    .india-content-right ul {
        margin-left: 0;
        max-width: none;
    }
    
    .circles-flex {
        flex-direction: row;
        justify-content: space-around;
        gap: 30px;
    }
    
    .flip-circle {
        width: 185px;
        height: 185px;
    }
}

/* LARGE DESKTOP (1025px+) - PERFECT CENTERED BANNER */
@media (min-width: 1025px) {
    .india-banner {
        height: 450px;
        padding: 100px 40px 150px;
    }
    
    .india-banner .heading {
        gap: 30px;
    }
    
    .india-banner h2 {
        font-size: 3.5em;
        max-width: 800px;
    }
    
    .icon-logo img {
        width: 180px;
    }
    
    /* Content Sections */
    .india-section .section-flex {
        flex-direction: row !important;
        align-items: flex-start;
        gap: 50px;
    }
    
    .india-section-reverse .section-flex-reverse {
        flex-direction: row-reverse !important;
        align-items: flex-start;
        gap: 50px;
    }
    
    .india-content-left {
        flex: 1;
        padding-right: 30px;
        text-align: left;
        order: 1;
    }
    
    .india-image-right {
        flex: 0 0 400px;
        min-width: 400px;
        height: 400px;
        margin: 0;
        order: 2;
    }
    
    .india-image-left {
        flex: 0 0 400px;
        min-width: 400px;
        height: 400px;
        margin: 0;
        order: 1;
    }
    
    .india-content-right {
        flex: 1;
        padding-left: 30px;
        text-align: left;
        order: 2;
    }
    
    .india-section,
    .india-section-reverse {
        padding: 80px 40px;
    }
    
    .india-content-left h3,
    .india-content-right h3 {
        font-size: 40px;
        margin-bottom: 20px;
    }
    
    .india-content-left p,
    .india-content-right p {
        font-size: 1.1em;
        line-height: 1.8;
        margin-bottom: 25px;
    }
    
    .india-content-left ul,
    .india-content-right ul {
        margin-top: 25px;
        padding-left: 20px;
        max-width: none;
        text-align: left;
    }
    
    .india-content-left ul li,
    .india-content-right ul li {
        font-size: 1.1em;
        line-height: 1.8;
    }
    
    /* CIRCLES */
    .circles-section {
        padding: 80px 40px;
        background: transparent !important;
    }
    
    .circles-section h3,
    .gallery-header h3 {
        font-size: 2.5em;
        margin-bottom: 60px;
    }
    
    .circles-flex {
        flex-direction: row !important;
        justify-content: space-around;
        gap: 40px;
        align-items: center;
    }
    
    .flip-circle {
        width: 200px;
        height: 200px;
    }
    
    .flip-front {
        font-size: 18px;
    }
    
    .flip-back {
        font-size: 12px;
        padding: 20px;
    }
    
    /* Gallery */
    .full-scroll-section {
        width: 100vw;
        position: relative;
        left: 50%;
        right: 50%;
        margin-left: -50vw;
        margin-right: -50vw;
        padding: 80px 0;
    }
    
    .full-scroll-container {
        height: 300px;
        margin: 0;
        box-shadow: 0 15px 40px rgba(0,0,0,0.1);
    }
    
    .scroll-square {
        flex: 0 0 300px;
        margin: 0 10px;
        box-shadow: 0 8px 25px rgba(0,0,0,0.15);
        border-radius: 12px;
    }
    
    .full-scroll-track {
        animation-duration: 15s;
    }
}
