@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700&display=swap');

/* ----------------------------------------------
   BRAND COLOR SYSTEM
---------------------------------------------- */
:root {
   --primary-dark: #022C56;
   --primary-mid: #035589;

   --gradient-start: #01C9B8;
   --gradient-end: #009BCE;

   --white: #ffffff;
   --gray-light: #f7f9fc;
   --gray-dark: #6b7a88;

   --text-dark: #022C56;
   --text-light: #ffffff;

   --shadow-light: rgba(0, 0, 0, 0.08);
   --shadow-medium: rgba(0, 0, 0, 0.18);
}

/* GLOBAL RESET */
* {
   margin: 0;
   padding: 0;
   box-sizing: border-box;
   font-family: 'Poppins', sans-serif;
}

body {
   overflow-x: hidden;
}

/* HEADER / NAVBAR */
header {
   width: 100%;
   display: flex;
   justify-content: space-between;
   align-items: center;
   padding: 16px 6%;
   background: var(--white);
   position: fixed;
   top: 0;
   z-index: 1000;
   box-shadow: 0px 2px 8px var(--shadow-light);
}

.logo img {
   height: 55px;
}

/* Desktop Navigation */
.desktop-nav ul {
   display: flex;
   gap: 25px;
   list-style: none;
}

.desktop-nav ul li a {
   text-decoration: none;
   color: var(--primary-dark);
   font-weight: 600;
   transition: 0.3s;
}

.desktop-nav ul li a:hover {
   color: var(--gradient-end);
}

/* HAMBURGER MENU */
.menu-toggle {
   display: none;
   flex-direction: column;
   gap: 6px;
   cursor: pointer;
}

.menu-toggle span {
   width: 30px;
   height: 3px;
   background: var(--primary-dark);
   border-radius: 4px;
   transition: 0.3s;
}

/* Hamburger → X animation */
.menu-toggle.active span:nth-child(1) {
   transform: translateY(9px) rotate(45deg);
}

.menu-toggle.active span:nth-child(2) {
   opacity: 0;
}

.menu-toggle.active span:nth-child(3) {
   transform: translateY(-9px) rotate(-45deg);
}

/* MOBILE NAV DRAWER */
.mobile-nav {
   position: fixed;
   top: 0;
   right: -100%;
   width: 70%;
   max-width: 320px;
   height: 100vh;
   background: var(--white);
   padding: 120px 40px;
   display: flex;
   flex-direction: column;
   gap: 25px;
   box-shadow: -3px 0 18px var(--shadow-medium);
   border-top-left-radius: 20px;
   border-bottom-left-radius: 20px;
   transition: 0.4s ease;
   z-index: 1100;
}

.mobile-nav.active {
   right: 0;
}

.mobile-nav a {
   text-decoration: none;
   color: var(--primary-dark);
   font-size: 1.25rem;
   font-weight: 600;
   transition: 0.3s;
}

.mobile-nav a:hover {
   color: var(--gradient-end);
   transform: translateX(4px);
}

/* BACKDROP */
.backdrop {
   position: fixed;
   inset: 0;
   background: rgba(0, 0, 0, 0.45);
   backdrop-filter: blur(3px);
   opacity: 0;
   visibility: hidden;
   transition: 0.3s ease;
   z-index: 1000;
}

.backdrop.active {
   opacity: 1;
   visibility: visible;
}

/* HERO */
.hero {
   height: 100vh;
   background: url("/image/background.jpg") center/cover no-repeat;
   display: flex;
   justify-content: center;
   align-items: center;
   position: relative;
   padding-top: 80px;
}

.overlay {
   position: absolute;
   inset: 0;
   background: rgba(2, 44, 86, 0.55);
}

.hero-content {
   position: relative;
   text-align: center;
   color: var(--text-light);
   max-width: 950px;
   padding: 0 20px;
}

.hero h1 {
   font-size: 2.75rem;
   margin-bottom: 18px;
   line-height: 3rem;
}

.hero .lead {
   font-size: 1.1rem;
   margin-bottom: 30px;
   opacity: 0.9;
}

.btn {
   padding: 12px 40px;
   background: linear-gradient(45deg, var(--gradient-start), var(--gradient-end));
   border-radius: 30px;
   color: var(--white);
   text-decoration: none;
   font-weight: 600;
   transition: 0.3s;
   box-shadow: 0 6px 18px var(--shadow-light);
}

