/*===========================================
  AYOOLA'S SUITE - MODERN UI STYLESHEET
  Professional, Animated & Fully Responsive
=============================================*/

/* ============================================
   CSS VARIABLES - EASY CUSTOMIZATION
============================================== */
:root {
  /* Primary Colors */
  --primary: #b91c1c;
  --primary-dark: #991b1b;
  --primary-light: #dc2626;
  --primary-gradient: linear-gradient(135deg, #b91c1c 0%, #991b1b 100%);

  /* Secondary Colors */
  --secondary: #1e293b;
  --secondary-light: #334155;
  --secondary-dark: #0f172a;

  /* Accent Colors */
  --accent: #f59e0b;
  --accent-light: #fbbf24;

  /* Neutral Colors */
  --white: #ffffff;
  --off-white: #f8fafc;
  --gray-50: #f9fafb;
  --gray-100: #f3f4f6;
  --gray-200: #e5e7eb;
  --gray-300: #d1d5db;
  --gray-400: #9ca3af;
  --gray-500: #6b7280;
  --gray-600: #4b5563;
  --gray-700: #374151;
  --gray-800: #1f2937;
  --gray-900: #111827;

  /* Typography */
  --font-primary: "Poppins", "Nunito", sans-serif;
  --font-secondary: "Inter", "Muli", sans-serif;

  /* Shadows */
  --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  --shadow:
    0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
  --shadow-md:
    0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
  --shadow-lg:
    0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
  --shadow-xl: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
  --shadow-glow: 0 0 40px rgba(185, 28, 28, 0.3);

  /* Transitions */
  --transition-fast: 0.15s ease;
  --transition: 0.3s ease;
  --transition-slow: 0.5s ease;
  --transition-bounce: 0.5s cubic-bezier(0.68, -0.55, 0.265, 1.55);

  /* Border Radius */
  --radius-sm: 0.375rem;
  --radius: 0.5rem;
  --radius-md: 0.75rem;
  --radius-lg: 1rem;
  --radius-xl: 1.5rem;
  --radius-full: 9999px;
}

/* ============================================
   GOOGLE FONTS IMPORT
============================================== */
@import url("https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700;800&family=Inter:wght@300;400;500;600;700&display=swap");

/* ============================================
   BASE STYLES & RESET ENHANCEMENTS
============================================== */
* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  font-size: 16px; /* Base font size */
}

body {
  font-family: var(--font-primary);
  font-size: 16px;
  background: var(--white);
  color: var(--gray-700);
  line-height: 1.7;
  overflow-x: hidden;
}

/* Better text rendering */
h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-primary);
  font-weight: 700;
  line-height: 1.3;
  color: var(--secondary);
}

h1 {
  font-size: 42px;
  letter-spacing: -0.02em;
}

h2 {
  font-size: 32px;
  letter-spacing: -0.01em;
}

h3 {
  font-size: 24px;
}

h4 {
  font-size: 20px;
}

p {
  font-family: var(--font-secondary);
  font-size: 16px;
  color: var(--gray-600);
  line-height: 1.8;
}

a {
  color: var(--primary);
  transition: var(--transition);
}

a:hover {
  color: var(--primary-dark);
}

/* ============================================
   MODERN SCROLLBAR
============================================== */
::-webkit-scrollbar {
  width: 10px;
}

::-webkit-scrollbar-track {
  background: var(--gray-100);
}

::-webkit-scrollbar-thumb {
  background: var(--primary);
  border-radius: var(--radius);
}

::-webkit-scrollbar-thumb:hover {
  background: var(--primary-dark);
}

/* ============================================
   PRELOADER - MODERN DESIGN
============================================== */
.preloader {
  background: var(--white);
  z-index: 99999;
}

.spinner::before {
  width: 50px;
  height: 50px;
  border: 3px solid var(--gray-200);
  border-top-color: var(--primary);
  animation: spinner 0.8s linear infinite;
}

