@import url("https://fonts.googleapis.com/css2?family=Poppins:wght@400;500;600;700;800&display=swap");

html,
body {
  margin: 0;
  padding: 0;
  font-family: "Poppins", sans-serif;
  font-weight: 700;
  color: #333;
  background: #f8f9fa;
  overflow-x: hidden;
}

body.bg-textured {
  background-color: #f8f9fa;
  background-image: 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="%23ced4da" fill-opacity="0.6"%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');
}

/* Full-page video background - now half height on desktop */
.hero {
  position: relative;
  width: 100%;
  height: 70vh;
  overflow: hidden;
}

.hero video {
  position: absolute;
  top: 0;
  left: 0;
  min-width: 100%;
  min-height: 100%;
  object-fit: cover;
  z-index: 0;
}

/* Updated breakpoint to hide video on tablets and mobile devices */
@media (max-width: 1024px) {
  .hero {
    height: 100vh;
    background: url("hero.png") no-repeat center center;
    background-size: cover;
  }

  .hero video {
    display: none;
  }
}

/* Mobile hero with static image */
@media (max-width: 768px) {
  .hero {
    height: 100vh;
    background: url("hero.png") no-repeat center center;
    background-size: cover;
  }

  .hero video {
    display: none;
  }
}

.video-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.1);
  z-index: 1;
}

/* Hero Logo Overlay - Better Balanced Positioning */
.hero-logo {
  position: absolute;
  top: 15%;
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  opacity: 0;
  transition: opacity 1.5s ease;
}

.hero-logo img {
  height: clamp(120px, 18vw, 280px); /* Increased from clamp(100px, 15vw, 220px) */
  width: auto;
  filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.3));
}

@media (max-width: 768px) {
  .hero-logo {
    top: 15%;
  }

  .hero-logo img {
    height: 220px; /* Significantly increased from 150px */
  }

  .video-text {
    top: 70%;
  }
}

@media (max-width: 480px) {
  .hero-logo {
    top: 18%;
  }

  .hero-logo img {
    height: 180px; /* Significantly increased from 120px */
  }

  .video-text {
    top: 65%;
  }
}

@media (min-width: 1024px) and (max-width: 1440px) {
  .hero-logo {
    top: 12%;
  }

  .hero-logo img {
    height: clamp(150px, 15vw, 220px); /* Increased from clamp(120px, 12vw, 180px) */
  }
}

.video-text {
  position: absolute;
  z-index: 2;
  top: 65%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  color: white;
  padding: 0 5%;
  max-width: 900px;
  width: 90%;
  opacity: 0;
  transition: opacity 1s ease;
}

.video-text h1 {
  font-family: "Futura", "Trebuchet MS", "Arial Black", sans-serif;
  font-weight: 900;
  font-size: clamp(2rem, 5vw, 3rem);
  margin-bottom: 1.2rem;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
  letter-spacing: 1px;
}

.video-text p {
  font-size: clamp(1rem, 2.2vw, 1.3rem);
  line-height: 1.6;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
  font-weight: 300;
}

/* Laptop-specific adjustments */
@media (max-width: 1200px) {
  .hero-logo {
    top: 10%;
  }

  .video-text {
    top: 70%;
  }
}

/* Updated breakpoint to ensure tablets get mobile-style layout */
@media (max-width: 1024px) {
  .hero {
    height: 80vh;
  }

  .hero-logo {
    top: 8%;
  }

  .video-text {
    top: 75%;
  }
}

@media (max-width: 900px) {
  .hero {
    height: 80vh;
  }

  .hero-logo {
    top: 8%;
  }

  .video-text {
    top: 75%;
  }
}

@media (max-width: 768px) {
  .hero {
    height: 100vh;
  }

  .hero-logo {
    top: 20%;
  }

  .hero-logo img {
    height: 220px; /* Significantly increased from 150px */
  }

  .video-text {
    top: 70%;
  }
}

@media (max-width: 480px) {
  .hero-logo {
    top: 18%;
  }

  .hero-logo img {
    height: 180px; /* Significantly increased from 120px */
  }

  .video-text {
    top: 65%;
  }
}

@media (max-height: 600px) {
  .hero {
    height: 100vh;
  }

  .hero-logo {
    top: 3%;
  }

  .hero-logo img {
    height: clamp(60px, 12vw, 120px);
  }

  .video-text {
    top: 85%;
  }

  .video-text h1 {
    font-family: "Futura", "Trebuchet MS", "Arial Black", sans-serif;
    font-weight: 900;
    font-size: clamp(1.2rem, 4vw, 2rem);
    margin-bottom: 0.5rem;
  }

  .video-text p {
    font-size: clamp(0.8rem, 1.8vw, 1rem);
  }
}

/* --- MODIFIED HEADER --- */
header {
  position: fixed;
  top: var(--header-top, 0px);
  width: 100%;
  height: 80px; /* Adjusted height */
  background: #ffffff; /* Solid white background */
  display: flex;
  justify-content: space-between;
  align-items: center;
  z-index: 9999;
  box-sizing: border-box;
  padding: 0 2rem;
  border-bottom: 1px solid #e0e0e0; /* Subtle border */
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  transition: top 0.3s ease-in-out; /* Added for smooth translation bar adjustment */
}

.logo-wrapper {
  height: 220%;
  display: flex;
  align-items: center;
}

.logo {
  height: 70%; /* Adjusted to fit well within new header height */
  width: auto;
  display: block;
}

.nav-links {
  display: flex;
  gap: 30px;
}

.nav-links a {
  color: #2c3e50; /* Contrasting text color */
  text-decoration: none;
  font-size: 1.1rem; /* Adjusted font size */
  padding: 10px 20px;
  border-radius: 8px;
  transition: all 0.3s ease;
  font-family: "Futura", "Trebuchet MS", "Arial Black", sans-serif;
  font-weight: 900;
  letter-spacing: 0.5px;
}

