/* Introductory Offer Banner */
.intro-offer-banner {
  background: linear-gradient(135deg, #e74c3c, #c0392b);
  color: white;
  padding: 0.75rem 0;
  text-align: center;
  box-shadow: 0 1px 5px rgba(0, 0, 0, 0.1);
  position: relative;
  z-index: 1000;
  font-size: 0.9rem;
}

.banner-content {
  max-width: 1000px;
  margin: 0 auto;
  padding: 0 1rem;
  display: block;
  text-align: center;
}

.banner-content h3 {
  margin: 0 0 0.3rem 0;
  font-size: 1.1rem;
  font-weight: 600;
  color: #fff;
  display: block;
  text-align: center;
}

.banner-content p {
  margin: 0;
  font-size: 0.9rem;
  line-height: 1.3;
  color: #fff;
  display: block;
  text-align: center;
}

.inline-cta {
  color: #fff !important;
  text-decoration: underline !important;
  font-weight: 700 !important;
  margin-left: 0.5rem;
  transition: color 0.3s ease;
  display: inline !important;
  background: none !important;
  border: none !important;
  padding: 0 !important;
  border-radius: 0 !important;
  min-width: auto !important;
  transform: none !important;
}

.inline-cta:hover {
  color: #ffeb3b !important;
  text-decoration: underline !important;
  background: none !important;
  transform: none !important;
}

.nowrap-cta {
  white-space: nowrap;
  display: inline-block;
}

.offer-text h3 {
  margin: 0 0 0.25rem 0;
  font-size: 1.1rem;
  font-weight: 500;
}

.offer-text p {
  margin: 0;
  font-size: 0.85rem;
  line-height: 1.3;
  opacity: 0.95;
}

.guarantee {
  background: rgba(255, 255, 255, 0.15);
  padding: 0.15rem 0.4rem;
  border-radius: 3px;
  font-weight: 500;
  font-size: 0.8rem;
}

.offer-cta .cta-button {
  background: white;
  color: #e74c3c;
  padding: 0.5rem 1rem;
  text-decoration: none;
  border-radius: 20px;
  font-weight: 500;
  font-size: 0.85rem;
  transition: all 0.3s ease;
  display: inline-block;
}

.offer-cta .cta-button:hover {
  background: #f8f9fb;
  transform: translateY(-1px);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

@media (max-width: 768px) {
  .intro-offer-banner {
    padding: 0.6rem 0;
    font-size: 0.85rem;
  }

  .banner-content {
    padding: 0 0.75rem;
  }

  .banner-content h3 {
    font-size: 1rem;
    margin-bottom: 0.25rem;
  }

  .banner-content p {
    font-size: 0.85rem;
    line-height: 1.2;
  }

  .guarantee {
    font-size: 0.75rem;
  }

  .offer-cta .cta-button {
    font-size: 0.8rem;
    padding: 0.4rem 0.8rem;
  }
}

body {
  /* Option 1: Open Sans (clean, widely used, professional) */
  font-family: 'Open Sans', sans-serif;

  /* Option 2: Lato (friendly, humanist, readable) */
  /* font-family: "Lato", sans-serif; */

  /* Option 3: Inter (modern, designed for UI) */
  /* font-family: "Inter", sans-serif; */

  margin: 0;
  padding: 0;
  color: #333;
  line-height: 1.6;
  background-color: #fdfdfa;
}

/* Waypoint Hero Header Styles */
.waypoint-hero {
  position: relative;
  width: 100%;
  min-height: 35vh;
  overflow: hidden;
}

.banner-container {
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
}

.hero-banner {
  width: 100%;
  height: 35vh;
  object-fit: cover;
  object-position: center center;
  margin-top: 1.5vh;
}

/* Hero Text Section */
.hero-text-section {
  background: linear-gradient(135deg, #2c3e50 0%, #34495e 100%);
  padding: 2rem 0;
  text-align: center;
  color: white;
}

.hero-text-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

.hero-text-section h1 {
  font-size: 2.5rem;
  margin: 0 0 1rem 0;
  font-weight: 600;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.hero-text-section p {
  font-size: 1.2rem;
  margin: 0;
  font-weight: 300;
  opacity: 0.95;
}

.hero-logo {
  max-width: 400px;
  width: 100%;
  height: auto;
  margin-bottom: 1rem;
  filter: drop-shadow(2px 2px 4px rgba(0, 0, 0, 0.3));
}

/* Navigation Styles */
.main-nav {
  background: rgba(0, 0, 0, 0.05);
  border-bottom: 1px solid rgba(0, 0, 0, 0.1);
  padding: 12px 0;
  text-align: center;
  margin-bottom: 20px;
  position: sticky;
  top: 0;
  z-index: 100;
  backdrop-filter: blur(10px);
}

.nav-container {
  max-width: 1200px;
  margin: 0 auto;
}

.nav-link {
  display: inline-block;
  padding: 10px 20px;
  margin: 0 10px;
  text-decoration: none;
  color: #333;
  border-radius: 6px;
  transition: all 0.3s ease;
  font-weight: 500;
}

.nav-link:hover {
  background: rgba(0, 0, 0, 0.1);
  transform: translateY(-1px);
}

/* Legacy header styles (kept for other pages) */
header {
  background-color: #1c1924;
  color: #fff;
  padding: 2rem 0;
  min-height: 200px;
}

.header-content {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  max-width: 900px;
  margin: 0 auto;
  padding: 1rem;
}
header .headshot {
  flex: 1;
}
header .headshot img {
  width: 100%; /* Makes the image responsive */
  aspect-ratio: 1 / 1; /* Locks to a square aspect ratio (1:1) */
  object-fit: cover; /* Ensures the image fills the area */
  border-radius: 1%; /* Optional: Makes it circular */
  border-color: white;
  border: 0.5rem solid;
  border-bottom: 1rem solid;
}
header .details {
  flex: 2;
  display: flex;
  justify-content: left; /* Centers the logo horizontally */
  align-items: center; /* Centers the logo vertically */
  text-align: center;
}

.logo {
  max-width: 100%; /* Ensures the logo scales responsively */
  height: auto; /* Maintains aspect ratio */
  max-height: 150px; /* Restored original size limit for index and resume pages */
}

/* Large logo specifically for drone page */
.logo.drone-logo {
  max-height: none; /* Remove height restriction for drone page */
}

header h1 {
  font-size: 2rem;
  margin: 0;
}
header h2 {
  font-size: 1.2rem;
  font-weight: 300;
  margin: 0;
}
.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 2rem;
}
section {
  margin-bottom: 2rem;
}
.section-title {
  font-size: 1.5rem;
  border-bottom: 2px solid #ccc;
  margin-bottom: 1rem;
  padding-bottom: 0.5rem;
  color: #555;
}
.entry {
  margin-bottom: 1.5rem;
}
.entry h3 {
  font-size: 1.2rem;
  margin: 0;
  color: #333;
}
.entry span {
  font-size: 0.9rem;
  color: #777;
}
.entry p {
  margin: 0.5rem 0 0;
}
.panel {
  padding: 1.5rem;
  margin-bottom: 2rem;
  border-radius: 6px;
  background-color: #ffffff;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}
footer {
  text-align: center;
  padding: 1rem;
  background-color: #333;
  color: #fff;
  font-size: 0.9rem;
}
a {
  color: #e3a759;
  text-decoration: none;
}
a:hover {
  text-decoration: underline;
}
.flex-row {
  display: flex;
  flex-direction: row;
  gap: 2rem;
  flex-wrap: wrap;
}
.entry-subtitle {
  font-weight: 550;
}

.professional-summary-paragraph {
  font-size: 1.1rem;
}

/* Responsive video embeds */
.video-showcase {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin: 2rem 0;
}

.video-container {
  position: relative;
  width: 100%;
  height: 0;
  padding-bottom: 56.25%; /* 16:9 aspect ratio */
  overflow: hidden;
  border-radius: 8px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.video-container iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.video-container video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 0;
  object-fit: cover;
}

/* Waypoint Media Specific Styles */

/* Hero Video Section */
.hero-video {
  text-align: center;
  padding: 3rem 0;
}

.hero-video-container {
  max-width: 800px;
  margin: 0 auto;
}

.video-wrapper {
  position: relative;
  width: 100%;
  height: 0;
  padding-bottom: 56.25%;
  margin-bottom: 2rem;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
}

.video-wrapper iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.hero-text h2 {
  font-size: 2rem;
  margin-bottom: 0.5rem;
  color: #333;
}

.hero-text p {
  font-size: 1.1rem;
  color: #666;
  margin: 0;
}

/* Services Grid */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin: 2rem 0;
}

.service-item {
  padding: 1.5rem;
  border-radius: 8px;
  background: #f8f9fa;
  border-left: 4px solid #e3a759;
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease;
}

.service-item:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.service-item h3 {
  color: #333;
  margin-bottom: 1rem;
  font-size: 1.3rem;
}

.service-item h3 i {
  margin-right: 0.5rem;
  color: #e3a759;
}

.service-item ul {
  list-style: none;
  padding: 0;
}

.service-item ul li {
  padding: 0.25rem 0;
  position: relative;
  padding-left: 1.5rem;
}

.service-item ul li:before {
  content: '✓';
  position: absolute;
  left: 0;
  color: #28a745;
  font-weight: bold;
}

/* Sidebar Styles */
.sidebar {
  background: #f8f9fa;
}

.contact-section,
.social-section,
.credentials-section,
.service-area {
  margin-bottom: 2rem;
}

.contact-info p,
.social-links a {
  display: flex;
  align-items: center;
  margin: 0.5rem 0;
}

.contact-info i,
.social-links i {
  margin-right: 0.5rem;
  width: 20px;
}

.social-link {
  display: block;
  padding: 0.5rem 0;
  text-decoration: none;
  color: #333;
  transition: color 0.3s ease;
}

.social-link:hover {
  color: #e3a759;
}

.credentials ul {
  list-style: none;
  padding: 0;
}

.credentials ul li {
  padding: 0.25rem 0;
  position: relative;
  padding-left: 1.5rem;
}

.credentials ul li i {
  position: absolute;
  left: 0;
  color: #e3a759;
  width: 16px;
}

/* Gallery Section */
.gallery-section {
  padding: 3rem 2rem;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin: 2rem 0;
}

.gallery-item {
  text-align: center;
}

.gallery-item video {
  width: 100%;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  margin-bottom: 1rem;
}

.gallery-item h3 {
  margin: 1rem 0 0.5rem 0;
  color: #333;
}

.gallery-item p {
  color: #666;
  margin: 0;
}

/* About Section */
.about-section {
  padding: 3rem 2rem;
}

.about-content {
  display: flex;
  align-items: center;
  gap: 3rem;
  flex-wrap: wrap;
}

.about-text {
  flex: 2;
  min-width: 300px;
}

.about-image {
  flex: 1;
  text-align: center;
  min-width: 200px;
}

.about-logo {
  max-width: 200px;
  width: 100%;
  height: auto;
}

/* Call to Action Section */
.cta-section {
  text-align: center;
  padding: 3rem 0;
  background: linear-gradient(135deg, #e3a759 0%, #e2ceaa 100%);
  color: white;
  border-radius: 12px;
}

.cta-section .section-title {
  color: white;
  border-bottom-color: rgba(255, 255, 255, 0.3);
}

.cta-content p {
  font-size: 1.1rem;
  margin-bottom: 2rem;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.cta-buttons {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

.cta-button {
  display: inline-block;
  padding: 12px 24px;
  text-decoration: none;
  border-radius: 6px;
  font-weight: bold;
  transition: all 0.3s ease;
  min-width: 150px;
}

.cta-button.primary {
  background: #fff;
  color: #e3a759;
}

.cta-button.primary:hover {
  background: #f8f9fa;
  transform: translateY(-1px);
}

.cta-button.secondary {
  background: transparent;
  color: white;
  border: 2px solid white;
}

.cta-button.secondary:hover {
  background: white;
  color: #e3a759;
  transform: translateY(-1px);
}

/* Recent Work Section */
.recent-work-section {
  background: #f8f9fb;
  padding: 4rem 2rem;
}

.work-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 2rem;
  max-width: 1200px;
  margin: 0 auto;
}

.work-item {
  background: white;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease;
}

.work-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

.video-container {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: #000;
}

.video-container video {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.work-item h3 {
  padding: 1.5rem 1.5rem 0.5rem;
  color: #2c3e50;
  font-size: 1.3rem;
  margin: 0;
}

.work-item p {
  padding: 0 1.5rem 1.5rem;
  color: #666;
  margin: 0;
  line-height: 1.5;
}

.cta-work {
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #3498db, #2980b9);
  color: white;
  text-align: center;
}

.cta-content h3 {
  color: white;
  font-size: 1.5rem;
  margin-bottom: 1rem;
}

.cta-content p {
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 2rem;
  font-size: 1.1rem;
}

.work-cta-btn {
  display: inline-block;
  background: white;
  color: #3498db;
  padding: 0.75rem 1.5rem;
  margin: 0.5rem;
  text-decoration: none;
  border-radius: 25px;
  font-weight: 600;
  transition: all 0.3s ease;
}

.work-cta-btn:hover {
  background: #f8f9fb;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.work-cta-btn.secondary {
  background: rgba(255, 255, 255, 0.2);
  color: white;
  border: 2px solid white;
}

.work-cta-btn.secondary:hover {
  background: white;
  color: #3498db;
}

@media (max-width: 768px) {
  .work-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .video-container {
    height: 200px;
  }

  .work-cta-btn {
    display: inline-block;
    margin: 0.5rem 0.125rem;
    width: auto;
    min-width: 240px;
    max-width: calc(50% - 0.5rem);
  }

  .cta-content {
    padding: 1rem;
    text-align: center;
  }

  .cta-content p {
    margin-bottom: 1.5rem;
  }
}

@media (max-width: 480px) {
  .work-cta-btn {
    display: inline-block;
    margin: 0.25rem 0.0625rem;
    padding: 0.75rem 1rem;
    max-width: calc(50% - 0.25rem);
    box-sizing: border-box;
  }
}

/* Contact Form Section */
.contact-section {
  background: #f8f9fb;
  padding: 4rem 2rem;
}

.contact-content {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 4rem;
  align-items: start;
}

.contact-info h3 {
  color: #2c3e50;
  margin-bottom: 1rem;
  font-size: 1.5rem;
}

.contact-info p {
  color: #666;
  margin-bottom: 2rem;
  font-size: 1.1rem;
  line-height: 1.6;
}

.contact-details {
  margin-top: 1rem;
}

.contact-item {
  display: flex;
  align-items: center;
  margin-bottom: 1rem;
  color: #555;
}

.contact-item i {
  color: #e3a759;
  margin-right: 1rem;
  width: 20px;
  text-align: center;
}

.contact-form {
  background: white;
  border-radius: 12px;
  padding: 2.5rem;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  margin-bottom: 1.5rem;
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-group label {
  display: block;
  margin-bottom: 0.5rem;
  color: #2c3e50;
  font-weight: 500;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 2px solid #e1e8ed;
  border-radius: 8px;
  font-size: 1rem;
  transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: #e3a759;
}

.form-group textarea {
  resize: vertical;
  min-height: 100px;
}

.special-offer {
  background: linear-gradient(135deg, #e8f5e8, #f0f8f0);
  border: 2px solid #27ae60;
  border-radius: 8px;
  padding: 1rem;
  margin: 1.5rem 0;
}

.offer-highlight {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: #27ae60;
  font-size: 0.95rem;
}

.offer-highlight i {
  font-size: 1.2rem;
}

.submit-btn {
  background: linear-gradient(135deg, #e3a759, #e2ceaa);
  color: white;
  border: none;
  padding: 1rem 2rem;
  border-radius: 8px;
  font-size: 1.1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  justify-content: center;
  width: 100%;
}

.submit-btn:hover {
  background: linear-gradient(135deg, #d4941a, #e2ceaa);
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(227, 167, 89, 0.3);
}

@media (max-width: 768px) {
  .contact-content {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .form-row {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .contact-form {
    padding: 1.5rem;
  }
}

/* HoneyBook Form Styling */
.contact-content-full {
  max-width: 1200px;
  margin: 0 auto;
  text-align: center;
}

.contact-intro {
  margin-bottom: 3rem;
}

.contact-intro h3 {
  color: #2c3e50;
  font-size: 2rem;
  margin-bottom: 1rem;
}

.contact-intro p {
  font-size: 1.2rem;
  color: #666;
  margin-bottom: 2rem;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.contact-form-full {
  width: 100%;
}

.hb-p-68812f5f4c40a0000729a684-1 {
  max-width: 100%;
  margin: 0 auto;
}

.special-offer-note {
  margin: 2rem 0;
  padding: 1.5rem;
  background: linear-gradient(135deg, #e8f4f8, #f0f8ff);
  border-radius: 8px;
  border: 1px solid #d1ecf1;
}

.special-offer-note .offer-highlight {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: #155724;
  font-size: 1rem;
}

.special-offer-note .offer-highlight i {
  color: #dc3545;
  font-size: 1.2rem;
}

/* Contact Page Styles */
.contact-hero {
  text-align: center;
  padding: 3rem 2rem;
  background: linear-gradient(135deg, #f8f9fb, #e8f4f8);
}

.contact-hero-content h1 {
  color: #2c3e50;
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.hero-subtitle {
  font-size: 1.3rem;
  color: #666;
  max-width: 600px;
  margin: 0 auto;
  font-style: italic;
}

.contact-methods {
  padding: 4rem 2rem;
}

.contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  max-width: 1000px;
  margin: 0 auto;
}

.contact-method {
  text-align: center;
  padding: 2rem;
  background: white;
  border-radius: 12px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease;
}

.contact-method:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

.method-icon {
  width: 80px;
  height: 80px;
  background: linear-gradient(135deg, #e2ceaa, #8e44ad);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
}

.method-icon i {
  font-size: 2rem;
  color: white;
}

.contact-method h3 {
  color: #2c3e50;
  margin-bottom: 1rem;
  font-size: 1.3rem;
}

.contact-method p {
  color: #666;
  margin-bottom: 1.5rem;
  line-height: 1.6;
}

.contact-link {
  display: inline-block;
  color: #e3a759;
  font-weight: 600;
  font-size: 1.1rem;
  text-decoration: none;
  margin-bottom: 0.5rem;
  transition: color 0.3s ease;
}

.contact-link:hover {
  color: #e3a759;
  text-decoration: underline;
}

.contact-method small {
  display: block;
  color: #888;
  font-style: italic;
}

.special-offer-section {
  background: linear-gradient(135deg, #e8f4f8, #f0f8ff);
  padding: 3rem 2rem;
  margin: 2rem 0;
}

.offer-content {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
}

.offer-content h2 {
  color: #2c3e50;
  margin-bottom: 2rem;
  font-size: 2rem;
}

.offer-content h2 i {
  color: #dc3545;
  margin-right: 0.5rem;
}

.offer-details {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  margin-top: 2rem;
}

.offer-main h3 {
  color: #27ae60;
  font-size: 1.5rem;
  margin-bottom: 1rem;
}

.guarantee-box {
  background: rgba(255, 255, 255, 0.8);
  padding: 1.5rem;
  border-radius: 8px;
  border: 2px dashed #27ae60;
}

.guarantee-box h4 {
  color: #27ae60;
  margin-bottom: 1rem;
}

.guarantee-box h4 i {
  margin-right: 0.5rem;
}

.contact-info-section {
  background: #f8f9fb;
  padding: 3rem 2rem;
}

.info-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  max-width: 1000px;
  margin: 0 auto;
}

.info-item {
  background: white;
  padding: 2rem;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.info-item h3 {
  color: #2c3e50;
  margin-bottom: 1rem;
  font-size: 1.2rem;
}

.info-item h3 i {
  color: #e3a759;
  margin-right: 0.5rem;
}

.info-item p {
  margin: 0.5rem 0;
  color: #666;
}

.info-item .fas.fa-check {
  color: #27ae60;
  margin-right: 0.5rem;
}

@media (max-width: 768px) {
  .contact-hero-content h1 {
    font-size: 2rem;
  }

  .hero-subtitle {
    font-size: 1.1rem;
  }

  .contact-grid {
    grid-template-columns: 1fr;
  }

  .offer-details {
    grid-template-columns: 1fr;
  }

  .info-grid {
    grid-template-columns: 1fr;
  }
}

/* Portfolio Header Styles */
.portfolio-header {
  background: #f8f9fb;
  padding: 3rem 2rem;
  text-align: center;
}

.portfolio-header-content {
  max-width: 900px;
  margin: 0 auto;
}

.portfolio-header h1 {
  color: #2c3e50;
  font-size: 2.5rem;
  margin-bottom: 1rem;
  font-weight: 700;
}

.portfolio-subtitle {
  color: #666;
  font-size: 1.2rem;
  margin-bottom: 2rem;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.portfolio-stats {
  display: flex;
  gap: 3rem;
  justify-content: center;
  flex-wrap: wrap;
}

.stat-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.stat-item i {
  font-size: 1.8rem;
  color: #e3a759;
  margin-bottom: 0.5rem;
}

.stat-number {
  font-size: 1.8rem;
  font-weight: 700;
  color: #2c3e50;
  margin-bottom: 0.25rem;
}

.stat-label {
  color: #666;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 1px;
}

@media (max-width: 768px) {
  .portfolio-header h1 {
    font-size: 2rem;
  }

  .portfolio-stats {
    gap: 2rem;
  }

  .stat-item i {
    font-size: 1.5rem;
  }

  .stat-number {
    font-size: 1.5rem;
  }
}

/* Reviews Section Styles */
.reviews-section {
  background: #f8f9fb;
  padding: 4rem 2rem;
}

.reviews-container {
  max-width: 1200px;
  margin: 0 auto;
}

.reviews-section h2 {
  text-align: center;
  color: #2c3e50;
  font-size: 2.5rem;
  margin-bottom: 3rem;
  font-weight: 700;
}

.reviews-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}

.review-card {
  background: white;
  border-radius: 12px;
  padding: 2rem;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease;
}

.review-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.stars {
  display: flex;
  gap: 0.25rem;
  margin-bottom: 1rem;
}

.stars i {
  color: #f39c12;
  font-size: 1.2rem;
}

.review-content p {
  color: #555;
  font-size: 1.1rem;
  line-height: 1.6;
  margin-bottom: 1.5rem;
  font-style: italic;
}

.review-author {
  border-top: 1px solid #eee;
  padding-top: 1rem;
}

.review-author strong {
  display: block;
  color: #2c3e50;
  font-size: 1.1rem;
  margin-bottom: 0.25rem;
}

.review-author span {
  color: #666;
  font-size: 0.9rem;
}

.verified-badge {
  display: inline-block;
  color: #27ae60 !important;
  font-size: 0.8rem !important;
  margin-left: 0.5rem;
}

.verified-badge i {
  margin-right: 0.25rem;
}

@media (max-width: 768px) {
  .reviews-section h2 {
    font-size: 2rem;
  }

  .reviews-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .review-card {
    padding: 1.5rem;
  }
}

/* Commercial Portfolio Styles */
.commercial-services {
  background: #f8f9fb;
  padding: 4rem 2rem;
}

.commercial-services h2 {
  text-align: center;
  color: #2c3e50;
  margin-bottom: 3rem;
  font-size: 2.5rem;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  max-width: 1200px;
  margin: 0 auto;
}

.service-card {
  background: white;
  padding: 2rem;
  border-radius: 12px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease;
  text-align: center;
}

.service-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

.service-icon {
  width: 80px;
  height: 80px;
  background: linear-gradient(135deg, #e3a759, #e2ceaa);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
}

.service-icon i {
  font-size: 2rem;
  color: white;
}

.service-card h3 {
  color: #2c3e50;
  margin-bottom: 1rem;
  font-size: 1.4rem;
}

.service-card p {
  color: #666;
  margin-bottom: 1.5rem;
  line-height: 1.6;
}

.service-card ul {
  text-align: left;
  list-style: none;
  padding: 0;
}

.service-card ul li {
  color: #555;
  margin: 0.5rem 0;
  padding-left: 1.5rem;
  position: relative;
}

.service-card ul li:before {
  content: '✓';
  position: absolute;
  left: 0;
  color: #27ae60;
  font-weight: bold;
}

.portfolio-empty {
  text-align: center;
  padding: 4rem 2rem;
  background: #f8f9fb;
  border-radius: 12px;
  margin: 2rem 0;
}

.empty-state i {
  font-size: 4rem;
  color: #bdc3c7;
  margin-bottom: 1rem;
}

.empty-state h3 {
  color: #2c3e50;
  margin-bottom: 1rem;
  font-size: 1.8rem;
}

.empty-state p {
  color: #666;
  margin-bottom: 2rem;
  max-width: 500px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.6;
}

.portfolio-list {
  display: flex !important;
  flex-direction: column;
  gap: 2rem;
}

.portfolio-list .portfolio-item {
  display: flex;
  background: white;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.portfolio-list .video-container {
  flex: 0 0 400px;
  aspect-ratio: 16/9;
  min-height: 225px;
  position: relative;
}

.portfolio-list .video-container video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.portfolio-list .video-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.portfolio-list .portfolio-item:hover .video-overlay {
  opacity: 1;
}

.portfolio-list .play-button {
  width: 60px;
  height: 60px;
  background: rgba(255, 255, 255, 0.9);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #e3a759;
  font-size: 1.5rem;
  transition: all 0.3s ease;
}

.portfolio-list .play-button:hover {
  background: white;
  transform: scale(1.1);
}

.portfolio-list .project-info {
  flex: 1;
  padding: 2rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.portfolio-list .project-info h3 {
  margin: 0 0 1rem 0;
  font-size: 1.4rem;
  font-weight: 600;
  color: #2c3e50;
}

.portfolio-list .project-description {
  margin: 0 0 1.5rem 0;
  color: #666;
  font-size: 1rem;
  line-height: 1.6;
  flex-grow: 1;
}

.portfolio-list .project-meta {
  margin: 0 0 1.5rem 0;
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  font-size: 0.9rem;
  color: #777;
}

.portfolio-list .view-project-btn {
  width: 200px;
  align-self: flex-start;
}

.project-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin: 1rem 0;
  font-size: 0.9rem;
  color: #666;
}

.project-meta span {
  display: flex;
  align-items: center;
  gap: 0.3rem;
}

.project-meta i {
  color: #e3a759;
}

.view-project-btn {
  background: linear-gradient(135deg, #e3a759, #2c3e50);
  color: white;
  border: none;
  padding: 0.75rem 1.5rem;
  border-radius: 25px;
  cursor: pointer;
  font-weight: 600;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  margin-top: 1rem;
}

.view-project-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(52, 152, 219, 0.3);
}

.portfolio-cta {
  background: linear-gradient(135deg, #e3a759, #e2ceaa);
  color: white;
  padding: 4rem 2rem;
  text-align: center;
  margin: 3rem 0;
  border-radius: 12px;
}

.portfolio-cta h2 {
  color: white;
  margin-bottom: 1rem;
  font-size: 2.2rem;
}

.portfolio-cta p {
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 2rem;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
  font-size: 1.1rem;
  line-height: 1.6;
}

@media (max-width: 768px) {
  .services-grid {
    grid-template-columns: 1fr;
  }

  .portfolio-list .portfolio-item {
    flex-direction: column;
  }

  .portfolio-list .video-container {
    flex: none;
    aspect-ratio: 16/9;
    min-height: auto;
  }

  .portfolio-list .project-info {
    padding: 1.5rem;
  }

  .portfolio-list .view-project-btn {
    width: 100%;
  }

  /* Modal responsive styles */
  .modal-content {
    width: 95%;
    margin: 5% auto;
  }

  #modal-video {
    max-height: 50vh;
  }

  .video-details {
    flex-direction: column;
    gap: 1rem;
  }

  /* Video gallery responsive */
  .video-gallery {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .video-gallery-item {
    margin: 0;
  }

  .commercial-services h2 {
    font-size: 2rem;
  }

  .portfolio-cta h2 {
    font-size: 1.8rem;
  }
}

/* Footer Styles */
.waypoint-footer {
  background: #1c1924;
  color: white;
  padding: 2rem 0;
  margin-top: 3rem;
}

.footer-content {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 2rem;
}

.footer-logo img {
  max-width: 150px;
  height: auto;
}

.footer-info {
  flex: 1;
  text-align: center;
}

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

.footer-social {
  display: flex;
  gap: 1rem;
}

.footer-social a {
  color: white;
  font-size: 1.2rem;
  transition: color 0.3s ease;
}

.footer-social a:hover {
  color: #e3a759;
}

/* Medium screens */
@media (max-width: 1024px) {
  .hero-banner {
    height: 78vh;
    margin-top: -9vh;
  }
}

/* Responsive Design */
@media (max-width: 768px) {
  .waypoint-hero {
    min-height: 45vh;
  }

  .hero-banner {
    height: 80vh;
    margin-top: -17.5vh;
    object-position: center 45%;
  }

  .hero-text-section {
    padding: 1.5rem 0;
  }

  .hero-text-section h1 {
    font-size: 2rem;
  }

  .hero-text-section p {
    font-size: 1.1rem;
  }

  .hero-logo {
    max-width: 300px;
  }

  .services-grid {
    grid-template-columns: 1fr;
  }

  .gallery-grid {
    grid-template-columns: 1fr;
  }

  .about-content {
    flex-direction: column;
    text-align: center;
  }

  .cta-buttons {
    flex-direction: column;
    align-items: center;
  }
}

/* Extra small screens */
@media (max-width: 480px) {
  .waypoint-hero {
    min-height: 35vh;
  }

  .hero-banner {
    height: 90vh;
    margin-top: -27.5vh;
    object-position: center 40%;
  }

  .hero-text-section {
    padding: 1rem 0;
  }

  .hero-text-container {
    padding: 0 1rem;
  }

  .hero-text-section h1 {
    font-size: 1.8rem;
    line-height: 1.2;
  }

  .hero-text-section p {
    font-size: 1rem;
  }

  .footer-content {
    flex-direction: column;
    text-align: center;
  }

  .nav-link {
    display: block;
    margin: 0.25rem 0;
  }
}

/* Portrait/vertical video styling for Instagram-style content */
.video-container.portrait {
  padding-bottom: 177.78%; /* 9:16 aspect ratio for vertical videos */
  max-width: 350px; /* Slightly wider to accommodate content */
  margin: 0 auto; /* Center the container */
}

.video-container.portrait video {
  object-fit: contain; /* Changed from cover to contain to show full video */
}

.video-title {
  margin-top: 0.5rem;
  font-size: 0.9rem;
  color: #555;
  text-align: center;
}

/* Navigation styling */
.nav-link {
  text-decoration: none;
  color: #333;
  font-weight: 500;
  margin: 0 20px;
  padding: 8px 16px;
  border-radius: 4px;
  transition:
    background 0.3s,
    color 0.3s;
  display: inline-block;
}

.nav-link:hover {
  background: rgba(0, 0, 0, 0.1);
}

.nav-link.active {
  background: #e3a759;
  color: white;
  font-weight: 600;
}

.nav-link.active:hover {
  background: #0056b3;
}

/* End navigation styling */

@media (max-width: 768px) {
  .header-content {
    flex-direction: column; /* Stack the elements vertically */
    text-align: center; /* Center align the text */
    align-items: center; /* Ensures items stay visible and centered */
  }

  .details {
    margin-bottom: 1rem; /* Add spacing below the logo */
  }

  .logo {
    width: 120px; /* Original mobile size for index and resume pages */
    height: auto; /* Maintain aspect ratio */
    fill: #fdfdfa; /* Ensure the color remains correct */
  }

  .logo.drone-logo {
    width: 280px; /* Larger size for drone page mobile */
  }

  .headshot img {
    max-width: 70%; /* Adjust image size */
    margin-top: 1rem; /* Add spacing above the headshot */
  }

  .video-showcase {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
}

@media (max-width: 480px) {
  .headshot img {
    max-width: 50%; /* Further restrict image size */
  }
}

/* Terms & Conditions Page Styles */
.simple-header {
  background: linear-gradient(135deg, #2c3e50 0%, #34495e 100%);
  padding: 1rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.header-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  text-align: center;
}

.header-logo {
  margin-bottom: 1rem;
}

.header-logo img {
  height: 350px;
  width: auto;
}

.header-nav .nav-link {
  color: white;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s ease;
}

.header-nav .nav-link:hover {
  color: #e3a759;
}

.page-title {
  font-size: 2.5rem;
  color: #2c3e50;
  margin-bottom: 1rem;
  text-align: center;
}

.terms-intro {
  font-size: 1.1rem;
  color: #666;
  text-align: center;
  margin-bottom: 2rem;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.terms-section {
  max-width: 1000px;
  margin: 0 auto;
}

.terms-section-block {
  margin-bottom: 2.5rem;
  padding: 2rem;
  background: #f8f9fa;
  border-radius: 8px;
  border-left: 4px solid #e3a759;
}

.terms-section-block h2 {
  color: #2c3e50;
  font-size: 1.5rem;
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.terms-section-block h2 i {
  color: #e3a759;
}

.terms-section-block ul {
  margin: 1rem 0;
  padding-left: 1.5rem;
}

.terms-section-block li {
  margin-bottom: 0.5rem;
  line-height: 1.6;
}

.note {
  background: #e8f4f8;
  padding: 1rem;
  border-radius: 5px;
  border-left: 3px solid #e2ceaa;
  margin: 1rem 0;
  font-style: italic;
}

/* Revisions Table */
.revisions-table {
  background: white;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  margin: 1.5rem 0;
}

.table-header {
  background: #2c3e50;
  color: white;
  font-weight: 600;
  display: grid;
  grid-template-columns: 60px 1fr 2fr 80px 80px;
  gap: 1rem;
  padding: 1rem;
}

.table-row {
  display: grid;
  grid-template-columns: 60px 1fr 2fr 80px 80px;
  gap: 1rem;
  padding: 1rem;
  border-bottom: 1px solid #eee;
  align-items: center;
}

.table-row:last-child {
  border-bottom: none;
}

.tier-1 {
  background: #e8f5e8;
}

.tier-2 {
  background: #fff3cd;
}

.tier-3 {
  background: #f8d7da;
}

.tier-4 {
  background: #d1ecf1;
}

.tier-col {
  font-weight: bold;
  text-align: center;
  font-size: 1.2rem;
}

.rate-col {
  font-weight: bold;
  text-align: center;
}

.free-col {
  text-align: center;
  font-weight: 500;
}

/* Contact Section */
.terms-contact {
  background: linear-gradient(135deg, #2c3e50 0%, #34495e 100%);
  color: white;
  padding: 2rem;
  border-radius: 8px;
  text-align: center;
  margin-top: 2rem;
}

.terms-contact h3 {
  margin-bottom: 1rem;
  font-size: 1.5rem;
}

.terms-contact a {
  color: #e3a759;
  text-decoration: none;
}

.terms-contact a:hover {
  text-decoration: underline;
}

/* Responsive Design for Terms */
@media (max-width: 768px) {
  .header-container {
    padding: 0 1rem;
  }

  .header-logo img {
    height: 180px;
  }

  .page-title {
    font-size: 2rem;
  }

  .terms-section-block {
    padding: 1.5rem;
  }

  .table-header,
  .table-row {
    grid-template-columns: 1fr;
    gap: 0.5rem;
  }

  .table-header {
    display: none;
  }

  .table-row {
    padding: 1rem;
    display: block;
  }

  .table-row > div {
    margin-bottom: 0.5rem;
  }

  .table-row > div:before {
    content: attr(data-label);
    font-weight: bold;
    display: inline-block;
    width: 100px;
  }

  .tier-col:before {
    content: 'Tier: ';
  }

  .description-col:before {
    content: 'Type: ';
  }

  .examples-col:before {
    content: 'Examples: ';
  }

  .free-col:before {
    content: 'Free: ';
  }

  .rate-col:before {
    content: 'Rate: ';
  }
}

/* Real Estate Page Styles */
.real-estate-hero .hero-banner {
  filter: brightness(0.9);
}

.real-estate-intro {
  background: white;
  border-radius: 12px;
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
  margin-bottom: 2rem;
}

.intro-content {
  padding: 2rem 0;
}

.intro-text {
  text-align: center;
  max-width: 800px;
  margin: 0 auto;
}

.intro-text p {
  font-size: 1.2rem;
  color: #555;
  margin-bottom: 2rem;
}

.intro-features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}

.feature-item {
  text-align: center;
  padding: 1.5rem;
  background: #f8f9fa;
  border-radius: 8px;
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease;
}

.feature-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.feature-item i {
  font-size: 2.5rem;
  color: #2c3e50;
  margin-bottom: 1rem;
}

.feature-item h3 {
  color: #2c3e50;
  margin-bottom: 0.5rem;
}

.feature-item p {
  color: #666;
  font-size: 0.9rem;
}

/* Portfolio Section */
.portfolio-section {
  background: white;
  border-radius: 12px;
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
  margin-bottom: 2rem;
  padding: 2rem;
}

/* Portfolio Controls */
.portfolio-controls {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 2rem;
  padding-bottom: 1rem;
  border-bottom: 2px solid #f8f9fa;
}

.portfolio-controls h2 {
  margin: 0;
  color: #2c3e50;
  font-size: 1.8rem;
  font-weight: 600;
}

.view-controls {
  display: flex;
  gap: 0.5rem;
}

.view-btn {
  background: #f8f9fa;
  border: 2px solid #e9ecef;
  color: #6c757d;
  padding: 0.5rem 1rem;
  border-radius: 6px;
  cursor: pointer;
  transition: all 0.3s ease;
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.view-btn:hover {
  background: #e9ecef;
  border-color: #dee2e6;
}

.view-btn.active {
  background: #e3a759;
  border-color: #e3a759;
  color: white;
}

.portfolio-filters {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 2rem;
  flex-wrap: wrap;
}

.filter-btn {
  background: #f8f9fa;
  border: 2px solid #e9ecef;
  color: #6c757d;
  padding: 0.75rem 1.5rem;
  border-radius: 25px;
  cursor: pointer;
  transition: all 0.3s ease;
  font-weight: 500;
}

.filter-btn:hover {
  background: #e9ecef;
  border-color: #dee2e6;
}

.filter-btn.active {
  background: #2c3e50;
  border-color: #2c3e50;
  color: white;
}

.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, 400px);
  gap: 2rem;
  margin-top: 2rem;
  padding: 0 2rem;
  justify-content: center;
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
}

.portfolio-item {
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease;
  background: white;
}

.portfolio-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.portfolio-image {
  position: relative;
  overflow: hidden;
  aspect-ratio: 4/3;
}

.portfolio-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.portfolio-item:hover .portfolio-image img {
  transform: scale(1.05);
}

.portfolio-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(transparent, rgba(0, 0, 0, 0.8));
  color: white;
  padding: 2rem 1.5rem 1.5rem;
  transform: translateY(60%);
  transition: transform 0.3s ease;
}

.portfolio-item:hover .portfolio-overlay {
  transform: translateY(0);
}

.project-info {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.project-info h3 {
  margin: 0 0 0.75rem 0;
  font-size: 1.2rem;
  font-weight: 600;
}

.project-info .project-description {
  margin: 0 0 1rem 0;
  color: #666;
  font-size: 0.9rem;
  line-height: 1.4;
  flex-grow: 1;
}

.project-meta {
  margin: 0 0 1.5rem 0;
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  font-size: 0.85rem;
  color: #777;
}

.project-type,
.project-date,
.video-count {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
}

.project-type i,
.project-date i,
.video-count i {
  font-size: 0.8rem;
  opacity: 0.7;
}

.view-project-btn {
  background: #e3a759;
  color: white;
  border: none;
  padding: 0.75rem 1.5rem;
  border-radius: 6px;
  cursor: pointer;
  font-size: 0.9rem;
  font-weight: 500;
  transition: background-color 0.3s ease;
  width: 100%;
  margin-top: auto;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
}

.commercial-page .portfolio-grid .view-project-btn {
  background: #e3a759;
  color: white;
  border: none;
  padding: 0.75rem 1.5rem;
  border-radius: 6px;
  cursor: pointer;
  font-size: 0.9rem;
  font-weight: 500;
  transition: background-color 0.3s ease;
  width: 100%;
  margin-top: auto;
  display: flex !important;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  flex: 0 0 auto;
}

.view-project-btn:hover,
.portfolio-grid .view-project-btn:hover {
  background: #e3a759;
}

/* Commercial Portfolio Specific Styling */
.commercial-page .portfolio-grid {
  grid-template-columns: repeat(auto-fit, minmax(350px, 380px));
}

.commercial-page .portfolio-item {
  display: flex;
  flex-direction: column;
  height: 520px; /* Fixed height for consistency */
}

.commercial-page .portfolio-grid .portfolio-item .video-container {
  position: relative;
  height: 220px; /* Fixed height instead of aspect-ratio */
  overflow: hidden;
  background: #f8f9fa;
  flex: 0 0 auto;
  padding-bottom: 0 !important; /* Override general video-container */
}

.commercial-page .portfolio-grid .portfolio-item .video-container video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border: 0;
}

/* Ensure project-info fills remaining space */
.commercial-page .portfolio-grid .project-info {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  flex: 1 1 auto;
  height: calc(100% - 220px); /* Remaining height after video */
  min-height: 0;
}

.commercial-page .project-info h3 {
  margin: 0 0 0.75rem 0;
  font-size: 1.2rem;
  font-weight: 600;
  flex: 0 0 auto;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.commercial-page .project-info .project-description {
  margin: 0 0 1rem 0;
  color: #666;
  font-size: 0.9rem;
  line-height: 1.4;
  flex: 1 1 auto;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
  max-height: 3em;
}

.commercial-page .project-meta {
  margin: 0 0 1rem 0;
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  font-size: 0.85rem;
  color: #777;
  flex: 0 0 auto;
}

.commercial-page .portfolio-grid .portfolio-item .video-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.commercial-page .portfolio-grid .portfolio-item:hover .video-overlay {
  opacity: 0;
}

.commercial-page .portfolio-grid .portfolio-item .play-button {
  display: none;
}

.commercial-page .portfolio-grid .portfolio-item .play-button:hover {
  display: none;
}

.portfolio-grid .portfolio-item .video-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.portfolio-grid .portfolio-item:hover .video-overlay {
  opacity: 0;
}

.portfolio-grid .portfolio-item .play-button {
  display: none;
}

.portfolio-overlay h3 {
  margin: 0 0 0.5rem 0;
  font-size: 1.2rem;
}

.portfolio-overlay p {
  margin: 0 0 1rem 0;
  font-size: 0.9rem;
  opacity: 0.9;
}

.view-shoot-btn {
  background: #e3a759;
  color: white;
  border: none;
  padding: 0.5rem 1rem;
  border-radius: 5px;
  cursor: pointer;
  font-size: 0.9rem;
  transition: background 0.3s ease;
}

.view-shoot-btn:hover {
  background: #e3a759;
}

/* Real Estate Services */
.real-estate-services {
  background: white;
  border-radius: 12px;
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
  margin-bottom: 2rem;
}

.real-estate-services .services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}

.real-estate-services .service-item {
  background: #f8f9fa;
  padding: 2rem;
  border-radius: 8px;
  border-left: 4px solid #e3a759;
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease;
}

.real-estate-services .service-item:hover {
  transform: translateY(-3px);
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.real-estate-services .service-item h3 {
  color: #2c3e50;
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.real-estate-services .service-item h3 i {
  color: #e3a759;
  font-size: 1.2rem;
}

/* Modal Styles */
.modal {
  display: none;
  position: fixed;
  z-index: 1000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.8);
  backdrop-filter: blur(5px);
}

.modal-content {
  background-color: white;
  margin: 2% auto;
  padding: 0;
  border-radius: 12px;
  width: 90%;
  max-width: 1200px;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: 0 10px 50px rgba(0, 0, 0, 0.3);
}

.modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.5rem 2rem;
  border-bottom: 1px solid #eee;
  background: #f8f9fa;
  border-radius: 12px 12px 0 0;
}

.modal-header h2 {
  margin: 0;
  color: #2c3e50;
}

.close {
  color: #aaa;
  font-size: 2rem;
  font-weight: bold;
  cursor: pointer;
  transition: color 0.3s ease;
  line-height: 1;
}

.close:hover {
  color: #333;
}

.modal-body {
  padding: 2rem;
}

/* Modal Video Styling */
#modal-video {
  width: 100%;
  max-width: 1000px;
  height: auto;
  max-height: 70vh;
  border-radius: 8px;
  margin: 0 auto 2rem auto;
  display: block;
  background: #000;
}

.video-info {
  margin-top: 2rem;
  padding-top: 2rem;
  border-top: 1px solid #eee;
}

.video-info p {
  margin: 0 0 1rem 0;
  color: #666;
  line-height: 1.6;
  font-size: 1rem;
}

.video-details {
  display: flex;
  gap: 2rem;
  flex-wrap: wrap;
}

.video-type,
.video-date {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.9rem;
  color: #777;
  background: #f8f9fa;
  padding: 0.5rem 1rem;
  border-radius: 20px;
}

/* Video Gallery Styles for Multiple Videos */
.video-gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
  gap: 2rem;
  margin-bottom: 2rem;
  align-items: stretch; /* Ensure equal heights */
}

.video-gallery-item {
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  background: white;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.gallery-video-container {
  position: relative;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.gallery-video-container video {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 12px 12px 0 0;
  max-height: 400px; /* Limit height for portrait videos */
  object-fit: contain; /* Maintain aspect ratio */
  flex: 1;
}

/* Handle portrait videos specifically */
.gallery-video-container video[style*='aspect-ratio'] {
  max-height: 300px;
}

.gallery-video-container video.portrait-video {
  max-height: 250px !important;
  width: auto !important;
  margin: 0 auto !important;
  display: block !important;
}

.video-overlay-info {
  padding: 1rem;
  border-top: 1px solid #eee;
  margin-top: auto; /* Push to bottom */
  background: white;
  border-radius: 0 0 12px 12px;
}

.video-overlay-info h4 {
  margin: 0;
  font-size: 1.1rem;
  font-weight: 600;
  color: #2c3e50;
  text-transform: capitalize;
}

.video-overlay-info .video-description {
  margin: 0.5rem 0 0 0;
  font-size: 0.9rem;
  color: #666;
  line-height: 1.4;
}

.shoot-description {
  text-align: center;
  margin-bottom: 2rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid #eee;
}

.shoot-description p {
  font-size: 1.1rem;
  color: #666;
  max-width: 600px;
  margin: 0 auto;
}

.shoot-image-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

.shoot-image-item {
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  cursor: pointer;
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease;
  background: white;
}

.shoot-image-item:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.shoot-image-item img {
  width: 100%;
  height: 250px;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.shoot-image-item:hover img {
  transform: scale(1.02);
}

.image-caption {
  padding: 1rem;
  background: white;
  color: #333;
  font-size: 0.9rem;
  line-height: 1.4;
  border-top: 1px solid #eee;
}

/* Image Overlay Caption for Full Screen View */
.image-overlay-caption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(transparent, rgba(0, 0, 0, 0.8));
  color: white;
  padding: 2rem 2rem 1.5rem;
  font-size: 1.1rem;
  line-height: 1.4;
  text-align: center;
  z-index: 2001;
}

/* Image Overlay for Full Screen View */
.image-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.95);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 2000;
  backdrop-filter: blur(10px);
}

.image-overlay-content {
  position: relative;
  width: 90vw;
  height: 90vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: black;
  border-radius: 8px;
}

.image-overlay-content img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  box-shadow: 0 10px 50px rgba(0, 0, 0, 0.5);
}

.image-overlay-close {
  position: absolute;
  top: -50px;
  right: 0;
  background: none;
  border: none;
  color: white;
  font-size: 2rem;
  cursor: pointer;
  padding: 0.5rem;
  border-radius: 50%;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.3s ease;
}

.image-overlay-close:hover {
  background: rgba(255, 255, 255, 0.1);
}

/* Image Overlay Navigation Arrows */
.image-overlay-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(0, 0, 0, 0.7);
  border: none;
  color: white;
  font-size: 3rem;
  cursor: pointer;
  padding: 1rem 1.5rem;
  border-radius: 8px;
  transition: all 0.3s ease;
  user-select: none;
  z-index: 2001;
}

.image-overlay-prev {
  left: 2rem;
}

.image-overlay-next {
  right: 2rem;
}

.image-overlay-nav:hover {
  background: rgba(0, 0, 0, 0.9);
  transform: translateY(-50%) scale(1.1);
}

/* Scroll to Top Button */
.scroll-to-top {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  background: #e3a759;
  color: white;
  border: none;
  border-radius: 50%;
  width: 50px;
  height: 50px;
  cursor: pointer;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  transition: all 0.3s ease;
  z-index: 999;
}

.scroll-to-top:hover {
  background: #e3a759;
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

/* Responsive Design for Real Estate Page */
@media (max-width: 768px) {
  .portfolio-filters {
    gap: 0.5rem;
  }

  .filter-btn {
    padding: 0.5rem 1rem;
    font-size: 0.9rem;
  }

  .portfolio-grid {
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    padding: 0 1rem;
  }

  .intro-features {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .feature-item {
    padding: 1rem;
  }

  .real-estate-services .services-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .modal-content {
    width: 95%;
    margin: 5% auto;
  }

  .modal-header {
    padding: 1rem;
  }

  .modal-body {
    padding: 1rem;
  }

  .shoot-image-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  /* Portfolio Section Mobile */
  .portfolio-section {
    margin-bottom: 1rem;
    padding: 1rem;
  }

  /* Portfolio Controls Mobile - Hide grid/list toggle */
  .portfolio-controls {
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 1rem;
  }

  .portfolio-controls h2 {
    font-size: 1.5rem;
    text-align: center;
    width: 100%;
  }

  .view-controls {
    display: none; /* Hide grid/list toggle on mobile */
  }

  /* Force grid view on mobile */
  .portfolio-list {
    display: none !important;
  }

  .portfolio-grid {
    display: grid !important;
  }

  /* Commercial Page Mobile Adjustments */
  .commercial-page .portfolio-grid {
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    padding: 0 1rem;
  }

  .commercial-page .portfolio-item {
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  }

  .commercial-page .portfolio-item:hover {
    transform: none; /* Disable hover effects on mobile */
  }

  /* Make portfolio overlay always visible on mobile */
  .portfolio-overlay {
    transform: translateY(0) !important;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.9));
  }
}

@media (max-width: 480px) {
  .portfolio-grid {
    grid-template-columns: 1fr;
    padding: 0 0.5rem;
  }

  .portfolio-overlay {
    padding: 1.5rem 1rem 1rem;
  }

  /* Make portfolio overlay always visible on mobile */
  .portfolio-overlay {
    transform: translateY(0) !important;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.9));
  }

  .scroll-to-top {
    bottom: 1rem;
    right: 1rem;
    width: 45px;
    height: 45px;
  }

  /* Mobile navigation arrows */
  .image-overlay-nav {
    font-size: 2rem;
    padding: 0.75rem 1rem;
  }

  .image-overlay-prev {
    left: 1rem;
  }

  .image-overlay-next {
    right: 1rem;
  }

  /* Portfolio Section Ultra Mobile */
  .portfolio-section {
    padding: 0.5rem;
    margin-bottom: 0.5rem;
  }

  .portfolio-controls h2 {
    font-size: 1.3rem;
  }

  /* Commercial Page Ultra Mobile */
  .commercial-page .portfolio-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
    padding: 0 0.5rem;
  }

  .commercial-page .portfolio-item {
    margin-bottom: 0.5rem;
  }

  /* Commercial Video Gallery Mobile */
  .commercial-page .video-gallery {
    grid-template-columns: 1fr;
    gap: 1rem;
    padding: 0;
  }

  .commercial-page .video-item {
    margin: 0;
  }

  /* Modal adjustments for mobile */
  .commercial-page .modal-content {
    width: 98%;
    margin: 1% auto;
    max-height: 95vh;
    overflow-y: auto;
  }

  .commercial-page .modal-video-container {
    max-height: 50vh;
  }

  .commercial-page .modal-video-container video {
    max-height: 50vh;
  }
}
