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

body {
  font-family: 'Segoe UI', sans-serif;
  background-color: #fff;
  color: #333;
}

header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 40px;
  background-color: #f8f9fa;
  border-bottom: 1px solid #ddd;
}

.logo {
  font-size: 1.8rem;
  font-weight: bold;
  color: #0077cc;
}

.logo img{
  object-fit: contain;
  height: 60px;
  transform: scale(1.3);
  transform-origin: left center;
  margin-left: -3rem;
}

nav {
  display: flex;
  align-items: center;
  height: 60px;
}

nav ul {
  display: flex;
  list-style: none;
  gap: 20px;
}

nav ul li a {
  text-decoration: none;
  color: #333;
  font-weight: 500;
}

/* Hamburger button hidden by default (shown on mobile in media query) */
.menu-toggle {
  display: none;
}

.hero {
  text-align: center;
  padding: 60px 20px;
}

.tagline {
  font-size: 1.2rem;
  color: #555;
  margin-bottom: 10px;
}

.tagline2 {
  font-size: 1.1rem;
  color: #000000;
  margin-bottom: 10px;
  line-height: 1.5rem;
}

.hero h1 {
  font-size: 2.5rem;
  color: #0c5369;
  margin-bottom: 40px;
}

.image-container img {
  max-width: 50%;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.btn {
  background-color: #0c5369;
  color: white;
  border: none;
  padding: 12px 20px;
  border-radius: 4px;
  cursor: pointer;
  font-size: 16px;
  transition: background-color 0.4s ease;
}

.btn:hover {
  background-color: #e66a00;
}
.intro-section {
  display: flex;
  flex-wrap: wrap;
  padding: 40px;
  gap: 40px;
  align-items: flex-start;
  justify-content: center;
}

.intro-section2 {
  display: flex;
  flex-wrap: wrap;
  padding: 40px;
  gap: 40px;
  align-items: flex-start;
  justify-content: center;
  background-color: rgb(240, 240, 240);
  
}

.image-box img {
  max-width: 400px;
  width: 100%;
  border-radius: 10px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.text-box {
  max-width: 600px;
  text-align: center;
  margin-top: 5rem;
}

.text-box h4 {
  color: #c59d5f;
  font-size: 1.2rem;
  margin-bottom: 5px;
}

.text-box h1 {
  color: #0c5369;
  font-size: 2rem;
  margin-bottom: 20px;
}

.text-box p {
  margin-bottom: 15px;
  font-size: 1.25rem;
  font-family: Verdana, Geneva, Tahoma, sans-serif;
}



.about-section {
  display: flex;
  flex-direction: row; /* Ensures text is on the left, image on the right */
  flex-wrap: wrap;
  justify-content: center;
  align-items: flex-start;
  padding: 40px;
  gap: 40px;
  
}

.text-box {
  flex: 1;
  max-width: 600px;
}


.text-box h4 {
  color: #c59d5f;
  font-size: 1.2rem;
  margin-bottom: 5px;
}

.text-box h1 {
  color: #0c5369;
  font-size: 2rem;
  margin-bottom: 20px;
}

.text-box p {
  margin-bottom: 15px;
}

.mid{
    background-color: rgb(240, 240, 240);
}

.image-box2 img {
  display: block;          /* prevents inline spacing issues */
  margin: 2rem auto;       /* centers the image horizontally */           /* responsive: fits parent width */
  max-width: 425px;        /* won’t exceed 500px */
  height: auto;            /* keeps aspect ratio */
  border-radius: 10px;
  margin-top: 10rem;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}


.footer {
  background-color: #0c1a2b;
  color: #ffffff;
  padding: 40px 20px;
  font-family: 'Segoe UI', sans-serif;
}

.footer-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;   /* centers all columns */
  max-width: 1200px;
  margin: auto;
  text-align: center;        /* centers text inside columns */
}

.footer-column {
  flex: 1 1 300px;
  margin: 20px;
  
  justify-content: center;
}

.footer-column2 {
  flex: 1 1 300px;
  margin: 20px;              /* remove extra margin-top */
}

.footer-column h3 {
  color: #b5cc4a;
  margin-bottom: 15px;
}

.footer-column p {
  line-height: 1.6;
}

.footer-column a {
  color: #b5cc4a;
  text-decoration: none;
}


.social-icons {
  margin-top: 10px;
  display: flex;              /* use flexbox */
  justify-content: center;    /* center horizontally */
  align-items: center;        /* center vertically */
  margin-right: 6rem;
}

.social-icons a {
  margin: 0 10px;             /* equal spacing left/right */
  display: inline-block;
}

.social-icons img {
  width: 40px;
  height: 40px;
  display: block;             /* removes extra inline spacing */
}


.signup-btn {
  background-color: #b5cc4a;
  color: #0c1a2b;
  border: none;
  padding: 10px 20px;
  font-weight: bold;
  cursor: pointer;
  margin-top: 10px;
  transition: background-color 0.3s ease;
}

.signup-btn:hover {
  background-color: #00cc80;
}

.services-section {
  padding: 60px 20px;
  text-align: center;
  font-family: 'Segoe UI', sans-serif;
 background-color: rgb(240, 240, 240);
}

.services-header .tagline {
  display: inline-block;
  background-color: #e0f7fa;
  color: #00796b;
  padding: 6px 12px;
  border-radius: 20px;
  font-weight: bold;
  font-size: 14px;
  margin-bottom: 10px;
}

.services-header h2 {
  font-size: 32px;
  margin: 10px 0;
  color: #333333;
}

.services-header p {
  max-width: 700px;
  margin: 0 auto 40px;
  color: #666666;
  font-size: 16px;
}

.services-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 80px;
}

