/* ==========================================================================
   Base Styles & CSS Variables
   ========================================================================== */
@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700&display=swap');

:root {
  /* Color Palette - Brand: Red, Green, Yellow */
  --primary-color: #8a1c30; /* Premium Maroon/Dark Red */
  --secondary-color: #2f855a; /* Forest Green */
  --accent-color: #d97706; /* Golden Yellow */
  --text-main: #2d3748;
  --text-muted: #718096;
  --bg-main: #f7fafc;
  --bg-card: #ffffff;
  --bg-footer: #450a0a; /* Deep Red for Footer */
  
  /* Typography */
  --font-main: 'Outfit', sans-serif;
  
  /* Spacing & Layout */
  --container-width: 1200px;
  --spacing-sm: 0.5rem;
  --spacing-md: 1rem;
  --spacing-lg: 2rem;
  --spacing-xl: 4rem;
  
  /* Effects */
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.12), 0 1px 2px rgba(0,0,0,0.24);
  --shadow-md: 0 4px 6px rgba(0,0,0,0.1);
  --shadow-lg: 0 10px 15px -3px rgba(0,0,0,0.1);
  --transition-fast: 0.2s ease;
  --transition-normal: 0.3s ease;
  --border-radius: 8px;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: var(--font-main);
  color: var(--text-main);
  background-color: var(--bg-main);
  line-height: 1.6;
  overflow-x: hidden;
}

a {
  text-decoration: none;
  color: inherit;
  transition: color var(--transition-fast);
}

