/* RESET */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Poppins', sans-serif;
}

:root {
  --primary: #0a1f44;
  --secondary: #1c3d7a;
  --accent: #00d4ff;
  --light: #f8fafc;
  --card: #ffffff;
  --text: #1a1a1a;
}

body {
  background: linear-gradient(135deg, #0a1f44, #1c3d7a);
  color: #333;
}

header {
  background: rgba(255,255,255,0.08);
  backdrop-filter: blur(10px);
  padding: 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: white;
}

nav a {
  color: white;
  margin: 0 15px;
  text-decoration: none;
  font-weight: 500;
}

nav a:hover {
  border-bottom: 2px solid #00d4ff;
}

.hero {
  height: 90vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: white;
  background: url('../assets/images/hero1.png') no-repeat;
  background-size: cover;
  background-position: center 30%;
  position: relative;
}

.hero-text {
  background: rgba(0,0,0,0.6);
  padding: 40px;
  border-radius: 12px;
  position: relative;
  z-index: 2;
}

.hero h2 {
  font-size: 48px;
}

.hero p {
  margin-top: 10px;
  font-size: 18px;
}
.hero img {
  width: 100%;
  height: 400px;
  object-fit: cover;
}


.features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  padding: 60px;
  gap: 30px;
  flex-wrap: wrap;
  gap: 20px;
}

.features div {
  background: white;
  padding: 30px;
  border-radius: 12px;
  box-shadow: 0 10px 25px rgba(0,0,0,0.1);
  transition: 0.3s;
  flex: 1;
  min-width: 200px;
  opacity: 0;
  transform: translateY(30px);
  animation: fadeUp 0.8s ease forwards;
}

@keyframes fadeUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}


.features div:hover {
  transform: translateY(-10px);
}

/* CONTENT */
.content {
  padding: 60px;
  background: white;
  margin: 40px;
  border-radius: 12px;
}

/* LOGIN FORM */
form {
  max-width: 400px;
  margin: auto;
}

input {
  width: 100%;
  padding: 12px;
  margin: 10px 0;
  border-radius: 6px;
  border: 1px solid #ccc;
}

button {
  width: 100%;
  padding: 12px;
  background: #00d4ff;
  border: none;
  font-weight: bold;
  cursor: pointer;
}

button, .btn {
  background: linear-gradient(135deg, #00d4ff, #007bff);
  color: white;
  border-radius: 8px;
  transition: 0.3s;
}

.btn {
  display: inline-block;
  padding: 14px 28px;
  text-decoration: none;
  font-weight: 600;
}

button:hover, .btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 20px rgba(0,0,0,0.2);
}

/* GRID FOR VALUES */
.values .grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 15px;
  margin-top: 20px;
}

.values .grid div {
  background: #0a1f44;
  color: white;
  padding: 20px;
  text-align: center;
  border-radius: 8px;
  font-weight: bold;
}

/* HIGHLIGHT SECTION */
.highlight {
  background: #0a1f44;
  color: white;
  border-radius: 10px;
  margin: 40px;
  text-align: center;
}



/* DASHBOARD */
.dashboard {
  display: grid;
  grid-template-columns: 250px 1fr;
  height: 100vh;
}

.sidebar {
  background: #0a1f44;
  color: white;
  padding: 20px;
}

.sidebar a {
  display: block;
  color: white;
  margin: 15px 0;
  text-decoration: none;
}

.main {
  padding: 40px;
  background: #f4f7fb;
}

.card {
  background: white;
  padding: 25px;
  border-radius: 10px;
  margin-bottom: 20px;
}

/* CLIENTS SECTION */
.clients-section {
  padding: 80px 40px;
  text-align: center;
  color: white;
}

.clients-section h2 {
  font-size: 36px;
}

.subtitle {
  margin-top: 10px;
  opacity: 0.8;
}

/* INDUSTRIES TAGS */
.industries {
  margin-top: 30px;
}

.industries span {
  display: inline-block;
  background: rgba(255,255,255,0.1);
  padding: 10px 15px;
  margin: 8px;
  border-radius: 20px;
  backdrop-filter: blur(10px);
}

/* CLIENT CARDS */
.clients {
  margin-top: 40px;
}

.client-card {
  background: white;
  color: black;
  padding: 25px;
  border-radius: 10px;
  display: inline-block;
  box-shadow: 0 10px 25px rgba(0,0,0,0.2);
}

/* PARTNERS SECTION */
.partners-section {
  background: white;
  padding: 80px 40px;
  text-align: center;
}

.partners {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  margin-top: 40px;
  gap: 20px;
}

.partner-card {
  padding: 30px;
  border-radius: 10px;
  background: #f4f7fb;
  transition: 0.3s;
}

