:root{
  --primary:#005096;
  --accent:#FA8C00;
  --light:#ffffff;
  --muted:#eef6fd;
  --text:#1e1e1e;
  --sky:#32B4FA;
}

*{margin:0;padding:0;box-sizing:border-box}
body{
  font-family:Poppins,system-ui,sans-serif;
  color:var(--text);
  background:#fff;
}
a{text-decoration:none;color:inherit}
img{display:block;max-width:100%}

.container{max-width:1200px;margin:auto}

h2{
  color: #FA8C00;
}

/* Top Bar */
.top-bar{
  background:var(--primary);
  color:#fff;
  font-size:13px
}
.top-bar .container{
  display:flex;justify-content:flex-end;gap:20px;padding:8px 40px
}

/* Header */
.header {
  margin-top: 70px; /* same as top-bar height */
  background: #fff;
  z-index: 100;
}


:root {
  --topbar-h: 70px;
  --header-h: 64px;
}

.top-bar .schedule-btn {
  white-space: nowrap;       /* prevents wrapping */
  padding: 10px 16px;
  border-radius: 999px;
  font-size: 14px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.top-bar > * {
  flex-shrink: 0;
}

/* Header Navigation */
.nav {
  height: 80px;                 /* ← CONTROL NAV HEIGHT HERE */
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 40px;   
}

.logo,
.logo a,
.logo img {
  margin: 0;
  padding: 0;
  line-height: 0;
}

.logo {
  height: 100%;
  display: flex;
  align-items: center;
}

.logo img {
  max-height: 70px;             /* MUST be smaller than nav height */
  width: auto;
  object-fit: contain;
  display: block;
}



/* Center the menu items */
.menu {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 28px;
  list-style: none;
}

/* Menu Hover Effect */
.menu li a {
  position: relative;
  transition: color 0.3s ease;
}

.menu li a:hover {
  color: var(--accent); /* Orange color #F16D34 */
}

.menu li a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -4px; /* slightly below the text */
  width: 0;
  height: 3px;
  background: var(--accent);
  transition: width 0.3s ease;
}

.menu li a:hover::after {
  width: 100%;
}


/* About Us Hero */
.hero.about-hero {
  height:50vh; /* smaller height */
  display:flex;
  align-items:center;
  justify-content:center;
  position:relative;
  text-align:center;
  color:#fff;
  padding:0 20px;
}

.hero.about-hero::before {
  content:"";
  position:absolute; inset:0;
  background:url('/images/hero2.jpg') center/cover no-repeat;
  opacity:0.6; /* lighter overlay */
}

.hero.about-hero::after {
  content:"";
  position:absolute; inset:0;
  background:rgba(22,30,84,0.4); /* subtle overlay using your primary color */
}

.hero.about-hero .hero-content {
  position:relative;
  z-index:2;
}

.about-hero ~ .section {
  opacity:1 !important;
  transform:none !important;
}

.tiles .tile .overlay {
  background: linear-gradient(180deg, transparent, rgba(22,30,84,0.85));
}

/* Section Animations */
.fade-slide {
  opacity: 0;
  transform: translateY(40px);
  transition: all 1s ease-out;
}

.fade-slide.visible {
  opacity: 1;
  transform: translateY(0);
}

.section h2 {
  color: var(--primary);
  font-size: 32px;
  margin-bottom: 16px;
  position: relative;
}

.section h2::after {
  content: '';
  width: 60px;
  height: 4px;
  background: var(--accent);
  display: block;
  margin: 8px auto 0;
  border-radius: 2px;
}

.section p {
  font-size: 18px;
  line-height: 1.6;
  color: #333;
  max-width: 800px;
  margin: 0 auto 30px;
  text-align: center;
}

/* Cards for Mission / Vision */
.card {
  background: var(--light);
  padding: 24px;
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(0,0,0,.08);
  transition: all 0.3s ease;
  margin: 20px auto;
  max-width: 500px;
}

.card:hover {
  transform: translateY(-8px) scale(1.02);
  box-shadow: 0 15px 35px rgba(0,0,0,.12);
}

