/* ==========================================================================
   Areeba Pile Foundation - Custom CSS
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&family=Oswald:wght@500;600;700&display=swap');

:root {
  --primary: #f03e45;     /* Construction Yellow/Orange */
  --primary-dark: #214266;
  --secondary: #214266;   /* Slate Dark */
  --secondary-light: #ffffff;
  --text-dark: #0f172a;
  --text-muted: #64748b;
  --light-bg: #f8fafc;
  --white: #ffffff;
}

/* ==========================================================================
   Base
   ========================================================================== */
html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', sans-serif;
  color: var(--text-dark);
  line-height: 1.6;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Oswald', sans-serif;
  font-weight: 600;
  color: var(--secondary);
}

a {
  color: var(--primary);
  text-decoration: none;
  transition: all 0.3s ease;
}

a:hover {
  color: var(--primary-dark);
}

.text-primary {
  color: var(--primary) !important;
}

.bg-primary {
  background-color: var(--primary) !important;
}

.bg-light-alt {
  background-color: var(--light-bg);
}

.btn-primary {
  background-color: var(--primary);
  border-color: var(--primary);
  color: var(--secondary);
  font-weight: 600;
  padding: 10px 24px;
  transition: all 0.3s ease;
}

.btn-primary:hover {
  background-color: var(--primary-dark);
  border-color: var(--primary-dark);
  color: var(--secondary-light);
  transform: translateY(-2px);
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

.btn-outline-primary {
  color: var(--primary);
  border-color: var(--primary);
  font-weight: 600;
  padding: 10px 24px;
}

.btn-outline-primary:hover {
  background-color: var(--primary);
  color: var(--secondary);
}

/* ==========================================================================
   Preloader
   ========================================================================== */
#preloader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--white);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.5s ease;
}

.loader {
  border: 4px solid var(--light-bg);
  border-top: 4px solid var(--primary);
  border-radius: 50%;
  width: 50px;
  height: 50px;
  animation: spin 1s linear infinite;
}

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

/* ==========================================================================
   Topbar & Navbar
   ========================================================================== */
.topbar {
  background-color: var(--secondary);
  color: var(--white);
  padding: 8px 0;
  font-size: 0.85rem;
}

.topbar a {
  color: var(--white);
}

.topbar a:hover {
  color: var(--primary);
}

.topbar i {
  color: var(--primary);
  margin-right: 5px;
}

.navbar {
  box-shadow: 0 2px 10px rgba(0,0,0,0.05);
  padding-top: 15px;
  padding-bottom: 15px;
  transition: all 0.3s ease;
}

.navbar-brand {
  font-family: 'Oswald', sans-serif;
  font-weight: 700;
  font-size: 1.5rem;
  color: var(--secondary) !important;
}

.navbar-brand span {
  color: var(--primary);
}

.nav-link {
  font-weight: 500;
  color: var(--secondary);
  text-transform: uppercase;
  font-size: 0.9rem;
  letter-spacing: 0.5px;
  margin: 0 5px;
  position: relative;
}

.nav-link.active, .nav-link:hover {
  color: var(--primary) !important;
}

.nav-link::after {
  content: '';
  position: absolute;
  width: 0;
  height: 2px;
  bottom: 0;
  left: 0;
  background-color: var(--primary);
  transition: width 0.3s ease;
}

.nav-link:hover::after, .nav-link.active::after {
  width: 100%;
}

.navbar.scrolled {
  padding-top: 10px;
  padding-bottom: 10px;
  box-shadow: 0 5px 15px rgba(0,0,0,0.1);
  background-color: rgba(255, 255, 255, 0.98) !important;
}

/* ==========================================================================
   Hero Section
   ========================================================================== */
.hero-slider {
  position: relative;
  height: 90vh;
  min-height: 600px;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(30, 41, 59, 0.7);
}

.hero-content {
  position: relative;
  z-index: 1;
  color: var(--white);
}

.hero-title {
  font-size: 4rem;
  font-weight: 700;
  color: var(--white);
  text-transform: uppercase;
  margin-bottom: 20px;
  animation: slideInDown 1s ease;
}

.hero-subtitle {
  font-size: 1.25rem;
  font-weight: 300;
  margin-bottom: 30px;
  display: inline-block;
  border-left: 3px solid var(--primary);
  padding-left: 15px;
  animation: fadeIn 1.5s ease;
}

.hero-actions {
  animation: slideInUp 1s ease;
}

/* ==========================================================================
   Section Defaults
   ========================================================================== */
.section-padding {
  padding: 80px 0;
}

