/* ============================================================
   Royal Freight Space (PVT) LTD - Main Stylesheet
   Premium Logistics Website | Modern & Professional
   ============================================================ */

/* ---- Google Font ---- */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&display=swap');

/* ============================================================
   CSS Variables
   ============================================================ */
:root {
  --primary: #082A5E;
  --secondary: #E31837;
  --white: #FFFFFF;
  --light-gray: #F5F5F5;
  --dark: #1a1a2e;
  --text: #333333;
  --text-light: #666666;
  --shadow: 0 10px 30px rgba(8, 42, 94, 0.1);
  --shadow-hover: 0 20px 40px rgba(8, 42, 94, 0.2);
  --transition: all 0.3s ease;
  --radius: 12px;
}

/* ============================================================
   Base Reset & Typography
   ============================================================ */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 80px;
}

body {
  font-family: 'Inter', sans-serif;
  font-size: 16px;
  line-height: 1.7;
  color: var(--text);
  background-color: var(--white);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

h1, h2, h3, h4, h5, h6 {
  font-weight: 700;
  line-height: 1.3;
  color: var(--primary);
  margin-bottom: 0.5em;
}

h1 { font-size: 3.2rem; }
h2 { font-size: 2.4rem; }
h3 { font-size: 1.8rem; }
h4 { font-size: 1.4rem; }
h5 { font-size: 1.1rem; }
h6 { font-size: 1rem; }

p {
  margin-bottom: 1rem;
  color: var(--text-light);
}

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

a:hover {
  color: var(--secondary);
}

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

ul, ol {
  list-style: none;
}

::selection {
  background: var(--secondary);
  color: var(--white);
}

/* ============================================================
   Loading Overlay
   ============================================================ */
.loading-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  z-index: 99999;
  transition: opacity 0.6s ease, visibility 0.6s ease;
}

.loading-overlay.hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.loading-overlay .spinner-logo {
  width: 80px;
  height: 80px;
  animation: spinPulse 1.2s ease-in-out infinite;
}

.loading-overlay .spinner-ring {
  width: 100px;
  height: 100px;
  border: 4px solid var(--light-gray);
  border-top: 4px solid var(--secondary);
  border-right: 4px solid var(--primary);
  border-radius: 50%;
  animation: spin 1s linear infinite;
  margin-bottom: 20px;
}

.loading-overlay p {
  margin-top: 15px;
  font-weight: 500;
  color: var(--primary);
  letter-spacing: 2px;
  text-transform: uppercase;
  font-size: 0.85rem;
}

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

@keyframes spinPulse {
  0%, 100% { transform: scale(1) rotate(0deg); }
  50% { transform: scale(1.1) rotate(180deg); }
}

/* ============================================================
   Navbar
   ============================================================ */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 9999;
  padding: 18px 0;
  transition: var(--transition);
  background: transparent;
}

.navbar.scrolled {
  background: var(--primary) !important;
  padding: 10px 0;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
}

.navbar .navbar-brand {
  display: flex;
  align-items: center;
  gap: 10px;
}

.navbar .navbar-brand img {
  height: 50px;
  width: auto;
  transition: var(--transition);
}

.navbar.scrolled .navbar-brand img {
  height: 42px;
}

.navbar .navbar-brand .brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}

.navbar .navbar-brand .brand-name {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--white);
  letter-spacing: 0.5px;
}

.navbar .navbar-brand .brand-tagline {
  font-size: 0.7rem;
  color: rgba(255, 255, 255, 0.7);
  text-transform: uppercase;
  letter-spacing: 1.5px;
  font-weight: 300;
}

.navbar .nav-link {
  color: rgba(255, 255, 255, 0.9) !important;
  font-weight: 500;
  font-size: 0.95rem;
  padding: 8px 18px !important;
  position: relative;
  transition: var(--transition);
}

.navbar .nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 18px;
  right: 18px;
  height: 2px;
  background: var(--secondary);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.3s ease;
}

.navbar .nav-link:hover::after,
.navbar .nav-link.active::after {
  transform: scaleX(1);
  transform-origin: left;
}

.navbar .nav-link:hover,
.navbar .nav-link.active {
  color: var(--white) !important;
}

.navbar .nav-link.active {
  font-weight: 600;
}

.navbar-toggler {
  border: 2px solid rgba(255, 255, 255, 0.5) !important;
  padding: 6px 10px;
}

.navbar-toggler-icon {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%28255,255,255,0.9%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e") !important;
}

.navbar .dropdown-menu {
  border: none;
  border-radius: var(--radius);
  box-shadow: var(--shadow-hover);
  padding: 10px 0;
  margin-top: 10px;
  animation: fadeInUp 0.3s ease;
}

.navbar .dropdown-item {
  padding: 8px 20px;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text);
  transition: var(--transition);
}

.navbar .dropdown-item:hover,
.navbar .dropdown-item.active {
  background: var(--light-gray);
  color: var(--secondary);
  padding-left: 25px;
}

/* ============================================================
   Hero Section
   ============================================================ */
.hero-section {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  overflow: hidden;
}

.hero-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(8, 42, 94, 0.92) 0%, rgba(8, 42, 94, 0.6) 50%, transparent 100%);
  z-index: 1;
}

.hero-section .container {
  position: relative;
  z-index: 2;
}

.hero-section .hero-subtitle {
  display: inline-block;
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--secondary);
  text-transform: uppercase;
  letter-spacing: 3px;
  margin-bottom: 20px;
  animation: fadeInUp 0.8s ease;
  position: relative;
  padding-left: 50px;
}

.hero-section .hero-subtitle::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  width: 35px;
  height: 2px;
  background: var(--secondary);
  transform: translateY(-50%);
}

.hero-section h1 {
  font-size: 3.8rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 20px;
  line-height: 1.2;
  animation: fadeInUp 1s ease;
}

.hero-section h1 span {
  color: var(--secondary);
  position: relative;
}