.btn:hover {
   transform: translateY(-2px);
   box-shadow: 0 8px 22px var(--shadow-medium);
}

/* ----------------------------------------------
   MAIN CONTENT SECTIONS
---------------------------------------------- */

/* IDENTITY (About) */
.identity-section {
   padding: 100px 6%;
   text-align: center;
   background: var(--gray-light);
}

.identity-section h2 {
   font-size: 2.4rem;
   font-weight: 600;
   color: var(--primary-dark);
   margin-bottom: 18px;
}

.identity-section p {
   max-width: 750px;
   margin: 0 auto;
   font-size: 1.05rem;
   line-height: 1.7;
   color: var(--gray-dark);
}

/* VISION */
.vision-statement {
   padding: 100px 6%;
   text-align: center;
   background: linear-gradient(45deg, var(--gradient-start), var(--gradient-end));
   color: var(--white);
}

.vision-statement h2 {
   font-size: 2.4rem;
   margin-bottom: 18px;
   font-weight: 600;
}

.vision-statement p {
   max-width: 750px;
   margin: 0 auto;
   font-size: 1.1rem;
   line-height: 1.7;
   color: var(--white);
}

.charis-culture {
   padding: 100px 6%;
   text-align: center;
}

.charis-culture h2 {
   font-size: 2.4rem;
   margin-bottom: 18px;
   font-weight: 600;
}

.charis-culture p {
   max-width: 750px;
   margin: 0 auto;
   font-size: 1.1rem;
   line-height: 1.3;
}

.charis-culture .values-grid {
   display: grid;
   grid-template-columns: repeat(3, 1fr);
   gap: 25px;
   margin: 45px 0;
}

/* ------------------- TABLET RESPONSIVE ------------------- */
@media (max-width: 900px) {
   .charis-culture h2 {
      font-size: 2rem;
   }
   .charis-culture p {
      font-size: 1rem;
      max-width: 600px;
   }
   .charis-culture .values-grid {
      grid-template-columns: repeat(2, 1fr);
      gap: 20px;
   }
}

/* ------------------- MOBILE RESPONSIVE ------------------- */
@media (max-width: 600px) {
   .charis-culture {
      padding: 60px 4%;
   }
   .charis-culture h2 {
      font-size: 1.75rem;
   }
   .charis-culture p {
      font-size: 0.95rem;
      max-width: 100%;
   }
   .charis-culture .values-grid {
      grid-template-columns: 1fr;
      gap: 15px;
   }
}

.value-card {
   background: var(--gray-light);
   padding: 25px 20px;
   border-radius: 14px;
   text-align: center;
   transition: 0.35s;
   box-shadow: 0 0 0 transparent;
}

.value-card:hover {
   transform: translateY(-6px);
   box-shadow: 0 8px 25px var(--shadow-light);
}

.value-card i {
   font-size: 2rem;
   color: var(--gradient-end);
   margin-bottom: 12px;
}

.value-card h3 {
   font-size: 1.15rem;
   font-weight: 600;
   margin-bottom: 8px;
   color: var(--primary-dark);
}

.value-card p {
   font-size: 0.95rem;
   line-height: 1.55;
   color: var(--gray-dark);
}

/* SERVICES GRID */
.impact-services {
   padding: 100px 6%;
   background: var(--gray-light);
   text-align: center;
}

.impact-services h2 {
   font-size: 2.4rem;
   font-weight: bold;
   color: var(--primary-dark);
   margin-bottom: 18px;
}

.impact-services p {
   max-width: 750px;
   margin: 0 auto 50px;
   font-size: 1.05rem;
   line-height: 1.7;
   color: var(--gray-dark);
}

.services-grid {
   width: 100%;
   max-width: 1100px;
   margin: 0 auto 60px;
   display: grid;
   grid-template-columns: repeat(2, minmax(0, 1fr));
   gap: 40px;
}

.service-card {
   background: var(--white);
   padding: 38px 32px;
   border-radius: 18px;
   box-shadow: 0 6px 28px var(--shadow-light);
   transition: 0.35s;
   display: flex;
   flex-direction: column;
   align-items: flex-start;
   gap: 12px;
   justify-content: center;
   align-items: center;
}

.service-card i {
   font-size: 42px;
   color: var(--primary-mid);
}

.line {
   display: flex;
}

.line h3 {
   margin-left: 20px;
}

.service-card:hover {
   transform: translateY(-8px);
   box-shadow: 0 14px 38px var(--shadow-medium);
}