@keyframes spinner {
  to {
    transform: rotate(360deg);
  }
}

/* ============================================
   MODERN NAVBAR
============================================== */
.custom-navbar {
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-top: 4px solid var(--primary);
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
  box-shadow: var(--shadow-md);
  padding: 0;
  transition: var(--transition);
}

.custom-navbar.scrolled {
  padding: 5px 0;
  box-shadow: var(--shadow-lg);
}

.custom-navbar .navbar-brand {
  font-size: 24px !important;
  font-weight: 800;
  letter-spacing: -0.02em;
  transition: var(--transition);
}

.custom-navbar .navbar-brand:hover {
  transform: scale(1.02);
}

.custom-navbar .nav li a {
  font-weight: 600;
  font-size: 15px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  padding: 25px 20px !important;
  position: relative;
  transition: var(--transition);
}

.custom-navbar .nav li a::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 0;
  height: 3px;
  background: var(--primary-gradient);
  transition: var(--transition);
  transform: translateX(-50%);
  border-radius: var(--radius-full);
}

.custom-navbar .nav li a:hover::after,
.custom-navbar .nav li.active a::after {
  width: 80%;
}

.custom-navbar .nav li a:hover {
  background-color: transparent !important;
  color: var(--primary) !important;
}

.custom-navbar .nav li.active > a {
  background-color: transparent !important;
  color: var(--primary) !important;
}

/* ============================================
   MODERN BUTTONS
============================================== */
.btn {
  font-family: var(--font-primary);
  font-weight: 600;
  font-size: 15px;
  padding: 14px 32px;
  border-radius: var(--radius-full);
  text-transform: uppercase;
  letter-spacing: 1px;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
  z-index: 1;
}

.btn::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    135deg,
    rgba(255, 255, 255, 0.2) 0%,
    transparent 100%
  );
  opacity: 0;
  transition: var(--transition);
  z-index: -1;
}

.btn:hover::before {
  opacity: 1;
}

.btn-danger {
  background: var(--primary-gradient);
  border: none;
  color: var(--white);
  box-shadow: 0 4px 15px rgba(185, 28, 28, 0.4);
}

.btn-danger:hover,
.btn-danger:focus {
  background: var(--primary-dark);
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(185, 28, 28, 0.5);
}

.btn-danger:active {
  transform: translateY(-1px);
}

.section-btn {
  padding: 16px 40px;
  font-weight: 600;
  letter-spacing: 1px;
  border-radius: var(--radius-full);
  border: 2px solid var(--white);
  position: relative;
  overflow: hidden;
}

.section-btn:hover {
  background: var(--white);
  color: var(--primary);
  transform: translateY(-3px);
  box-shadow: var(--shadow-lg);
}

.section-btn.btn-primary {
  background: transparent;
  border-color: var(--primary);
  color: var(--primary);
}

.section-btn.btn-primary:hover {
  background: var(--primary-gradient);
  border-color: transparent;
  color: var(--white);
}

/* ============================================
   HOME SLIDER - MODERN HERO
============================================== */
#home {
  padding: 0;
}

.home-slider .item {
  height: 80vh;
  min-height: 600px;
  background-size: cover;
  background-position: center;
}

.home-slider .caption {
  height: 80vh;
  min-height: 600px;
  background: linear-gradient(
    135deg,
    rgba(0, 0, 0, 0.7) 0%,
    rgba(0, 0, 0, 0.4) 100%
  );
  display: flex;
  align-items: center;
}

.home-slider .caption h1 {
  color: var(--white);
  font-size: 48px;
  font-weight: 800;
  text-shadow: 2px 2px 30px rgba(0, 0, 0, 0.3);
  margin-bottom: 1.5rem;
  animation: fadeInUp 1s ease;
}

