@import url("https://fonts.googleapis.com/css2?family=Roboto+Flex:opsz,wght@8..144,100..1000&display=swap");

/* Added complete styling for hero section and navbar */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Roboto Flex", sans-serif;
  line-height: 1.6;
}

/* Header and Navigation */
.header {
  position: relative;
  z-index: 10;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  padding: 1rem 0;
}

.nav-container {
  max-width: 1156px;
  margin: 0 auto;
  padding: 0 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo img {
  height: 50px;
  width: auto;
}

.nav-menu {
  display: flex;
  list-style: none;
  gap: 2.5rem;
  align-items: center;
}

.nav-menu a {
  text-decoration: none;
  color: #333;
  font-weight: 400;
  font-size: 1.1rem;
  transition: color 0.3s ease;
}

.nav-menu a:hover {
  color: #006ab2;
}

.contact-btn {
  background: #006ab2;
  color: white;
  padding: 0.4rem 2rem;
  border: none;
  border-radius: 8px;
  font-size: 1.1rem;
  font-weight: 500;
  cursor: pointer;
  transition: background 0.3s ease;
  text-decoration: none;
  display: inline-block;
}

.contact-btn:hover {
  background: #005291;
}

/* Mobile Menu Toggle */
.mobile-toggle {
  display: none;
  flex-direction: column;
  cursor: pointer;
  gap: 4px;
  position: relative;
  width: 25px;
  height: 20px;
}

.mobile-toggle span {
  width: 25px;
  height: 3px;
  background: #333;
  transition: all 0.3s ease;
  transform-origin: center;
}

/* Added cross icon animation for mobile toggle */
.mobile-toggle.active span:nth-child(1) {
  transform: rotate(45deg) translate(4px, 6px);
}

.mobile-toggle.active span:nth-child(2) {
  opacity: 0;
}

.mobile-toggle.active span:nth-child(3) {
  transform: rotate(-45deg) translate(4px, -6px);
}

/* Hero Section */
.hero {
  min-height: 100vh;
  background: url("assets/waves-bg.png") no-repeat center 80%;
  background-size: cover;
  display: flex;
  align-items: flex-start;
  /* Reduced padding-top to bring content closer to navbar */
  padding-top: 8rem;
  position: relative;
  overflow: hidden;
}

.hero-container {
  max-width: 1156px;
  margin: 0 auto;
  padding: 0 2rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  width: 100%;
  /* Increased negative margin to move content even higher */
  margin-top: -6rem;
}

.hero-content h1 {
  font-size: 3.5rem;
  font-weight: 700;
  color: #333;
  line-height: 1.2;
  margin-bottom: 1.5rem;
}

.hero-content p {
  font-size: 1.25rem;
  color: #666;
  margin-bottom: 2.5rem;
  line-height: 1.5;
}

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

.btn-primary {
  background: #006ab2;
  color: white;
  padding: 0.4rem 2.5rem;
  border: none;
  border-radius: 8px;
  font-size: 1.1rem;
  font-weight: 500;
  cursor: pointer;
  transition: background 0.3s ease;
  text-decoration: none;
  display: inline-block;
}

.btn-primary:hover {
  background: #005291;
}

.btn-secondary {
  background: transparent;
  color: #006ab2;
  padding: .3rem 2.5rem;
  border: 2px solid #006ab2;
  border-radius: 8px;
  font-size: 1.1rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s ease;
  text-decoration: none;
  display: inline-block;
}

.btn-secondary:hover {
  background: #006ab2;
  color: white;
}

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

.hero-image img {
  max-width: 100%;
  height: auto;
  width: 500px;
}

/* About Section */
.about {
  padding: 4rem 0;
}

.about-container {
  max-width: 1156px;
  margin: 0 auto;
  padding: 0 2rem;
}

.about-header {
  text-align: center;
  margin-bottom: 4rem;
}

.about-header h2 {
  font-size: 2.5rem;
  font-weight: 700;
  color: #333;
  margin-bottom: 2rem;
  position: relative;
  display: inline-block;
}

.about-header h2::before,
.about-header h2::after {
  content: "";
  position: absolute;
  top: 50%;
  width: 60px;
  height: 3px;
  background: #006ab2;
}

.about-header h2::before {
  left: -80px;
}

.about-header h2::after {
  right: -80px;
}

.about-header p {
  font-size: 1.1rem;
  color: #666;
  line-height: 1.7;
  max-width: 900px;
  margin: 0 auto;
}

.about-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.about-image {
  display: flex;
  justify-content: center;
}

.about-image img {
  width: 100%;
  max-width: 500px;
  height: auto;
  border-radius: 12px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
}

.about-text {
  display: flex;
  flex-direction: column;
  gap: 2.5rem;
}

.mission h3,
.vision h3 {
  font-size: 1.5rem;
  font-weight: 600;
  color: #333;
  margin-bottom: 1rem;
}

.mission p,
.vision p {
  font-size: 1rem;
  color: #666;
  line-height: 1.6;
}

/* Services Section */
.services {
  padding: 2rem 0;
}

.services-container {
  max-width: 1156px;
  margin: 0 auto;
  padding: 0 2rem;
  text-align: center;
}

.services-header h2 {
  font-size: 2.5rem;
  font-weight: 700;
  color: #333;
  margin-bottom: 2rem;
  position: relative;
  display: inline-block;
}

.services-header h2::before,
.services-header h2::after {
  content: "";
  position: absolute;
  top: 50%;
  width: 60px;
  height: 3px;
  background: #006ab2;
}

.services-header h2::before {
  left: -80px;
}

.services-header h2::after {
  right: -80px;
}

.services-header p {
  font-size: 1.1rem;
  color: #666;
  line-height: 1.7;
  max-width: 800px;
  margin: 0 auto 4rem auto;
}

.services-grid {
  display: flex;
  /* grid-template-columns: repeat(3, 1fr); */
  gap: 3rem;
  margin-top: 4rem;
  justify-content: center;
  flex-wrap: wrap;
}

/* .services-grid .service-item:nth-child(4),
.services-grid .service-item:nth-child(5) {
  grid-column: span 1;
} */

/* .services-grid .service-item:nth-child(4) {
  grid-column: 1 / 2;
}

.services-grid .service-item:nth-child(5) {
  grid-column: 3 / 4;
} */

.service-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 2rem 1rem;
}

