/* =========================================
   MEDICAL PROJECT PAGE
   AGAPE TRUST
   ========================================= */

:root {
    --maroon: #741b2a;
    --dark-maroon: #5b1420;
    --cream: #f8f5ed;
    --white: #ffffff;
    --text: #68615c;
    --dark-text: #302b28;
    --gold: #c7a96b;
    --border: #e5ded3;
}


/* =========================================
   RESET
   ========================================= */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: "Poppins", sans-serif;
    background: var(--white);
    color: var(--text);
    line-height: 1.8;
}

img {
    max-width: 100%;
    display: block;
}

a {
    text-decoration: none;
}


/* =========================================
   CONTAINER
   ========================================= */

.container {
    width: min(1180px, 90%);
    margin: 0 auto;
}
/* ==========================
   Header
========================== */

.site-header {
    width: 100%;
    background: #ffffff;
    border-bottom: 1px solid #e8e8e8;
    padding: 15px 0;
}

.container {
    width: 92%;
    max-width: 1400px;
    margin: auto;
}

.navbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

/* Logo Section */

.logo-section {
    display: flex;
    align-items: center;
    flex-shrink: 0;
}

.logo img {
    width: 100px;
    height: 100px;
    object-fit: contain;
    display: block;
}

.logo-text {
    margin-left: 18px;
}

.logo-text h2 {
    margin: 0;
    font-size: 32px;
    color: #741b2a;
    font-weight: 700;
    line-height: 1.1;
}

.logo-text span {
    display: block;
    margin-top: 5px;
    color: #666;
    font-size: 15px;
}

/* Navigation */

.nav-right {
    display: flex;
    align-items: center;
    gap: 40px;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 35px;
    margin: 0;
    padding: 0;
}

.nav-menu a {
    color: #741b2a;
    text-decoration: none;
    font-weight: 600;
    font-size: 16px;
}

.header-actions {
    display: flex;
    align-items: center;
}

.search-btn {
    border: none;
    background: none;
    font-size: 20px;
    cursor: pointer;
}
/*========================================
            MEGA MENU
========================================*/

.has-mega{
    position:relative;
}

/* Hide by default */

.mega-menu{

    position:absolute;

    top:100%;
    left:50%;
    transform:translateX(-50%) translateY(20px);

    width: 1000px;
    max-width:92vw;

    background:#ffffff;

    display:grid;
    grid-template-columns:260px 1fr;

    gap:45px;

    padding:35px;

    border-radius:0 0 22px 22px;

    box-shadow:0 30px 70px rgba(0,0,0,.12);

    opacity:0;
    visibility:hidden;

    transition:all .35s ease;

    z-index:999;
}
/*========================================
        RIGHT ALIGNED MEGA MENUS
========================================*/

.mega-right .mega-menu{

    left:auto;

    right:0;

    transform:translateY(20px);

}

.mega-right:hover .mega-menu{

    transform:translateY(0);

}

/* Show on hover */

.has-mega:hover .mega-menu{

    opacity:1;
    visibility:visible;

    transform:translateX(-50%) translateY(0);

}

/*========================================
            LEFT COLUMN
========================================*/

.mega-links{

    display:flex;
    flex-direction:column;
    gap:15px;

}

.mega-links a{

    text-decoration:none;

    color:#555;

    font-size:15px;

    font-weight:600;

    transition:.3s;

    position:relative;

    padding-left:0;

}

.mega-links a::before{

    content:"";

    position:absolute;

    left:-14px;

    top:50%;

    width:6px;
    height:6px;

    background:#741B2A;

    border-radius:50%;

    transform:translateY(-50%) scale(0);

    transition:.3s;

}

.mega-links a:hover{

    color:#741B2A;

    padding-left:14px;

}

.mega-links a:hover::before{

    transform:translateY(-50%) scale(1);

}

/*========================================
            RIGHT CARD
========================================*/

.mega-card{

    display:flex;

    align-items:center;

    gap:30px;

}

