@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;600;700;800&display=swap');

:root {
  --primary: #0B2D72;
  --accent: #0992C2;
  --gold: #F6E7BC;
  --dark: #071a40;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Poppins', sans-serif;
  background: var(--dark);
  color: #fff;
  overflow-x: hidden;
}

.container {
  width: 90%;
  max-width: 1300px;
  margin: auto;
}

/* ================= NAVBAR ================= */

header {
  position: fixed;
  width: 100%;
  top: 0;
  z-index: 9999;
  background: linear-gradient(90deg,#0B2D72,#071a40);
  padding: 18px 0;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

nav img {
  height: 70px;
}

nav ul {
  display: flex;
  list-style: none;
  gap: 30px;
}

nav ul li a {
  text-decoration: none;
  color: var(--gold);
  font-weight: 500;
  transition: 0.3s;
}

nav ul li a:hover,
nav ul li a.active {
  color: var(--accent);
}

/* ================= HERO (INNER PAGES) ================= */

.about-hero,
.services-hero,
.blog-hero,
.contact-hero {
  height: 45vh;
  background:
    linear-gradient(to right, rgba(7,26,64,0.95), rgba(7,26,64,0.75)),
    url('../assets/city-hero.jpg') center/cover no-repeat;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding-top: 120px;
}

/* ================= HOME HERO (SLIDER VERSION) ================= */

.premium-hero {
  position: relative;
  height: 100vh;
  background:
    linear-gradient(to right, rgba(7,26,64,0.95) 45%, rgba(7,26,64,0.65) 85%),
    url('../assets/city-hero.jpg') center/cover no-repeat;
  display: flex;
  align-items: center;
  padding-top: 120px;
}

.hero-wrapper {
  width: 90%;
  max-width: 1300px;
  margin: auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.hero-content {
  max-width: 600px;
  text-align: left;
}

.hero-content h1 {
  font-size: 3.8rem;
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 25px;
}

.hero-content p {
  font-size: 1.1rem;
  color: #dcdcdc;
  margin-bottom: 35px;
  line-height: 1.6;
}

.hero-buttons {
  display: flex;
  gap: 20px;
}

/* ================= RIGHT SIDE SLIDER ================= */

.hero-slider {
  width: 380px;
}

.slide {
  background: rgba(255,255,255,0.05);
  border-left: 4px solid var(--accent);
  padding: 25px;
  margin-bottom: 20px;
  font-weight: 600;
  backdrop-filter: blur(10px);
  box-shadow: 0 0 20px rgba(9,146,194,0.25);
  opacity: 0;
  transform: translateY(20px);
  transition: 0.6s ease;
}

.slide.active {
  opacity: 1;
  transform: translateY(0);
}

/* ================= BUTTONS ================= */

.btn-gold {
  background: linear-gradient(90deg,#F6E7BC,#d8b768);
  color: #0B2D72;
  padding: 14px 32px;
  border-radius: 6px;
  font-weight: 600;
  text-decoration: none;
  transition: 0.3s;
}

.btn-blue,
.btn-submit {
  background: linear-gradient(90deg,#0992C2,#0B2D72);
  color: #fff;
  padding: 14px 32px;
  border-radius: 6px;
  font-weight: 600;
  border: none;
  cursor: pointer;
  text-decoration: none;
  transition: 0.3s;
}

.btn-gold:hover,
.btn-blue:hover,
.btn-submit:hover {
  transform: translateY(-3px);
}

/* ================= SECTIONS ================= */

.section {
  padding: 120px 0;
}

.section-header {
  text-align: center;
  max-width: 800px;
  margin: auto;
  margin-bottom: 70px;
}

.section-label {
  color: var(--accent);
  font-weight: 600;
  letter-spacing: 2px;
}

.section-header h2 {
  font-size: 2.6rem;
  margin: 15px 0;
}

.section-header p {
  color: #cfcfcf;
}

/* ================= EXPERTISE ================= */

.expertise-section {
  background: linear-gradient(180deg,#071a40,#0B2D72);
}

.expertise-grid,
.services-grid,
.blog-grid,
.mission-grid,
.capabilities-grid,
.why-grid {
  display: grid;
  gap: 30px;
}

.expertise-grid,
.services-grid,
.blog-grid,
.mission-grid,
.capabilities-grid,
.why-grid {
  grid-template-columns: repeat(auto-fit,minmax(300px,1fr));
}

.expertise-card,
.service-card,
.mission-card,
.cap-card,
.why-card,
.blog-card {
  background: rgba(255,255,255,0.05);
  padding: 35px;
  border-radius: 14px;
  border: 1px solid rgba(255,255,255,0.08);
  transition: 0.3s;
}

.expertise-card:hover,
.service-card:hover,
.blog-card:hover,
.mission-card:hover,
.cap-card:hover,
.why-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 50px rgba(0,0,0,0.6);
}

.expertise-card h3,
.service-card h3,
.blog-card h3 {
  color: var(--gold);
  margin-bottom: 15px;
}

/* ================= BLOG ================= */

.blog-card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 10px;
  margin-bottom: 20px;
}

/* ================= ABOUT CONTENT ================= */

.about-content {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 60px;
  align-items: center;
}

.about-text p {
  margin-bottom: 20px;
  color: #dcdcdc;
}

.about-image img {
  width: 100%;
  border-radius: 12px;
}

/* ================= TIMELINE ================= */

.timeline {
  display: grid;
  grid-template-columns: repeat(auto-fit,minmax(250px,1fr));
  gap: 20px;
  margin-top: 40px;
}

.timeline-step {
  padding: 20px;
  border-left: 4px solid var(--accent);
  background: rgba(255,255,255,0.04);
}

/* ================= CONTACT ================= */

.contact-section {
  background: linear-gradient(180deg,#071a40,#0B2D72);
  padding: 120px 0;
}

.contact-card {
  max-width: 700px;
  margin: auto;
  background: rgba(255,255,255,0.05);
  padding: 50px;
  border-radius: 16px;
  text-align: center;
  border: 1px solid rgba(255,255,255,0.08);
}

.contact-email {
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--accent);
}

/* ================= CERTIFICATION FORM ================= */

.certification-section {
  padding: 120px 0;
  background: linear-gradient(180deg,#071a40,#0B2D72);
}

.certification-box {
  max-width: 900px;
  margin: auto;
  background: rgba(255,255,255,0.04);
  padding: 60px;
  border-radius: 20px;
}

.cert-form {
  display: flex;
  flex-direction: column;
  gap: 25px;
}

.form-row {
  display: flex;
  gap: 20px;
}

.cert-form input,
.cert-form select,
.cert-form textarea {
  flex: 1;
  padding: 14px;
  border-radius: 8px;
  border: 1px solid rgba(255,255,255,0.15);
  background: rgba(255,255,255,0.08);
  color: #fff;
}

.cert-form select option {
  background: #0B2D72;
  color: #fff;
}

.cert-form textarea {
  min-height: 120px;
}

/* ================= FOOTER ================= */

.premium-footer {
  background: linear-gradient(90deg,#061530,#0B2D72);
  padding: 25px 0;
  border-top: 1px solid rgba(255,255,255,0.08);
}

.footer-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
}

.brand-highlight {
  color: var(--gold);
  font-weight: 700;
}

.instagram-link {
  padding: 10px 18px;
  border-radius: 6px;
  background: rgba(9,146,194,0.15);
  color: var(--gold);
  text-decoration: none;
  border: 1px solid rgba(9,146,194,0.4);
  transition: 0.3s;
}

.instagram-link:hover {
  background: var(--accent);
  color: #fff;
}

/* ================= RESPONSIVE ================= */

@media(max-width:768px){

  .hero-content h1 {
    font-size: 2.5rem;
  }

  .form-row {
    flex-direction: column;
  }

  .about-content {
    grid-template-columns: 1fr;
  }

  .footer-content {
    flex-direction: column;
    gap: 15px;
  }
}
/* ================= HERO HEX CARDS ================= */

.hex-container {
  position: absolute;
  right: 8%;
  top: 30%;
  display: grid;
  grid-template-columns: repeat(2,120px);
  gap: 25px;
  z-index: 2;
}

.hex {
  width: 120px;
  height: 120px;
  background: rgba(9,146,194,0.18);
  border: 1px solid rgba(9,146,194,0.5);
  clip-path: polygon(
    25% 5%, 75% 5%,
    100% 50%, 75% 95%,
    25% 95%, 0% 50%
  );
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  letter-spacing: 1px;
  backdrop-filter: blur(10px);
  box-shadow: 0 0 25px rgba(9,146,194,0.4);
  transition: 0.4s ease;
}

.hex:hover {
  transform: scale(1.1);
  background: rgba(9,146,194,0.35);
  box-shadow: 0 0 35px rgba(9,146,194,0.7);
}
/* ================= HERO SLIDER ================= */

.hero-slider {
  position: absolute;
  right: 8%;
  top: 40%;
  width: 320px;
}

.slide {
  background: rgba(255,255,255,0.05);
  border-left: 4px solid var(--accent);
  padding: 20px;
  margin-bottom: 15px;
  font-weight: 600;
  backdrop-filter: blur(8px);
  opacity: 0;
  transform: translateY(20px);
  transition: 0.6s ease;
}

.slide.active {
  opacity: 1;
  transform: translateY(0);
}
/* ================= LEGAL PAGE CLEAN FIX ================= */

.legal-section {
  padding: 60px 0;
  background: #f4f7fb;
}

.legal-wrapper {
  max-width: 900px;
  margin: 0 auto;
}

.legal-card {
  background: #ffffff;
  padding: 50px;
  border-radius: 12px;
  box-shadow: 0 8px 25px rgba(0,0,0,0.05);
}

/* Fix heading spacing */
.legal-card h2 {
  color: #0B2D72;
  font-size: 22px;
  margin: 25px 0 12px 0;   /* controlled spacing */
}

/* Fix paragraph spacing */
.legal-card p {
  margin: 0 0 15px 0;      /* remove top margin */
  line-height: 1.7;
  color: #333;
}

/* Fix list spacing */
.legal-card ul {
  margin: 10px 0 20px 20px;
  padding: 0;
}

.legal-card li {
  margin-bottom: 8px;
}

/* Remove unwanted inherited spacing */
.legal-card *:first-child {
  margin-top: 0;
}
.legal-card {
  color: #222;   /* force dark readable text */
}

.legal-card p,
.legal-card li {
  color: #333;
}

.legal-card h2 {
  color: #0B2D72;
}
/* ================= COOKIE BANNER ================= */

.cookie-banner {
  position: fixed;
  bottom: 0;
  width: 100%;
  background: #0B2D72;
  color: #ffffff;
  padding: 20px;
  display: flex;
  justify-content: center;
  z-index: 9999;
}

.cookie-content {
  max-width: 1100px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
}

.cookie-content p {
  margin: 0;
  font-size: 14px;
}

.cookie-content a {
  color: #F6E7BC;
  text-decoration: underline;
}

.cookie-content button {
  background: #F6E7BC;
  color: #0B2D72;
  border: none;
  padding: 8px 18px;
  border-radius: 4px;
  cursor: pointer;
  font-weight: 600;
}

.cookie-content button:hover {
  opacity: 0.85;
}