.hero-section .hero-description {
  font-size: 1.15rem;
  color: rgba(255, 255, 255, 0.8);
  max-width: 600px;
  margin-bottom: 35px;
  line-height: 1.8;
  animation: fadeInUp 1.2s ease;
}

.hero-section .hero-buttons {
  display: flex;
  gap: 15px;
  flex-wrap: wrap;
  animation: fadeInUp 1.4s ease;
}

.hero-section .hero-float-element {
  position: absolute;
  z-index: 1;
  opacity: 0.1;
  animation: float 6s ease-in-out infinite;
}

.hero-section .hero-float-element:nth-child(1) {
  top: 15%;
  right: 10%;
  width: 120px;
  height: 120px;
  border: 3px solid var(--white);
  border-radius: 50%;
  animation-delay: 0s;
}

.hero-section .hero-float-element:nth-child(2) {
  bottom: 20%;
  right: 20%;
  width: 80px;
  height: 80px;
  background: var(--secondary);
  border-radius: var(--radius);
  animation-delay: 2s;
}

.hero-section .hero-float-element:nth-child(3) {
  top: 40%;
  right: 5%;
  width: 60px;
  height: 60px;
  border: 3px solid var(--secondary);
  transform: rotate(45deg);
  animation-delay: 4s;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  z-index: 0;
  transform: scale(1.02);
  animation: heroZoom 20s ease-in-out infinite alternate;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(8, 42, 94, 0.88) 0%, rgba(8, 42, 94, 0.65) 45%, rgba(8, 42, 94, 0.35) 100%);
  z-index: 1;
}

.hero-badge {
  display: inline-block;
  background: rgba(227, 24, 55, 0.15);
  border: 1px solid rgba(227, 24, 55, 0.4);
  color: var(--white);
  padding: 10px 20px;
  border-radius: 50px;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.hero-title {
  text-shadow: 0 4px 30px rgba(0, 0, 0, 0.3);
}

.hero-shape {
  position: absolute;
  border-radius: 50%;
  z-index: 2;
  pointer-events: none;
  opacity: 0.08;
}

.hero-shape-1 {
  width: 300px;
  height: 300px;
  top: 10%;
  right: 8%;
  border: 2px solid var(--white);
  animation: float 8s ease-in-out infinite;
}

.hero-shape-2 {
  width: 180px;
  height: 180px;
  bottom: 25%;
  right: 15%;
  background: var(--secondary);
  animation: float 6s ease-in-out infinite reverse;
}

.hero-shape-3 {
  width: 120px;
  height: 120px;
  top: 35%;
  right: 5%;
  border: 2px solid var(--secondary);
  animation: float 10s ease-in-out infinite;
}

.hero-wave {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  line-height: 0;
  z-index: 4;
}

.hero-wave svg {
  display: block;
  width: 100%;
  height: 80px;
}

@keyframes heroZoom {
  from { transform: scale(1.02); }
  to { transform: scale(1.08); }
}

.text-accent {
  color: var(--secondary) !important;
}

.btn-accent {
  background: var(--secondary);
  color: var(--white);
  border: 2px solid var(--secondary);
  font-weight: 600;
  border-radius: 50px;
  transition: var(--transition);
}

.btn-accent:hover {
  background: #c7142f;
  border-color: #c7142f;
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(227, 24, 55, 0.4);
}

.section-label {
  display: inline-block;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--secondary);
  text-transform: uppercase;
  letter-spacing: 3px;
  margin-bottom: 12px;
}

.section-header .section-title {
  font-size: 2.4rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 15px;
}

.section-subtitle {
  font-size: 1.05rem;
  color: var(--text-light);
}

.page-banner-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(8, 42, 94, 0.92) 0%, rgba(8, 42, 94, 0.78) 100%);
  z-index: 1;
}

.page-banner-title {
  font-size: 2.8rem;
  color: var(--white);
  font-weight: 700;
  margin-bottom: 15px;
}

.page-breadcrumb {
  justify-content: center;
  background: transparent;
  padding: 0;
  margin: 0;
}

.page-breadcrumb .breadcrumb-item,
.page-breadcrumb .breadcrumb-item a {
  color: rgba(255, 255, 255, 0.75);
}

.page-breadcrumb .breadcrumb-item.active {
  color: var(--secondary);
}

.overview-image-wrap {
  position: relative;
  margin-bottom: 24px;
}

.overview-main-image {
  width: 100%;
  height: 280px;
  object-fit: cover;
  border: 4px solid var(--white);
}

.overview-image-accent {
  position: absolute;
  bottom: -12px;
  right: -12px;
  width: 120px;
  height: 120px;
  background: var(--secondary);
  border-radius: var(--radius);
  z-index: -1;
  opacity: 0.15;
}

.feature-highlight-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 24px 20px;
  box-shadow: var(--shadow);
  transition: var(--transition);
  border-left: 4px solid var(--secondary);
  height: 100%;
}

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

.feature-highlight-card .fh-icon {
  width: 50px;
  height: 50px;
  background: linear-gradient(135deg, var(--primary), #1a4a8a);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 12px;
}

.feature-highlight-card .fh-icon i {
  color: var(--white);
  font-size: 1.2rem;
}

.feature-highlight-card h5 {
  font-size: 1rem;
  margin-bottom: 6px;
  color: var(--primary);
}

.service-card-icon {
  width: 70px;
  height: 70px;
  background: linear-gradient(135deg, var(--primary), #1a4a8a);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  transition: var(--transition);
}

.service-card-icon i {
  color: var(--white);
  font-size: 1.5rem;
}

.service-card:hover .service-card-icon {
  background: linear-gradient(135deg, var(--secondary), #c7142f);
  transform: scale(1.1);
}

.service-card-image {
  height: 180px;
  overflow: hidden;
  border-radius: var(--radius) var(--radius) 0 0;
  margin: -40px -30px 24px;
}

.service-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

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

.service-card-title {
  font-size: 1.2rem;
  color: var(--primary);
  margin-bottom: 12px;
}

.service-card-text {
  font-size: 0.95rem;
  margin-bottom: 16px;
}

.service-card-link {
  color: var(--secondary);
  font-weight: 600;
  font-size: 0.9rem;
}

.service-card-link:hover {
  color: var(--primary);
}

.why-card-icon {
  width: 60px;
  height: 60px;
  background: rgba(8, 42, 94, 0.08);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
  transition: var(--transition);
}

.why-card-icon i {
  color: var(--secondary);
  font-size: 1.4rem;
}

.why-card:hover .why-card-icon {
  background: var(--secondary);
}

.why-card:hover .why-card-icon i {
  color: var(--white);
}

.why-card-title {
  font-size: 1.1rem;
  color: var(--primary);
  margin-bottom: 10px;
}

.stats-section {
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
}

.stats-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(8, 42, 94, 0.92) 0%, rgba(8, 42, 94, 0.85) 100%);
  z-index: 1;
}

.cta-section {
  background-size: cover;
  background-position: center;
}

.cta-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(227, 24, 55, 0.92) 0%, rgba(199, 20, 47, 0.88) 100%);
  z-index: 1;
}