.home-slider .caption .section-btn {
  animation: fadeInUp 1s ease 0.3s backwards;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(40px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ============================================
   SECTIONS - MODERN STYLING
============================================== */
section {
  padding: 100px 0;
  position: relative;
}

.section-title {
  text-align: center;
  margin-bottom: 60px;
}

.section-title h2 {
  font-weight: 800;
  position: relative;
  display: inline-block;
  padding-bottom: 20px;
}

.section-title h2::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background: var(--primary-gradient);
  border-radius: var(--radius-full);
}

.section-title small {
  display: block;
  margin-top: 15px;
  font-size: 18px;
  color: var(--gray-500);
  font-weight: 400;
}

/* ============================================
   KEY BENEFITS SECTION
============================================== */
.key-benefits {
  background: var(--white);
  padding: 40px;
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-lg);
  margin-top: -50px;
  position: relative;
  z-index: 10;
}

.key-benefits h4 {
  color: var(--secondary);
  font-weight: 700;
  font-size: 22px;
  margin-bottom: 20px;
}

.key-benefits-divider {
  width: 60px;
  border: none;
  border-top: 3px solid var(--primary);
  margin: 0 auto 20px;
}

.benefit-item {
  display: inline-flex;
  align-items: center;
  padding: 10px 22px;
  margin: 6px;
  background: var(--gray-50);
  border-radius: var(--radius-full);
  font-weight: 600;
  font-size: 15px;
  color: var(--gray-700);
  transition: var(--transition);
}

.benefit-item:hover {
  background: var(--primary);
  color: var(--white);
  transform: translateY(-2px);
}

.benefit-item i {
  color: var(--primary);
  margin-right: 8px;
  transition: var(--transition);
}

.benefit-item:hover i {
  color: var(--white);
}

/* ============================================
   ABOUT SECTION
============================================== */
#aboutus {
  background: var(--gray-50);
}

#aboutus h1 {
  font-weight: 800;
  position: relative;
  padding-bottom: 20px;
  margin-bottom: 30px;
}

#aboutus h1::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 80px;
  height: 4px;
  background: var(--primary-gradient);
  border-radius: var(--radius-full);
}

#aboutus p {
  font-size: 17px;
  line-height: 1.9;
}

#aboutus img {
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-xl);
  transition: var(--transition-slow);
}

#aboutus img:hover {
  transform: scale(1.02);
}

/* ============================================
   APARTMENT CARDS - MODERN DESIGN
============================================== */
.courses-thumb {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: var(--transition);
  border: 1px solid var(--gray-100);
}

.courses-thumb:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-xl);
}

.courses-thumb .courses-image {
  position: relative;
  overflow: hidden;
}

.courses-thumb .courses-image img {
  transition: var(--transition-slow);
  width: 100%;
  height: 220px;
  object-fit: cover;
}

.courses-thumb:hover .courses-image img {
  transform: scale(1.1);
}

.courses-thumb .courses-image::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    to bottom,
    transparent 50%,
    rgba(0, 0, 0, 0.5) 100%
  );
  opacity: 0;
  transition: var(--transition);
}

.courses-thumb:hover .courses-image::after {
  opacity: 1;
}

.courses-detail {
  padding: 25px;
}

.courses-detail h3 {
  font-weight: 700;
  font-size: 22px;
  margin-bottom: 10px;
  transition: var(--transition);
}

.courses-detail h3 a {
  color: var(--secondary);
}

.courses-detail h3 a:hover {
  color: var(--primary);
}

.courses-detail .text-danger {
  background: linear-gradient(
    135deg,
    var(--primary) 0%,
    var(--primary-dark) 100%
  );
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.courses-detail .lead strong {
  font-size: 26px;
}

.courses-detail p {
  font-size: 15px;
}

.courses-info {
  padding: 20px 25px;
  border-top: 1px solid var(--gray-100);
}

.courses-info .btn {
  padding: 12px 25px;
  font-size: 14px;
}

/* ============================================
   GALLERY SECTION
============================================== */
#gallery {
  padding: 100px 0;
  background: var(--white);
}

#gallery h1 {
  text-align: center;
  font-weight: 800;
  margin-bottom: 50px;
  position: relative;
  padding-bottom: 20px;
}

