 * {
    margin: 0;
     padding: 0;
      box-sizing: border-box;
    }
body {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    background: #f8f8f8;
}

html{
    scroll-behavior: smooth;
}
/* NAV */
.container-nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 25px;
}
.brand {
     display: flex;
     align-items: center;
     font-size: 20px;
     color: #003B5C;
    }
.brand strong {
    color: #D94F4F;
}
.logo {
    height: 45px;
    margin-right: 10px;
}
.menu-toggle {
    display: none;
    font-size: 32px;
    cursor: pointer;
}
nav ul {
    display: flex;
    gap: 20px;
}
nav ul li a {
    color: #003B5C;
    font-weight: bold;
    text-decoration: none;
}


/* SECTION CONTAINER / CARD STYLE */
.section-card {
    width: 90%;
    max-width: 900px;
    margin: 50px auto;
    background:#ffff;
    padding: 30px;
    border-radius: 18px;
    box-shadow: 0px 8px 20px rgba(0,0,0,0.12);

    /* animation base state */
    opacity: 1;
    transform: translateY(0);
    transition: all 0.6s ease;
}

/* When visible */
.section-card.animate {
    opacity: 1;
    transform: translateY(-20px);
}

/* Section Title */
.section-card h2 {
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 15px;
    color: #111;
}

/* Section Paragraph */
.section-card p {
    font-size: 18px;
    line-height: 1.6;
    color: #444;
}
.section-card.show{
    opacity: 1;
    transform: translateY(0);

}


/* SERVICES */
.service-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: white;
    padding: 25px;
    border-radius: 12px;
    margin-bottom: 30px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);}
.service-row img {
    width: 250px;
    border-radius: 10px;
}
/* FOOTER */


/* FOOTER */
footer {
    background: #003B5C;
    color: white;
    padding: 40px 10%;
}

.footer-container {
    display: flex;
    flex-direction: column;
    text-align: center;
    gap: 25px;
}

.footer-col h4 {
    margin-bottom: 10px;
}

.footer-col a {
    display: block;
    color: white;
    margin-bottom: 6px;
    text-decoration: none;
}

.footer-logo {
    height: 60px;
    margin-bottom: 10px;
}

.footer-bottom {
    margin-top: 30px;
    text-align: center;
    padding-top: 15px;
    border-top: 1px solid rgba(255,255,255,0.3);
}



/* MOBILE */
@media (max-width: 768px) {
     .menu-toggle {
         display: block; 
        }
 nav ul {
    display: none;
    flex-direction: column;
    background: white;
    padding: 10px;
    width: 100%;
}
 .service-row {
    flex-direction: column;
    text-align: center;
}
 .service-row img {
    width: 100%;
    margin-top: 15px;
}
#hero {
    text-align: center;
    padding: 20px;
}
}


/* domicilary page */
.service-page{
    background: yellow;
}

.service-hero {
    position: relative;
    width: 100%;
    height: 55vh;
    overflow: hidden;
}

.service-hero img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(60%);
}

.service-hero h1 {
    position: absolute;
    bottom: 20px;
    left: 10%;
    color: white;
    font-size: 45px;
    font-weight: bold;
}

.service-page {
    padding: 60px 10%;
    background: white;
}

.service-page h2 {
    color: #003B5C;
    margin: 25px 0 10px;
}

.service-page p,
.service-page ul {
    font-size: 18px;
    color: #333;
    line-height: 1.6;
}

.image-row {
    display: flex;
    gap: 20px;
    margin: 20px 0 30px;
}

.image-row img {
    width: 50%;
    border-radius: 10px;
}

/* MOBILE */
@media (max-width: 768px) {
    .image-row {
        flex-direction: column;
    }
    .image-row img {
        width: 100%;
    }
}
.contact-block{
    text-align: center;
    background: #f9f9f9;
    padding: 50px 10%;
    border-radius: 10px;
}

.contact-grid {
    display: flex;
    justify-content: space-between;
    margin: 30px 0;
    flex-wrap: wrap;
}

.contact-item {
    width: 30%;
}

.contact-btn {
    display: inline-block;
    background: #003B5C;
    color: #fff;
    padding: 12px 25px;
    border-radius: 6px;
    text-decoration: none;
    font-weight: bold;
}

/* Mobile */
@media (max-width: 768px) {

    .contact-grid {
        flex-direction: column;
        text-align: center;
        gap: 20px;
    }

    .contact-item {
        width: 100%;
    }
}