.cta-title,
.cta-subtitle {
  position: relative;
  z-index: 2;
}

/* ============================================================
   Buttons
   ============================================================ */
.btn-primary-custom {
  background: var(--secondary);
  color: var(--white);
  border: 2px solid var(--secondary);
  padding: 14px 35px;
  font-weight: 600;
  font-size: 0.95rem;
  border-radius: 50px;
  transition: var(--transition);
  text-transform: uppercase;
  letter-spacing: 1px;
  position: relative;
  overflow: hidden;
  z-index: 1;
}

.btn-primary-custom::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
  transition: left 0.5s ease;
  z-index: -1;
}

.btn-primary-custom:hover::before {
  left: 100%;
}

.btn-primary-custom:hover {
  background: #c7142f;
  border-color: #c7142f;
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(227, 24, 55, 0.4);
}

.btn-outline-custom {
  background: transparent;
  color: var(--white);
  border: 2px solid var(--white);
  padding: 14px 35px;
  font-weight: 600;
  font-size: 0.95rem;
  border-radius: 50px;
  transition: var(--transition);
  text-transform: uppercase;
  letter-spacing: 1px;
}

.btn-outline-custom:hover {
  background: var(--white);
  color: var(--primary);
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(255, 255, 255, 0.3);
}

.btn-navy {
  background: var(--primary);
  color: var(--white);
  border: 2px solid var(--primary);
  padding: 12px 30px;
  font-weight: 600;
  font-size: 0.95rem;
  border-radius: 50px;
  transition: var(--transition);
  text-transform: uppercase;
  letter-spacing: 1px;
}

.btn-navy:hover {
  background: var(--dark);
  border-color: var(--dark);
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: var(--shadow-hover);
}

/* ============================================================
   Page Banner (Inner Pages)
   ============================================================ */
.page-banner {
  position: relative;
  padding: 180px 0 100px;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  text-align: center;
  overflow: hidden;
}

.page-banner::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(8, 42, 94, 0.95) 0%, rgba(8, 42, 94, 0.8) 100%);
  z-index: 1;
}

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

.page-banner h1 {
  font-size: 2.8rem;
  color: var(--white);
  margin-bottom: 15px;
  animation: fadeInUp 0.8s ease;
}

.page-banner .breadcrumb {
  justify-content: center;
  background: transparent;
  padding: 0;
  margin: 0;
  animation: fadeInUp 1s ease;
}

.page-banner .breadcrumb-item,
.page-banner .breadcrumb-item a {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.95rem;
  font-weight: 400;
}

.page-banner .breadcrumb-item a:hover {
  color: var(--white);
}

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

.page-banner .breadcrumb-item + .breadcrumb-item::before {
  color: rgba(255, 255, 255, 0.5);
  content: "›";
  font-size: 1.1rem;
}

/* ============================================================
   Section Styling
   ============================================================ */
.section-padding {
  padding: 100px 0;
}

.section-padding-sm {
  padding: 60px 0;
}

.section-bg {
  background-color: var(--light-gray);
}

.section-title {
  text-align: center;
  margin-bottom: 60px;
}

.section-title .subtitle {
  display: inline-block;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--secondary);
  text-transform: uppercase;
  letter-spacing: 3px;
  margin-bottom: 10px;
  position: relative;
  padding: 0 20px;
}

.section-title .subtitle::before,
.section-title .subtitle::after {
  content: '';
  position: absolute;
  top: 50%;
  width: 30px;
  height: 2px;
  background: var(--secondary);
}

.section-title .subtitle::before {
  left: -20px;
}

.section-title .subtitle::after {
  right: -20px;
}

.section-title h2 {
  font-size: 2.4rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 15px;
}

.section-title h2 span {
  color: var(--secondary);
}

.section-title .title-underline {
  width: 60px;
  height: 3px;
  background: var(--secondary);
  margin: 0 auto 15px;
  border-radius: 2px;
}

.section-title p {
  font-size: 1.05rem;
  color: var(--text-light);
  max-width: 650px;
  margin: 0 auto;
}

/* ============================================================
   Service Cards
   ============================================================ */
.service-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 40px 30px;
  text-align: center;
  box-shadow: var(--shadow);
  transition: var(--transition);
  position: relative;
  overflow: hidden;
  height: 100%;
  border-bottom: 3px solid transparent;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, var(--primary), var(--secondary));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s ease;
}

.service-card:hover::before {
  transform: scaleX(1);
}

.service-card:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-hover);
  border-bottom-color: var(--secondary);
}

.service-card .icon-circle {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 25px;
  transition: var(--transition);
}

.service-card .icon-circle i {
  font-size: 1.8rem;
  color: var(--white);
  transition: var(--transition);
}

.service-card:hover .icon-circle {
  background: var(--secondary);
  transform: rotateY(180deg);
}

.service-card h4 {
  font-size: 1.2rem;
  font-weight: 600;
  margin-bottom: 15px;
  color: var(--primary);
}