.partner-card:hover {
  transform: translateY(-8px);
}

/* LOGO SECTION */
.logo-section {
  padding: 80px 40px;
  text-align: center;
  background: white;
}

.logo-grid {
  margin-top: 40px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 30px;
}

/* MAGIC FIX FOR IRREGULAR LOGOS */
.logo-card {
  height: 100px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  background: #f4f7fb;
  border-radius: 10px;
}

.logo-card img {
  max-height: 60px;
  max-width: 100%;
  object-fit: contain;
  filter: grayscale(100%);
  opacity: 0.8;
  transition: 0.3s;
}

.logo-card img:hover {
  filter: grayscale(0%);
  opacity: 1;
}

/* LOGO SLIDER */
.logo-slider {
  overflow: hidden;
  margin-top: 40px;
  position: relative;
}

.logo-track {
  display: flex;
  width: calc(250px * 14);
  animation: scroll 25s linear infinite;
}

.logo-track img {
  width: 180px;
  height: 80px;
  object-fit: contain;
  margin: 0 20px;
  filter: grayscale(100%);
  opacity: 0.7;
  transition: 0.3s;
}

.logo-track img:hover {
  filter: grayscale(0%);
  opacity: 1;
}

/* ANIMATION */
@keyframes scroll {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

.logo-slider:hover .logo-track {
  animation-play-state: paused;
}

section {
  padding: 80px 20px;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.service-card {
  background: white;
  padding: 30px;
  border-radius: 12px;
  box-shadow: 0 10px 25px rgba(0,0,0,0.08);
  transition: 0.3s;
}

.service-card:hover {
  transform: translateY(-8px);
}

/* =========================
   MOBILE OPTIMIZATION
========================= */

/* TABLETS */
@media (max-width: 1024px) {

  .hero h2 {
    font-size: 36px;
  }

  .hero p {
    font-size: 16px;
  }

  .features {
    grid-template-columns: repeat(2, 1fr);
  }

  .dashboard {
    grid-template-columns: 1fr;
  }

  .sidebar {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
  }

}

/* MOBILE */
@media (max-width: 768px) {

  /* HEADER STACK */
  header {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  nav {
    margin-top: 10px;
  }

  nav a {
    display: inline-block;
    margin: 5px 10px;
    font-size: 14px;
  }

  /* HERO FIX */
  .hero {
    height: auto;
    padding: 80px 20px;
    background-position: center 30%;
  }

  .hero h2 {
    font-size: 28px;
  }

  .hero p {
    font-size: 14px;
  }

  .hero-text {
    padding: 20px;
  }

  /* BUTTON FIX */
  .btn {
    display: inline-block;
    padding: 12px 20px;
    font-size: 14px;
  }

  /* CONTENT SECTIONS */
  .content {
    margin: 20px;
    padding: 30px 20px;
  }

  /* FEATURES STACK */
  .features {
    grid-template-columns: 1fr;
    padding: 30px 20px;
  }

  /* SERVICES GRID */
  .services-grid {
    grid-template-columns: 1fr;
  }

  /* LOGO SLIDER FIX */
  .logo-track img {
    width: 120px;
    height: 60px;
  }

  /* CLIENT TAGS */
  .industries span {
    font-size: 12px;
    padding: 8px 12px;
  }

  /* DASHBOARD MOBILE */
  .dashboard {
    display: block;
  }

  .sidebar {
    display: flex;
    overflow-x: auto;
    gap: 15px;
    padding: 10px;
  }

  .sidebar a {
    white-space: nowrap;
    font-size: 14px;
  }

  .main {
    padding: 20px;
  }

}

/* SMALL PHONES */
@media (max-width: 480px) {

  .hero h2 {
    font-size: 22px;
  }

  .hero p {
    font-size: 13px;
  }

  .btn {
    width: 100%;
    text-align: center;
  }

  .content {
    margin: 10px;
    padding: 20px 15px;
  }

}

/* TEAM SECTION */
.team-section {
  padding: 60px;
  background: white;
  margin: 40px;
  border-radius: 12px;
}

.team-card {
  background: #f4f7fb;
  padding: 30px;
  border-radius: 12px;
  margin-bottom: 25px;
  box-shadow: 0 10px 25px rgba(0,0,0,0.08);
  transition: 0.3s;
}

.team-card:hover {
  transform: translateY(-5px);
}

.team-card h3 {
  color: #0a1f44;
  margin-bottom: 5px;
}

.team-card h4 {
  color: #007bff;
  margin-bottom: 20px;
}

.team-card p {
  margin-bottom: 15px;
  line-height: 1.7;
}

.vacant {
  border-left: 5px solid #00d4ff;
}

.team-image {
  width: 160px;
  height: 160px;
  object-fit: cover;
  border-radius: 50%;
  margin-bottom: 20px;
  border: 4px solid #00d4ff;
}

/* LEARNING GALLERY */
.learning-gallery {
  padding: 80px 40px;
  background: white;
  text-align: center;
}

.learning-gallery h2 {
  margin-bottom: 40px;
  color: #0a1f44;
}

.gallery-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 25px;
}

.gallery-card {
  overflow: hidden;
  border-radius: 14px;
  box-shadow: 0 10px 25px rgba(0,0,0,0.1);
  background: #f4f7fb;
}

.gallery-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: contrast(1.05) saturate(1.1);
  transition: 0.4s;
}

.gallery-card img:hover {
  transform: scale(1.05);
}

/* PORTRAIT IMAGE */
.portrait {
  grid-row: span 2;
  min-height: 700px;
}

/* LANDSCAPE IMAGES */
.landscape {
  min-height: 330px;
}

/* MOBILE */
@media (max-width: 768px) {

  .gallery-grid {
    grid-template-columns: 1fr;
  }

  .portrait {
    min-height: 400px;
    grid-row: span 1;
  }

  .landscape {
    min-height: 250px;
  }

}

/* SERVICES PAGE */
.services-page h2 {
  text-align: center;
  margin-bottom: 20px;
  color: #0a1f44;
}

.services-intro {
  text-align: center;
  max-width: 900px;
  margin: auto;
  line-height: 1.8;
  margin-bottom: 50px;
  color: #555;
}

.service-card {
  background: white;
  padding: 35px;
  border-radius: 14px;
  box-shadow: 0 10px 25px rgba(0,0,0,0.08);
  transition: 0.3s;
}

.service-card h3 {
  color: #0a1f44;
  margin-bottom: 20px;
}

.service-card p {
  line-height: 1.7;
  margin-bottom: 15px;
}

.service-card ul {
  padding-left: 20px;
  margin-bottom: 15px;
}

.service-card li {
  margin-bottom: 10px;
}

.service-card:hover {
  transform: translateY(-8px);
}

.service-tags {
  margin-top: 20px;
}

.service-tags span {
  display: inline-block;
  background: #0a1f44;
  color: white;
  padding: 8px 14px;
  border-radius: 20px;
  margin: 5px;
  font-size: 13px;
}

/* DELIVERY SECTION */
.delivery-section {
  margin-top: 80px;
}

.delivery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 25px;
  margin-top: 40px;
}

