/* ========================================
   Perfect10 Logistics Limited
   Global Stylesheet
   ======================================== */

/* CSS Variables */
:root {
  --primary-red: #C8102E;
  --primary-red-dark: #A00D24;
  --dark: #1a1a2e;
  --dark-secondary: #16213e;
  --white: #ffffff;
  --light-gray: #f5f5f5;
  --medium-gray: #e0e0e0;
  --text-dark: #333333;
  --text-muted: #666666;
  --accent-gold: #d4af37;
  --transition: all 0.3s ease;
  --shadow: 0 4px 20px rgba(0,0,0,0.1);
  --shadow-hover: 0 8px 30px rgba(0,0,0,0.15);
}

/* Reset & Base */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  color: var(--text-dark);
  line-height: 1.6;
  background: var(--white);
  overflow-x: hidden;
}

a {
  text-decoration: none;
  color: inherit;
  transition: var(--transition);
}

ul {
  list-style: none;
}

img {
  max-width: 100%;
  height: auto;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.section-padding {
  padding: 80px 0;
}

.text-center {
  text-align: center;
}

/* ========================================
   Buttons
   ======================================== */
.btn {
  display: inline-block;
  padding: 14px 32px;
  border-radius: 4px;
  font-weight: 600;
  font-size: 15px;
  text-transform: uppercase;
  letter-spacing: 1px;
  cursor: pointer;
  transition: var(--transition);
  border: none;
}

.btn-primary {
  background: var(--primary-red);
  color: var(--white);
}

.btn-primary:hover {
  background: var(--primary-red-dark);
  transform: translateY(-2px);
  box-shadow: var(--shadow-hover);
}

.btn-outline {
  background: transparent;
  color: var(--white);
  border: 2px solid var(--white);
}

.btn-outline:hover {
  background: var(--white);
  color: var(--dark);
}

.btn-dark {
  background: var(--dark);
  color: var(--white);
}

.btn-dark:hover {
  background: var(--primary-red);
}

/* ========================================
   Navigation
   ======================================== */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  padding: 15px 0;
  transition: var(--transition);
  background: transparent;
}

.navbar.scrolled {
  background: var(--white);
  box-shadow: var(--shadow);
  padding: 10px 0;
}

.navbar.scrolled .logo-text,
.navbar.scrolled .nav-links a {
  color: var(--dark);
}

.navbar.scrolled .logo-tagline {
  color: var(--text-muted);
}

.navbar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
}

.logo-icon {
  width: 50px;
  height: 50px;
  object-fit: contain;
  flex-shrink: 0;
  border-radius: 8px;
}

.logo-text-wrap {
  display: flex;
  flex-direction: column;
}

.logo-text {
  font-size: 22px;
  font-weight: 800;
  color: var(--white);
  line-height: 1.2;
  letter-spacing: 0.5px;
}

.logo-tagline {
  font-size: 10px;
  color: rgba(255,255,255,0.8);
  text-transform: uppercase;
  letter-spacing: 2px;
  font-weight: 500;
}

.nav-links {
  display: flex;
  gap: 30px;
  align-items: center;
}

.nav-links a {
  color: var(--white);
  font-weight: 600;
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 1px;
  position: relative;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--primary-red);
  transition: var(--transition);
}

.nav-links a:hover::after,
.nav-links a.active::after {
  width: 100%;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--primary-red);
}

.navbar.scrolled .nav-links a:hover,
.navbar.scrolled .nav-links a.active {
  color: var(--primary-red);
}

.mobile-menu-btn {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 5px;
}

.mobile-menu-btn span {
  display: block;
  width: 25px;
  height: 3px;
  background: var(--white);
  margin: 5px 0;
  transition: var(--transition);
  border-radius: 2px;
}

.navbar.scrolled .mobile-menu-btn span {
  background: var(--dark);
}

/* ========================================
   Hero Section
   ======================================== */
.hero {
  min-height: 100vh;
  background: linear-gradient(135deg, var(--dark) 0%, var(--dark-secondary) 50%, #1a1a2e 100%);
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
  padding-top: 80px;
}

.hero-video {
  position: absolute;
  top: 50%;
  left: 50%;
  min-width: 100%;
  min-height: 100%;
  width: auto;
  height: auto;
  transform: translate(-50%, -50%);
  object-fit: cover;
  z-index: 0;
}

.hero-video::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(26, 26, 46, 0.55) 0%, rgba(22, 33, 62, 0.45) 50%, rgba(0, 0, 0, 0.35) 100%);
  z-index: 1;
}

