/* Typography */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@300;400;500;600;700&family=Open+Sans:wght@300;400;600&display=swap');

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

:root {
  --primary: #0066b2;
  --primary-dark: #004e8c;
  --secondary: #26a69a;
  --accent: #ffd54f;
  --dark: #333333;
  --light: #f9f9f9;
  --gray: #6c757d;
  --light-gray: #e9ecef;
  --white: #ffffff;
  --success: #4caf50;
  --shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  --transition: all 0.3s ease;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Open Sans', sans-serif;
  color: var(--dark);
  line-height: 1.6;
  background-color: var(--white);
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', sans-serif;
  font-weight: 600;
  line-height: 1.2;
  margin-bottom: 1rem;
}

p {
  margin-bottom: 1.5rem;
}

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

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

a:hover {
  color: var(--primary-dark);
}

ul {
  list-style-type: none;
}

/* Layout & Containers */
.container {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

section {
  padding: 100px 0; /* Increased padding for more space between sections */
  margin-bottom: 20px; /* Added margin between sections */
}

.section-title {
  text-align: center;
  margin-bottom: 60px; /* Increased margin for more spacing */
  position: relative;
}

.section-title h2 {
  font-size: 2.5rem;
  color: var(--dark);
  margin-bottom: 15px;
}

.section-title::after {
  content: '';
  position: absolute;
  width: 80px;
  height: 3px;
  background-color: var(--primary);
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
}

.section-subtitle {
  font-size: 1.1rem;
  color: var(--gray);
  max-width: 700px;
  margin: 0 auto 30px;
  text-align: center;
}

/* Header & Navigation */
header {
  background-color: var(--white);
  box-shadow: var(--shadow);
  position: fixed;
  width: 100%;
  top: 0;
  z-index: 1000;
  transition: var(--transition);
}

.header-scrolled {
  padding: 12px 0;
  box-shadow: 0 2px 15px rgba(0, 0, 0, 0.1);
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 0;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
}

.logo img {
  max-height: 50px;
}

.logo-text {
  font-family: 'Montserrat', sans-serif;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--primary);
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 30px;
  list-style: none;
}

.nav-link {
  color: var(--dark);
  font-weight: 500;
  font-family: 'Montserrat', sans-serif;
  padding: 10px 0;
  position: relative;
}

.nav-link::before {
  content: '';
  position: absolute;
  width: 0;
  height: 2px;
  bottom: 0;
  left: 0;
  background-color: var(--primary);
  transition: var(--transition);
}

.nav-link:hover::before,
.nav-link.active::before {
  width: 100%;
}

.cta-button {
  background-color: var(--primary);
  color: var(--white);
  padding: 10px 24px;
  border-radius: 50px;
  font-weight: 600;
  border: 2px solid var(--primary);
  transition: var(--transition);
}

.cta-button:hover {
  background-color: transparent;
  color: var(--primary);
}

.mobile-toggle {
  display: none;
  font-size: 24px;
  color: var(--dark);
  cursor: pointer;
}

/* Hero Section */
.hero {
  padding: 180px 0 120px;
  background-color: var(--light);
  position: relative;
}

.hero-content {
  max-width: 700px;
}

.hero-title {
  font-size: 3.5rem;
  margin-bottom: 20px;
  color: var(--dark);
}

.hero-subtitle {
  font-size: 1.2rem;
  margin-bottom: 30px;
  color: var(--gray);
}

.hero-cta {
  display: flex;
  gap: 20px;
}

.hero-cta .cta-button-secondary {
  background-color: transparent;
  color: var(--primary);
  border: 2px solid var(--primary);
  padding: 10px 24px;
  border-radius: 50px;
  font-weight: 600;
  transition: var(--transition);
}

.hero-cta .cta-button-secondary:hover {
  background-color: var(--primary);
  color: var(--white);
}

/* Services Section */
.services {
  background-color: var(--light);
}

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

.service-card {
  background-color: var(--white);
  border-radius: 8px;
  padding: 40px; /* Increased padding inside cards */
  box-shadow: var(--shadow);
  transition: var(--transition);
  margin-bottom: 20px; /* Added spacing between cards */
}

