/* Modern Reset *
/* Header Styles */
* {
  margin: 0;
  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;
}
:root {
  --primary: #273246;
  --primary-dark: #273246;
  --secondary: #273246;
  --text-dark: #273246;
  --text-light: #64748b;
  --background: #f4f7fa;
  --white: #ffffff;
  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.1);
  --shadow-md: 0 4px 6px rgba(0, 0, 0, 0.1);
  --shadow-lg: 0 10px 15px rgba(0, 0, 0, 0.1);
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --gradient-primary: linear-gradient(135deg, var(--primary), var(--secondary));
  --gradient-light: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
  --gradient-dark: linear-gradient(135deg, #1e293b 0%, #0f172a 100%);
}

body {
  background-color: var(--background);
  color: var(--text-dark);
  line-height: 1.6;
  overflow-x: hidden;
  position: relative;
}

body::before {
  content: "";
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;

  opacity: 0.5;
  pointer-events: none;
  z-index: -1;
}

/* Navbar Styles */
/* Navbar Styles */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.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 {
  margin-top: 60px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 60px 10%;
  flex-wrap: wrap;
  background-color: #26365a;
  background: url("../images/about_comany.webp") center center/cover no-repeat;
  height: 90vh;
}

.hero-content {
  flex: 1 1 50%;
}

.hero-content h1 {
  font-size: 42px;
  font-weight: 700;
  margin-bottom: 20px;
  line-height: 1.3;
  color: white;
}

.hero-content h1 span {
  color: rgb(231, 76, 60);
}

.hero-content p {
  font-size: 16px;
  color: white;
  margin-bottom: 30px;
}

.hero-buttons {
  display: flex;
  gap: 15px;
}

.btn-primary,
.btn-secondary {
  padding: 12px 24px;
  text-decoration: none;
  border-radius: 30px;
  font-weight: 600;
  transition: all 0.3s ease;
}

.btn-primary {
  background-color: rgb(231, 76, 60);
  color: #fff;
}

.btn-primary:hover {
  background-color: #273246;
}

.btn-secondary {
  border: 2px solid #273246;
  color: #273246;
  background-color: white;
}

.btn-secondary:hover {
  background-color: #273246;
  color: #fff;
}

.hero-image {
  flex: 1 1 40%;
  position: relative;
  text-align: center;
}

.hero-image img {
  max-width: 100%;
  height: 25rem;
  border-radius: 20px;
}

.badge {
  position: absolute;
  background: white;
  padding: 10px 14px;
  border-radius: 16px;
  font-size: 14px;
  text-align: center;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  font-weight: 500;
  width: 120px;
}

.badge strong {
  font-size: 16px;
  color: #1e3a8a;
}

.badge.top-left {
  top: 10%;
  left: 15%;
}

.badge.top-right {
  top: 10%;
  right: -15%;
}

.badge.bottom {
  bottom: 10%;
  left: 25%;
  transform: translateX(-50%);
}


.tagline {
  font-size: 1.1rem;
  letter-spacing: 3px;
  opacity: 0.9;
}

/* Gallery Container */
.gallery-container {
  max-width: 1400px;
  margin: 3rem auto;
  padding: 0 1rem;
}

/* Grid Layout */
.gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.8rem;
  padding: 1.5rem;
}

/* Each Gallery Item */
.gallery-item {
  position: relative;
  overflow: hidden;
  border-radius: 16px;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.2);
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  animation: fadeIn 1s ease forwards, floatImg 6s ease-in-out infinite;
  transform: scale(0.95);
  opacity: 0;
  transition: all 0.6s ease;
}

.gallery-item:hover {
  transform: scale(1.03);
  box-shadow: 0 25px 50px rgba(65, 115, 141, 0.3),
    0 0 25px rgba(0, 170, 255, 0.1);
}

/* Image Styles */
.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.6s ease;
}

.gallery-item:hover img {
  transform: scale(1.05) rotate(0.3deg);
}

/* Animations */
@keyframes fadeIn {
  0% {
    transform: translateY(30px);
    opacity: 0;
  }
  100% {
    transform: translateY(0);
    opacity: 1;
  }
}

@keyframes floatImg {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-6px);
  }
}