.service-card p {
  font-size: 0.95rem;
  color: var(--text-light);
  margin-bottom: 20px;
}

.service-card .read-more {
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--secondary);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: var(--transition);
}

.service-card .read-more:hover {
  gap: 12px;
  color: var(--primary);
}

/* ============================================================
   Why Choose Us Cards
   ============================================================ */
.why-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 35px 25px;
  text-align: center;
  box-shadow: var(--shadow);
  transition: var(--transition);
  height: 100%;
  position: relative;
  overflow: hidden;
}

.why-card::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 0;
  background: var(--primary);
  transition: height 0.4s ease;
  z-index: 0;
}

.why-card:hover::after {
  height: 100%;
}

.why-card .icon-wrap,
.why-card h5,
.why-card p {
  position: relative;
  z-index: 1;
  transition: var(--transition);
}

.why-card .icon-wrap {
  width: 70px;
  height: 70px;
  border-radius: 50%;
  background: rgba(8, 42, 94, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
}

.why-card .icon-wrap i {
  font-size: 1.6rem;
  color: var(--primary);
  transition: var(--transition);
}

.why-card:hover .icon-wrap {
  background: rgba(255, 255, 255, 0.15);
}

.why-card:hover .icon-wrap i {
  color: var(--white);
}

.why-card h5 {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--primary);
  margin-bottom: 12px;
}

.why-card:hover h5 {
  color: var(--white);
}

.why-card p {
  font-size: 0.9rem;
  color: var(--text-light);
  margin-bottom: 0;
}

.why-card:hover p {
  color: rgba(255, 255, 255, 0.8);
}

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

/* ============================================================
   Stats Counter Section
   ============================================================ */
.stats-section {
  background-color: var(--primary);
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  padding: 80px 0;
  position: relative;
  overflow: hidden;
}

.stats-section::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -10%;
  width: 400px;
  height: 400px;
  border: 60px solid rgba(255, 255, 255, 0.03);
  border-radius: 50%;
}

.stats-section::after {
  content: '';
  position: absolute;
  bottom: -30%;
  left: -5%;
  width: 300px;
  height: 300px;
  border: 40px solid rgba(255, 255, 255, 0.03);
  border-radius: 50%;
}

.counter-item {
  text-align: center;
  padding: 20px 10px;
  position: relative;
  z-index: 1;
}

.counter-item .counter-number {
  font-size: 3rem;
  font-weight: 700;
  color: var(--white);
  line-height: 1;
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2px;
}

.counter-item .counter-number .count {
  display: inline-block;
}

.counter-item .counter-number .plus {
  color: var(--secondary);
  font-size: 2rem;
  font-weight: 700;
}

.counter-item .counter-label {
  font-size: 1rem;
  font-weight: 400;
  color: rgba(255, 255, 255, 0.7);
  text-transform: uppercase;
  letter-spacing: 1.5px;
}

.counter-item .counter-icon {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 18px;
}

.counter-item .counter-icon i {
  font-size: 1.4rem;
  color: var(--secondary);
}

/* ============================================================
   Testimonial Slider
   ============================================================ */
.testimonial-section {
  background: var(--light-gray);
}

.testimonial-card {
  text-align: center;
  padding: 50px 40px;
  max-width: 750px;
  margin: 0 auto;
}

.testimonial-card .quote-icon {
  font-size: 3.5rem;
  color: var(--secondary);
  opacity: 0.3;
  margin-bottom: 20px;
  line-height: 1;
}

.testimonial-card .testimonial-text {
  font-size: 1.15rem;
  font-style: italic;
  color: var(--text);
  line-height: 1.9;
  margin-bottom: 30px;
  position: relative;
}

.testimonial-card .client-info {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.testimonial-card .client-avatar {
  width: 70px;
  height: 70px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid var(--secondary);
  margin-bottom: 15px;
}

.testimonial-card .client-name {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--primary);
  margin-bottom: 3px;
}

.testimonial-card .client-company {
  font-size: 0.9rem;
  color: var(--text-light);
  margin-bottom: 10px;
}

.testimonial-card .stars {
  color: #FFC107;
  font-size: 0.95rem;
}

.testimonial-card .stars i {
  margin: 0 2px;
}

.testimonial-carousel .carousel-indicators {
  bottom: -10px;
}

.testimonial-carousel .carousel-indicators [data-bs-target] {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--primary);
  opacity: 0.3;
  border: none;
  margin: 0 5px;
  transition: var(--transition);
}

.testimonial-carousel .carousel-indicators [data-bs-target].active {
  opacity: 1;
  background: var(--secondary);
  width: 30px;
  border-radius: 6px;
}

/* ============================================================
   News / Blog Cards
   ============================================================ */
.news-card {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: var(--transition);
  height: 100%;
  display: flex;
  flex-direction: column;
}

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

.news-card .news-img {
  position: relative;
  height: 220px;
  overflow: hidden;
}

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

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

.news-card .news-img .date-badge {
  position: absolute;
  bottom: 15px;
  left: 15px;
  background: var(--secondary);
  color: var(--white);
  padding: 6px 15px;
  border-radius: 50px;
  font-size: 0.8rem;
  font-weight: 500;
}

.news-card .news-body {
  padding: 25px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.news-card .news-body h5 {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--primary);
  margin-bottom: 12px;
  line-height: 1.4;
}

.news-card .news-body h5 a {
  color: var(--primary);
}

.news-card .news-body h5 a:hover {
  color: var(--secondary);
}

.news-card .news-body p {
  font-size: 0.9rem;
  color: var(--text-light);
  flex: 1;
}

.news-card .read-more-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--secondary);
  margin-top: auto;
  transition: var(--transition);
}

.news-card .read-more-link i {
  transition: transform 0.3s ease;
}

.news-card .read-more-link:hover {
  color: var(--primary);
}

.news-card .read-more-link:hover i {
  transform: translateX(5px);
}

/* ============================================================
   CTA Section
   ============================================================ */
.cta-section {
  background-color: var(--secondary);
  background-size: cover;
  background-position: center;
  padding: 80px 0;
  position: relative;
  overflow: hidden;
}