.nav-links a:hover {
  background: #f0f0f0; /* Light grey hover */
  color: #c0242a; /* Brand color on hover */
  transform: translateY(-2px);
}

/* Header Phone Number */
.header-phone {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #2c3e50; /* Contrasting text color */
  font-family: "Futura", "Trebuchet MS", "Arial Black", sans-serif;
  font-weight: 900;
  font-size: 1.1rem;
  transition: all 0.3s ease;
}

.header-phone svg {
  color: #c0242a; /* Brand color for icon */
  transition: all 0.3s ease;
}

.header-phone a {
  color: #2c3e50; /* Contrasting text color */
  text-decoration: none;
  transition: all 0.3s ease;
  padding: 8px 12px;
  border-radius: 6px;
}

.header-phone:hover a {
  color: #c0242a;
}

.header-phone:hover svg {
  transform: scale(1.1);
}

/* Mobile menu styles */
.mobile-menu-toggle {
  display: none;
  background: transparent;
  border: none;
  color: #2c3e50; /* Contrasting color */
  font-size: 1.8rem;
  cursor: pointer;
  z-index: 10000;
  padding: 10px;
  border-radius: 8px;
  transition: all 0.3s ease;
}

.mobile-menu-toggle:hover {
  background: #f0f0f0;
}

/* Responsive header adjustments */
@media (max-width: 1024px) {
  header {
    padding: 0 1.5rem;
    height: 70px;
  }

  .nav-links {
    gap: 20px;
  }

  .nav-links a {
    font-size: 1rem;
    padding: 10px 16px;
  }

  .header-phone {
    font-size: 1rem;
  }
}

@media (max-width: 1200px) {
  .hero {
    height: 100vh;
  }

  .hero-logo {
    top: 20%;
  }

  .hero-logo img {
    height: 220px; /* Significantly increased from 150px */
  }

  header {
    padding: 0 20px;
    height: 60px;
    justify-content: space-between;
  }

  .logo {
    height: 55%;
  }

  .nav-links {
    position: fixed;
    top: var(--header-top, 60px); /* Corrected: Position below header, will be updated by JS */
    right: -100%;
    height: calc(100vh - var(--header-top, 60px)); /* Corrected: Fill remaining height */
    width: 75%;
    max-width: 320px;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(20px);
    flex-direction: column;
    padding-top: var(--header-top, 40px); /* Corrected: Reduced padding */
    transition: right 0.4s ease, top 0.3s ease-in-out; /* Add transition for top */
    gap: 25px;
    border-left: 1px solid #e0e0e0;
  }

  .nav-links a {
    color: #2c3e50;
    font-size: 1.4rem;
    padding: 15px 30px;
    font-weight: 700;
    text-shadow: none;
    border-radius: 10px;
    margin: 0 20px;
  }

  .nav-links a:hover {
    background: #c0242a;
    color: white;
    transform: translateY(-1px);
  }

  .nav-links.active {
    right: 0;
  }

  .mobile-menu-toggle {
    display: block;
    font-size: 1.6rem;
    padding: 8px;
  }

  .header-phone {
    display: none; /* Hide phone on mobile to save space */
  }
}

@media (max-width: 768px) and (orientation: portrait),
  (max-width: 1024px) and (orientation: landscape) and (max-height: 768px) {
  .hero {
    height: 100vh;
  }

  .hero-logo {
    top: 20%;
  }

  .hero-logo img {
    height: 220px; /* Significantly increased from 150px */
  }

  header {
    padding: 0 20px;
    height: 60px;
    justify-content: space-between;
  }

  .logo {
    height: 55%;
  }

  .nav-links {
    position: fixed;
    top: var(--header-top, 60px); /* Corrected: Position below header, will be updated by JS */
    right: -100%;
    height: calc(100vh - var(--header-top, 60px)); /* Corrected: Fill remaining height */
    width: 75%;
    max-width: 320px;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(20px);
    flex-direction: column;
    padding-top: var(--header-top, 40px); /* Corrected: Reduced padding */
    transition: right 0.4s ease, top 0.3s ease-in-out; /* Add transition for top */
    gap: 25px;
    border-left: 1px solid #e0e0e0;
  }

  .nav-links a {
    color: #2c3e50;
    font-size: 1.4rem;
    padding: 15px 30px;
    font-weight: 700;
    text-shadow: none;
    border-radius: 10px;
    margin: 0 20px;
  }

  .nav-links a:hover {
    background: #c0242a;
    color: white;
    transform: translateY(-1px);
  }

  .nav-links.active {
    right: 0;
  }

  .mobile-menu-toggle {
    display: block;
    font-size: 1.6rem;
    padding: 8px;
  }

  .header-phone {
    display: none; /* Hide phone on mobile to save space */
  }
}

@media (max-width: 480px) {
  .hero-logo {
    top: 18%;
  }

  .hero-logo img {
    height: 180px; /* Significantly increased from 120px */
  }

  header {
    height: 55px;
    padding: 0 15px;
  }

  .nav-links {
    padding-top: var(--header-top, 20px); /* Further adjustment for smaller screens */
    top: var(--header-top, 55px);
    height: calc(100vh - var(--header-top, 55px));
  }

  .nav-links a {
    font-size: 1.3rem;
    padding: 12px 25px;
  }
}

/* Streamlined Contact Info Section - Logo Colors */
.contact-info-section {
  background: linear-gradient(135deg, #c0242a 0%, #c0242a 100%);
  padding: 40px 20px;
  position: relative;
  overflow: hidden;
}

.contact-info-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 60 60"><defs><pattern id="contactPattern" width="30" height="30" patternUnits="userSpaceOnUse"><circle cx="15" cy="15" r="1" fill="rgba(255,255,255,0.05)"/></pattern></defs><rect width="60" height="60" fill="url(%23contactPattern)"/></svg>');
  opacity: 0.4;
}

.contact-info-container {
  max-width: 1000px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
  position: relative;
  z-index: 2;
}

