/* 
======================
General Styles
======================
*/
:root {
  --primary-color: #1a3c5a;
  --secondary-color: #4a90e2;
  --accent-color: #f5b942;
  --text-color: #333;
  --light-text: #777;
  --background-color: #fff;
  --light-gray: #f8f9fa;
  --medium-gray: #e9ecef;
  --dark-gray: #495057;
  --border-color: #ddd;
  --success-color: #d4edda;
  --warning-color: #fff3cd;
  --transition: all 0.3s ease;
  --box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
  --border-radius: 8px;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Open Sans", sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: var(--text-color);
  background-color: var(--background-color);
  overflow-x: hidden;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: "Montserrat", sans-serif;
  font-weight: 600;
  line-height: 1.3;
  margin-bottom: 1rem;
  color: var(--primary-color);
}

h1 {
  font-size: 3rem;
  font-weight: 700;
}

h2 {
  font-size: 2.25rem;
  margin-bottom: 1.5rem;
}

h3 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
}

p {
  margin-bottom: 1.5rem;
}

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

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

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

section {
  padding: 5rem 0;
}

.container {
  max-width: 1200px;
  padding: 0 15px;
  margin: 0 auto;
}

.section-header {
  margin-bottom: 3rem;
}

.section-header h2 {
  position: relative;
  display: inline-block;
  margin-bottom: 1rem;
}

.section-header h2:after {
  content: "";
  position: absolute;
  bottom: -10px;
  left: 0;
  width: 50px;
  height: 3px;
  background-color: var(--accent-color);
}

.section-header.text-center h2:after {
  left: 50%;
  transform: translateX(-50%);
}

.text-center {
  text-align: center;
}

/* 
  ======================
  Buttons
  ======================
  */
.btn {
  display: inline-block;
  padding: 12px 30px;
  font-family: "Montserrat", sans-serif;
  font-weight: 500;
  font-size: 1rem;
  text-align: center;
  text-transform: uppercase;
  letter-spacing: 1px;
  border-radius: var(--border-radius);
  cursor: pointer;
  transition: var(--transition);
  border: none;
}

.btn-primary {
  background-color: var(--primary-color);
  color: white;
}

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

.btn-outline {
  background-color: transparent;
  color: var(--primary-color);
  border: 2px solid var(--primary-color);
}

.btn-outline:hover {
  background-color: var(--primary-color);
  color: white;
}

/* 
  ======================
  Navigation
  ======================
  */
.navbar {
  padding: 1.5rem 0;
  transition: var(--transition);
  background-color: transparent;
}

.navbar.scrolled {
  background-color: white;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  padding: 1rem 0;
}

.navbar-brand {
  font-family: "Montserrat", sans-serif;
  font-weight: 700;
  font-size: 1.8rem;
  color: var(--primary-color);
}

.logo-text {
  color: var(--primary-color);
}

.navbar-toggler {
  border: none;
  padding: 0.5rem;
}

.navbar-toggler:focus {
  box-shadow: none;
}

.navbar-toggler-icon {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba(26, 60, 90, 1)' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

.nav-link {
  font-family: "Montserrat", sans-serif;
  font-weight: 500;
  color: var(--primary-color);
  margin: 0 0.5rem;
  padding: 0.5rem 1rem;
  position: relative;
}

.nav-link:after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 0;
  height: 2px;
  background-color: var(--accent-color);
  transition: var(--transition);
  transform: translateX(-50%);
}

.nav-link:hover:after,
.nav-link.active:after {
  width: 80%;
}

/* 
  ======================
  Hero Section
  ======================
  */
.hero {
  padding: 10rem 0 5rem;
  background-color: var(--light-gray);
  position: relative;
  overflow: hidden;
}

.hero:before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: 50%;
  height: 100%;
  background-color: var(--primary-color);
  opacity: 0.05;
  clip-path: polygon(20% 0, 100% 0, 100% 100%, 0% 100%);
}

.hero-text {
  padding-right: 2rem;
}

.hero-text h1 {
  margin-bottom: 1.5rem;
}

.hero-text p {
  font-size: 1.2rem;
  margin-bottom: 2rem;
  color: var(--light-text);
}

.hero-image {
  position: relative;
}

.hero-image:before {
  content: "";
  position: absolute;
  top: -20px;
  right: -20px;
  width: 100%;
  height: 100%;
  border: 3px solid var(--accent-color);
  z-index: -1;
  border-radius: var(--border-radius);
}

