﻿/* General Reset */
* { box-sizing: border-box; }

body {
    font-family: Arial;
    margin: 0;
    padding: 0;
    background: #f1f1f1;
    overflow-x: hidden;
}

/* Header */
.header {
    background-color: #333;
    color: white;
    padding: 10px 20px;
    text-align: center;
    font-size: 16px;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
}

.header i {
    margin: 0 10px;
}

/* Top Navigation */
.topnav {
    overflow: hidden;
    background-color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    padding: 10px 20px;
}

.topnav .brand {
    font-size: 40px;
    font-weight: bold;
    background: linear-gradient(to right, red, orange, yellow, green, blue, indigo, violet);
    -webkit-background-clip: text;
    color: transparent;
    display: block;
    flex-grow: 1;
}

.topnav a {
    display: inline-block;
    color: #414145;
    text-align: center;
    padding: 16px 24px;
    text-decoration: none;
    font-weight: bold;
    transform: skewX(-12deg);
    border-top-left-radius: 20px;
    transition: all 0.3s ease;
}

.topnav a:hover,
.topnav a.active {
    background-color: #fa790c;
    color: white;
    transform: scale(1.1) skewX(-12deg);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
}

.hamburger {
    display: none;
    font-size: 30px;
    cursor: pointer;
    background: none;
    border: none;
}

@media screen and (max-width: 768px) {
    .topnav {
        flex-direction: column;
        align-items: flex-start;
    }

    .topnav .brand {
        font-size: 32px;
        margin-bottom: 10px;
    }

    .topnav a {
        width: 100%;
        text-align: left;
        margin-bottom: 5px;
        transform: none;
        border-radius: 10px;
        display: none;
    }

    .topnav.responsive a {
        display: block;
    }

    .hamburger {
        display: block;
        color: #414145;
    }
}

/* Banner Slider */
.banner-slider {
    position: relative;
    width: 100%;
    height: 400px;
    overflow: hidden;
}

.slides {
    display: flex;
    transition: transform 1s ease;
}

.slide {
    flex: 0 0 100%;
    position: relative;
}

.slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.text-overlay {
    position: absolute;
    top: 30%;
    left: 5%;
    z-index: 2;
}

.text-box {
    background: rgba(0, 0, 0, 0.5);
    padding: 15px 20px;
    border-radius: 10px;
    color: white;
    max-width: 400px;
}

/* Header Container */
.header-bar {
    background: #000; /* Dark background for better contrast */
    color: #fff;
    padding: 15px 20px;
    text-align: center;
    overflow: hidden;
}

/* Brand Heading */
.heading {
    font-size: 2.2rem;
    font-weight: bold;
    background: linear-gradient(45deg, #ff6a00, #ffb700, #2affd5, #2f80ed);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin: 0;
}

/* Sub Heading with Marquee Animation */
.sub-heading {
    font-size: 1.1rem;
    color: #fff;
    margin-top: 5px;
    white-space: nowrap;
    overflow: hidden;
    position: relative;
}

.sub-heading span {
    display: inline-block;
    padding-left: 100%;
    animation: scroll-left 15s linear infinite;
}

/* Animation for scrolling text */
@keyframes scroll-left {
    0% {
        transform: translateX(0%);
    }
    100% {
        transform: translateX(-100%);
    }
}



.dots-container {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    z-index: 3;
}

.dot {
    height: 12px;
    width: 12px;
    margin: 0 5px;
    background-color: rgba(255, 255, 255, 0.5);
    border-radius: 50%;
    cursor: pointer;
}

.dot.active {
    background-color: #fa790c;
}

.arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    font-size: 30px;
    color: white;
    background: rgba(0, 0, 0, 0.4);
    padding: 8px 12px;
    cursor: pointer;
    z-index: 3;
}

.left-arrow { left: 10px; }
.right-arrow { right: 10px; }

.overlay-layer {
    position: absolute;
    top: 0;
    left: 0;
    width: 200%;
    height: 200%;
    background-image: radial-gradient(circle, rgba(255,255,255,0.05) 1px, transparent 1px);
    background-size: 30px 30px;
    pointer-events: none;
    z-index: 1;
}