ul {
  list-style: none;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

.container {
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 var(--spacing-md);
}

.section {
  padding: var(--spacing-xl) 0;
}

.section-title {
  text-align: center;
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: var(--spacing-lg);
  color: var(--primary-color);
  position: relative;
}

.section-title::after {
  content: '';
  display: block;
  width: 60px;
  height: 4px;
  background: var(--accent-color);
  margin: 10px auto 0;
  border-radius: 2px;
}

.btn {
  display: inline-block;
  padding: 0.75rem 1.5rem;
  border-radius: var(--border-radius);
  font-weight: 600;
  cursor: pointer;
  transition: all var(--transition-normal);
  border: none;
  text-align: center;
}

.btn-primary {
  background-color: var(--primary-color);
  color: white;
}

.btn-primary:hover {
  background-color: var(--secondary-color);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.team-social a:hover {
  background: var(--primary-color);
  color: white;
  transform: translateY(-3px);
}

/* ==========================================================================
   Premium Gradient Buttons & Modal Form
   ========================================================================== */
.btn-gradient {
    background: linear-gradient(135deg, var(--primary-color) 0%, #5d101f 100%);
    color: white;
    border: none;
    border-radius: 30px; /* Pill shape */
    padding: 12px 30px;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(197, 48, 48, 0.3);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    cursor: pointer;
}

.btn-gradient:hover {
    background: linear-gradient(135deg, #5d101f 0%, var(--primary-color) 100%);
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(197, 48, 48, 0.3);
    color: white;
}

.btn-gradient-accent {
    background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
    color: white;
    border: none;
    border-radius: 30px;
    padding: 12px 30px;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(245, 158, 11, 0.3);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    cursor: pointer;
}

.btn-gradient-accent:hover {
    background: linear-gradient(135deg, #d97706 0%, #f59e0b 100%);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(245, 158, 11, 0.4);
    color: white;
}

.btn-full {
    width: 100%;
    margin-top: 10px;
}

/* Premium Modal Styling */
.modal {
    display: none; 
    position: fixed; 
    z-index: 9999; 
    left: 0;
    top: 0;
    width: 100%; 
    height: 100%; 
    overflow: auto; 
    background-color: rgba(0,0,0,0.6); 
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.modal.show {
    display: flex;
    opacity: 1;
}

.modal-content {
    background-color: #fff;
    margin: auto;
    padding: 40px;
    border: 1px solid #888;
    width: 90%;
    max-width: 500px;
    border-radius: 20px;
    box-shadow: 0 20px 50px rgba(0,0,0,0.2);
    position: relative;
    transform: scale(0.9);
    transition: transform 0.3s ease;
}

@media (max-width: 768px) {
    .modal-content {
        padding: 25px 20px;
        width: 95%;
        margin: 20px auto;
    }
}

.modal.show .modal-content {
    transform: scale(1);
}

.close-modal {
    color: #aaa;
    position: absolute;
    top: 15px;
    right: 25px;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
    transition: color 0.3s ease;
}

.close-modal:hover,
.close-modal:focus {
    color: #333;
    text-decoration: none;
}

.modal-header {
    text-align: center;
    margin-bottom: 25px;
}
.modal-header h2 {
    color: var(--primary-color);
    margin-bottom: 10px;
    font-size: 1.8rem;
    font-weight: 800;
}
.modal-header p {
    color: #666;
    font-size: 0.95rem;
}

.apply-form .form-group {
    margin-bottom: 20px;
    text-align: left;
}
.apply-form label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: #444;
    font-size: 0.9rem;
}
.apply-form input,
.apply-form select {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 10px;
    font-size: 1rem;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
    background: #f9fbfc;
}
.apply-form input:focus,
.apply-form select:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(197, 48, 48, 0.1);
}

/* ==========================================================================
   Footer Social Links & Floating Widgets
   ========================================================================== */
@keyframes float-icon {
    0% { transform: translateY(0); }
    50% { transform: translateY(-5px); }
    100% { transform: translateY(0); }
}

.footer-social-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.05);
    color: white;
    margin: 0 8px;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    text-decoration: none;
    font-size: 1.2rem;
    border: 1px solid rgba(255,255,255,0.1);
    animation: float-icon 3s ease-in-out infinite;
}
.footer-social-link:hover {
    background: var(--accent-color);
    transform: scale(1.15) translateY(-5px);
    color: white;
    border-color: var(--accent-color);
    box-shadow: 0 5px 15px rgba(245, 158, 11, 0.4);
    animation-play-state: paused;
}

.floating-widget {
    position: fixed;
    bottom: 30px;
    right: 30px;
    display: flex;
    flex-direction: column;
    gap: 15px;
    z-index: 999;
}

.float-btn {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 30px;
    box-shadow: 0 8px 20px rgba(0,0,0,0.2);
    text-decoration: none;
    transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275), box-shadow 0.3s ease;
}

.float-btn:hover {
    transform: scale(1.15) translateY(-5px);
    box-shadow: 0 12px 25px rgba(0,0,0,0.3);
    color: white;
}

.float-whatsapp {
    background: linear-gradient(135deg, #25D366 0%, #128C7E 100%);
}

.float-call {
    background: linear-gradient(135deg, var(--primary-color) 0%, #5d101f 100%);
}

/* Pulse animation for WhatsApp */
@keyframes pulse-whatsapp {
    0% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7); }
    70% { box-shadow: 0 0 0 15px rgba(37, 211, 102, 0); }
    100% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0); }
}

.float-whatsapp {
    animation: pulse-whatsapp 2s infinite;
}

.btn-accent {
  background-color: var(--accent-color);
  color: var(--text-main);
}

.btn-accent:hover {
  background-color: #d69e2e;
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

/* ==========================================================================
   Header & Navigation
   ========================================================================== */
.top-bar {
  background-color: var(--primary-color);
  color: white;
  padding: var(--spacing-sm) 0;
  font-size: 0.85rem;
}

.top-bar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
}

.top-bar-info {
  display: flex;
  gap: var(--spacing-md);
}

.top-bar-info span {
  display: flex;
  align-items: center;
  gap: 5px;
}

.top-bar-social a {
  color: white;
  margin-left: 10px;
  font-size: 1rem;
}

