/* =========================
   Root Variables & Base
========================= */
:root {
  --bg: #fafcfd;
  --card: #ffffff;
  --accent: #0b74ff;
  --muted: #32566e;
  --radius: 5px;
  font-family: 'Inter', system-ui, sans-serif;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  background: var(--bg);
  color: #111;
  line-height: 1.5;
}

.wrap {
  max-width:100%;
  margin: auto;
  padding: 10px;
}

/* =========================
   HEADER
========================= */
header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 28px;
  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(5px);
  position: sticky;
  top: 0;
  z-index: 999;
}
header a {
  text-decoration: ;
}

.logo {
  font-size: 1.2rem;
  color: #00ff0d;
  font-weight: 700;
  color: var(--white);
  letter-spacing: 0.5px;
}

/* NAVIGATION */
nav {
  display: flex;
  align-items: center;
  gap: 18px;
}

nav a {
  display: flex;
  align-items: center;
  gap: 5px;
  color: var(--muted);
  text-decoration: none;
  padding: 8px 14px;
  border-radius: var(--radius);
  font-weight: 400;
  white-space: nowrap;
  transition: background 0.3s, color 0.3s, transform 0.2s;
}

nav a:hover {
  background: var(--accent);
  color: var(--white);
  transform: translateY(-2px);
}

nav a i {
  font-size: 1rem;
}

/*=========================
MISSION STATEMENT 
========================*/

section {
  background-color: #ffffff;
  max-width: 100%;
  margin: auto;
  padding: 40px;
  border-radius: 12px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease-in-out;
}

section:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

h1 {
  font-size: 2.2rem;
  color: #f8aa19;
  margin-bottom: 20px;
  border-left: 6px solid #0a4c95;
  padding-left: 12px;
}

h2 {
  font-size: 1.5rem;
  color: #34495e;
  margin-top: 30px;
  margin-bottom: 10px;
  position: relative;
}

h2::after {
  content: '';
  position: absolute;
  bottom: -6px;
  left: 0;
  width: 50px;
  height: 3px;
  background-color: #0a4c95;
}

.p {
  font-size: 1.05rem;
  margin-bottom: 16px;
  color: #f0e6e6;
}

/* =========================
   HERO
========================= */
.hero {
  width: 100%;
  height: 90vh;
  background: url('../img/hero.jpg') no-repeat center center/cover;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: white;
  position: relative;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 800px;
  padding: 0 20px;
}

.hero h1 {
  font-size: 3rem;
  margin-bottom: 20px;
}

.hero p {
  font-size: 1.2rem;
  margin-bottom: 30px;
}

.hero .btn {
  background-color: #007BFF;
  color: white;
  padding: 12px 25px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
}

.hero .btn:hover {
  background-color: #0056b3;
}

/* =========================
   SERVICES
========================= */
.services {
  display: grid;
  gap: 2rem;
  margin-top: 2rem;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
}

.service {
  text-align: center;
  background: var(--card);
  padding: 20px;
  border-radius: var(--radius);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}


.service h4 {
  margin-bottom: 6px;
  color: #0b2240;
}

.service:hover {
  transform: translateY(-5px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);
  background-color: #f7b14a;
}

.service-icon {
  width: 100px;
  height: 100px;
  margin-bottom: 15px;
}

.service-icon {
  width: 50px;
  height: 50px;
  vertical-align: middle;
  margin-right: 8px;
}
.services h4 i {
  margin-right: 10px;
  color: #2563eb; /* optional color */
  font-size: 50px;
}
/* =========================
   PORTFOLIO
========================= */
.portfolio-section {
  padding: 60px 30px;
  background: #f8fafc;
  font-family: 'Segoe UI', Arial, sans-serif;
}

.section-title {
  text-align: center;
  font-size: 2.2rem;
  color: #0f172a;
  margin-bottom: 40px;
  font-weight: 700;
  letter-spacing: -0.5px;
}

.portfolio {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 24px;
}

.project-card {
  background: #fff;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
}

.project-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 10px 24px rgba(0,0,0,0.15);
  background: #e6f2f8;
}

.project-card img {
  width: 100%;
  height: auto;
  object-fit: cover;
  padding: 20px;
  border-bottom: 1px solid #e5e7eb;
  transition: transform 0.4s ease;
}

.project-card:hover img {
  transform: scale(1.05);
}

