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

body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  line-height: 1.6;
  color: #333;
  background-color: #f9f9f9;
  /* Add padding to prevent content from hiding under fixed header */
  padding-top: 120px; /* Announcement bar (40px) + Header (80px) */
}

/* Colors */
:root {
  --primary: #002b5c;
  --secondary: #005dab;
  --accent: #ff0000;
  --gradient-start: #002b5c;
  --gradient-end: #005dab;
  --light-bg: #e8f0fe;
  --text-light: #fff;
  --shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

/* Announcement Bar */
.announcement-bar {
  background: linear-gradient(to right, var(--primary), var(--secondary));
  color: white;
  padding: 10px;
  text-align: center;
  font-size: 14px;
  position: fixed; /* Changed from sticky to fixed */
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1001; /* Higher than header */
  transition: all 0.3s ease;
}

/* Header */
header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 2rem;
  background: white;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  position: fixed; /* Changed from sticky to fixed */
  top: 40px; /* Height of announcement bar */
  left: 0;
  width: 100%;
  z-index: 1000;
  transition: all 0.3s ease;
}

.logo img {
  height: 60px;
}

/* Mobile Menu Toggle Button */
.mobile-menu-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 1.8rem;
  color: var(--primary);
  cursor: pointer;
  padding: 0.5rem;
}

.navbar ul {
  list-style: none;
  display: flex;
  gap: 2rem;
  margin: 0;
  padding: 0;
}

.navbar a {
  text-decoration: none;
  color: var(--primary);
  font-weight: 600;
  transition: color 0.3s ease;
}

.navbar a:hover {
  color: var(--accent);
}

.search-box input {
  padding: 0.5rem;
  border: 1px solid #ccc;
  border-radius: 4px;
}

.search-box button {
  padding: 0.5rem 1rem;
  background: var(--primary);
  color: white;
  border: none;
  cursor: pointer;
  border-radius: 4px;
}

/* Hero Section */
/* .hero {
  position: relative;
  width: 100%;
  height: 80vh;
  overflow: hidden;
  background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url('images/hero1.png') no-repeat center center/cover;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: white;
  animation: fadeIn 1.5s ease-in-out;
}

.slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 1s ease-in-out;
  display: flex;
  align-items: center;
  justify-content: center;
  background-size: cover;
  background-position: center;
}

.slide.active {
  opacity: 1;
}

.slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.slide-content {
  background: rgba(0, 0, 0, 0.6);
  padding: 2rem;
  border-radius: 10px;
  max-width: 800px;
  color: white;
  text-align: center;
}

.slide-content h1 {
  font-size: 3rem;
  margin-bottom: 1rem;
  animation: slideUp 1s ease-in-out;
}

.slide-content p {
  font-size: 1.2rem;
  margin-bottom: 1.5rem;
}

.btn {
  display: inline-block;
  padding: 1rem 2rem;
  background: linear-gradient(to right, var(--accent), #ff6b00);
  color: white;
  text-decoration: none;
  border-radius: 50px;
  font-weight: bold;
  transition: transform 0.3s ease;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

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

.slide-controls {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 1rem;
}

.prev-btn, .next-btn {
  background: rgba(255, 255, 255, 0.8);
  color: var(--primary);
  border: none;
  padding: 10px;
  border-radius: 50%;
  cursor: pointer;
  font-size: 1.5rem;
  transition: background 0.3s ease;
}

.prev-btn:hover, .next-btn:hover {
  background: var(--accent);
  color: white;
} */

/* Hero Section Styles */
.hero {
  position: relative;
  width: 100%;
  height: 80vh;
  overflow: hidden;
}

.slides {
  position: relative;
  width: 100%;
  height: 100%;
}

.slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 1s ease-in-out;
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: center;
  justify-content: center;
}

.slide.active {
  opacity: 1;
}

.slide-content {
  margin-top: 120px;
  background: rgba(0, 0, 0, 0.6);
  padding: 2rem;
  border-radius: 10px;
  max-width: 800px;
  color: white;
  text-align: center;
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}

.slide-content h1 {
  font-size: 2rem;
  margin-bottom: 1rem;
  animation: slideUp 1s ease-in-out;
}

.slide-content p {
  font-size: 1.2rem;
  margin-bottom: 1.5rem;
}

/* Slide Controls */
.slide-controls {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 1rem;
  z-index: 10;
}

