/* Base Styles */
* {
  margin: 0px;
  margin-bottom: 0px;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
}


 html, body {
  width: 100%;
  max-width: 100%;
  overflow-x: hidden;
  position: relative;
} 

body {
  background-color: var(--background);
  color: var(--text-dark);
  line-height: 1.6;
  overflow-x: hidden;
  position: relative;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Navbar Styles */

.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: .7rem 5%;
  background-color: #273246;
  box-shadow: var(--shadow-sm);
  z-index: 1000;
  backdrop-filter: blur(10px);
  transition: var(--transition);
}



.logo {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.logo img {
  height: 40px;
  width: auto;
  object-fit: contain;
  /* Remove the filter that was making it white */
}

.logo h2 {
  color: white;
  font-size: 1.5rem;
  font-weight: 700;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.nav-links {
  display: flex;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-link {
  color: white;
  text-decoration: none;
  font-weight: 500;
  padding: 0.5rem 1rem;
  border-radius: 4px;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.nav-link:hover,
.nav-link.active {
  /* color: rgb(10, 10, 10); */
  transition: transform 0.5s ease;
}


/* Dropdown styles */
.dropdown {
  position: relative;
}

.dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  background-color: white;
  min-width: 200px;
  box-shadow: var(--shadow-md);
  border-radius: 8px;
  padding: 0.5rem 0;
  z-index: 1000;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: all 0.3s ease;
}

.dropdown:hover .dropdown-menu,
.dropdown.active .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.dropdown-menu li {
  list-style: none;
}

.dropdown-menu a {
  display: block;
  padding: 0.75rem 1.5rem;
  color: var(--text-dark);
  text-decoration: none;
  transition: all 0.3s ease;
}

.dropdown-menu a:hover,
.dropdown-menu a.active {
  background-color: rgba(59, 130, 246, 0.05);
  color: var(--primary);
}

.container h2{
  text-align: center;
  margin-bottom: 30px;
}
/* res */
/* Default desktop styles */

.hamburger {
  display: none;
  font-size: 24px;
  cursor: pointer;
  color: white;
}

/* Responsive styles */
@media (max-width: 1010px) {
  .hamburger {
    display: block;
    z-index: 1101;
  }

  .nav-links {
    display: none;
    flex-direction: column;
    background-color: white;
    position: absolute;
    top: 70px;
    left: 0;
    width: 100%;
    padding: 1rem;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    z-index: 1100;
    max-height: 80vh;         /* Add this */
    overflow-y: auto; 
  }

  .nav-links.active {
    display: flex;
  }

  .nav-link {
    color: #273246;
  }

  .dropdown-menu {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    display: none;
    background-color: white;
    padding-left: 1rem;
  }

  .dropdown.active .dropdown-menu {
    display: block;
  }
}

/* Hero Section */
.hero {
    display: flex;
    align-items: center;
    background-color: #f8f9fa;
    padding: 120px 0 60px;
    background: url(../images/about_comany.webp)no-repeat center center/cover;
    min-height: 100vh;
    position: relative;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /* background: rgba(0, 0, 0, 0.6); */
}

.hero .container {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    gap: 40px;
}

.hero-content {
    flex: 1;
    color: white;
}

.hero-content h1 {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 20px;
    line-height: 1.2;
}

.hero-content p {
    font-size: 1.2rem;
    margin-bottom: 30px;
    line-height: 1.6;
}

.hero-image {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-image img {
    width: 100%;
    max-width: 500px;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.cta-button {
    display: inline-block;
    background-color: rgb(231, 76, 60);
    color: white;
    padding: 12px 30px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: bold;
    margin-top: 20px;
    transition: all 0.3s;
    /* border: 2px solid white; */
    gap: 30px;
}

.cta-button:hover {
    background-color: #162444;
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.cta-button.secondary {
    background-color: white;
    color: #1d2c4d;
    /* margin-left: 15px; */
    border-radius: 30px;
}

.cta-button.secondary:hover {
    background-color: #1d2c4d;
    color:white;
}

/* Section Styles */
.section {
    padding: 80px 0;
}

.section-title {
    text-align: center;
    margin-bottom: 50px;
    position: relative;
    font-size: 2.2rem;
}

.section-title:after {
    content: "";
    display: block;
    width: 100px;
    height: 4px;
    /* background: linear-gradient(90deg, #3498db, #2ecc71); */
    margin: 20px auto;
    border-radius: 2px;
}

.section-subtitle {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 50px;
    font-size: 1.1rem;
    color: white;
}

/* Card Styles */
.card-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.card {
    background: white;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
    border-color: #3498db;
}

.card-icon {
    font-size: 2.8rem;
    color: #3498db;
    margin-bottom: 20px;
    text-align: center;
}

.card-title {
    margin-top: 0;
    color: #2c3e50;
    text-align: center;
    font-size: 1.4rem;
}

/* Process Timeline */

.process-timeline {
    position: relative;
    max-width: 1000px;
    margin: 0 auto;
    padding: 40px 0;
}

.process-timeline:before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 4px;
    height: 100%;
    background: linear-gradient(to bottom, #3498db, #2ecc71);
}

.process-step {
    position: relative;
    width: 50%;
    padding: 20px 40px;
    box-sizing: border-box;
}

.process-step:nth-child(odd) {
    left: 0;
    text-align: right;
    padding-right: 70px;
}

.process-step:nth-child(even) {
    left: 50%;
    text-align: left;
    padding-left: 70px;
}

.process-step:before {
    content: '';
    position: absolute;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: #3498db;
    top: 30px;
}

.process-step:nth-child(odd):before {
    right: -10px;
}

.process-step:nth-child(even):before {
    left: -10px;
}

.process-content {
    background: white;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    border: 1px solid #eee;
    word-wrap: break-word;
}

/* Accordion for Terms */
.accordion {
    margin: 50px 0;
}

.accordion-item {
    margin-bottom: 15px;
    border: 1px solid #ddd;
    border-radius: 8px;
    overflow: hidden;
    transition: all 0.3s;
}

.accordion-item:hover {
    border-color: #3498db;
}

.accordion-header {
    padding: 20px;
    background-color: #f8f9fa;
    cursor: pointer;
    font-weight: bold;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 1.1rem;
    transition: all 0.3s;
}

.accordion-header:hover {
    background-color: #e9ecef;
}

.accordion-content {
    padding: 25px;
    background-color: white;
    border-top: 1px solid #eee;
    display: none;

}

/* Pricing Box */
.pricing-box {
    background: white;
    padding: 40px;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    max-width: 800px;
    margin: 0 auto;
}

.pricing-amount {
    font-size: 3rem;
    color: #3498db;
    font-weight: bold;
    margin: 20px 0;
}

.pricing-features {
    list-style: none;
    padding: 0;
    margin: 30px 0;
    text-align: left;
}

.pricing-features li {
    padding: 10px 0;
    border-bottom: 1px solid #eee;
    position: relative;
    padding-left: 30px;
}

.pricing-features li:before {
    content: '✓';
    color: #2ecc71;
    position: absolute;
    left: 0;
    font-weight: bold;
}

/* Testimonial Section */
.testimonial-section {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}

.testimonial {
    background-color: white;
    padding: 40px;
    border-radius: 10px;
    margin: 20px 0;
    position: relative;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    max-width: 800px;
    margin: 0 auto;
}

.testimonial:before {
    content: '"';
    font-size: 100px;
    color: #e9ecef;
    position: absolute;
    top: 10px;
    left: 20px;
    line-height: 1;
    font-family: Georgia, serif;
}

.testimonial-text {
    position: relative;
    z-index: 1;
    font-size: 1.1rem;
    line-height: 1.8;
}

.testimonial-author {
    font-weight: bold;
    margin-top: 20px;
    text-align: right;
    color: #3498db;
}

/* Contact Section */
.contact-section {
    background: #39465f;
    color: white;
}

.contact-section .section-title {
    color: white;
}

.contact-section .section-title:after {
    background: white;
}

.contact-box {
    background: white;
    border-radius: 10px;
    padding: 40px;
    max-width: 800px;
    margin: 0 auto;
    color: #333;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.contact-details {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    margin: 30px 0;
}

.contact-item {
    text-align: center;
    margin: 15px;
}

.contact-icon {
    font-size: 2rem;
    color: #3498db;
    margin-bottom: 15px;
}

/* Media Queries */
@media (max-width: 1200px) {
    .hero-content h1 {
        font-size: 2.5rem;
    }
    
    .hero-content p {
        font-size: 1.1rem;
    }
}

@media (max-width: 992px) {
    .hero {
        padding: 100px 0 40px;
    }

    .hero .container {
        flex-direction: column;
        text-align: center;
    }

    .hero-content {
        padding-right: 0;
        margin-bottom: 40px;
    }

    .hero-image {
        width: 100%;
    }

    .hero-image img {
        max-width: 400px;
    }

    .process-timeline:before {
        left: 20px;
    }

    .process-step {
        padding-left: 50px;
    }

    .process-step:nth-child(odd),
    .process-step:nth-child(even) {
        padding-left: 50px;
    }
}

@media (max-width: 768px) {
    .hero-content h1 {
        font-size: 2rem;
    }

    .hero-content p {
        font-size: 1rem;
    }

    .section {
        padding: 40px 0;
    }

    .section-title {
        font-size: 1.8rem;
    }

    .card-container {
        grid-template-columns: 1fr;
    }

    .pricing-box {
        padding: 30px 20px;
    }

    .process-timeline:before {
        display: none;
    }

    .process-step {
        padding-left: 0;
    }

    .process-step:nth-child(odd),
    .process-step:nth-child(even) {
        padding-left: 0;
    }

    .accordion-header {
        padding: 15px;
    }
}

@media (max-width: 480px) {
    .hero-content h1 {
        font-size: 1.8rem;
    }

    .hero-content p {
        font-size: 0.95rem;
    }

    .cta-button {
        display: block;
        width: 100%;
        margin: 10px 0;
        text-align: center;
    }

    .section-title {
        font-size: 1.5rem;
    }

    .pricing-amount {
        font-size: 2rem;
    }
}

.footer {
  background: #273246;
  color: #fff;
  font-family: 'Segoe UI', sans-serif;
  padding: 40px 0 10px;
}

.footer-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-start;
  gap: 40px;
  padding: 0 50px;
}

.footer-col {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  gap: 10px;
  min-width: 160px;
  max-width: 280px;
  flex: 1;
}

.footer-col h4 {
  font-size: 18px;
  margin-bottom: 10px;
  font-weight: bold;
  color: #fff;
}


.footer-col ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-col ul li {
  margin-bottom: 10px;
}

.footer-col ul li a {
  color: #fff;
  text-decoration: none;
  transition: 0.3s;
}

.footer-col ul li a:hover {
  color:orangered;
}

.footer-logo {
  width: 60px;
  margin-bottom: 10px;
}

.footer-col:first-child {
  padding-right: 30px;
}

.footer-col p {
  word-wrap: break-word;
  line-height: 1.6;
  font-size: 14px;
}

.footer-socials {
  margin-top: 10px;
}

.footer-socials a {
  display: inline-block;
  margin-right: 10px;
  color: #fff;
  font-size: 18px;
  
  padding: 8px;
  transition: 0.3s;
}

.footer-socials a:hover {
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  color: #fff;
  border-color: transparent;
}

/* Newsletter */
.newsletter-col {
  max-width: 280px;
}

.newsletter-form {
  display: flex;
  width: 100%;
  max-width: 280px;
  margin-top: 10px;
}

.newsletter-form input[type="email"] {
  flex: 1;
  padding: 10px;
  border: none;
  border-radius: 3px 0 0 3px;
  outline: none;
  font-size: 14px;
}

.newsletter-form button {
  padding: 10px 15px;
  background: #e74c3c;
  color: white;
  font-weight: bold;
  border-radius: 0 3px 3px 0;
  font-size: 14px;
  cursor: pointer;
  transition: 0.3s;
  white-space: nowrap;
}

.newsletter-form button:hover {
  opacity: 0.9;
}

/* Footer bottom */
.footer-bottom {
  text-align: center;
  padding-top: 20px;
  font-size: 14px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  color: #fff;
  margin-top: 30px;
}

/* Responsive */
@media screen and (max-width: 768px) {
  .footer-container {
    flex-direction: column;
    align-items: center;
    padding: 0 20px;
  }

  .footer-col {
    max-width: 100%;
    align-items: center;
    text-align: center;
  }

  .newsletter-form {
    flex-direction: column;
  }

  .newsletter-form input[type="email"],
  .newsletter-form button {
    width: 100%;
    border-radius: 3px;
    margin-bottom: 10px;
  }

  .newsletter-form button {
    border-radius: 3px;
  }
}
@media screen and (max-width: 1165px) {
  .footer-container {
    padding: 0 20px;
  }

  .footer-col {
    max-width: 100%;
    text-align: center;
    margin-bottom: 20px;
  }

  .footer-socials {
    justify-content: center;
    margin-top: 10px;
  }

  .newsletter-form {
    flex-direction: column;
    max-width: none;
  }

  .newsletter-form input[type="email"],
  .newsletter-form button {
    width: 100%;
    margin-bottom: 10px;
  }
}

/*contact us button footer*/
.btn {
    padding: 10px 20px;
    background-color: rgb(231, 76, 60);
    color: white;
    text-decoration: none;
    border-radius: 5px;
    display: inline-block;
}
.btn:hover {
    background-color: rgb(241, 93, 77);
}
/* End of Government Project Section Styles */
@media (min-width: 2560) {
  .hero{
    height:60vh;
  }

}


/* Tablet View (768px and up) */
@media (min-width: 768px) {
    .process-timeline:before {
        left: 50%;
        transform: translateX(-50%);
    }
    
    .process-step {
        width: 50%;
        padding: 20px 40px;
    }
    
    .process-step:nth-child(odd) {
        left: 0;
        text-align: right;
        padding-right: 70px;
        padding-left: 0;
    }
    
    .process-step:nth-child(even) {
        left: 50%;
        text-align: left;
        padding-left: 70px;
        padding-right: 0;
    }
    
    .process-step:nth-child(odd):before {
        right: -10px;
        left: auto;
    }
    
    .process-step:nth-child(even):before {
        left: -10px;
    }
}


/* Switch to vertical stack below 768px */
@media (max-width: 768px) {
  .process-timeline:before {
    left: 20px; /* Move line to the left */
    transform: none;
  }
  
  .process-step,
  .process-step:nth-child(odd),
  .process-step:nth-child(even) {
    width: 100%;
    left: 0;
    text-align: left;
    padding: 20px 0 20px 50px;
    margin-bottom: 20px;
  }
  
  .process-step:before,
  .process-step:nth-child(odd):before,
  .process-step:nth-child(even):before {
    left: 8px;
    right: auto;
    top: 25px;
  }
  
  .process-step:nth-child(odd) {
    padding-right: 0;
  }
  
  .process-step:nth-child(even) {
    padding-left: 50px;
  }
}

/* Further optimize for very small screens */
@media (max-width: 480px) {
  .process-timeline {
    padding: 30px 15px;
  }
  
  .process-step {
    padding-left: 40px;
  }
  
  .process-step:before {
    width: 16px;
    height: 16px;
    left: 4px;
  }
  
  .process-content {
    padding: 15px;
  }
}