.top-bar-social a:hover {
  color: var(--accent-color);
}

@media (max-width: 768px) {
  .top-bar .container {
    flex-direction: column;
    justify-content: center;
    text-align: center;
    padding: 8px 10px;
  }
  
  .top-bar-info {
    flex-direction: column;
    gap: 6px;
    font-size: 0.75rem;
  }
  
  .top-bar-info span {
    justify-content: center;
  }
  
  .top-bar-social {
    margin-top: 10px;
    justify-content: center;
    display: flex;
    gap: 15px;
  }
  
  .top-bar-social a {
    margin-left: 0;
    font-size: 1.2rem;
  }
}

.header {
  background-color: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-normal);
}

.header .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.5rem var(--spacing-md);
}

.logo img {
  height: 80px;
}

.nav-menu {
  display: flex;
  gap: var(--spacing-lg);
  align-items: center;
}

.nav-link {
  font-weight: 500;
  color: var(--text-main);
  position: relative;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--primary-color);
  transition: width var(--transition-fast);
}

.nav-link:hover::after, .nav-link.active::after {
  width: 100%;
}

.dropdown {
  position: relative;
}

.dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  background: white;
  min-width: 200px;
  box-shadow: var(--shadow-md);
  border-radius: var(--border-radius);
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: all var(--transition-normal);
  padding: var(--spacing-sm) 0;
  z-index: 1001;
}

.dropdown:hover .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.dropdown-item {
  display: block;
  padding: 0.5rem 1rem;
  color: var(--text-main);
}

.dropdown-item:hover {
  background-color: var(--bg-main);
  color: var(--primary-color);
}

.hamburger {
  display: none;
  cursor: pointer;
  background: none;
  border: none;
  font-size: 1.5rem;
  color: var(--primary-color);
}

/* ==========================================================================
   Footer
   ========================================================================== */
.footer {
  position: relative;
  background: linear-gradient(135deg, rgba(69, 10, 10, 0.95) 0%, rgba(30, 5, 5, 0.98) 100%);
  color: white;
  padding: 35px 0 25px;
  box-shadow: inset 0 10px 20px rgba(0,0,0,0.4);
  border-top: 5px solid var(--accent-color);
  overflow: hidden;
}

.footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url('../images/hero1.jpg');
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  opacity: 0.12;
  z-index: 0;
  pointer-events: none;
}

.footer .container {
  position: relative;
  z-index: 1;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr 1.3fr 1fr;
  gap: 30px;
  margin-bottom: 20px;
  align-items: start;
}

.footer-col h3 {
  margin-bottom: 12px;
  color: var(--accent-color);
  font-size: 1.2rem;
  font-weight: 700;
}

.footer-col p {
  color: #cbd5e1;
  margin-bottom: 0.5rem;
  font-size: 0.92rem;
  line-height: 1.5;
}

.footer-links {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px 15px;
}

.footer-links li {
  margin-bottom: 0;
  white-space: nowrap;
}

.footer-links a {
  color: #cbd5e1;
  font-size: 0.9rem;
  transition: all 0.2s ease;
  display: inline-flex;
  align-items: center;
}

.footer-links a:hover {
  color: white;
  transform: translateX(4px);
}

.footer-bottom {
  text-align: center;
  padding-top: 15px;
  border-top: 1px solid rgba(255,255,255,0.12);
  color: #cbd5e1;
  font-size: 0.85rem;
}

/* Footer Responsive Layout */
@media (max-width: 992px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 25px;
  }
  .footer-col.map-col {
    grid-column: span 2;
  }
}

@media (max-width: 600px) {
  .footer {
    padding: 35px 0 20px;
  }
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 25px;
  }
  .footer-col.map-col {
    grid-column: span 1;
  }
  .footer-links {
    grid-template-columns: repeat(2, 1fr);
    gap: 8px 10px;
  }
  .footer-links li {
    white-space: normal;
  }
  .footer-bottom {
    flex-direction: column !important;
    text-align: center !important;
    justify-content: center !important;
    gap: 8px !important;
  }
  .footer-bottom p {
    text-align: center !important;
    width: 100%;
  }
}