/* About Tegula Section */
#about-tegula p {
  font-size: 18px;
  line-height: 1.8;
  color: #333;
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
}
#about-tegula h2 {
  color: var(--primary);
  font-size: 34px;
  margin-bottom: 20px;
  position: relative;
}
#about-tegula h2::after {
  content: '';
  width: 80px;
  height: 4px;
  background: var(--accent);
  display: block;
  margin: 10px auto 0;
  border-radius: 2px;
}
.about-text {
  max-width: 900px;
  margin: 0 auto 24px;
  font-size: 16px;
  line-height: 1.8;
  color: #333;
}

.highlight {
  color: var(--accent); /* #F16D34 */
  font-weight: 600;
}



/* Scroll reveal for JS */
@media (prefers-reduced-motion: no-preference) {
  .fade-slide { will-change: opacity, transform; }
}




/* Contact Button */
.contact-btn {
  display: flex;
  align-items: center;
  gap: 8px;
  background: var(--accent);
  color: #000;
  font-weight: 600;
  padding: 10px 18px;
  border-radius: 30px;
  text-decoration: none;
  box-shadow: 0 5px 15px rgba(0,0,0,.2);
  transition: transform .3s, box-shadow .3s;
}

.contact-btn img {
  width: 20px;
  height: 20px;
}

.contact-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(0,0,0,.3);
}

/* Desktop alignment */
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: relative;
}

/* Keep menu centered */
.menu {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 28px;
  list-style: none;
}

/* Mobile adjustments */
@media(max-width:900px){
  .contact-btn {
    display: none; /* hide on mobile if necessary */
  }
}

/* Floating WhatsApp Button */
.whatsapp-float {
  position: fixed;
  bottom: 20px;
  right: 20px;
  width: 60px;
  height: 60px;
  background: #25D366; /* WhatsApp green */
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 20px rgba(0,0,0,0.3);
  z-index: 999;
  transition: transform 0.3s, box-shadow 0.3s;
}

.whatsapp-float img {
  width: 32px;
  height: 32px;
}

.whatsapp-float:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 25px rgba(0,0,0,0.4);
}

/* ================= CONTACT PAGE STYLES ================= */

/* Office Card */
.service-card {
  background: #fff;
  padding: 32px 28px;
  border-radius: 18px;
  box-shadow: 0 12px 30px rgba(0,0,0,0.08);
  transition: transform .3s ease, box-shadow .3s ease;
}

.service-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 18px 40px rgba(0,0,0,0.12);
}

.service-card h3 {
  color: var(--primary);
  font-size: 22px;
  margin-bottom: 16px;
}

.service-card p {
  font-size: 15px;
  line-height: 1.7;
  color: #444;
}

.service-card p strong {
  color: var(--primary);
}

/* Contact Form */
.contact-form {
  margin-top: 10px;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 14px 16px;
  border-radius: 12px;
  border: 1px solid #ddd;
  font-family: inherit;
  font-size: 14px;
  outline: none;
  transition: border .25s ease, box-shadow .25s ease;
}

.contact-form input:focus,
.contact-form textarea:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(241,109,52,0.15);
}

.contact-form textarea {
  resize: vertical;
}

.contact-form button {
  background: linear-gradient(135deg, var(--accent), #ff8b5c);
  color: #000;
  border: none;
  padding: 14px 36px;
  border-radius: 40px;
  font-weight: 600;
  letter-spacing: .4px;
  cursor: pointer;
  transition: transform .25s ease, box-shadow .25s ease;
}

.contact-form button:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 25px rgba(0,0,0,.18);
}

/* VALUES SECTION */
/* VALUES SECTION */
.values-section {
  background: #f8f9fc;
  width: 100%;
}

.values-intro {
  max-width: 800px;
  margin: 0 auto 50px;
  font-size: 16px;
  color: #555;
}

/* Grid */
.values-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 30px;
}

/* Cards */
.value-card {
  background: #ffffff;
  padding: 32px;
  border-radius: 14px;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.08);
  border-top: 4px solid var(--accent);
  opacity: 1;
  visibility: visible;
}

.value-card h3 {
  color: var(--primary);
  margin-bottom: 12px;
  font-size: 20px;
}

.value-card p {
  color: #444;
  font-size: 15px;
  line-height: 1.6;
}

/* Hover effect (professional, subtle) */
.value-card:hover {
  transform: translateY(-6px);
  transition: 0.3s ease;
}