.mega-card img{

    width:270px;

    height:270px;

    object-fit:cover;

    border-radius:18px;

}

.mega-text{

    flex:1;

}

.mega-text h3{

    font-family:"Playfair Display", serif;

    color:#741B2A;

    font-size:2.2rem;

    margin-bottom:15px;

}

.mega-text p{

    color:#555;

    line-height:1.8;

    margin-bottom:25px;

}
.mega-btn{

    display:inline-flex;
    align-items:center;
    justify-content:center;

    padding:14px 34px;

    background:#741B2A;
    color:#ffffff !important;

    text-decoration:none;

    border:none;
    border-radius:40px;

    font-size:15px;
    font-weight:700;

    letter-spacing:.4px;

    box-shadow:0 8px 20px rgba(116,27,42,.25);

    transition:.35s ease;

}

.mega-btn:hover{

    background:#5d1622;

    color:#ffffff !important;

    transform:translateY(-4px);

    box-shadow:0 12px 30px rgba(116,27,42,.35);

}

.mega-btn:visited,
.mega-btn:active{

    color:#ffffff !important;

}

/*========================================
            RESPONSIVE
========================================*/

@media(max-width:1100px){

    .mega-menu{

        width:95vw;

        grid-template-columns:1fr;

    }

    .mega-card{

        flex-direction:column;

        align-items:flex-start;

    }

    .mega-card img{

        width:100%;

        height:240px;

    }

}


/* =========================================
   HERO
   ========================================= */

.project-hero {
    min-height: 620px;

    display: flex;
    align-items: center;

    background:
        linear-gradient(
            rgba(70, 25, 31, 0.92),
            rgba(70, 25, 31, 0.92)
        ),
        url("../images/medical-project.png");

    background-size: cover;
    background-position: center;

    color: var(--white);
}

.project-label {
    display: block;

    margin-bottom: 22px;

    font-family: "Poppins", sans-serif;
    font-size: 12px;
    font-weight: 600;

    letter-spacing: 3px;
    text-transform: uppercase;

    color: var(--gold);
}

.project-hero h1 {
    max-width: 950px;

    font-family: "Playfair Display", serif;
    font-size: clamp(55px, 7vw, 92px);
    line-height: 1.05;
    font-weight: 500;

    color: var(--white);

    margin-bottom: 25px;
}

.hero-description {
    max-width: 750px;

    font-size: 17px;
    line-height: 1.8;

    color: rgba(255, 255, 255, 0.85);
}


/* =========================================
   GENERAL SECTION
   ========================================= */

.project-section {
    padding: 110px 0;
}

.light-section {
    background: var(--cream);
}

.section-label {
    display: block;

    margin-bottom: 15px;

    font-size: 11px;
    font-weight: 600;

    letter-spacing: 2.5px;
    text-transform: uppercase;

    color: var(--maroon);
}

.section-label.light {
    color: var(--gold);
}

.project-section > .container > h2 {
    max-width: 950px;

    margin-bottom: 25px;

    font-family: "Playfair Display", serif;
    font-size: clamp(40px, 5vw, 64px);
    line-height: 1.15;
    font-weight: 500;

    color: var(--maroon);
}

.section-description {
    max-width: 1050px;

    font-size: 15px;
    line-height: 1.95;

    color: var(--text);
}


/* =========================================
   ABOUT THE PROJECT
   ========================================= */

.intro-content {
    width: 100%;
}

.intro-content h2 {
    max-width: 850px;

    margin-bottom: 28px;

    font-family: "Playfair Display", serif;
    font-size: clamp(42px, 5vw, 66px);
    line-height: 1.1;
    font-weight: 500;

    color: var(--maroon);
}


/* ALL DETAILED MEDICAL PARAGRAPHS
   STRETCH ACROSS THE AVAILABLE WIDTH */

.intro-content p {
    width: 100%;
    max-width: none;

    margin-bottom: 24px;

    font-family: "Poppins", sans-serif;
    font-size: 15px;
    line-height: 1.95;

    color: var(--text);
}