/* ==========================================================================
   Hero Slider Section
   ========================================================================== */
.hero-slider {
  position: relative;
  width: 100%;
  height: 85vh;
  min-height: 500px;
}

.hero-slide {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  color: white;
  text-align: center;
  padding: var(--spacing-xl) 0;
  overflow: hidden;
}

.hero-slide.slide-1 {
  background-image: url('../images/hero1.jpg');
}

.hero-slide.slide-2 {
  background-image: url('../images/hero2.jpg');
}

.hero-slide.slide-3 {
  background-image: url('../images/hero3.jpeg');
}

/* Enhanced Gradient Overlay & Image Visual Filters */
.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    180deg, 
    rgba(15, 23, 42, 0.6) 0%, 
    rgba(15, 23, 42, 0.3) 40%, 
    rgba(15, 23, 42, 0.75) 100%
  );
  backdrop-filter: contrast(1.08) saturate(1.18) brightness(0.95);
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 900px;
  margin: 0 auto;
  padding: 1rem 0;
  background: transparent;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  border: none;
  box-shadow: none;
}

.hero-slide.swiper-slide-active h1 {
  animation: fadeInUp 1s ease;
}

.hero-slide.swiper-slide-active p {
  animation: fadeInUp 1s ease 0.2s backwards;
}

.hero-slide.swiper-slide-active .hero-btns {
  animation: fadeInUp 1s ease 0.4s backwards;
}

.hero-content h1 {
  font-size: 3.6rem;
  font-weight: 800;
  margin-bottom: var(--spacing-md);
  text-shadow: 0 4px 12px rgba(0,0,0,0.8);
  line-height: 1.15;
  letter-spacing: -0.5px;
}

.hero-content p {
  font-size: 1.3rem;
  margin-bottom: var(--spacing-lg);
  opacity: 0.95;
  text-shadow: 0 2px 8px rgba(0,0,0,0.8);
  max-width: 780px;
  margin-left: auto;
  margin-right: auto;
}

.hero-btns {
  display: flex;
  justify-content: center;
  gap: 18px;
  flex-wrap: wrap;
}

.hero-btns .btn {
  padding: 0.85rem 2rem;
  font-size: 1.05rem;
  box-shadow: 0 4px 15px rgba(0,0,0,0.25);
}

.swiper-button-next, .swiper-button-prev {
  color: white !important;
  width: 52px !important;
  height: 52px !important;
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(6px);
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.25);
  transition: all 0.3s ease;
  z-index: 10;
}

.swiper-button-next:hover, .swiper-button-prev:hover {
  background: var(--accent-color);
  color: var(--text-main) !important;
  border-color: var(--accent-color);
  transform: scale(1.1);
}

.swiper-button-next::after, .swiper-button-prev::after {
  font-size: 1.2rem !important;
  font-weight: bold;
}

.swiper-pagination {
  bottom: 25px !important;
  z-index: 10;
}

.swiper-pagination-bullet {
  background: white !important;
  opacity: 0.5 !important;
  width: 12px !important;
  height: 12px !important;
  transition: all 0.3s ease;
}

.swiper-pagination-bullet-active {
  background: var(--accent-color) !important;
  opacity: 1 !important;
  width: 32px !important;
  border-radius: 6px !important;
}

/* ==========================================================================
   Cards & Grids
   ========================================================================== */
.grid-3 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: var(--spacing-lg);
}

.grid-4 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: var(--spacing-lg);
}

@media (max-width: 576px) {
  .grid-3, .grid-4 {
    grid-template-columns: 1fr;
  }
}

.card {
  background: var(--bg-card);
  border-radius: var(--border-radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition-normal), box-shadow var(--transition-normal);
}

