/* ================================
   THEME VARIABLES
================================ */
:root {
  /* Light Mode Defaults */
  --bg: #51656d5f;
  --text: #fff;;
  --card-bg: #f5f5f5;
  --primary: #0077ff;
  --secondary: #555555;
  --shadow: rgba(0,0,0,0.1);
}

body.dark-mode {
  /* Dark Mode Overrides */
  --bg: #121212;
  --text: #f0f0f0;
  --card-bg: #0e0d0d;
  --primary: #1e90ff;
  --secondary: #bbbbbb;
  --shadow: rgba(255,255,255,0.05);
}

/* ================================
   GLOBAL STYLES
================================ */
body {
  background-color: var(--bg);
  color: var(--text);
  font-family: Arial, sans-serif;
  transition: background 0.3s ease, color 0.3s ease;
}

a {
  color: var(--primary);
  transition: color 0.3s ease;
}

header, footer, section {
  background-color: var(--bg);
  color: var(--text);
  transition: background 0.3s ease, color 0.3s ease;
}
h1, h2, h3, h4 {
  color: var(--text);
}

/* ==============================
   CARDS (Founder, Team, etc.)
============================== */
.founder-card, 
.team-member {
  background: var(--card-bg);
  color: var(--text);
  box-shadow: 0px 4px 15px var(--shadow);
  padding: 20px;
  border-radius: 8px;
  transition: background 0.3s, color 0.3s, box-shadow 0.3s;
}

/* Founder & Team sections */
.founder, 
.team {
  background: var(--bg);
  color: var(--text);
  transition: background 0.3s, color 0.3s;
}

/* ================================
   HEADER + NAV
================================ */
header {
  padding: 15px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  box-shadow: 0 4px 12px var(--shadow);
}

header nav a {
  margin: 0 10px;
  text-decoration: none;
  color: var(--text);
  transition: color 0.3s ease;
}

header nav a.active {
  font-weight: bold;
  color: var(--primary);
}

#modeToggle {
  background: none;
  border: none;
  font-size: 1.2rem;
  cursor: pointer;
}

/* ================================
   CARDS (Founder / Team)
================================ */
.founder-card,
.team-member {
  background-color: var(--card-bg);
  color: var(--text);
  box-shadow: 0 4px 12px var(--shadow);
  border-radius: 12px;
  padding: 20px;
  margin: 15px 0;
  transition: background 0.3s ease, color 0.3s ease, box-shadow 0.3s ease;
}

/* ================================
   SECTIONS
================================ */
.founder,
.team,
.location,
.about,
.content {
  background-color: var(--bg);
  color: var(--text);
  transition: background 0.3s ease, color 0.3s ease;
}

/* Map in dark mode */
body.dark-mode .location iframe {
  filter: invert(90%) hue-rotate(180deg);
  border-radius: 8px;
}


body {
  margin: 0;
  font-family: "Poppins", sans-serif;
  background: var(--bg);
  color: var(--text);
  transition: background 0.3s, color 0.3s;
}

h1, h2, h3 {
  margin: 10px 0;
  font-weight: 600;
}

a {
  color: var(--primary);
  text-decoration: none;
  transition: 0.3s;
}

a:hover {
  text-decoration: underline;
}

/* ================================
   HEADER & NAVIGATION
================================ */
header {
  background: rgba(0,0,0,0.7);
  color: #fff;
  padding: 15px 30px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: sticky;
  top: 0;
  z-index: 1000;
}

.header-left {
  display: flex;
  align-items: center;
  gap: 20px; /* space between logo and title */
}

.header-logo {
  height: 40px;  /* adjust size */
  width: auto;
}

header h1 {
  font-size: 22px;
  margin: 0; /* removes extra spacing */
}


nav {
  display: flex;
  align-items: center;
  gap: 20px;
}

nav a {
  color: #fff;
  font-weight: 500;
}

nav a.active {
  border-bottom: 2px solid var(--primary);
}

#modeToggle {
  background: transparent;
  border: none;
  font-size: 20px;
  cursor: pointer;
  color: #fff;
}

/* ================================
   HERO / MAIN PAGE
================================ */
.hero-header {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 25px; /* space between logo and text */
}

.hero-logo {
  width: 77px;   /* adjust size */
  height: auto;
}

.hero {
  position: relative;
  background: url("images/background.jpg") no-repeat center center/cover;
  height: 80vh;
  display: flex;
  align-items: flex-start;   /* push content to top */
  justify-content: flex-start; /* align left if needed */
  flex-direction: column;
  text-align: left;          /* align text left */
  color: #fff;
  padding: 60px 40px 20px;  /* big top padding so text is below navbar */
}

.hero h1 {
  font-size: 3rem;
  font-weight: bold;
  margin-bottom: 10px;
  text-shadow: 2px 2px 6px rgba(0,0,0,0.7);
}