/* PAGE HERO */
.page-hero {
  height: 60vh;
  background: linear-gradient(
      rgba(22, 30, 84, 0.85),
      rgba(22, 30, 84, 0.85)
    ),
    url("https://images.unsplash.com/photo-1501183638710-841dd1904471?q=80&w=1920")
      center / cover no-repeat;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: #fff;
}

.page-hero-content {
  max-width: 900px;
  padding: 20px;
}

.page-hero h1 {
  font-size: clamp(42px, 6vw, 72px);
  font-weight: 800;
  letter-spacing: 1px;
  margin-bottom: 12px;
  text-transform: uppercase;
}

.page-hero h1 span {
  color: var(--accent); /* Orange highlight */
}

.page-hero p {
  font-size: 18px;
  opacity: 0.95;
  font-weight: 400;
}
.reveal:not(.visible) {
  opacity: 1;
  transform: none;
}


/* Mobile */
@media (max-width: 768px) {
  .page-hero {
    height: 50vh;
  }

  .page-hero h1 {
    font-size: 36px;
  }

  .page-hero p {
    font-size: 16px;
  }
}



/* Responsive */
@media (max-width: 768px) {
  .grid-3 {
    grid-template-columns: 1fr;
  }

  .service-card[style*="grid-column"] {
    grid-column: auto !important;
  }
}

/* Active Menu Link */
.menu a.active {
  color: var(--accent);
}

.menu a.active::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -4px;
  width: 100%;
  height: 3px;
  background: var(--accent);
}




.logo{font-weight:700;font-size:22px;color:var(--primary)}

.menu{display:flex;gap:28px;list-style:none}
.menu li{position:relative}
.menu a{font-weight:500;padding:8px 2px;display:block}



