/* ======================================================= */
/* HOMEPAGE-SPECIFIC STYLESHEET (home-style.css)           */
/* ======================================================= */

/* --- 1. Homepage Hero Section --- */
.new-hero-section {
    background: linear-gradient(105deg, #398e8c, #f7c958);
    height: 100vh;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 0 1rem;
}

.hero-bg-shape {
    display: none; /* Hiding old shapes not needed with the gradient */
}

.new-hero-content {
    position: relative;
    z-index: 2;
    animation: fade-in 1.5s ease-out;
}

@keyframes fade-in {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

.new-hero-content h1 {
    font-size: 4rem;
    font-weight: 900;
    color: #ffffff;
    line-height: 1.1;
    margin-bottom: 1rem;
    text-shadow: 0 2px 5px rgba(0, 0, 0, 0.25);
}

.new-hero-content p {
    font-size: 1.3rem;
    color: rgba(255, 255, 255, 0.9);
    max-width: 650px;
    margin: 0 auto 2.5rem auto;
}

.new-hero-buttons {
    display: flex;
    justify-content: center;
    gap: 1rem;
}

.hero-btn {
    padding: 16px 35px; /* Increased padding to make the button bigger */
    font-size: 1.1rem;
    font-weight: 600;
    border-radius: 50px; /* Fully rounded corners */
    text-decoration: none;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
    transition: all 0.3s ease;
}

.hero-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 7px 20px rgba(0, 0, 0, 0.2);
}

.hero-btn-primary {
    background-color: #ffffff;
    color: #398e8c;
    border: 1px solid #ffffff;
}
.hero-btn-primary:hover {
    background-color: #f0f0f0;
}

.hero-btn-secondary {
    background-color: transparent;
    color: #ffffff;
    border: 1px solid #ffffff;
}
.hero-btn-secondary:hover {
    background-color: rgba(255, 255, 255, 0.1);
}

.new-scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    color: #ffffff;
    font-size: 1.8rem;
    z-index: 2;
    animation: bounce-indicator 2s infinite ease-in-out;
}

@keyframes bounce-indicator {
    0%, 20%, 50%, 80%, 100% { transform: translate(-50%, 0); }
    40% { transform: translate(-50%, -10px); }
    60% { transform: translate(-50%, -5px); }
}


/* --- 2. Homepage "About Us Glance" Section (Enhanced) --- */
.en-about-section {
    padding: 100px 0;
    background-color: var(--en-color-white);
    position: relative; /* Required for positioning background shapes */
    overflow: hidden;   /* Contains the background shapes */
}

/* NEW: Dynamic floating shapes for the background */
.en-about-section::before,
.en-about-section::after {
    content: '';
    position: absolute;
    border-radius: 50%;
    filter: blur(100px);
    z-index: 0; /* Positioned behind the content */
    animation: drift 30s infinite linear alternate;
}

.en-about-section::before {
    width: 400px;
    height: 400px;
    background-color: rgba(57, 142, 140, 0.08); /* Faint Teal */
    top: 10%;
    right: -150px;
}

.en-about-section::after {
    width: 350px;
    height: 350px;
    background-color: rgba(247, 201, 88, 0.08); /* Faint Orange/Yellow */
    bottom: 5%;
    left: -150px;
    animation-duration: 35s;
}

.en-about-section .container {
    position: relative;
    z-index: 1; /* Ensures content is above the shapes */
}

.en-about-content-column { 
    text-align: left; 
}

/* ENHANCED: Title styling */
.en-section-title { 
    font-size: 2.5rem; 
    margin-bottom: 25px; 
    color: var(--en-color-primary-teal); /* Changed to primary brand color */
    position: relative;
    padding-bottom: 15px;
}

/* NEW: Accent underline for the title */
.en-section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px;
    height: 4px;
    background-color: var(--en-color-accent-orange);
    border-radius: 2px;
}

.en-lead-paragraph { 
    font-size: 1.25rem; 
    margin-bottom: 15px; 
    color: var(--en-color-dark);
    font-weight: 500;
}