.hero-image img {
  border-radius: var(--border-radius);
  box-shadow: var(--box-shadow);
}

/* 
  ======================
  Page Header
  ======================
  */
.page-header {
  padding: 10rem 0 5rem;
  background-color: var(--light-gray);
  text-align: center;
}

.page-header h1 {
  margin-bottom: 1rem;
}

.page-header p {
  font-size: 1.2rem;
  max-width: 700px;
  margin: 0 auto;
  color: var(--light-text);
}

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

.service-card {
  background-color: white;
  padding: 2.5rem;
  border-radius: var(--border-radius);
  box-shadow: var(--box-shadow);
  height: 100%;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
  z-index: 1;
}

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

.service-card:before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 5px;
  height: 0;
  background-color: var(--accent-color);
  transition: var(--transition);
  z-index: -1;
}

.service-card:hover:before {
  height: 100%;
}

.service-card .icon {
  font-size: 2.5rem;
  color: var(--primary-color);
  margin-bottom: 1.5rem;
}

.service-card h3 {
  margin-bottom: 1rem;
}

.service-card p {
  color: var(--light-text);
  margin-bottom: 0;
}

.service-features {
  list-style: none;
  padding: 0;
  margin-top: 1.5rem;
}

.service-features li {
  position: relative;
  padding-left: 1.5rem;
  margin-bottom: 0.5rem;
}

.service-features li:before {
  content: "\f00c";
  font-family: "Font Awesome 5 Free";
  font-weight: 900;
  position: absolute;
  left: 0;
  color: var(--secondary-color);
}

/* 
  ======================
  Why Choose Us
  ======================
  */
.why-choose-us {
  background-color: var(--light-gray);
}

.why-choose-us img {
  border-radius: var(--border-radius);
  box-shadow: var(--box-shadow);
}

.feature {
  display: flex;
  margin-bottom: 2rem;
}

.feature-icon {
  font-size: 1.5rem;
  color: var(--accent-color);
  margin-right: 1.5rem;
  flex-shrink: 0;
}

.feature-text h4 {
  margin-bottom: 0.5rem;
}

.feature-text p {
  margin-bottom: 0;
  color: var(--light-text);
}

/* 
  ======================
  Testimonial Section
  ======================
  */
.testimonial-preview {
  background-color: var(--background-color);
}

.testimonial-card {
  background-color: white;
  padding: 3rem;
  border-radius: var(--border-radius);
  box-shadow: var(--box-shadow);
  text-align: center;
  position: relative;
  margin: 2rem auto;
  max-width: 800px;
}

.quote-icon {
  font-size: 2rem;
  color: var(--accent-color);
  opacity: 0.2;
  position: absolute;
  top: 1.5rem;
  left: 1.5rem;
}

.testimonial-text {
  font-size: 1.2rem;
  font-style: italic;
  margin-bottom: 1.5rem;
}

.client-info h4 {
  margin-bottom: 0.25rem;
}

.client-info p {
  color: var(--light-text);
  margin-bottom: 0;
}

/* 
  ======================
  CTA Section
  ======================
  */
.cta-section {
  background-color: var(--primary-color);
  color: white;
  padding: 5rem 0;
}

.cta-content {
  max-width: 800px;
  margin: 0 auto;
}

.cta-content h2 {
  color: white;
  margin-bottom: 1.5rem;
}

.cta-content p {
  color: rgba(255, 255, 255, 0.8);
  font-size: 1.2rem;
  margin-bottom: 2rem;
}

/* 
  ======================
  Footer
  ======================
  */
footer {
  background-color: var(--dark-gray);
  color: white;
  padding: 5rem 0 0;
}

footer h3 {
  color: white;
  margin-bottom: 1.5rem;
  font-size: 1.3rem;
}

footer p {
  color: rgba(255, 255, 255, 0.7);
}

.footer-about {
  margin-bottom: 2rem;
}

.social-links {
  margin-top: 1.5rem;
}

.social-links a {
  display: inline-block;
  width: 36px;
  height: 36px;
  line-height: 36px;
  text-align: center;
  background-color: rgba(255, 255, 255, 0.1);
  color: white;
  border-radius: 50%;
  margin-right: 0.5rem;
  transition: var(--transition);
}