.card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
}

.card-img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.card-content {
  padding: var(--spacing-md);
}

.card-title {
  font-size: 1.25rem;
  color: var(--primary-color);
  margin-bottom: var(--spacing-sm);
}

/* ==========================================================================
   Forms
   ========================================================================== */
.form-group {
  margin-bottom: var(--spacing-md);
  position: relative;
}

.form-control {
  width: 100%;
  padding: 1rem;
  border: 1px solid #cbd5e0;
  border-radius: var(--border-radius);
  font-family: inherit;
  font-size: 1rem;
  transition: border-color var(--transition-fast);
  background: transparent;
}

.form-control:focus {
  outline: none;
  border-color: var(--primary-color);
  box-shadow: 0 0 0 3px rgba(197, 48, 48, 0.1);
}

/* Floating labels */
.form-floating label {
  position: absolute;
  top: 1rem;
  left: 1rem;
  color: var(--text-muted);
  transition: all var(--transition-fast);
  pointer-events: none;
  background: white;
  padding: 0 0.25rem;
}

.form-floating input:focus ~ label,
.form-floating input:not(:placeholder-shown) ~ label,
.form-floating textarea:focus ~ label,
.form-floating textarea:not(:placeholder-shown) ~ label {
  top: -0.5rem;
  left: 0.75rem;
  font-size: 0.85rem;
  color: var(--primary-color);
}

.error-msg {
  color: #e53e3e;
  font-size: 0.85rem;
  margin-top: 0.25rem;
  display: none;
}

/* ==========================================================================
   Animations
   ========================================================================== */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.fade-in-scroll {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in-scroll.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 991px) {
  .hamburger {
    display: block;
  }
  
  .nav-menu {
    position: fixed;
    top: 70px;
    left: -100%;
    width: 100%;
    height: calc(100vh - 70px);
    background: white;
    flex-direction: column;
    align-items: flex-start;
    padding: var(--spacing-lg) 30px;
    gap: 25px; /* Tighter gap than desktop */
    transition: left var(--transition-normal);
    overflow-y: auto;
  }
  
  .nav-link {
    font-size: 1.15rem; /* Better readability on mobile */
  }
  
  .nav-menu.active {
    left: 0;
  }
  
  .dropdown-menu {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    box-shadow: none;
    padding-left: var(--spacing-md);
    display: none;
  }
  
  .dropdown.active .dropdown-menu {
    display: block;
  }
  
  .top-bar-info {
    flex-direction: column;
    gap: 5px;
  }
}

@media (max-width: 768px) {
  .hero-content h1 {
    font-size: 2.2rem;
  }
  
  .hero-content p {
    font-size: 1.1rem;
    padding: 0 15px;
  }
  
  .section {
    padding: var(--spacing-lg) 0;
  }

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

  .logo img {
    height: 60px;
  }
}

@media (max-width: 480px) {
  .hero-content h1 {
    font-size: 1.8rem;
  }
  .hero-content p {
    font-size: 1rem;
  }
}

/* ==========================================================================
   About Preview Section
   ========================================================================== */
