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

body {
  font-family: "Arial", sans-serif;
  line-height: 1.6;
  color: #333;
}

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

/* Header Styles */
.header {
  background: #fff;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  position: fixed;
  width: 100%;
  top: 0;
  z-index: 1000;
  margin:0;
  padding:0 20px;
}

.navbar {
  padding: 0 20px;
  height:auto;
  margin-bottom: 10px;
}

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

.logo h2 {
  color: #2c5aa0;
  font-size: 1.8rem;
  font-weight: bold;
}

.nav-menu {
  display: flex;
  list-style: none;
  gap: 2rem;
}

.nav-link {
  text-decoration: none;
  color: #333;
  font-weight: 500;
  transition: color 0.3s ease;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.nav-link:hover,
.nav-link.active {
  color: #2c5aa0;
}

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

.dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  background: #fff;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  border-radius: 5px;
  min-width: 200px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px);
  transition: all 0.3s ease;
  list-style: none;
  padding: 0.5rem 0;
}

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

.dropdown-menu li {
  padding: 0;
}

.dropdown-menu a {
  display: block;
  padding: 0.75rem 1rem;
  color: #333;
  text-decoration: none;
  transition: background-color 0.3s ease;
}

.dropdown-menu a:hover {
  background-color: #f8f9fa;
  color: #2c5aa0;
}

/* Mobile Menu */
.hamburger {
  display: none;
  flex-direction: column;
  cursor: pointer;
}

.bar {
  width: 25px;
  height: 3px;
  background-color: #333;
  margin: 3px 0;
  transition: 0.3s;
}

/* Hero Section */
.hero {
  position: relative;
  height: 100vh;
  overflow: hidden;
  margin-top: 80px;
}

.hero-slider {
  position: relative;
  height: 100%;
}

.slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 1s ease-in-out;
}

.slide.active {
  opacity: 1;
}

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

.slide-content {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  color: white;
  z-index: 2;
}

.slide-content h1 {
  font-size: 3rem;
  margin-bottom: 1rem;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
}

.slide-content h3 {
  font-size: 1.5rem;
  margin-bottom: 2rem;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.7);
}

.btn-primary {
  display: inline-block;
  background: #2c5aa0;
  color: white;
  padding: 12px 30px;
  text-decoration: none;
  border-radius: 5px;
  transition: background 0.3s ease;
  font-weight: 500;
}

.btn-primary:hover {
  background: #1e3f73;
}

/* Slider Controls */
.slider-controls {
  position: absolute;
  top: 50%;
  width: 100%;
  display: flex;
  justify-content: space-between;
  padding: 0 20px;
  z-index: 3;
}

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

.prev-btn:hover,
.next-btn:hover {
  background: rgba(255, 255, 255, 0.5);
}

.slider-dots {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 10px;
  z-index: 3;
}

.dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.5);
  cursor: pointer;
  transition: background 0.3s ease;
}

.dot.active {
  background: white;
}

/* History Section */
.history-section {
  padding: 80px 0;
  background: #f8f9fa;
}

.history-section h2 {
  text-align: center;
  font-size: 2.5rem;
  color: #2c5aa0;
  margin-bottom: 3rem;
}

.history-content {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 3rem;
  align-items: center;
}

.history-text ul {
  list-style: none;
  padding: 0;
}

.history-text li {
  margin-bottom: 1.5rem;
  padding-left: 1.5rem;
  position: relative;
  font-size: 1.1rem;
  line-height: 1.7;
}

.history-text li:before {
  content: "✓";
  position: absolute;
  left: 0;
  color: #2c5aa0;
  font-weight: bold;
}