.cta-section::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -10%;
  width: 500px;
  height: 500px;
  border: 80px solid rgba(255, 255, 255, 0.05);
  border-radius: 50%;
}

.cta-section::after {
  content: '';
  position: absolute;
  bottom: -30%;
  left: -5%;
  width: 350px;
  height: 350px;
  border: 50px solid rgba(255, 255, 255, 0.05);
  border-radius: 50%;
}

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

.cta-section h2 {
  font-size: 2.6rem;
  color: var(--white);
  font-weight: 700;
  margin-bottom: 15px;
}

.cta-section p {
  font-size: 1.1rem;
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: 30px;
  max-width: 600px;
}

.cta-section .btn-outline-custom {
  border-color: var(--white);
  color: var(--white);
}

.cta-section .btn-outline-custom:hover {
  background: var(--white);
  color: var(--secondary);
}

/* ============================================================
   About Page Styles
   ============================================================ */
.about-content {
  position: relative;
}

.about-content .about-img-wrap {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-hover);
}

.about-content .about-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.about-content .about-img-wrap .experience-badge {
  position: absolute;
  bottom: 20px;
  right: 20px;
  background: var(--secondary);
  color: var(--white);
  padding: 18px 22px;
  border-radius: var(--radius);
  text-align: center;
}

.about-content .about-img-wrap .experience-badge .num {
  display: block;
  font-size: 2rem;
  font-weight: 700;
  line-height: 1;
}

.about-content .about-img-wrap .experience-badge span {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.vision-mission-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 35px;
  box-shadow: var(--shadow);
  height: 100%;
  transition: var(--transition);
  border-left: 4px solid var(--secondary);
}

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

.vision-mission-card .vm-icon {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: rgba(8, 42, 94, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}

.vision-mission-card .vm-icon i {
  font-size: 1.5rem;
  color: var(--primary);
}

.vision-mission-card h4 {
  font-size: 1.3rem;
  font-weight: 600;
  color: var(--primary);
  margin-bottom: 12px;
}

.value-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 30px;
  text-align: center;
  box-shadow: var(--shadow);
  transition: var(--transition);
  height: 100%;
}

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

.value-card .value-icon {
  width: 65px;
  height: 65px;
  border-radius: var(--radius);
  background: linear-gradient(135deg, var(--primary), #0d3f7e);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
}

.value-card .value-icon i {
  font-size: 1.5rem;
  color: var(--white);
}

.value-card h5 {
  font-weight: 600;
  color: var(--primary);
  margin-bottom: 10px;
}

.director-card {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: var(--transition);
  height: 100%;
}

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

.director-card .director-img {
  position: relative;
  height: 280px;
  overflow: hidden;
}

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

.director-card:hover .director-img img {
  transform: scale(1.05);
}

.director-card .director-img .overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 50%;
  background: linear-gradient(transparent, rgba(8, 42, 94, 0.8));
  opacity: 0;
  transition: var(--transition);
}

.director-card:hover .director-img .overlay {
  opacity: 1;
}

.director-card .director-info {
  padding: 20px;
  text-align: center;
}

.director-card .director-info h5 {
  font-weight: 600;
  color: var(--primary);
  margin-bottom: 5px;
}

.director-card .director-info p {
  font-size: 0.9rem;
  color: var(--secondary);
  font-weight: 500;
  margin-bottom: 0;
}

/* ============================================================
   Services Detail Page
   ============================================================ */
.service-detail-block {
  padding: 60px 0;
}

.service-detail-block:nth-child(even) {
  background: var(--light-gray);
}

.service-detail-block .service-detail-img {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}

.service-detail-block .service-detail-img img {
  width: 100%;
  height: 350px;
  object-fit: cover;
}

.service-detail-block h3 {
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 15px;
}

.service-detail-block p {
  font-size: 1rem;
  color: var(--text-light);
  line-height: 1.8;
}

.benefits-list {
  margin-top: 15px;
}

.benefits-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 8px 0;
  font-size: 0.95rem;
  color: var(--text);
}

.benefits-list li i {
  color: var(--secondary);
  font-size: 1rem;
  margin-top: 4px;
  flex-shrink: 0;
}

/* ============================================================
   Why Colombo Section
   ============================================================ */
.colombo-feature-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 30px;
  box-shadow: var(--shadow);
  transition: var(--transition);
  height: 100%;
  position: relative;
}

.colombo-feature-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-hover);
}

.colombo-feature-card .feature-number {
  width: 45px;
  height: 45px;
  border-radius: 50%;
  background: var(--primary);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1rem;
  margin-bottom: 18px;
}

.colombo-feature-card h5 {
  font-weight: 600;
  color: var(--primary);
  margin-bottom: 10px;
}

.colombo-feature-card p {
  font-size: 0.9rem;
  color: var(--text-light);
  margin-bottom: 0;
}

.map-section {
  position: relative;
  height: 450px;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}

.map-section iframe {
  width: 100%;
  height: 100%;
  border: none;
}

.map-section .map-overlay {
  position: absolute;
  top: 20px;
  left: 20px;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  border-radius: var(--radius);
  padding: 25px;
  max-width: 300px;
  box-shadow: var(--shadow-hover);
}

.map-section .map-overlay h5 {
  font-weight: 600;
  color: var(--primary);
  margin-bottom: 10px;
}

.map-section .map-overlay p {
  font-size: 0.9rem;
  color: var(--text-light);
  margin-bottom: 0;
}

/* ============================================================
   Forms
   ============================================================ */
.form-control,
.form-select {
  padding: 14px 18px;
  border: 2px solid #e0e0e0;
  border-radius: var(--radius);
  font-size: 0.95rem;
  font-family: 'Inter', sans-serif;
  color: var(--text);
  background-color: var(--white);
  transition: var(--transition);
}

.form-control:focus,
.form-select:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 4px rgba(8, 42, 94, 0.1);
  outline: none;
}