.hero .container {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 1;
}

.hero-content {
  max-width: 720px;
  text-align: center;
  background: rgba(0, 0, 0, 0.35);
  padding: 40px 50px;
  border-radius: 12px;
  backdrop-filter: blur(4px);
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.hero-subtitle {
  color: var(--primary-red);
  font-size: 14px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 3px;
  margin-bottom: 15px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

.hero-subtitle::before {
  content: '';
  display: inline-block;
  width: 40px;
  height: 3px;
  background: var(--primary-red);
}

.hero-title {
  font-size: 52px;
  font-weight: 800;
  color: var(--white);
  line-height: 1.15;
  margin-bottom: 20px;
}

.hero-title span {
  color: var(--primary-red);
}

.hero-desc {
  font-size: 18px;
  color: rgba(255,255,255,0.8);
  margin-bottom: 35px;
  line-height: 1.7;
}

.hero-buttons {
  display: flex;
  gap: 15px;
  flex-wrap: wrap;
}

.hero-stats {
  background: rgba(255,255,255,0.05);
  backdrop-filter: blur(10px);
  border-top: 1px solid rgba(255,255,255,0.1);
  padding: 30px 0;
  margin-top: auto;
}

.hero-stats .container {
  display: flex;
  justify-content: space-around;
  flex-wrap: wrap;
  gap: 20px;
}

.stat-item {
  text-align: center;
}

.stat-number {
  font-size: 36px;
  font-weight: 800;
  color: var(--white);
  display: block;
  line-height: 1;
}

.stat-label {
  font-size: 13px;
  color: rgba(255,255,255,0.7);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-top: 5px;
}

/* ========================================
   Section Headers
   ======================================== */
.section-header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 60px;
}

.section-header.left {
  text-align: left;
  margin-left: 0;
}

.section-label {
  color: var(--primary-red);
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 3px;
  margin-bottom: 10px;
}

.section-title {
  font-size: 38px;
  font-weight: 800;
  color: var(--dark);
  line-height: 1.2;
  margin-bottom: 15px;
}

.section-title span {
  color: var(--primary-red);
}

.section-desc {
  color: var(--text-muted);
  font-size: 16px;
  line-height: 1.7;
}

/* ========================================
   Services Section
   ======================================== */
.services-section {
  background: var(--light-gray);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
}

.service-card {
  background: var(--white);
  padding: 40px 30px;
  border-radius: 8px;
  text-align: center;
  transition: var(--transition);
  border-bottom: 4px solid transparent;
  box-shadow: var(--shadow);
}

.service-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-hover);
  border-bottom-color: var(--primary-red);
}

.service-icon {
  width: 70px;
  height: 70px;
  background: rgba(200, 16, 46, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  transition: var(--transition);
}

.service-card:hover .service-icon {
  background: var(--primary-red);
}

.service-icon svg {
  width: 32px;
  height: 32px;
  color: var(--primary-red);
  transition: var(--transition);
}

.service-card:hover .service-icon svg {
  color: var(--white);
}

.service-title {
  font-size: 20px;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 12px;
}

.service-desc {
  color: var(--text-muted);
  font-size: 15px;
  line-height: 1.6;
}

/* ========================================
   About Section
   ======================================== */
.about-section .container {
  display: flex;
  align-items: center;
  gap: 60px;
}

.about-image {
  flex: 1;
  position: relative;
}

.about-image-main {
  width: 100%;
  height: 450px;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  border-radius: 8px;
  position: relative;
  overflow: hidden;
}

.about-image-badge {
  position: absolute;
  bottom: -25px;
  right: -25px;
  background: var(--primary-red);
  color: var(--white);
  padding: 25px 30px;
  border-radius: 8px;
  text-align: center;
  box-shadow: var(--shadow-hover);
}

.about-image-badge .years {
  font-size: 36px;
  font-weight: 800;
  line-height: 1;
}

.about-image-badge .years-text {
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.about-content {
  flex: 1;
}

.about-content .section-header {
  margin-bottom: 30px;
}

.about-text {
  color: var(--text-muted);
  margin-bottom: 20px;
  line-height: 1.8;
}

.about-features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 15px;
  margin: 30px 0;
}

.about-feature-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 600;
  color: var(--dark);
}

