/* ------------------- */
/* ROOT & RESET        */
/* ------------------- */
:root {
  --color-primary: #1A237E; /* Dark Blue */
  --color-secondary: #0d123d;
  --color-accent: #4CAF50; /* Bright Green */
  --color-accent-hover: #43A047;
  --color-text: #333333;
  --color-text-light: #6c757d;
  --color-bg-light: #F5F5F5;
  --color-bg-white: #FFFFFF;
  --color-border: #dee2e6;
  --font-family-headings: 'Helvetica Bold', 'Arial Bold', sans-serif;
  --font-family-body: 'Helvetica Regular', 'Arial Regular', sans-serif;
  --spacing-xs: 4px;
  --spacing-sm: 8px;
  --spacing-md: 16px;
  --spacing-lg: 32px;
  --spacing-xl: 64px;
  --spacing-xxl: 120px;
  --border-radius: 8px;
  --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.05);
  --shadow-md: 0 5px 15px rgba(0, 0, 0, 0.1);
  --transition-speed: 300ms;
}

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

html {
  scroll-behavior: smooth;
  font-size: 100%;
}

body {
  font-family: var(--font-family-body);
  font-size: 1rem;
  line-height: 1.7;
  color: var(--color-text);
  background-color: var(--color-bg-white);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--color-accent);
  text-decoration: none;
  transition: color var(--transition-speed) ease;
}

a:hover, a:focus {
  color: var(--color-accent-hover);
  text-decoration: underline;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-family-headings);
  font-weight: 700;
  line-height: 1.2;
  color: var(--color-primary);
  margin-bottom: var(--spacing-md);
}

h1 { font-size: clamp(2.5rem, 5vw, 3.75rem); }
h2 { font-size: clamp(2rem, 4vw, 3rem); }
h3 { font-size: clamp(1.5rem, 3vw, 2rem); }
p { margin-bottom: var(--spacing-md); }

/* ------------------- */
/* UTILITY & LAYOUT    */
/* ------------------- */
.container {
  width: 90%;
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
}

.section {
  padding: var(--spacing-xxl) 0;
}

.section-light {
  background-color: var(--color-bg-light);
}

.section-dark {
  background-color: var(--color-primary);
  color: var(--color-bg-white);
}

.section-dark h2, .section-dark h3 {
    color: var(--color-bg-white);
}

.text-center {
  text-align: center;
}

.section-title {
  margin-bottom: var(--spacing-xl);
  text-align: center;
}

.section-subtitle {
  display: block;
  font-size: 1rem;
  font-family: var(--font-family-body);
  color: var(--color-accent);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: var(--spacing-sm);
}

.grid {
  display: grid;
  gap: var(--spacing-lg);
}

@media(min-width: 768px) {
  .grid-2-cols { grid-template-columns: 1fr 1fr; }
  .grid-3-cols { grid-template-columns: repeat(3, 1fr); }
  .grid-4-cols { grid-template-columns: repeat(4, 1fr); }
}
@media(min-width: 1024px) {
  .grid-6-cols { grid-template-columns: repeat(6, 1fr); }
}

/* ------------------- */
/* HEADER & NAVIGATION */
/* ------------------- */
.header {
  background-color: var(--color-bg-white);
  padding: var(--spacing-md) 0;
  position: sticky;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  box-shadow: var(--shadow-sm);
  transition: background-color var(--transition-speed) ease;
}

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

.logo {
  font-family: var(--font-family-headings);
  font-size: 1.75rem;
  color: var(--color-primary);
  text-decoration: none;
  font-weight: 700;
}

.logo:hover {
  text-decoration: none;
  color: var(--color-secondary);
}

.nav-links {
  display: none;
  list-style: none;
  gap: var(--spacing-lg);
}

.nav-links li a {
  font-family: var(--font-family-body);
  font-weight: 600;
  color: var(--color-text);
  text-decoration: none;
  font-size: 1rem;
  padding: var(--spacing-sm) 0;
  position: relative;
}

.nav-links li a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background-color: var(--color-accent);
  transform: scaleX(0);
  transform-origin: bottom right;
  transition: transform var(--transition-speed) ease-out;
}

.nav-links li a:hover::after,
.nav-links li a.active::after {
  transform: scaleX(1);
  transform-origin: bottom left;
}

.nav-links li a:hover, .nav-links li a:focus,
.nav-links li a.active {
  color: var(--color-primary);
  text-decoration: none;
}

.hamburger {
  display: block;
  cursor: pointer;
  background: none;
  border: none;
  padding: 0;
}

.hamburger .bar {
  display: block;
  width: 25px;
  height: 3px;
  margin: 5px auto;
  transition: all 0.3s ease-in-out;
  background-color: var(--color-primary);
}

@media(min-width: 992px) {
  .nav-links { display: flex; }
  .hamburger { display: none; }
}