.form-control::placeholder {
  color: #aaa;
  font-weight: 300;
}

textarea.form-control {
  min-height: 130px;
  resize: vertical;
}

.form-label {
  font-weight: 500;
  color: var(--text);
  margin-bottom: 6px;
  font-size: 0.9rem;
}

.form-group {
  margin-bottom: 20px;
}

.form-check-input:checked {
  background-color: var(--primary);
  border-color: var(--primary);
}

.contact-form-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 40px;
  box-shadow: var(--shadow);
}

.contact-info-card {
  background: var(--primary);
  border-radius: var(--radius);
  padding: 40px;
  color: var(--white);
  height: 100%;
}

.contact-info-card h4 {
  color: var(--white);
  margin-bottom: 25px;
}

.contact-info-item {
  display: flex;
  align-items: flex-start;
  gap: 15px;
  margin-bottom: 25px;
}

.contact-info-item .info-icon {
  width: 45px;
  height: 45px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.contact-info-item .info-icon i {
  color: var(--secondary);
  font-size: 1rem;
}

.contact-info-item .info-text h6 {
  color: var(--white);
  font-size: 0.9rem;
  font-weight: 600;
  margin-bottom: 3px;
}

.contact-info-item .info-text p {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.9rem;
  margin-bottom: 0;
}

/* ============================================================
   Footer
   ============================================================ */
.site-footer {
  background: var(--primary);
  color: rgba(255, 255, 255, 0.75);
  margin-top: auto;
}

.site-footer .footer-main {
  padding: 70px 0 40px;
}

.site-footer .footer-widget {
  margin-bottom: 24px;
}

.site-footer .footer-logo {
  height: 50px;
  width: auto;
  margin-bottom: 16px;
}

.site-footer .footer-description {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.9rem;
  line-height: 1.8;
  margin-bottom: 0;
}

.site-footer .footer-heading {
  color: var(--white);
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 22px;
  position: relative;
  padding-bottom: 12px;
}

.site-footer .footer-heading::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 35px;
  height: 3px;
  background: var(--secondary);
  border-radius: 2px;
}

.site-footer .footer-links {
  padding: 0;
  margin: 0;
}

.site-footer .footer-links li {
  margin-bottom: 10px;
}

.site-footer .footer-links li a {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.9rem;
  transition: var(--transition);
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.site-footer .footer-links li a i {
  color: var(--secondary);
  font-size: 0.65rem;
  transition: transform 0.3s ease;
}

.site-footer .footer-links li a:hover {
  color: var(--white);
  padding-left: 4px;
}

.site-footer .footer-links li a:hover i {
  transform: translateX(3px);
}

.site-footer .footer-contact {
  padding: 0;
  margin: 0;
}

.site-footer .footer-contact li {
  margin-bottom: 16px;
}

.site-footer .footer-contact li:last-child {
  margin-bottom: 0;
}

.site-footer .contact-icon {
  width: 38px;
  height: 38px;
  min-width: 38px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.site-footer .contact-icon i {
  color: var(--secondary);
  font-size: 0.95rem;
}

.site-footer .footer-contact-text,
.site-footer .footer-contact a {
  color: rgba(255, 255, 255, 0.75);
  font-size: 0.9rem;
  line-height: 1.6;
  text-decoration: none;
  transition: var(--transition);
}

.site-footer .footer-contact a:hover {
  color: var(--white);
}

.site-footer .footer-social {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.site-footer .social-icon {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-size: 0.95rem;
  transition: var(--transition);
}

.site-footer .social-icon:hover {
  background: var(--secondary);
  color: var(--white);
  transform: translateY(-3px);
}

.site-footer .footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  padding: 18px 0;
  background: rgba(0, 0, 0, 0.15);
}

.site-footer .footer-bottom p,
.site-footer .footer-bottom-text {
  color: rgba(255, 255, 255, 0.55);
  font-size: 0.85rem;
  margin-bottom: 0;
}

/* ============================================================
   Floating Buttons (WhatsApp + Email)
   ============================================================ */
.floating-buttons {
  position: fixed;
  bottom: 90px;
  right: 25px;
  z-index: 9990;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.floating-btn {
  width: 55px;
  height: 55px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-size: 1.4rem;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  transition: var(--transition);
  animation: bounceIn 0.6s ease;
  position: relative;
}

.floating-btn:hover {
  transform: scale(1.1);
  color: var(--white);
}

.floating-btn.whatsapp,
.floating-btn.floating-whatsapp {
  background: #25D366;
}

.floating-btn.whatsapp:hover,
.floating-btn.floating-whatsapp:hover {
  background: #1da851;
  box-shadow: 0 6px 20px rgba(37, 211, 102, 0.4);
}

.floating-btn.email,
.floating-btn.floating-email {
  background: var(--primary);
}

.floating-btn.email:hover,
.floating-btn.floating-email:hover {
  background: var(--dark);
  box-shadow: 0 6px 20px rgba(8, 42, 94, 0.4);
}

.floating-btn .tooltip-text {
  position: absolute;
  right: 65px;
  background: var(--dark);
  color: var(--white);
  padding: 6px 14px;
  border-radius: 6px;
  font-size: 0.8rem;
  font-weight: 500;
  white-space: nowrap;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition);
}

.floating-btn:hover .tooltip-text {
  opacity: 1;
  visibility: visible;
}

.floating-btn .tooltip-text::after {
  content: '';
  position: absolute;
  top: 50%;
  right: -6px;
  transform: translateY(-50%);
  border: 6px solid transparent;
  border-left-color: var(--dark);
}

.floating-btn .pulse-ring {
  position: absolute;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  animation: pulseRing 2s ease-out infinite;
}

.floating-btn.whatsapp .pulse-ring {
  border: 3px solid #25D366;
}

.floating-btn.email .pulse-ring {
  border: 3px solid var(--primary);
}

@keyframes pulseRing {
  0% { transform: scale(1); opacity: 0.6; }
  100% { transform: scale(1.5); opacity: 0; }
}

@keyframes bounceIn {
  0% { opacity: 0; transform: scale(0.3); }
  50% { transform: scale(1.05); }
  70% { transform: scale(0.9); }
  100% { opacity: 1; transform: scale(1); }
}

/* ============================================================
   Scroll to Top Button
   ============================================================ */
.scroll-to-top {
  position: fixed;
  bottom: 25px;
  right: 25px;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--primary);
  color: var(--white);
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px);
  transition: var(--transition);
  z-index: 9989;
  box-shadow: 0 4px 15px rgba(8, 42, 94, 0.3);
}