.social-links a:hover {
  background-color: var(--accent-color);
  color: var(--primary-color);
}

.footer-links ul,
.footer-services ul {
  list-style: none;
  padding: 0;
}

.footer-links ul li,
.footer-services ul li {
  margin-bottom: 0.75rem;
}

.footer-links ul li a,
.footer-services ul li a {
  color: rgba(255, 255, 255, 0.7);
  transition: var(--transition);
}

.footer-links ul li a:hover,
.footer-services ul li a:hover {
  color: var(--accent-color);
  padding-left: 5px;
}

.footer-contact p {
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
}

.footer-contact p i {
  margin-right: 1rem;
  color: var(--accent-color);
}

.footer-bottom {
  text-align: center;
  padding: 1.5rem 0;
  margin-top: 4rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-bottom p {
  margin-bottom: 0;
  font-size: 0.9rem;
}


.design {
  position: relative;
  color: var(--text-primary);
}

.design::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -2px;
  width: 0;
  height: 2px;
  background: var(--accent-primary);
  transition: width 0.3s ease;
}

.design:hover::after {
  width: 100%;
}




/* 
  ======================
  About Page
  ======================
  */
.about-section {
  background-color: var(--background-color);
}

.about-content h2 {
  margin-bottom: 1.5rem;
}

.about-content p {
  margin-bottom: 1.5rem;
}

.mission-values {
  background-color: var(--light-gray);
}

.mission-card,
.vision-card {
  background-color: white;
  padding: 3rem;
  border-radius: var(--border-radius);
  box-shadow: var(--box-shadow);
  height: 100%;
  position: relative;
  overflow: hidden;
}

.mission-card:before,
.vision-card:before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 5px;
  height: 100%;
  background-color: var(--accent-color);
}

.vision-card:before {
  background-color: var(--secondary-color);
}

.values-section {
  margin-top: 5rem;
}

.value-card {
  background-color: white;
  padding: 2.5rem;
  border-radius: var(--border-radius);
  box-shadow: var(--box-shadow);
  height: 100%;
  text-align: center;
  transition: var(--transition);
}

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

.value-card .icon {
  font-size: 2.5rem;
  color: var(--primary-color);
  margin-bottom: 1.5rem;
}

.team-section {
  background-color: var(--background-color);
}

.team-card {
  background-color: white;
  border-radius: var(--border-radius);
  box-shadow: var(--box-shadow);
  overflow: hidden;
  height: 100%;
  transition: var(--transition);
}

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

.team-img {
  position: relative;
  overflow: hidden;
}

.team-img img {
  width: 100%;
  transition: var(--transition);
}

.team-card:hover .team-img img {
  transform: scale(1.05);
}

.team-info {
  padding: 1.5rem;
  text-align: center;
}

.team-info h3 {
  margin-bottom: 0.25rem;
}

.team-info .position {
  color: var(--secondary-color);
  font-weight: 500;
  margin-bottom: 1rem;
}

.team-info .bio {
  color: var(--light-text);
  margin-bottom: 1.5rem;
}

.stats-section {
  background-color: var(--primary-color);
  color: white;
  padding: 5rem 0;
}

.stat-card {
  text-align: center;
}

.stat-number {
  font-size: 3rem;
  font-weight: 700;
  font-family: "Montserrat", sans-serif;
  margin-bottom: 0.5rem;
  color: var(--accent-color);
}

.stat-card p {
  color: rgba(255, 255, 255, 0.8);
  font-size: 1.1rem;
  margin-bottom: 0;
}

/* 
  ======================
  Services Page
  ======================
  */
.services-section {
  background-color: var(--background-color);
}

.process-section {
  background-color: var(--light-gray);
}

.process-step {
  text-align: center;
  padding: 2rem;
  background-color: white;
  border-radius: var(--border-radius);
  box-shadow: var(--box-shadow);
  height: 100%;
  position: relative;
}

.step-number {
  width: 60px;
  height: 60px;
  line-height: 60px;
  background-color: var(--primary-color);
  color: white;
  font-size: 1.5rem;
  font-weight: 700;
  border-radius: 50%;
  margin: 0 auto 1.5rem;
}

/* 
  ======================
  Testimonials Page
  ======================
  */
.testimonials-section {
  background-color: var(--background-color);
}