.delivery-card {
  background: #f4f7fb;
  padding: 30px;
  border-radius: 12px;
  text-align: center;
  transition: 0.3s;
}

.delivery-card:hover {
  transform: translateY(-5px);
}

.delivery-card h3 {
  color: #0a1f44;
  margin-bottom: 15px;
}

/* ABOUT PAGE */
.company-overview,
.mission-section,
.promise-section {
  background: white;
  margin: 40px;
  border-radius: 14px;
}

.company-overview h2,
.mission-section h2,
.promise-section h2 {
  text-align: center;
  margin-bottom: 30px;
  color: #0a1f44;
}

.company-overview p {
  max-width: 900px;
  margin: auto;
  margin-bottom: 20px;
  line-height: 1.9;
  text-align: center;
}

.mission-grid,
.promise-grid,
.programme-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 25px;
  margin-top: 40px;
}

.mission-card,
.promise-card,
.programme-card {
  background: #f4f7fb;
  padding: 35px;
  border-radius: 14px;
  box-shadow: 0 10px 25px rgba(0,0,0,0.08);
  transition: 0.3s;
}

.mission-card:hover,
.promise-card:hover,
.programme-card:hover {
  transform: translateY(-8px);
}

.mission-card h3,
.promise-card h3,
.programme-card h3 {
  color: #0a1f44;
  margin-bottom: 15px;
}

.programme-card p {
  margin-bottom: 10px;
}

/* TEAM PAGE */
.team-page {
  display: flex;
  flex-direction: column;
  gap: 60px;
}

.team-profile {
  display: grid;
  grid-template-columns: 350px 1fr;
  gap: 40px;
  align-items: center;
}

.team-profile.reverse {
  grid-template-columns: 1fr 350px;
}

.team-profile.reverse img {
  order: 2;
}

.team-profile-image {
  width: 100%;
  height: 420px;
  object-fit: cover;
  border-radius: 18px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.15);
}

.team-profile-content h2 {
  color: #0a1f44;
  margin-bottom: 10px;
}

.team-profile-content h4 {
  color: #007bff;
  margin-bottom: 20px;
}

.team-profile-content p {
  line-height: 1.9;
  margin-bottom: 18px;
  color: #555;
}

