/*=========================================
ABOUT PAGE
=========================================*/

.about-hero{
    position:relative;
    overflow:hidden;
    min-height:100vh;
    display:flex;
    align-items:center;
    background:#F8F8F5;
    padding:140px 0;
}

.hero-bg{
    position:absolute;
    inset:0;
    background:
    radial-gradient(circle at 20% 20%,rgba(127,64,113,.12),transparent 35%),
    radial-gradient(circle at 80% 80%,rgba(200,167,106,.10),transparent 30%),
    linear-gradient(180deg,#ffffff,#f8f8f5);
}

.hero-overlay{
    position:absolute;
    inset:0;
    backdrop-filter:blur(2px);
}

.about-grid{
    position:relative;
    z-index:2;
    display:grid;
    grid-template-columns:1.05fr .95fr;
    gap:90px;
    align-items:center;
}

.hero-tag{
    display:inline-flex;
    align-items:center;
    padding:12px 24px;
    border-radius:999px;
    background:rgba(127,64,113,.08);
    color:#7F4071;
    font-size:14px;
    font-weight:700;
    letter-spacing:2px;
    text-transform:uppercase;
}

.hero-left h1{
    margin:30px 0;
    font-size:72px;
    line-height:1;
    font-weight:800;
    color:#111;
    letter-spacing:-3px;
}

.hero-left p{
    max-width:640px;
    font-size:20px;
    line-height:1.9;
    color:#666;
}

.hero-btns{
    display:flex;
    gap:18px;
    margin-top:45px;
}

.btn-primary{
    display:inline-flex;
    align-items:center;
    justify-content:center;
    height:58px;
    padding:0 34px;
    background:#7F4071;
    color:#fff;
    text-decoration:none;
    border-radius:50px;
    font-weight:700;
    transition:.35s;
}

.btn-primary:hover{
    transform:translateY(-5px);
    box-shadow:0 18px 40px rgba(127,64,113,.30);
}

.btn-secondary{
    display:inline-flex;
    align-items:center;
    justify-content:center;
    height:58px;
    padding:0 34px;
    border-radius:50px;
    border:1px solid #ddd;
    background:#fff;
    color:#111;
    text-decoration:none;
    transition:.35s;
}

.btn-secondary:hover{
    background:#111;
    color:#fff;
}

.hero-stats{
    margin-top:70px;
    display:flex;
    gap:55px;
}

.hero-stats h3{
    font-size:38px;
    color:#7F4071;
    margin-bottom:8px;
}

.hero-stats span{
    color:#777;
    font-size:15px;
}

.hero-image{
    position:relative;
}

.hero-image img{
    width:100%;
    display:block;
    border-radius:36px;
    box-shadow:0 35px 80px rgba(0,0,0,.15);
}

.glass-card{
    position:absolute;
    background:rgba(255,255,255,.82);
    backdrop-filter:blur(22px);
    border:1px solid rgba(255,255,255,.4);
    border-radius:22px;
    padding:18px 24px;
    box-shadow:0 25px 60px rgba(0,0,0,.12);
}

.glass-card strong{
    display:block;
    font-size:18px;
    margin-bottom:6px;
    color:#111;
}

.glass-card span{
    font-size:14px;
    color:#666;
}

.card-one{
    top:35px;
    left:-40px;
}

.card-two{
    bottom:90px;
    right:-35px;
}

.card-three{
    bottom:20px;
    left:30px;
}

/*==============================
COMMON SECTION
==============================*/

.section-tag{
    display:inline-block;
    padding:10px 22px;
    border-radius:999px;
    background:#f3eef3;
    color:#7F4071;
    font-size:13px;
    font-weight:700;
    letter-spacing:2px;
    text-transform:uppercase;
}

.section-heading{
    margin-bottom:70px;
}

.section-heading.center{
    text-align:center;
}

.section-heading h2{
    font-size:58px;
    line-height:1.1;
    color:#111;
    margin:22px 0;
    letter-spacing:-2px;
}

.section-heading p{
    max-width:720px;
    margin:auto;
    color:#666;
    line-height:1.9;
    font-size:18px;
}

.about-story,
.about-timeline,
.brand-philosophy,
.about-doctors,
.achievement-section,
.why-neogen,
.clinic-experience,
.testimonial-section,
.our-branches,
.premium-cta{
    padding:130px 0;
}



/*=========================================
OUR STORY
=========================================*/

.story-grid{
    display:grid;
    grid-template-columns:.9fr 1.1fr;
    gap:90px;
    align-items:center;
}

.story-left h2{
    font-size:64px;
    line-height:1;
    margin:25px 0;
    color:#111;
    letter-spacing:-2px;
}

.story-left h3{
    font-size:26px;
    color:#7F4071;
    font-weight:600;
    line-height:1.5;
}

.story-right p{
    font-size:18px;
    color:#666;
    line-height:2;
    margin-bottom:28px;
}


/*=========================================
TIMELINE
=========================================*/

.timeline-title{
    text-align:center;
    margin-bottom:80px;
}

.timeline-title h2{
    font-size:56px;
    line-height:1.1;
    margin-top:20px;
    color:#111;
}

.timeline{
    position:relative;
    display:grid;
    grid-template-columns:repeat(4,1fr);
    gap:35px;
}

.timeline::before{
    content:"";
    position:absolute;
    top:36px;
    left:5%;
    width:90%;
    height:2px;
    background:#e5e5e5;
}

.timeline-item{
    position:relative;
    background:#fff;
    padding:45px 35px;
    border-radius:28px;
    box-shadow:0 20px 50px rgba(0,0,0,.05);
    transition:.4s;
}

.timeline-item:hover{
    transform:translateY(-10px);
    box-shadow:0 35px 70px rgba(0,0,0,.08);
}

.timeline-item::before{
    content:"";
    position:absolute;
    top:-14px;
    left:45px;
    width:28px;
    height:28px;
    border-radius:50%;
    background:#7F4071;
    border:6px solid #fff;
}

.timeline-item span{
    display:block;
    color:#7F4071;
    font-size:15px;
    font-weight:700;
    margin-bottom:18px;
}

.timeline-item h4{
    font-size:26px;
    margin-bottom:15px;
    color:#111;
}

.timeline-item p{
    color:#666;
    line-height:1.8;
}


/*=========================================
PHILOSOPHY
=========================================*/

.philosophy-grid{
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:90px;
    align-items:center;
}

.philosophy-image{
    overflow:hidden;
    border-radius:35px;
}

.philosophy-image img{
    width:100%;
    display:block;
    transition:.8s;
}

.philosophy-image:hover img{
    transform:scale(1.08);
}

.philosophy-content h2{
    font-size:60px;
    line-height:1.05;
    margin:30px 0;
    color:#111;
    letter-spacing:-2px;
}

.philosophy-content p{
    color:#666;
    font-size:18px;
    line-height:2;
    margin-bottom:25px;
}

.philosophy-content .btn-primary{
    margin-top:25px;
}


/*=========================================
DOCTOR SECTION
=========================================*/

.doctor-grid{
    display:grid;
    grid-template-columns:1fr;
}

.doctor-card{
    display:grid;
    grid-template-columns:420px 1fr;
    gap:70px;
    background:#fff;
    border-radius:35px;
    overflow:hidden;
    box-shadow:0 25px 70px rgba(0,0,0,.08);
}

.doctor-image{
    height:100%;
}

.doctor-image img{
    width:100%;
    height:100%;
    object-fit:cover;
    display:block;
}

.doctor-content{
    padding:70px;
}

.doctor-content h3{
    font-size:48px;
    color:#111;
    margin-bottom:10px;
}

.doctor-content span{
    display:block;
    color:#7F4071;
    font-weight:700;
    margin-bottom:35px;
}

.doctor-content ul{
    margin:0;
    padding:0;
    list-style:none;
}

.doctor-content li{
    margin-bottom:18px;
    font-size:17px;
    color:#555;
}

.doctor-content .btn-primary{
    margin-top:35px;
}


/*=========================================
ANIMATION
=========================================*/

.timeline-item,
.doctor-card,
.philosophy-image,
.story-grid{
    transition:.45s ease;
}

.timeline-item:hover,
.doctor-card:hover{
    transform:translateY(-8px);
}



/*=========================================
ACHIEVEMENTS
=========================================*/

.achievement-section{
    background:#111;
    color:#fff;
}

.achievement-grid{
    display:grid;
    grid-template-columns:repeat(4,1fr);
    gap:30px;
}

.achievement-box{
    text-align:center;
    padding:60px 30px;
    border:1px solid rgba(255,255,255,.08);
    border-radius:30px;
    transition:.4s;
}

.achievement-box:hover{
    transform:translateY(-10px);
    border-color:#C8A76A;
}

.achievement-box h2{
    font-size:72px;
    color:#C8A76A;
    margin-bottom:15px;
    line-height:1;
}

.achievement-box p{
    color:#d8d8d8;
    font-size:18px;
}

/*=========================================
WHY NEOGEN
=========================================*/

.why-grid{
    display:grid;
    grid-template-columns:repeat(3,1fr);
    gap:30px;
}

.why-card{
    background:#fff;
    border-radius:30px;
    padding:45px;
    box-shadow:0 18px 55px rgba(0,0,0,.06);
    transition:.4s;
}

.why-card:hover{
    transform:translateY(-10px);
    box-shadow:0 35px 80px rgba(0,0,0,.10);
}

.why-card .icon{
    width:75px;
    height:75px;
    display:flex;
    align-items:center;
    justify-content:center;
    font-size:32px;
    background:#F3EEF3;
    border-radius:50%;
    margin-bottom:25px;
}

.why-card h3{
    font-size:28px;
    margin-bottom:18px;
    color:#111;
}

.why-card p{
    color:#666;
    line-height:1.9;
}

/*=========================================
CLINIC GALLERY
=========================================*/

.clinic-gallery{
    display:grid;
    grid-template-columns:repeat(3,1fr);
    gap:25px;
}

.gallery-item{
    overflow:hidden;
    border-radius:30px;
    height:320px;
}

.gallery-item.large{
    grid-column:span 2;
    height:420px;
}

.gallery-item img{
    width:100%;
    height:100%;
    object-fit:cover;
    transition:1s;
}

.gallery-item:hover img{
    transform:scale(1.08);
}

/*=========================================
TESTIMONIALS
=========================================*/

.testimonial-section{
    background:#FAFAFA;
}

.testimonial-grid{
    display:grid;
    grid-template-columns:repeat(3,1fr);
    gap:30px;
}

.testimonial-card{
    background:#fff;
    padding:45px;
    border-radius:30px;
    box-shadow:0 18px 55px rgba(0,0,0,.05);
    transition:.4s;
}

.testimonial-card:hover{
    transform:translateY(-8px);
}

.quote{
    font-size:32px;
    color:#C8A76A;
    margin-bottom:20px;
}

.testimonial-card p{
    line-height:2;
    color:#666;
    margin-bottom:30px;
}

.testimonial-card h4{
    color:#111;
    font-size:18px;
}

/*=========================================
BRANCHES
=========================================*/

.branch-grid{
    display:grid;
    grid-template-columns:repeat(2,1fr);
    gap:35px;
}

.branch-card{
    background:#fff;
    border-radius:30px;
    padding:60px;
    text-align:center;
    box-shadow:0 18px 55px rgba(0,0,0,.05);
    transition:.4s;
}

.branch-card:hover{
    transform:translateY(-8px);
}

.branch-card h3{
    font-size:36px;
    margin-bottom:15px;
    color:#111;
}

.branch-card p{
    color:#666;
}

/*=========================================
CTA
=========================================*/

.premium-cta{
    background:#111;
    color:#fff;
    text-align:center;
}

.premium-cta span{
    display:inline-block;
    color:#C8A76A;
    letter-spacing:4px;
    text-transform:uppercase;
    font-size:14px;
    margin-bottom:25px;
}

.premium-cta h2{
    font-size:64px;
    line-height:1.1;
    margin-bottom:25px;
}

.premium-cta p{
    color:#d7d7d7;
    max-width:700px;
    margin:auto;
    line-height:2;
    font-size:18px;
}

.cta-buttons{
    margin-top:45px;
    display:flex;
    justify-content:center;
    gap:20px;
}

.premium-cta .btn-secondary{
    background:transparent;
    color:#fff;
    border:1px solid rgba(255,255,255,.2);
}

.premium-cta .btn-secondary:hover{
    background:#fff;
    color:#111;
}

/*=========================================
RESPONSIVE
=========================================*/

@media(max-width:1200px){

.about-grid,
.story-grid,
.philosophy-grid{
    grid-template-columns:1fr;
}

.doctor-card{
    grid-template-columns:1fr;
}

.doctor-image{
    height:520px;
}

.timeline{
    grid-template-columns:repeat(2,1fr);
}

.achievement-grid{
    grid-template-columns:repeat(2,1fr);
}

.why-grid{
    grid-template-columns:repeat(2,1fr);
}

.testimonial-grid{
    grid-template-columns:1fr;
}

.clinic-gallery{
    grid-template-columns:1fr 1fr;
}

.gallery-item.large{
    grid-column:span 2;
}

}

@media(max-width:768px){

.about-hero{
    padding:90px 0;
}

.hero-left h1{
    font-size:46px;
}

.section-heading h2,
.story-left h2,
.philosophy-content h2,
.timeline-title h2,
.premium-cta h2{
    font-size:38px;
}

.hero-btns,
.cta-buttons{
    flex-direction:column;
}

.hero-stats{
    flex-direction:column;
    gap:25px;
}

.timeline,
.achievement-grid,
.why-grid,
.branch-grid,
.clinic-gallery{
    grid-template-columns:1fr;
}

.gallery-item.large{
    grid-column:span 1;
    height:320px;
}

.doctor-content{
    padding:35px;
}

.branch-card,
.testimonial-card,
.why-card{
    padding:35px;
}

}

/*=========================================
ANIMATION
=========================================*/

.fade-up{

opacity:0;

transform:translateY(70px);

transition:1s cubic-bezier(.22,.61,.36,1);

}

.fade-up.show{

opacity:1;

transform:none;

}

.gallery-item,
.why-card,
.timeline-item,
.branch-card,
.testimonial-card,
.doctor-card{

will-change:transform;

}

.hero-image{

transition:transform .25s linear;

}

.glass-card{

transition:transform .15s linear;

}


/*=========================================
PREMIUM INTERACTIONS
=========================================*/

.reveal-line{

display:block;
opacity:0;
transform:translateY(60px);
transition:.8s cubic-bezier(.22,.61,.36,1);

}

.reveal-line.active{

opacity:1;
transform:none;

}

.loaded .about-hero{

animation:heroFade 1.2s ease forwards;

}

@keyframes heroFade{

from{

opacity:0;
transform:translateY(30px);

}

to{

opacity:1;
transform:none;

}

}

header.scrolled{

background:rgba(255,255,255,.75);
backdrop-filter:blur(18px);
box-shadow:0 10px 30px rgba(0,0,0,.05);

}

.section-visible{

animation:sectionFade .9s ease forwards;

}

@keyframes sectionFade{

from{

opacity:.3;

}

to{

opacity:1;

}

}

.btn-primary,
.btn-secondary{

transition:
transform .25s ease,
box-shadow .25s ease,
background .25s ease;

}

.why-card,
.branch-card,
.testimonial-card{

transform-style:preserve-3d;

}



/*=========================================
FLOATING BLOBS
=========================================*/

.floating-blob{

position:absolute;
width:320px;
height:320px;
border-radius:50%;
background:rgba(127,64,113,.08);
filter:blur(90px);
animation:floatBlob 10s ease-in-out infinite;
pointer-events:none;

}

@keyframes floatBlob{

0%,100%{

transform:translateY(0);

}

50%{

transform:translateY(-45px);

}

}

/*=========================================
MOUSE GLOW
=========================================*/

.mouse-glow{

position:fixed;
width:500px;
height:500px;
border-radius:50%;
background:radial-gradient(circle,
rgba(127,64,113,.12),
transparent 70%);

pointer-events:none;

transform:translate(-50%,-50%);

z-index:0;

transition:left .08s linear,
top .08s linear;

}

/*=========================================
IMAGE REVEAL
=========================================*/

.image-hidden{

opacity:0;

transform:scale(.92);

transition:1s cubic-bezier(.22,.61,.36,1);

}

.image-show{

opacity:1;

transform:scale(1);

}

/*=========================================
BUTTON RIPPLE
=========================================*/

.btn-primary,
.btn-secondary{

overflow:hidden;
position:relative;

}

.ripple{

position:absolute;

border-radius:50%;

background:rgba(255,255,255,.35);

transform:scale(0);

animation:ripple .7s linear;

pointer-events:none;

}

@keyframes ripple{

to{

transform:scale(4);

opacity:0;

}

}




/*=========================================
SCROLL PROGRESS
=========================================*/

.scroll-progress{

position:fixed;

top:0;

left:0;

height:3px;

width:0;

background:linear-gradient(90deg,#7F4071,#C8A76A);

z-index:99999;

transition:.08s;

}


/*=========================================
SCROLL TO TOP
=========================================*/

.scrollTop{

position:fixed;

right:35px;

bottom:35px;

width:58px;

height:58px;

border:none;

border-radius:50%;

background:#7F4071;

color:#fff;

font-size:22px;

cursor:pointer;

opacity:0;

visibility:hidden;

transition:.35s;

box-shadow:0 15px 40px rgba(127,64,113,.35);

z-index:999;

}

.scrollTop.show{

opacity:1;

visibility:visible;

}

.scrollTop:hover{

transform:translateY(-6px);

background:#111;

}


/*=========================================
PAGE LOADED
=========================================*/

.page-loaded{

animation:fadePage .8s ease;

}

@keyframes fadePage{

from{

opacity:0;

}

to{

opacity:1;

}

}


/*=========================================
SECTION HOVER
=========================================*/

section{

transition:.45s;

}

section:hover{

z-index:2;

}


/*=========================================
PREMIUM SELECTION
=========================================*/

::selection{

background:#7F4071;

color:#fff;

}


/*=========================================
SCROLLBAR
=========================================*/

::-webkit-scrollbar{

width:9px;

}

::-webkit-scrollbar-track{

background:#F5F5F5;

}

::-webkit-scrollbar-thumb{

background:#7F4071;

border-radius:20px;

}

::-webkit-scrollbar-thumb:hover{

background:#5E2D53;

}


/*=========================================
SMOOTH IMAGE
=========================================*/

img{

backface-visibility:hidden;

transform:translateZ(0);

}


/*=========================================
BUTTON SHADOW
=========================================*/

.btn-primary:hover{

box-shadow:

0 20px 60px rgba(127,64,113,.35);

}

.btn-secondary:hover{

box-shadow:

0 20px 50px rgba(0,0,0,.12);

}


/*=========================================
GLASS EFFECT
=========================================*/

.glass-card{

backdrop-filter:blur(25px);

-webkit-backdrop-filter:blur(25px);

}


/*=========================================
END
=========================================*/