.service-card:hover {
  transform: translateY(-10px);
}

.service-icon {
  font-size: 3rem;
  color: var(--primary);
  margin-bottom: 20px;
}

.service-title {
  font-size: 1.5rem;
  margin-bottom: 15px;
}

/* About Section */
.about-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 70px; /* Increased gap for more spacing */
  align-items: center;
  margin: 40px 0; /* Added margin around the grid */
}

.about-image {
  border-radius: 8px;
  overflow: hidden;
  box-shadow: var(--shadow);
}

.about-content h2 {
  margin-bottom: 20px;
}

/* Process Section */
.process {
  background-color: var(--light);
}

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

.process-step {
  text-align: center;
  padding: 40px; /* Increased padding */
  background-color: var(--white); /* Added background color for better visual separation */
  border-radius: 8px; /* Added rounded corners */
  box-shadow: var(--shadow); /* Added shadow for depth */
  margin: 10px; /* Added margin around steps */
}

.step-number {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 60px;
  height: 60px;
  background-color: var(--primary);
  color: var(--white);
  border-radius: 50%;
  font-weight: 700;
  font-size: 1.5rem;
  margin: 0 auto 20px;
}

.step-title {
  font-size: 1.3rem;
  margin-bottom: 15px;
}

/* Email Contact Section */
.email-contact {
  background-color: var(--white);
}

.contact-box {
  max-width: 800px;
  margin: 30px auto; /* Added margin for spacing */
  background-color: var(--light);
  padding: 50px; /* Increased padding */
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.email-form .form-row {
  display: flex;
  gap: 20px;
  margin-bottom: 20px;
}

.form-group {
  margin-bottom: 20px;
  width: 100%;
}

.form-group.half {
  width: calc(50% - 10px);
}

.form-group label {
  display: block;
  margin-bottom: 8px;
  font-weight: 600;
  color: var(--dark);
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 12px 15px;
  border: 1px solid var(--light-gray);
  border-radius: 4px;
  font-family: inherit;
  font-size: 1rem;
  transition: var(--transition);
}

.form-group input:focus,
.form-group textarea:focus {
  border-color: var(--primary);
  outline: none;
  box-shadow: 0 0 0 3px rgba(0, 102, 178, 0.1);
}

.checkbox-group {
  display: flex;
  align-items: center;
  gap: 10px;
}

.checkbox-group input {
  width: auto;
}

.submit-button {
  background-color: var(--primary);
  color: var(--white);
  border: none;
  padding: 14px 30px;
  border-radius: 4px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
}

.submit-button:hover {
  background-color: var(--primary-dark);
}

/* Team Section */
.team {
  background-color: var(--light);
}

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

.team-member {
  background-color: var(--white);
  border-radius: 8px;
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: var(--transition);
  margin-bottom: 30px; /* Added margin for spacing */
}

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

.member-image {
  height: 280px;
  position: relative;
}

.member-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.member-info {
  padding: 20px;
  text-align: center;
}

.member-name {
  font-size: 1.3rem;
  margin-bottom: 5px;
}

.member-position {
  color: var(--primary);
  margin-bottom: 15px;
}

.member-socials {
  display: flex;
  justify-content: center;
  gap: 15px;
}

.social-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 35px;
  height: 35px;
  background-color: var(--light);
  border-radius: 50%;
  color: var(--dark);
  transition: var(--transition);
}

.social-link:hover {
  background-color: var(--primary);
  color: var(--white);
}

/* Stats Section */
.stats {
  background-color: var(--primary);
  color: var(--white);
}

.stats-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 30px;
  text-align: center;
}

.stat-item {
  padding: 20px;
}

.stat-number {
  font-size: 3rem;
  font-weight: 700;
  margin-bottom: 10px;
}

.stat-title {
  font-size: 1.1rem;
  opacity: 0.9;
}

/* Contact Section */
.contact {
  background-color: var(--light);
}

.contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 50px;
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 25px;
}

.contact-item {
  display: flex;
  gap: 15px;
}