/* Mobile Nav Styles */
.mobile-nav {
    position: fixed;
    top: 0;
    left: -100%;
    width: 80%;
    max-width: 300px;
    height: 100vh;
    background-color: var(--color-secondary);
    box-shadow: var(--shadow-md);
    transition: left 0.3s ease-in-out;
    z-index: 1001;
    padding: var(--spacing-xl);
}
.mobile-nav.is-open {
    left: 0;
}
.mobile-nav .nav-links {
    flex-direction: column;
    align-items: flex-start;
    gap: var(--spacing-md);
}
.mobile-nav .nav-links li a {
    color: var(--color-bg-white);
    font-size: 1.25rem;
}
.mobile-nav .nav-links li a:hover,
.mobile-nav .nav-links li a.active {
    color: var(--color-accent);
}
.mobile-nav .nav-links li a::after {
    display: none;
}

.hamburger.is-active .bar:nth-child(2) { opacity: 0; }
.hamburger.is-active .bar:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.hamburger.is-active .bar:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }


/* ------------------- */
/* HERO SECTION        */
/* ------------------- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background-size: cover;
  background-position: center;
  color: var(--color-bg-white);
  padding: var(--spacing-xl) 0;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(26, 35, 126, 0.7); /* Dark Blue Overlay */
}

.hero-content {
  position: relative;
  z-index: 1;
  text-align: center;
  max-width: 800px;
}

.hero h1 {
  color: var(--color-bg-white);
  margin-bottom: var(--spacing-md);
}

.hero p {
  font-size: clamp(1.1rem, 1.5vw, 1.25rem);
  max-width: 650px;
  margin: 0 auto var(--spacing-lg) auto;
  opacity: 0.9;
}

.page-hero {
    min-height: 40vh;
}


/* ------------------- */
/* BUTTONS             */
/* ------------------- */
.btn {
  display: inline-block;
  font-family: var(--font-family-headings);
  font-weight: 700;
  font-size: 1rem;
  padding: var(--spacing-md) var(--spacing-lg);
  border-radius: var(--border-radius);
  border: 2px solid transparent;
  cursor: pointer;
  text-align: center;
  text-decoration: none;
  transition: all var(--transition-speed) ease;
}

.btn-primary {
  background-color: var(--color-accent);
  color: var(--color-bg-white);
  border-color: var(--color-accent);
}

.btn-primary:hover, .btn-primary:focus {
  background-color: var(--color-accent-hover);
  border-color: var(--color-accent-hover);
  color: var(--color-bg-white);
  text-decoration: none;
  transform: translateY(-2px);
  box-shadow: var(--shadow-sm);
}

.btn-secondary {
  background-color: transparent;
  color: var(--color-text);
  border-color: var(--color-border);
}

.btn-secondary:hover, .btn-secondary:focus {
  background-color: var(--color-text);
  color: var(--color-bg-white);
  border-color: var(--color-text);
  text-decoration: none;
}

/* ------------------- */
/* CARDS (Features, Services) */
/* ------------------- */
.card {
  background-color: var(--color-bg-white);
  border-radius: var(--border-radius);
  box-shadow: var(--shadow-md);
  overflow: hidden;
  transition: transform var(--transition-speed) ease, box-shadow var(--transition-speed) ease;
  display: flex;
  flex-direction: column;
}

.card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
}

.card-icon {
  font-size: 3rem;
  color: var(--color-accent);
  margin-bottom: var(--spacing-md);
}

.card-body {
  padding: var(--spacing-lg);
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.card-body h3 {
  font-size: 1.25rem;
  margin-top: 0;
}

.card-body .btn {
  margin-top: auto;
}

.card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

/* ------------------- */
/* ABOUT STORY SECTION */
/* ------------------- */
.about-story-grid {
    align-items: center;
    gap: var(--spacing-xl);
}
.about-story-grid img {
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-md);
}

/* ------------------- */
/* TESTIMONIALS SECTION */
/* ------------------- */
.testimonial-card {
  background-color: var(--color-bg-white);
  padding: var(--spacing-lg);
  border-radius: var(--border-radius);
  box-shadow: var(--shadow-sm);
  text-align: center;
}
.testimonial-card img {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  object-fit: cover;
  margin: 0 auto var(--spacing-md) auto;
  border: 4px solid var(--color-accent);
}
.testimonial-quote {
  font-style: italic;
  margin-bottom: var(--spacing-md);
  color: var(--color-text-light);
}
.testimonial-author {
  font-weight: 700;
  color: var(--color-primary);
}
.testimonial-author span {
  display: block;
  font-weight: 400;
  font-size: 0.9rem;
  color: var(--color-text-light);
}

/* ------------------- */
/* STATISTICS SECTION */
/* ------------------- */
.stat-item {
  text-align: center;
}
.stat-number {
  font-size: clamp(3rem, 6vw, 4.5rem);
  font-family: var(--font-family-headings);
  color: var(--color-accent);
  line-height: 1;
}
.stat-label {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--color-primary);
}