.service-icon {
  margin-bottom: 2rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.service-icon img {
  width: 120px;
  height: 120px;
  object-fit: contain;
}

.service-item h3 {
  font-size: 1.1rem;
  font-weight: 500;
  color: #333;
  line-height: 1.4;
  max-width: 250px;
}

/* Partners Section */
.partners {
  padding: 3rem 0;
  background: rgb(255, 255, 255);
}

.partners-container {
  max-width: 1156px;
  margin: 0 auto;
  padding: 0 2rem;
  text-align: center;
}

.partners-header h2 {
  font-size: 2.5rem;
  font-weight: 700;
  color: #333;
  margin-bottom: 2rem;
  position: relative;
  display: inline-block;
}

.partners-header h2::before,
.partners-header h2::after {
  content: "";
  position: absolute;
  top: 50%;
  width: 60px;
  height: 3px;
  background: #006ab2;
}

.partners-header h2::before {
  left: -80px;
}

.partners-header h2::after {
  right: -80px;
}

.partners-header p {
  font-size: 1.1rem;
  color: #666;
  line-height: 1.7;
  max-width: 900px;
  margin: 0 auto 4rem auto;
}

.partners-logos {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 6rem;
  flex-wrap: wrap;
}

.partner-logo {
  display: flex;
  align-items: center;
  justify-content: center;
}

.partner-logo img {
  height: 80px;
  width: auto;
  max-width: 200px;
  object-fit: contain;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.partner-logo img:hover {
  transform: scale(1.05);
  opacity: 0.8;
}

/* Responsive Design */
@media (max-width: 1200px) {
  .nav-container {
    padding: 0 1.5rem;
  }

  .hero-container {
    padding: 0 1.5rem;
    gap: 3rem;
  }

  .hero-content h1 {
    font-size: 3rem;
  }

  .hero {
    background-position: center 85%;
  }

  .about-container {
    padding: 0 1.5rem;
  }

  .about-content {
    gap: 3rem;
  }

  .partners-container {
    padding: 0 1.5rem;
  }

  .partners-logos {
    gap: 4rem;
  }

  .services-container {
    padding: 0 1.5rem;
  }

  .services-grid {
    gap: 2.5rem;
  }
}

@media (max-width: 968px) {
  .nav-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: white;
    flex-direction: column;
    padding: 2rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    gap: 1.5rem;
  }

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

  .mobile-toggle {
    display: flex;
  }

  /* Hide contact button on mobile */
  .contact-btn {
    display: none;
  }

  .hero-container {
    grid-template-columns: 1fr;
    gap: 2rem;
    text-align: center;
  }

  .hero-content h1 {
    font-size: 2.5rem;
  }

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

  .hero {
    align-items: center;
    /* Reduced padding-top for mobile */
    padding-top: 8rem;
    background-position: center 90%;
  }

  .hero-container {
    /* Slight negative margin for mobile */
    margin-top: -1rem;
  }

  .about {
    padding: 4rem 0;
  }

  .about-header h2::before,
  .about-header h2::after {
    width: 40px;
  }

  .about-header h2::before {
    left: -60px;
  }

  .about-header h2::after {
    right: -60px;
  }

  .about-content {
    grid-template-columns: 1fr;
    gap: 2.5rem;
    text-align: center;
  }

  .about-header h2 {
    font-size: 2.2rem;
  }

  .partners {
    padding: 4rem 0;
  }

  .partners-header h2 {
    font-size: 2.2rem;
  }

  .partners-header h2::before,
  .partners-header h2::after {
    width: 40px;
  }

  .partners-header h2::before {
    left: -60px;
  }

  .partners-header h2::after {
    right: -60px;
  }

  .partners-logos {
    gap: 3rem;
  }

  .partner-logo img {
    height: 70px;
  }

  .services {
    padding: 4rem 0;
  }

  .services-header h2 {
    font-size: 2.2rem;
  }

  .services-header h2::before,
  .services-header h2::after {
    width: 40px;
  }

  .services-header h2::before {
    left: -60px;
  }

  .services-header h2::after {
    right: -60px;
  }

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

  .services-grid .service-item:nth-child(4),
  .services-grid .service-item:nth-child(5) {
    grid-column: span 1;
  }

  .services-grid .service-item:nth-child(5) {
    grid-column: 1 / 3;
    justify-self: center;
  }
}

@media (max-width: 768px) {
  .about-container {
    padding: 0 1rem;
  }

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

  .about-header h2 {
    font-size: 2rem;
  }

  .about-header h2::before,
  .about-header h2::after {
    display: none;
  }

  .about-text {
    gap: 2rem;
  }

  .nav-container {
    padding: 0 1rem;
  }

  .hero-container {
    padding: 0 1rem;
  }

  .hero-content h1 {
    font-size: 2rem;
  }

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

  .hero-buttons {
    flex-direction: column;
    gap: 1rem;
  }

  .btn-primary,
  .btn-secondary {
    width: 100%;
    text-align: center;
  }

  .hero-image img {
    width: 350px;
  }

  .partners-container {
    padding: 0 1rem;
  }

  .partners-header h2 {
    font-size: 2rem;
  }

  .partners-header h2::before,
  .partners-header h2::after {
    display: none;
  }

  .partners-logos {
    gap: 2rem;
    flex-direction: column;
  }

  .partner-logo img {
    height: 60px;
  }

  .services-container {
    padding: 0 1rem;
  }

  .services-header h2 {
    font-size: 2rem;
  }

  .services-header h2::before,
  .services-header h2::after {
    display: none;
  }

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

  .services-grid .service-item:nth-child(5) {
    grid-column: 1;
  }

  .service-item {
    padding: 1.5rem 1rem;
  }

  .service-icon img {
    width: 120px;
    height: 120px;
  }

  .service-item h3 {
    font-size: 1rem;
    max-width: none;
  }
}

@media (max-width: 480px) {
  .logo img {
    height: 40px;
  }

  .hero-content h1 {
    font-size: 1.75rem;
  }

  .hero-image img {
    width: 280px;
  }

  .contact-btn {
    padding: 0.6rem 1.5rem;
    font-size: 1rem;
  }

  .about {
    padding: 3rem 0;
  }

  .about-header h2 {
    font-size: 1.75rem;
  }

  .about-header p {
    font-size: 1rem;
  }

  .mission h3,
  .vision h3 {
    font-size: 1.3rem;
  }

  .partners {
    padding: 3rem 0;
  }

  .partners-header h2 {
    font-size: 1.75rem;
  }

  .partners-header p {
    font-size: 1rem;
  }

  .partner-logo img {
    height: 50px;
  }

  .services {
    padding: 3rem 0;
  }

  .services-header h2 {
    font-size: 1.75rem;
  }

  .services-header p {
    font-size: 1rem;
  }

  .service-icon img {
    width: 120px;
    height: 120px;
  }

  .service-item h3 {
    font-size: 0.95rem;
  }
}

/* ISO Certification Section Styles */
.iso-section {
  background-color: #006ab2;
  padding: 4rem 0;
  color: white;
}

.iso-container {
  max-width: 1156px;
  margin: 0 auto;
  padding: 0 2rem;
  display: flex;
  align-items: center;
  gap: 3rem;
}

.iso-logo img {
  width: 120px;
  height: auto;
  opacity: 0.9;
}

.iso-content p {
  font-size: 1.125rem;
  line-height: 1.6;
  margin: 0;
  font-weight: 400;
}

/* Our Values Section Styles */
.values {
  padding: 3rem 0;
}

.values-container {
  max-width: 1156px;
  margin: 0 auto;
  padding: 0 2rem;
}

.values-header {
  text-align: center;
  margin-bottom: 4rem;
}

.values-header h2 {
  font-size: 2.5rem;
  font-weight: 700;
  color: #333;
  margin-bottom: 1.5rem;
  position: relative;
  display: inline-block;
}

.values-header h2::before,
.values-header h2::after {
  content: "";
  position: absolute;
  top: 50%;
  width: 60px;
  height: 3px;
  background-color: #006ab2;
}

.values-header h2::before {
  left: -80px;
}

.values-header h2::after {
  right: -80px;
}

.values-header p {
  font-size: 1.125rem;
  line-height: 1.6;
  color: #666;
  max-width: 900px;
  margin: 0 auto;
}

.values-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-top: 3rem;
}