.project-info {
  padding: 18px;
  flex: 1;
}

.project-info h3 {
  margin: 0 0 10px;
  font-size: 1.3rem;
  color: #1e293b;
}

.project-info p {
  margin: 0 0 12px;
  color: #475569;
  font-size: 0.95rem;
  line-height: 1.5;
}

.project-info ul {
  margin: 0;
  padding-left: 18px;
  list-style: disc;
  color: #334155;
  font-size: 0.9rem;
  line-height: 1.5;
}

.more-btn {
  display: inline-block;
  margin: 15px 0 0;
  padding: 10px 16px;
  background: #2563eb;
  color: #fff;
  font-size: 0.9rem;
  font-weight: 500;
  border-radius: 8px;
  text-decoration: none;
  transition: background 0.25s ease, transform 0.2s ease;
}

.more-btn:hover {
  background: #1d4ed8;
  transform: translateY(-2px);
}

.more-btn:active {
  background: #1e40af;
  transform: translateY(0);
}

/* ========================
HEADER LINE 
=========================*/
.head {
  background-color: #125472;
  color: #fff;
  padding: 10px;
  font-family: 'Segoe UI', Arial, sans-serif;
  margin: 15px 0px;
  text-align: center;
  letter-spacing: 0.5px;
  font-size: 1rem;
  font-weight: 400;
}



/* ========================
ACADEMY SECTION
==========================*/
.programs-section {
    padding: 50px 20px;
    background: #f8f9fa;
    font-family: Arial, sans-serif;
    text-align: center;
}

.section-title {
    font-size: 2rem;
    margin-bottom: 30px;
    color: #222;
}

.programs-container {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap; /* Allows stacking on small screens */
    max-width: 1100px;
    margin: 0 auto;
}

.program-card {
    flex: 1 1 calc(33.333% - 20px); /* Three in a row */
    min-width: 280px;
    background: #fff;
    padding: 25px;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    text-align: center;
}

.icon-box {
    font-size: 2rem;
    color: #0056b3;
    margin-bottom: 15px;
}

.program-card h3 {
    color: #0056b3;
    margin-bottom: 10px;
    font-size: 1.4rem;
}

.program-card p {
    font-size: 0.95rem;
    color: #555;
    line-height: 1.6;
}

.program-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.12);

}
.full-width-image {
    width: 100%;
    height: auto;
    display: block;
    max-width: 100%;
}
/* ========================
CONTACT FORM 
==========================*/

/* Forms */
.forms {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  padding: 20px;
  margin-top: 70PX;
  margin: 0 auti;
}

.subscribe-form,
.message-form {
  flex: 1 1 45%;
  background: #fff;
  padding: 20px;
  border-radius: 5px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  margin-bottom:10px;
  margin-right:20px;
}

.forms input,
.forms textarea {
  width: 100%;
  padding: 10px;
  margin-bottom: 10px;
  border: 1px solid #ddd;
  border-radius: 5px;
}

