/* =====================
   GLOBAL STYLES
   ===================== */
:root {
  --primary: #6588ab;
  --secondary: #adbdcb;
  --accent: #c4c8cc;
  --light: #94b4c4;
  --white: #fff;
}
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
body {
  font-family: 'Segoe UI', Arial, sans-serif;
  background: var(--white);
  color: #222;
  line-height: 1.6;
}
.container {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
}
.cta-btn {
  background: var(--primary);
  color: var(--white);
  padding: 0.75em 2em;
  border: none;
  border-radius: 30px;
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
  text-decoration: none;
  box-shadow: 0 2px 8px rgba(101,136,171,0.08);
}
.cta-btn.transparent {
  background: rgba(101,136,171,0.15);
  color: var(--primary);
  border: 1.5px solid var(--primary);
}
.cta-btn:hover {
  background: var(--light);
  color: var(--primary);
}

/* =====================
   HEADER & NAVIGATION
   ===================== */
.header {
  background: var(--white);
  box-shadow: 0 2px 8px rgba(101,136,171,0.05);
  position: sticky;
  top: 0;
  z-index: 100;
}
.nav-flex {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.2em 0;
}
.logo {
  font-size: 2rem;
  font-weight: 700;
  color: var(--primary);
  text-decoration: none;
  letter-spacing: 2px;
}
.nav {
  display: flex;
  gap: 2em;
}
.nav a {
  color: var(--primary);
  text-decoration: none;
  font-weight: 500;
  font-size: 1.1rem;
  transition: color 0.2s;
}
.nav a:hover {
  color: var(--light);
}
.menu-toggle {
  display: none;
  flex-direction: column;
  cursor: pointer;
  gap: 5px;
}
.menu-toggle span {
  width: 28px;
  height: 3px;
  background: var(--primary);
  border-radius: 2px;
}

/* =====================
   HERO SLIDER (LARGE)
   ===================== */
.hero-slider {
  position: relative;
  height: 90vh;
  min-height: 600px;
  width: 100vw;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}
.slider {
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}
.slide {
  position: absolute;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center center;
  opacity: 0;
  transition: opacity 1s;
  will-change: opacity;
  filter: brightness(0.7) saturate(1.1);
}
.slide.active {
  opacity: 1;
  z-index: 2;
}
.hero-content {
  position: relative;
  z-index: 3;
  color: var(--white);
  text-align: center;
  max-width: 700px;
  margin: 0 auto;
}
.hero-content h1 {
  font-size: 2.8rem;
  font-weight: 800;
  margin-bottom: 0.5em;
  letter-spacing: 1px;
}
.hero-content p {
  font-size: 1.2rem;
  margin-bottom: 1.5em;
}

/* =====================
   CORE SERVICES SECTION
   ===================== */
.core-services {
  padding: 4em 0 2em 0;
  background: var(--secondary);
}
.core-services h2 {
  text-align: center;
  color: var(--primary);
  margin-bottom: 2em;
  font-size: 2.2rem;
}
.services-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 2em;
  justify-content: center;
}
.service-card {
  background: var(--white);
  border-radius: 18px;
  box-shadow: 0 2px 12px rgba(101,136,171,0.07);
  padding: 2em 1.5em;
  flex: 1 1 320px;
  max-width: 400px;
  min-width: 260px;
  text-align: center;
  transition: box-shadow 0.2s;
}
.service-card h3 {
  color: var(--primary);
  margin-bottom: 0.7em;
  font-size: 1.3rem;
}
.service-card p {
  color: #444;
}
.service-card:hover {
  box-shadow: 0 4px 24px rgba(101,136,171,0.13);
}

/* =====================
   ABOUT SECTION (HOME)
   ===================== */
.about-section-home {
  padding: 4em 0 2em 0;
  background: var(--white);
}
.about-flex {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 2em;
}
.about-img {
  flex: 1 1 320px;
  min-width: 260px;
  max-width: 400px;
}
.about-img img {
  width: 100%;
  border-radius: 18px;
  box-shadow: 0 2px 12px rgba(101,136,171,0.09);
}
.about-text {
  flex: 2 1 400px;
}
.about-text h2 {
  color: var(--primary);
  margin-bottom: 0.7em;
  font-size: 2rem;
}
.about-text p {
  color: #444;
  margin-bottom: 1.2em;
}

/* ABOUT SECTION TEXT ENHANCEMENT */
.about-section-home .about-text h2 {
  color: #fff;
  font-weight: 800;
}
.about-section-home .about-text p {
  color: #fff;
  font-weight: 600;
}