.value-card {
  background: white;
  border: 2px solid #006ab2;
  border-radius: 12px;
  padding: 3rem 2rem;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.value-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(0, 106, 178, 0.15);
}

.value-icon {
  margin-bottom: 2rem;
}

.value-icon img {
  width: 80px;
  height: 80px;
  object-fit: contain;
}

.value-card h3 {
  font-size: 1.5rem;
  font-weight: 600;
  color: #006ab2;
  margin: 0;
}

/* Contact Section Styles */
.contact {
  padding: 5rem 0;
}

.contact-container {
  max-width: 1156px;
  margin: 0 auto;
  padding: 0 2rem;
}

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

.contact-header h2 {
  font-size: 2.5rem;
  font-weight: 700;
  color: #333;
  margin-bottom: 1.5rem;
}

.contact-header p {
  font-size: 1.125rem;
  line-height: 1.6;
  color: #666;
  max-width: 800px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  margin-bottom: 1.5rem;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 1rem 1.25rem;
  border: 2px solid #006ab2;
  border-radius: 8px;
  font-size: 1rem;
  font-family: "Roboto Flex", sans-serif;
  background-color: white;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: #004d82;
  box-shadow: 0 0 0 3px rgba(0, 106, 178, 0.1);
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
  color: #999;
}