.service-card {
  background-color: #f9f9f9;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  max-width: 320px;
  padding: 20px;
  text-align: left;
  transition: transform 0.3s ease;
}

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

.service-card img {
  width: 100%;
  border-radius: 8px;
  margin-bottom: 15px;
}

.service-card h3 {
  color: #0c5369;
  font-size: 20px;
  margin-bottom: 10px;
  text-align: center;
}

.service-card ul {
  list-style-type: disc;
  padding-left: 20px;
  color: #444444;
  font-size: 15px;
  line-height: 1.6;
}


.contact-section {
  max-width: 1200px;
  margin: 0 auto;
  padding: 40px 20px;
 
}

h1 {
  text-align: center;
  color: #333;
}

.intro {
  text-align: center;
  margin-bottom: 40px;
  color: #555;
}

.contact-container {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  justify-content: center;
}

.contact-info {
  flex: 1;
  min-width: 300px;
  margin-top: 3rem;
  margin-left: 12rem;
}

.info-item {
  display: flex;
  align-items: center;
  margin-bottom: 20px;
  
}

.icon {
  font-size: 24px;
  margin-right: 15px;
}

.contact-form {
  flex: 1;
  min-width: 300px;
  background-color: #0c1a2b;
  padding: 30px;
  border-radius: 8px;
  color: white;
  
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 12px;
  margin-bottom: 15px;
  border: none;
  border-radius: 4px;
}

.contact-form button {
  background-color: #f57c00;
  color: white;
  border: none;
  padding: 12px 20px;
  border-radius: 4px;
  cursor: pointer;
  font-size: 16px;
}

.contact-form button:hover {
  background-color: #e66a00;
}


.services2-section {
  max-width: 900px;       /* instead of min-width */
  margin: 40px auto;      /* centers the whole section */
  padding: 20px;
  background-size: contain;
  border-radius: 12px;
 
  display: flex;
  flex-direction: column;
  align-items: center;    /* centers children horizontally */
  justify-content: center;
}

.services2-header {
  margin-bottom: 30px;
  text-align: center;     /* centers the heading */
  width: 100%;
}

.services2-header h2 {
  font-size: 28px;
  color: #2f4f4f;
  margin: 0;              /* remove forced margin-left */
}

.choose-card {
  width: 100%;            /* full width on small screens */
  max-width: 800px;       /* limit width for readability */
  display: flex;
  background-color: rgb(242, 240, 240);
  padding: 20px;
  margin-bottom: 20px;
  border-left: 6px solid #4caf50;
  border-radius: 8px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.03);
  transition: transform 0.3s ease;
}

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


.icon {
  font-size: 32px;
  margin-right: 20px;
  color: #4caf50;
}

.choose-content h3 {
  margin: 0 0 10px;
  font-size: 20px;
  color: #333;
}

.choose-content p {
  margin: 0;
  color: #555;
  line-height: 1.6;
}

.latter {
 
  color: #000000;
  padding: 40px 20px;
  font-family: 'Segoe UI', sans-serif;
}

.latter-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  max-width: 1200px;
  margin: auto;
}

.latter-column {
  flex: 1 1 300px;
  margin: 20px;
}

.latter-column2 {
  flex: 1 1 300px;
  margin: 20px;
}

.latter-column h3 {
  color: #0c5369;
  margin-bottom: 15px;
}

.latter-column2 h3 {
  color: #0c5369;
  margin-bottom: 15px;
}

.latter-column p {
  line-height: 1.6;
}


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

.scroll-animate {
  opacity: 0;
  transform: translateY(-100px);
}