/* Mega Menu */
.mega{
  position:absolute;left:0;top:100%;
  width:600px;background:var(--primary);color:#fff;
  padding:30px;display:grid;grid-template-columns:1fr 1fr;gap:30px;
  opacity:0;transform:translateY(10px);
  pointer-events:none;transition:.3s
}
.has-mega:hover .mega{
  opacity:1;transform:translateY(0);pointer-events:auto
}
.mega h4{margin-bottom:10px;color:var(--accent)}
.mega a{display:block;margin:6px 0;font-size:14px;color:#fff;opacity:.9}

/* Hero */
.hero-carousel {
  position: relative;
  height: 80vh;
  overflow: hidden;
}

.carousel-slides {
  position: relative;
  width: 100%;
  height: 100%;
}

.hero-slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transform: scale(1.05);
  transition: opacity 5s ease, transform 5s ease;
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero-slide.active {
  opacity: 1;
  transform: scale(1);
}

.hero-slide::after {
  content: "";
  position: absolute;
  inset: 0;
 
}
/* Hero Text Animation */
.hero-content h1{
   opacity: 0;
  transform: translateY(40px);
  transition: all 1s ease;
  font-size: 40px;
}
.hero-content p {
  opacity: 0;
  transform: translateY(40px);
  transition: all 1s ease;
  font-size: 20px;
  
}

/* When slide is active, show text */
.hero-slide.active .hero-content h1 {
  opacity: 1;
  transform: translateY(0);
  color: var(--accent); /* Accent color for headings */
}

.hero-slide.active .hero-content p {
  opacity: 1;
  transform: translateY(0);
  color: var(--sky); /* Sky color for paragraph */
}

/* Optionally add delay to paragraph for stagger effect */
.hero-slide.active .hero-content p {
  transition-delay: 0.3s;
}

/* Search box fade in with text */
.hero-slide.active .search-box {
  opacity: 1;
  transform: translateY(0);
  transition: all 1s ease 0.6s;
}

.search-box {
  opacity: 0;
  transform: translateY(20px);
}


.hero-controls {
  position: absolute;
  width: 100%;
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  justify-content: space-between;
  padding: 0 40px;
  z-index: 10;
}

.hero-controls button {
  background: transparent;
  border: none;
  color: #000;
  font-size: 32px;
  padding: 10px 16px;
  border-radius: 50%;
  cursor: pointer;
  opacity: 0.8;
  transition: opacity 0.3s;
}

.hero-controls button:hover {
  opacity: 1;
}

@media (max-width: 900px) {
  .hero-content h1 { font-size: 34px; }
  .hero-content p { font-size: 16px; }
  .hero-controls { padding: 0 20px; }
}


/* Search */
.search-box{
  background:#fff;box-shadow:0 30px 60px rgba(0,0,0,.15);
  border-radius:6px;margin-top:30px;
  display:flex;overflow:hidden;max-width:720px;width:100%
}
.search-box input{
  flex:1;padding:16px;border:none;outline:none;font-size:15px
}
.search-box button{
  padding:0 28px;border:none;background:var(--accent);
  color:#000;font-weight:600;cursor:pointer
}

/* Sections */
.section{padding:90px 40px}
.muted{background:var(--muted)}
.center{text-align:center;margin-bottom:30px}

/* Call to Action Button */
.cta-container {
  text-align: center;
  margin-top: 40px;
}

.cta-button {
  display: inline-block;
  padding: 16px 36px;
  background: var(--accent); /* F16D34 */
  color: #000;
  font-weight: 600;
  font-size: 18px;
  border-radius: 30px;
  box-shadow: 0 10px 20px rgba(0,0,0,0.15);
  transition: all 0.3s ease;
  text-decoration: none;
}

.cta-button:hover {
  transform: translateY(-3px);
  box-shadow: 0 15px 25px rgba(0,0,0,0.2);
}


/* Tiles */
.tiles{
  display:grid;grid-template-columns:repeat(auto-fit,minmax(280px,1fr));
  gap:30px
}
.tile{position:relative;overflow:hidden;border-radius:10px;cursor:pointer}
.tile img{width:100%;height:360px;object-fit:cover;transition:.6s}
.tile:hover img{transform:scale(1.08)}
.tile .overlay{
  position:absolute;inset:0;
  background:linear-gradient(180deg,transparent,rgba(22,30,84,.85));
  display:flex;align-items:flex-end;padding:24px;color:#fff
}

/* Grids */
.grid-4,.grid-3{display:grid;gap:24px}
.grid-4{grid-template-columns:repeat(auto-fit,minmax(220px,1fr))}
.grid-3{grid-template-columns:repeat(auto-fit,minmax(260px,1fr))}

.service-card,.insight,.report{
  background:#fff;padding:30px;border-radius:10px;
  box-shadow:0 10px 30px rgba(0,0,0,.08);
  transition:.3s
}
.service-card:hover,.insight:hover,.report:hover{
  transform:translateY(-6px)
}

/* Carousel */
.carousel{overflow:hidden}
.track{display:flex;transition:transform .6s ease}
.card{
  min-width:320px;margin-right:20px;background:#fff;border-radius:8px;
  box-shadow:0 10px 30px rgba(0,0,0,.08);overflow:hidden
}
.card img{height:200px;width:100%;object-fit:cover}
.card .info{padding:16px}
.controls{
  display:flex;justify-content:center;gap:10px;margin-top:20px
}
.controls button{
  width:42px;height:42px;border-radius:50%;
  border:none;background:var(--primary);color:#fff;cursor:pointer
}

/* Footer */
/* Footer */
footer {
  background: var(--primary); /* #161E54 */
  color: #fff;
  padding: 60px 40px 30px;
  font-size: 15px;
}

.footer-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  max-width: 1200px;
  margin: auto;
  gap: 30px;
}

.footer-about h3 {
  font-size: 24px;
  color: var(--accent); /* #F16D34 */
  margin-bottom: 12px;
}

.footer-about p {
  max-width: 320px;
  line-height: 1.6;
}

.footer-links h4,
.footer-social h4 {
  font-size: 18px;
  color: var(--sky); /* #77BEF0 */
  margin-bottom: 12px;
}

.footer-links ul {
  list-style: none;
  padding: 0;
}

.footer-links li {
  margin-bottom: 10px;
}

.footer-links a {
  color: #fff;
  opacity: 0.85;
  transition: all 0.3s ease;
}

.footer-links a:hover {
  color: var(--accent);
  opacity: 1;
}

.footer-social .social-icons {
  display: flex;
  gap: 15px;
}

.footer-social a {
  background: var(--accent);
  color: #000;
  padding: 8px 14px;
  border-radius: 6px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
}

.footer-social a:hover {
  background: var(--sky);
  color: #000;
}

