/* =========================================================
   1. Global Reset & Base Styles
   Basic rules applied to the whole website.
   ========================================================= */
* {
  box-sizing: border-box;
}

html,
body {
  min-height: 100%;
}

body {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  margin: 0;
  font-family: Arial, Helvetica, sans-serif;
  color: #1f2937;
  background: #F4F8FA;
  line-height: 1.6;
}

/* =========================================================
   2. Layout Containers
   Controls the maximum page width and centre alignment.
   ========================================================= */

.container {
  width: min(1200px, 92%);
  margin: 0 auto;
}

main {
  flex: 1;
  display: flex;
  flex-direction: column;  
}

/* =========================================================
   3. Header & Branding
   Header background, logo, brand name and tagline styling.
   ========================================================= */

.site-header {
  background: #C8DCE8;
  border-bottom: 1px solid #AFC7D6;
  position: sticky;
  top: 0;
  z-index: 5;
}

.nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.brand-logo {
  display: flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  padding: 4px 0;
}

.logo-img {
  width: 90px;
  height: auto;
  object-fit: contain;
}

.brand-text {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  width: fit-content;
}

.brand-name {
  display: block;
  font-family: "Montserrat", Arial, sans-serif;
  font-size: 20px;
  font-weight: 700;
  letter-spacing: 1.5px;
  color: #45290b;
  text-transform: uppercase;
  text-shadow: 4px 2px 4px rgba(64, 39, 22, 0.35);
  line-height: 1.05;
}

.tagline {
  display: block;
  width: 100%;
  text-align: right;
  margin-top: 3px;
  font-family: "Montserrat", Arial, sans-serif;
  font-size: 7px;
  font-weight: 600;
  letter-spacing: 1.2px;
  color: #45290b;
  line-height: 1.1;
}

/* =========================================================
   4. Navigation
   Main menu links and Contact button in the header.
   ========================================================= */

nav a {
  margin-left: 22px;
  text-decoration: none;
  color: #6b3f22;
  font-weight: 600;
  font-size: 15px;
}

nav a:hover {
  color: #2B1A10;
}

/* =========================================================
   5. Buttons
   Reusable button styles used across the website.
   ========================================================= */

.btn-small {
  padding: 8px 15px;
  background: #3b2416;
  color: #ffffff !important;
  border-radius: 8px;
  font-size: 15px;
  font-weight: 600;
}

.eyebrow {
  margin: 0 0 14px;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  font-size: 16px;
  font-weight: 700;
  color: #3b2416;
}

h2 {
  font-size: 34px;
  line-height: 1.2;
  margin: 10px 0 24px;
  color: #2B1A10;
}

h3 {
  margin-top: 0;
  color: #2B1A10;
}

/* =========================================================
   6. Hero Section
   ========================================================= */