.contact-item {
  display: flex;
  align-items: center;
  gap: 16px;
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(10px);
  border-radius: 12px;
  padding: 24px 20px;
  transition: all 0.3s ease;
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.contact-item:hover {
  transform: translateY(-3px);
  background: rgba(255, 255, 255, 0.12);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
  border-color: rgba(192, 36, 42, 0.3);
}

.contact-icon {
  width: 48px;
  height: 48px;
  background: linear-gradient(135deg, #535353 0%, #303030 100%);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  box-shadow: 0 4px 12px rgba(192, 36, 42, 0.3);
  transition: all 0.3s ease;
  flex-shrink: 0;
}

.contact-item:hover .contact-icon {
  transform: scale(1.05);
  box-shadow: 0 6px 18px rgba(192, 36, 42, 0.4);
}

.contact-content {
  flex: 1;
  min-width: 0;
}

.contact-content h4 {
  color: #ecf0f1;
  font-size: 1.1rem;
  font-weight: 700;
  margin: 0 0 6px 0;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
}

.contact-content p {
  color: #bdc3c7;
  font-size: 0.95rem;
  line-height: 1.4;
  margin: 0;
  font-weight: 400;
}

.contact-content p a {
  color: inherit;
  text-decoration: none;
  transition: color 0.3s ease;
}

.contact-content p a:hover {
  color: #ecf0f1;
  text-decoration: underline;
}

/* Professional About Section */
.content-section {
  background: #f9fafb;
  color: #2c3e50;
  padding: 120px 20px;
  position: relative;
}

.about-inner {
  display: flex;
  align-items: center;
  width: 100%;
  max-width: 1200px;
  gap: 60px;
  margin: 0 auto;
  position: relative;
}

.text-box {
  flex: 1;
  opacity: 0;
  transform: translateX(-100px);
  transition: all 1s ease-out;
  background: white;
  padding: 50px;
  border-radius: 8px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  border-left: 0px solid #c0242a;
}

.text-box h2 {
  font-family: "Futura", "Trebuchet MS", "Arial Black", sans-serif;
  font-weight: 900;
  font-size: 3rem;
  margin-bottom: 30px;
  color: #c0242a;
}

.text-box p {
  font-size: 1.2rem;
  line-height: 1.8;
  color: #5a6c7d;
  font-weight: 700;
}

.image-box {
  flex: 0 0 auto;
  width: 400px;
  opacity: 0;
  transform: translateX(100px);
  transition: all 1s ease-out;
  position: relative;
}

.image-box img {
  width: 100%;
  border-radius: 8px;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
  transition: all 0.3s ease;
}

.image-box:hover img {
  transform: scale(1.02);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.25);
}

.slide-in {
  opacity: 1;
  transform: translateX(0);
}

/* Top Brands Section */
.top-brands-section {
  background: url("framing.png") no-repeat center center,
    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="%23ced4da" fill-opacity="0.6"%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'),
    linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
  background-size: cover, 60px 60px, cover;
  background-attachment: fixed, scroll, scroll;
  padding: 40px 20px;
  position: relative;
  overflow: hidden;
}

.top-brands-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  opacity: 0.6;
}

.brands-container {
  max-width: 1200px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
  text-align: center;
}

/* Brands Header Container - Unified Background */
.brands-header {
  text-align: center;
  margin-bottom: 60px;
  background: white;
  padding: 30px 50px;
  border-radius: 12px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
  border: 1px solid #e0e0e0;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.brands-title {
  font-family: "Futura", "Trebuchet MS", "Arial Black", sans-serif;
  font-weight: 900;
  font-size: 3rem;
  font-weight: 700;
  color: #2c3e50;
  margin-bottom: 20px;
  margin-top: 0;
}

.brands-subtitle {
  font-size: 1.2rem;
  color: #64748b;
  margin-bottom: 0;
  margin-top: 0;
  line-height: 1.6;
}

/* Brands Grid */
.brands-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 40px;
  margin-bottom: -180px; /* Default (collapsed) gap */
  transition: margin-bottom 0.4s ease;
}

.brands-grid.is-expanded {
  margin-bottom: 40px; /* Expanded gap */
}

.brand-item {
  text-align: center;
  transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  opacity: 1;
  transform: translateY(0);
}

.brand-item.hidden {
  opacity: 0;
  transform: translateY(30px);
  height: 0;
  overflow: hidden;
  margin: 0;
  padding: 0;
  transition: all 0.3s ease;
}

.brand-item.show {
  opacity: 1;
  transform: translateY(0);
  height: auto;
  overflow: visible;
}

.brand-item:hover {
  transform: translateY(-8px);
}

.brand-logo {
  width: 180px;
  height: 120px;
  margin: 0 auto 0px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: white;
  border-radius: 20px 20px 0 0;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.12);
  transition: all 0.4s ease;
  border: 3px solid transparent;
  overflow: hidden;
  position: relative;
  box-sizing: border-box;
}

.brand-name {
  font-family: "Futura", "Trebuchet MS", "Arial Black", sans-serif;
  font-weight: 900;
  font-size: 1.3rem;
  font-weight: 700;
  color: #374151;
  margin: 0;
  transition: all 0.3s ease;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  background: white;
  padding: 15px 16px;
  border-radius: 0 0 20px 20px;
  box-shadow: 0 8px 25px rgba(192, 36, 42, 0.12);
  border: 3px solid transparent;
  border-top: none;
  width: 180px;
  margin: 0 auto;
  box-sizing: border-box;
}

.brand-logo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 10px;
  box-sizing: border-box;
  filter: grayscale(0.2);
  transition: all 0.4s ease;
}

.brand-item:hover .brand-logo {
  box-shadow: 0 15px 40px rgba(192, 36, 42, 0.2);
  border-color: rgba(192, 36, 42, 0.3);
  transform: scale(1.05);
}

