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

html {
  scroll-behavior: smooth;
  overflow-x: clip;
}

body {
  font-family: "Inter", sans-serif;
  line-height: 1.6;
  color: #333;
  background-color: #fff;
  overflow-x: clip;
  width: 100%;
}

:root {
  --max-width: 1400px;
}
.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 20px;
  width: 100%;
  box-sizing: border-box;
  min-height: 100dvh;
}

/* Typography */
h1,
h2,
h3,
h4,
h5,
h6 {
  font-weight: 600;
  line-height: 1.2;
  margin-bottom: 1rem;
}

h1 {
  font-size: 3rem;
}
h2 {
  font-size: 2.5rem;
}
h3 {
  font-size: 2rem;
}
h4 {
  font-size: 1.5rem;
}

p {
  margin-bottom: 1rem;
  color: #666;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 28px;
  text-decoration: none;
  border-radius: 8px;
  font-weight: 500;
  transition: all 0.3s ease;
  border: 2px solid transparent;
  cursor: pointer;
  font-size: 1rem;
  text-align: center;
  min-height: 48px;
  white-space: nowrap;
  box-sizing: border-box;
}

.btn-primary {
  background: linear-gradient(135deg, #34618d 0%, #34618d 100%);
  color: white;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 25px rgba(102, 126, 234, 0.3);
}

.btn-secondary {
  background: transparent;
  color: #34618d;
  border-color: #34618d;
}

.btn-secondary:hover {
  background: #34618d;
  color: white;
}

/* Navigation */
.navbar {
  position: fixed;
  top: 0;
  max-width: var(--max-width);
  width: 100%;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  z-index: 1000;
  padding: 1rem 0;
  transition: all 0.3s ease;
  left: 50%;
  transform: translateX(-50%);
}

.nav-container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  box-sizing: border-box;
}

.nav-logo h2 {
  color: #34618d;
  font-size: 1.8rem;
  margin: 0;
}

.nav-menu {
  display: flex;
  list-style: none;
  gap: 2rem;
}

.nav-link {
  text-decoration: none;
  color: #333;
  font-weight: 500;
  transition: color 0.3s ease;
}

.nav-link:hover {
  color: #34618d;
}

.hamburger {
  display: none;
  flex-direction: column;
  cursor: pointer;
}

.bar {
  width: 25px;
  height: 3px;
  background-color: #333;
  margin: 3px 0;
  transition: 0.3s;
}

/* Hero Section */
.hero {
  padding: 120px 0 80px;
  /* background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%); */
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
}

.hero-container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 40px;
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 5rem;
  align-items: center;
  width: 100%;
  box-sizing: border-box;
}

.hero-title {
  font-size: 3rem;
  color: #2d3748;
  margin-bottom: 1.5rem;
  max-width: 600px;
}

.hero-subtitle {
  font-size: 1.25rem;
  color: #4a5568;
  margin-bottom: 2.5rem;
  max-width: 550px;
  line-height: 1.7;
}

.hero-buttons {
  display: flex;
  gap: 1.5rem;
  flex-wrap: nowrap;
  align-items: center;
}

.hero-visual {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}

.hero-image {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 1rem;
  height: 100%;
  padding-left: 2rem;
}

.service-card {
  background: white;
  padding: 2rem;
  border-radius: 16px;
  text-align: center;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
}

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

.service-card i {
  font-size: 2.5rem;
  color: #34618d;
  margin-bottom: 1rem;
}

.service-card span {
  font-weight: 600;
  color: #2d3748;
}

/* Phone Images in Hero Section */
.phone-image {
  width: 450px;
  height: auto;
  object-fit: contain;
  opacity: 0;
  transform: translateY(0);
  transition: all 1s ease;
}

.phone-left {
  margin-left: 50px;
  animation: slideInFromTop 1.2s ease-out 0.3s forwards;
}

.phone-right {
  margin-right: 50px;
  transform: translateY(100px);
  animation: slideInFromBottom 1.2s ease-out 0.6s forwards;
}