/* Modal Styles */
.modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(17, 17, 17, 0.85);
  display: none;
  justify-content: center;
  align-items: center;
  z-index: 1000;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  opacity: 0;
  transition: opacity 0.4s ease;
}

.modal.open {
  display: flex;
  opacity: 1;
  animation: modalPop 0.4s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

.modal-content {
  max-width: 90%;
  max-height: 90vh;
  position: relative;
  transform: scale(0.95);
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.modal.open .modal-content {
  transform: scale(1);
}

.modal-content img {
  max-width: 100%;
  max-height: 90vh;
  object-fit: contain;
  border-radius: 8px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

.modal-close {
  position: absolute;
  top: 2rem;
  right: 2rem;
  background: rgba(255, 255, 255, 0.15);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: white;
  font-size: 2rem;
  cursor: pointer;
  z-index: 1001;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}

.modal-close:hover {
  transform: rotate(90deg) scale(1.1);
  background: rgba(255, 255, 255, 0.25);
  border-color: rgba(255, 255, 255, 0.3);
  box-shadow: 0 0 20px rgba(255, 255, 255, 0.1);
}

.modal-nav {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 80rem;
  margin-bottom: 300px;
}

.modal-prev,
.modal-next {
  background: rgba(255, 255, 255, 0.15);
  border: none;
  color: white;
  padding: 1rem 1.5rem;
  border-radius: 50px;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  font-size: 1.2rem;
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}

.modal-prev:hover,
.modal-next:hover {
  background: rgba(255, 255, 255, 0.25);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

/* Footer Section */

.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;
  border: none;
  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);
}

@media (min-width: 2560px) {
  .hero-section {
    height: 60vh;
  }
}

.contact-btn:hover {
  background-color: rgb(241, 93, 77);
}

/* Animations */
@keyframes fadeInDown {
  from {
    opacity: 0;
    transform: translateY(-30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 400px) {
  .hero-title {
    font-size: 1.6rem;
  }

  .hero-description {
    font-size: 0.9rem;
  }

  .award-image {
    height: 120px;
  }

  .award-content h3 {
    font-size: 1rem;
  }

  .footer-col {
    flex: 1 1 100%;
    text-align: center;
  }

  .footer-socials {
    justify-content: center;
  }
}
@media screen and (max-width: 576px) {
  .container {
        padding: 0 15px;
    }

  .hero-section {
    padding: 40px 5% 20px;
  }

  .hero-content h1 {
    font-size: 26px;
  }
   section {
        padding: 30px 10px;
    }
 
}

@media screen and (max-width: 768px) {
    body {
        font-size: 14px;
    }

    .container {
        max-width: 540px;
        padding: 0 15px;
    }

    .hero-section {
        padding: 60px 5% 30px;
        margin-top: 60px; /* Adjust for fixed navbar */
    }

    .hero-content h1 {
        font-size: 30px;
    }

    section {
        padding: 40px 15px;
    }

  }

  

@media screen and (max-width: 992px) {
    

     .hero-section {
        height: auto;
        padding: 80px 5% 40px;
        flex-direction: column;
        text-align: center;
         /* Adjust for fixed navbar */
    }

    .hero-content {
        flex: 1 1 100%;
        margin-bottom: 40px;
    }

    .hero-image {
        flex: 1 1 100%;
    }

    .hero-content h1 {
        font-size: 36px;
    }

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

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

   
  }


/* Medium screens (tablets) */
@media (max-width: 991px) {
  .hero-section {
    
    text-align: center;
    padding: 40px 5%;
  }

  .hero-content, .hero-image {
    flex: 1 1 100%;
  }

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

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

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

  .hero-image {
    margin-top: 20px;
  }
}

/* Small screens (phones) */
@media (max-width: 600px) {
  .hero-section {
    padding: 30px 4%;
  }

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

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

  .btn-primary,
  .btn-secondary {
    width: 100%;
    padding: 12px;
  }

  .hero-buttons {
    flex-direction: column;
    gap: 10px;
  }

  .hero-image img {
    max-height: 18rem;
  }
}

/* Extra large screens */
@media (min-width: 1400px) {
  .hero-content h1 {
    font-size: 3rem;
  }

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

  .hero-image img {
    max-height: 30rem;
  }
}