.brand-item:hover .brand-name {
  color: #c0242a;
  transform: translateY(-2px) scale(1.05);
  box-shadow: 0 15px 40px rgba(192, 36, 42, 0.2);
  border-color: rgba(192, 36, 42, 0.3);
  border-top: none;
}

.brand-item:hover .brand-logo img {
  filter: grayscale(0);
  transform: scale(1.02);
}

/* Expand Button */
.brands-expand-container {
  display: flex;
  justify-content: center;
  margin-top: 0;
}

.brands-expand-btn {
  display: flex;
  align-items: center;
  gap: 12px;
  background: linear-gradient(135deg, #c0242a 0%, #a01e24 100%);
  color: white;
  border: none;
  padding: 18px 36px;
  border-radius: 50px;
  font-size: 1.2rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.4s ease;
  box-shadow: 0 6px 20px rgba(192, 36, 42, 0.3);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.brands-expand-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 35px rgba(192, 36, 42, 0.4);
  background: linear-gradient(135deg, #d02730 0%, #b01e24 100%);
}

.expand-icon {
  transition: transform 0.4s ease;
}

/* Responsive Grid */
@media (max-width: 1024px) {
  .brands-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 35px;
  }

  .brand-logo {
    width: 160px;
    height: 100px;
  }

  .brand-name {
    font-family: "Futura", "Trebuchet MS", "Arial Black", sans-serif;
    font-weight: 900;
    font-size: 1.2rem;
    width: 160px;
  }

  .brands-header {
    padding: 25px 40px;
  }

  .brands-title {
    font-size: 2.5rem;
  }
}

@media (max-width: 768px) {
  .brands-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
  }

  .brand-logo {
    width: 140px;
    height: 90px;
  }

  .brand-name {
    font-family: "Futura", "Trebuchet MS", "Arial Black", sans-serif;
    font-weight: 900;
    font-size: 1.1rem;
    width: 140px;
  }

  .brands-header {
    padding: 20px 30px;
  }

  .brands-title {
    font-size: 2.2rem;
  }

  .brands-expand-btn {
    padding: 15px 30px;
    font-size: 1.1rem;
  }
}

@media (max-width: 480px) {
  .brands-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 25px;
  }

  .brand-logo {
    width: 120px;
    height: 80px;
  }

  .brand-name {
    font-family: "Futura", "Trebuchet MS", "Arial Black", sans-serif;
    font-weight: 900;
    font-size: 1rem;
    width: 120px;
  }

  .brands-header {
    padding: 15px 20px;
  }

  .brands-title {
    font-size: 1.8rem;
  }

  .brands-expand-btn {
    padding: 12px 24px;
    font-size: 1rem;
  }
}

@media (max-width: 768px) {
  .top-brands-section {
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    background-size: cover;
    background-attachment: scroll;
  }
}

/* --- REVISED SPECIALS SECTION --- */
.specials-section {
  scroll-margin-top: 100px;
  background: #ffffff;
  padding: 10px 20px;
  overflow: hidden;
}

.specials-container {
  max-width: 1500px;
  margin: 0 auto;
}

.specials-title {
  font-family: "Futura", "Trebuchet MS", "Arial Black", sans-serif;
  font-weight: 900;
  font-size: 3rem;
  font-weight: 700;
  color: #2c3e50;
  text-align: center;
  margin-bottom: 30px;
  margin-top: 30px;
  position: relative;
}

.specials-title::after {
  content: "";
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background: linear-gradient(90deg, #c0242a 0%, #a01e24 100%);
  border-radius: 2px;
}

.specials-carousel-wrapper {
  position: relative;
  overflow: hidden;
  max-width: 1500px;
  margin: 0 auto;
  border-radius: 8px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
  margin-bottom: 30px;
}

.specials-carousel {
  display: flex;
  transition: transform 0.5s ease-in-out;
}

.special-item {
  flex: 1 0 100%;
  background: #fff;
  overflow: hidden;
}

.special-item img {
  width: 100%;
  height: auto;
  display: block;
}

.carousel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255, 255, 255, 0.8);
  border: none;
  border-radius: 50%;
  width: 50px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 10;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
  color: #2c3e50;
}

.carousel-btn:hover {
  background: #c0242a;
  color: #fff;
  transform: translateY(-50%) scale(1.05);
}

.carousel-btn:disabled {
  opacity: 0.4;
  cursor: not-allowed;
  transform: translateY(-50%) scale(1);
  background: #e0e0e0;
  color: #888;
}

.carousel-btn.prev {
  left: 15px;
}

.carousel-btn.next {
  right: 15px;
}

@media (max-width: 1080px) {
  .carousel-btn {
    width: 40px;
    height: 40px;
  }
  .carousel-btn.prev {
    left: 10px;
  }
  .carousel-btn.next {
    right: 10px;
  }
}