/* ------------------- */
/* FAQ SECTION         */
/* ------------------- */
.faq-item {
  border-bottom: 1px solid var(--color-border);
}

.faq-question {
  width: 100%;
  background: none;
  border: none;
  text-align: left;
  padding: var(--spacing-md) 0;
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--color-primary);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.faq-question::after {
  content: '+';
  font-size: 1.5rem;
  transition: transform var(--transition-speed) ease;
}

.faq-item.active .faq-question::after {
  transform: rotate(45deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.5s ease;
}

.faq-answer p {
  padding-bottom: var(--spacing-md);
  padding-top: 0;
}

/* ------------------- */
/* CTA SECTION         */
/* ------------------- */
.cta-section {
    background-image: linear-gradient(to right, var(--color-primary), var(--color-secondary));
    color: var(--color-bg-white);
    padding: var(--spacing-xl) 0;
    border-radius: var(--border-radius);
}
.cta-section .container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
}
.cta-section h2 {
    color: var(--color-bg-white);
}

/* ------------------- */
/* PARTNERS SECTION    */
/* ------------------- */
.partners-grid {
    align-items: center;
    justify-content: center;
    filter: grayscale(100%);
    opacity: 0.7;
    transition: all var(--transition-speed) ease;
}
.partners-grid:hover {
    filter: grayscale(0);
    opacity: 1;
}
.partner-logo img {
    max-height: 40px;
    width: auto;
    margin: 0 auto;
}

/* ------------------- */
/* CONTACT PAGE        */
/* ------------------- */
.contact-form {
  display: grid;
  gap: var(--spacing-md);
}

.form-group {
  display: flex;
  flex-direction: column;
}

.form-group label {
  margin-bottom: var(--spacing-sm);
  font-weight: 600;
}
.form-group input,
.form-group textarea {
  padding: var(--spacing-md);
  border: 1px solid var(--color-border);
  border-radius: var(--border-radius);
  font-size: 1rem;
  font-family: var(--font-family-body);
}
.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--color-primary);
  box-shadow: 0 0 0 3px rgba(26, 35, 126, 0.2);
}
textarea {
  resize: vertical;
  min-height: 150px;
}
.contact-details {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-lg);
}
.contact-info-item {
    display: flex;
    align-items: center;
    gap: var(--spacing-md);
    font-size: 1.1rem;
}
.contact-info-item .icon {
    font-size: 1.5rem;
    color: var(--color-accent);
}

/* ------------------- */
/* FOOTER              */
/* ------------------- */
.footer {
  background-color: var(--color-secondary);
  color: rgba(255, 255, 255, 0.7);
  padding: var(--spacing-xl) 0 var(--spacing-lg) 0;
  font-size: 0.9rem;
}
.footer-grid {
    border-bottom: 1px solid rgba(255,255,255,0.1);
    padding-bottom: var(--spacing-xl);
    margin-bottom: var(--spacing-lg);
}
.footer h4 {
  color: var(--color-bg-white);
  font-size: 1.1rem;
  margin-bottom: var(--spacing-md);
}
.footer-links {
  list-style: none;
}
.footer-links li {
  margin-bottom: var(--spacing-sm);
}
.footer-links a {
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
}
.footer-links a:hover {
  color: var(--color-bg-white);
  text-decoration: underline;
}
.social-links {
    display: flex;
    gap: var(--spacing-md);
    list-style: none;
}
.social-links a {
    font-size: 1.5rem;
    color: rgba(255, 255, 255, 0.7);
}
.social-links a:hover {
    color: var(--color-accent);
}
.copyright {
  text-align: center;
  font-size: 0.85rem;
}

/* ------------------- */
/* COOKIE BANNER       */
/* ------------------- */
#cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background-color: rgba(26, 35, 126, 0.95);
  color: var(--color-bg-white);
  padding: var(--spacing-lg);
  z-index: 9999;
  display: none; /* Initially hidden */
  align-items: center;
  justify-content: center;
  gap: var(--spacing-lg);
  flex-wrap: wrap;
  box-shadow: 0 -5px 15px rgba(0,0,0,0.2);
}

#cookie-banner-text {
  flex-grow: 1;
  text-align: center;
  max-width: 800px;
}
#cookie-banner-text p {
    margin: 0;
}
#cookie-banner-text a {
    color: var(--color-accent);
    font-weight: bold;
}
#cookie-banner-actions {
  display: flex;
  gap: var(--spacing-md);
  flex-shrink: 0;
}
#cookie-banner .btn {
    padding: var(--spacing-sm) var(--spacing-md);
}
#cookie-banner .btn-decline {
    background: transparent;
    color: white;
    border: none;
}
#cookie-banner .btn-decline:hover {
    text-decoration: underline;
    background: transparent;
}