.about-feature-item svg {
  width: 20px;
  height: 20px;
  color: var(--primary-red);
  flex-shrink: 0;
}

/* ========================================
   Perfect10 Luxury Homes Section
   ======================================== */
.homes-section {
  background: var(--white);
}

.homes-section .container {
  display: flex;
  align-items: center;
  gap: 60px;
}

.homes-image {
  flex: 1;
  position: relative;
}

.homes-image-main {
  width: 100%;
  height: 450px;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  border-radius: 8px;
  position: relative;
  overflow: hidden;
}

.homes-content {
  flex: 1;
}

.homes-content .section-header {
  margin-bottom: 30px;
}

/* ========================================
   Properties Page
   ======================================== */
.properties-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
  gap: 30px;
}

.property-card {
  background: var(--white);
  border-radius: 8px;
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: var(--transition);
}

.property-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-hover);
}

.property-img {
  height: 240px;
  position: relative;
  display: flex;
  align-items: flex-start;
  justify-content: flex-end;
  padding: 15px;
}

.property-tag {
  background: var(--primary-red);
  color: var(--white);
  padding: 6px 14px;
  border-radius: 4px;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.property-info {
  padding: 25px;
}

.property-title {
  font-size: 20px;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 5px;
}

.property-location {
  font-size: 14px;
  color: var(--text-muted);
  margin-bottom: 8px;
}

.property-location::before {
  content: '';
  display: inline-block;
  width: 12px;
  height: 12px;
  margin-right: 5px;
  background: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' fill='none' stroke='%23C8102E' stroke-width='2.5' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M21 10c0 7-9 13-9 13s-9-6-9-13a9 9 0 0 1 18 0z'/%3E%3Ccircle cx='12' cy='10' r='3'/%3E%3C/svg%3E") no-repeat center/contain;
  vertical-align: middle;
}

.property-price {
  font-size: 24px;
  font-weight: 800;
  color: var(--primary-red);
  margin-bottom: 12px;
}

.property-desc {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 15px;
}

.property-features {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 20px;
}

.property-features li {
  background: var(--light-gray);
  padding: 5px 12px;
  border-radius: 4px;
  font-size: 12px;
  font-weight: 600;
  color: var(--text-dark);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.property-link {
  display: block;
  color: inherit;
  text-decoration: none;
}

.property-link:hover {
  color: inherit;
}

/* ========================================
   Property Detail Page
   ======================================== */
.property-detail {
  padding: 80px 0;
}

.property-detail .container {
  max-width: 900px;
}

.property-detail-image {
  width: 100%;
  height: 450px;
  border-radius: 8px;
  background-size: cover;
  background-position: center;
  margin-bottom: 30px;
}

.property-detail-title {
  font-size: 32px;
  font-weight: 800;
  color: var(--dark);
  margin-bottom: 5px;
}

.property-detail-location {
  font-size: 15px;
  color: var(--text-muted);
  margin-bottom: 10px;
}

.property-detail-price {
  font-size: 28px;
  font-weight: 800;
  color: var(--primary-red);
  margin-bottom: 25px;
}

.property-detail-desc {
  font-size: 16px;
  color: var(--text-muted);
  line-height: 1.8;
  margin-bottom: 15px;
}

.property-detail-features {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 25px 0 35px;
}

.property-detail-features li {
  background: var(--light-gray);
  padding: 8px 16px;
  border-radius: 4px;
  font-size: 13px;
  font-weight: 600;
  color: var(--text-dark);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.property-gallery {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 15px;
  margin-bottom: 30px;
}

.property-gallery-item {
  border-radius: 8px;
  overflow: hidden;
}

.property-gallery-item img {
  width: 100%;
  height: 250px;
  object-fit: cover;
  display: block;
  transition: transform 0.3s ease;
}

.property-gallery-item img:hover {
  transform: scale(1.03);
}

.property-detail-cta {
  text-align: center;
  margin-top: 40px;
  padding: 40px;
  background: var(--light-gray);
  border-radius: 8px;
}

.property-detail-cta h3 {
  font-size: 22px;
  color: var(--dark);
  margin-bottom: 10px;
}

.property-detail-cta p {
  color: var(--text-muted);
  margin-bottom: 20px;
}

.property-back-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--text-muted);
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 30px;
  transition: var(--transition);
}

.property-back-link:hover {
  color: var(--primary-red);
}

/* ========================================
   Why Choose Us
   ======================================== */
.why-section {
  background: linear-gradient(135deg, var(--dark) 0%, var(--dark-secondary) 100%);
  color: var(--white);
}

.why-section .section-title {
  color: var(--white);
}

.why-section .section-desc {
  color: rgba(255,255,255,0.7);
}

.why-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
}

