/* ------------------------------
   Global Reset & Base Styles
--------------------------------*/
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', sans-serif;
  line-height: 1.6;
  background: var(--bg-color);
  color: var(--text-color);
  transition: background 0.3s ease, color 0.3s ease;
}

/* ------------------------------
   CSS Variables (Light Mode)
--------------------------------*/
:root {
  --bg-color: #fafafa;
  --text-color: #333;
  --header-bg: #fff;
  --card-bg: #fff;
  --primary-color: #0077ff;
  --secondary-color: #0056cc;
  --shadow-light: 0 4px 20px rgba(0,0,0,0.08);
  --shadow-hover: 0 8px 30px rgba(0,0,0,0.12);
}

/* ------------------------------
   Dark Mode
--------------------------------*/
body.dark-mode {
  --bg-color: #121212;
  --text-color: #f1f1f1;
  --header-bg: #1e1e1e;
  --card-bg: #1f1f1f;
}

/* ------------------------------
   Container
--------------------------------*/
.container {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
}

/* ------------------------------
   Header
--------------------------------*/
.site-header {
  background: var(--header-bg);
  box-shadow: 0 2px 10px rgba(0,0,0,0.08);
  position: sticky;
  top: 0;
  z-index: 1000;
}

.header-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 0;
}

.logo-link {
  display: flex;
  align-items: center;
  text-decoration: none;
}

.logo {
  height: 50px;
  margin-right: 10px;
}

.company-name {
  font-weight: 700;
  font-size: 1.2rem;
  color: var(--text-color);
}

/* Navigation */
.nav-list {
  display: flex;
  list-style: none;
  gap: 1.2rem;
}

.nav-list li a {
  text-decoration: none;
  color: var(--text-color);
  font-weight: 600;
  transition: color 0.3s ease;
}

.nav-list li a:hover {
  color: var(--primary-color);
}

/* Header Actions */
.header-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
}

#darkModeToggle {
  background: transparent;
  border: none;
  font-size: 1.4rem;
  cursor: pointer;
}

/* Hamburger Menu */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 6px;
  cursor: pointer;
}

.hamburger span {
  width: 25px;
  height: 3px;
  background: var(--text-color);
  transition: all 0.3s ease;
}

/* ------------------------------
   Button
--------------------------------*/
.btn {
  background-color: var(--primary-color);
  color: #fff !important;
  padding: 0.6rem 1.2rem;
  border-radius: 8px;
  font-weight: 600;
  transition: background 0.3s ease;
  text-decoration: none;
}

.btn:hover {
  background-color: var(--secondary-color);
}

/* ------------------------------
   Hero Section
--------------------------------*/
.hero {
  height: 90vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: #fff;
  background-size: cover;
  background-position: center;
  position: relative;
}

.hero::after {
  content: "";
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: rgba(0,0,0,0.4);
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 700px;
  padding: 0 1rem;
}

.hero h1 {
  font-size: 2.8rem;
  font-weight: 800;
  margin-bottom: 1rem;
}

.hero p {
  font-size: 1.2rem;
  margin-bottom: 1.5rem;
}

/* ------------------------------
   About Section
--------------------------------*/
.about {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  align-items: center;
  padding: 4rem 0;
}

.about h2 {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

.about p {
  margin-bottom: 1rem;
  color: #555;
}

.about ul {
  list-style: none;
}

.about ul li {
  margin-bottom: 0.5rem;
  font-size: 1rem;
}

.about-img img {
  width: 100%;
  border-radius: 12px;
  box-shadow: var(--shadow-light);
}

/* ------------------------------
   Services Section
--------------------------------*/
.services {
  padding: 4rem 0;
  text-align: center;
}

.services h2 {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 2rem;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
}

.service-card {
  background: var(--card-bg);
  border-radius: 12px;
  box-shadow: var(--shadow-light);
  text-align: center;
  padding: 1.5rem;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 1rem;
}

.service-card h3 {
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 0.8rem;
}

.service-card p {
  color: #666;
  font-size: 0.95rem;
}

.service-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-hover);
}
.cta-section {
  background-color: #f5f7fa;
  padding: 4rem 2rem; /* add enough top and bottom padding */
  text-align: center;
  margin-top: 2rem;
  border-radius: 10px;
}

/* Ensure button spacing */
.cta-section .btn {
  margin-top: 1.5rem; /* space between text and button */
}

/* Optional: Center content container */
.cta-container {
  max-width: 700px;
  margin: 0 auto;
}

/* ------------------------------
   Footer
--------------------------------*/
.footer {
  background: #1a1a1a;
  color: #fff;
  text-align: center;
  padding: 2rem 0;
  font-size: 0.9rem;
}

.footer a {
  color: var(--primary-color);
  text-decoration: none;
}

.footer a:hover {
  text-decoration: underline;
}

/* Adjust Contact Intro Layout */

.contact-intro {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  margin: 4rem auto;
  align-items: start;
}

/* Responsive */
@media (max-width: 900px) {
  .contact-intro {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
}

/* Founder Card Styling */
.founder-card {
  background: #f9f9f9;
  padding: 2rem;
  border-radius: 10px;
  text-align: center;
  box-shadow: 0 6px 20px rgba(0,0,0,0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.founder-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(0,0,0,0.12);
}
.founder-img {
  width: 140px;
  height: 140px;
  border-radius: 50%;
  object-fit: cover;
  margin-bottom: 1rem;
}
.founder-card h3 {
  font-size: 1.5rem;
  color: #1a73e8;
  margin-bottom: 0.2rem;
}
.founder-card p {
  font-size: 1rem;
  margin-bottom: 0.5rem;
  color: #555;
}

/* Small Button */
.btn-small {
  font-size: 0.9rem;
  padding: 0.5rem 1rem;
  border-radius: 6px;
}

/* Optional: Secondary style for email button */
.btn-secondary {
  background-color: #1a73e8; /* Blue */
  color: #fff;
  border: none;
  transition: background-color 0.3s ease, transform 0.2s ease;
}
.btn-secondary:hover {
  background-color: #155ab6;
  transform: translateY(-2px);
}


/* Contact Form */
.contact-section {
  max-width: 650px;
  margin: 3rem auto 5rem auto;
}
.contact-form .form-group textarea {
  min-height: 150px;
}



/* ------------------------------
   Responsive Design
--------------------------------*/
@media (max-width: 900px) {
  .about {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .about-img {
    margin-top: 2rem;
  }
}

@media (max-width: 768px) {
  .nav-list {
    display: none;
    flex-direction: column;
    gap: 1.5rem;
    position: fixed;
    top: 70px;
    right: 0;
    background: var(--header-bg);
    padding: 2rem;
    width: 250px;
    height: 100vh;
    transform: translateX(100%);
    transition: transform 0.4s ease;
  }

  .nav-menu.open .nav-list {
    display: flex;
    transform: translateX(0);
  }

  .hamburger {
    display: flex;
  }
}

@media (max-width: 600px) {
  .hero h1 {
    font-size: 2rem;
  }
  .hero p {
    font-size: 1rem;
  }
}