/* Testimonials Section */
.testimonials {
    background-color: #ffffff;
    padding: 40px;
    text-align: center;
}

.testimonial-heading {
    font-size: 2rem;
    color: #333;
    margin-bottom: 30px;
}

.testimonial-card {
    display: inline-block;
    background-color: #f9f9f9;
    padding: 20px;
    margin: 10px;
    border-radius: 10px;
    width: 300px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    text-align: left;
}

.testimonial-card p {
    font-style: italic;
    color: #666;
}

.testimonial-card .name {
    font-weight: bold;
    margin-top: 10px;
}

/* Contact Form Section */
.contact-form {
    background-color: #fff;
    padding: 40px;
    text-align: center;
}

.contact-heading {
    font-size: 2rem;
    color: #333;
    margin-bottom: 30px;
}

.contact-form input, .contact-form textarea {
    width: 100%;
    padding: 12px;
    margin: 10px 0;
    border: 1px solid #ddd;
    border-radius: 5px;
}

.contact-form button {
    padding: 12px 24px;
    background-color: #fa790c;
    color: white;
    border: none;
    border-radius: 5px;
    font-weight: bold;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.contact-form button:hover {
    background-color: #e57807;
}

/* Newsletter Section */
.newsletter {
    background-color: #f9f9f9;
    padding: 40px;
    text-align: center;
}

.newsletter-heading {
    font-size: 2rem;
    color: #333;
    margin-bottom: 30px;
}

.newsletter input {
    padding: 12px;
    width: 60%;
    margin-right: 10px;
    border: 1px solid #ddd;
    border-radius: 5px;
}

.newsletter button {
    padding: 12px 24px;
    background-color: #fa790c;
    color: white;
    border: none;
    border-radius: 5px;
    font-weight: bold;
    cursor: pointer;
}




        .row {
      display: flex;
      flex-wrap: wrap;
      padding: 40px 20px;
      background-color: #f9f9f9;
    }

    .column {
      flex: 50%;
      padding: 20px;
      text-align: justify;
      text-justify: inter-word;
    }

    h2 {
      font-size: 32px;
      color: #2c3e50;
      margin-bottom: 20px;
    }

    h2 span {
      color: #1abc9c;
    }

    h3 {
      margin-top: 30px;
      color: #2c3e50;
    }

    p, li {
      font-size: 18px;
      color: #000000;
      line-height: 1.7;
    }

    ul {
      padding-left: 20px;
    }

    ul li::marker {
      color: #1abc9c;
    }

    /* Image container styling */
    .image-container {
      display: flex;
      justify-content: center;
      align-items: center;
      height: 100%;
      transition: transform 0.3s ease, box-shadow 0.3s ease;
    }

    .image-container img {
      max-width: 100%;
      height: auto;
      border-radius: 10px;
      box-shadow: 0 4px 8px rgba(0,0,0,0.1);
      transition: transform 0.3s ease, box-shadow 0.3s ease;
    }

    .image-container:hover img {
      transform: scale(1.1); /* On hover, image will grow */
      box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2); /* Enhanced shadow effect */
    }

    /* Responsive layout */
    @media screen and (max-width: 768px) {
      .column {
        flex: 100%;
        text-align: center;
      }

      h2 {
        font-size: 26px;
      }

      p, li {
        font-size: 16px;
      }

      .image-container {
        margin-top: 30px;
      }
    }
    
    
    
   /* Common button styles */
  
    .content {
      min-height: 100vh;
      padding: 20px;
      background-color: #f9f9f9;
    }

    .floating-btn {
      position: fixed;
      bottom: 30px;
      padding: 10px 15px;
      border: none;
      border-radius: 50%;
      cursor: pointer;
      font-size: 20px;
      color: white;
      box-shadow: 0 4px 6px rgba(0, 0, 0, 0.3);
      z-index: 1000;
      transition: transform 0.3s;
    }

    .floating-btn:hover {
      transform: scale(1.1);
    }

    #scrollTopBtn {
      right: 20px;
      background-color: #2c3e50;
    }

    #whatsappBtn {
      left: 20px;
      background-color: #25D366;
    }
        .container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
    padding: 20px;
}