.why-card {
  background: rgba(255,255,255,0.05);
  padding: 35px;
  border-radius: 8px;
  border: 1px solid rgba(255,255,255,0.1);
  transition: var(--transition);
}

.why-card:hover {
  background: rgba(255,255,255,0.1);
  border-color: var(--primary-red);
  transform: translateY(-5px);
}

.why-icon {
  width: 55px;
  height: 55px;
  background: var(--primary-red);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}

.why-icon svg {
  width: 26px;
  height: 26px;
  color: var(--white);
}

.why-title {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 10px;
}

.why-desc {
  font-size: 14px;
  color: rgba(255,255,255,0.7);
  line-height: 1.6;
}

/* ========================================
   Process Section
   ======================================== */
.process-section {
  background: var(--white);
}

.process-steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  position: relative;
}

.process-step {
  text-align: center;
  position: relative;
}

.step-number {
  width: 80px;
  height: 80px;
  background: var(--white);
  border: 3px solid var(--primary-red);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  font-size: 28px;
  font-weight: 800;
  color: var(--primary-red);
  transition: var(--transition);
}

.process-step:hover .step-number {
  background: var(--primary-red);
  color: var(--white);
}

.step-title {
  font-size: 18px;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 8px;
}

.step-desc {
  font-size: 14px;
  color: var(--text-muted);
}

/* ========================================
   Testimonials
   ======================================== */
.testimonials-section {
  background: var(--light-gray);
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 30px;
}

.testimonial-card {
  background: var(--white);
  padding: 35px;
  border-radius: 8px;
  box-shadow: var(--shadow);
  position: relative;
}

.testimonial-card::before {
  content: '"';
  font-size: 80px;
  color: var(--primary-red);
  opacity: 0.2;
  position: absolute;
  top: 10px;
  left: 20px;
  font-family: Georgia, serif;
  line-height: 1;
}

.testimonial-text {
  font-size: 15px;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 20px;
  position: relative;
  z-index: 1;
  padding-top: 20px;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 15px;
}

.author-avatar {
  width: 50px;
  height: 50px;
  background: var(--primary-red);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-weight: 700;
  font-size: 18px;
}

.author-info h4 {
  font-size: 16px;
  color: var(--dark);
  margin-bottom: 3px;
}

.author-info span {
  font-size: 13px;
  color: var(--text-muted);
}

/* ========================================
   CTA Section
   ======================================== */
.cta-section {
  background: linear-gradient(135deg, var(--primary-red) 0%, var(--primary-red-dark) 100%);
  padding: 80px 0;
  text-align: center;
  color: var(--white);
}

.cta-title {
  font-size: 36px;
  font-weight: 800;
  margin-bottom: 15px;
}

.cta-desc {
  font-size: 18px;
  opacity: 0.9;
  margin-bottom: 30px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.cta-section .btn {
  background: var(--white);
  color: var(--primary-red);
}

.cta-section .btn:hover {
  background: var(--dark);
  color: var(--white);
}

/* ========================================
   Contact Section
   ======================================== */
.contact-section {
  background: var(--white);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
}

.contact-info-card {
  background: var(--dark);
  color: var(--white);
  padding: 40px;
  border-radius: 8px;
}

.contact-info-card h3 {
  font-size: 24px;
  margin-bottom: 10px;
}

.contact-info-card .sub {
  color: rgba(255,255,255,0.7);
  margin-bottom: 30px;
}

.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 15px;
  margin-bottom: 25px;
}

.contact-item svg {
  width: 22px;
  height: 22px;
  color: var(--primary-red);
  flex-shrink: 0;
  margin-top: 3px;
}

.contact-item div strong {
  display: block;
  font-size: 15px;
  margin-bottom: 3px;
}

.contact-item div span {
  font-size: 14px;
  color: rgba(255,255,255,0.7);
}