/* TEXT INSIDE CARDS */
.service-card h3 {
   font-size: 1.25rem;
   font-weight: 650;
   color: var(--primary-dark);
   margin-bottom: 4px;
}

.service-card p {
   font-size: 1rem;
   line-height: 1.7;
   color: var(--gray-dark);
}

.services-cta {
   text-align: center;
   margin-top: 20px;
}

/* RESPONSIVENESS */
@media (max-width: 768px) {
   .services-grid {
      grid-template-columns: 1fr;
      gap: 26px;
   }

   .service-card {
      padding: 32px 26px;
   }
}

/* ----------------------------------------------
   FOOTER
---------------------------------------------- */
.footer-section {
   background: var(--primary-dark);
   padding: 70px 6% 35px;
   color: var(--white);
   font-size: 0.95rem;
   line-height: 1.65;
}

.footer-grid {
   display: grid;
   grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
   gap: 55px;
   margin-bottom: 40px;
}

.footer-logo {
   height: 60px;
   margin-bottom: 18px;
   display: block;
}

.footer-col h4 {
   font-weight: 600;
   margin-bottom: 20px;
   font-size: 1.05rem;
   display: flex;
   align-items: center;
   gap: 8px;
}

.footer-col ul {
   list-style: none;
   padding: 0;
   margin: 0;
}

.footer-col li {
   margin-bottom: 12px;
}

.footer-col a {
   text-decoration: none;
   color: var(--white);
   opacity: 0.88;
   transition: 0.3s ease;
   display: flex;
   align-items: center;
   gap: 8px;
   font-size: 0.95rem;
}

.footer-col a:hover {
   opacity: 1;
   transform: translateX(6px);
}

/* Footer Copy */
.footer-copy {
   text-align: center;
   opacity: 0.75;
   font-size: 0.85rem;
   border-top: 1px solid rgba(255, 255, 255, 0.15);
   padding-top: 22px;
}

.footer-credit {
   margin-top: 6px;
   font-size: 0.8rem;
   opacity: 0.65;
}

.footer-credit a {
   color: var(--white);
   text-decoration: none;
   border-bottom: 1px dashed rgba(255,255,255,0.4);
   transition: 0.3s;
}

.footer-credit a:hover {
   opacity: 1;
   border-bottom-color: var(--gradient-start);
}


/* ---------- MOBILE RESPONSIVE ---------- */
@media (max-width: 600px) {
   .footer-section {
      padding: 50px 7% 30px;
   }

   .footer-grid {
      gap: 35px;
   }

   .footer-col h4 {
      font-size: 1rem;
   }

   .footer-col a {
      font-size: 0.95rem;
   }
}

/* ----------------------------------------------
   SCROLL REVEAL ANIMATION
---------------------------------------------- */
.reveal {
   opacity: 0;
   transform: translateY(40px);
   transition: 0.8s ease-out;
}

.reveal.visible {
   opacity: 1;
   transform: translateY(0px);
}

/* ----------------------------------------------
   RESPONSIVE
---------------------------------------------- */

/* Tablet & below */
@media (max-width: 1024px) {
   .values-grid {
      grid-template-columns: repeat(2, 1fr);
   }
}

/* Navigation & Hero adjustments */
@media (max-width: 900px) {
   .desktop-nav {
      display: none;
   }

   .menu-toggle {
      display: flex;
   }

   .hero h1 {
      font-size: 2rem;
   }

   .hero .lead {
      font-size: 1rem;
   }
}

/* Mobile layout adjustments */
@media (max-width: 700px) {

   .identity-section,
   .vision-statement,
   .charis-culture,
   .impact-services {
      padding: 70px 6%;
   }

   .identity-section h2,
   .vision-statement h2,
   .charis-culture h2,
   .impact-services h2 {
      font-size: 2rem;
   }

   .values-grid {
      grid-template-columns: 1fr;
      /* Stacks nicely */
   }
}

/* Very Small Screens */
@media (max-width: 480px) {

   .identity-section h2,
   .vision-statement h2,
   .charis-culture h2,
   .impact-services h2 {
      font-size: 1.75rem;
   }

   .value-card {
      padding: 20px;
   }

   .value-card i {
      font-size: 1.7rem;
   }

   .value-card h3 {
      font-size: 1rem;
   }

   .value-card p {
      font-size: 0.9rem;
   }
}