.testimonial-item {
  background-color: white;
  padding: 2.5rem;
  border-radius: var(--border-radius);
  box-shadow: var(--box-shadow);
  margin-bottom: 2rem;
  position: relative;
}

.testimonial-item .quote-icon {
  position: absolute;
  top: 1.5rem;
  left: 1.5rem;
  font-size: 1.5rem;
}

.testimonial-content {
  padding-left: 2rem;
  font-style: italic;
  margin-bottom: 1.5rem;
}

.client-details {
  display: flex;
  align-items: center;
}

.client-image {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  overflow: hidden;
  margin-right: 1rem;
}

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

.client-name h4 {
  margin-bottom: 0.25rem;
}

.client-name p {
  color: var(--light-text);
  margin-bottom: 0;
}

/* 
  ======================
  Contact Page
  ======================
  */
.contact-section {
  background-color: var(--background-color);
}

.contact-info {
  margin-bottom: 3rem;
}

.contact-item {
  display: flex;
  margin-bottom: 1.5rem;
}

.contact-icon {
  width: 50px;
  height: 50px;
  line-height: 50px;
  text-align: center;
  background-color: var(--light-gray);
  color: var(--primary-color);
  border-radius: 50%;
  margin-right: 1.5rem;
  flex-shrink: 0;
}

.contact-text h4 {
  margin-bottom: 0.5rem;
}

.contact-text p {
  color: var(--light-text);
  margin-bottom: 0;
}

.contact-form {
  background-color: white;
  padding: 3rem;
  border-radius: var(--border-radius);
  box-shadow: var(--box-shadow);
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-control {
  height: auto;
  padding: 0.75rem 1.25rem;
  font-size: 1rem;
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius);
  transition: var(--transition);
}

.form-control:focus {
  border-color: var(--secondary-color);
  box-shadow: none;
}

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

.map-container {
  height: 400px;
  border-radius: var(--border-radius);
  overflow: hidden;
  box-shadow: var(--box-shadow);
}

/* 
  ======================
  Animations
  ======================
  */
.animate-on-scroll {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.animate-on-scroll.show {
  opacity: 1;
  transform: translateY(0);
}

.delay-1 {
  transition-delay: 0.2s;
}

.delay-2 {
  transition-delay: 0.4s;
}

.delay-3 {
  transition-delay: 0.6s;
}

.delay-4 {
  transition-delay: 0.8s;
}

.delay-5 {
  transition-delay: 1s;
}

/* 
  ======================
  Responsive Styles
  ======================
  */
@media (max-width: 1199.98px) {
  h1 {
    font-size: 2.5rem;
  }

  h2 {
    font-size: 2rem;
  }

  .hero {
    padding: 8rem 0 4rem;
  }

  .page-header {
    padding: 8rem 0 4rem;
  }
}

@media (max-width: 991.98px) {
  section {
    padding: 4rem 0;
  }

  .hero-text {
    padding-right: 0;
    margin-bottom: 3rem;
  }

  .navbar-collapse {
    background-color: white;
    padding: 1rem;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    margin-top: 1rem;
  }

  .nav-link {
    margin: 0.5rem 0;
  }

  .about-content {
    margin-top: 2rem;
  }

  .mission-card,
  .vision-card {
    margin-bottom: 2rem;
  }

  .team-card {
    margin-bottom: 2rem;
  }

  .stat-card {
    margin-bottom: 2rem;
  }

  .process-step {
    margin-bottom: 2rem;
  }
}

@media (max-width: 767.98px) {
  h1 {
    font-size: 2.25rem;
  }

  h2 {
    font-size: 1.75rem;
  }

  .service-card {
    margin-bottom: 2rem;
  }

  .testimonial-card {
    padding: 2rem;
  }

  .contact-form {
    padding: 2rem;
    margin-top: 2rem;
  }
}

@media (max-width: 575.98px) {
  h1 {
    font-size: 2rem;
  }

  h2 {
    font-size: 1.5rem;
  }

  .btn {
    padding: 10px 20px;
    font-size: 0.9rem;
  }

  .hero {
    padding: 7rem 0 3rem;
  }

  .page-header {
    padding: 7rem 0 3rem;
  }

  .section-header {
    margin-bottom: 2rem;
  }

  .testimonial-card {
    padding: 1.5rem;
  }

  .cta-section {
    padding: 3rem 0;
  }

  footer {
    padding: 3rem 0 0;
  }
}