.scroll-to-top.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.scroll-to-top:hover {
  background: var(--secondary);
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(227, 24, 55, 0.4);
}

/* ============================================================
   Glassmorphism Effects
   ============================================================ */
.glass-card {
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: var(--radius);
  padding: 30px;
}

.glass-badge {
  display: inline-block;
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 50px;
  padding: 8px 20px;
  color: var(--white);
  font-size: 0.85rem;
  font-weight: 500;
}

/* ============================================================
   Quote Request Form
   ============================================================ */
.quote-form-section {
  background: var(--light-gray);
}

.quote-form-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 45px;
  box-shadow: var(--shadow);
}

.quote-form-card .form-header {
  text-align: center;
  margin-bottom: 35px;
}

.quote-form-card .form-header h3 {
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 10px;
}

.quote-form-card .form-header p {
  color: var(--text-light);
}

/* ============================================================
   News Detail Page
   ============================================================ */
.news-detail .news-featured-img {
  border-radius: var(--radius);
  overflow: hidden;
  margin-bottom: 30px;
  box-shadow: var(--shadow);
}

.news-detail .news-featured-img img {
  width: 100%;
  height: 400px;
  object-fit: cover;
}

.news-detail .news-meta {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-bottom: 20px;
  flex-wrap: wrap;
}