/* Updated Dual Section */
.dual-section {
  background: linear-gradient(135deg, #c0242a 0%, #c0242a 100%);
  padding: 120px 20px;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 80px;
  text-align: center;
  position: relative;
}

.dual-box {
  flex: 1 1 400px;
  max-width: 500px;
  opacity: 0;
  transition: all 1s ease;
  background: linear-gradient(135deg, #737f91 0%, #57647a 100%);
  padding: 50px 40px;
  border-radius: 8px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.dual-box:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.3);
  background: linear-gradient(135deg, #6b7280 0%, #4b5563 100%);
}

.dual-box img {
  width: 100%;
  max-width: 300px;
  border-radius: 8px;
  margin-bottom: 30px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
  transition: all 0.3s ease;
}

.dual-box:hover img {
  transform: scale(1.03);
}

.dual-box h3 {
  font-family: "Futura", "Trebuchet MS", "Arial Black", sans-serif;
  font-weight: 900;
  font-size: 2rem;
  margin-bottom: 20px;
  color: #f9fafb;
}

.dual-box p {
  font-size: 1.1rem;
  line-height: 1.6;
  color: #d1d5db;
  font-weight: 700;
}

.left-slide {
  transform: translateX(-100px);
}

.right-slide {
  transform: translateX(100px);
}

.left-slide.show,
.right-slide.show {
  opacity: 1;
  transform: translateX(0);
}

/* --- MODIFIED FOOTER --- */
.modern-footer {
  background: #ffffff;
  color: #2c3e50;
  border-top: 1px solid #e0e0e0;
}

.footer-content {
  max-width: 1200px;
  margin: 0 auto;
  padding: 60px 20px 40px;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
}

.footer-section h3,
.footer-section h4 {
  color: #2c3e50;
  margin-bottom: 20px;
  font-weight: 700;
  position: relative;
}

.footer-section h3 {
  font-size: 1.5rem;
  margin-bottom: 15px;
}

.footer-section h4 {
  font-size: 1.2rem;
  margin-bottom: 20px;
}

.footer-section h4::after {
  content: "";
  position: absolute;
  bottom: -8px;
  left: 0;
  width: 30px;
  height: 2px;
  background-color: #c0242a;
  border-radius: 1px;
}

/* Company Info Section */
.company-info {
  padding-right: 20px;
}

.footer-logo {
  margin-bottom: 15px;
}

.footer-logo-img {
  height: 200px;
  width: auto;
}

.company-info p {
  line-height: 1.6;
  color: #5a6c7d;
  margin-bottom: 25px;
  font-size: 0.95rem;
}

.social-links {
  display: flex;
  gap: 15px;
}

.social-links a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background: #f0f0f0;
  border-radius: 10px;
  color: #5a6c7d;
  transition: all 0.3s ease;
  border: 1px solid #e0e0e0;
}

.social-links a:hover {
  background: #c0242a;
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(192, 36, 42, 0.4);
  border-color: #c0242a;
}

/* Contact Section */
.contact-item-footer {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 15px;
}

.contact-item-footer svg {
  color: #c0242a;
  margin-top: 2px;
  flex-shrink: 0;
}

.contact-item-footer p {
  margin: 0;
  line-height: 1.4;
  color: #5a6c7d;
}

.contact-item-footer a {
  color: #5a6c7d;
  text-decoration: none;
  transition: color 0.3s ease;
}

.contact-item-footer a:hover {
  color: #c0242a;
}

/* Hours Section */
.hours-grid {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.hours-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 8px 0;
  border-bottom: 1px solid #e0e0e0;
}

.hours-row:last-child {
  border-bottom: none;
}

.day {
  font-weight: 600;
  color: #2c3e50;
  font-size: 0.9rem;
}

.time {
  color: #5a6c7d;
  font-size: 0.9rem;
}

/* Links Section */
.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-links li {
  margin-bottom: 10px;
}

.footer-links a {
  color: #5a6c7d;
  text-decoration: none;
  font-size: 0.9rem;
  transition: all 0.3s ease;
  display: inline-block;
  position: relative;
}

.footer-links a:hover {
  color: #c0242a;
  transform: translateX(5px);
}

.footer-links a::before {
  content: "";
  position: absolute;
  left: -15px;
  top: 50%;
  transform: translateY(-50%);
  width: 0;
  height: 2px;
  background: #c0242a;
  transition: width 0.3s ease;
}

.footer-links a:hover::before {
  width: 10px;
}

/* Footer Bottom */
.footer-bottom {
  background: #f8f9fa;
  border-top: 1px solid #e0e0e0;
}

.footer-bottom-content {
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 15px;
}

.copyright p {
  margin: 0;
  color: #5a6c7d;
  font-size: 0.9rem;
}

.footer-translate {
  flex: 1;
  display: flex;
  justify-content: center;
}

.footer-legal {
  display: flex;
  align-items: center;
  gap: 15px;
}

.footer-legal a {
  color: #5a6c7d;
  text-decoration: none;
  font-size: 0.9rem;
  transition: color 0.3s ease;
}

.footer-legal a:hover {
  color: #c0242a;
}

.separator {
  color: #ced4da;
}

/* Responsive Footer */
@media (max-width: 1024px) {
  .footer-content {
    grid-template-columns: 1fr 1fr;
    gap: 30px;
  }

  .company-info {
    grid-column: 1 / -1;
    padding-right: 0;
    text-align: center;
  }
}

@media (max-width: 768px) {
  .footer-content {
    grid-template-columns: 1fr;
    gap: 40px;
    padding: 40px 20px 30px;
    text-align: center;
  }

  .company-info {
    grid-column: 1;
  }

  .footer-section h4::after {
    left: 50%;
    transform: translateX(-50%);
  }

  .social-links {
    justify-content: center;
  }

  .hours-row {
    justify-content: center;
    gap: 20px;
  }

  .footer-links a::before {
    display: none;
  }

  .footer-links a:hover {
    transform: none;
  }

  .footer-bottom-content {
    flex-direction: column;
    text-align: center;
    gap: 20px;
  }

  .footer-legal {
    justify-content: center;
  }
}

@media (max-width: 480px) {
  .footer-content {
    padding: 30px 15px 20px;
    gap: 30px;
  }

  .footer-section h3 {
    font-size: 1.3rem;
  }

  .footer-section h4 {
    font-size: 1.1rem;
  }

  .social-links a {
    width: 35px;
    height: 35px;
  }

  .hours-row {
    flex-direction: column;
    gap: 5px;
    text-align: center;
  }

  .footer-bottom-content {
    padding: 15px;
  }
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .content-section {
    padding: 80px 20px;
  }

  .about-inner {
    flex-direction: column;
    gap: 40px;
  }

  .image-box {
    width: 100%;
    max-width: 400px;
    order: -1;
  }

  .text-box {
    margin-top: 0;
    padding: 40px 30px;
  }

  .text-box h2 {
    font-size: 2.5rem;
  }

  .dual-section {
    padding: 80px 20px;
    gap: 40px;
  }

  .dual-box {
    padding: 40px 30px;
  }
}

@media (max-width: 480px) {
  .text-box h2 {
    font-size: 2rem;
  }

  .dual-box h3 {
    font-size: 1.5rem;
  }
}

/* --- CONTACT PAGE STYLES --- */
.contact-page-main {
  padding-top: 80px;
  padding-bottom: 60px;
  padding-left: 0;
  padding-right: 0;
  margin: 0;
}

.team-page-main {
  padding-top: 10px;
  padding-bottom: 60px;
  padding-left: 0;
  padding-right: 0;
  margin: 0;
}

.page-top-logo,
.team-page-logo {
  text-align: center;
  padding: 0;
  margin: 0 0 -20px 0;
  max-width: 100vw;
  width: 100%;
}

.page-top-logo img,
.team-page-logo img {
  max-width: 100%;
  width: 100%;
  height: auto;
  max-height: 500px;
  object-fit: contain;
  margin: 0;
  padding: 0;
  display: block;
}

.application-content {
  max-width: 800px;
  margin: 0 auto;
  padding: 40px;
  background: #ffffff;
  border-radius: 12px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
  text-align: center;
  margin-top: -20px;
}

.application-content h1 {
  font-family: "Futura", "Trebuchet MS", "Arial Black", sans-serif;
  font-weight: 900;
  font-size: 2.8rem;
  font-weight: 700;
  color: #2c3e50;
  margin-bottom: 10px;
  margin-top: 0;
}

.application-subtitle {
  font-size: 1.2rem;
  color: #5a6c7d;
  margin-bottom: 40px;
}

.benefits-section,
.professionals-only {
  text-align: left;
  margin-bottom: 40px;
  padding: 30px;
  border-radius: 8px;
  background: #f8f9fa;
  border-left: 4px solid #c0242a;
}

.benefits-section h2,
.professionals-only h3 {
  font-family: "Futura", "Trebuchet MS", "Arial Black", sans-serif;
  font-weight: 900;
  font-size: 1.8rem;
  font-weight: 700;
  color: #c0242a;
  margin-top: 0;
  margin-bottom: 20px;
}

.benefits-section ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.benefits-section li {
  margin-bottom: 15px;
  font-size: 1.1rem;
  color: #374151;
  line-height: 1.6;
}

.benefits-section li strong {
  color: #2c3e50;
}

.professionals-only p {
  font-size: 1.1rem;
  line-height: 1.6;
  color: #374151;
  margin: 0;
}

.apply-here-btn {
  display: inline-block;
  background: linear-gradient(135deg, #c0242a 0%, #a01e24 100%);
  color: #ffffff;
  padding: 18px 40px;
  border-radius: 50px;
  text-decoration: none;
  font-size: 1.3rem;
  font-weight: 700;
  transition: all 0.3s ease;
  box-shadow: 0 6px 20px rgba(192, 36, 42, 0.3);
}

.apply-here-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 30px rgba(192, 36, 42, 0.4);
}

.team-section-container {
  max-width: 1000px;
  margin: -20px auto 0 auto;
  padding: 0 20px 20px 20px;
}

/* Contact Page Header - Unified Background */
.contact-page-header {
  text-align: center;
  margin-bottom: 50px;
  background: white;
  padding: 30px 50px;
  border-radius: 12px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
  border: 1px solid #e0e0e0;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.contact-page-header h1 {
  font-family: "Futura", "Trebuchet MS", "Arial Black", sans-serif;
  font-weight: 900;
  font-size: 3rem;
  font-weight: 700;
  color: #2c3e50;
  margin-bottom: 20px;
  margin-top: 0;
}

.contact-page-header p {
  font-size: 1.2rem;
  color: #64748b;
  margin-bottom: 0;
  margin-top: 0;
  line-height: 1.6;
}

.contact-page-section {
  max-width: 1200px;
  margin: 0 auto;
  padding: 60px 20px;
}

.contact-page-container {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 40px;
  background: #ffffff;
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
  overflow: hidden;
}

.contact-details-panel {
  padding: 40px;
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.contact-info-block {
  display: flex;
  align-items: flex-start;
  gap: 20px;
}

.contact-info-icon {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  background: #f0f0f0;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #c0242a;
}

.contact-info-icon svg {
  width: 24px;
  height: 24px;
}

.contact-info-content h4 {
  font-size: 1.2rem;
  font-weight: 700;
  color: #2c3e50;
  margin: 0 0 5px 0;
}

.contact-info-content p {
  margin: 0;
  line-height: 1.6;
  color: #5a6c7d;
}

.contact-info-content a {
  color: #5a6c7d;
  text-decoration: none;
  transition: color 0.3s ease;
}

.contact-info-content a:hover {
  color: #c0242a;
}

.hours-grid-contact {
  display: flex;
  flex-direction: column;
  gap: 8px;
  width: 100%;
}

.hours-row-contact {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 1rem;
  color: #5a6c7d;
}

.hours-row-contact .day {
  font-weight: 600;
  color: #374151;
}

.hours-row-contact.multiline {
  flex-direction: column;
  align-items: flex-start;
  gap: 4px;
}

.map-container {
  min-height: 400px;
}

/* Responsive Contact Page */
@media (max-width: 992px) {
  .contact-page-container {
    grid-template-columns: 1fr;
  }
  .map-container {
    height: 450px;
    order: -1;
  }
}

@media (max-width: 768px) {
  .contact-page-main {
    padding-top: 60px;
  }
  .contact-page-section {
    padding: 40px 15px;
  }
  .contact-page-header h1 {
    font-size: 2.2rem;
  }
  .contact-details-panel {
    padding: 30px;
  }
}

/* --- CAREERS PAGE STYLES --- */
.careers-page-main {
  padding-top: 80px;
}

.careers-hero {
  position: relative;
  width: 100%;
  height: 70vh;
  min-height: 350px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
}

.careers-hero-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

.careers-hero-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.careers-hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  z-index: 2;
}

.careers-hero-content {
  position: relative;
  z-index: 3;
  color: #ffffff;
  max-width: 800px;
  padding: 20px;
}

.careers-hero-content h1 {
  font-family: "Futura", "Trebuchet MS", "Arial Black", sans-serif;
  font-weight: 900;
  font-size: 3.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
  text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.5);
}