.footer-bottom {
  text-align: center;
  margin-top: 40px;
  border-top: 1px solid rgba(255,255,255,0.2);
  padding-top: 20px;
  font-size: 14px;
  opacity: 0.8;
}


/* Testimonials */
.testimonial-carousel {
  overflow: hidden;
  margin-top: 40px;
}

.testimonial-track {
  display: flex;
  transition: transform 0.5s ease;
  gap: 20px;
}

.testimonial-card {
  min-width: 300px;
  max-width: 400px;
  background: var(--primary);
  color: #fff;
  border-radius: 12px;
  padding: 30px;
  box-shadow: 0 10px 25px rgba(0,0,0,.1);
  flex-shrink: 0;
  text-align: center;
  position: relative;
}

.testimonial-card h4 {
  margin-top: 15px;
  font-weight: 600;
  color: var(--accent);
}

.testimonial-controls {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 20px;
}

.testimonial-controls button {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: none;
  background: var(--primary);
  color: #fff;
  cursor: pointer;
  font-size: 18px;
}

@media(max-width:900px){
  .testimonial-card {min-width: 260px;}
}


/* Mobile Footer */
@media(max-width:900px){
  .footer-container {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .footer-about p {
    max-width: 100%;
  }

  .footer-links ul {
    display: inline-block;
    padding: 0;
  }

  .footer-social .social-icons {
    justify-content: center;
  }
}
/* PROJECTS PAGE */
.project-card {
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 12px 30px rgba(0,0,0,0.08);
  overflow: hidden;
  transition: transform 0.3s ease;
}

.project-card:hover {
  transform: translateY(-6px);
}

.project-card img {
  width: 100%;
  height: 220px;
  object-fit: cover;
}

.project-card .content {
  padding: 20px;
}

.project-card h3 {
  color: var(--primary);
  margin-bottom: 8px;
}

.project-card p {
  font-size: 14px;
  color: #444;
}

.badge {
  display: inline-block;
  padding: 4px 10px;
  font-size: 12px;
  border-radius: 20px;
  margin-bottom: 10px;
  font-weight: 600;
}

.badge.sale { background: #eaf4ff; color: #005096; }
.badge.rent { background: #fff4e5; color: #fa8c00; }
.badge.completed { background: #e7f8ef; color: #1f7a4d; }

.client {
  margin-top: 12px;
  font-weight: 600;
  color: var(--accent);
}
/* ===== FILTER & SEARCH BAR ===== */
.project-controls {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  justify-content: space-between;
  align-items: center;
  margin: 30px 0 40px;
}

/* Search box */
.project-search {
  flex: 1;
  min-width: 260px;
  position: relative;
}

.project-search input {
  width: 100%;
  padding: 14px 18px;
  border-radius: 30px;
  border: 1px solid #ddd;
  font-size: 15px;
  outline: none;
  transition: all 0.3s ease;
}

.project-search input:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(241,109,52,0.15);
}

/* Filter buttons */
.project-filters {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.project-filters button {
  padding: 10px 20px;
  border-radius: 30px;
  border: 1px solid var(--primary);
  background: transparent;
  color: var(--primary);
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s ease;
}

.project-filters button:hover,
.project-filters button.active {
  background: var(--accent);
  color: #000;
  border-color: var(--accent);
}
/* ===== LOAD MORE BUTTON ===== */
.load-more-container {
  text-align: center;
  margin-top: 50px;
}

.load-more-btn {
  padding: 14px 36px;
  border-radius: 30px;
  background: var(--primary);
  color: #fff;
  font-weight: 600;
  font-size: 16px;
  border: none;
  cursor: pointer;
  box-shadow: 0 10px 25px rgba(0,0,0,0.15);
  transition: all 0.3s ease;
}

.load-more-btn:hover {
  background: var(--accent);
  color: #000;
  transform: translateY(-3px);
  box-shadow: 0 15px 30px rgba(0,0,0,0.2);
}
.project-controls {
  display: flex;
  gap: 15px;
  justify-content: center;
  align-items: center;
  margin: 30px auto 40px;
  flex-wrap: wrap;
}
.project-controls input[type="text"] {
  padding: 12px 15px;
  min-width: 260px;
  border-radius: 8px;
  border: 1px solid #ddd;
  font-family: 'Poppins', sans-serif;
  font-size: 14px;
  outline: none;
  transition: all 0.3s ease;
}

.project-controls input[type="text"]:focus {
  border-color: #FA8112;
  box-shadow: 0 0 0 2px rgba(250, 129, 18, 0.15);
}
.project-controls select {
  padding: 12px 15px;
  min-width: 180px;
  border-radius: 8px;
  border: 1px solid #ddd;
  font-family: 'Poppins', sans-serif;
  font-size: 14px;
  background: #fff;
  cursor: pointer;
  transition: all 0.3s ease;
}

.project-controls select:focus {
  border-color: #161E54;
  box-shadow: 0 0 0 2px rgba(22, 30, 84, 0.15);
}

.cta-btn {
  background: #FA8112;
  color: #fff;
  border: none;
  padding: 12px 35px;
  border-radius: 50px;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s ease;
}

.cta-btn:hover {
  background: #161E54;
  transform: translateY(-2px);
}

@media (max-width: 768px) {
  .project-controls {
    flex-direction: column;
    gap: 12px;
  }

  .project-controls input,
  .project-controls select {
    width: 100%;
    max-width: 350px;
  }
}
.news-card {
  background: #fff;
  padding: 30px;
  border-radius: 16px;
  box-shadow: 0 10px 25px rgba(0,0,0,0.08);
}

.news-badge {
  display: inline-block;
  background: #FA8112;
  color: #fff;
  padding: 6px 14px;
  font-size: 12px;
  font-weight: 600;
  border-radius: 20px;
  margin-bottom: 15px;
}

.testimonial-card {
  background: #fff;
  padding: 30px;
  border-radius: 16px;
  text-align: center;
  box-shadow: 0 10px 25px rgba(0,0,0,0.08);
}

.testimonial-card img {
  width: 90px;
  height: 90px;
  border-radius: 50%;
  object-fit: cover;
  margin-bottom: 15px;
}

.client-type {
  color: #FA8112;
  font-weight: 600;
  margin-bottom: 10px;
}


/* ===== News Page Specific ===== */
.badge {
  position: absolute;
  top: 16px;
  right: 16px;
  background: var(--accent);
  color: #fff;
  padding: 4px 10px;
  font-size: 12px;
  border-radius: 20px;
  font-weight: 600;
}

.client-img {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  object-fit: cover;
  margin-bottom: 15px;
}

/* Payment Plans Cards */
#paymentPlans .card {
  position: relative;
  background: #fff;
  border-radius: 16px;
  padding: 24px 20px;
  box-shadow: 0 8px 25px rgba(0,0,0,0.08);
  transition: transform 0.3s, box-shadow 0.3s;
  text-align: left;
}

#paymentPlans .card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 35px rgba(0,0,0,0.12);
}

#paymentPlans .card h3 {
  color: var(--primary);
  margin-bottom: 12px;
  font-size: 20px;
}

#paymentPlans .card p {
  font-size: 15px;
  line-height: 1.6;
  color: #444;
}

