/* General Styles */
body {
  font-family: "Century Gothic", "Lato", sans-serif;
  margin: 0;
  padding: 0;
  background: #edf2f4;
  color: #2b2d42;
}

a {
  text-decoration: none;
}

/* Hero Section */
.et-hero-tabs {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  height: 100vh;
  position: relative;
  background: url('images/1.jpg') no-repeat center center/cover;
  text-align: center;
  color: #edf2f4;
}

.et-hero-tabs::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(43, 45, 66, 0.7);
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  padding: 0 10px; /* Reduced from 20px to 10px */
  max-width: 800px;
}

.hero-title {
  font-size: 3.5rem;
  margin: 0;
  letter-spacing: 0.1rem;
  animation: fadeIn 1.5s ease-in-out;
}

.hero-title .highlight {
  color: #ef233c;
}

.hero-subtitle {
  font-size: 1.3rem;
  letter-spacing: 0.1rem;
  margin: 20px 0;
  animation: fadeIn 1.5s ease-in-out 0.3s forwards;
  opacity: 0;
}

.hero-button, .story-button {
  display: inline-block;
  padding: 15px 30px;
  background: #ef233c;
  color: #edf2f4;
  font-size: 1rem;
  letter-spacing: 0.1rem;
  border-radius: 5px;
  transition: all 0.3s ease;
  animation: fadeIn 1.5s ease-in-out 0.6s forwards;
  opacity: 0;
}

.hero-button:hover, .story-button:hover {
  background: #d90429;
  transform: scale(1.05);
  box-shadow: 0 4px 12px rgba(239, 35, 60, 0.4);
}

/* Navbar */
.et-hero-tabs-container {
  display: flex;
  flex-direction: row;
  position: absolute;
  bottom: 0;
  width: 100%;
  height: 70px;
  background: #2b2d42;
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.1);
  z-index: 10;
}

.et-hero-tabs-container--top {
  position: fixed;
  top: 0;
}

.et-hero-tab {
  display: flex;
  justify-content: center;
  align-items: center;
  flex: 1;
  color: #edf2f4;
  letter-spacing: 0.1rem;
  font-size: 0.8rem;
  transition: all 0.5s ease;
}

.et-hero-tab:hover {
  color: #ef233c;
  background: rgba(239, 35, 60, 0.1);
}

.et-hero-tab.active {
  color: #ef233c;
  background: rgba(239, 35, 60, 0.15);
}

.et-hero-tab-slider {
  position: absolute;
  bottom: 0;
  width: 0;
  height: 6px;
  background: #ef233c;
  transition: left 0.3s ease;
}

/* Main Sections */
.et-slide {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  min-height: 100vh;
  position: relative;
  background: #edf2f4;
  text-align: center;
  padding: 40px 10px; /* Reduced from 80px 20px to 70px 10px */
}

.et-slide h1, .et-slide h2 {
  font-size: 2.5rem;
  margin: 0 0 40px;
  letter-spacing: 0.1rem;
  color: #2b2d42;
  position: relative;
}

.et-slide h2::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 50px;
  height: 3px;
  background: #ef233c;
}

.et-slide h3 {
  font-size: 1rem;
  letter-spacing: 0.3rem;
  opacity: 0.6;
  color: #2b2d42;
}

/* About Section */
.about-section {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  min-height: 60vh;
  background: #edf2f4;
  text-align: center;
  padding: 0px 0px; /* Reduced from 10px 10px to 0px 0px */
  margin: 0 auto;
}

.about-title {
  font-size: 2.5rem;
  color: #2b2d42;
  margin: 0 0 40px;
  letter-spacing: 0.1rem;
  position: relative;
  animation: fadeIn 1.5s ease-in-out;
}

.about-title::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 50px;
  height: 3px;
  background: #ef233c;
}

.about-text {
  max-width: 800px;
  margin: 0 auto;
}

.about-text p {
  font-size: 1.2rem;
  line-height: 1.8;
  color: #8d99ae;
  margin: 20px 0;
  transition: all 0.3s ease;
  animation: fadeIn 1s ease-in-out forwards;
  opacity: 0;
}

.about-text p:nth-child(1) { animation-delay: 0.2s; }
.about-text p:nth-child(2) { animation-delay: 0.4s; }
.about-text p:nth-child(3) { animation-delay: 0.6s; }

.about-text p:hover {
  color: #2b2d42;
}

.about-text .highlight {
  color: #ef233c;
  font-weight: bold;
}

.text-center {
  text-align: center;
}

/* Media Queries */
@media (max-width: 800px) {
  .about-title {
    font-size: 2rem;
  }
  .about-text p {
    font-size: 1rem;
  }
}