/* BRAND COLORS */
:root {
    --brand-blue: #007b9e;
    --brand-red: #e63946;
    --brand-light: #eef7ff;
}

/* Sticky Header */
.main-header {
    width: 100%;
    position: sticky;
    top: 0;
    z-index: 999;
    padding: 0;
    background: transparent;
}

/* Rounded Header Box */
.header-container {
    width: 90%;
    max-width: 1200px;
    margin: auto;
   background: rgba(255,255,255,0.3);
    padding: 8px 20px;
    border-radius: 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;

    /* soft shadow */
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

/* Logo */
.logo {
    height: 60px;
    object-fit: contain;
}
.logo img{
    background: transparent;
}

/* Hamburger Menu */
.menu-icon {
    display: flex;
    flex-direction: column;
    gap: 6px;
    cursor: pointer;
}

.menu-icon span {
    width: 30px;
    height: 4px;
    background: #000;
    border-radius: 5px;
}


/* Mobile Dropdown Menu */
#mobile-menu {
    width: 90%;
    max-width: 1200px;
    margin: 10px auto;
    background: rgba(255,255,255,0.92);
    backdrop-filter: blur(10px);
    padding: 0;
    border-radius: 18px;
    display: none;
    flex-direction: column;
    overflow: hidden;

    /* animation */
    animation: dropdown 0.3s ease;
}

/* Dropdown Animation */
@keyframes dropdown {
    from { opacity: 0; transform: translateY(-5px); }
    to { opacity: 1; transform: translateY(0); }
}

#mobile-menu a {
    padding: 15px 20px;
    font-size: 18px;
    color: #333;
    text-decoration: none;
    border-bottom: 1px solid #eee;
}

#mobile-menu a:last-child {
    border-bottom: none;
}


/* HERO SECTION */
.hero-section {
    min-height: 100vh;
    background: url('../images/newhero.png') center/cover no-repeat;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 0 20px;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}
section{
    scroll-margin-top:100px ;
}
.hero-content{
    position: relative;
    z-index: 2;
}
.hero-buttons a{transition: all 0.3s ease;}
.hero-buttons a:hover{ transform: translate(-2px);
}

.hero-content h1 {
    color: #ffffff;
    font-size: 42px;
    font-weight: 800;
    line-height: 1.3;
    margin-bottom: 15px;
}

.hero-content p {
    color: #e6e6e6;
    font-size: 18px;
    max-width: 500px;
    margin: auto;
    margin-bottom: 25px;
    position: relative;
    z-index: 2;
    margin-top: 20pxpx;
}

.hero-section::before{
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.5);
    z-index: 1;
}

.hero-buttons{
    margin-top: 30px;
    display: flex;
    gap: 15px;
    justify-content: center;
    flex-wrap: wrap;
}

.btn-primary{
    background: 1e88a8;
    color: white;
    padding: 12px 25px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 600;
}

.btn-secondary{
    background: white;
    color: #1e88a8;
    padding: 12px 25px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 600;

}

.quick-actions{
display:grid;
grid-template-columns:repeat(4,1fr);
gap:25px;
padding:0 10%;
margin-top:-60px;
position:relative;
z-index:3;
}

.action-card{
background:white;
padding:25px;
border-radius:12px;
text-align:center;
box-shadow:0 12px 25px rgba(0,0,0,0.08);
transition:0.3s;
}

.action-card:hover{
transform:translateY(-5px);
box-shadow:0 18px 35px rgba(0,0,0,0.12);
} 

@media (max-width:600px){
    .quick-actions{
        grid-template-columns: 1fr;
        margin-top: -30px;
    }
}






.hero-btn{
    background: #f27c32;
    color: white;
    padding: 14px 28px;
    border-radius: 6px;
    text-decoration: none;
    font-weight: bold;
}

.recruitment-preview-img{
    width: 100%;
    max-height: cover;
    object-fit: cover;
    border-radius: 10px;
}

.founder-section{
    text-align: center;
    padding: 50px 10%;
}

.founder-img{
    width: 180px;
    height: 180px;
    object-fit: cover;
    border-radius: 50%;
    display: block;
    margin: 0 auto 20px;
    box-shadow: 0 5px 15px  rgba(0,0,0,0.15);
}

.founder-section h2{
    margin-top: 10px;
    margin-bottom: 20px;
    color: #003B5C;
    font-size: 28px;
}