.about-preview {
  background-color: #f4f7fb; /* Light blueish-grey to match the theme */
  position: relative;
  overflow: hidden;
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.about-image-wrapper {
  position: relative;
  padding: 20px;
}

.about-image-backdrop {
  position: absolute;
  top: 0;
  left: 0;
  width: 90%;
  height: 90%;
  background-color: var(--accent-color);
  border-radius: 20px;
  z-index: 1;
  transform: translate(-10px, 10px);
}

.about-img {
  position: relative;
  z-index: 2;
  border-radius: 20px;
  box-shadow: 0 15px 35px rgba(0,0,0,0.1);
  border: 10px solid white;
  width: 100%;
  transition: transform var(--transition-normal);
}

.about-img:hover {
  transform: scale(1.02);
}

.experience-badge {
  position: absolute;
  bottom: -15px;
  right: 15px;
  background: var(--primary-color);
  color: white;
  padding: 15px 25px;
  border-radius: 12px;
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: center;
  box-shadow: 0 10px 25px rgba(197, 48, 48, 0.4);
  border: 3px solid white;
}

.experience-badge span {
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.experience-badge strong {
  font-size: 1.8rem;
  line-height: 1;
}

.about-content .subtitle {
  color: var(--accent-color);
  text-transform: uppercase;
  letter-spacing: 2px;
  font-weight: 600;
  margin-bottom: 0.5rem;
  font-size: 0.9rem;
}

.about-content .section-title::after {
  display: none; /* Hide default center line */
}

.title-underline {
  width: 60px;
  height: 4px;
  background: var(--accent-color);
  border-radius: 2px;
  margin-bottom: 1.5rem;
}

.lead-text {
  font-size: 1.25rem;
  color: var(--primary-color);
  font-weight: 500;
  margin-bottom: 1rem;
}

.about-features {
  margin-bottom: 2rem;
}

.about-features li {
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--text-main);
  font-weight: 500;
}

.about-features li i {
  color: var(--accent-color);
  font-size: 1.1rem;
}

@media (max-width: 991px) {
  .about-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
}

/* ==========================================================================
   Project Cards Enhancement
   ========================================================================== */
.project-card {
  border: 1px solid rgba(0,0,0,0.05);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0,0,0,0.05);
}

.project-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 15px 40px rgba(0,0,0,0.12);
}

.card-img-wrapper {
  position: relative;
  overflow: hidden;
}

.project-card .card-img {
  height: 220px;
  transition: transform 0.5s ease;
}

.project-card:hover .card-img {
  transform: scale(1.08);
}

.card-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to top, rgba(0,0,0,0.4), transparent);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.project-card:hover .card-overlay {
  opacity: 1;
}

.project-card .card-content {
  padding: 1.5rem;
  background: white;
  position: relative;
  z-index: 2;
}

.project-card .card-title {
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
  line-height: 1.4;
  color: var(--text-main);
  transition: color 0.3s ease;
}

.project-card:hover .card-title {
  color: var(--primary-color);
}

.project-card .card-text {
  font-size: 0.95rem;
  color: var(--text-muted);
  margin-bottom: 1rem;
  line-height: 1.6;
}

.btn-outline {
  background-color: transparent;
  border: 2px solid var(--accent-color);
  color: var(--text-main);
}

.btn-outline:hover {
  background-color: var(--accent-color);
  color: var(--text-main);
}

.btn-lg {
  padding: 1rem 2.5rem;
  font-size: 1.1rem;
}

/* ==========================================================================
   Testimonial Slider & Card Enhancements
   ========================================================================== */
.testimonial-card {
  background: #fff;
  border-radius: 4px;
  padding: 30px;
  margin-top: 40px; /* Space for the overlapping avatar */
  position: relative;
  box-shadow: 0 5px 15px rgba(0,0,0,0.05);
  border: 1px solid #eaeaea;
  height: auto;
  min-height: calc(100% - 40px);
  display: flex;
  flex-direction: column;
}

.testimonial-avatar {
  position: absolute;
  top: -40px;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 80px;
  border-radius: 50%;
  border: 4px solid #fff;
  overflow: hidden;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
  background: #f0f0f0;
}

.testimonial-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.quote-icon {
  color: var(--primary-color);
  font-size: 1.8rem;
}

.top-quote {
  margin-bottom: 15px;
  align-self: flex-start;
}

.bottom-quote {
  margin-top: auto;
  align-self: flex-end;
  padding-top: 15px;
}

.testimonial-name {
  font-size: 1.25rem;
  font-weight: 700;
  color: #222;
  margin-bottom: 15px;
}