.hero p {
  font-size: 1.2rem;
  max-width: 700px;
  text-shadow: 1px 1px 4px rgba(0,0,0,0.6);
}
.features {
  padding: 50px 20px;
  text-align: center;
}

.features h1 {
  font-size: 2rem;
  margin-bottom: 30px;
  color: #222;
}

.feature-container {
  display: flex;
  flex-wrap: wrap;        /* ✅ wrap items to next line */
  justify-content: center;
  gap: 20px;              /* space between items */
}

.feature-item {
  background: #fff;
  border: 1px solid #ddd;
  border-radius: 12px;
  overflow: hidden;
  width: 300px;           /* ✅ fixed card width */
  flex: 1 1 280px;        /* grow/shrink with min width */
  transition: transform 0.3s ease;
}

.feature-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.15);
}

.feature-item img {
  width: 100%;
  height: 200px;          /* fixed height */
  object-fit: cover;      /* ✅ keeps image aspect ratio */
  display: block;
}

.feature-text {
  padding: 15px;
}

.feature-text h3 {
  margin: 10px 0;
  font-size: 1.2rem;
  color: #333;
}

.feature-text p {
  font-size: 0.95rem;
  color: #555;
  line-height: 1.5;
}

@media (max-width: 600px) {
  .feature-container {
    flex-direction: column;
    align-items: center;
  }
  .feature-item {
    width: 100%;   /* full width on small screens */
    max-width: 400px;
  }
}


@keyframes fadeInDown {
  from { opacity: 0; transform: translateY(-40px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(40px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ================================
ABOUT PAGE STYLES (scoped)
================================ */
.about {
  position: relative;
  text-align: center;
  color: white;
}

.about-bg img {
  width: 100%;
  height: 500px; /* adjust */
  object-fit: cover;
  filter: brightness(33%);
}

.overlay-text {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 90%;
  height: 100%;
}

.overlay-text h1 {
  position: absolute;
  top: 30px;  /* fixed at top */
  left: 50%;
  transform: translateX(-50%);
  font-size: 3rem;
  font-weight: bold;
  margin: 0;
}

.overlay-text p {
  position: absolute;
  top: 50%;  /* middle of image */
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 1.3rem;
  max-width: 80%;
  line-height: 1.6;
}
/* Style for "Who We Are" list */
.content ul {
  list-style: none;         
  padding: 0;
  margin: 20px auto;
  max-width: 600px;        /* keep list width manageable */
  text-align: left;        /* keep text aligned */
  transform: translateX(18%); /* move list slightly to the right */
}


.content ul li {
  display: flex;
  align-items: center;
  margin: 10px 0;
  font-size: 1.1rem;
  color: inherit;
}

/* Custom checkmark before each list item */
.content ul li::before {
  
  color: #8a6df1;           /* purple checkmark */
  font-size: 1.2rem;
  margin-right: 10px;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
  .overlay-text h1 {
    font-size: 2rem;
    top: 20px;
  }

  .overlay-text p {
    font-size: 1rem;
    top: 60%;  /* push down a bit */
    max-width: 90%;
  }
}

@media (max-width: 480px) {
  .overlay-text h1 {
    font-size: 1.5rem;
    top: 15px;
  }

  .overlay-text p {
    font-size: 0.9rem;
    top: 60%;  /* push further down */
  }
}

/* ===== Founder Section ===== */
.founder {
  text-align: center;
  padding: 80px 20px;
  
}

.founder h2 {
  font-size: 2.5rem;
  margin-bottom: 40px;
}

.founder-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  max-width: 600px;
  margin: 0 auto;
  padding: 40px;
  background-color: #51656d5f;
  border-radius: 12px;
  box-shadow: 0px 4px 15px rgba(0,0,0,0.1);
}

.founder-icon {
  font-size: 4rem;
  margin-bottom: 20px;
}

.founder-info h3 {
  font-size: 1.8rem;
  margin-bottom: 15px;
}

.founder-info p,
.founder-info ul {
  text-align: left;
  font-size: 1.1rem;
  line-height: 1.6;
}

/* ===== Location Section ===== */
.location {
  text-align: center;
  padding: 80px 20px;
}

.location h2 {
  font-size: 2.2rem;
  margin-bottom: 20px;
}

.location p {
  font-size: 1.1rem;
  margin-bottom: 15px;
}

/* ===== Team Section (Key People) ===== */
.team {
  text-align: center;
  padding: 80px 20px;
  
}

.team h2 {
  font-size: 2.5rem;
  margin-bottom: 40px;
}

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

.team-member {
      background-color: #51656d5f;
  padding: 30px;
  border-radius: 12px;
  box-shadow: 0px 4px 15px rgba(0,0,0,0.1);
  transition: transform 0.3s ease;
}

.team-member:hover {
  transform: translateY(-5px);
}

.team-member .icon {
  font-size: 3rem;
  margin-bottom: 15px;
}

.team-member h3 {
  font-size: 1.5rem;
  margin-bottom: 10px;
}

.team-member p {
  font-size: 1rem;
  margin: 5px 0;
}



/* ================================
   CLIENTS / PRODUCTION / EMPLOYEE
================================ */
.highlights {
  background: var(--bg);
  padding: 60px 20px;
  text-align: center;
}

.highlights h2 {
  margin-bottom: 40px;
  font-size: 32px;
  color: var(--primary);
}

.highlights-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 30px;
}

.highlight-card {
  background: var(--bg);
  border-radius: 12px;
  padding: 25px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
  transition: transform 0.3s;
}

.highlight-card:hover {
  transform: translateY(-6px);
}

.highlight-card i {
  font-size: 36px;
  margin-bottom: 15px;
  color: var(--primary);
}

.highlight-card h3 {
  font-size: 20px;
  margin-bottom: 10px;
}

/* ================================
   PRODUCT SECTION
================================ */
 .content {
    padding: 40px;
    text-align: center;
  }

  .content h2 {
    margin-bottom: 30px;
    font-size: 2rem;
    color: #222;
  }

  /* Grid layout */
  .product-grid {
    display: flex;
    flex-wrap: wrap; /* allows wrapping to next line */
    gap: 20px; /* spacing between cards */
    justify-content: center; /* center align */
  }

  /* Product cards */
  .product-card {
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 12px;
    padding: 15px;
    width: 200px; /* fixed card width */
    text-align: center;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
  }

  .product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 18px rgba(0,0,0,0.2);
  }

  .product-card img {
    max-width: 100%;
    height: 120px;
    object-fit: contain; /* keep proportions */
    border-radius: 8px;
    margin-bottom: 10px;
  }

  .product-card h3 {
    font-size: 1.2rem;
    margin: 10px 0;
    color: #333;
  }

  .product-card p {
    font-size: 0.9rem;
    color: #666;
  }

/* ================================
   CONTACT SECTION
================================ */
.contact-hero {
  height: 20vh; /* adjust as needed */
  /* background: #111; or background image */
  background-image:url("images/contactBgImage.jpg") ;
  background-size: cover;        /* fills the area while keeping aspect ratio */
  background-position: center;   /* keeps image centered */
 
  display: flex;
  justify-content: center; /* center horizontally */
  align-items: center;     /* center vertically */
  text-align: center;      /* center text */
}

.contact-hero .overlay {
  max-width: 800px; /* keeps text from stretching too wide */
  padding: 20px;
  text-align: justify; /* justify text content */
  color: white;
}


.contact-section {
  background: url("images/background.jpg") no-repeat center center/cover;
  padding: 60px 20px;
  color: #fff;
  text-align: center;
  position: relative;
}

.contact-owner {
  margin-bottom: 20px;
}



.contact-owner h3 {
  margin-top: 10px;
  font-size: 20px;
}

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

.contact-item {
  background: rgba(45, 40, 40, 0.6);
  padding: 20px;
  border-radius: 12px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.4);
}