.founder-section p{
    font-size: 17px;
    line-height: 1.7;
    color: #333;
    margin-bottom: 15px;
}

.section-card{
    opacity: 1;
    transform: translateY(40px);
    transition: all 0.6s ease-out;
}
.section-card.animate{
    opacity: 1;
    transform: translateY(0px);
}

.section-card{
    background: rgba(0,123,158,0.12);
    border-left: 5px solid #007b9e;


    border-radius: 18px;
    padding: 30px;
    margin: 40px auto;
    box-shadow: 0px 8px 20px rgba(0,0,0,0.1);
}


/* Default fade-up */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: all 0.8s ease-out;
}

.reveal.show {
  opacity: 1;
  transform: translateY(0);
}

/* Slide from left */
.reveal-left {
  opacity: 0;
  transform: translateX(-60px);
  transition: all 0.8s ease-out;
}

.reveal-left.show {
  opacity: 1;
  transform: translateX(0);
}

/* Slide from right */
.reveal-right {
  opacity: 0;
  transform: translateX(60px);
  transition: all 0.8s ease-out;
}

.reveal-right.show {
  opacity: 1;
  transform: translateX(0);
}

/* Slide from bottom (stronger) */
.reveal-up {
  opacity: 0;
  transform: translateY(80px);
  transition: all 0.8s ease-out;
}

.reveal-up.show {
  opacity: 1;
  transform: translateY(0);
}

/* Slide from top */
.reveal-down {
  opacity: 0;
  transform: translateY(-80px);
  transition: all 0.8s ease-out;
}

.reveal-down.show {
  opacity: 1;
  transform: translateY(0);
} 

/* new changes */

.about-section{
    background: #cfe7ef;
    padding: 80px 10%;
}

.about-section h1{
    font-size: 48px;
    margin-bottom: 20px;
}

.about-section p{
    max-width: 700px;
    line-height: 1.6;
}


.value{
    padding: 70px 10%;
    text-align: center;
    background: white;
}


.values-card{
    margin-top: 15px;
    font-size: 18px;
    padding: 20px;
}


.value-grid{
    display: grid;
    grid-template-columns:repeat(4,1fr);
    gap: 40px;
    margin-top: 40px;
    text-align: center;
}






.services{
padding:80px 10%;
text-align:left;
}

.services h2{
font-size:36px;
margin-bottom:40px;
color: #163a5f;
}

.services-grid{
display:grid;
grid-template-columns:repeat(4,1fr);
gap:40px;
}

.service-card img{
width:55px;
margin-bottom:15px;
transition: transform 0.3s ease;
}

.service-card:hover img{
    transform: scale(1.1);
}
.service-card h3{
margin-bottom:10px;
font-size:20px;
}

.service-card{
    transition: all 0.3s ease;
    padding: 20px;
    border-radius: 8px;
}

.service-card:hover{
    transform: translateY(-6px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.08);
}



.why{
background:#cfe3ea;
padding:60px 10%;
}

.why-grid{
display: grid;
align-items: center;
grid-template-columns: 1fr 1fr;
}

.why h2{
    color: #163a5f;
    font-size: 36px;
}

.why ul{
list-style:none;
padding:0;
}

.why li{
margin:15px 0;
font-size:18px;
color: #2b2b2b;
}


@media(max-width:800px){
    .why-grid{
        grid-template-columns: 1fr;
        gap: 20px;
    }
}





@media(max-width:900px){
    .services-grid{
        grid-template-columns: repeat(2,1fr);
    }

    .hero h1{
        font-size: 32px;
    }
}


@media(max-width:500px){
    .services-grid{
        grid-template-columns: 1fr;
    }
}



.about{
padding:90px 10%;
background:#f6fafc;
}

.about-container{
display:grid;
grid-template-columns:1fr 1fr;
gap:60px;
align-items:center;
}

.about-text h2{
font-size:36px;
color:#163a5f;
margin-bottom:20px;
}

.about-text p{
font-size:17px;
line-height:1.7;
margin-bottom:15px;
color:#444;
}

.about-image img{
width:100%;
border-radius:12px;
box-shadow:0 12px 30px rgba(0,0,0,0.08);
}


.about-highlights{
display:flex;
gap:30px;
margin-top:25px;
}

.highlight h3{
font-size:28px;
color:#1e88a8;
}

.highlight p{
font-size:14px;
color:#555;
}

