/* ============================================================
   BricksGuru Realty — style.css
   Folder: ./style.css
   ============================================================ */

/* --- Google Fonts --- */
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@700&family=Poppins:wght@400;500;600;700&display=swap');

/* --- CSS Variables (Design Tokens) --- */
:root {
  --navy:      #0a2540;
  --navy-dark: #061525;
  --white:     #ffffff;
  --off-white: #f8f9fa;

  /* User Primary Colors */
  --coral-red:         #FF5757;
  --coral-red-dark:    #E04343;
  --coral-red-rgb:     255, 87, 87;

  --sky-blue:          #20B2FF;
  --sky-blue-dark:     #0095E0;
  --sky-blue-rgb:      32, 178, 255;

  --brand-accent:      var(--coral-red);
  --brand-accent-dark: var(--coral-red-dark);
  --brand-blue:        var(--sky-blue);
  --brand-blue-dark:   var(--sky-blue-dark);

  --gray:      #6b7280;
  --gray-light:#e5e7eb;
  --text:      #1f2937;

  --font-body:    'Poppins', sans-serif;
  --font-heading: 'Playfair Display', serif;

  --shadow-sm: 0 2px 8px rgba(0,0,0,.08);
  --shadow-md: 0 4px 20px rgba(0,0,0,.12);
  --shadow-lg: 0 8px 40px rgba(0,0,0,.18);
  --shadow-coral: 0 4px 20px rgba(255,87,87,.35);
  --shadow-blue: 0 4px 20px rgba(32,178,255,.35);

  --radius:    10px;
  --radius-lg: 16px;
  --transition: 0.3s ease;

  --container: 1200px;
}

/* --- Reset / Normalize --- */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
html {
  scroll-behavior: smooth;
  font-size: 16px;
}
body {
  font-family: var(--font-body);
  color: var(--text);
  background: var(--white);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}
img {
  max-width: 100%;
  height: auto;
  display: block;
}
a {
  text-decoration: none;
  color: inherit;
  transition: color var(--transition);
}
ul { list-style: none; }
button, input, textarea, select {
  font-family: inherit;
  font-size: inherit;
  border: none;
  outline: none;
  background: none;
  cursor: pointer;
}

/* --- Utility Classes --- */
.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 1.25rem;
}
.section {
  padding: 5rem 0;
}
.section-alt {
  background: var(--off-white);
}
.section-header {
  text-align: center;
  margin-bottom: 3rem;
}
.section-label {
  display: inline-block;
  font-size: .8rem;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--brand-accent);
  margin-bottom: .5rem;
}
.section-title {
  font-family: var(--font-heading);
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  color: var(--navy);
  line-height: 1.25;
  margin-bottom: .75rem;
}
.section-subtitle {
  font-size: 1rem;
  color: var(--gray);
  max-width: 560px;
  margin: 0 auto;
}
.divider {
  display: block;
  width: 56px;
  height: 4px;
  background: var(--brand-accent);
  border-radius: 2px;
  margin: .75rem auto 0;
}

/* --- Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  padding: .75rem 1.75rem;
  border-radius: 50px;
  font-weight: 600;
  font-size: .95rem;
  line-height: 1;
  transition: all var(--transition);
  cursor: pointer;
  white-space: nowrap;
}
.btn-primary {
  background: var(--coral-red);
  color: var(--navy);
  box-shadow: 0 4px 15px rgba(255,87,87,.35);
}
.btn-primary:hover {
  background: var(--coral-red-dark);
  color: var(--navy);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(255,87,87,.45);
}
.btn-sky, .btn-blue {
  background: var(--sky-blue);
  color: var(--navy);
  box-shadow: 0 4px 15px rgba(32,178,255,.35);
}
.btn-sky:hover, .btn-blue:hover {
  background: var(--sky-blue-dark);
  color: var(--navy);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(32,178,255,.45);
}
.btn-outline {
  border: 2px solid var(--white);
  color: var(--white);
}
.btn-outline:hover {
  background: var(--white);
  color: var(--navy);
  transform: translateY(-2px);
}
.btn-navy {
  background: var(--navy);
  color: var(--white);
}
.btn-navy:hover {
  background: var(--navy-dark);
  transform: translateY(-2px);
}
.btn-sm {
  padding: .5rem 1.2rem;
  font-size: .875rem;
}

/* --- SVG Icons --- */
.icon-sm {
  width: 16px;
  height: 16px;
  vertical-align: -0.125em;
}
.icon-md {
  width: 22px;
  height: 22px;
  vertical-align: -0.15em;
}