#paymentPlans .card .badge {
  position: absolute;
  top: 16px;
  right: 16px;
  background: var(--accent);
  color: #fff;
  font-size: 12px;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: 20px;
}

/* Happy Clients Carousel */
.testimonial-carousel {
  overflow: hidden;
  position: relative;
}

.testimonial-track {
  display: flex;
  gap: 20px;
  transition: transform 0.5s ease;
}

.testimonial-card {
  min-width: 300px;
  max-width: 350px;
  background: var(--primary);
  color: #fff;
  border-radius: 12px;
  padding: 24px;
  box-shadow: 0 10px 25px rgba(0,0,0,.1);
  flex-shrink: 0;
  text-align: center;
}

.testimonial-card img {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  object-fit: cover;
  margin-bottom: 12px;
  border: 3px solid var(--accent);
}

.testimonial-card h4 {
  margin-bottom: 8px;
  font-weight: 600;
  color: var(--accent);
}

.testimonial-card p {
  font-size: 14px;
  line-height: 1.6;
  color: #fff;
}

.testimonial-controls {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-top: 20px;
}

.testimonial-controls button {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: none;
  background: var(--primary);
  color: #fff;
  cursor: pointer;
  font-size: 22px;
  font-weight: bold;
}

@media(max-width:900px){
  .testimonial-card { min-width: 260px; }
}