.careers-hero-content p {
  font-size: 1.2rem;
  line-height: 1.7;
  text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.5);
}

.job-listings-section {
  padding: 60px 20px;
}

.job-listings-container {
  max-width: 900px;
  margin: 0 auto;
}

.job-listings-title {
  font-family: "Futura", "Trebuchet MS", "Arial Black", sans-serif;
  font-weight: 900;
  font-size: 2.5rem;
  font-weight: 700;
  color: #2c3e50;
  text-align: center;
  margin-bottom: 40px;
  position: relative;
}

.job-listings-title::after {
  content: "";
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 3px;
  background-color: #c0242a;
  border-radius: 2px;
}

.job-posting {
  background: #ffffff;
  border-radius: 8px;
  margin-bottom: 20px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
  border: 1px solid #e0e0e0;
  overflow: hidden;
  transition: all 0.3s ease;
}

.job-posting:hover {
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
  transform: translateY(-2px);
}

.job-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  cursor: pointer;
}

.job-header h3 {
  margin: 0;
  font-size: 1.5rem;
  font-weight: 600;
  color: #374151;
}

.job-toggle-icon {
  color: #c0242a;
  transition: transform 0.3s ease;
}

.job-body {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.5s ease, padding 0.5s ease;
  padding: 0 25px;
}