#gallery h1::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background: var(--primary-gradient);
  border-radius: var(--radius-full);
}

#gallery .gallery-item {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-lg);
  margin-bottom: 30px;
  cursor: pointer;
}

#gallery img {
  width: 100%;
  height: 280px;
  object-fit: cover;
  transition: var(--transition-slow);
  border-radius: var(--radius-lg);
}

#gallery .gallery-item:hover img,
#gallery img:hover {
  transform: scale(1.1);
}

#gallery .gallery-item::after {
  content: "\f00e";
  font-family: FontAwesome;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(0);
  background: var(--primary);
  color: var(--white);
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
  opacity: 0;
}

#gallery .gallery-item:hover::after {
  transform: translate(-50%, -50%) scale(1);
  opacity: 1;
}

/* ============================================
   LIGHTBOX MODAL
============================================== */
.lightbox-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.95);
  z-index: 9999;
  display: none;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.lightbox-overlay.active {
  display: flex;
  opacity: 1;
}

.lightbox-content {
  position: relative;
  max-width: 90%;
  max-height: 90%;
  animation: lightboxZoomIn 0.3s ease;
}

@keyframes lightboxZoomIn {
  from {
    transform: scale(0.8);
    opacity: 0;
  }
  to {
    transform: scale(1);
    opacity: 1;
  }
}

.lightbox-content img {
  max-width: 100%;
  max-height: 85vh;
  object-fit: contain;
  border-radius: var(--radius-lg);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}

.lightbox-close {
  position: absolute;
  top: -50px;
  right: 0;
  background: var(--primary);
  color: var(--white);
  border: none;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  font-size: 20px;
  cursor: pointer;
  transition: var(--transition);
  display: flex;
  align-items: center;
  justify-content: center;
}

.lightbox-close:hover {
  background: var(--primary-dark);
  transform: rotate(90deg);
}

.lightbox-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255, 255, 255, 0.2);
  color: var(--white);
  border: none;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  font-size: 24px;
  cursor: pointer;
  transition: var(--transition);
  display: flex;
  align-items: center;
  justify-content: center;
}

.lightbox-nav:hover {
  background: var(--primary);
}

.lightbox-prev {
  left: -80px;
}

.lightbox-next {
  right: -80px;
}

@media (max-width: 768px) {
  .lightbox-nav {
    width: 40px;
    height: 40px;
    font-size: 18px;
  }

  .lightbox-prev {
    left: -50px;
  }

  .lightbox-next {
    right: -50px;
  }

  .lightbox-close {
    top: -45px;
    width: 35px;
    height: 35px;
  }
}

/* ============================================
   TESTIMONIAL / IMAGE CAROUSEL
============================================== */
#testimonial {
  background: var(--gray-50);
}

#testimonial .item img {
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  transition: var(--transition);
}

#testimonial .item:hover img {
  box-shadow: var(--shadow-xl);
}

/* ============================================
   VIDEO SECTION
============================================== */
#videos {
  background: linear-gradient(
    135deg,
    var(--secondary) 0%,
    var(--secondary-dark) 100%
  );
  padding: 100px 0;
}

#videos h1 {
  color: var(--white);
  font-weight: 800;
  margin-bottom: 40px;
}

#videos iframe {
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-xl);
}

/* ============================================
   CONTACT SECTION
============================================== */
#contact {
  background: var(--primary-gradient);
  position: relative;
  overflow: hidden;
}

#contact::before {
  content: "";
  position: absolute;
  top: -50%;
  right: -10%;
  width: 500px;
  height: 500px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 50%;
}

#contact::after {
  content: "";
  position: absolute;
  bottom: -30%;
  left: -10%;
  width: 400px;
  height: 400px;
  background: rgba(255, 255, 255, 0.03);
  border-radius: 50%;
}

#contact h2 {
  color: var(--white);
  font-weight: 700;
}

#contact small {
  color: rgba(255, 255, 255, 0.8);
}