/* Reveal */
/* Reveal — SAFE VERSION (does not hide content) */
.reveal {
  opacity: 1;
  transform: none;
  transition: 1s;
}

.reveal.visible {
  opacity: 1;
  transform: none;
}
/* === FORCE ABOUT CONTENT TO SHOW === */
.section.fade-slide {
  opacity: 1 !important;
  transform: none !important;
}


/* Mobile */
.hamburger{
  display:none;background:none;border:none;flex-direction:column;gap:6px
}
.hamburger span{
  width:26px;height:3px;background:var(--primary)
}

@media(max-width:900px){
  .menu{
    position:fixed;top:0;right:-100%;
    width:260px;height:100vh;background:#fff;
    flex-direction:column;padding:80px 20px;gap:20px;
    transition:.4s;box-shadow:-10px 0 30px rgba(0,0,0,.1)
  }
  .menu.open{right:0}
  .hamburger{display:flex}
  .mega{
    position:static;width:100%;opacity:1;transform:none;
    pointer-events:auto;background:var(--muted);color:var(--primary)
  }
  .hero h1{font-size:34px}
  .nav{padding:14px 20px}
  .section{padding:60px 20px}
}
/*  
@media(max-width:900px){
  .menu {
    position: fixed; /* still slides from right 
    top: 0;
    right: -100%;
    width: 260px;
    height: 100vh;
    flex-direction: column;
    padding: 80px 20px;
    gap: 20px;
    transition: .4s;
    box-shadow: -10px 0 30px rgba(0,0,0,.1);
    transform: none; /* remove centering on mobile 
  }
}

 */

 @media (max-width: 900px) {
  .menu {
    display: none;
    position: fixed;
    top: 70px; /* 🔑 BELOW top bar */
    right: 0;
    width: 260px;
    height: calc(100vh - 70px);
    background: #fff;
    flex-direction: column;
    padding: 40px 20px;
    gap: 20px;
    box-shadow: -10px 0 30px rgba(0,0,0,.1);
    z-index: 1000;
  }

  .menu.open {
    display: flex;
  }

  .hamburger {
    display: flex;
  }
}







.menu {
  display: flex;
  gap: 30px;
  list-style: none;
}
@media (max-width: 900px) {
  .menu {
    display: none;            /* 🔑 hide by default */
    position: fixed;
    top: 0;
    right: 0;
    width: 260px;
    height: 100vh;
    background: #fff;
    flex-direction: column;
    padding: 80px 20px;
    gap: 20px;
    box-shadow: -10px 0 30px rgba(0,0,0,.1);
    z-index: 1000;
  }

  .menu.open {
    display: flex;            /* 🔑 show ONLY when opened */
  }

  .hamburger {
    display: flex;
  }
}



/* FLOATING PROPERTY CARD */
/* HERO */
.hero {
  position: relative;
  height: 80vh;
  background: url('/images/hero2.jpg') center/cover no-repeat;
  display: flex;
  align-items: flex-start; /* align to top */
  justify-content: flex-start;
  padding-left: 40px;
  padding-top: 40px; /* move card upward */
  color: #fff;
}