/* Card Styling (आपका पुराना code रखा गया है) */
.card {
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    width: calc(50% - 40px); /* 2 cards per row with spacing */
    padding: 20px;
    box-sizing: border-box;
    max-width: 400px;
}

/* Heading Color */
.card h2 {
    color: #f60;
    margin-bottom: 10px;
}

/* Icon Style */
.icon {
    font-size: 24px;
    margin-right: 10px;
}

/* Text Style */
.contact-info {
    margin-top: 10px;
    color: #444;
}

/* Responsive: Mobile View */
@media (max-width: 768px) {
    .card {
        width: 100%;
        max-width: 100%;
    }
}

/* Mission, Vision, Key Features, Services box style */
.section-box {
  background-color: #fff;
  padding: 20px 25px;
  border-radius: 10px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  cursor: pointer;
  flex: 1 1 280px; /* Flex-grow, shrink and basis for responsive */
  min-width: 280px;
  box-sizing: border-box;
}

.section-box:hover {
  transform: scale(1.05);
  box-shadow: 0 12px 24px rgba(0, 123, 255, 0.35);
}

/* For headings */
.section-box h3 {
  color: #007BFF;
  margin-bottom: 15px;
}

/* Paragraph color */
.section-box p {
  color: #555;
  line-height: 1.6;
}

/* Layout helpers */
.flex-container {
  display: flex;
  gap: 30px;
  flex-wrap: wrap;
  justify-content: center;
  max-width: 1200px;
  margin: 0 auto;
}

.grid-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
}
.container,
.features-grid,
.row {
  max-width: 100%;
  box-sizing: border-box;
}

/* Optional: prevent content from extending off screen */
* {
  box-sizing: border-box;
  word-wrap: break-word;
}
@media (max-width: 767px) {
  .features-grid {
    grid-template-columns: 1fr !important;
    padding: 0 10px;
  }

  .feature-item {
    margin: 0 auto;
    width: 100%;
  }
}


/* Section specific styling */
#mission-vision {
  padding: 40px 20px;
  background-color: #f9f9f9;
  text-align: center;
  font-family: Arial, sans-serif;
}

#mission-vision h2 {
  color: #333;
  margin-bottom: 20px;
}

#features {
    padding: 60px 20px;
    background-color: #f9f9f9;
    font-family: Arial, sans-serif;
    text-align: center;
  }

  #features .container {
    max-width: 1200px;
    margin: auto;
  }

  #features h2 {
    font-size: 32px;
    margin-bottom: 10px;
    color: #222;
  }

  #features p.description {
    font-size: 16px;
    color: #555;
    margin-bottom: 40px;
  }

  .features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: auto;
  }

  .feature-item {
    background: white;
    padding: 25px;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    cursor: pointer;
  }

  .feature-item:hover {
    transform: scale(1.05);
    box-shadow: 0 12px 24px rgba(0, 123, 255, 0.35);
  }

  .feature-item h3 {
    font-size: 20px;
    color: #333;
    margin-bottom: 10px;
  }

  .feature-item p {
    color: #555;
    font-size: 15px;
    line-height: 1.5;
  }

  @media (max-width: 600px) {
    #features h2 {
      font-size: 26px;
    }
    .feature-item h3 {
      font-size: 18px;
    }
  }

/* Our Services Section */
#our-services {
  padding: 40px 20px;
  font-family: Arial, sans-serif;
  background-color: #fff;
  text-align: center;
}

#our-services h2 {
  color: #333;
  margin-bottom: 30px;
}

#our-services .flex-container {
  max-width: 1000px;
  margin: 0 auto;
  justify-content: center;
  gap: 30px;
}

#our-services .section-box {
  background-color: #f1f1f1;
}

/* Link styling */
#our-services a {
  color: #007BFF;
  text-decoration: none;
  font-weight: bold;
  font-size: 16px;
  display: inline-block;
  margin-top: 30px;
}