.prev-btn, .next-btn {
  background: rgba(255, 255, 255, 0.8);
  color: var(--primary);
  border: none;
  padding: 10px;
  border-radius: 50%;
  cursor: pointer;
  font-size: 1.5rem;
  transition: background 0.3s ease;
  width: 50px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.prev-btn:hover, .next-btn:hover {
  background: var(--accent);
  color: white;
}

.btn {
  display: inline-block;
  padding: 1rem 2rem;
  background: linear-gradient(to right, var(--accent), #ff6b00);
  color: white;
  text-decoration: none;
  border-radius: 50px;
  font-weight: bold;
  transition: transform 0.3s ease;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

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

/* Responsive Design */
@media (max-width: 768px) {
  .hero {
    height: 70vh;
  }
  
  .slide {
    /* On mobile, align content to bottom */
    align-items: flex-end;
    justify-content: flex-end;
    padding: 0 1rem 2rem; /* Add padding at bottom */
  }
  
  .slide-content {
    background: rgba(0, 0, 0, 0.75);
    padding: 1.5rem;
    border-radius: 12px 12px 0 0; /* Rounded top corners only */
    text-align: center;
    width: 100%;
    max-width: none;
    margin: 0;
    animation: slideUpMobile 0.8s ease-out;
  }
  
  .slide-content h1 {
    font-size: 1.2rem;
    margin-bottom: 0.8rem;
  }
  
  .slide-content p {
    font-size: 0.8rem;
    margin-bottom: 1.2rem;
  }
  
  .btn {
    /* padding: 0.8rem 1.5rem;
    font-size: 0.95rem; */
    padding: 4px 17px;
        font-size: 13px;
  }
  
  .slide-controls {
    bottom: 10px;
  }
  
  .prev-btn, .next-btn {
    width: 40px;
    height: 40px;
    font-size: 1.2rem;
  }
}

/* Mobile-specific animations */
@keyframes slideUpMobile {
  from {
    transform: translateY(50px);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

/* Ensure proper stacking */
.slide-content {
  z-index: 5;
}



/* Services Grid */
.services-grid {
  padding: 5rem 2rem;
  text-align: center;
}

.services-grid h2 {
  margin-bottom: 2rem;
  color: var(--primary);
  font-size: 2.5rem;
}

.grid-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}

.card {
  background: white;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card:hover {
  transform: translateY(-10px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.card h3 {
  padding: 1rem;
  color: var(--primary);
}

.card p {
  padding: 0 1rem;
  color: #555;
}

/* Industries */
.industries {
  padding: 4rem 2rem;
  text-align: center;
}

.industries h2 {
  margin-bottom: 2rem;
  color: var(--primary);
  font-size: 2.5rem;
}

.icons {
  display: flex;
  justify-content: center;
  gap: 2rem;
  flex-wrap: wrap;
}

.icon-item img {
  width: 60px;
  height: 60px;
  filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.2));
}

/* FAQs */
.faqs {
  padding: 4rem 2rem;
  background: var(--light-bg);
}

.faqs h2 {
  text-align: center;
  margin-bottom: 2rem;
  color: var(--primary);
  font-size: 2.5rem;
}

.faq-item {
  background: white;
  margin: 1rem 0;
  padding: 1.5rem;
  border-radius: 10px;
  box-shadow: var(--shadow);
  transition: transform 0.3s ease;
}

.faq-item:hover {
  transform: scale(1.01);
}

.faq-item h3 {
  cursor: pointer;
  color: var(--primary);
  margin-bottom: 0.5rem;
}

.faq-item p {
  color: #555;
  display: none;
}

/* Footer */
footer {
  background: var(--primary);
  color: white;
  padding: 3rem 2rem;
  margin-top: 4rem;
}

.footer-content {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 2rem;
  margin-bottom: 2rem;
}

.footer-logo img {
  height: 80px;
}

.footer-links a {
  color: white;
  text-decoration: none;
  display: block;
  margin: 0.5rem 0;
}

.footer-links a:hover {
  color: var(--accent);
}

.footer-contact p {
  margin: 0.5rem 0;
}

.request-form {
  background: white;
  color: var(--primary);
  padding: 2rem;
  border-radius: 10px;
  margin: 2rem 0;
  box-shadow: var(--shadow);
}

.request-form h3 {
  margin-bottom: 1rem;
  color: var(--primary);
}

.request-form input[type="text"],
.request-form input[type="tel"],
.request-form input[type="email"],
.request-form input[type="text"],
.request-form input[type="file"] {
  width: 100%;
  padding: 0.8rem;
  margin: 0.5rem 0;
  border: 1px solid #ccc;
  border-radius: 5px;
}

.request-form button {
  background: var(--accent);
  color: white;
  border: none;
  padding: 0.8rem 2rem;
  border-radius: 50px;
  cursor: pointer;
  font-weight: bold;
  transition: background 0.3s ease;
}

.request-form button:hover {
  background: #cc0000;
}

.footer-bottom {
  text-align: center;
  padding-top: 2rem;
  color: #ddd;
  font-size: 0.9rem;
}

/* Animations */
@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

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

/* Responsive */
@media (max-width: 768px) {
  body {
    padding-top: 110px; /* Adjusted for mobile */
  }

  /* Mobile Menu Toggle */
  .mobile-menu-toggle {
    display: block;
    margin-left: auto;
  }

  /* Hide full navigation on mobile */
  .navbar ul {
    position: fixed;
    top: 80px; /* Announcement (40px) + Header (40px on mobile) */
    left: -100%;
    width: 100%;
    height: calc(100vh - 80px);
    background: white;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    padding-top: 2rem;
    gap: 1.5rem;
    transition: all 0.4s ease;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    z-index: 999;
  }

  .navbar ul.active {
    left: 0;
  }

  /* Hide search box on mobile to save space */
  .search-box {
    display: none;
  }

  /* Adjust header padding on mobile */
  header {
    padding: 0.8rem 2rem;
    top: 40px;
  }

  .hero {
    height: 60vh;
  }

  /* .slide-content h1 {
    font-size: 2rem;
  } */

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

  .footer-content {
    flex-direction: column;
  }
}

@media screen and (max-width:425px) {
  .announcement-bar > p {
    font-size: 10px;
  }
  .logo{
    z-index: 9999;
    position: relative;
  }
  .navbar ul.active {
    top: 119px;
  }
}

.contact-hero{
  margin-top: 40px;
    text-align: center;
}