/* ============================================================
   HEADER / NAVIGATION
   ============================================================ */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 999;
  background: transparent;
  transition: background var(--transition), box-shadow var(--transition);
  padding: 1rem 0;
}
.site-header.scrolled {
  background: var(--navy);
  box-shadow: var(--shadow-md);
  padding: .6rem 0;
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}
.logo {
  display: flex;
  align-items: center;
  gap: .65rem;
  line-height: 1.1;
  text-decoration: none;
}
.logo-img {
  height: 44px;
  width: 44px;
  object-fit: contain;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0,0,0,.15);
  background: var(--white);
  padding: 2px;
  transition: transform var(--transition);
  flex-shrink: 0;
}
.logo:hover .logo-img {
  transform: scale(1.05);
}
.logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}
.logo-main {
  font-family: var(--font-heading);
  font-size: 1.6rem;
  color: var(--white);
  letter-spacing: -.01em;
}
.logo-main span {
  color: var(--brand-accent);
}
.logo-sub {
  font-size: .65rem;
  font-weight: 500;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: rgba(255,255,255,.7);
}

/* Desktop Nav */
.nav-links {
  display: flex;
  align-items: center;
  gap: .25rem;
}
.nav-links a {
  color: rgba(255,255,255,.88);
  font-size: .9rem;
  font-weight: 500;
  padding: .4rem .75rem;
  border-radius: 6px;
  transition: all var(--transition);
}
.nav-links a:hover,
.nav-links a.active {
  color: var(--brand-accent);
}
.nav-cta {
  background: var(--brand-accent);
  color: var(--navy) !important;
  font-weight: 700 !important;
  padding: .45rem 1.1rem !important;
  border-radius: 50px !important;
}
.nav-cta:hover {
  background: var(--brand-accent-dark) !important;
  color: var(--navy) !important;
}

/* Hamburger */
.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: .4rem;
  cursor: pointer;
  background: transparent;
  border: none;
  z-index: 1001;
}
.menu-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: all var(--transition);
}
.menu-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.menu-toggle.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.menu-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile nav overlay */
.mobile-nav {
  display: none;
  position: fixed;
  inset: 0;
  background: var(--navy-dark);
  z-index: 998;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1.5rem;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--transition);
}
.mobile-nav.open {
  opacity: 1;
  pointer-events: all;
}
.mobile-nav a {
  color: var(--white);
  font-size: 1.5rem;
  font-weight: 600;
  transition: color var(--transition);
}
.mobile-nav a:hover { color: var(--brand-accent); }

/* ============================================================
   HERO SECTION
   ============================================================ */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: var(--navy-dark);
}
.hero-bg {
  position: absolute;
  inset: 0;
  background-image: url('images/hero-bg.jpg');
  background-size: cover;
  background-position: center;
  filter: brightness(.45);
  z-index: 0;
  transition: transform 8s ease;
}
.hero:hover .hero-bg { transform: scale(1.04); }
.hero-content {
  position: relative;
  z-index: 1;
  max-width: 760px;
  padding: 7rem 0 5rem;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  background: rgba(255,87,87,.15);
  border: 1px solid rgba(255,87,87,.4);
  color: var(--coral-red);
  font-size: .8rem;
  font-weight: 600;
  letter-spacing: .06em;
  text-transform: uppercase;
  padding: .38rem 1rem;
  border-radius: 50px;
  margin-bottom: 1.25rem;
}
.hero-badge::before { 
  content: '';
  display: inline-block;
  width: 14px;
  height: 14px;
  background-color: currentColor;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='currentColor' stroke='none'%3E%3Cpolygon points='12 2 15.09 8.26 22 9.27 17 14.14 18.18 21.02 12 17.77 5.82 21.02 7 14.14 2 9.27 8.91 8.26 12 2'/%3E%3C/svg%3E") no-repeat center / contain;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='currentColor' stroke='none'%3E%3Cpolygon points='12 2 15.09 8.26 22 9.27 17 14.14 18.18 21.02 12 17.77 5.82 21.02 7 14.14 2 9.27 8.91 8.26 12 2'/%3E%3C/svg%3E") no-repeat center / contain;
}
.hero h1 {
  font-family: var(--font-heading);
  font-size: clamp(2.4rem, 7vw, 4.4rem);
  color: var(--white);
  line-height: 1.1;
  margin-bottom: 1rem;
}
.hero h1 span {
  background: linear-gradient(135deg, var(--coral-red) 0%, var(--sky-blue) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}
.hero p {
  font-size: clamp(1rem, 2vw, 1.2rem);
  color: rgba(255,255,255,.82);
  margin-bottom: 2rem;
  max-width: 520px;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}
.hero-scroll {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .4rem;
  color: rgba(255,255,255,.55);
  font-size: .72rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  animation: scrollBounce 2s infinite;
}
.hero-scroll::after {
  content: '';
  display: block;
  width: 1px;
  height: 40px;
  background: rgba(255,255,255,.35);
  animation: scrollLine 2s infinite;
}
@keyframes scrollBounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(5px); }
}