.forms button {
  background: linear-gradient(to right, #ff512f, #dd2476);
  color: #fff;
  border: none;
  padding: 10px 15px;
  border-radius: 5px;
  cursor: pointer;
}

.forms button:hover {
  background: linear-gradient(to right, #135081, #3a0747);
}
/* =========================
   CLIENT SATISFACTION 
========================= */

.reviews-container {
    display: flex;
    gap: 16px;
    max-width: 100%;
    font-family: Arial, sans-serif;
    background: #a7adaf;
    padding: 30px;
}

.client-review {
    display: flex;
    align-items: flex-start;
    background: #fff;
    border-radius: 12px;
    padding: 16px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
    gap: 15px;
}

.client-photo {
    flex-shrink: 0;
    width: 70px;
    height: 70px;
    border-radius: 20%;
    overflow: hidden;
    border: 2px solid #ddd;
}

.client-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.client-info {
    flex: 1;
}

.client-name {
    margin: 0;
    font-size: 1.1rem;
    color: #333;
}

.client-comment {
    margin: 6px 0;
    font-size: 0.95rem;
    color: #555;
    line-height: 1.4;
}

.client-rating {
    color: #FFD700; /* Gold stars */
    font-size: 1.1rem;
}
/* =========================
   FOOTER
========================= */
.footer {
  background-color: #222;
  color: #fff;
  padding: 50px 20px 20px;
  font-family: Arial, sans-serif;
  margin-top: 25px;
}

.footer-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  max-width: 1200px;
  margin: auto;
}

.footer-section {
  flex: 1 1 250px;
  margin: 10px;
}

.footer-section h3 {
  border-bottom: 2px solid #007BFF;
  padding-bottom: 8px;
  margin-bottom: 15px;
}

.footer-section p,
.footer-section a {
  color: #ccc;
  text-decoration: none;
  font-size: 14px;
}

.footer-section a:hover {
  color: #fff;
}

.footer-section ul {
  list-style: none;
}

.footer-section ul li {
  margin-bottom: 8px;
}

.social-icons {
  display: flex;
  gap: 15px;
  margin-top: 10px;
}

.social-icons a {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  width: 40px;
  height: 40px;
  background-color: #00c0fa;
  border-radius: 50%;
  transition: background-color 0.3s ease, transform 0.3s ease;
}

.social-icons a:hover {
  background-color: #00ff0d;
  transform: translateY(-3px);
}

.social-icons img {
  width: 20px;
  height: 20px;
  filter: invert(100%);
  transition: filter 0.3s ease;
}

.social-icons a:hover img {
  filter: invert(100%) brightness(150%);
}

.footer-bottom {
  text-align: center;
  padding-top: 15px;
  border-top: 1px solid #444;
  margin-top: 20px;
  font-size: 14px;
  color: #aaa;
}

/* =========================
   FORMS
========================= */
form input,
form textarea {
  width: 100%;
  padding: 10px;
  border-radius: 8px;
  border: 1px solid #e6e9ef;
  margin: 8px 0;
}

/* =========================
   RESPONSIVE
========================= */
@media (max-width: 768px) {
   
    header {
  display: flex;
  flex-wrap: wrap; /* allow logo + nav to wrap */
  align-items: center;
  padding: 5px 10px;
  background: var(--bg-dark);
  backdrop-filter: blur(8px);
  position: sticky;
  top: 0;
  z-index: 999;
}

.logo {
  flex: 1 1 100%;
  font-size: 2rem;
  font-weight: 700;
  color: var(--white);
  letter-spacing: 0.5px;
  margin-bottom: 10px;
}

nav {
  display: flex;
  flex-wrap: wrap; /* allow 2 rows on mobile */
  gap: 8px;
  width: 100%;
  justify-content: center; /* center horizontally */
}

nav a {
  display: flex;
  align-items: center;
  justify-content: center; /* center icon + text */
  gap: 6px;
  color: var(--muted);
  text-decoration: none;
  padding: 10px;
  border-radius: var(--radius);
  font-weight: 500;
  flex: 1 2 calc(20% - 16px); /* two per row */
  max-width: 200px;
  transition: background 0.3s, color 0.3s, transform 0.2s;
}

nav a span {
    font-size: 12px;
  } 
nav a:hover {
  background: var(--accent);
  color: var(--white);
  transform: translateY(-2px);
}

nav a i {
  font-size: 1.2rem;
  color: #007BFF;
}


.forms {
  flex-direction: column;
}
/* CONTACT BUTTON SPECIAL STYLE */
nav a.btn {
  background: var(--accent);
  color: var(--white);
  font-weight: 600;
}

nav a.btn:hover {
  background: #084ec1;
}

.logo {
  flex: 1 1 100%; /* logo on its own row in mobile view */
  text-align: center;
  margin-bottom: 10px;
}

.hero {
  width: 100%;
  height: 50vh;
}

.reviews-container {
        flex-direction: column;
        padding: 15px;
    }
    .client-review {
        flex-direction: column;
        align-items: center;
        text-align: center;
        min-width: auto;
    }
    .client-photo {
        width: 90px;
        height: 90px;
        border-radius: 50%; /* rounder on mobile */
        margin-bottom: 12px;
        border: 2px solid #bbb;
    }
    .client-info {
        flex: none;
    }
    .client-name {
        font-size: 1.25rem;
    }
    .client-comment {
        font-size: 1rem;
    }
    .client-rating {
        font-size: 1.3rem;
    }
}


@media (max-width: 480px) {
  .hero h1 {
    font-size: 1.6rem;
  }

  .hero p {
    font-size: 0.9rem;
  }

  .hero .btn {
    padding: 10px 18px;
    font-size: 0.9rem;
  }
 
    nav a {
    padding: 8px;
  }
}