.testimonial-text {
  font-size: 0.95rem;
  color: #555;
  line-height: 1.7;
}

.testimonial-pagination {
  position: static !important;
  margin-top: 25px;
}

.testimonial-pagination .swiper-pagination-bullet-active {
  background: var(--primary-color) !important;
}

/* ==========================================================================
   Objective Section Styling
   ========================================================================== */
.objective-item {
  display: flex;
  align-items: flex-start;
  background: white;
  padding: 20px 25px;
  border-radius: 12px;
  margin-bottom: 16px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.03);
  border-left: 5px solid var(--accent-color);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.objective-item:hover {
  transform: translateX(8px);
  box-shadow: 0 6px 20px rgba(0,0,0,0.08);
}

.objective-item i {
  color: var(--primary-color);
  font-size: 1.5rem;
  margin-top: 3px;
  margin-right: 20px;
}

.objective-item p {
  margin: 0;
  color: #444;
  font-size: 1.05rem;
  line-height: 1.6;
}

/* ==========================================================================
   Page Headers & Breadcrumbs
   ========================================================================== */
.page-header {
  position: relative;
  padding: 80px 0 60px 0;
  color: white;
  text-align: center;
  background: linear-gradient(135deg, var(--primary-color) 0%, #9b2c2c 100%);
  box-shadow: inset 0 -10px 20px rgba(0,0,0,0.02);
}

.page-header .container {
  position: relative;
  z-index: 2;
}

.page-title {
  font-size: 3rem;
  font-weight: 700;
  margin-bottom: 15px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.breadcrumb {
  display: inline-flex;
  align-items: center;
  background: rgba(255,255,255,0.1);
  padding: 10px 25px;
  border-radius: 50px;
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px);
  border: 1px solid rgba(255,255,255,0.2);
}

.breadcrumb-item {
  color: rgba(255,255,255,0.8);
  font-size: 0.95rem;
  display: flex;
  align-items: center;
  transition: color 0.3s ease;
}

.breadcrumb-item a {
  color: rgba(255,255,255,0.9);
  text-decoration: none;
}

.breadcrumb-item a:hover {
  color: var(--accent-color);
}

.breadcrumb-item + .breadcrumb-item::before {
  content: '\f105';
  font-family: 'Font Awesome 6 Free';
  font-weight: 900;
  margin: 0 12px;
  color: rgba(255,255,255,0.5);
  font-size: 0.8rem;
}

.breadcrumb-item.active {
  color: var(--accent-color);
  font-weight: 500;
}

/* ==========================================================================
   Team Section Styling
   ========================================================================== */
.team-card {
  background: white;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0,0,0,0.06);
  text-align: center;
  transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
  border: 1px solid rgba(0,0,0,0.03);
  padding: 40px 20px;
}

.team-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 40px rgba(0,0,0,0.12);
}

.team-img-wrapper {
  width: 160px;
  height: 160px;
  margin: 0 auto 25px auto;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(197, 48, 48, 0.1) 0%, rgba(197, 48, 48, 0.05) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  border: 4px solid white;
  box-shadow: 0 10px 25px rgba(197, 48, 48, 0.15);
  overflow: hidden; /* Crucial: makes square images perfectly circular */
  position: relative;
}

.team-img-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.team-card:hover .team-img-wrapper img {
  transform: scale(1.1);
}

.team-icon {
  font-size: 4rem;
  color: var(--primary-color);
  transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.team-card:hover .team-icon {
  transform: scale(1.15);
}

.team-info {
  padding: 0;
}

.team-name {
  font-size: 1.35rem;
  font-weight: 800;
  color: #1a202c; /* Dark text color as requested */
  margin-bottom: 12px;
  line-height: 1.3;
}

.team-role {
  display: inline-block;
  background: rgba(237, 137, 54, 0.12);
  color: #c05621;
  font-weight: 700;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  padding: 6px 16px;
  border-radius: 20px;
}