.job-body p {
  margin: 0 0 20px 0;
  line-height: 1.6;
  color: #5a6c7d;
}

/* Active state for accordion */
.job-posting.active .job-body {
  max-height: 500px;
  padding: 0 25px 25px 25px;
}

.job-posting.active .job-toggle-icon {
  transform: rotate(180deg);
}

.loading-placeholder,
.no-jobs-message {
  text-align: center;
  font-size: 1.2rem;
  color: #6c757d;
  padding: 40px 0;
}

.apply-info {
  margin-top: 20px;
  padding-top: 20px;
  border-top: 1px solid #e0e0e0;
  font-size: 1rem;
  font-weight: 500;
  color: #374151;
}

.apply-info a {
  color: #c0242a;
  text-decoration: none;
  font-weight: 600;
  transition: text-decoration 0.3s ease;
}

.apply-info a:hover {
  text-decoration: underline;
}

@media (max-width: 768px) {
  .careers-page-main {
    padding-top: 60px;
  }
  .careers-hero-content h1 {
    font-size: 2.5rem;
  }
  .job-header h3 {
    font-size: 1.3rem;
  }
}

/* --- APPLICATION PAGE STYLES --- */
.application-page-main {
  padding-top: 10px;
  padding-bottom: 60px;
  padding-left: 0;
  padding-right: 0;
  margin: 0;
}

#loading-team-placeholder {
  text-align: center;
  padding: 40px;
  font-size: 1.2rem;
  color: #6c757d;
}

/* Full-width Card (Leadership) */
#team-leadership-container {
  margin-bottom: 50px;
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.team-card-full {
  display: flex;
  gap: 30px;
  background: #ffffff;
  padding: 30px;
  border-radius: 12px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
  border: 1px solid #e0e0e0;
}

.team-card-full-photo {
  flex-shrink: 0;
  width: 200px;
  height: 200px;
}

.team-card-full-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 12px;
  border: 5px solid #f0f0f0;
}

.team-card-full-content h3 {
  font-size: 1.8rem;
  font-weight: 700;
  color: #2c3e50;
  margin: 0 0 5px 0;
}

.team-card-full-content h4 {
  font-size: 1.2rem;
  font-weight: 600;
  color: #c0242a;
  margin: 0 0 15px 0;
}

.team-bio {
  font-size: 1rem;
  line-height: 1.7;
  color: #5a6c7d;
  margin-bottom: 20px;
}

.team-contact-info {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1rem;
}

.team-contact-info a {
  color: #374151;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s ease;
}

.team-contact-info a:hover {
  color: #c0242a;
}

.team-contact-info span {
  color: #ced4da;
}

/* Grid Card (Team Members) */
.team-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
}

.team-card-grid {
  background: #ffffff;
  border-radius: 12px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.07);
  text-align: center;
  padding: 30px;
  transition: all 0.3s ease;
}

.team-card-grid:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.team-card-grid-photo {
  width: 140px;
  height: 140px;
  margin: 0 auto 20px;
}

.team-card-grid-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 12px;
  border: 5px solid #f0f0f0;
}

.team-card-grid-content h3 {
  font-size: 1.5rem;
  font-weight: 700;
  color: #2c3e50;
  margin: 0 0 5px 0;
}

.team-card-grid-content h4 {
  font-size: 1rem;
  font-weight: 500;
  color: #c0242a;
  margin: 0 0 15px 0;
}

.team-contact-info-grid {
  display: flex;
  flex-direction: column;
  gap: 5px;
  font-size: 0.95rem;
}

.team-contact-info-grid a {
  color: #5a6c7d;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s ease;
}

.team-contact-info-grid a:hover {
  color: #c0242a;
}

/* Team Page Header - Unified Background */
.team-page-header {
  text-align: center;
  margin-bottom: 50px;
  background: white;
  padding: 30px 50px;
  border-radius: 12px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
  border: 1px solid #e0e0e0;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.team-page-title {
  font-family: "Futura", "Trebuchet MS", "Arial Black", sans-serif;
  font-weight: 900;
  font-size: 3rem;
  font-weight: 700;
  color: #2c3e50;
  margin-bottom: 20px;
  margin-top: 0;
}

.team-page-subtitle {
  font-size: 1.2rem;
  color: #64748b;
  margin-bottom: 0;
  margin-top: 0;
  line-height: 1.6;
}