@keyframes slideInFromTop {
  0% {
    opacity: 0;
    transform: translateY(-100px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes slideInFromBottom {
  0% {
    opacity: 0;
    transform: translateY(100px);
  }
  100% {
    opacity: 1;
    transform: translateY(60px);
  }
}

/* Section Headers */
.section-header {
  text-align: center;
  margin-bottom: 2rem;
}

.section-header h2 {
  color: #2d3748;
  margin-bottom: 1rem;
}

.section-header p {
  font-size: 1.125rem;
  color: #4a5568;
}

/* About Section */
.about {
  /* padding: 40px 0; */
  background: #fff;
  max-width: var(--max-width);
  width: 100%;

  margin-inline: auto;

  /* border: 1px solid red; */
}

.about .container {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}
.about-content {
  width: 100%;
  /* border: 1px solid red; */
}

ul {
  margin-left: 20px;
}

li > p {
  color: black;
  font-weight: 500;
  font-size: 18px;
  line-height: 1.2;
}

.about-text p {
  font-size: 18px;
}
.about-content-1 {
  display: flex;
  justify-content: space-between;
  align-items: center;

  width: 100%;
}
.about-text {
  max-width: 600px;
}
.about-text h4 {
  color: #2d3748;
  margin-bottom: 1.5rem;
}

.features {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 4rem;
  margin-bottom: 5rem;

  max-width: var(--max-width);
}

.feature {
  text-align: center;
  /* padding: 1.5rem; */
}

.feature i {
  font-size: 2rem;
  color: #34618d;
  margin-bottom: 1rem;
}

.feature h4 {
  color: #2d3748;
  margin-bottom: 0.5rem;
  font-size: 1.25rem;
}

.stat {
  display: flex;
  align-items: center;
  height: fit-content;
  margin-block: 0.5rem;
}

.stat h3 {
  /* display: block; */
  margin-bottom: 0;
}

.stat p {
  font-size: 0.9rem;
  margin-left: 0.25rem;
  margin-bottom: 0;
}

.circle-dashed-outer {
  width: 350px;
  height: 350px;
  border: 2px dashed #34618d;
  border-radius: 50%;
  display: flex;
  align-items: center;
  position: relative;
  justify-content: center;
}

.circle-dashed-inner {
  width: 275px;
  height: 275px;
  border: 2px dashed #34618d;
  border-radius: 50%;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.circle-dashed-inner-content {
  width: 200px;
  height: 200px;
  border-radius: 50%;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: clip;
}

.circle-center-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.outer-circle-bottom-left {
  position: absolute;
  inset: 0;
  top: auto;
  width: 54px;
  height: 54px;
  object-fit: cover;
  border-radius: 50%;
  left: 0px;
  bottom: 54px;
}

.outer-circle-bottom-right {
  position: absolute;
  inset: 0;
  top: auto;
  width: 48px;
  height: 48px;
  object-fit: cover;
  border-radius: 50%;
  left: auto;
  right: 0px;
  bottom: 48px;
}

.outer-circle-top-left {
  position: absolute;
  inset: 0;
  top: auto;
  width: 48px;
  height: 48px;
  object-fit: cover;
  border-radius: 50%;
  left: 48px;
  top: 6px;
}

.inner-circle-right {
  position: absolute;
  inset: 0;
  top: auto;
  width: 36px;
  height: 36px;
  object-fit: cover;
  border-radius: 50%;
  left: auto;
  top: 54px;
}
/* Testimonials Section */
.testimonials {
  /* padding: 80px 0; */
  background: #f8fafc;
  /* border: 1px solid red; */
}

.testimonials-container {
  max-width: var(--max-width);
  margin: 0 auto;
  width: 100%;
  box-sizing: border-box;
  /* border: 1px solid red; */
}

.testimonials-slider {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 3rem;
  padding: 0;
  max-width: 100%;
  overflow: hidden;
  padding: 2rem;

  /* border: 1px solid red; */
}

.testimonial {
  position: relative;
  display: block;
  padding: 3rem 2rem 2rem;
  background: white;
  border-radius: 16px;
  box-shadow: 0 0.25px 10px rgba(0, 0, 0, 0.1);
  margin-top: 4rem;
}

.testimonials .container {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

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

.stars {
  margin-bottom: 1.5rem;
}

.stars i {
  color: #fbbf24;
  font-size: 1.2rem;
  margin: 0 2px;
}

.testimonial-content p {
  font-size: 1.1rem;
  font-style: italic;
  color: #4a5568;
  margin-bottom: 2rem;
  line-height: 1.8;
}

.testimonial-author h4 {
  color: #2d3748;
  margin-bottom: 0.5rem;
}

.testimonial-author span {
  color: #34618d;
  font-weight: 500;
}

/* Profile Pictures for Testimonials */
.testimonial::before {
  content: "";
  position: absolute;
  top: -40px;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: linear-gradient(135deg, #34618d 0%, #764ba2 100%);
  z-index: 1;
}

.testimonial:nth-child(1)::before {
  background: linear-gradient(135deg, #34618d 0%, #764ba2 100%);
}

.testimonial:nth-child(2)::before {
  background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
}

.testimonial:nth-child(3)::before {
  background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
}

.testimonial-controls {
  display: none;
}

.control-btn {
  display: none;
}

.testimonial-dots {
  display: none;
}

.dot {
  display: none;
}

/* Contact Section */
.contact {
  /* padding: 80px 0; */
  background: #fff;
}

.contact .container {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.contact-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  width: 100%;
  box-sizing: border-box;
}

.contact-info > h3 {
  padding: 2rem 0 0 0;
}

.contact-info > p {
  font-size: 16px;
}
.contact-info h4 {
  color: #2d3748;
  margin-bottom: 1.5rem;
}

.contact-details {
  margin-top: 2rem;
}

.contact-item {
  display: flex;
  align-items: baseline;
  margin-bottom: 1.5rem;
  gap: 1rem;
}

.contact-item i {
  font-size: 1.5rem;
  color: #34618d;
  width: 40px;
  height: 40px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.contact-item h4 {
  color: #2d3748;
  margin-bottom: 0.25rem;
  margin-top: 0;
  line-height: 1.2;
}

.contact-form {
  background: transparent;
  padding: 2rem;
  border-radius: 16px;
}

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

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 12px 16px;
  border: 2px solid #e2e8f0;
  border-radius: 8px;
  font-size: 1rem;
  transition: border-color 0.3s ease;
  font-family: inherit;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: #34618d;
}

.form-group textarea {
  resize: vertical;
  min-height: 120px;
}

/* Footer */
.footer .container {
  min-height: fit-content;
}
.footer {
  background: #2d3748;
  color: white;
  /* padding-top: 60px; */
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 3rem;
  padding: 4rem 0 2rem 0;
  max-width: var(--max-width);
  box-sizing: border-box;
}

.footer-section h3,
.footer-section h4 {
  color: white;
  margin-bottom: 1rem;
}

.footer-section p {
  color: #a0aec0;
  margin-bottom: 1.5rem;
}

.footer-section ul {
  list-style: none;
  margin-left: 0;
}

.footer-section ul li {
  margin-bottom: 0.5rem;
}

.footer-section ul li a {
  color: #a0aec0;
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-section ul li a:hover {
  color: #34618d;
}

.social-links {
  display: flex;
  gap: 1rem;
}

.social-links a {
  display: inline-block;
  width: 40px;
  height: 40px;
  background: #4a5568;
  color: white;
  text-align: center;
  line-height: 40px;
  border-radius: 50%;
  transition: all 0.3s ease;
}

.social-links a:hover {
  background: #34618d;
  transform: translateY(-2px);
}

.footer-bottom {
  text-align: center;
  padding: 0.8rem 0;
  border-top: 1px solid #4a5568;
  color: #a0aec0;
}

.footer-bottom p{
  margin-bottom: 0;
  color: #a0aec0;
  font-size: 0.8rem;
}

/* Responsive Design */
@media (max-width: 1024px) {
  body {
    overflow-x: clip;
  }
  .container {
    max-width: 100%;
    padding: 0 20px;
  }

  .about-content {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .about-content-1 {
    flex-direction: column;
    text-align: center;
  }

  .about-text {
    max-width: 100%;
    text-align: center;
  }

  .about-text ul {
    text-align: left;
    margin-left: 0;
  }

  .phone-right {
    display: none;
  }

  .phone-left {
    width: 300px;
  }
  .circle-dashed-outer {
    width: 320px;
    height: 320px;
    margin: 0 auto 2rem auto;
  }

  .circle-dashed-inner {
    width: 250px;
    height: 250px;
  }

  .circle-dashed-inner-content {
    width: 180px;
    height: 180px;
  }

  .outer-circle-bottom-left,
  .outer-circle-bottom-right,
  .outer-circle-top-left {
    width: 45px;
    height: 45px;
  }

  /* li {
    margin-left: 2rem;
  } */
}

@media (max-width: 768px) {
  body {
    overflow-x: clip;
  }
  .container {
    max-width: 100%;
    padding: 0 15px;
  }

  .hamburger {
    display: flex;
  }

  .nav-menu {
    position: fixed;
    left: -110%;
    top: 69px;
    flex-direction: column;
    background-color: white;
    width: 100%;
    /* text-align: center; */
    transition: 0.3s;
    box-shadow: 0 10px 10px rgba(0, 0, 0, 0.05);
    padding: 2rem 0;
    z-index: 1000;
    /* display: none; */
  }

  .nav-menu.active {
    left: 0;
    /* display: flex; */
  }

  .hero-container {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 2rem;
    padding: 0 20px;
    max-width: 100%;
  }

  .hero-image {
    flex-direction: column;
    gap: 1rem;
    align-items: center;
  }

  .phone-image {
    /* width: 325px; */
    width: 100%;
  }

  .phone-left {
    /* margin-left: 0; */
    margin: 0;
    /*  */
  }
  .phone-right {
    /* margin-right: 0; */
    /* transform: translateY(50px); */
    margin: 0;
  }

  @keyframes slideInFromBottom {
    0% {
      opacity: 0;
      transform: translateY(50px);
    }
    100% {
      opacity: 1;
      transform: translateY(50px);
    }
  }

  .hero-title {
    font-size: 2.5rem;
  }

  .hero-buttons {
    justify-content: center;
  }

  .about-content {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .about-content-1 {
    flex-direction: column;
    text-align: center;
  }

  .about-text {
    max-width: 100%;
    text-align: center;
  }

  .about-text ul {
    text-align: left;
    margin-left: 0;
  }

  .circle-dashed-outer {
    width: 280px;
    height: 280px;
    margin: 0 auto 2rem auto;
  }

  .circle-dashed-inner {
    width: 220px;
    height: 220px;
  }

  .circle-dashed-inner-content {
    width: 160px;
    height: 160px;
  }

  .outer-circle-bottom-left,
  .outer-circle-bottom-right,
  .outer-circle-top-left {
    width: 40px;
    height: 40px;
  }

  .outer-circle-bottom-left {
    bottom: 40px;
  }

  .outer-circle-bottom-right {
    bottom: 40px;
  }

  .outer-circle-top-left {
    top: 10px;
    left: 30px;
  }

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

  .contact-content {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .footer-content {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .social-links {
    justify-content: center;
  }
}

@media (max-width: 1024px) {
  body {
    overflow-x: clip;
  }

  .about-content {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .about-content-1 {
    flex-direction: column;
    text-align: center;
  }

  .about-text {
    max-width: 100%;
    text-align: center;
  }

  .about-text ul {
    text-align: left;
    margin-left: 0;
  }

  .circle-dashed-outer {
    width: 320px;
    height: 320px;
    margin: 0 auto 2rem auto;
  }

  .circle-dashed-inner {
    width: 250px;
    height: 250px;
  }

  .circle-dashed-inner-content {
    width: 180px;
    height: 180px;
  }

  .outer-circle-bottom-left,
  .outer-circle-bottom-right,
  .outer-circle-top-left {
    width: 45px;
    height: 45px;
  }
}

@media (max-width: 480px) {
  body {
    overflow-x: clip;
  }
  .container {
    padding: 0 15px;
    max-width: 100%;
  }

  .hero-title {
    font-size: 2rem;
  }

  .hero-subtitle {
    font-size: 1rem;
  }

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

  .circle-dashed-outer {
    width: 250px;
    height: 250px;
  }

  .circle-dashed-inner {
    width: 200px;
    height: 200px;
  }

  .circle-dashed-inner-content {
    width: 140px;
    height: 140px;
  }

  .outer-circle-bottom-left,
  .outer-circle-bottom-right,
  .outer-circle-top-left {
    width: 35px;
    height: 35px;
  }

  .inner-circle-right {
    right: -15px;
  }

  .about-text h4 {
    font-size: 1.5rem;
  }

  .testimonials-slider {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .testimonial {
    padding: 3rem 1.5rem 2rem;
    margin-top: 2rem;
  }

  .contact-form {
    padding: 1.5rem;
  }
}

/* Animation Classes */
.fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.6s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Smooth scrolling for older browsers */
@media (prefers-reduced-motion: no-preference) {
  html {
    scroll-behavior: smooth;
  }
}

.policy-container {
  margin-top: 80px;
}

.policy-container h1,
.policy-container h2,
.policy-container h3 {
  margin: 1.2rem 0;
}

.policy-container h4{
  margin: 1rem 0;
}

.policy-container p {
  margin: 0.6rem 0;
}

.policy-container li {
  color: #666;
}