/* Footer Styles */
.site-footer {
  background: linear-gradient(135deg, #007BFF, #0056b3);
  color: #fff;
  padding: 40px 20px;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

.site-footer .container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-start;
}

.footer-about,
.footer-links,
.footer-social {
  flex: 1;
  min-width: 250px;
  margin-bottom: 20px;
}

.footer-about h3 {
  font-weight: 700;
  font-size: 22px;
  margin-bottom: 15px;
}

.footer-about p {
  line-height: 1.5;
}

.footer-links h4,
.footer-social h4 {
  font-weight: 600;
  margin-bottom: 10px;
}

.footer-links ul {
  list-style: none;
  padding: 0;
  line-height: 2;
}

.footer-links ul li a {
  color: #d1e7ff;
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-links ul li a:hover {
  color: #a0c8ff;
}

.footer-social .social-icons {
  display: flex;
  gap: 15px;
  font-size: 24px;
}

.footer-social .social-icons a {
  color: #d1e7ff;
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-social .social-icons a:hover {
  color: #a0c8ff;
}

.footer-bottom {
  text-align: center;
  border-top: 1px solid rgba(255, 255, 255, 0.3);
  margin-top: 30px;
  padding-top: 20px;
  font-size: 14px;
}

/* Responsive for smaller screens */
@media (max-width: 768px) {
  .site-footer .container {
    flex-direction: column;
    align-items: center;
  }

  .footer-about,
  .footer-links,
  .footer-social {
    min-width: auto;
    width: 100%;
    text-align: center;
  }

  .footer-social .social-icons {
    justify-content: center;
  }
}


.about-header {
  background: linear-gradient(120deg, #007bff, #00c6ff);
  color: white;
  text-align: center;
  padding: 70px 20px;
}
.about-header h1 {
  font-size: 3rem;
  margin-bottom: 10px;
}
.about-header p {
  font-size: 1.2rem;
}

.about-section {
  padding: 60px 20px;
  max-width: 1100px;
  margin: auto;
}
.about-section h2 {
  color: #007BFF;
  font-size: 2rem;
  margin-bottom: 10px;
}
.about-section p {
  font-size: 1rem;
  color: #444;
}

.values {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  margin-top: 20px;
}
.value-box {
  flex: 1;
  min-width: 250px;
  background: white;
  padding: 20px;
  border-radius: 10px;
  box-shadow: 0 8px 20px rgba(0,0,0,0.1);
  text-align: center;
}
.value-box h3 {
  color: #007BFF;
  margin-bottom: 10px;
}

.team-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: center;
  margin-top: 20px;
}
.team-member {
  background: white;
  padding: 20px;
  border-radius: 12px;
  box-shadow: 0 8px 16px rgba(0,0,0,0.08);
  text-align: center;
  width: 250px;
}
.team-member img {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  object-fit: cover;
  border: 4px solid #007BFF;
  margin-bottom: 10px;
}
.team-member h3 {
  margin: 10px 0 5px;
  color: #007BFF;
}

.cta-section {
  background: #007BFF;
  text-align: center;
  color: white;
  padding: 50px 20px;
}
.cta-section h2 {
  margin-bottom: 20px;
}
.cta-button {
  background: white;
  color: #007BFF;
  padding: 12px 25px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  transition: 0.3s ease;
}
.cta-button:hover {
  background: #00c6ff;
  color: white;
}

@media (max-width: 768px) {
  .values, .team-grid {
    flex-direction: column;
    align-items: center;
  }
}

.section-title {
  text-align: center;
  font-size: 2.5rem;
  color: #0a66c2;
  margin-bottom: 40px;
}

.about-text {
  font-size: 1.1rem;
  color: #333;
  line-height: 1.8;
  margin-bottom: 20px;
}


#our-services {
  background-color: #f9fbff;
  padding: 60px 20px;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  text-align: center;
  color: #333;
}

#our-services h2 {
  font-size: 36px;
  color: #0d47a1;
  margin-bottom: 25px;
}

#our-services p {
  max-width: 700px;
  margin: 0 auto 50px auto;
  font-size: 18px;
  line-height: 1.6;
  color: #555;
}

.services-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 40px;
  max-width: 1000px;
  margin: 0 auto 40px;
  text-align: left;
}