/* =====================
   TEAM SECTION
   ===================== */
.team-section {
  padding: 4em 0 2em 0;
  background: var(--accent);
}
.team-section h2 {
  text-align: center;
  color: var(--primary);
  margin-bottom: 2em;
  font-size: 2.2rem;
}
.team-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 2em;
  justify-content: center;
}
.team-member {
  background: var(--white);
  border-radius: 18px;
  box-shadow: 0 2px 12px rgba(101,136,171,0.07);
  padding: 1.5em 1em 1em 1em;
  flex: 1 1 220px;
  max-width: 260px;
  min-width: 180px;
  text-align: center;
  transition: box-shadow 0.2s;
}
.team-member img {
  width: 90px;
  height: 90px;
  object-fit: cover;
  border-radius: 50%;
  margin-bottom: 1em;
  border: 3px solid var(--primary);
}
.team-member h4 {
  color: var(--primary);
  margin-bottom: 0.3em;
  font-size: 1.1rem;
}
.team-member p {
  color: #555;
  font-size: 0.98rem;
}
.team-member:hover {
  box-shadow: 0 4px 24px rgba(101,136,171,0.13);
}

/* =====================
   FOOTER
   ===================== */
.footer {
  background: var(--primary);
  color: var(--white);
  padding: 2em 0 1em 0;
}
.footer-flex {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-start;
  gap: 2em;
}
.footer-info {
  flex: 2 1 300px;
}
.footer-info h3 {
  margin-bottom: 0.5em;
  font-size: 1.3rem;
}
.footer-info p, .footer-info a {
  color: var(--white);
  font-size: 1rem;
  text-decoration: none;
}
.footer-links {
  flex: 1 1 200px;
  display: flex;
  flex-direction: column;
  gap: 0.7em;
}
.footer-links a {
  color: var(--white);
  text-decoration: none;
  font-size: 1rem;
  transition: color 0.2s;
}
.footer-links a:hover {
  color: var(--light);
}
.footer-copy {
  flex: 1 1 100%;
  text-align: right;
  font-size: 0.95rem;
  margin-top: 1em;
  color: var(--accent);
}

/* =====================
   PAGE HEADER SECTION
   ===================== */
.page-header-section {
  background-size: cover;
  background-position: center;
  height: 220px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  margin-bottom: 2em;
}
.page-header-section::after {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(101,136,171,0.45);
  z-index: 1;
}
.page-header-section .container {
  position: relative;
  z-index: 2;
}
.page-header-section h1 {
  color: var(--white);
  font-size: 2.5rem;
  font-weight: 800;
  text-shadow: 0 2px 8px rgba(0,0,0,0.13);
}

/* =====================
   VALUES SECTION (ABOUT)
   ===================== */