/* ============================================================
   STATS SECTION
   ============================================================ */
.stats-section {
  background: var(--navy);
  padding: 3rem 0;
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 2rem;
  text-align: center;
}
.stat-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .3rem;
}
.stat-num {
  font-family: var(--font-heading);
  font-size: 2.8rem;
  color: var(--brand-accent);
  line-height: 1;
  font-weight: 700;
}
.stat-suffix {
  font-size: 1.6rem;
  color: var(--brand-accent);
  font-weight: 700;
}
.stat-label {
  color: rgba(255,255,255,.75);
  font-size: .85rem;
  font-weight: 500;
  letter-spacing: .04em;
}

/* ============================================================
   ABOUT SECTION
   ============================================================ */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}
.about-image-wrap {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}
.about-image-wrap img {
  width: 100%;
  height: 480px;
  object-fit: cover;
  transition: transform .6s ease;
}
.about-image-wrap:hover img { transform: scale(1.04); }
.about-badge {
  position: absolute;
  bottom: 1.5rem;
  right: 1.5rem;
  background: var(--brand-accent);
  color: var(--navy);
  padding: .75rem 1.25rem;
  border-radius: var(--radius);
  font-weight: 700;
  font-size: .9rem;
  box-shadow: var(--shadow-md);
  text-align: center;
}
.about-badge span {
  display: block;
  font-size: 1.6rem;
  font-family: var(--font-heading);
}
.about-text .section-label { text-align: left; }
.about-text .section-title { text-align: left; }
.about-text .divider { margin-left: 0; }
.about-text p {
  color: var(--gray);
  margin-bottom: 1rem;
  font-size: .97rem;
}
.about-checks {
  display: flex;
  flex-direction: column;
  gap: .6rem;
  margin: 1.5rem 0;
}
.about-checks li {
  display: flex;
  align-items: center;
  gap: .6rem;
  font-size: .92rem;
  color: var(--text);
}
.check-icon {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--sky-blue);
  color: var(--navy);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: .75rem;
  font-weight: 700;
  flex-shrink: 0;
}

/* ============================================================
   USP / FEATURES CARDS
   ============================================================ */
.usp-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2rem;
}
.usp-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 2rem 1.5rem;
  box-shadow: var(--shadow-sm);
  text-align: center;
  transition: all var(--transition);
  border: 1px solid var(--gray-light);
  position: relative;
  overflow: hidden;
}
.usp-card::before {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--coral-red), var(--sky-blue));
  transform: scaleX(0);
  transition: transform var(--transition);
  transform-origin: left;
}
.usp-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
}
.usp-card:hover::before { transform: scaleX(1); }
.usp-icon {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: rgba(32,178,255,.1);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  margin: 0 auto 1.25rem;
  transition: background var(--transition);
}
.usp-card:hover .usp-icon { background: var(--sky-blue); color: var(--navy); }
.usp-card h3 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: .5rem;
}
.usp-card p {
  font-size: .875rem;
  color: var(--gray);
  line-height: 1.6;
}