.contact-item i {
  font-size: 30px;
  margin-bottom: 10px;
  color: var(--primary);
}

/* Contact Form */
/* Contact Form Container */
.contact-form-container {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 40px;
  }

  .contact-form {
    background: #fff;
    padding: 30px;
    border-radius: 15px;
    max-width: 500px;
    width: 100%;
    box-shadow: 0 6px 18px rgba(0,0,0,0.2);
    text-align: center;
  }

  .contact-form h3 {
    margin-bottom: 20px;
    font-size: 1.5rem;
    color: #1a1a1a;
  }

  .contact-form input,
  .contact-form textarea {
    width: 100%;
    margin: 10px 0;
    padding: 14px;
    border: 1px solid #ddd;
    border-radius: 10px;
    font-size: 1rem;
    outline: none;
    transition: border 0.3s ease;
  }

  .contact-form input:focus,
  .contact-form textarea:focus {
    border: 1px solid #007bff;
  }

  .contact-form .btn {
    width: 100%;
    background: #0066ff;
    color: #fff;
    padding: 14px;
    font-size: 1rem;
    border: none;
    border-radius: 10px;
    cursor: pointer;
    transition: background 0.3s ease;
  }

  .contact-form .btn:hover {
    background: #0050cc;
  }

/* ================================
   FOOTER
================================ */
footer {
  text-align: center;
  padding: 20px;
  background: #111;
  color: #aaa;
  font-size: 14px;
}

/* ================================
   RESPONSIVENESS
================================ */
@media (max-width: 1024px) {
  .hero h1 {
    font-size: 36px;
  }

  .features {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  header {
    flex-direction: column;
    /* changed top alignment header to centre */
     align-items: center; 
  }

  nav {
    flex-wrap: wrap;
    justify-content: center;
  }

  .hero h1 {
    font-size: 30px;
  }

  .hero p {
    font-size: 16px;
  }

  .contact-owner img {
    width: 90px;
    height: 90px;
  }
}