/* Mobile responsive fixes for team page */
@media (max-width: 768px) {
  .team-card-full {
    flex-direction: column;
    text-align: center;
  }

  .team-card-full-photo {
    width: 150px;
    height: 150px;
    margin: 0 auto 20px;
  }

  .team-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .team-card-grid {
    padding: 20px;
  }

  .team-card-grid-photo {
    width: 120px;
    height: 120px;
  }
}

@media (max-width: 480px) {
  .team-card-full {
    padding: 20px;
  }

  .team-card-full-content h3 {
    font-size: 1.5rem;
  }

  .team-card-full-content h4 {
    font-size: 1.1rem;
  }

  .team-bio {
    font-size: 0.95rem;
  }

  .team-contact-info {
    flex-direction: column;
    gap: 8px;
  }

  .team-contact-info span {
    display: none;
  }
}

/* Mobile phone header in navigation */
.mobile-phone-header {
  display: none;
}

@media (max-width: 768px) and (orientation: portrait),
  (max-width: 1024px) and (orientation: landscape) and (max-height: 768px) {
  .mobile-phone-header {
    display: flex;
    align-items: center;
    gap: 6px; /* Reduced from 8px */
    color: #2c3e50;
    font-family: "Futura", "Trebuchet MS", "Arial Black", sans-serif;
    font-weight: 700; /* Reduced from 900 to prevent boldness */
    font-size: 0.75rem; /* Reduced from 0.85rem */
    padding: 12px 30px;
    margin: 20px 20px 0 20px;
    border-top: 2px solid #e0e0e0;
    order: 10; /* Ensures it appears at the bottom */
    white-space: nowrap; /* Prevent line wrapping */
  }

  .mobile-phone-header svg {
    color: #c0242a;
    width: 14px; /* Reduced from 16px */
    height: 14px;
    flex-shrink: 0; /* Prevent icon from shrinking */
  }

  .mobile-phone-header a {
    color: #2c3e50;
    text-decoration: none;
    transition: color 0.3s ease;
    font-size: 0.75rem; /* Reduced from 0.85rem */
    white-space: nowrap; /* Prevent text wrapping */
  }

  .mobile-phone-header a:hover {
    color: #c0242a;
  }
}

/* Updated PDF download button styling to match the Call for Questions button */
.pdf-download-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: linear-gradient(135deg, #c0242a 0%, #a01e24 100%);
  color: #ffffff;
  padding: 18px 40px;
  border-radius: 50px;
  text-decoration: none;
  font-size: 1.3rem;
  font-weight: 700;
  transition: all 0.3s ease;
  box-shadow: 0 6px 20px rgba(192, 36, 42, 0.3);
}

.pdf-download-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 30px rgba(192, 36, 42, 0.4);
}

.apply-here-btn {
  display: inline-block;
  background: linear-gradient(135deg, #c0242a 0%, #a01e24 100%);
  color: #ffffff;
  padding: 18px 40px;
  border-radius: 50px;
  text-decoration: none;
  font-size: 1.3rem;
  font-weight: 700;
  transition: all 0.3s ease;
  box-shadow: 0 6px 20px rgba(192, 36, 42, 0.3);
}

.apply-here-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 35px rgba(192, 36, 42, 0.12);
}

/* Added new application sections styles */
.application-sections {
  max-width: 1000px;
  margin: 40px auto;
  padding: 0 20px;
  display: flex;
  flex-direction: column;
  gap: 40px;
}

.application-section {
  background: #ffffff;
  border-radius: 12px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
  border: 1px solid #e0e0e0;
  padding: 40px;
  transition: all 0.3s ease;
}

.application-section:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 35px rgba(0, 0, 0, 0.12);
}

.application-section-title {
  font-family: "Futura", "Trebuchet MS", "Arial Black", sans-serif;
  font-weight: 900;
  font-size: 2.2rem;
  color: #c0242a;
  margin-bottom: 20px;
  margin-top: 0;
  border-bottom: 3px solid #c0242a;
  padding-bottom: 10px;
}

.application-section-text {
  font-size: 1.1rem;
  line-height: 1.7;
  color: #374151;
  margin-bottom: 30px;
}

.application-section-actions {
  display: flex;
  flex-direction: column;
  gap: 20px;
  align-items: flex-start;
}

.email-application-text {
  font-size: 1.1rem;
  font-weight: 600;
  color: #333333;
  margin: 0;
  padding: 0;
}

.application-email-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: #000000;
  color: #ffffff;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-size: 1.1rem;
  font-weight: 600;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.application-email-link:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4);
  background: #333333;
  text-decoration: none;
}

.application-pdf-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: #f8f9fa;
  color: #374151;
  padding: 12px 25px;
  border-radius: 8px;
  text-decoration: none;
  font-size: 1rem;
  font-weight: 500;
  transition: all 0.3s ease;
  border: 2px solid #e0e0e0;
}

.application-pdf-link:hover {
  background: #e9ecef;
  border-color: #c0242a;
  color: #c0242a;
  transform: translateY(-1px);
}

/* Responsive styles for application sections */
@media (max-width: 768px) {
  .application-sections {
    padding: 0 15px;
    gap: 30px;
  }

  .application-section {
    padding: 30px 25px;
  }

  .application-section-title {
    font-size: 1.8rem;
  }

  .application-section-text {
    font-size: 1rem;
  }

  .application-section-actions {
    align-items: stretch;
  }

  .application-email-link,
  .application-pdf-link {
    justify-content: center;
    text-align: center;
  }
}

@media (max-width: 480px) {
  .application-section {
    padding: 25px 20px;
  }

  .application-section-title {
    font-size: 1.6rem;
  }

  .application-email-link {
    padding: 12px 20px;
    font-size: 1rem;
  }

  .application-pdf-link {
    padding: 100px 20px;
    font-size: 0.95rem;
  }
}