.news-detail .news-meta span {
  font-size: 0.9rem;
  color: var(--text-light);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.news-detail .news-meta span i {
  color: var(--secondary);
}

.news-detail .news-content {
  font-size: 1.05rem;
  line-height: 1.9;
}

.news-detail .news-content p {
  margin-bottom: 18px;
  color: var(--text);
}

/* ============================================================
   Pagination
   ============================================================ */
.pagination .page-link {
  border: none;
  color: var(--primary);
  font-weight: 500;
  padding: 10px 18px;
  margin: 0 3px;
  border-radius: var(--radius);
  transition: var(--transition);
}

.pagination .page-link:hover {
  background: var(--primary);
  color: var(--white);
}

.pagination .page-item.active .page-link {
  background: var(--primary);
  color: var(--white);
  box-shadow: var(--shadow);
}

/* ============================================================
   Alert Messages
   ============================================================ */
.alert-custom {
  border: none;
  border-radius: var(--radius);
  padding: 16px 20px;
  font-size: 0.95rem;
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 12px;
}

.alert-custom.success {
  background: #d4edda;
  color: #155724;
}

.alert-custom.error {
  background: #f8d7da;
  color: #721c24;
}

.alert-custom.warning {
  background: #fff3cd;
  color: #856404;
}

.alert-custom.info {
  background: #d1ecf1;
  color: #0c5460;
}

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

@keyframes fadeInLeft {
  from {
    opacity: 0;
    transform: translateX(-30px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes fadeInRight {
  from {
    opacity: 0;
    transform: translateX(30px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes fadeInDown {
  from {
    opacity: 0;
    transform: translateY(-30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes pulse {
  0%, 100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.05);
  }
}

@keyframes bounce {
  0%, 20%, 50%, 80%, 100% {
    transform: translateY(0);
  }
  40% {
    transform: translateY(-15px);
  }
  60% {
    transform: translateY(-8px);
  }
}

@keyframes float {
  0%, 100% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-20px);
  }
}

@keyframes shimmer {
  0% { background-position: -200% 0; }
  100% { background-position: 200% 0; }
}

/* ---- Scroll Animation Classes ---- */
.animate-on-scroll {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.animate-on-scroll.animate {
  opacity: 1;
  transform: translateY(0);
}

.animate-on-scroll[data-animate="fadeInLeft"] {
  transform: translateX(-30px);
}

.animate-on-scroll[data-animate="fadeInLeft"].animate {
  transform: translateX(0);
}

.animate-on-scroll[data-animate="fadeInRight"] {
  transform: translateX(30px);
}

.animate-on-scroll[data-animate="fadeInRight"].animate {
  transform: translateX(0);
}

.animate-on-scroll[data-animate="fadeInDown"] {
  transform: translateY(-30px);
}

.animate-on-scroll[data-animate="fadeInDown"].animate {
  transform: translateY(0);
}

.animate-on-scroll[data-animate="zoomIn"] {
  transform: scale(0.8);
}

.animate-on-scroll[data-animate="zoomIn"].animate {
  transform: scale(1);
}

/* ---- Delay utilities ---- */
.delay-1 { transition-delay: 0.1s !important; }
.delay-2 { transition-delay: 0.2s !important; }
.delay-3 { transition-delay: 0.3s !important; }
.delay-4 { transition-delay: 0.4s !important; }
.delay-5 { transition-delay: 0.5s !important; }

/* ============================================================
   Utility Classes
   ============================================================ */
.text-primary-custom { color: var(--primary) !important; }
.text-secondary-custom { color: var(--secondary) !important; }
.bg-primary-custom { background-color: var(--primary) !important; }
.bg-secondary-custom { background-color: var(--secondary) !important; }
.bg-light-custom { background-color: var(--light-gray) !important; }

.fw-300 { font-weight: 300 !important; }
.fw-500 { font-weight: 500 !important; }
.fw-600 { font-weight: 600 !important; }

.ls-1 { letter-spacing: 1px; }
.ls-2 { letter-spacing: 2px; }
.ls-3 { letter-spacing: 3px; }

.rounded-custom { border-radius: var(--radius) !important; }

/* ============================================================
   Responsive - Tablet (max-width: 768px)
   ============================================================ */
@media (max-width: 768px) {
  h1 { font-size: 2.2rem; }
  h2 { font-size: 1.8rem; }
  h3 { font-size: 1.4rem; }

  .section-padding {
    padding: 60px 0;
  }

  .section-title {
    margin-bottom: 40px;
  }

  .section-title h2 {
    font-size: 1.8rem;
  }

  /* Hero */
  .hero-section {
    min-height: 100vh;
  }

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

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

  .hero-section .hero-buttons {
    flex-direction: column;
    align-items: flex-start;
  }

  .hero-section .hero-float-element {
    display: none;
  }

  /* Page Banner */
  .page-banner {
    padding: 140px 0 70px;
  }

  .page-banner h1 {
    font-size: 2rem;
  }

  /* Navbar */
  .navbar {
    background: var(--primary) !important;
    padding: 10px 0;
  }

  .navbar .navbar-collapse {
    background: var(--primary);
    padding: 15px;
    border-radius: var(--radius);
    margin-top: 10px;
    box-shadow: var(--shadow-hover);
  }

  .navbar .nav-link {
    padding: 10px 15px !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  }

  .navbar .nav-link::after {
    display: none;
  }

  /* Cards */
  .service-card,
  .why-card,
  .value-card,
  .colombo-feature-card {
    margin-bottom: 20px;
  }

  /* Counter */
  .counter-item .counter-number {
    font-size: 2.2rem;
  }

  .stats-section {
    padding: 50px 0;
  }

  /* CTA */
  .cta-section h2 {
    font-size: 1.8rem;
  }

  .cta-section {
    padding: 60px 0;
    text-align: center;
  }

  .cta-section p {
    margin: 0 auto 25px;
  }

  /* Testimonial */
  .testimonial-card {
    padding: 30px 20px;
  }

  .testimonial-card .testimonial-text {
    font-size: 1rem;
  }

  /* Footer */
  .site-footer .footer-main {
    padding: 50px 0 30px;
  }

  .site-footer .footer-widget {
    text-align: center;
  }

  .site-footer .footer-heading::after {
    left: 50%;
    transform: translateX(-50%);
  }

  .site-footer .footer-social {
    justify-content: center;
  }

  .site-footer .footer-contact li .d-flex {
    justify-content: center;
    text-align: left;
  }

  .site-footer .footer-bottom .col-md-6 {
    text-align: center !important;
  }

  /* Contact Form */
  .contact-form-card,
  .quote-form-card {
    padding: 25px;
  }

  .contact-info-card {
    padding: 25px;
    margin-bottom: 20px;
  }

  /* Floating Buttons */
  .floating-buttons {
    bottom: 80px;
    right: 15px;
  }

  .floating-btn {
    width: 48px;
    height: 48px;
    font-size: 1.2rem;
  }

  .floating-btn .tooltip-text {
    display: none;
  }

  .scroll-to-top {
    right: 15px;
    bottom: 20px;
    width: 42px;
    height: 42px;
  }

  /* About */
  .about-content .about-img-wrap {
    margin-bottom: 30px;
  }

  .director-card .director-img {
    height: 220px;
  }

  /* Services Detail */
  .service-detail-block .service-detail-img img {
    height: 250px;
  }

  /* Map */
  .map-section {
    height: 350px;
  }

  .map-section .map-overlay {
    position: relative;
    top: auto;
    left: auto;
    max-width: 100%;
    margin-bottom: 15px;
    border-radius: var(--radius);
  }
}

/* ============================================================
   Responsive - Mobile (max-width: 576px)
   ============================================================ */
@media (max-width: 576px) {
  h1 { font-size: 1.8rem; }
  h2 { font-size: 1.5rem; }
  h3 { font-size: 1.2rem; }

  body {
    font-size: 15px;
  }

  .section-padding {
    padding: 45px 0;
  }

  .section-title h2 {
    font-size: 1.5rem;
  }

  .section-title .subtitle {
    font-size: 0.75rem;
    letter-spacing: 2px;
  }

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

  .hero-section .hero-subtitle {
    font-size: 0.8rem;
    letter-spacing: 2px;
    padding-left: 40px;
  }

  .hero-section .hero-subtitle::before {
    width: 25px;
  }

  .hero-section .hero-description {
    font-size: 0.9rem;
  }

  .btn-primary-custom,
  .btn-outline-custom,
  .btn-navy {
    padding: 12px 25px;
    font-size: 0.85rem;
  }

  .page-banner {
    padding: 120px 0 50px;
  }

  .page-banner h1 {
    font-size: 1.6rem;
  }

  .counter-item .counter-number {
    font-size: 1.8rem;
  }

  .counter-item .counter-label {
    font-size: 0.8rem;
  }

  .cta-section h2 {
    font-size: 1.5rem;
  }

  .testimonial-card .quote-icon {
    font-size: 2.5rem;
  }

  .news-card .news-img {
    height: 180px;
  }

  .news-detail .news-featured-img img {
    height: 250px;
  }

  .vision-mission-card,
  .contact-form-card,
  .quote-form-card {
    padding: 20px;
  }

  .site-footer .footer-contact li .d-flex {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .site-footer .contact-icon {
    margin-bottom: 8px;
    margin-right: 0 !important;
  }

  .map-section {
    height: 280px;
  }

  .floating-buttons {
    bottom: 70px;
    right: 12px;
    gap: 8px;
  }

  .floating-btn {
    width: 44px;
    height: 44px;
    font-size: 1.1rem;
  }
}

/* ============================================================
   Print Styles
   ============================================================ */
@media print {
  .navbar,
  .floating-buttons,
  .scroll-to-top,
  .site-footer,
  .cta-section {
    display: none !important;
  }

  .page-banner {
    padding: 30px 0;
    background: none !important;
  }

  .page-banner::before {
    display: none;
  }

  .page-banner h1 {
    color: var(--primary);
  }

  .section-padding {
    padding: 30px 0;
  }

  body {
    color: #000;
    background: #fff;
  }
}