.service-item {
  background: white;
  padding: 25px 30px;
  border-radius: 12px;
  box-shadow: 0 8px 20px rgba(13, 71, 161, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  cursor: default;
}

.service-item:hover {
  transform: translateY(-10px);
  box-shadow: 0 16px 40px rgba(13, 71, 161, 0.2);
}

.service-item h3 {
  font-size: 22px;
  color: #0d47a1;
  margin-bottom: 12px;
}

.service-item p {
  font-size: 16px;
  color: #444;
  line-height: 1.5;
}

.explore-link {
  font-size: 18px;
  color: #0d47a1;
  text-decoration: none;
  font-weight: 600;
  border-bottom: 2px solid transparent;
  transition: border-color 0.3s ease;
  display: inline-block;
}

.explore-link:hover {
  border-color: #0d47a1;
  text-decoration: none;
}




  /* Grid container */
  .product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
  }

  /* Individual product cards */
  .product-card {
    background: #fff;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgb(0 0 0 / 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    text-align: center;
  }

  .product-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 10px 20px rgb(0 0 0 / 0.15);
  }

  /* Product images */
  .product-card img {
    width: 100%;
    height: auto;
    border-radius: 6px;
    margin-bottom: 15px;
  }
.portfolio-item img {
  max-width: 100%;
  height: auto;
  display: block;
  border-radius: 8px; /* Optional for rounded corners */
}
  /* Product title */
  .product-card h3 {
    font-size: 22px;
    color: #222;
    margin-bottom: 10px;
  }

  /* Product description */
  .product-card p {
    font-size: 15px;
    color: #555;
    margin-bottom: 15px;
    min-height: 45px; /* keep height consistent */
  }

  /* Link styling */
  .product-card a {
    color: #007BFF;
    font-weight: 600;
    text-decoration: none;
  }

  .product-card a:hover {
    text-decoration: underline;
  }

  .portfolio-item {
  text-align: center;
  padding: 20px;
  border-radius: 10px;
  background: #f7f7f7;
  box-shadow: 0 0 10px rgba(0,0,0,0.1);
  margin-bottom: 20px;
}

.portfolio-item img {
  max-width: 100%;
  height: auto;
  border-radius: 10px;
}

.view-live-btn {
  display: inline-block;
  margin-top: 15px;
  padding: 10px 20px;
  background-color: #0066cc;
  color: white;
  font-size: 16px;
  border-radius: 5px;
  text-decoration: none;
  transition: background 0.3s ease;
}

.view-live-btn:hover {
  background-color: #004999;
}

/* Responsive Typography (optional) */
@media (max-width: 768px) {
  .portfolio-item h3 {
    font-size: 18px;
  }

  .portfolio-item p {
    font-size: 14px;
  }

  .view-live-btn {
    font-size: 14px;
    padding: 8px 16px;
  }
}




  .contact-us {
    max-width: 600px;
    margin: 30px auto;
    padding: 20px;
    font-family: Arial, sans-serif;
    border: 2px solid #007BFF;
    border-radius: 10px;
    background-color: #f9f9f9;
  }
  .contact-us h2 {
    color: #007BFF;
    text-align: center;
  }
  .contact-us ul {
    list-style-type: none;
    padding: 0;
  }
  .contact-us ul li {
    margin-bottom: 8px;
  }
  .marquee-container {
    margin: 20px 0;
    background: #007BFF;
    color: white;
    padding: 10px;
    border-radius: 8px;
    overflow: hidden;
    white-space: nowrap;
  }
  marquee {
    font-weight: bold;
    font-size: 1.1rem;
  }
  .btn-form {
    display: block;
    width: 100%;
    background-color: #007BFF;
    color: white;
    border: none;
    padding: 15px 0;
    font-size: 1.2rem;
    border-radius: 8px;
    cursor: pointer;
    text-align: center;
    text-decoration: none;
    transition: background-color 0.3s ease;
  }
  .btn-form:hover {
    background-color: #0056b3;
  }
  @media(max-width: 480px) {
    .contact-us {
      margin: 10px;
      padding: 15px;
    }
    .btn-form {
      font-size: 1rem;
      padding: 12px 0;
    }
  }