@media(max-width:768px){

.about-container{
grid-template-columns:1fr;
text-align:center;
}

.about-highlights{
justify-content:center;
}

}

.trust-bar{
background:#f5f9fc;
padding:25px 10%;
}

.trust-container{
display:flex;
justify-content:space-between;
align-items:center;
flex-wrap:wrap;
gap:20px;
}

.trust-item{
display:flex;
align-items:center;
gap:10px;
font-weight:600;
color:#163a5f;
}

.trust-item span{
color:#2a7de1;
font-size:20px;
}

/*LEADERSHIP*/
.leadership{
padding:80px 10%;
background:#d8edf3;
}

.leadership-title{
font-size:32px;
color:#0f2f4a;
margin-bottom:30px;
}

.leadership-container{
display:grid;
grid-template-columns:2fr 1fr;
gap:40px;
align-items:center;
}

.leadership-text p{
font-size:17px;
line-height:1.7;
color:#333;
}

.leader-card{
text-align:center;
}

.leader-card img{
width:220px;
border-radius:12px;
box-shadow:0 8px 20px rgba(0,0,0,0.1);
margin-bottom:10px;
}

.leader-card h3{
margin:10px 0 5px;
color:#0f2f4a;
}

.role{
color:#555;
font-size:14px;
}

@media(max-width:768px){

.leadership-container{
grid-template-columns:1fr;
text-align:center;
}

}

/*recruitment*/
.recruitment-banner{
height:400px;
 background: url('../images/hero-team.png') center/cover no-repeat;
position:relative;
display:flex;
align-items:center;
justify-content:center;
}

.recruitment-overlay{
width:100%;
height:100%;
background:linear-gradient(
rgba(15,47,74,0.8),
rgba(15,47,74,0.8)
);
display:flex;
align-items:center;
justify-content:center;
}

.recruitment-content{
text-align:center;
color:white;
max-width:600px;
padding:20px;
}

.recruitment-content h2{
font-size:36px;
margin-bottom:15px;
}

.recruitment-content p{
font-size:18px;
line-height:1.6;
margin-bottom:50px;
}

.recruit-btn{
background:#ff8a3d;
color:white;
padding:14px 30px;
text-decoration:none;
border-radius:6px;
font-weight:bold;
transition:0.3s;
}

.recruit-btn:hover{
background:#ff6f1a;
}

.recruit-btn{
background:#ff8a3d;
color:white;
padding:14px 30px;
text-decoration:none;
border-radius:6px;
font-weight:bold;
transition:0.3s;
animation:pulse 2.5s infinite;

}

.recruitment-preview-text{
    margin-bottom: 30px;
}
/* Hover still works */
.recruit-btn:hover{
background:#ff6f1a;
animation:none;
}

/* Pulse animation */
@keyframes pulse{
0%{
box-shadow:0 0 0 0 rgba(255,138,61,0.5);
}
70%{
box-shadow:0 0 0 12px rgba(255,138,61,0);
}
100%{
box-shadow:0 0 0 0 rgba(255,138,61,0);
}
}

@media(max-width:768px){

.recruitment-banner{
height:300px;
}

.recruitment-content h2{
font-size:26px;
}

.recruitment-content p{
font-size:15px;
}

}



.services-section{
padding:60px 20px;
background:#f7fafc;
}

.section-title{
text-align:left;
font-size:28px;
color:#0b2c4d;
margin-bottom:30px;
font-weight:700;
}

/* GRID */
.services-container{
display:grid;
grid-template-columns: repeat(3, 1fr);
gap:25px;
}

/* CARD STYLE */
.service-card{
background:#ffffff;
border-radius:16px;
padding:25px;
text-align:center;
transition:0.3s;
box-shadow:0 5px 15px rgba(0,0,0,0.05);
}

/* ICON */
.service-card img{
width:65px;
margin-bottom:15px;
}

/* TITLE */
.service-card h3{
font-size:18px;
color:#0b2c4d;
margin-bottom:10px;
}

/* TEXT */
.service-card p{
font-size:14px;
color:#5f6b7a;
line-height:1.5;
}

/* HOVER EFFECT (hospital style) */
.service-card:hover{
transform:translateY(-8px);
box-shadow:0 15px 35px rgba(0,0,0,0.08);
}

/* RESPONSIVE */
@media(max-width:768px){
.services-container{
grid-template-columns: repeat(2, 1fr);
}
}

@media(max-width:480px){
.services-container{
grid-template-columns: 1fr;
}
}