/* ============================================================
   PROJECTS SECTION
   ============================================================ */
.filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: .6rem;
  justify-content: center;
  margin-bottom: 2.5rem;
}
.filter-btn {
  padding: .5rem 1.4rem;
  border-radius: 50px;
  font-size: .875rem;
  font-weight: 600;
  border: 2px solid var(--gray-light);
  color: var(--gray);
  background: var(--white);
  transition: all var(--transition);
  cursor: pointer;
}
.filter-btn:hover,
.filter-btn.active {
  border-color: var(--brand-accent);
  background: var(--brand-accent);
  color: var(--navy);
}
.projects-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 1.75rem;
}
.project-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--gray-light);
  transition: all var(--transition);
  display: flex;
  flex-direction: column;
}
.project-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
}
.project-img {
  position: relative;
  overflow: hidden;
  height: 220px;
}
.project-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .5s ease;
}
.project-card:hover .project-img img { transform: scale(1.07); }
.project-tag {
  position: absolute;
  top: .75rem;
  left: .75rem;
  background: var(--navy);
  color: var(--white);
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  padding: .25rem .75rem;
  border-radius: 50px;
}
.project-tag.tag-villa  { background: #1e6b4d; }
.project-tag.tag-plot   { background: #7c4a0a; }
.project-body {
  padding: 1.25rem 1.5rem 1.5rem;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: .3rem;
}
.project-name {
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--navy);
  line-height: 1.3;
}
.project-location {
  font-size: .82rem;
  color: var(--gray);
  display: flex;
  align-items: center;
  gap: .25rem;
}
.project-location::before { 
  content: '';
  display: inline-block;
  width: 14px;
  height: 14px;
  background-color: currentColor;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M21 10c0 7-9 13-9 13s-9-6-9-13a9 9 0 0 1 18 0z'%3E%3C/path%3E%3Ccircle cx='12' cy='10' r='3'%3E%3C/circle%3E%3C/svg%3E") no-repeat center / contain;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M21 10c0 7-9 13-9 13s-9-6-9-13a9 9 0 0 1 18 0z'%3E%3C/path%3E%3Ccircle cx='12' cy='10' r='3'%3E%3C/circle%3E%3C/svg%3E") no-repeat center / contain;
}
.project-meta {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: .4rem .75rem;
  margin: .75rem 0;
}
.meta-item {
  display: flex;
  flex-direction: column;
  gap: .05rem;
}
.meta-item .meta-label {
  font-size: .7rem;
  text-transform: uppercase;
  letter-spacing: .06em;
  color: var(--gray);
  font-weight: 600;
}
.meta-item .meta-val {
  font-size: .88rem;
  font-weight: 700;
  color: var(--navy);
}
.project-price {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  color: var(--brand-accent);
  font-weight: 700;
  margin-top: auto;
  padding-top: .75rem;
  border-top: 1px solid var(--gray-light);
}
.project-footer {
  padding: 0 1.5rem 1.25rem;
}
.project-footer .btn { width: 100%; justify-content: center; }

.project-card.hidden { display: none; }

/* ============================================================
   BUILDERS / PARTNERS
   ============================================================ */
.builders-section { background: var(--navy); }
.builders-section .section-title { color: var(--white); }
.builders-section .section-subtitle { color: rgba(255,255,255,.65); }
.builders-grid {
  display: flex;
  flex-wrap: wrap;
  gap: .75rem;
  justify-content: center;
  margin-top: 2rem;
}
.builder-badge {
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.2);
  color: rgba(255,255,255,.88);
  font-size: .85rem;
  font-weight: 600;
  padding: .5rem 1.1rem;
  border-radius: 50px;
  transition: all var(--transition);
  cursor: default;
}
.builder-badge:hover {
  background: var(--brand-accent);
  color: var(--navy);
  border-color: var(--brand-accent);
}

/* ============================================================
   TEAM SECTION
   ============================================================ */