.values-section {
  background: var(--secondary);
  padding: 4em 0 2em 0;
}
.values-section h2 {
  text-align: center;
  color: var(--primary);
  margin-bottom: 2em;
  font-size: 2.2rem;
}
.values-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 2em;
  justify-content: center;
}
.value-card {
  background: var(--white);
  border-radius: 18px;
  box-shadow: 0 2px 12px rgba(101,136,171,0.07);
  padding: 2em 1.5em;
  flex: 1 1 220px;
  max-width: 300px;
  min-width: 180px;
  text-align: center;
  transition: box-shadow 0.2s;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.value-icon {
  margin-bottom: 1em;
}
.value-card h3 {
  color: var(--primary);
  margin-bottom: 0.5em;
  font-size: 1.1rem;
}
.value-card p {
  color: #444;
  font-size: 0.98rem;
}
.value-card:hover {
  box-shadow: 0 4px 24px rgba(101,136,171,0.13);
}

/* =====================
   CONTACT SECTION
   ===================== */
.contact-section {
  padding: 4em 0 2em 0;
  background: var(--accent);
}
.contact-flex {
  display: flex;
  flex-wrap: wrap;
  gap: 2em;
  align-items: flex-start;
  justify-content: center;
}
.contact-info {
  flex: 1 1 320px;
  min-width: 260px;
  max-width: 400px;
}
.contact-info h2 {
  color: var(--primary);
  margin-bottom: 0.7em;
  font-size: 2rem;
}
.contact-info ul {
  list-style: none;
  margin-top: 1em;
}
.contact-info li {
  margin-bottom: 0.7em;
  color: #444;
  font-size: 1rem;
}
.contact-form {
  flex: 2 1 400px;
  background: var(--white);
  border-radius: 18px;
  box-shadow: 0 2px 12px rgba(101,136,171,0.09);
  padding: 2em 1.5em;
  min-width: 260px;
  max-width: 500px;
  display: flex;
  flex-direction: column;
  gap: 1em;
}
.contact-form label {
  color: var(--primary);
  font-weight: 500;
  margin-bottom: 0.2em;
}
.contact-form input,
.contact-form textarea {
  padding: 0.7em 1em;
  border: 1.5px solid var(--accent);
  border-radius: 8px;
  font-size: 1rem;
  background: var(--secondary);
  color: #222;
  resize: none;
  transition: border 0.2s;
}
.contact-form input:focus,
.contact-form textarea:focus {
  border: 1.5px solid var(--primary);
  outline: none;
}
.contact-form button {
  align-self: flex-end;
}

/* =====================
   TESTIMONIALS SLIDER SECTION
   ===================== */
.testimonials-section {
  background: var(--white);
  padding: 4em 0 2em 0;
}
.testimonials-section h2 {
  text-align: center;
  color: var(--primary);
  margin-bottom: 2em;
  font-size: 2.2rem;
}
.testimonials-slider-wrapper {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1em;
  max-width: 800px;
  margin: 0 auto;
}
.testimonials-slider {
  display: flex;
  overflow: hidden;
  width: 100%;
  max-width: 600px;
  min-height: 220px;
  position: relative;
}
.testimonial-card {
  min-width: 100%;
  max-width: 100%;
  opacity: 0;
  transform: scale(0.98);
  transition: opacity 0.5s, transform 0.5s;
  background: var(--secondary);
  border-radius: 18px;
  box-shadow: 0 2px 12px rgba(101,136,171,0.07);
  padding: 2em 1.5em 1.5em 1.5em;
  text-align: center;
  position: absolute;
  left: 0;
  top: 0;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.testimonial-card.active {
  opacity: 1;
  transform: scale(1);
  position: relative;
  z-index: 2;
}
.testimonial-icon {
  margin-bottom: 1em;
}
.testimonial-card h4 {
  color: var(--primary);
  margin-top: 1em;
  font-size: 1.1rem;
}
.testimonial-card p {
  color: #444;
  font-size: 1.05rem;
  margin-bottom: 0.5em;
}
.testimonial-arrow {
  background: rgba(101,136,171,0.12);
  border: none;
  border-radius: 50%;
  width: 40px;
  height: 40px;
  font-size: 1.5rem;
  color: var(--primary);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s;
}
.testimonial-arrow:hover {
  background: var(--light);
}
@media (max-width: 700px) {
  .testimonials-slider-wrapper {
    flex-direction: column;
    gap: 0.5em;
  }
  .testimonials-slider {
    max-width: 98vw;
    min-height: 260px;
  }
}

/* =====================
   LOGO IMAGE STYLES
   ===================== */
.site-logo {
  display: inline-block;
  vertical-align: middle;
  max-height: 48px;
  height: auto;
}
.footer-info .site-logo {
  max-width: 120px;
  max-height: 60px;
  margin-bottom: 1em;
}

/* =====================
   OUR STORY SECTION TEXT ENHANCEMENT (about.html)
   ===================== */
.about-story-section .about-text h2 {
  color: #fff;
  font-weight: 800;
}
.about-story-section .about-text p {
  color: #fff;
  font-weight: 600;
}

/* =====================
   SERVICES TABS
   ===================== */
.services-tabs {
  display: flex;
  gap: 2em;
  justify-content: center;
  margin-bottom: 2em;
}
.service-tab {
  background: var(--secondary);
  border: none;
  border-radius: 18px 18px 0 0;
  padding: 1em 2em 0.5em 2em;
  font-size: 1.1rem;
  color: var(--primary);
  font-weight: 600;
  cursor: pointer;
  outline: none;
  display: flex;
  flex-direction: column;
  align-items: center;
  transition: background 0.2s, color 0.2s;
  box-shadow: 0 2px 8px rgba(101,136,171,0.06);
}
.service-tab.active {
  background: var(--primary);
  color: #fff;
}
.service-tab .service-icon {
  margin-bottom: 0.5em;
}
.services-tab-content {
  background: var(--white);
  border-radius: 0 0 18px 18px;
  box-shadow: 0 2px 12px rgba(101,136,171,0.07);
  padding: 2em 1.5em;
  min-height: 220px;
}
.service-panel {
  display: none;
}
.service-panel.active {
  display: block;
}
@media (max-width: 700px) {
  .services-tabs {
    flex-direction: column;
    gap: 0.5em;
    align-items: stretch;
  }
  .service-tab {
    border-radius: 18px 18px 0 0;
    padding: 1em 1em 0.5em 1em;
    font-size: 1rem;
  }
}

/* =====================
   RESPONSIVE DESIGN
   ===================== */
@media (max-width: 900px) {
  .about-flex, .team-grid, .services-grid, .footer-flex, .values-grid, .contact-flex {
    flex-direction: column;
    align-items: stretch;
    gap: 1.2em;
  }
  .nav {
    gap: 1em;
  }
  .hero-content h1 {
    font-size: 2rem;
  }
  .hero-content p {
    font-size: 1rem;
  }
  .service-card, .value-card, .testimonial-card {
    max-width: 100%;
    min-width: 0;
    padding: 1.2em 1em;
  }
  .about-img, .about-text {
    max-width: 100%;
    min-width: 0;
  }
}
@media (max-width: 600px) {
  .hero-slider {
    height: 40vh;
    min-height: 220px;
  }
  .hero-content h1 {
    font-size: 1.2rem;
  }
  .hero-content p {
    font-size: 0.95rem;
  }
  .container {
    width: 98%;
    padding: 0 0.5em;
  }
  .footer-copy {
    text-align: left;
    font-size: 0.9rem;
  }
  .nav {
    display: none;
    position: absolute;
    top: 60px;
    left: 0;
    width: 100vw;
    background: var(--white);
    flex-direction: column;
    gap: 0;
    box-shadow: 0 2px 8px rgba(101,136,171,0.08);
  }
  .nav a {
    padding: 1em 2em;
    border-bottom: 1px solid var(--accent);
    font-size: 1.1rem;
    font-weight: 600;
  }
  .nav a:last-child {
    border-bottom: none;
  }
  .nav a:hover {
    background: var(--secondary);
  }
  .nav.open {
    display: flex;
  }
  .menu-toggle {
    display: flex;
  }
  .service-card, .value-card, .testimonial-card {
    padding: 1em 0.5em;
    font-size: 0.98rem;
  }
  .about-img img {
    max-width: 100%;
    height: auto;
  }
  .about-text h2 {
    font-size: 1.2rem;
  }
  .about-text p {
    font-size: 0.98rem;
  }
  .team-member img {
    width: 70px;
    height: 70px;
  }
  .testimonials-section h2, .team-section h2, .core-services h2, .values-section h2 {
    font-size: 1.3rem;
  }
  .services-tabs {
    flex-direction: column;
    gap: 0.5em;
    align-items: stretch;
  }
  .service-tab {
    border-radius: 18px 18px 0 0;
    padding: 1em 1em 0.5em 1em;
    font-size: 1rem;
  }
  .team-grid {
    flex-direction: column;
    align-items: center;
    gap: 1.5em;
  }
  .team-member {
    max-width: 280px;
    min-width: 0;
    width: 100%;
    padding: 1.2em 1em 1em 1em;
  }
  .team-member img {
    width: 80px;
    height: 80px;
  }
  .team-member h4 {
    font-size: 1rem;
  }
  .team-member p {
    font-size: 0.95rem;
  }
} 

/* =====================
   DARK MODE VARIABLES
   ===================== */
:root {
  --primary: #6588ab;
  --secondary: #adbdcb;
  --accent: #c4c8cc;
  --light: #94b4c4;
  --white: #fff;
  
  /* Dark mode colors */
  --dark-bg: #1a1a1a;
  --dark-surface: #2d2d2d;
  --dark-card: #3a3a3a;
  --dark-text: #e0e0e0;
  --dark-text-secondary: #b0b0b0;
  --dark-border: #404040;
  --dark-overlay: rgba(0,0,0,0.7);
}

[data-theme="dark"] {
  --primary: #94b4c4;
  --secondary: #2d2d2d;
  --accent: #3a3a3a;
  --light: #6588ab;
  --white: #1a1a1a;
}

/* =====================
   DARK MODE TOGGLE
   ===================== */
.theme-toggle {
  background: none;
  border: none;
  color: var(--primary);
  font-size: 1.2rem;
  cursor: pointer;
  padding: 0.5em;
  border-radius: 50%;
  transition: background 0.2s;
  margin-left: 1em;
}
.theme-toggle:hover {
  background: var(--secondary);
}

/* =====================
   DARK MODE STYLES
   ===================== */
[data-theme="dark"] body {
  background: var(--dark-bg);
  color: var(--dark-text);
}

[data-theme="dark"] .header {
  background: var(--dark-surface);
  box-shadow: 0 2px 8px rgba(0,0,0,0.3);
}

[data-theme="dark"] .nav a {
  color: var(--dark-text);
}

[data-theme="dark"] .nav a:hover {
  color: var(--primary);
}

[data-theme="dark"] .core-services {
  background: var(--dark-surface);
}

[data-theme="dark"] .core-services h2 {
  color: var(--dark-text);
}

[data-theme="dark"] .value-card {
  background: var(--dark-card);
  color: var(--dark-text);
  box-shadow: 0 2px 12px rgba(0,0,0,0.3);
}

[data-theme="dark"] .value-card h3 {
  color: var(--primary);
}

[data-theme="dark"] .value-card p {
  color: var(--dark-text-secondary);
}

[data-theme="dark"] .about-section-home {
  background: var(--dark-surface);
}

[data-theme="dark"] .about-text h2 {
  color: var(--dark-text);
}

[data-theme="dark"] .about-text p {
  color: var(--dark-text-secondary);
}

[data-theme="dark"] .values-section {
  background: var(--dark-surface);
}

[data-theme="dark"] .values-section h2 {
  color: var(--dark-text);
}

[data-theme="dark"] .testimonials-section {
  background: var(--dark-surface);
}

[data-theme="dark"] .testimonials-section h2 {
  color: var(--dark-text);
}

[data-theme="dark"] .testimonial-card {
  background: var(--dark-card);
  color: var(--dark-text);
}

[data-theme="dark"] .testimonial-card h4 {
  color: var(--primary);
}

[data-theme="dark"] .testimonial-card p {
  color: var(--dark-text-secondary);
}

[data-theme="dark"] .team-section {
  background: var(--dark-surface);
}

[data-theme="dark"] .team-section h2 {
  color: var(--dark-text);
}

[data-theme="dark"] .team-member {
  background: var(--dark-card);
  color: var(--dark-text);
}

[data-theme="dark"] .team-member h4 {
  color: var(--primary);
}

[data-theme="dark"] .team-member p {
  color: var(--dark-text-secondary);
}

[data-theme="dark"] .footer {
  background: var(--dark-surface);
  color: var(--dark-text);
}

[data-theme="dark"] .footer a {
  color: var(--dark-text);
}

[data-theme="dark"] .footer a:hover {
  color: var(--primary);
}

[data-theme="dark"] .contact-section {
  background: var(--dark-surface);
}

[data-theme="dark"] .contact-info h2 {
  color: var(--dark-text);
}

[data-theme="dark"] .contact-info p {
  color: var(--dark-text-secondary);
}

[data-theme="dark"] .contact-form {
  background: var(--dark-card);
  color: var(--dark-text);
}

[data-theme="dark"] .contact-form input,
[data-theme="dark"] .contact-form textarea {
  background: var(--dark-surface);
  border-color: var(--dark-border);
  color: var(--dark-text);
}

[data-theme="dark"] .contact-form label {
  color: var(--primary);
}

[data-theme="dark"] .page-header-section h1 {
  color: var(--dark-text);
}

[data-theme="dark"] .services-intro-text {
  color: var(--dark-text-secondary);
}

[data-theme="dark"] .service-card {
  background: var(--dark-card);
  color: var(--dark-text);
}

[data-theme="dark"] .service-card h3 {
  color: var(--primary);
}

[data-theme="dark"] .service-card p {
  color: var(--dark-text-secondary);
}

[data-theme="dark"] .service-card ul {
  color: var(--dark-text-secondary);
}

[data-theme="dark"] .services-tab-content {
  background: var(--dark-card);
  color: var(--dark-text);
}

[data-theme="dark"] .service-tab {
  background: var(--dark-surface);
  color: var(--dark-text);
}

[data-theme="dark"] .service-tab.active {
  background: var(--primary);
  color: var(--dark-bg);
}

[data-theme="dark"] .nav {
  background: var(--dark-surface);
}

[data-theme="dark"] .nav a {
  border-bottom-color: var(--dark-border);
}

[data-theme="dark"] .nav a:hover {
  background: var(--dark-card);
} 