/* =========================================
   APPROACH
   ========================================= */

.approach-grid {
    display: grid;

    grid-template-columns:
        repeat(3, 1fr);

    gap: 35px;

    margin-top: 55px;
}

.approach-item {
    padding-top: 25px;

    border-top: 1px solid var(--border);
}

.approach-number {
    display: block;

    margin-bottom: 15px;

    font-size: 12px;
    font-weight: 600;

    letter-spacing: 2px;

    color: var(--gold);
}

.approach-item h3 {
    margin-bottom: 10px;

    font-family: "Playfair Display", serif;
    font-size: 29px;
    font-weight: 500;

    color: var(--maroon);
}

.approach-item p {
    font-size: 14px;
    line-height: 1.8;
}


/* =========================================
   SERVICES
   ========================================= */

.services-list {
    margin-top: 50px;

    border-top: 1px solid var(--border);
}

.service-item {
    display: grid;

    grid-template-columns: 80px 1fr;

    gap: 25px;

    padding: 30px 0;

    border-bottom: 1px solid var(--border);
}

.service-item > span {
    font-size: 12px;
    font-weight: 600;

    letter-spacing: 2px;

    color: var(--gold);
}

.service-item h3 {
    margin-bottom: 5px;

    font-family: "Playfair Display", serif;
    font-size: 28px;
    font-weight: 500;

    color: var(--maroon);
}

.service-item p {
    max-width: 850px;

    font-size: 14px;
    line-height: 1.8;
}


/* =========================================
   IMPACT
   ========================================= */

.impact-grid {
    display: grid;

    grid-template-columns:
        repeat(4, 1fr);

    gap: 20px;

    margin-top: 55px;
}

.impact-item {
    padding: 30px;

    border: 1px solid var(--border);

    background: var(--white);
}

.impact-item strong {
    display: block;

    margin-bottom: 12px;

    font-family: "Playfair Display", serif;
    font-size: 38px;
    font-weight: 500;

    color: var(--gold);
}

.impact-item span {
    font-size: 14px;
    font-weight: 500;

    color: var(--dark-text);
}


/* =========================================
   CTA
   ========================================= */

.project-cta {
    padding: 110px 0;

    background: var(--maroon);

    color: var(--white);
}

.project-cta h2 {
    max-width: 800px;

    margin-bottom: 20px;

    font-family: "Playfair Display", serif;
    font-size: clamp(42px, 5vw, 65px);
    line-height: 1.1;
    font-weight: 500;

    color: var(--white);
}

.project-cta p {
    max-width: 750px;

    margin-bottom: 35px;

    font-size: 15px;
    line-height: 1.9;

    color: rgba(255, 255, 255, 0.82);
}

.cta-button {
    display: inline-flex;

    align-items: center;
    gap: 18px;

    padding: 14px 25px;

    border: 1px solid rgba(255, 255, 255, 0.5);

    font-family: "Poppins", sans-serif;
    font-size: 13px;
    font-weight: 500;

    color: var(--white);

    transition: 0.3s ease;
}

.cta-button span {
    font-size: 20px;
}

.cta-button:hover {
    background: var(--white);
    color: var(--maroon);
}


/* =========================================
   RESPONSIVE
   ========================================= */

@media (max-width: 900px) {

    .project-hero {
        min-height: 520px;
    }

    .project-section,
    .project-cta {
        padding: 80px 0;
    }

    .approach-grid {
        grid-template-columns: 1fr;
        gap: 45px;
    }

    .impact-grid {
        grid-template-columns:
            repeat(2, 1fr);
    }
}