@media (min-width: 800px) {
  .about-title {
    font-size: 3rem;
  }
  .about-text p {
    font-size: 1.3rem;
  }
}

/* Our Story Section */
.story-section {
  padding: 40px 10px; /* Reduced from 80px 20px to 70px 10px */
}

.story-title {
  text-align: center;
}

.story-content {
  display: flex;
  flex-wrap: wrap;
  max-width: 1200px;
  margin: 0 auto;
  gap: 40px;
  background: #2b2d42;
  border-radius: 15px;
  padding: 30px; /* Reduced from 40px to 30px */
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
  animation: slideInUp 1s ease-in-out;
}

.story-text {
  flex: 1;
  min-width: 300px;
  color: #edf2f4;
}

.story-paragraph {
  font-size: 1.1rem;
  line-height: 1.8;
  color: #8d99ae;
  margin: 20px 0;
  transition: all 0.3s ease;
}

.story-paragraph:hover {
  color: #edf2f4;
}

.story-paragraph .highlight {
  color: #ef233c;
  font-weight: bold;
}

.story-paragraph.paragraph-1 { animation: slideInLeft 1s ease-in-out 0.3s forwards; opacity: 0; }
.story-paragraph.paragraph-2 { animation: slideInLeft 1s ease-in-out 0.6s forwards; opacity: 0; }

.story-image {
  flex: 1;
  min-width: 300px;
  animation: fadeIn 1s ease-in-out 0.3s forwards;
  opacity: 0;
}

.story-image img {
  width: 100%;
  height: auto;
  max-height: 400px;
  object-fit: cover;
  border-radius: 10px;
  transition: all 0.3s ease;
}

.story-image img:hover {
  transform: scale(1.05);
  box-shadow: 0 4px 15px rgba(239, 35, 60, 0.3);
}

/* What Makes Us Different Section */
.different-content {
  max-width: 1200px;
  margin: 0 auto;
}

.different-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  max-width: 1200px;
  margin: 0 auto;
}

.different-item {
  background: #2b2d42;
  padding: 10px; /* Reduced from 20px to 10px */
  color: #edf2f4;
  border-radius: 10px;
  transition: all 0.3s ease;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.different-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 4px 15px rgba(239, 35, 60, 0.3);
}

.different-item:nth-child(1) { animation: slideInUp 1s ease-in-out 0.2s forwards; opacity: 0; }
.different-item:nth-child(2) { animation: slideInUp 1s ease-in-out 0.4s forwards; opacity: 0; }
.different-item:nth-child(3) { animation: slideInUp 1s ease-in-out 0.6s forwards; opacity: 0; }
.different-item.bottom-row:nth-child(4) { animation: slideInUp 1s ease-in-out 0.8s forwards; opacity: 0; }
.different-item.bottom-row:nth-child(5) { animation: slideInUp 1s ease-in-out 1s forwards; opacity: 0; }
.different-item.bottom-row:nth-child(6) { animation: slideInUp 1s ease-in-out 1.2s forwards; opacity: 0; }

.different-icon {
  font-size: 1.5rem;
  color: #ef233c;
  transition: all 0.3s ease;
}

.different-item:hover .different-icon {
  transform: scale(1.2) rotate(10deg);
}

.different-item h3 {
  font-size: 1.4rem;
  margin: 10px 0;
  color: #edf2f4;
  transition: all 0.3s ease;
}

.different-item:hover h3 {
  color: #ef233c;
}

.different-item p {
  font-size: 1rem;
  line-height: 1.6;
  color: #8d99ae;
  transition: all 0.3s ease;
}

.different-item:hover p {
  color: #edf2f4;
}

/* Signature Services Section */
.services-content {
  max-width: 1200px;
  margin: 0 auto;
}

.services-title {
  text-align: center;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  max-width: 1200px;
  margin: 0 auto;
}

.service-item {
  position: relative;
  overflow: hidden;
  border-radius: 10px;
  animation: scaleIn 1s ease-in-out forwards;
  opacity: 0;
}

.service-item:nth-child(1) { animation-delay: 0.2s; }
.service-item:nth-child(2) { animation-delay: 0.4s; }
.service-item:nth-child(3) { animation-delay: 0.6s; }
.service-item:nth-child(4) { animation-delay: 0.8s; }
.service-item:nth-child(5) { animation-delay: 1s; }
.service-item:nth-child(6) { animation-delay: 1.2s; }

.service-item img {
  width: 100%;
  height: 250px;
  object-fit: cover;
  display: block;
  transition: all 0.3s ease;
}