.contact-form-wrap {
  padding: 10px 0;
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  font-size: 14px;
  font-weight: 600;
  color: var(--dark);
  margin-bottom: 6px;
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 14px 16px;
  border: 1px solid var(--medium-gray);
  border-radius: 4px;
  font-size: 15px;
  font-family: inherit;
  transition: var(--transition);
  background: var(--white);
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  outline: none;
  border-color: var(--primary-red);
  box-shadow: 0 0 0 3px rgba(200, 16, 46, 0.1);
}

.form-group textarea {
  resize: vertical;
  min-height: 120px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 15px;
}

/* ========================================
   Footer
   ======================================== */
.footer {
  background: var(--dark);
  color: var(--white);
  padding: 60px 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
}

.footer-brand .logo {
  margin-bottom: 20px;
}

.footer-brand .logo-text {
  color: var(--white);
}

.footer-brand .logo-tagline {
  color: rgba(255,255,255,0.6);
}

.footer-brand p {
  color: rgba(255,255,255,0.7);
  font-size: 14px;
  line-height: 1.7;
  margin-bottom: 20px;
}

.footer-title {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 20px;
  color: var(--white);
}

.footer-links li {
  margin-bottom: 12px;
}

.footer-links a {
  color: rgba(255,255,255,0.7);
  font-size: 14px;
  transition: var(--transition);
}

.footer-links a:hover {
  color: var(--primary-red);
  padding-left: 5px;
}

.footer-contact li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 12px;
  color: rgba(255,255,255,0.7);
  font-size: 14px;
}

.footer-contact svg {
  width: 16px;
  height: 16px;
  color: var(--primary-red);
  flex-shrink: 0;
  margin-top: 3px;
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding: 20px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
}

.footer-bottom p {
  font-size: 14px;
  color: rgba(255,255,255,0.5);
}

/* ========================================
   Page Banner
   ======================================== */
.page-banner {
  background: linear-gradient(135deg, var(--dark) 0%, var(--dark-secondary) 100%);
  padding: 160px 0 80px;
  text-align: center;
  color: var(--white);
}

.page-banner h1 {
  font-size: 42px;
  font-weight: 800;
  margin-bottom: 10px;
}

.page-banner p {
  font-size: 16px;
  color: rgba(255,255,255,0.7);
}

/* ========================================
   About Page
   ======================================== */
.mission-section {
  background: var(--light-gray);
}

.mission-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.mission-card {
  background: var(--white);
  padding: 40px 30px;
  border-radius: 8px;
  text-align: center;
  box-shadow: var(--shadow);
  transition: var(--transition);
}

.mission-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-hover);
}

.mission-card .icon {
  width: 60px;
  height: 60px;
  background: rgba(200, 16, 46, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
}

.mission-card .icon svg {
  width: 28px;
  height: 28px;
  color: var(--primary-red);
}

.mission-card h3 {
  font-size: 20px;
  margin-bottom: 10px;
  color: var(--dark);
}

.mission-card p {
  color: var(--text-muted);
  font-size: 15px;
  line-height: 1.6;
}

.team-section {
  background: var(--white);
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
}

.team-card {
  background: var(--light-gray);
  border-radius: 8px;
  overflow: hidden;
  text-align: center;
  transition: var(--transition);
}

.team-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-hover);
}

.team-card .team-img {
  width: 100%;
  height: 280px;
  background: linear-gradient(135deg, var(--dark-secondary), var(--dark));
  display: flex;
  align-items: center;
  justify-content: center;
}

.team-card .team-img svg {
  width: 80px;
  height: 80px;
  color: rgba(255,255,255,0.3);
}

.team-card .team-info {
  padding: 25px;
}

.team-card h4 {
  font-size: 18px;
  color: var(--dark);
  margin-bottom: 5px;
}

.team-card span {
  color: var(--primary-red);
  font-size: 14px;
  font-weight: 600;
}

/* ========================================
   Services Page
   ======================================== */
.service-detail-card {
  display: flex;
  gap: 40px;
  background: var(--white);
  border-radius: 8px;
  overflow: hidden;
  margin-bottom: 30px;
}

.service-detail-card:nth-child(even) {
  flex-direction: row-reverse;
}