.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 2rem;
  justify-content: center;
}
.team-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--gray-light);
  transition: all var(--transition);
  text-align: center;
  max-width: 340px;
  margin: 0 auto;
  width: 100%;
}
.team-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
}
.team-photo {
  height: 280px;
  overflow: hidden;
  background: var(--off-white);
}
.team-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top;
  transition: transform .5s ease;
}
.team-card:hover .team-photo img { transform: scale(1.05); }
.team-info {
  padding: 1.5rem;
}
.team-info h3 {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  color: var(--navy);
  margin-bottom: .25rem;
}
.team-role {
  font-size: .82rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: var(--brand-accent);
  margin-bottom: .75rem;
}
.team-bio {
  font-size: .88rem;
  color: var(--gray);
  line-height: 1.6;
}
.team-socials {
  display: flex;
  justify-content: center;
  gap: .75rem;
  margin-top: 1rem;
}
.social-btn {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--off-white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  transition: all var(--transition);
}
.social-btn:hover {
  background: var(--brand-accent);
  transform: scale(1.15);
}

/* ============================================================
   TESTIMONIALS
   ============================================================ */
.testimonials-section { background: var(--navy); }
.testimonials-section .section-title { color: var(--white); }
.testimonials-section .section-subtitle { color: rgba(255,255,255,.65); }
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.5rem;
}
.testimonial-card {
  background: rgba(255,255,255,.07);
  border: 1px solid rgba(255,255,255,.12);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  transition: all var(--transition);
}
.testimonial-card:hover {
  background: rgba(255,255,255,.12);
  transform: translateY(-4px);
}
.stars {
  color: var(--brand-accent);
  font-size: 1rem;
  letter-spacing: .1em;
  margin-bottom: .75rem;
}
.testimonial-text {
  color: rgba(255,255,255,.85);
  font-size: .92rem;
  line-height: 1.75;
  font-style: italic;
  margin-bottom: 1.25rem;
  position: relative;
  padding-left: 1.25rem;
  border-left: 3px solid var(--brand-accent);
}
.testimonial-author {
  display: flex;
  align-items: center;
  gap: .75rem;
}
.author-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--brand-accent);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  color: var(--navy);
  font-size: 1rem;
  flex-shrink: 0;
}
.author-name {
  font-weight: 700;
  color: var(--white);
  font-size: .9rem;
}
.author-loc {
  font-size: .78rem;
  color: rgba(255,255,255,.55);
}

/* ============================================================
   BLOG SECTION
   ============================================================ */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
}
.blog-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--gray-light);
  display: flex;
  flex-direction: column;
  transition: all var(--transition);
}
.blog-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
}
.blog-img {
  height: 200px;
  overflow: hidden;
}
.blog-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .5s ease;
}
.blog-card:hover .blog-img img { transform: scale(1.07); }
.blog-body {
  padding: 1.5rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}
.blog-cat {
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--brand-accent);
  margin-bottom: .5rem;
}
.blog-title {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: .5rem;
  line-height: 1.4;
}
.blog-meta {
  font-size: .78rem;
  color: var(--gray);
  margin-bottom: .75rem;
  display: flex;
  gap: .75rem;
  flex-wrap: wrap;
}
.blog-excerpt {
  font-size: .88rem;
  color: var(--gray);
  line-height: 1.65;
  flex: 1;
  margin-bottom: 1rem;
}
.read-more {
  font-size: .88rem;
  font-weight: 700;
  color: var(--brand-accent);
  display: inline-flex;
  align-items: center;
  gap: .3rem;
  transition: gap var(--transition);
}
.read-more:hover { gap: .6rem; color: var(--brand-accent-dark); }
.read-more::after { content: '→'; }

/* Blog full posts accordion (blog.html) */
.blog-post {
  background: var(--white);
  border-radius: var(--radius-lg);
  border: 1px solid var(--gray-light);
  overflow: hidden;
  margin-bottom: 1.5rem;
  box-shadow: var(--shadow-sm);
}
.blog-post-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.5rem;
}
.blog-post-header h3 { font-size: 1.1rem; color: var(--navy); font-weight: 700; }
.blog-post-content {
  transition: all .4s ease;
}
.blog-post-content-inner {
  padding: 0 1.5rem 1.5rem;
  color: var(--gray);
  font-size: .93rem;
  line-height: 1.75;
}