@media (max-width: 600px) {

    .container {
        width: 88%;
    }

    .project-hero {
        min-height: 500px;
    }

    .project-hero h1 {
        font-size: 48px;
    }

    .hero-description {
        font-size: 15px;
    }

    .project-section,
    .project-cta {
        padding: 65px 0;
    }

    .intro-content h2 {
        font-size: 40px;
    }

    .intro-content p {
        font-size: 14px;
        line-height: 1.85;
    }

    .service-item {
        grid-template-columns: 50px 1fr;
        gap: 15px;
    }

    .service-item h3 {
        font-size: 24px;
    }

    .impact-grid {
        grid-template-columns: 1fr;
    }

}
.site-footer {
  background: linear-gradient(180deg, #5A0F0F 0%, #3D0808 100%); /* AUR DARK KIYA */
  color: #fff;
  font-family: 'Poppins', sans-serif;
  padding: 50px 0 20px;
}

.footer-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 40px;
}

/* ========== TOP SECTION ========== */
.footer-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start; /* IMPORTANT: upar se align */
  gap: 60px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}

/* LEFT SIDE */
.footer-brand {
  flex: 2;
}

.brand-header {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-bottom: 20px;
}

.brand-header img {
  width: 110px; /* LOGO BARA */
  height: 110px;
  object-fit: contain;
  flex-shrink: 0; /* logo squeeze na ho */
}

.brand-title h2 {
  margin: 0;
  font-size: 30px;
  font-weight: 700;
  letter-spacing: 1px;
}

.brand-title span {
  font-size: 13px;
  color: #FFD700;
  font-weight: 500;
}

.footer-brand p {
  font-size: 14px;
  line-height: 1.7;
  opacity: 0.9;
  text-align: left;
}

/* RIGHT SIDE - YEHI THEEK KARNA THA */
.footer-connect {
  flex: 1;
  display: flex;
  flex-direction: column; /* social upar newsletter neeche */
  gap: 35px;
  text-align: left;
  min-width: 300px; /* taake squeeze na ho */
}

.social-area h3,
.newsletter h3 {
  margin: 0 0 12px;
  font-size: 16px;
  font-weight: 600;
  color: #fff;
}

.social-icons {
  display: flex; /* ROW ME RAHE */
  flex-direction: row; /* IMPORTANT */
  justify-content: flex-start;
  gap: 12px;
}

.social-icons a {
  width: 38px;
  height: 38px;
  background: #fff;
  color: #5A0F0F;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  transition: 0.3s;
  flex-shrink: 0;
}

.social-icons a:hover {
  background: #FFD700;
  transform: translateY(-3px);
}

.newsletter p {
  font-size: 13px;
  line-height: 1.5;
  opacity: 0.9;
  margin-bottom: 15px;
}

.newsletter form {
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-items: flex-start;
}

.newsletter input {
  width: 100%;
  max-width: 280px;
  padding: 11px 16px;
  border-radius: 25px;
  border: 1px solid rgba(255,255,255,0.3);
  background: rgba(255,255,255,0.1);
  color: #fff;
  outline: none;
}

.newsletter button {
  padding: 11px 28px;
  border-radius: 25px;
  border: none;
  background: #FFD700;
  color: #5A0F0F;
  font-weight: 700;
  cursor: pointer;
}

/* ========== MIDDLE ========== */
.footer-links {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 40px;
  padding: 40px 0;
  text-align: left;
}

.footer-links h4 {
  margin-bottom: 18px;
  font-size: 16px;
  font-weight: 600;
  color: #FFD700;
}

.contact-list li {
  display: flex;
  gap: 10px;
  opacity: 0.9;
  line-height: 1.6;
  margin-bottom: 12px;
}

/* ========== BOTTOM ========== */
.footer-bottom {
  display: flex;
  justify-content: space-between;
  padding-top: 20px;
  border-top: 1px solid rgba(255,255,255,0.1);
  font-size: 13px;
}

/* RESPONSIVE */
@media (max-width: 900px) {
  .footer-top {
    flex-direction: column;
    text-align: center;
  }
  .brand-header {
    justify-content: center;
  }
  .footer-connect {
    text-align: center;
  }
  .social-icons {
    justify-content: center;
  }
  .newsletter form {
    align-items: center;
  }
}