.history-images {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.history-images img {
  width: 100%;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

/* Services Section */
.services-section {
  padding: 80px 0;
}

.services-section h2 {
  text-align: center;
  font-size: 2.5rem;
  color: #2c5aa0;
  margin-bottom: 3rem;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
}

.service-card {
  background: white;
  padding: 2rem;
  border-radius: 10px;
  text-align: center;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.service-card i {
  font-size: 3rem;
  color: #2c5aa0;
  margin-bottom: 1rem;
}

.service-card h3 {
  font-size: 1.2rem;
  color: #333;
}

/* Methodology Section */
.methodology-section {
  padding: 80px 0;
  background: #f8f9fa;
}

.methodology-section h2 {
  text-align: center;
  font-size: 2.5rem;
  color: #2c5aa0;
  margin-bottom: 1rem;
}

.methodology-section h3 {
  text-align: center;
  font-size: 1.3rem;
  color: #666;
  margin-bottom: 3rem;
}

.methodology-content {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 3rem;
  align-items: start;
}

.methodology-text h4 {
  color: #2c5aa0;
  font-size: 1.3rem;
  margin-bottom: 1rem;
  margin-top: 2rem;
}

.methodology-text h4:first-child {
  margin-top: 0;
}

.methodology-text p {
  margin-bottom: 1rem;
  line-height: 1.7;
}

.methodology-image img {
  width: 100%;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

/* Clients Section */
.clients-section {
  padding: 80px 0;
}

.clients-section h2 {
  text-align: center;
  font-size: 2.5rem;
  color: #2c5aa0;
  margin-bottom: 3rem;
}

.clients-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2rem;
  align-items: center;
}

.client-logo {
  background: white;
  padding: 2rem;
  border-radius: 10px;
  text-align: center;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
}

.client-logo:hover {
  transform: scale(1.05);
}

.client-logo img {
  max-width: 100%;
  height: auto;
  filter: grayscale(100%);
  transition: filter 0.3s ease;
}

.client-logo:hover img {
  filter: grayscale(0%);
}

/* Footer */
.footer {
  background: #333;
  color: white;
  padding: 50px 0 20px;
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  margin-bottom: 2rem;
}

.footer-section h3,
.footer-section h4 {
  margin-bottom: 1rem;
  color: #2c5aa0;
}

.footer-section ul {
  list-style: none;
}

.footer-section ul li {
  margin-bottom: 0.5rem;
}

.footer-section ul li a {
  color: #ccc;
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-section ul li a:hover {
  color: white;
}

.social-links {
  display: flex;
  gap: 1rem;
  margin-top: 1rem;
}

.social-links a {
  color: #ccc;
  font-size: 1.5rem;
  transition: color 0.3s ease;
}

.social-links a:hover {
  color: #2c5aa0;
}

.footer-bottom {
  text-align: center;
  padding-top: 2rem;
  border-top: 1px solid #555;
  color: #ccc;
}

/* Page-specific Styles */
.page-header {
  background: linear-gradient(135deg, #2c5aa0 0%, #1e3f73 100%);
  color: white;
  padding: 120px 0 60px;
  text-align: center;
  margin-top: 80px;
}

.page-header h1 {
  font-size: 3rem;
  margin-bottom: 1rem;
}

.page-header p {
  font-size: 1.2rem;
  opacity: 0.9;
}

.content-section {
  padding: 60px 0;
}

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

.content-card {
  background: white;
  padding: 2rem;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.content-card h3 {
  color: #2c5aa0;
  margin-bottom: 1rem;
}

/* Team Page Styles */
.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}

.team-member {
  background: white;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
}

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

.team-member img {
  width: 100%;
  height: 250px;
  object-fit: cover;
}

.team-info {
  padding: 1.5rem;
  text-align: center;
}

.team-info h3 {
  color: #2c5aa0;
  margin-bottom: 0.5rem;
}

.team-info .position {
  color: #666;
  font-style: italic;
  margin-bottom: 1rem;
}

/* Awards Page Styles */
.awards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}

.award-item {
  background: white;
  padding: 2rem;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  text-align: center;
}

.award-item i {
  font-size: 3rem;
  color: #ffd700;
  margin-bottom: 1rem;
}

.award-item h3 {
  color: #2c5aa0;
  margin-bottom: 1rem;
}

.award-year {
  background: #2c5aa0;
  color: white;
  padding: 0.5rem 1rem;
  border-radius: 20px;
  font-size: 0.9rem;
  display: inline-block;
  margin-top: 1rem;
}

/* Jobs Page Styles */
.job-filters {
  display: flex;
  gap: 1rem;
  margin-bottom: 2rem;
  flex-wrap: wrap;
}

.filter-btn {
  padding: 0.5rem 1rem;
  border: 2px solid #2c5aa0;
  background: white;
  color: #2c5aa0;
  border-radius: 25px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.filter-btn.active,
.filter-btn:hover {
  background: #2c5aa0;
  color: white;
}

.job-listing {
  background: white;
  padding: 2rem;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  margin-bottom: 1.5rem;
  transition: transform 0.3s ease;
}

.job-listing:hover {
  transform: translateY(-2px);
}

.job-header {
  display: flex;
  justify-content: space-between;
  align-items: start;
  margin-bottom: 1rem;
}

.job-title {
  color: #2c5aa0;
  font-size: 1.3rem;
  margin-bottom: 0.5rem;
}

.job-company {
  color: #666;
  font-size: 1.1rem;
}

.job-type {
  background: #e3f2fd;
  color: #2c5aa0;
  padding: 0.3rem 0.8rem;
  border-radius: 15px;
  font-size: 0.9rem;
}

.job-details {
  display: flex;
  gap: 2rem;
  margin-bottom: 1rem;
  flex-wrap: wrap;
}

.job-detail {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: #666;
}

.apply-btn {
  background: #2c5aa0;
  color: white;
  padding: 0.8rem 2rem;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  transition: background 0.3s ease;
}

.apply-btn:hover {
  background: #1e3f73;
}

/* News Page Styles */
.news-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}

.news-article {
  background: white;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
}

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

.news-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.news-content {
  padding: 1.5rem;
}

.news-date {
  color: #666;
  font-size: 0.9rem;
  margin-bottom: 0.5rem;
}

.news-title {
  color: #2c5aa0;
  font-size: 1.2rem;
  margin-bottom: 1rem;
}

.news-excerpt {
  color: #666;
  line-height: 1.6;
  margin-bottom: 1rem;
}

.read-more {
  color: #2c5aa0;
  text-decoration: none;
  font-weight: 500;
}

.read-more:hover {
  text-decoration: underline;
}

/* Fun & Joy Page Styles */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1rem;
  margin-top: 2rem;
}

.gallery-item {
  position: relative;
  overflow: hidden;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.gallery-item img {
  width: 100%;
  height: 250px;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.gallery-item:hover img {
  transform: scale(1.1);
}

.gallery-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(transparent, rgba(0, 0, 0, 0.8));
  color: white;
  padding: 1rem;
  transform: translateY(100%);
  transition: transform 0.3s ease;
}

.gallery-item:hover .gallery-overlay {
  transform: translateY(0);
}

/* Contact Form Styles */
.contact-form {
  background: white;
  padding: 2rem;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-group label {
  display: block;
  margin-bottom: 0.5rem;
  color: #333;
  font-weight: 500;
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 0.8rem;
  border: 2px solid #ddd;
  border-radius: 5px;
  font-size: 1rem;
  transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  outline: none;
  border-color: #2c5aa0;
}

.form-group textarea {
  resize: vertical;
  min-height: 120px;
}

.submit-btn {
  background: #2c5aa0;
  color: white;
  padding: 1rem 2rem;
  border: none;
  border-radius: 5px;
  font-size: 1rem;
  cursor: pointer;
  transition: background 0.3s ease;
}

.submit-btn:hover {
  background: #1e3f73;
}

/* Responsive Design */
@media (max-width: 768px) {
  .nav-menu {
    position: fixed;
    left: -100%;
    top: 80px;
    flex-direction: column;
    background-color: white;
    width: 100%;
    text-align: center;
    transition: 0.3s;
    box-shadow: 0 10px 27px rgba(0, 0, 0, 0.05);
    padding: 2rem 0;
  }

  .nav-menu.active {
    left: 0;
  }

  .hamburger {
    display: flex;
  }

  .hamburger.active .bar:nth-child(2) {
    opacity: 0;
  }

  .hamburger.active .bar:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
  }

  .hamburger.active .bar:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
  }

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

  .slide-content h3 {
    font-size: 1.2rem;
  }

  .history-content,
  .methodology-content {
    grid-template-columns: 1fr;
  }

  .page-header h1 {
    font-size: 2rem;
  }

  .job-header {
    flex-direction: column;
    align-items: start;
  }

  .job-details {
    flex-direction: column;
    gap: 0.5rem;
  }
}

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

  .slide-content h1 {
    font-size: 1.5rem;
  }

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

  .services-grid,
  .team-grid,
  .awards-grid,
  .news-grid {
    grid-template-columns: 1fr;
  }

  .job-filters {
    flex-direction: column;
  }

  .filter-btn {
    text-align: center;
  }
}

/* Animation Classes */
.fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.6s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Utility Classes */
.text-center {
  text-align: center;
}

.mb-2 {
  margin-bottom: 2rem;
}

.mt-2 {
  margin-top: 2rem;
}

.hidden {
  display: none;
}

.office-map {
  margin-bottom: 40px;
}

.office-map h3 {
  margin-bottom: 10px;
  font-size: 20px;
  color: #333;
}

.office-map h1 {
  margin-top: 40px;
  margin-bottom: 15px;
  font-size: 26px;
  color: #222;
}

iframe {
  border-radius: 8px;
}


.contact-form {
    max-width: 500px;
    margin: 40px auto;
    padding: 25px;
    background: #ffffff;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    font-family: Arial, sans-serif;
}

.career-form {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.career-form input,
.career-form select,
.career-form textarea {
    padding: 12px;
    border: 1px solid #ccc;
    border-radius: 8px;
    font-size: 15px;
    transition: 0.3s ease;
}

.career-form input:focus,
.career-form select:focus,
.career-form textarea:focus {
    border-color: #007bff;
    outline: none;
    box-shadow: 0 0 5px rgba(0,123,255,0.4);
}

.career-form button.btn-primary {
    background: #007bff;
    color: #fff;
    padding: 12px;
    font-size: 16px;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: background 0.3s ease;
}

.career-form button.btn-primary:hover {
    background: #0056b3;
}

 .clients-logos .logos-grid {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
        gap: 25px;
        align-items: center;
        justify-items: center;
        margin-top: 30px;
    }

    .clients-logos .logos-grid img {
        max-width: 140px;   /* keeps logos consistent */
        max-height: 80px;   /* gives uniform height */
        object-fit: contain; /* prevents stretching */
        padding: 10px;
        background: #fff;    /* optional: white background */
        border-radius: 8px;  /* optional: rounded corners */
        box-shadow: 0 2px 6px rgba(0,0,0,0.1); /* optional: subtle shadow */
    }

    .services-detail {
    padding: 60px 20px;
    background: #f9f9f9;
  }

  .services-detail .container {
    max-width: 1200px;
    margin: auto;
  }

  .service-item {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    align-items: flex-start;
  }

  .service-content {
    flex: 1 1 60%;
  }

  .service-text h2 {
    font-size: 28px;
    color: #009688;
    margin-bottom: 20px;
  }

  .service-text h3 {
    font-size: 22px;
    margin-top: 20px;
    margin-bottom: 10px;
    color: #333;
  }

  .service-text h4 {
    font-size: 18px;
    margin-top: 20px;
    margin-bottom: 10px;
    color: #444;
  }

  .service-text .ptext {
    margin-bottom: 12px;
    line-height: 1.6;
  }

  .service-text ul {
    margin: 10px 0 20px 20px;
    padding: 0;
  }

  .service-text ul li {
    margin-bottom: 8px;
    line-height: 1.5;
  }

  .service-image {
    flex: 1 1 35%;
    display: flex;
    justify-content: center;
    align-items: center;
  }

  .service-image img {
    max-width: 100%;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  }

  /* Logo Container */
.logo {
    display: flex;
    align-items: center;
    gap: 4px; /* reduced gap */
    padding: 0;
    margin: 0;
}

/* Logo Image */
.logo img {
    max-height: 50px;  /* standard size for mobile */
    width: auto;
    object-fit: contain;
    image-rendering: crisp-edges; /* helps with pixel clarity */
    display: block;
}

@media (min-width: 768px) {
    .logo img {
        max-height: 70px; /* slightly bigger on tablet */
    }
}

@media (min-width: 1024px) {
    .logo img {
        max-height: 70px; /* bigger on desktop */
    }
}



/* Logo Text */
.logo-text h1 {
    font-size: 22px;
    font-weight: bold;
    color: #222;           /* dark color for visibility */
    margin: 0;
}

.logo-text p {
    font-size: 14px;
    color: #008080;        /* highlight color for tagline */
    margin: 0;
    font-style: italic;
}
.hero-slider {
    position: relative;
    width: 100%;
    height: 100vh;
    overflow: hidden;
}

/* All slides hidden by default */
.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    visibility: hidden;
    z-index: 0;
    transition: opacity 0.8s ease;
}

/* Only active slide is visible */
.slide.active {
    opacity: 1;
    visibility: visible;
    z-index: 1;
    position: absolute;
}

/* VIDEO styling */
.slide video,
.slide img {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
    object-fit: cover;
    z-index: 0;
}

/* TEXT CONTENT styling */
.slide-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    
    z-index: 2;
    color: white;
    text-align: center;

    padding: 2rem;
    width: 80%;
    max-width: 900px;
}

.aviyana-legacy {
    text-align: center;
    background-color:white;
    padding: 40px 0;
    border-top: 1px solid #ddd;
}

.aviyana-legacy h3 {
    font-size: 24px;
    color: #333;
    margin-bottom: 10px;
}

.aviyana-legacy p {
    font-size: 16px;
    color: #555;
    margin-bottom: 20px;
}

.aviyana-logo {
    max-height: 120px;
    width: auto;
    filter: grayscale(0);
    transition: transform 0.3s ease;
}

.aviyana-logo:hover {
    transform: scale(1.05);
}