#contact-form .form-control {
  background: var(--white);
  border: none;
  border-radius: var(--radius-md);
  padding: 18px 20px;
  font-size: 16px;
  transition: var(--transition);
  box-shadow: var(--shadow-sm);
}

#contact-form .form-control:focus {
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

#contact-form input[type="submit"] {
  background: var(--secondary);
  color: var(--white);
  border: none;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  padding: 18px 40px;
  border-radius: var(--radius-full);
  cursor: pointer;
  transition: var(--transition);
}

#contact-form input[type="submit"]:hover {
  background: var(--secondary-dark);
  transform: translateY(-3px);
  box-shadow: var(--shadow-lg);
}

#contact .contact-image iframe {
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-xl);
}

/* ============================================
   FOOTER - MODERN DESIGN
============================================== */
footer {
  background: var(--secondary-dark);
  padding: 80px 0 40px;
  position: relative;
}

footer::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: var(--primary-gradient);
}

footer h2 {
  color: var(--white);
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 25px;
  position: relative;
  padding-bottom: 15px;
}

footer h2::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 40px;
  height: 3px;
  background: var(--primary);
  border-radius: var(--radius-full);
}

footer p,
footer address p {
  color: var(--gray-400);
  font-size: 15px;
  line-height: 1.8;
}

footer a {
  color: var(--gray-400);
  font-size: 15px;
  transition: var(--transition);
}

footer a:hover {
  color: var(--primary);
}

footer .social-icon {
  margin-top: 30px;
}

footer .social-icon li a {
  background: rgba(255, 255, 255, 0.1);
  color: var(--white);
  width: 45px;
  height: 45px;
  line-height: 45px;
  font-size: 18px;
  border-radius: var(--radius);
  transition: var(--transition);
}

footer .social-icon li a:hover {
  background: var(--primary);
  transform: translateY(-5px);
}

.footer_menu ul {
  padding: 0;
}

.footer_menu li {
  margin: 8px 15px 8px 0;
}

.footer_menu li a {
  display: inline-block;
  padding: 5px 0;
  position: relative;
}

.footer_menu li a::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--primary);
  transition: var(--transition);
}

.footer_menu li a:hover::after {
  width: 100%;
}

.newsletter-form .form-control {
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: var(--white);
  border-radius: var(--radius-md);
  padding: 15px 20px;
}

.newsletter-form .form-control::placeholder {
  color: var(--gray-400);
}

.newsletter-form .form-control:focus {
  border-color: var(--primary);
  background: rgba(255, 255, 255, 0.15);
}

.newsletter-form input[type="submit"] {
  background: var(--primary-gradient);
  border: none;
  font-weight: 600;
  padding: 15px 30px;
}

.newsletter-form input[type="submit"]:hover {
  background: var(--primary-dark);
  transform: translateY(-3px);
}