.en-body-paragraph { 
    font-size: 1rem; 
    margin-bottom: 30px; 
}

/* ENHANCED: Image wrapper and hover effect */
.en-about-image-wrapper { 
    padding: 15px; 
    background-color: var(--en-color-white); 
    border-radius: 12px; 
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
    border: 1px solid #f0f0f0;
    transition: all 0.4s ease;
}

.en-about-image-wrapper:hover {
    transform: translateY(-10px) scale(1.03);
    box-shadow: 0 20px 40px rgba(0,0,0,0.12);
    border-color: var(--en-color-primary-teal);
}

.en-about-main-image { 
    border-radius: 6px; 
}

.en-btn-about-more { 
    background-color: var(--en-color-primary-teal); 
    color: var(--en-color-white); 
    border: 2px solid var(--en-color-primary-teal); 
    padding: 12px 28px; 
    border-radius: 50px; 
    font-weight: 600; 
}
.en-btn-about-more:hover { 
    background-color: #2F756F; 
    border-color: #2F756F; 
    transform: scale(1.05); 
}

/* --- 3. Homepage "Featured Services" Section --- */
.en-featured-services-section {
    padding: 100px 0;
    text-align: center;
    background-image: url('/assets/images/Our_Services_13.jpg');
    background-repeat: no-repeat;
    background-size:cover;
    position: relative; 
    overflow: hidden; 
}
/* Dynamic background blobs for this section */
.en-featured-services-section::before,
.en-featured-services-section::after { content: ''; position: absolute; border-radius: 50%; filter: blur(80px); z-index: 1; animation: float 20s infinite linear alternate; }
.en-featured-services-section::before { width: 400px; height: 400px; background-color: rgba(230, 128, 167, 0.3); top: -100px; left: -150px; }
.en-featured-services-section::after { width: 350px; height: 350px; background-color: rgba(57, 142, 140, 0.4); bottom: -120px; right: -100px; animation-duration: 25s; animation-delay: -5s; }
@keyframes float { from { transform: translateY(-20px) translateX(20px) rotate(0deg); } to { transform: translateY(20px) translateX(-20px) rotate(180deg); } }
.en-section-title-white, .en-section-description-white, .en-services-grid-container, .en-btn-view-all { position: relative; z-index: 2; }
.en-section-title-white { font-size: 2.5rem; color: var(--en-color-white); text-shadow: 0 2px 5px rgba(0,0,0,0.25); }
.en-section-description-white { font-size: 1.1rem; color: rgba(255, 255, 255, 0.9); max-width: 750px; margin: 15px auto 60px auto; }
.en-services-grid-container { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 30px; }
.en-service-card-item { background-color: rgba(255, 255, 255, 0.98); border-radius: 12px; padding: 40px 30px; box-shadow: 0 10px 30px rgba(0,0,0,0.1); display: flex; flex-direction: column; align-items: center; transition: transform 0.4s ease, box-shadow 0.4s ease; position: relative; overflow: hidden; }
.en-service-card-item:hover { transform: translateY(-12px); box-shadow: 0 20px 45px rgba(0,0,0,0.2); }
/* Shine effect, icon, and other card styles... */
.en-service-card-item::before { content: ''; position: absolute; top: 0; left: -100%; width: 75%; height: 100%; background: linear-gradient(90deg, transparent, rgba(255,255,255,0.4), transparent); transition: left 0.6s ease; }
.en-service-card-item:hover::before { left: 125%; }
.en-service-icon-circle { width: 80px; height: 80px; border-radius: 50%; background-color: var(--en-color-primary-teal); display: flex; align-items: center; justify-content: center; margin-bottom: 20px; transition: background-color 0.3s ease; }
.en-service-card-item:hover .en-service-icon-circle { background-color: var(--en-color-accent-magenta); }
.en-service-icon-circle i { font-size: 2.8rem; color: var(--en-color-white); text-shadow: 0 1px 3px rgba(0,0,0,0.2); transition: transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94); }
.en-service-card-item:hover .en-service-icon-circle i { transform: scale(1.15) rotate(15deg); }
.en-service-card-item h3 { font-size: 1.4rem; margin-bottom: 10px; }
.en-service-card-item p { font-size: 1rem; flex-grow: 1; margin-bottom: 25px; }
.en-service-link { background: var(--en-color-primary-teal); color: var(--en-color-white); padding: 10px 25px; border-radius: 50px; font-weight: 600; }
.en-service-link:hover { background: var(--en-color-dark); }
.en-btn-view-all { margin-top: 60px; color: var(--en-color-white); border: 2px solid var(--en-color-white); padding: 12px 30px; border-radius: 50px; font-weight: 600; }
.en-btn-view-all:hover { background-color: var(--en-color-white); color: var(--en-color-dark); }