.service-item:hover img {
  transform: scale(1.1);
}

.service-overlay {
  position: absolute;
  top: 100%;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(43, 45, 66, 0.8);
  display: flex;
  justify-content: center;
  align-items: center;
  transition: all 0.3s ease;
}

.service-item:hover .service-overlay {
  top: 0;
  background: rgba(43, 45, 66, 0.6);
}

.service-overlay h3 {
  color: #edf2f4;
  font-size: 1.2rem;
  text-align: center;
  padding: 0 10px; /* Reduced from 20px to 10px */
  transform: translateY(20px);
  transition: all 0.3s ease;
}

.service-item:hover .service-overlay h3 {
  transform: translateY(0);
}

/* Contact Section */
.contact-content {
  max-width: 1200px;
  margin: 0 auto;
}

.contact-title {
  text-align: center;
}

.contact-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  justify-content: center;
}

.contact-info {
  flex: 1;
  min-width: 300px;
  background: #fff;
  padding: 20px; /* Reduced from 30px to 20px */
  border-radius: 15px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
  animation: slideInUp 1s ease-in-out;
}

.contact-info h3 {
  font-size: 1.8rem;
  color: #2b2d42;
  margin-bottom: 20px;
}

.contact-info p {
  font-size: 1.1rem;
  color: #8d99ae;
  line-height: 1.6;
  margin-bottom: 30px;
}

.contact-links {
  display: flex;
  flex-direction: column;
  gap: 15px;
  margin-bottom: 30px;
}

.contact-link {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #2b2d42;
  font-size: 1.1rem;
  transition: all 0.3s ease;
}

.contact-link:hover {
  color: #ef233c;
  transform: translateX(5px);
}

.contact-icon {
  width: 24px;
  height: 24px;
  transition: all 0.3s ease;
}

.contact-link:hover .contact-icon path {
  fill: #d90429;
  transform: rotate(10deg);
}

.contact-details {
  background: #edf2f4;
  padding: 10px; /* Reduced from 20px to 10px */
  border-radius: 10px;
}

.contact-details p {
  font-size: 1.1rem;
  color: #2b2d42;
  line-height: 1.6;
  margin: 10px 0;
}

.contact-details strong {
  color: #ef233c;
}

.contact-map {
  flex: 1;
  min-width: 300px;
  animation: slideInUp 1s ease-in-out 0.3s forwards;
  opacity: 0;
}

.contact-map iframe {
  width: 100%;
  height: 300px;
  border-radius: 10px;
  border: none;
}

/* Footer */
.footer {
  background: linear-gradient(180deg, #2b2d42 0%, #1a1b2e 100%);
  padding: 30px 10px; /* Reduced from 40px 20px to 30px 10px */
  color: #edf2f4;
  text-align: center;
}

.footer-content {
  max-width: 1200px;
  margin: 0 auto;
}

.footer-links {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-top: 10px;
}

.footer-links a {
  color: #8d99ae;
  font-size: 0.9rem;
  transition: all 0.3s ease;
}

.footer-links a:hover {
  color: #ef233c;
}

/* Media Queries */
@media (max-width: 800px) {
  .et-hero-tabs-container {
    font-size: 0.7rem;
  }
  .different-grid, .services-grid {
    grid-template-columns: 1fr;
  }
  .different-item, .service-item {
    grid-column: auto;
    grid-row: auto;
  }
  .story-content {
    flex-direction: column;
  }
  .story-image {
    order: 2;
    width: 100%;
  }
  .story-text {
    order: 1;
  }
  .contact-grid {
    flex-direction: column;
  }
}

@media (min-width: 800px) {
  .hero-title { font-size: 4.5rem; }
  .hero-subtitle { font-size: 1.5rem; }
  .hero-button, .story-button { font-size: 1.2rem; padding: 20px 40px; }
  .et-hero-tab { font-size: 1rem; }
  .et-slide h1, .et-slide h2 { font-size: 3rem; }
  .et-slide h3 { font-size: 1rem; }
  .about-text p, .story-paragraph, .different-item p, .service-overlay h3, .contact-info h3 { font-size: 1.2rem; }
}

/* Animations */
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes slideInLeft {
  from { opacity: 0; transform: translateX(-30px); }
  to { opacity: 1; transform: translateX(0); }
}

@keyframes slideInRight {
  from { opacity: 0; transform: translateX(30px); }
  to { opacity: 1; transform: translateX(0); }
}

@keyframes slideInUp {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes scaleIn {
  from { opacity: 0; transform: scale(0.95); }
  to { opacity: 1; transform: scale(1); }
}