/* Hero Section */
.hero {
  padding: 25px 0 50px;
  background: linear-gradient(135deg, #e4edf1, #deebf3);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.35fr 1fr;
  gap: 120px;
  align-items: flex-start;
}

.hero-video {
  width: 100%;
  border-radius: 18px;
  overflow: hidden;
  border: none;
  box-shadow: none;
  background: transparent;
}

.hero-video video {
  width: 80%;
  height: auto;
  object-fit: contain;
  display: block;
  background: transparent;
}

.hero-text {
  font-size: 20px;
  color: #4b5563;
  text-align: justify;
}

.hero-actions {
  margin-top: 20px;
}

/* =========================================================
   7. Page Sections
   General section spacing for service, about, approach and contact pages.
   ========================================================= */

.page-section {
  flex: 1;
  padding: 35px 0 165px;
  background: linear-gradient(135deg, #e4edf1, #deebf3);
}

.services-section {
  padding: 15px 0 50px;
}

.section-title {
  margin: 0 0 28px;
  text-underline-offset: 8px;
  text-decoration-thickness: 2px;
}

/* =========================================================
   8. Service Cards
   Grid layout and individual service card styling.
   ========================================================= */

.card {
  font-size: 14px;
  background: #ffffff;
  border: 1px solid #D7E3EA;
  border-radius: 18px;
  padding: 20px;
  box-shadow: 0 20px 50px rgba(17, 24, 39, 0.08);
  min-height: 260px;
  height: 100%;
}

.card h3 {
  margin-top: 0;
  margin-bottom: 18px;
}

.card p {
  margin: 0;
}

.cards {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 22px;
  align-items: stretch;
}

/* =========================================================
   9. Call To Action Section
   ========================================================= */

.cta {
  text-align: center;
  padding: 70px 0;
  background: #2B1A10;
  color: #ffffff;
}

.cta-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 30px;
}

.cta-block {
  background: linear-gradient(135deg, #e4edf1, #deebf3);
  border: 1px solid #AFC7D6;
  border-radius: 18px;
  padding: 40px;
  text-align: center;
  box-shadow: 0 20px 50px rgba(17, 24, 39, 0.12);
}

.cta-block h2 {
  color: #2B1A10;
  font-size: 30px;
  line-height: 1.25;
  margin: 0 0 18px;
}

.cta-block p {
  color: #4b5563;
  font-size: 18px;
  line-height: 1.6;
  margin: 0 0 28px;
}

.cta-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 180px;
  height: 56px;
  background: #3b2416;
  color: #ffffff;
  padding: 0 18px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 700;
  font-size: 16px;
  text-align: center;
}

.cta-button:hover {
  background: #2B1A10;
}

/* =========================================================
   10. Footer
   ========================================================= */

/* Footer */
.footer {
  padding: 22px 0;
  background: #C8DCE8;   /* same as header */
  border-top: 1px solid #AFC7D6;
  font-size: 10px;       /* smaller than header menu */
  color: #2B1A10;
}

.footer a {
  color: #2B1A10;
  text-decoration: none;
}

.footer a:hover {
  text-decoration: underline;
}

.footer-grid {
  display: flex;
  justify-content: space-between;
  gap: 40px;
  align-items: flex-start;
}

.footer-info,
.footer-contact {
  flex: 1;
}

.footer-contact {
  text-align: right;
}

.footer-info p,
.footer-contact p {
  margin: 5px 0;
  line-height: 1;
}

/* =========================================================
   11. Tablet View
   Applies to tablets and smaller laptops.
   ========================================================= */

@media (max-width: 1000px) {
  .cards {
    grid-template-columns: repeat(2, 1fr);
  }

  .cta-grid {
    grid-template-columns: 1fr;
  }
}

/* =========================================================
   12. Mobile View
   Applies to phones and small screens.
   ========================================================= */

@media (max-width: 800px) {
  .nav {
    flex-direction: column;
    align-items: flex-start;
    padding: 8px 0 12px;
  }

  .brand-logo {
    gap: 6px;
  }

  .logo-img {
    width: 72px;
  }

  .brand-name {
    font-size: 17px;
    letter-spacing: 1.1px;
  }

  .tagline {
    font-size: 6.5px;
    letter-spacing: 1px;
  }

  nav {
    width: 100%;
    margin-top: 10px;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
  }

  nav a {
    margin: 0;
    font-size: 14px;
  }

  .btn-small {
    padding: 7px 13px;
    font-size: 14px;
  }

/* Mobile hero, cards, CTA and footer adjustments */
  .hero {
    padding: 35px 0 45px;
  }

  .hero-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  h2 {
    font-size: 28px;
    margin: 0 0 20px;
  }

  .hero-text {
    font-size: 16px;
    margin-top: 0;
  }

  .hero-actions {
    display: flex;
    flex-direction: column;
    gap: 12px;
  }

  .btn-primary {
    width: 100%;
    text-align: center;
    margin-right: 0;
  }

  .hero-video video {
    width: 100%;
    height: auto;
  }

  .cards {
    grid-template-columns: 1fr;
  }

  .card {
    min-height: auto;
    padding: 24px;
  }

  .cta {
    padding: 50px 0;
  }

  .cta-grid {
    grid-template-columns: 1fr;
  }

  .cta-block {
    padding: 28px;
  }

  .cta-block h2 {
    font-size: 24px;
  }

  .cta-block p {
    font-size: 16px;
  }

  .footer-grid {
    flex-direction: column;
    gap: 14px;
  }

  .footer-contact {
    text-align: left;
  }
}