.contact-form textarea {
  resize: vertical;
  min-height: 150px;
  margin-bottom: 2rem;
}

.submit-btn {
  background-color: #006ab2;
  color: white;
  border: none;
  padding: 1rem 2rem;
  font-size: 1.125rem;
  font-weight: 600;
  border-radius: 8px;
  cursor: pointer;
  transition: background-color 0.3s ease, transform 0.2s ease;
  font-family: "Roboto Flex", sans-serif;
}

.submit-btn:hover {
  background-color: #004d82;
  transform: translateY(-2px);
}

.submit-btn:active {
  transform: translateY(0);
}

/* Footer Section Styles */
.footer {
  background-color: #006ab2;
  color: white;
  padding: 3rem 0 1rem;
}

.footer-container {
  max-width: 1156px;
  margin: 0 auto;
  padding: 0 2rem;
}

.footer-content {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 3rem;
  margin-bottom: 3rem;
}

.footer-brand {
  max-width: 350px;
}

.footer-logo {
  width: 200px;
  height: auto;
  margin-bottom: 1.5rem;
}

.footer-brand p {
  font-size: 1rem;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.9);
  margin: 0;
}

.footer-column h3,
.footer-social h3 {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 1.5rem;
  color: white;
}

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

.footer-column li {
  margin-bottom: 0.75rem;
}