.service-detail-img {
  flex: 1;
  min-height: 300px;
  background: linear-gradient(135deg, var(--dark), var(--dark-secondary));
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

/* Service-specific visual backgrounds - Image based with overlay */
.service-detail-img.shipping-bg {
  background: linear-gradient(135deg, rgba(26,42,58,0.2) 0%, rgba(13,33,55,0.2) 100%);
  background-size: cover;
  background-position: center;
}
.service-detail-img.shipping-bg::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: url("data:image/svg+xml,%3Csvg width='80' height='80' viewBox='0 0 80 80' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='%23ffffff' fill-opacity='0.03' fill-rule='evenodd'%3E%3Cpath d='M0 40h40v40H0zM40 0h40v40H40z'/%3E%3C/g%3E%3C/svg%3E");
}

.service-detail-img.clearing-bg {
  background: linear-gradient(135deg, rgba(42,26,58,0.2) 0%, rgba(29,13,55,0.2) 100%);
  background-size: cover;
  background-position: center;
}
.service-detail-img.clearing-bg::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  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");
}

.service-detail-img.haulage-bg {
  background: linear-gradient(135deg, rgba(58,42,26,0.2) 0%, rgba(55,45,13,0.2) 100%);
  background-size: cover;
  background-position: center;
}
.service-detail-img.haulage-bg::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: url("data:image/svg+xml,%3Csvg width='40' height='40' viewBox='0 0 40 40' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='%23ffffff' fill-opacity='0.03' fill-rule='evenodd'%3E%3Cpath d='M0 0h20v20H0zm20 20h20v20H20z'/%3E%3C/g%3E%3C/svg%3E");
}

.service-detail-img.oilgas-bg {
  background: linear-gradient(135deg, rgba(26,26,46,0.2) 0%, rgba(22,33,62,0.2) 100%);
  background-size: cover;
  background-position: center;
}
.service-detail-img.oilgas-bg::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: radial-gradient(circle at 30% 30%, rgba(200, 16, 46, 0.08) 0%, transparent 50%);
}

.service-detail-img.air-bg {
  background: linear-gradient(135deg, rgba(26,58,90,0.2) 0%, rgba(13,42,71,0.2) 100%);
  background-size: cover;
  background-position: center;
}
.service-detail-img.air-bg::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: url("data:image/svg+xml,%3Csvg width='100' height='100' viewBox='0 0 100 100' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M11 18c3.5 0 7-1.5 10-4.5 3 3 6.5 4.5 10 4.5' stroke='%23ffffff' stroke-opacity='0.03' fill='none' stroke-width='2'/%3E%3C/svg%3E");
}

.service-detail-img.bonded-bg {
  background: linear-gradient(135deg, rgba(42,58,26,0.2) 0%, rgba(29,55,13,0.2) 100%);
  background-size: cover;
  background-position: center;
}

.service-detail-img.realestate-bg {
  background: linear-gradient(135deg, rgba(42,26,13,0.25) 0%, rgba(55,33,22,0.25) 100%);
  background-size: cover;
  background-position: center;
}
.service-detail-img.realestate-bg::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  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='%23ffffff' fill-opacity='0.04'%3E%3Cpath d='M30 5L10 20v35h15V35h10v20h15V20z'/%3E%3C/g%3E%3C/svg%3E");
}
.service-detail-img.bonded-bg::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: url("data:image/svg+xml,%3Csvg width='50' height='50' viewBox='0 0 50 50' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='%23ffffff' fill-opacity='0.03' fill-rule='evenodd'%3E%3Ccircle cx='25' cy='25' r='3'/%3E%3C/g%3E%3C/svg%3E");
}

.service-detail-img.landverification-bg {
  background: linear-gradient(135deg, rgba(13,42,71,0.25) 0%, rgba(22,55,89,0.25) 100%);
  background-size: cover;
  background-position: center;
}
.service-detail-img.landverification-bg::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: url("data:image/svg+xml,%3Csvg width='40' height='40' viewBox='0 0 40 40' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='%23ffffff' fill-opacity='0.03' fill-rule='evenodd'%3E%3Ccircle cx='20' cy='20' r='2'/%3E%3C/g%3E%3C/svg%3E");
}

.service-detail-img.propertyacquisition-bg {
  background: linear-gradient(135deg, rgba(42,58,13,0.25) 0%, rgba(55,71,22,0.25) 100%);
  background-size: cover;
  background-position: center;
}
.service-detail-img.propertyacquisition-bg::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: url("data:image/svg+xml,%3Csvg width='50' height='50' viewBox='0 0 50 50' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M25 10L10 25h5v15h20V25h5z'/%3E%3C/g%3E%3C/svg%3E");
}