.copyright-text {
  margin-top: 30px;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.copyright-text p {
  font-size: 14px;
  color: var(--gray-500);
}

/* ============================================
   WHATSAPP FLOATING BUTTON
============================================== */
.float {
  position: fixed;
  width: 65px;
  height: 65px;
  bottom: 30px;
  right: 30px;
  background: linear-gradient(135deg, #25d366 0%, #128c7e 100%);
  color: var(--white) !important;
  border-radius: 50%;
  text-align: center;
  font-size: 32px;
  box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
  z-index: 1000;
  transition: var(--transition);
  display: flex;
  align-items: center;
  justify-content: center;
}

.float:hover {
  transform: scale(1.1) rotate(10deg);
  box-shadow: 0 6px 30px rgba(37, 211, 102, 0.6);
  color: var(--white);
}

.float i.my-float {
  margin: 0;
  font-size: 32px;
}

/* Pulse animation */
.float::before {
  content: "";
  position: absolute;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background: inherit;
  animation: pulse 2s infinite;
  z-index: -1;
}

@keyframes pulse {
  0% {
    transform: scale(1);
    opacity: 0.7;
  }
  70% {
    transform: scale(1.3);
    opacity: 0;
  }
  100% {
    transform: scale(1);
    opacity: 0;
  }
}

/* ============================================
   SCROLL ANIMATIONS
============================================== */
.fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition:
    opacity 0.6s ease,
    transform 0.6s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

.fade-in-left {
  opacity: 0;
  transform: translateX(-50px);
  transition:
    opacity 0.6s ease,
    transform 0.6s ease;
}

.fade-in-left.visible {
  opacity: 1;
  transform: translateX(0);
}

.fade-in-right {
  opacity: 0;
  transform: translateX(50px);
  transition:
    opacity 0.6s ease,
    transform 0.6s ease;
}

.fade-in-right.visible {
  opacity: 1;
  transform: translateX(0);
}

.scale-in {
  opacity: 0;
  transform: scale(0.9);
  transition:
    opacity 0.6s ease,
    transform 0.6s ease;
}

.scale-in.visible {
  opacity: 1;
  transform: scale(1);
}

/* Staggered animations for cards */
.stagger-1 {
  transition-delay: 0.1s;
}
.stagger-2 {
  transition-delay: 0.2s;
}
.stagger-3 {
  transition-delay: 0.3s;
}
.stagger-4 {
  transition-delay: 0.4s;
}
.stagger-5 {
  transition-delay: 0.5s;
}
.stagger-6 {
  transition-delay: 0.6s;
}

/* ============================================
   PROPERTY DETAILS PAGE
============================================== */
.property-header {
  background: var(--gray-50);
  padding: 40px 0;
  margin-bottom: 40px;
}

.property-main-image {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.property-main-image img {
  width: 100%;
  height: auto;
  transition: var(--transition-slow);
}

.property-main-image:hover img {
  transform: scale(1.02);
}

.property-gallery-thumb {
  border-radius: var(--radius);
  overflow: hidden;
  margin-bottom: 15px;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  cursor: pointer;
}

.property-gallery-thumb:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-3px);
}

.property-gallery-thumb img {
  width: 100%;
  height: 100px;
  object-fit: cover;
}

.property-info {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 30px;
  box-shadow: var(--shadow);
}

.property-info h2 {
  font-weight: 800;
  margin-bottom: 15px;
}

.property-price {
  font-size: 32px;
  font-weight: 800;
  background: linear-gradient(
    135deg,
    var(--primary) 0%,
    var(--primary-dark) 100%
  );
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.property-location {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--gray-600);
  font-size: 16px;
  margin: 15px 0;
}

.property-location i {
  color: var(--primary);
}

.property-features {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 20px;
}

.feature-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 16px;
  background: var(--gray-100);
  border-radius: var(--radius-full);
  font-size: 14px;
  font-weight: 500;
  color: var(--gray-700);
  transition: var(--transition);
}

.feature-badge:hover {
  background: var(--primary);
  color: var(--white);
}

.feature-badge i {
  color: var(--primary);
}

.feature-badge:hover i {
  color: var(--white);
}

/* Panel Modern Style */
.panel {
  border: none;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  overflow: hidden;
  margin-bottom: 30px;
}

.panel-heading {
  background: var(--gray-50) !important;
  border-bottom: 1px solid var(--gray-100);
  padding: 20px 25px;
}

.panel-heading h4 {
  margin: 0;
  font-weight: 700;
  font-size: 20px;
  color: var(--secondary);
}

.panel-body {
  padding: 25px;
}

.panel-body p {
  font-size: 16px;
}

.panel-body video {
  width: 100%;
  border-radius: var(--radius);
  margin-top: 20px;
}

/* Contact Details Card */
.contact-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 25px;
  box-shadow: var(--shadow);
}

.contact-card p {
  margin-bottom: 15px;
}