/* ============================================================
   CONTACT SECTION / PAGE
   ============================================================ */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 4rem;
  align-items: start;
}
.contact-info { display: flex; flex-direction: column; gap: 1.75rem; }
.contact-info-item {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}
.contact-icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius);
  background: rgba(10,37,64,.08);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  flex-shrink: 0;
}
.contact-label {
  font-size: .78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: var(--gray);
  margin-bottom: .15rem;
}
.contact-val {
  font-size: .98rem;
  font-weight: 600;
  color: var(--navy);
}
.contact-val a { color: var(--navy); }
.contact-val a:hover { color: var(--brand-accent); }

/* Form */
.form-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--gray-light);
}
.form-card h3 {
  font-family: var(--font-heading);
  font-size: 1.4rem;
  color: var(--navy);
  margin-bottom: 1.5rem;
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}
.form-group {
  display: flex;
  flex-direction: column;
  gap: .35rem;
  margin-bottom: 1rem;
}
.form-group label {
  font-size: .82rem;
  font-weight: 600;
  color: var(--text);
}
.form-group input,
.form-group textarea,
.form-group select {
  padding: .7rem 1rem;
  border: 1.5px solid var(--gray-light);
  border-radius: var(--radius);
  font-size: .9rem;
  color: var(--text);
  background: var(--off-white);
  transition: border-color var(--transition), box-shadow var(--transition);
  width: 100%;
}
.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  border-color: var(--sky-blue);
  box-shadow: 0 0 0 3px rgba(32,178,255,.2);
  background: var(--white);
}
.form-group textarea { resize: vertical; min-height: 120px; }
.field-error {
  font-size: .78rem;
  color: #dc2626;
  display: none;
}
.form-group.has-error input,
.form-group.has-error textarea {
  border-color: #dc2626;
}
.form-group.has-error .field-error { display: block; }
.form-submit { width: 100%; justify-content: center; margin-top: .5rem; }

/* Career Form / Job listings */
.job-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.75rem;
  margin-bottom: 3rem;
}
.job-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  border: 1px solid var(--gray-light);
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  gap: .6rem;
  transition: all var(--transition);
}
.job-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--sky-blue);
}
.job-title {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--navy);
}
.job-dept {
  display: inline-block;
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--sky-blue);
  background: rgba(32,178,255,.12);
  padding: .2rem .7rem;
  border-radius: 50px;
}
.job-detail {
  display: flex;
  flex-direction: column;
  gap: .3rem;
  font-size: .86rem;
  color: var(--gray);
}
.job-detail span { display: flex; align-items: flex-start; gap: .4rem; }
.job-detail span::before { content: '•'; color: var(--brand-accent); }
.job-card .btn { margin-top: auto; align-self: flex-start; }

/* ============================================================
   PAGE HERO (inner pages)
   ============================================================ */
.page-hero {
  background: linear-gradient(135deg, var(--navy-dark) 60%, var(--navy) 100%);
  padding: 8rem 0 4rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url('images/hero-bg.jpg') center/cover;
  opacity: .1;
}
.page-hero-content { position: relative; z-index: 1; }
.page-hero h1 {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 5vw, 3.2rem);
  color: var(--white);
  margin-bottom: .75rem;
}
.page-hero p {
  font-size: 1rem;
  color: rgba(255,255,255,.72);
  max-width: 540px;
  margin: 0 auto;
}
.breadcrumb {
  display: flex;
  justify-content: center;
  gap: .5rem;
  font-size: .82rem;
  color: rgba(255,255,255,.55);
  margin-top: 1rem;
  flex-wrap: wrap;
}
.breadcrumb a { color: var(--brand-accent); }
.breadcrumb span { opacity: .55; }

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer {
  background: var(--navy-dark);
  color: rgba(255,255,255,.72);
  padding: 4rem 0 2rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 2.5rem;
  margin-bottom: 3rem;
}
.footer-brand .logo-main { font-size: 1.4rem; }
.footer-brand p {
  font-size: .875rem;
  line-height: 1.7;
  margin-top: .75rem;
  margin-bottom: 1.25rem;
}
.footer-title {
  font-size: .88rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .1em;
  color: var(--white);
  margin-bottom: 1rem;
}
.footer-links {
  display: flex;
  flex-direction: column;
  gap: .5rem;
}
.footer-links a, .footer-contact-item {
  font-size: .85rem;
  color: rgba(255,255,255,.65);
  transition: color var(--transition);
  display: flex;
  align-items: flex-start;
  gap: .4rem;
}
.footer-links a:hover { color: var(--brand-accent); padding-left: .25rem; }
.footer-contact-item { cursor: default; }
.footer-contact-item a { color: rgba(255,255,255,.65); }
.footer-contact-item a:hover { color: var(--brand-accent); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.1);
  padding-top: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: .75rem;
}
.footer-bottom p { font-size: .8rem; }
.footer-bottom-links {
  display: flex;
  gap: 1.25rem;
}
.footer-bottom-links a {
  font-size: .8rem;
  color: rgba(255,255,255,.5);
  transition: color var(--transition);
}
.footer-bottom-links a:hover { color: var(--brand-accent); }