.contact-icon {
  min-width: 45px;
  height: 45px;
  background-color: var(--primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-size: 1.2rem;
}

.contact-text {
  display: flex;
  flex-direction: column;
}

.contact-label {
  font-weight: 600;
  margin-bottom: 5px;
}

.contact-form {
  background-color: var(--white);
  padding: 30px;
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.form-control {
  width: 100%;
  padding: 12px 15px;
  border: 1px solid var(--light-gray);
  border-radius: 4px;
  font-family: inherit;
  font-size: 1rem;
  transition: var(--transition);
}

.form-control:focus {
  border-color: var(--primary);
  outline: none;
}

textarea.form-control {
  resize: vertical;
  min-height: 150px;
}

.form-button {
  background-color: var(--primary);
  color: var(--white);
  border: none;
  padding: 12px 30px;
  border-radius: 4px;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
}

.form-button:hover {
  background-color: var(--primary-dark);
}

/* Footer */
footer {
  background-color: #1e2833;
  color: var(--light);
  padding: 60px 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 40px;
  margin-bottom: 50px;
}

.footer-col h3 {
  color: var(--white);
  font-size: 1.3rem;
  margin-bottom: 25px;
  position: relative;
}

.footer-col h3::after {
  content: '';
  position: absolute;
  width: 50px;
  height: 2px;
  background-color: var(--primary);
  bottom: -10px;
  left: 0;
}

.footer-about p {
  margin-bottom: 25px;
}

.footer-socials {
  display: flex;
  gap: 15px;
}

.footer-links ul {
  list-style: none;
}

.footer-links li {
  margin-bottom: 15px;
}

.footer-links a {
  color: #b0b9c1;
  transition: var(--transition);
}

.footer-links a:hover {
  color: var(--white);
  padding-left: 5px;
}

.footer-newsletter p {
  margin-bottom: 15px;
}

.newsletter-form {
  display: flex;
}

.newsletter-input {
  flex: 1;
  padding: 12px 15px;
  border: none;
  border-radius: 4px 0 0 4px;
  font-family: inherit;
}

.newsletter-button {
  background-color: var(--primary);
  color: var(--white);
  border: none;
  padding: 0 15px;
  border-radius: 0 4px 4px 0;
  cursor: pointer;
  transition: var(--transition);
}

.newsletter-button:hover {
  background-color: var(--primary-dark);
}

.copyright {
  text-align: center;
  padding: 20px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 0.9rem;
  color: #b0b9c1;
}

/* Back to Top Button */
.back-to-top {
  position: fixed;
  right: 30px;
  bottom: 30px;
  width: 50px;
  height: 50px;
  background-color: var(--primary);
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
  z-index: 99;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition);
}

.back-to-top.active {
  opacity: 1;
  visibility: visible;
}

/* Responsive Styles */
@media screen and (max-width: 991px) {
  .nav-menu {
    position: fixed;
    top: 80px;
    left: -100%;
    width: 80%;
    height: 100vh;
    flex-direction: column;
    background-color: var(--white);
    box-shadow: var(--shadow);
    padding: 50px 30px;
    transition: 0.4s;
  }
  
  .nav-menu.active {
    left: 0;
  }
  
  .mobile-toggle {
    display: block;
  }
  
  .hero-title {
    font-size: 2.8rem;
  }
  
  .email-form .form-row {
    flex-direction: column;
    gap: 0;
  }
  
  .form-group.half {
    width: 100%;
  }
}

@media screen and (max-width: 768px) {
  section {
    padding: 60px 0;
  }
  
  .hero {
    padding: 150px 0 100px;
  }
  
  .hero-title {
    font-size: 2.2rem;
  }
  
  .section-title h2 {
    font-size: 2rem;
  }
  
  .hero-cta {
    flex-direction: column;
    gap: 15px;
  }
  
  .copyright {
    flex-direction: column;
    gap: 10px;
  }
  
  .contact-box {
    padding: 30px 20px;
  }
}

@media screen and (max-width: 576px) {
  .hero-title {
    font-size: 1.8rem;
  }
  
  .section-title h2 {
    font-size: 1.8rem;
  }