/* FLOATING PROPERTY CARD */
.property-card {
  position: absolute;
  right: 2%;
  top: 7%; /* move closer to header */
  transform: translateY(0) translateX(100%); /* start off-screen */
  width: 330px; /* bigger width */
  background: linear-gradient(145deg, #FA8C00, #ff9b42);
  color: #fff;
  border-radius: 9px;
  box-shadow: 0 15px 35px rgba(0,0,0,0.4);
  opacity: 0;
  transition: opacity 0.8s ease, transform 0.8s ease;
  z-index: 2;
  font-family: 'Poppins', sans-serif;
  overflow: hidden;
  padding: 13px;
 
}
/* Slide-in state */
.property-card.show {
  opacity: 1;
  transform: translateY(0) translateX(0);
}

/* Property Image */
.property-card img.property-image {
  width: 100%;
  height: 180px;
  object-fit: cover;
  display: block;
}

/* Card content */
.property-card .tag {
  display: inline-block;
  background: #e74c3c;
  padding: 6px 12px;
  font-size: 12px;
  font-weight: bold;
  margin: 12px 0;
  border-radius: 6px;
  text-transform: uppercase;
}

.property-card h2 {
  font-size: 22px;
  margin-bottom: 12px;
  color: #005096;
}

.property-card .features {
  list-style: none;
  padding: 0;
  margin: 0 0 15px 0;
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.property-card .features li {
  font-size: 14px;
  background: rgba(255,255,255,0.2);
  padding: 4px 10px;
  border-radius: 6px;
}

.property-card .price {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 15px;
}

.property-card .cta-btn {
  background: #fff;
  color: var(--accent);
  padding: 10px 22px;
  border-radius: 30px;
  font-weight: 600;
  text-decoration: none;
  display: inline-block;
  transition: all 0.3s ease;
}

.property-card .cta-btn:hover {
  background: #f1f1f1;
  transform: translateY(-2px);
}


/* Close Button */
.property-card .close-btn {
  position: absolute;
  top: 12px;
  right: 12px;
  background: rgba(0,0,0,0.3);
  color: #fff;
  border: none;
  font-size: 18px;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.3s;
}

.property-card .close-btn:hover {
  background: rgba(0,0,0,0.6);
}


/* Responsive */
@media(max-width:900px){
  .property-card {
    position: static;
    transform: none;
    width: 90%;
    margin: 20px auto 0;
  }
  .property-card img.property-image {
    height: 180px;
  }
}
/* Top Bar */
/* Top Bar */
/* Top Bar 
.top-bar {
  background: var(--accent); 
  color: #fff;
  font-size: 14px;
  padding: 8px 0;
  box-shadow: 0 2px 6px rgba(0,0,0,0.1);
}
*/

 .top-bar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 70px; /* IMPORTANT */
  background: orange;
  z-index: 1100;
}






.top-bar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
}

/* Location section */
.top-bar-info {
  display: flex;
  align-items: center;
  gap: 8px;
}

.location-icon {
  width: 18px;
  height: 18px;
  object-fit: contain;
}

.location-link {
  color: #000;
  font-weight: 600;
  font-size: 14px;
  text-decoration: none;
  transition: color 0.3s ease;
}

.location-link:hover {
  color: #fff;
  text-decoration: underline;
}

/* CTA button */
.top-bar a.cta-btn {
  color: #000;
  background: #fff;
  padding: 6px 16px;
  border-radius: 24px;
  font-weight: 600;
  font-size: 14px;
  text-decoration: none;
  transition: all 0.3s ease;
}

.top-bar a.cta-btn:hover {
  background: #FA6C00;
  color: #fff;
}

.static-images {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 30px;
}

.static-images img {
  width: 100%;
  height: 300px;
  object-fit: cover;
  border-radius: 12px;
  box-shadow: 0 8px 20px rgba(0,0,0,0.12);
}

/* Mobile friendly */
@media (max-width: 768px) {
  .static-images {
    grid-template-columns: 1fr;
  }
}

.property-carousel {
  position: relative;
  width: 100%;
  height: 220px;
  overflow: hidden;
  border-radius: 10px;
}

.property-carousel img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  display: none;
}

.property-carousel img.active {
  display: block;
}

.carousel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(0,0,0,0.6);
  color: #fff;
  border: none;
  font-size: 18px;
  padding: 6px 10px;
  cursor: pointer;
  border-radius: 50%;
}

.carousel-btn.prev { left: 8px; }
.carousel-btn.next { right: 8px; }

.carousel-btn:hover {
  background: #f57c00;
}
/* ===== FULLSCREEN IMAGE MODAL ===== */
/* IMAGE MODAL */
.image-modal {
  display: none;
  position: fixed;
  z-index: 9999;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.85);
  align-items: center;
  justify-content: center;
}

.image-modal img {
  max-width: 90%;
  max-height: 90%;
  border-radius: 8px;
}

.close-modal {
  position: absolute;
  top: 20px;
  right: 30px;
  color: #fff;
  font-size: 35px;
  cursor: pointer;
}

/* Make images clickable */
.carousel-img {
  cursor: pointer;
}

/* Smooth zoom animation */
@keyframes zoomIn {
  from {
    transform: scale(0.9);
    opacity: 0;
  }
  to {
    transform: scale(1);
    opacity: 1;
  }
}

/* Make carousel images clickable */
.property-carousel img {
  cursor: pointer;
}