/* ============================================================
   ABOUT FULL PAGE
   ============================================================ */
.mission-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.5rem;
  margin-top: 2rem;
}
.mission-card {
  background: var(--navy);
  border-radius: var(--radius-lg);
  padding: 2rem 1.5rem;
  text-align: center;
  color: var(--white);
  transition: transform var(--transition);
}
.mission-card:hover { transform: translateY(-5px); }
.mission-icon { font-size: 2.5rem; margin-bottom: 1rem; }
.mission-card h3 { font-size: 1rem; font-weight: 700; margin-bottom: .5rem; color: var(--brand-accent); }
.mission-card p { font-size: .875rem; opacity: .8; line-height: 1.65; }

/* ============================================================
   SUCCESS / ALERT TOAST
   ============================================================ */
.toast {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  z-index: 9999;
  background: #059669;
  color: var(--white);
  padding: 1rem 1.5rem;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: .95rem;
  box-shadow: var(--shadow-lg);
  transform: translateY(100px);
  opacity: 0;
  transition: all .35s ease;
  max-width: 320px;
  display: flex;
  align-items: center;
  gap: .5rem;
}
.toast.show {
  transform: translateY(0);
  opacity: 1;
}
.toast::before { content: '✓'; font-size: 1.4rem; }

/* ============================================================
   RESPONSIVE — TABLET (max 1024px)
   ============================================================ */
@media (max-width: 1024px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
  .about-grid {
    gap: 2.5rem;
  }
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
}

/* ============================================================
   RESPONSIVE — MOBILE (max 768px)
   ============================================================ */
@media (max-width: 768px) {
  .section { padding: 3.5rem 0; }

  /* Nav */
  .nav-links { display: none; }
  .menu-toggle { display: flex; }
  .mobile-nav { display: flex; }

  /* Hero */
  .hero-content { padding: 6rem 0 4rem; }

  /* About */
  .about-grid { grid-template-columns: 1fr; }
  .about-image-wrap img { height: 300px; }

  /* Stats */
  .stats-grid { grid-template-columns: 1fr 1fr; gap: 1.5rem; }

  /* Projects */
  .projects-grid { grid-template-columns: 1fr; }

  /* Footer */
  .footer-grid { grid-template-columns: 1fr; gap: 2rem; }
  .footer-bottom { flex-direction: column; text-align: center; }

  /* Form */
  .form-row { grid-template-columns: 1fr; }
  .form-card { padding: 1.5rem; }
}

@media (max-width: 480px) {
  .hero h1 { font-size: 2rem; }
  .hero-actions { flex-direction: column; }
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .stat-num { font-size: 2rem; }
  .usp-grid { grid-template-columns: 1fr 1fr; }
  .team-grid { grid-template-columns: 1fr; }
}

/* ============================================================
   FLOATING WHATSAPP / BACK TO TOP
   ============================================================ */
.back-top {
  position: fixed;
  bottom: 1.5rem;
  right: 1.5rem;
  z-index: 900;
  width: 44px;
  height: 44px;
  background: var(--brand-accent);
  color: var(--navy);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  box-shadow: var(--shadow-md);
  cursor: pointer;
  opacity: 0;
  transform: translateY(20px);
  transition: all var(--transition);
  border: none;
}
.back-top.visible { opacity: 1; transform: translateY(0); }
.back-top:hover { background: var(--brand-accent-dark); transform: translateY(-3px); }

/* Smooth reveal animations */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity .6s ease, transform .6s ease;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}