.footer-column a {
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
  font-size: 1rem;
  transition: color 0.3s ease;
}

.footer-column a:hover {
  color: white;
}

.social-links {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.social-links a {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
  font-size: 1rem;
  transition: color 0.3s ease;
}

.social-links a:hover {
  color: white;
}

.social-links svg {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  padding-top: 2rem;
  text-align: center;
}

.footer-bottom p {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.875rem;
  margin: 0;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .footer-content {
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
  }

  .footer-brand {
    grid-column: 1 / -1;
    max-width: none;
    margin-bottom: 1rem;
  }
}

@media (max-width: 768px) {
  .iso-container {
    flex-direction: column;
    text-align: center;
    gap: 2rem;
  }

  .iso-logo img {
    width: 100px;
  }

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

  .values {
    padding: 3rem 0;
  }

  .values-header h2 {
    font-size: 2rem;
  }

  .values-header h2::before,
  .values-header h2::after {
    display: none;
  }

  .values-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .value-card {
    padding: 2rem 1.5rem;
  }

  .value-icon img {
    width: 60px;
    height: 60px;
  }

  .contact {
    padding: 3rem 0;
  }

  .contact-header h2 {
    font-size: 2rem;
  }

  .contact-header p {
    font-size: 1rem;
  }

  .form-row {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .contact-form input,
  .contact-form textarea {
    padding: 0.875rem 1rem;
  }

  .submit-btn {
    width: 100%;
    padding: 1rem;
  }

  .footer {
    padding: 2rem 0 1rem;
  }

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

  .footer-brand {
    grid-column: 1;
    margin-bottom: 0;
  }

  .footer-logo {
    width: 180px;
    margin-bottom: 1rem;
  }

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

@media (max-width: 480px) {
  .footer-container {
    padding: 0 1rem;
  }

  .footer-logo {
    width: 160px;
  }

  .footer-brand p {
    font-size: 0.875rem;
  }

  .footer-column h3,
  .footer-social h3 {
    font-size: 1.125rem;
  }

  .footer-bottom p {
    font-size: 0.8rem;
  }
}