.service-detail-content {
  flex: 1;
  padding: 40px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.service-detail-content h3 {
  font-size: 24px;
  color: var(--dark);
  margin-bottom: 15px;
}

.service-detail-content p {
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 15px;
}

.service-detail-content ul {
  margin-top: 10px;
}

.service-detail-content ul li {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 8px;
  color: var(--text-dark);
  font-size: 15px;
}

.service-detail-content ul li svg {
  width: 18px;
  height: 18px;
  color: var(--primary-red);
  flex-shrink: 0;
}

/* ========================================
   Mobile Responsive
   ======================================== */
@media (max-width: 992px) {
  .hero .container {
    flex-direction: column;
    text-align: center;
  }

  .hero-content {
    max-width: 100%;
  }

  .hero-subtitle {
    justify-content: center;
  }

  .hero-title {
    font-size: 40px;
  }

  .hero-buttons {
    justify-content: center;
  }

  .about-section .container,
  .homes-section .container {
    flex-direction: column;
  }

  .about-image-badge {
    right: 10px;
    bottom: -15px;
  }

  .contact-grid {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }

  .service-detail-card,
  .service-detail-card:nth-child(even) {
    flex-direction: column;
  }

  .mission-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .hero {
    background: linear-gradient(135deg, var(--dark) 0%, var(--dark-secondary) 50%, #1a1a2e 100%), url('../images/fallback.jpg');
    background-size: cover;
    background-position: center;
    min-height: 100vh;
    min-height: 100dvh;
    padding-top: 0;
  }

  .hero-stats {
    display: none !important;
  }

  .mobile-menu-btn {
    display: block;
  }

  .nav-links {
    position: fixed;
    top: 70px;
    right: -100%;
    width: 100%;
    height: calc(100vh - 70px);
    background: var(--white);
    flex-direction: column;
    padding: 30px 20px;
    transition: var(--transition);
    box-shadow: var(--shadow);
  }

  .nav-links.active {
    right: 0;
  }

  .nav-links a {
    color: var(--dark);
    font-size: 16px;
  }

  .hero-title {
    font-size: 32px;
  }

  .hero-desc {
    font-size: 16px;
  }

  .section-title {
    font-size: 28px;
  }

  .process-steps {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr;
  }

  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .about-image-main,
  .homes-image-main {
    height: 300px;
  }

  .about-features {
    grid-template-columns: 1fr;
  }
}

/* ========================================
   WhatsApp Floating Button
   ======================================== */
.whatsapp-btn {
  position: fixed;
  bottom: 20px;
  right: 20px;
  width: 60px;
  height: 60px;
  background: #25D366;
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 999;
  box-shadow: 0 4px 15px rgba(37, 211, 102, 0.4);
  transition: all 0.3s ease;
}

.whatsapp-btn:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 20px rgba(37, 211, 102, 0.6);
  color: white;
}

.whatsapp-btn svg {
  width: 32px;
  height: 32px;
}

/* ========================================
   Animations
   ======================================== */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.fade-in {
  animation: fadeInUp 0.6s ease forwards;
}

/* Scroll Reveal */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.6s ease;
}

.reveal.active {
  opacity: 1;
  transform: translateY(0);
}

/* ========================================
   Gallery Page
   ======================================== */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 20px;
}

.gallery-item {
  border-radius: 8px;
  overflow: hidden;
  background: var(--white);
  box-shadow: var(--shadow);
  transition: var(--transition);
}

.gallery-item:hover {
  box-shadow: var(--shadow-hover);
}

.gallery-img {
  width: 100%;
  height: 250px;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  transition: transform 0.3s ease;
}

.gallery-item:hover .gallery-img {
  transform: scale(1.03);
}

.gallery-caption {
  padding: 12px 15px;
  font-size: 14px;
  font-weight: 600;
  color: var(--text-dark);
  background: var(--white);
}

.gallery-video-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 25px;
}

.gallery-video-item {
  border-radius: 8px;
  overflow: hidden;
  background: var(--white);
  box-shadow: var(--shadow);
  transition: var(--transition);
}

.gallery-video-item:hover {
  box-shadow: var(--shadow-hover);
}

.video-wrapper {
  position: relative;
  width: 100%;
  padding-bottom: 56.25%;
  background: var(--dark);
}

.video-wrapper iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: none;
}