.contact-card span {
  font-size: 13px;
  color: var(--gray-500);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.contact-card strong {
  font-size: 16px;
  color: var(--secondary);
}

/* ============================================
   PAGE HEADERS
============================================== */
.page-header {
  background: linear-gradient(
    135deg,
    var(--secondary) 0%,
    var(--secondary-dark) 100%
  );
  padding: 80px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.page-header::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.page-header h1 {
  color: var(--white);
  font-weight: 800;
  font-size: 42px;
  margin-bottom: 15px;
  position: relative;
}

.page-header .lead {
  color: rgba(255, 255, 255, 0.8);
  font-size: 20px;
  position: relative;
}

/* ============================================
   RESPONSIVE DESIGN
============================================== */
@media (max-width: 1200px) {
  .custom-navbar .navbar-nav.navbar-nav-first {
    margin-left: 2em;
  }

  .custom-navbar .nav li a {
    padding: 25px 15px !important;
  }
}

@media (max-width: 991px) {
  section {
    padding: 60px 0;
  }

  .home-slider .item,
  .home-slider .caption {
    height: 80vh;
    min-height: 500px;
  }

  .key-benefits {
    margin-top: 0;
    margin-bottom: 30px;
  }

  #aboutus .col-md-6:first-child {
    margin-bottom: 40px;
  }

  #gallery img {
    height: 200px;
  }

  footer {
    padding: 60px 0 30px;
  }
}

@media (max-width: 767px) {
  .custom-navbar {
    padding: 10px 0;
  }

  .custom-navbar .navbar-brand {
    font-size: 20px !important;
  }

  .custom-navbar .nav li a {
    padding: 15px 20px !important;
    font-size: 15px !important;
    border-bottom: 1px solid var(--gray-100);
  }

  .custom-navbar .nav li a::after {
    display: none;
  }

  .home-slider .item,
  .home-slider .caption {
    height: 70vh;
    min-height: 450px;
  }

  .home-slider .caption {
    text-align: center;
    padding: 0 20px;
  }

  .home-slider .caption h1 {
    font-size: 32px;
  }

  .section-title {
    margin-bottom: 40px;
  }

  .section-title h2 {
    font-size: 28px;
  }

  .courses-thumb {
    margin-bottom: 20px;
  }

  .courses-thumb .courses-image img {
    height: 180px;
  }

  #contact-form .col-md-4 {
    padding-left: 15px;
    padding-right: 15px;
  }

  .float {
    width: 55px;
    height: 55px;
    font-size: 26px;
    bottom: 20px;
    right: 20px;
  }

  .float i.my-float {
    font-size: 26px;
  }

  footer .footer-info {
    margin-bottom: 40px;
  }
}

@media (max-width: 480px) {
  body {
    padding-top: 60px;
  }

  .home-slider .caption h1 {
    font-size: 26px;
  }

  .section-btn {
    padding: 12px 25px;
    font-size: 14px;
  }

  .btn {
    padding: 12px 24px;
    font-size: 14px;
  }

  .benefit-item {
    font-size: 13px;
    padding: 6px 14px;
  }

  #gallery img {
    height: 160px;
  }
}

/* ============================================
   UTILITY CLASSES
============================================== */
.text-gradient {
  background: var(--primary-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.bg-gradient-primary {
  background: var(--primary-gradient);
}

.bg-gradient-dark {
  background: linear-gradient(
    135deg,
    var(--secondary) 0%,
    var(--secondary-dark) 100%
  );
}

.rounded-modern {
  border-radius: var(--radius-lg);
}

.shadow-modern {
  box-shadow: var(--shadow-lg);
}

.hover-lift {
  transition: var(--transition);
}

.hover-lift:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
}

/* Hide scrollbar for carousel on touch devices */
.owl-carousel {
  -webkit-tap-highlight-color: transparent;
}

/* Smooth image loading */
img {
  opacity: 1;
  transition: opacity 0.3s ease;
}

img[data-src] {
  opacity: 0;
}

/* Print styles */
@media print {
  .float,
  .preloader,
  .navbar {
    display: none !important;
  }
}