.scroll-animate.animate-in {
  animation: rollIn 0.8s ease-out forwards;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  header {
    padding: 12px 16px;
    position: relative;
  }
  .menu-toggle {
    display: block;
    background: none;
    border: none;
    font-size: 28px;
    cursor: pointer;
    color: #333;
    margin-left: 150px;
   
  }
  nav {
    width: 100%;
  }
  nav ul {
    display: none;
    flex-direction: column;
    gap: 12px;
    position: absolute;
    top: 64px;
    left: 16px;
    right: 16px;
    background: #ffffff;
    padding: 16px;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    box-shadow: 0 8px 24px rgba(0,0,0,0.08);
    z-index: 1000;
  }
  nav.open ul {
    display: flex;
  }

  .hero {
    padding: 32px 16px;
  }
  .hero h1 {
    font-size: 1.8rem;
    margin-bottom: 20px;
  }
  .tagline {
    font-size: 1rem;
  }
  .tagline2 {
  font-size: 0.85rem;
  color: #000000;
  margin-bottom: 10px;

  }

  .intro-section,
  .intro-section2 {
    padding: 24px 16px;
    gap: 20px;
  }
  .intro-section h4, p {
    text-align: center;
  }
  .text-box {
    margin-top: 0;
    max-width: 100%;
    text-align: left;
  }
  .image-box2 img {
    margin-top: 2rem;
    max-width: 100%;
    
  }

  .services-grid {
    gap: 24px;
  }

  .service-card h3{
    text-align: left;
  }
  .services2-section {
    min-width: auto;
    margin: 24px auto;
    padding: 16px;
  }
  .services2-header h2 {
    margin-left: 0;
    text-align: center;
  }
  .choose-card {
    width: 100%;
    margin-left: 0;
  }
  .choose-content p{
    text-align: left;
  }

  .contact-container {
    flex-direction: column;
    gap: 20px;
  }
  .contact-info {
    margin-left: 0;
    margin-top: 0;
  }
  .contact-form {
    padding: 20px;
  }

  .footer-container {
    justify-content: center;
  }
  .footer-column h3{
    text-align: center;
  }
  .social-icons{
    margin-left: 100px;
  }
}

@media (max-width: 480px) {
  .hero h1 {
    font-size: 1.6rem;
  }
  .services-header h2 {
    font-size: 24px;
  }
  header .logo img {
    height: 48px;
    width: auto;
  }
}



/* Extra fine-tuning for small devices */
@media (max-width: 480px) {
  body { font-size: 15px; }
  .tagline { font-size: 0.95rem; }
  .text-box p { font-size: 1rem; }
  .services-header p { font-size: 14px; margin: 0 12px 24px; }
  .service-card { max-width: 100%; }
  .contact-form { padding: 16px; }
}

@media (max-width: 425px) {

  .hero h1 { font-size: 1.45rem; }
  .text-box h1 { font-size: 1.6rem; }
  .text-box p { font-size: 0.9rem; }
  .services-header h2 { font-size: 22px; }
  .services-grid { gap: 18px; }
  .choose-card { padding: 16px; }
  .tagline2 {
  font-size: 1.0rem;
  color: #000000;
  margin-bottom: 10px;
  text-align: center;
  border-left: 25px solid #ffffff;
  border-right: 25px solid #ffffff;
}

  
}

@media (max-width: 375px) {
  body { font-size: 14.5px; }
  .hero h1 { font-size: 1.35rem; }
  .tagline { font-size: 0.9rem; }
  .text-box h1 { font-size: 1.45rem; }
  .text-box p { font-size: 0.95rem; }
  button,
  .contact-form button { font-size: 14px; padding: 10px 16px; }
    .menu-toggle {
    margin-left: 100px;
    display: block;
    background: none;
    border: none;
    font-size: 28px;
    cursor: pointer;
    color: #333;
  }
   .social-icons{
    margin-left: 100px;
  }
  .text-box p {
  margin-bottom: 15px;
  font-size: 0.85rem;
  font-family: Verdana, Geneva, Tahoma, sans-serif;
  border-left: 50px #ffffff;
  border-right: 50px #ffffff;
}
}

@media (max-width: 320px) {
  body { font-size: 14px; }
  header .logo img { height: 40px; }
  .hero h1 { font-size: 1.25rem; }
  .services-header h2 { font-size: 20px; }
  .contact-form input,
  .contact-form textarea { padding: 10px; }
  .social-icons img { width: 32px; height: 32px; }
   .social-icons{
    margin-left: 80px;
  }
    .text-box p {
  margin-bottom: 15px;
  font-size: 0.85rem;
  font-family: Verdana, Geneva, Tahoma, sans-serif;
  border-left: 50px #ffffff;
  border-right: 50px #ffffff;
}
}