/* --- 4. Homepage CTA Section --- */
.en-global-cta-section { padding: 100px 0; background-color: var(--en-color-light-gray); text-align: center; }
.en-cta-main-heading { font-size: 2.5rem; margin-bottom: 15px; }
.en-cta-sub-paragraph { font-size: 1.2rem; color: var(--en-color-text); max-width: 700px; margin: 0 auto 40px auto; }
.en-btn-cta-contact { background-color: var(--en-color-primary-teal); color: var(--en-color-white); padding: 15px 40px; border-radius: 50px; font-size: 1.1rem; font-weight: 700; text-transform: uppercase; letter-spacing: 1px; box-shadow: 0 5px 15px rgba(0,0,0,0.1); }
.en-btn-cta-contact:hover { background-color: #2F756F; transform: translateY(-3px); box-shadow: 0 8px 20px rgba(0,0,0,0.15); }

.hero-slider {
  position: relative;
  width: 100%;
  height: 90vh;
  overflow: hidden;
}

.slider-container {
  display: flex;
  transition: transform 0.8s ease-in-out;
  height: 100%;
  width: 100%; /* dynamically updated in JS */
}

.slide {
  width: 100%;
  height: 100%;
  flex: 0 0 100%;
  background-size: cover;
  background-position: center;

  /* Center content */
  display: flex;
  justify-content: center;
  align-items: center;
}

.slide-content {
  background: radial-gradient(circle at top left, rgba(57, 142, 140, 0.7), rgba(0, 0, 0, 0.2));
  padding: 40px 30px;
  max-width: 600px;
  border-radius: 16px;
  color: #fff;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.3);
  backdrop-filter: blur(4px);
  animation: fadeInUp 1s ease-in-out;
  text-align: center;
}

@keyframes fadeInUp {
  0% {
    opacity: 0;
    transform: translateY(40px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

.slide-content h1 {
  font-size: 2.5rem;
  font-weight: bold;
  margin-bottom: 15px;
  color: white;
}

.slide-content p {
  font-size: 1.2rem;
  line-height: 1.5;
  margin-bottom: 20px;
}

.slider-controls {
  position: absolute;
  top: 50%;
  width: 100%;
  display: flex;
  justify-content: space-between;
  transform: translateY(-50%);
  padding: 0 20px;
  z-index: 2;
}

.prev, .next {
  font-size: 1.4rem;
  color: white;
  cursor: pointer;
  padding: 6px;
  border-radius: 50%;
}

/* 📱 Responsive Tweaks */
@media (max-width: 1024px) {
  .hero-slider {
    height: 80vh;
  }
}

@media (max-width: 768px) {
  .hero-slider {
    height: 80vh;
  }
  .slide-content {
    padding: 20px;
    width: 85%;
  }
  .slide-content h1 {
    font-size: 1.5rem;
  }
  .slide-content p {
    font-size: 1rem;
  }
}

@media (max-width: 480px) {
  .hero-slider {
    height: 70vh;
  }
  .slide-content {
    width: 90%;
    padding: 15px;
  }
  .slide-content h1 {
    font-size: 1.4rem;
  }
  .slide-content p {
    font-size: 0.9rem;
  }
}