blockquote {
  background: #f4f7fb;
  padding: 25px;
  border-left: 5px solid #00d4ff;
  border-radius: 10px;
  margin-bottom: 25px;
  font-style: italic;
  line-height: 1.8;
}

.vacancies h2 {
  text-align: center;
  margin-bottom: 40px;
  color: #0a1f44;
}

.vacancy-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 25px;
}

.vacancy-card {
  background: #f4f7fb;
  padding: 30px;
  border-radius: 14px;
  text-align: center;
  box-shadow: 0 10px 25px rgba(0,0,0,0.08);
}

.vacancy-card h3 {
  color: #0a1f44;
  margin-bottom: 15px;
}

@media (max-width: 900px) {

  .team-profile,
  .team-profile.reverse {
    grid-template-columns: 1fr;
  }

  .team-profile.reverse img {
    order: 0;
  }

}

/* LOGO HEADER */
.logo-wrap {
  display: flex;
  align-items: center;
  gap: 15px;
  text-decoration: none;
}

.site-logo {
  width: 70px;
  height: 70px;
  object-fit: contain;

  /* makes black logo visible */
  background: white;
  padding: 8px;
  border-radius: 12px;
}

.logo-text {
  display: flex;
  flex-direction: column;
}

.logo-title {
  color: white;
  font-size: 22px;
  font-weight: 700;
  line-height: 1.2;
}

.logo-tagline {
  color: #00d4ff;
  font-size: 12px;
  letter-spacing: 3px;
  margin-top: 4px;
}

/* MOBILE */
@media (max-width: 768px) {

  .logo-wrap {
    flex-direction: column;
    text-align: center;
  }

  .logo-title {
    font-size: 16px;
  }

  .site-logo {
    width: 60px;
    height: 60px;
  }

}

/* FILE MANAGER */
.file-manager {
  margin-top: 40px;
}

.file-card {
  background: white;
  padding: 20px;
  margin-bottom: 20px;
  border-radius: 12px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  box-shadow: 0 10px 25px rgba(0,0,0,0.08);
}

.file-info h3 {
  color: #0a1f44;
  font-size: 16px;
  word-break: break-word;
}

.file-actions {
  display: flex;
  gap: 10px;
}

.view-btn,
.delete-btn {
  padding: 10px 18px;
  border-radius: 8px;
  text-decoration: none;
  color: white;
  font-weight: 600;
}

.view-btn {
  background: #007bff;
}

.delete-btn {
  background: #dc3545;
}

.view-btn:hover,
.delete-btn:hover {
  opacity: 0.9;
}

/* MOBILE */
@media (max-width: 768px) {

  .file-card {
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
  }

}

/* ========================================
   ADVANCED FOOTER
======================================== */

.advanced-footer {
  background: #07152e;
  color: white;
  padding-top: 70px;
  margin-top: 80px;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 40px;
  padding: 0 50px 50px;
}

.footer-column h3 {
  margin-bottom: 20px;
  color: #00d4ff;
  font-size: 20px;
}

.footer-column p,
.footer-column li,
.footer-column a {
  color: rgba(255,255,255,0.8);
  line-height: 1.9;
  text-decoration: none;
  list-style: none;
}

.footer-column ul {
  padding: 0;
}

.footer-column li {
  margin-bottom: 10px;
}

.footer-column a:hover {
  color: #00d4ff;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-bottom: 20px;
}

.footer-logo img {
  width: 70px;
  height: 70px;
  object-fit: contain;
  background: white;
  padding: 6px;
  border-radius: 12px;
}

.footer-logo h3 {
  margin-bottom: 5px;
  color: white;
}

.footer-logo p {
  color: #00d4ff;
  letter-spacing: 2px;
  font-size: 11px;
}

.footer-about {
  max-width: 320px;
}

/* BUTTONS */
.footer-buttons {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 20px;
}

.footer-btn {
  display: inline-block;
  padding: 12px 18px;
  background: linear-gradient(135deg, #00d4ff, #007bff);
  color: white !important;
  border-radius: 8px;
  text-align: center;
  font-weight: 600;
  transition: 0.3s;
}

.footer-btn:hover {
  transform: translateY(-3px);
}

.footer-btn.secondary {
  background: rgba(255,255,255,0.08);
}

/* BOTTOM */
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding: 25px 50px;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
}

.footer-bottom p {
  color: rgba(255,255,255,0.6);
  font-size: 14px;
}

/* MOBILE */
@media (max-width: 768px) {

  .advanced-footer {
    padding-top: 50px;
  }

  .footer-grid {
    padding: 0 20px 40px;
    gap: 35px;
  }

  .footer-bottom {
    padding: 20px;
    flex-direction: column;
    text-align: center;
  }

  .footer-logo {
    flex-direction: column;
    text-align: center;
  }

  .footer-about {
    max-width: 100%;
  }

}