.section-title {
  margin-bottom: 50px;
  text-align: center;
}

.section-title h2 {
  font-size: 2.5rem;
  text-transform: uppercase;
  position: relative;
  display: inline-block;
  padding-bottom: 15px;
}

.section-title h2::after {
  content: '';
  position: absolute;
  width: 60px;
  height: 3px;
  background: var(--primary);
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
}

.section-title span {
  display: block;
  font-family: 'Inter', sans-serif;
  color: var(--primary);
  font-size: 1rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 5px;
}

/* ==========================================================================
   Services Section Layout
   ========================================================================== */
.service-card {
  background: var(--white);
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 5px 20px rgba(0,0,0,0.05);
  transition: all 0.4s ease;
  height: 100%;
  border: 1px solid rgba(0,0,0,0.05);
}

.service-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 30px rgba(0,0,0,0.1);
  border-color: var(--primary);
}

.service-img {
  position: relative;
  overflow: hidden;
  height: auto;
}

.service-img img {
  width: 415px;
  height: 555px;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.service-card:hover .service-img img {
  transform: scale(1.1);
}

.service-icon {
  position: absolute;
  bottom: -20px;
  right: 20px;
  width: 50px;
  height: 50px;
  background: var(--primary);
  color: var(--secondary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  z-index: 2;
  border: 4px solid var(--white);
}

.service-content {
  padding: 30px 20px 20px;
}

.service-content h4 {
  font-size: 1.25rem;
  margin-bottom: 15px;
}

.service-content p {
  color: var(--text-muted);
  font-size: 0.95rem;
  margin-bottom: 20px;
}

.read-more {
  display: inline-flex;
  align-items: center;
  font-size: 0.9rem;
  font-weight: 600;
  text-transform: uppercase;
}

.read-more i {
  margin-left: 5px;
  transition: transform 0.3s ease;
}

.read-more:hover i {
  transform: translateX(5px);
}

/* ==========================================================================
   About Section (Home)
   ========================================================================== */
.about-image {
  position: relative;
}

.about-image img {
  border-radius: 8px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.experience-badge {
  position: absolute;
  bottom: -20px;
  right: -20px;
  background: var(--primary);
  color: var(--secondary);
  padding: 30px;
  border-radius: 8px;
  text-align: center;
  box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}

.experience-badge h2 {
  font-size: 3rem;
  margin: 0;
  color: var(--secondary-light);
}

.experience-badge p {
  font-weight: 600;
  margin: 0;
  text-transform: uppercase;
  color: var(--secondary-light);
}

/* ==========================================================================
   Why Choose Us
   ========================================================================== */
.feature-item {
  display: flex;
  margin-bottom: 30px;
}

.feature-icon {
  flex-shrink: 0;
  width: 60px;
  height: 60px;
  background: rgba(249, 168, 38, 0.1);
  color: var(--primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-right: 20px;
  transition: all 0.3s ease;
}

.feature-item:hover .feature-icon {
  background: var(--primary);
  color: var(--white);
}

.feature-content h4 {
  font-size: 1.2rem;
  margin-bottom: 10px;
}

/* ==========================================================================
   Testimonials
   ========================================================================== */
.testimonial-card {
  background: var(--white);
  padding: 30px;
  border-radius: 8px;
  box-shadow: 0 5px 20px rgba(0,0,0,0.05);
  margin-bottom: 20px;
  position: relative;
}

.testimonial-card i.fa-quote-left {
  font-size: 2rem;
  color: rgba(249, 168, 38, 0.2);
  position: absolute;
  top: 20px;
  right: 30px;
}

.client-info {
  display: flex;
  align-items: center;
  margin-top: 20px;
}

.client-info img {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  margin-right: 15px;
  object-fit: cover;
}

.client-info h5 {
  margin: 0;
  font-size: 1.1rem;
}

.client-info span {
  font-size: 0.85rem;
  color: var(--text-muted);
}

/* ==========================================================================
   Footer
   ========================================================================== */
.footer {
  background: var(--secondary);
  color: #cad2c5;
  padding: 70px 0 0;
}

.footer h4 {
  color: var(--white);
  margin-bottom: 25px;
  font-size: 1.2rem;
  position: relative;
  padding-bottom: 10px;
}

.footer h4::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 40px;
  height: 2px;
  background: var(--primary);
}

.footer-contact li {
  display: flex;
  margin-bottom: 15px;
}

.footer-contact li i {
  color: var(--primary);
  margin-right: 15px;
  margin-top: 5px;
}

.footer-links {
  list-style: none;
  padding: 0;
}

.footer-links li {
  margin-bottom: 10px;
}

.footer-links a {
  color: #cad2c5;
  transition: all 0.3s ease;
  white-space: nowrap;
}

.footer-links a:hover {
  color: var(--primary);
  padding-left: 5px;
}

.social-links a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background: rgba(255,255,255,0.05);
  color: var(--white);
  border-radius: 50%;
  margin-right: 10px;
  transition: all 0.3s ease;
}

.social-links a:hover {
  background: var(--primary);
  color: var(--secondary);
  transform: translateY(-3px);
}

.footer-bottom {
  background: rgba(0,0,0,0.2);
  padding: 20px 0;
  margin-top: 40px;
  text-align: center;
}

.footer-bottom p {
  margin: 0;
  font-size: 0.9rem;
}

/* ==========================================================================
   Floating Action Buttons
   ========================================================================== */
.fab-container {
  position: fixed;
  bottom: 30px;
  right: 30px;
  z-index: 999;
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.fab {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 1.5rem;
  box-shadow: 0 4px 15px rgba(0,0,0,0.2);
  transition: all 0.3s ease;
  position: relative;
}

.fab:hover {
  transform: scale(1.1);
  color: white;
}

.fab-whatsapp {
  background-color: #25d366;
}

.fab-call {
  background-color: var(--primary);
  display: none; /* Only show on smaller screens typically or keep always */
}

@media (max-width: 768px) {
  .fab-call {
    display: flex;
  }
  .footer-links a {
  	  white-space: pre-line;
      font-size: 15px;
  }
}

/* ==========================================================================
   Scroll Animations
   ========================================================================== */
.fade-in-up {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

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

/* Page Header (Inner pages) */
.page-header {
  background: url('../../assets/images/inner-banner.png') no-repeat center center/cover;
  padding: 100px 0 80px;
  position: relative;
  text-align: center;
}

.page-header::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(30, 41, 59, 0.8);
}

.page-header .container {
  position: relative;
  z-index: 1;
}

.page-header h1 {
  color: var(--white);
  font-size: 3rem;
  margin-bottom: 10px;
}

.breadcrumb {
  justify-content: center;
  background: transparent;
  padding: 0;
}

.breadcrumb-item a {
  color: var(--primary);
}

.breadcrumb-item.active {
  color: #cad2c5;
}

.breadcrumb-item + .breadcrumb-item::before {
  color: #cad2c5;
}

/* Contact Specific */
.contact-info-card {
  background: var(--light-bg);
  padding: 30px;
  border-radius: 8px;
  text-align: center;
  height: 100%;
  transition: all 0.3s ease;
}

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

.contact-icon {
  width: 60px;
  height: 60px;
  background: var(--primary);
  color: var(--secondary);
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 20px;
}

/* Responsive Overrides */
@media (max-width: 991px) {
  .hero-title { font-size: 2.8rem; }
  .experience-badge { right: 0; bottom: -20px; }
  .topbar { display: none; }
}

@media (max-width: 768px) {
  .section-padding { padding: 60px 0; }
  .hero-title { font-size: 2.2rem; }
  .page-header { padding: 80px 0 60px; }
  .page-header h1 { font-size: 2.2rem; }
}

/* -------------------------------------------------------------------------
   	Whatsapp And Call Button Design
   ------------------------------------------------------------------------- */

.whatsapp-btn {
  position: fixed;
  bottom: 6em;
  left: 1%;
  width: 50px;
  height: 50px;
  z-index: 999;
}

.whatsapp-btn .icon_logo>a>img {
  width: 100%;
  padding: unset;
  border: none;
}

.whatsapp-btn .circle_waves {
  border-radius: 50%;
  background-color: #3cc04e;
  width: 50px;
  height: 50px;
  position: absolute;
  opacity: 0;
  bottom: 1px;
  left: 0px;
  z-index: 99;
  animation: waves 4s infinite cubic-bezier(0.36, 0.11, 0.89, 0.32);
}

.whatsapp-btn .icon_logo {
  position: relative;
  z-index: 100;
  padding: 5px;
}

.flot-call-btn {
  position: fixed;
  bottom: 1em;
  left: 1%;
  width: 50px;
  height: 50px;
  z-index: 999;
}

.flot-call-btn .icon_logo>a>img {
  width: 100%;
  padding: unset;
  border: none;
}

.flot-call-btn .circle_waves {
  border-radius: 50%;
  background-color: #3399ff;
  width: 50px;
  height: 50px;
  position: absolute;
  opacity: 0;
  bottom: 1px;
  left: 0px;
  z-index: 99;
  animation: waves 4s infinite cubic-bezier(0.36, 0.11, 0.89, 0.32);
}

.flot-call-btn .icon_logo {
  position: relative;
  z-index: 100;
  padding: 5px;
}

@keyframes waves {
  from {
    transform: scale(0.55, 0.55);
    opacity: 0.6;
  }

  to {
    transform: scale(1.8, 1.8);
    opacity: 0;
  }
}


.whatsappr-btn {
  position: fixed;
  bottom: 9em;
  right: 1%;
  width: 50px;
  height: 50px;
  z-index: 999;
}

.whatsappr-btn .icon_logo>a>img {
  width: 100%;
  padding: unset;
  border: none;
}

.whatsappr-btn .circle_waves {
  border-radius: 50%;
  background-color: #3cc04e;
  width: 50px;
  height: 50px;
  position: absolute;
  opacity: 0;
  bottom: 1px;
  left: 0px;
  z-index: 99;
  animation: waves 4s infinite cubic-bezier(0.36, 0.11, 0.89, 0.32);
}

.whatsappr-btn .icon_logo {
  position: relative;
  z-index: 100;
  padding: 5px;
}

.flot-callr-btn {
  position: fixed;
  bottom: 5em;
  right: 1%;
  width: 50px;
  height: 50px;
  z-index: 999;
}

.flot-callr-btn .icon_logo>a>img {
  width: 100%;
  padding: unset;
  border: none;
}

.flot-callr-btn .circle_waves {
  border-radius: 50%;
  background-color: #3399ff;
  width: 50px;
  height: 50px;
  position: absolute;
  opacity: 0;
  bottom: 1px;
  left: 0px;
  z-index: 99;
  animation: waves 4s infinite cubic-bezier(0.36, 0.11, 0.89, 0.32);
}

.flot-callr-btn .icon_logo {
  position: relative;
  z-index: 100;
  padding: 5px;
}

@keyframes waves {
  from {
    transform: scale(0.55, 0.55);
    opacity: 0.6;
  }

  to {
    transform: scale(1.8, 1.8);
    opacity: 0;
  }
}

/* ==========================================================================
   Scroll To Top
   ========================================================================== */
.scroll-top-btn {
  position: fixed;
  bottom: 1em;
  right: 1.5%;
  width: 50px;
  height: 50px;
  background-color: var(--primary);
  color: var(--secondary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  z-index: 999;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  box-shadow: 0 4px 10px rgba(0,0,0,0.2);
}

.scroll-top-btn.active {
  opacity: 1;
  visibility: visible;
}

.scroll-top-btn:hover {
  background-color: var(--secondary);
  color: var(--white);
  transform: translateY(-3px);
}

/* ==========================================================================
   Dropdown Menu Customization
   ========================================================================== */
@media all and (min-width: 992px) {
  .navbar .nav-item .dropdown-menu { display: none; margin-top: 0; }
  .navbar .nav-item:hover .nav-link { color: var(--primary); }
  .navbar .nav-item:hover .dropdown-menu { display: block; }
  .navbar .nav-item .dropdown-menu { 
      border-radius: 0 0 8px 8px; 
      border-top: 3px solid var(--primary); 
      background-color: var(--white);
  }
}

.navbar .dropdown-toggle::after {
  display: none;
}

.navbar .dropdown-item {
  padding: 10px 20px;
  font-size: 0.95rem;
  transition: all 0.2s;
  color: var(--secondary);
}

.navbar .dropdown-item:hover {
  background-color: rgba(249, 168, 38, 0.1);
  color: var(--primary);
  padding-left: 25px;
}

/* ==========================================================================
   Gallery Style
   ========================================================================== */

 .gallery-item {
            overflow: hidden;
            border-radius: 8px;
            margin-bottom: 24px;
            position: relative;
            box-shadow: 0 5px 15px rgba(0,0,0,0.1);
        }
        .gallery-item img {
            width: 100%;
            height: 300px;
            object-fit: cover;
            transition: transform 0.5s ease;
        }
        .gallery-item:hover img {
            transform: scale(1.1);
        }
        .gallery-overlay {
            position: absolute;
            bottom: -100%;
            left: 0;
            width: 100%;
            padding: 20px;
            background: rgba(30, 41, 59, 0.85);
            color: white;
            transition: bottom 0.4s ease;
        }
        .gallery-item:hover .gallery-overlay {
            bottom: 0;
        }
		
		video {
			border: 2px solid #2e2e2e;
			width: 100%;
			height: auto;
			margin-bottom:7%;
		}