/* ===== CSS RESET & BASE STYLES ===== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  /* Color Palette */
  --primary-blue: #355eb9;
  --primary-blue-dark: #1d4ed8;
  --primary-blue-light: #3b82f6;
  --secondary-blue: #1e40af;
  --accent-blue: #60a5fa;

  --white: #ffffff;
  --black: #000000;
  --grey-50: #f9fafb;
  --grey-100: #f3f4f6;
  --grey-200: #e5e7eb;
  --grey-300: #d1d5db;
  --grey-400: #9ca3af;
  --grey-500: #6b7280;
  --grey-600: #4b5563;
  --grey-700: #374151;
  --grey-800: #1f2937;
  --grey-900: #111827;

  /* Typography */
  --font-primary: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --font-heading: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;

  /* Spacing */
  --container-max-width: 1500px;
  --section-padding: 80px 0;
  --element-spacing: 2rem;

  /* Transitions */
  --transition-fast: 0.2s ease;
  --transition-normal: 0.3s ease;
  --transition-slow: 0.5s ease;

  /* Shadows */
  --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
  --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);

  /* Border Radius */
  --radius-sm: 0.375rem;
  --radius-md: 0.5rem;
  --radius-lg: 0.75rem;
  --radius-xl: 1rem;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-primary);
  line-height: 1.6;
  color: var(--grey-800);
  background-color: var(--white);
  overflow-x: hidden;
}

a {
  text-decoration: none;
  cursor: pointer;
}

/* ===== UTILITY CLASSES ===== */
.container {
  max-width: var(--container-max-width);
  margin: 0 auto;
  padding: 0 1rem;
}

.laps {
  color: rgb(8, 8, 124);
  font-weight: bold;
}

.international {
  color: black;
}

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

.text-left {
  text-align: left;
}

.text-right {
  text-align: right;
}

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

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

.fade-in-left {
  opacity: 0;
  transform: translateX(-30px);
  transition: all 0.6s ease;
}

.fade-in-left.visible {
  opacity: 1;
  transform: translateX(0);
}

.fade-in-right {
  opacity: 0;
  transform: translateX(30px);
  transition: all 0.6s ease;
}

.fade-in-right.visible {
  opacity: 1;
  transform: translateX(0);
}

.slide-in-left {
  opacity: 0;
  transform: translateX(-50px);
  transition: all 0.8s ease;
}

.slide-in-left.visible {
  opacity: 1;
  transform: translateX(0);
}

.slide-in-right {
  opacity: 0;
  transform: translateX(50px);
  transition: all 0.8s ease;
}

.slide-in-right.visible {
  opacity: 1;
  transform: translateX(0);
}

.slide-in-up {
  opacity: 0;
  transform: translateY(50px);
  transition: all 0.8s ease;
}

.slide-in-up.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ===== BUTTONS ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 1.5rem;
  font-size: 0.875rem;
  font-weight: 600;
  text-decoration: none;
  border: none;
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: all var(--transition-normal);
  position: relative;
  overflow: hidden;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.btn: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;
}

.btn:hover:before {
  left: 100%;
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary-blue), var(--primary-blue-dark));
  color: var(--white);
  box-shadow: var(--shadow-md);
}

.btn-primary:hover {
  background: linear-gradient(135deg, var(--primary-blue-dark), var(--secondary-blue));
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

.btn-secondary {
  background: var(--white);
  color: var(--primary-blue);
  border: 2px solid var(--primary-blue);
}

.btn-secondary:hover {
  background: var(--primary-blue);
  color: var(--white);
  transform: translateY(-2px);
}

.btn-outline {
  background: transparent;
  color: rgb(0, 0, 0);
  border: 2px solid var(--primary-blue);
}

.btn-outline:hover {
  background: var(--primary-blue);
  color: var(--white);
  transform: translateY(-2px);
}

.btn-large {
  padding: 1rem 2rem;
  font-size: 1rem;
}

.btn-full {
  width: 100%;
}

/* ===== TOP HEADER ===== */
.top-header {
  background: var(--grey-800);
  color: var(--white);
  padding: 0.5rem 0;
  font-size: 0.875rem;
}

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

.top-header-left,
.top-header-right {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.contact-info {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.social-links {
  display: flex;
  gap: 0.5rem;
}

.social-links a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  background: var(--grey-700);
  color: var(--white);
  border-radius: 50%;
  text-decoration: none;
  transition: all var(--transition-normal);
}

.social-links a:hover {
  background: var(--primary-blue);
  transform: translateY(-2px);
}

/* ===== MAIN NAVIGATION ===== */
.main-nav {
  background: var(--white);
  box-shadow: var(--shadow-md);
  position: sticky;
  top: 0;
  z-index: 1000;
  transition: all var(--transition-normal);
}

.main-nav .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  /* padding: 13px; */
}

.nav-brand .logo {
  height: 90px;
  width: auto;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.nav-links {
  display: flex;
  list-style: none;
  gap: 2rem;
  margin: 0;
}

.nav-link {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--grey-700);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.875rem;
  padding: 0.5rem 0;
  position: relative;
  transition: all var(--transition-normal);
}

.nav-link:hover,
.nav-link.active {
  color: var(--primary-blue);
}

.nav-link:after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--primary-blue);
  transition: width var(--transition-normal);
}

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

/* Dropdown Menu */
.dropdown {
  position: relative;
}

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

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

.dropdown-menu a {
  display: block;
  padding: 0.75rem 1rem;
  color: var(--grey-700);
  text-decoration: none;
  transition: all var(--transition-fast);
}

.dropdown-menu a:hover {
  background: var(--grey-50);
  color: var(--primary-blue);
}

/* Navigation Actions */
.nav-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.search-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background: var(--grey-100);
  border: none;
  border-radius: 50%;
  cursor: pointer;
  transition: all var(--transition-normal);
}

.search-btn:hover {
  background: var(--primary-blue);
  color: var(--white);
  transform: scale(1.1);
}

.enquiry-btn {
  background: var(--primary-blue);
  color: var(--white);
  padding: 0.5rem 1rem;
  border: none;
  border-radius: var(--radius-md);
  font-weight: 600;
  cursor: pointer;
  transition: all var(--transition-normal);
}

.enquiry-btn:hover,
.enquiry-btn.active {
  background: var(--primary-blue-dark);
  transform: translateY(-2px);
}

/* Mobile Menu Toggle */
.mobile-menu-toggle {
  display: none;
  flex-direction: column;
  cursor: pointer;
  padding: 0.5rem;
  position: relative;
  z-index: 10001;
}

.mobile-menu-toggle span {
  width: 25px;
  height: 3px;
  background: var(--grey-700);
  margin: 3px 0;
  transition: all var(--transition-normal);
}

.mobile-menu-toggle.active span:nth-child(1) {
  transform: rotate(-45deg) translate(-5px, 6px);
}

.mobile-menu-toggle.active span:nth-child(2) {
  opacity: 0;
}

.mobile-menu-toggle.active span:nth-child(3) {
  transform: rotate(45deg) translate(-5px, -6px);
}

/* Mobile Menu Overlay */
.mobile-menu-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  z-index: 999;
  opacity: 0;
  visibility: hidden;
  transition: all var(--transition-normal);
}

.mobile-menu-overlay.active {
  opacity: 1;
  visibility: visible;
}

/* ===== HERO SECTION ===== */
.hero {
  position: relative;
  min-height: 85vh;
  display: flex;
  align-items: center;
  background: linear-gradient(135deg, var(--primary-blue) 0%, var(--secondary-blue) 100%);
  overflow: hidden;
}

.hero-background {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: url("https://www.hseblog.com/wp-content/uploads/2023/10/What-Is-The-Duties-And-Responsibilities-Of-Safety-Officer.webp")
    center / cover;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  /* background: linear-gradient(135deg, rgba(37, 99, 235, 0.9) 0%, rgba(30, 64, 175, 0.8) 100%); */
  opacity: 0.5;
}

.hero-content {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding: 2rem;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(12px);
    border-radius: 12px;
    box-shadow: 20px -4px 32px rgb(131 131 131 / 20%);
}


.hero-text {
  flex: 1;
  color: var(--black);
  animation: fadeInUp 1s ease;
}

.hero-subtitle {
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: 2px;
  margin-bottom: 1rem;
  opacity: 0.9;
}

.hero-title {
  font-size: 3.5rem;
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 1.5rem;
}

.hero-title .highlight {
  color: var(--accent-blue);
  position: relative;
}

.hero-title .highlight:after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: var(--accent-blue);
  animation: slideIn 1s ease 0.5s both;
}

.hero-description {
  font-size: 1.125rem;
  line-height: 1.6;
  margin-bottom: 2rem;
  opacity: 0.9;
}

.hero-buttons {
  display: flex;
  gap: 1rem;
  margin-bottom: 2rem;
}

.hero-badge {
  position: absolute;
  top: 50%;
  right: 5%;
  transform: translateY(-50%);
  animation: float 3s ease-in-out infinite;
}


/* ===== HERO SLIDER ===== */
.hero-slider {
  position: relative;
  height: 600px;
  overflow: hidden;
  border-radius: var(--radius-xl);
  margin: 2rem 0;
}

.slider-container {
  position: relative;
  width: 100%;
  height: 100%;
}

.slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover !important;
  background-position: center !important;
  background-repeat: no-repeat !important;
  display: flex;
  align-items: center;
  opacity: 0;
  transform: translateX(100%);
  transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
  border-radius: var(--radius-xl);
}

.slide.active {
  opacity: 1;
  transform: translateX(0);
}

.slide.prev {
  transform: translateX(-100%);
}

.slide-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(37, 99, 235, 0.8) 0%, rgba(30, 64, 175, 0.6) 100%);
  border-radius: var(--radius-xl);
}

.slide-content {
  position: relative;
  z-index: 2;
  color: var(--white);
  max-width: 600px;
  padding: 0 2rem;



  position: relative;
    z-index: 2;
    width: 100%;
    padding: 2rem;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(12px);
    border-radius: 12px;
    box-shadow: 20px -4px 32px rgb(131 131 131 / 20%);
}

.slide-badge {
  display: inline-block;
  background: rgba(255, 255, 255, 0.2);
  color: var(--white);
  padding: 0.5rem 1rem;
  border-radius: var(--radius-lg);
  font-size: 0.875rem;
  font-weight: 600;
  margin-bottom: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  backdrop-filter: blur(10px);
}

.slide-title {
  font-size: 3rem;
  font-weight: 700;
  margin-bottom: 1rem;
  line-height: 1.2;
  animation: slideInUp 0.8s ease;
}

.slide-description {
  font-size: 1.25rem;
  margin-bottom: 2rem;
  opacity: 0.95;
  line-height: 1.6;
  animation: slideInUp 0.8s ease 0.2s both;
}

.slide-actions {
  display: flex;
  gap: 1rem;
  animation: slideInUp 0.8s ease 0.4s both;
}

.slider-nav {
  position: absolute;
  top: 50%;
  width: 100%;
  display: flex;
  justify-content: space-between;
  padding: 0 30px;
  transform: translateY(-50%);
}

.slider-btn {
  width: 60px;
  height: 60px;
  background: rgba(255, 255, 255, 0.15);
  border: 2px solid rgba(255, 255, 255, 0.3);
  border-radius: 50%;
  color: var(--white);
  cursor: pointer;
  transition: all var(--transition-normal);
  backdrop-filter: blur(20px);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
}

.slider-btn:hover {
  background: rgba(255, 255, 255, 0.25);
  border-color: rgba(255, 255, 255, 0.5);
  transform: scale(1.1);
}

.prev-btn {
  left: 2rem;
}

.next-btn {
  right: 2rem;
}

.slider-dots {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 0.75rem;
  z-index: 10;
}

.dot {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.4);
  cursor: pointer;
  transition: all var(--transition-normal);
  position: relative;
}

.dot:hover {
  background: rgba(255, 255, 255, 0.7);
}

.dot.active {
  background: var(--white);
  transform: scale(1.3);
}

.dot.active::after {
  content: "";
  position: absolute;
  top: -4px;
  left: -4px;
  right: -4px;
  bottom: -4px;
  border: 2px solid rgba(255, 255, 255, 0.5);
  border-radius: 50%;
  animation: pulse-dot 2s infinite;
}

@keyframes pulse-dot {
  0% {
    transform: scale(1);
    opacity: 1;
  }
  100% {
    transform: scale(1.5);
    opacity: 0;
  }
}

/* ===== SECTION HEADERS ===== */
.section-header {
  margin-bottom: 3rem;
}

.section-badge {
  display: inline-block;
  background: var(--primary-blue);
  color: var(--white);
  padding: 0.5rem 1rem;
  border-radius: var(--radius-lg);
  font-size: 0.875rem;
  font-weight: 600;
  margin-bottom: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.section-header h2 {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--grey-900);
  margin-bottom: 1rem;
  line-height: 1.2;
}

.section-header p {
  font-size: 1.125rem;
  color: var(--grey-600);
  max-width: 1470px;
  margin: 0 auto;
}

/* ===== TOP ISO AGENCY SECTION ===== */
.top-iso-agency {
  padding: var(--section-padding);
  background: var(--grey-50);
}

.agency-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  margin-bottom: 3rem;
}

.stat-card {
  background: var(--white);
  padding: 2rem;
  border-radius: var(--radius-lg);
  text-align: center;
  box-shadow: var(--shadow-md);
  transition: all var(--transition-normal);
  position: relative;
  overflow: hidden;
}

.stat-card:before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, var(--primary-blue), var(--accent-blue));
}

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

.stat-icon {
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, var(--primary-blue), var(--accent-blue));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1rem;
  color: var(--white);
  font-size: 1.5rem;
}

.stat-number {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--primary-blue);
  margin-bottom: 0.5rem;
}

.stat-label {
  color: var(--grey-600);
  font-weight: 500;
}

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

.feature-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1.5rem;
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-normal);
}

.feature-item:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

.feature-icon {
  width: 50px;
  height: 50px;
  background: var(--primary-blue);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  flex-shrink: 0;
}

.feature-content h4 {
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--grey-900);
  margin-bottom: 0.5rem;
}

.feature-content p {
  color: var(--grey-600);
  line-height: 1.5;
}

/* ===== SERVICES SECTION ===== */
.our-services {
  padding: var(--section-padding);
}

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

.service-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 2rem;
  box-shadow: var(--shadow-md);
  transition: all var(--transition-normal);
  position: relative;
  overflow: hidden;
}

.service-card:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-xl);
}

.service-card.featured {
  border: 2px solid var(--primary-blue);
  transform: scale(1.05);
}

.featured-badge {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: var(--primary-blue);
  color: var(--white);
  padding: 0.25rem 0.75rem;
  border-radius: var(--radius-lg);
  font-size: 0.75rem;
  font-weight: 600;
}

.service-icon {
  width: 70px;
  height: 70px;
  background: linear-gradient(135deg, var(--primary-blue), var(--accent-blue));
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-size: 1.75rem;
  margin-bottom: 1.5rem;
}

.service-card h3 {
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--grey-900);
  margin-bottom: 1rem;
}

.service-card p {
  color: var(--grey-600);
  margin-bottom: 1.5rem;
  line-height: 1.6;
}

.service-features {
  list-style: none;
  margin-bottom: 2rem;
}

.service-features li {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.5rem;
  color: var(--grey-700);
}

.service-features i {
  color: var(--primary-blue);
  font-size: 0.875rem;
}

/* ===== TEAM SECTION ===== */
.our-team {
  padding: var(--section-padding);
  background: var(--grey-50);
}

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

.team-member {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  transition: all var(--transition-normal);
}

.team-member:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-xl);
}

.member-photo {
  position: relative;
  overflow: hidden;
  height: 300px;
}

.member-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: all var(--transition-slow);
}

.member-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(37, 99, 235, 0.9);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: all var(--transition-normal);
}

.member-photo:hover .member-overlay {
  opacity: 1;
}

.member-photo:hover img {
  transform: scale(1.1);
}

.member-overlay .social-links {
  display: flex;
  gap: 1rem;
}

.member-overlay .social-links a {
  width: 40px;
  height: 40px;
  background: var(--white);
  color: var(--primary-blue);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  transition: all var(--transition-normal);
}

.member-overlay .social-links a:hover {
  background: var(--primary-blue);
  color: var(--white);
  transform: scale(1.1);
}

.member-info {
  padding: 1.5rem;
}

.member-info h3 {
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--grey-900);
  margin-bottom: 0.5rem;
}

.member-title {
  color: var(--primary-blue);
  font-weight: 500;
  margin-bottom: 1rem;
}

.member-bio {
  color: var(--grey-600);
  line-height: 1.5;
  margin-bottom: 1rem;
}

.member-credentials {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.credential {
  background: var(--grey-100);
  color: var(--grey-700);
  padding: 0.25rem 0.75rem;
  border-radius: var(--radius-lg);
  font-size: 0.75rem;
  font-weight: 500;
}

/* ===== TESTIMONIALS SECTION ===== */
.testimonials {
  padding: clamp(60px, 15vw, 120px) 0;
  background: var(--primary-blue);
  color: var(--white);
}

.testimonials .section-header h2,
.testimonials .section-header p {
  color: var(--white);
}

.testimonials-slider {
  position: relative;
  margin-top: clamp(40px, 10vw, 80px);
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.testimonial-track {
  position: relative;
  overflow: hidden;
  border-radius: 24px;
}

.testimonial-card {
  background: white;
  padding: clamp(30px, 8vw, 50px);
  border-radius: 24px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1);
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  opacity: 0;
  transform: translateX(100%);
  transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.testimonial-card.active {
  opacity: 1;
  transform: translateX(0);
  position: relative;
}

.testimonial-content {
  text-align: center;
}

.quote-icon {
  width: clamp(50px, 10vw, 60px);
  height: clamp(50px, 10vw, 60px);
  background: linear-gradient(135deg, var(--primary-blue), var(--accent-blue));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: clamp(20px, 4vw, 24px);
  color: white;
  margin: 0 auto 30px;
}

.testimonial-text {
  font-size: clamp(16px, 4vw, 20px);
  line-height: 1.7;
  color: var(--grey-800);
  margin-bottom: 40px;
  font-style: italic;
}

.testimonial-author {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  margin-bottom: 25px;
  flex-wrap: wrap;
}

.author-photo {
  width: clamp(50px, 10vw, 60px);
  height: clamp(50px, 10vw, 60px);
  border-radius: 50%;
  overflow: hidden;
  flex-shrink: 0;
}

.author-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.author-info {
  text-align: left;
}

.author-info h4 {
  font-size: clamp(16px, 3vw, 18px);
  margin-bottom: 5px;
  color: var(--grey-800);
  font-weight: 700;
}

.author-info span {
  color: var(--grey-600);
  font-size: clamp(12px, 2.5vw, 14px);
}

.rating {
  display: flex;
  justify-content: center;
  gap: 5px;
}

.rating i {
  color: #fbbf24;
  font-size: clamp(16px, 3vw, 18px);
}

.testimonial-nav {
  position: absolute;
  top: 50%;
  width: 100%;
  display: flex;
  justify-content: space-between;
  padding: 0 -80px;
  transform: translateY(-50%);
  pointer-events: none;
}

.testimonial-btn {
  width: clamp(40px, 8vw, 50px);
  height: clamp(40px, 8vw, 50px);
  background: linear-gradient(135deg, var(--primary-blue), var(--accent-blue));
  border: none;
  border-radius: 50%;
  color: white;
  font-size: clamp(14px, 3vw, 16px);
  cursor: pointer;
  transition: all 0.3s ease;
  pointer-events: all;
  box-shadow: 0 8px 25px rgba(37, 99, 235, 0.3);
}

.testimonial-btn:hover {
  transform: scale(1.1);
  box-shadow: 0 12px 35px rgba(37, 99, 235, 0.4);
}

.testimonial-dots {
  display: flex;
  justify-content: center;
  gap: 15px;
  margin-top: 40px;
}

.testimonial-dot {
  width: clamp(10px, 2.5vw, 12px);
  height: clamp(10px, 2.5vw, 12px);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.5);
  cursor: pointer;
  transition: all 0.3s ease;
}

.testimonial-dot.active {
  background: var(--white);
  transform: scale(1.3);
}

/* ===== FEATURES SECTION ===== */
.features {
  padding: var(--section-padding);
  background: var(--grey-50);
}

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

.feature-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  transition: all var(--transition-normal);
}

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

.feature-image {
  height: 200px;
  overflow: hidden;
}

.feature-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: all var(--transition-slow);
}

.feature-card:hover .feature-image img {
  transform: scale(1.1);
}

.feature-content {
  padding: 1.5rem;
}

.feature-content h3 {
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--grey-900);
  margin-bottom: 1rem;
}

.feature-content p {
  color: var(--grey-600);
  line-height: 1.6;
}

/* ===== WHATSAPP FLOAT BUTTON ===== */
.whatsapp-float {
  position: fixed;
  bottom: 2rem;
  right: 1rem;
  z-index: 1000;
  display: flex;
  align-items: center;
  gap: 1rem;
}

.whatsapp-text {
  background: var(--white);
  color: var(--grey-800);
  padding: 0.5rem 1rem;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  font-weight: 500;
  opacity: 0;
  transform: translateX(20px);
  transition: all var(--transition-normal);
}

.whatsapp-float:hover .whatsapp-text {
  opacity: 1;
  transform: translateX(0);
}

.whatsapp-btn {
  width: 60px;
  height: 60px;
  background: #25d366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-size: 1.5rem;
  text-decoration: none;
  box-shadow: var(--shadow-lg);
  transition: all var(--transition-normal);
  animation: pulse 2s infinite;
}

.whatsapp-btn:hover {
  transform: scale(1.1);
  box-shadow: var(--shadow-xl);
}

/* ===== SEARCH MODAL ===== */
.search-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.8);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2000;
  opacity: 0;
  visibility: hidden;
  transition: all var(--transition-normal);
}

.search-modal.active {
  opacity: 1;
  visibility: visible;
}

.search-modal-content {
  background: var(--white);
  padding: 2rem;
  border-radius: var(--radius-lg);
  width: 90%;
  max-width: 500px;
  position: relative;
}

.search-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: none;
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
  color: var(--grey-500);
  transition: all var(--transition-normal);
}

.search-close:hover {
  color: var(--grey-800);
}

.search-form {
  display: flex;
  gap: 1rem;
}

.search-input {
  flex: 1;
  padding: 1rem;
  border: 2px solid var(--grey-200);
  border-radius: var(--radius-md);
  font-size: 1rem;
  transition: all var(--transition-normal);
}

.search-input:focus {
  outline: none;
  border-color: var(--primary-blue);
}

.search-submit {
  padding: 1rem 1.5rem;
  background: var(--primary-blue);
  color: var(--white);
  border: none;
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: all var(--transition-normal);
}

.search-submit:hover {
  background: var(--primary-blue-dark);
}

/* ===== FOOTER ===== */
.footer {
  background: var(--grey-900);
  color: var(--white);
  padding: 3rem 0 1rem;
}

.footer-content {
  max-width: var(--container-max-width);
  margin: 0 auto;
  padding: 0 1rem;
}

.footer-main {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 2rem;
  margin-bottom: 2rem;
}

.footer-brand h3 {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--primary-blue);
  margin-bottom: 1rem;
}

.footer-brand p {
  color: var(--grey-300);
  line-height: 1.6;
  margin-bottom: 1.5rem;
}

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

.footer-social a {
  width: 40px;
  height: 40px;
  background: var(--grey-800);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  text-decoration: none;
  transition: all var(--transition-normal);
}

.footer-social a:hover {
  background: var(--primary-blue);
  transform: translateY(-2px);
}

.footer-section h4 {
  font-size: 1.125rem;
  font-weight: 600;
  margin-bottom: 1rem;
  color: var(--white);
}

.footer-links {
  list-style: none;
}

.footer-links li {
  margin-bottom: 0.5rem;
}

.footer-links a {
  color: var(--grey-300);
  text-decoration: none;
  transition: all var(--transition-normal);
}

.footer-links a:hover {
  color: var(--primary-blue);
}

.footer-contact p {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--grey-300);
  margin-bottom: 0.5rem;
}

.footer-contact i {
  color: var(--primary-blue);
  width: 16px;
}

.footer-bottom {
  border-top: 1px solid var(--grey-800);
  padding-top: 1rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: var(--grey-400);
}

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

.footer-bottom-links a {
  color: var(--grey-400);
  text-decoration: none;
  transition: all var(--transition-normal);
}

.footer-bottom-links a:hover {
  color: var(--primary-blue);
}

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

@keyframes slideInUp {
  from {
    opacity: 0;
    transform: translateY(50px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes slideIn {
  from {
    width: 0;
  }
  to {
    width: 100%;
  }
}

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

@keyframes pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7);
  }
  70% {
    box-shadow: 0 0 0 10px rgba(37, 211, 102, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
  }
}

/* ===== RESPONSIVE DESIGN ===== */
@media (min-width: 1441px) {
  .container {
    padding: 0 2rem;
  }

  .hero-title {
    font-size: 4.5rem;
  }

  .section-header h2 {
    font-size: 3rem;
  }
}

/* Desktop */
@media (max-width: 1440px) {
  .hero-title {
    font-size: 4rem;
  }
}

/* Large Tablet */
@media (max-width: 1200px) {
  .hero-title {
    font-size: 3.5rem;
  }

  .footer-main {
    grid-template-columns: repeat(2, 1fr);
  }

  .testimonial-nav {
    display: none;
  }
}

/* Mobile Menu Breakpoint */
@media (max-width: 1024px) {
  .top-header {
    display: none;
  }

  .nav-menu {
    position: fixed;
    top: 100%;
    left: 0;
    width: 100%;
    height: calc(100vh - 80px);
    background: var(--white);
    flex-direction: column;
    justify-content: flex-start;
    padding: 2rem;
    transform: translateX(-100%);
    transition: all var(--transition-normal);
    box-shadow: var(--shadow-lg);
    z-index: 999;
    overflow-y: auto;
  }

  .nav-menu.active {
    transform: translateX(0);
  }

  .nav-links {
    flex-direction: column;
    width: 100%;
    gap: 1rem;
  }

  .nav-link {
    padding: 1rem 0;
    border-bottom: 1px solid var(--grey-100);
    width: 100%;
    justify-content: space-between;
  }

  .dropdown-menu {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    box-shadow: none;
    background: var(--grey-50);
    margin-top: 0.5rem;
    border-radius: var(--radius-md);
  }

  .nav-actions {
    margin-top: 2rem;
    flex-direction: column;
    width: 100%;
    gap: 1rem;
  }

  .enquiry-btn,
  .search-btn {
    width: 100%;
    justify-content: center;
    padding: 1rem;
  }

  .mobile-menu-toggle {
    display: flex;
  }

  .hero-content {
    flex-direction: column;
    text-align: center;
    gap: 2rem;
  }

  .hero-badge {
    position: static;
    transform: none;
    margin-top: 2rem;
  }

  .hero-buttons {
    flex-direction: column;
    align-items: center;
    width: 100%;
  }

  .hero-buttons .btn {
    width: 100%;
    max-width: 300px;
  }

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

  .agency-stats {
    grid-template-columns: repeat(2, 1fr);
  }

  .agency-features {
    grid-template-columns: 1fr;
  }

  .feature-item {
    flex-direction: column;
    text-align: center;
  }
}

/* Tablet */
@media (max-width: 768px) {
  .hero-title {
    font-size: 2.5rem;
  }

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

  .agency-stats {
    grid-template-columns: 1fr;
  }

  .footer-main {
    grid-template-columns: 1fr;
    text-align: center;
  }

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

  .whatsapp-text {
    display: none;
  }

  .slider-nav {
    display: none;
  }

  .testimonial-author {
    flex-direction: column;
    text-align: center;
  }

  .author-info {
    text-align: center;
  }
}

/* Mobile */
@media (max-width: 480px) {
  .container {
    padding: 0 1rem;
  }

  .hero {
    min-height: 80vh;
  }

  .hero-title {
    font-size: 2rem;
    line-height: 1.1;
  }

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

  .hero-slider {
    height: 300px;
    margin: 1rem 0;
  }

  .slide-content {
    padding: 0 1rem;
  }

  .slide-title {
    font-size: 1.5rem;
  }

  .slide-description {
    font-size: 1rem;
  }

  .btn {
    padding: 0.75rem 1rem;
    font-size: 0.75rem;
  }

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

  .service-card,
  .team-member,
  .feature-card {
    margin-bottom: 1rem;
  }

  .member-photo {
    height: 200px;
  }

  .testimonial-card {
    padding: 1.5rem;
  }

  .search-form {
    flex-direction: column;
  }

  .search-input,
  .search-submit {
    width: 100%;
  }
}

/* Extra Small Mobile */
@media (max-width: 360px) {
  .hero-title {
    font-size: 1.75rem;
  }

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

  .slide-title {
    font-size: 1.25rem;
  }

  .btn {
    padding: 0.5rem 0.75rem;
    font-size: 0.7rem;
  }
}

/* ===== ACCESSIBILITY ===== */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

/* Focus styles for accessibility */
button:focus,
a:focus,
input:focus,
select:focus,
textarea:focus {
  outline: 2px solid var(--primary-blue);
  outline-offset: 2px;
}

/* High contrast mode support */
@media (prefers-contrast: high) {
  :root {
    --grey-600: #000000;
    --grey-700: #000000;
    --grey-800: #000000;
    --grey-900: #000000;
  }
}



.nav-brand{
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
}


.HectagonLogo {
  color: inherit;
  transition: color 0.3s ease;
  display: flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
}

.HectagonLogo:hover {
  color:#B30000;
}





/* === Reflection Section Styling === */
.reflection-section {
  padding: 60px 20px;
  background-color: #f9f9f9;
}

.reflection-content {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 40px;
}

.reflection-image {
  flex: 0 0 30%;
  max-width: 30%;
}

.reflection-image img {
  width: 100%;
  height: auto;
  border-radius: 10px;
  object-fit: cover;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
}

.reflection-text {
  flex: 0 0 70%;
  max-width: 70%;
}

.reflection-text h2 {
  font-size: 2rem;
  margin-bottom: 10px;
}

.sub-heading {
  font-size: 1.1rem;
  color: #666;
  margin-bottom: 20px;
}

.message {
  font-size: 1rem;
  line-height: 1.7;
  color: #444;
  margin-bottom: 20px;
}

.author {
  font-size: 1.2rem;
  font-weight: 600;
  margin: 0;
}

.designation {
  font-size: 1rem;
  color: #777;
  margin-top: 5px;
}

/* === Responsive === */
@media (max-width: 991px) {
  .reflection-content {
    flex-direction: column;
  }

  .reflection-image,
  .reflection-text {
    max-width: 100%;
    flex: 0 0 100%;
  }

  .reflection-text {
    margin-top: 20px;
  }
}

.ceo{
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  font-weight: 700;
  line-height: 1.2;
  margin: 1rem;
}








/* Enhanced CEO/Founder Section Styles */
.founder-section {
    padding: 80px 0;
background: linear-gradient(135deg, #f8fafc 0%, #ffffff 100%);    position: relative;
    overflow: hidden;
}

.founder-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 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="25" cy="25" r="1" fill="%23355eb9" opacity="0.05"/><circle cx="75" cy="75" r="1" fill="%23355eb9" opacity="0.05"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
    pointer-events: none;
}

.founder-container {
    display: flex;
    align-items: center;
    gap: 60px;
    min-height: 600px;
    position: relative;
    z-index: 2;
    margin-top: 40px;
}

.founder-image {
    flex: 0 0 35%;
    position: relative;
    overflow: hidden;
    border-radius: 0px;
    box-shadow: 0 20px 60px rgba(53, 94, 185, 0.15);
    transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.founder-image::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(53, 94, 185, 0.1) 0%, transparent 50%);
    z-index: 1;
    pointer-events: none;
}

.founder-image:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 30px 80px rgba(53, 94, 185, 0.25);
}

.founder-image img {
    width: 100%;
    height: 700px;
    object-fit: cover;
    transition: transform 0.4s ease;
    position: relative;
    z-index: 0;
}

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

.founder-content {
    flex: 1;
    padding-left: 20px;
    position: relative;
}

.tagline {
    font-size: 2.8rem;
    font-weight: 800;
    color: #1e293b;
    margin-bottom: 40px;
    line-height: 1.1;
    position: relative;
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 0.8s ease 0.2s forwards;
}

.tagline::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-blue), var(--accent-blue));
    border-radius: 2px;
}

.founder-info {
    margin-bottom: 40px;
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 0.8s ease 0.4s forwards;
}

.founder-name {
    font-size: 2rem;
    font-weight: 700;
    color: var(--black);
    margin-bottom: 8px;
    letter-spacing: -0.5px;
}

.founder-role {
    font-size: 1.3rem;
    color: #525c69;
    font-weight: 500;
    letter-spacing: 0.5px;
}

.founder-message {
    font-size: 1.15rem;
    line-height: 1.8;
    color: #475569;
    text-align: justify;
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 0.8s ease 0.6s forwards;
    position: relative;
}

.founder-message::first-letter {
    font-size: 4rem;
    font-weight: 700;
    color: var(--primary-blue);
    float: left;
    line-height: 1;
    margin: 8px 8px 0 0;
    font-family: 'Georgia', serif;
}

.highlight {
    color: var(--primary-blue);
    font-weight: 600;
    position: relative;
    background: linear-gradient(120deg, transparent 0%, rgba(53, 94, 185, 0.1) 0%);
    padding: 2px 4px;
    border-radius: 3px;
}

/* Responsive Design for CEO Section */
@media (max-width: 1200px) {
    .founder-container {
        gap: 40px;
    }
    
    .tagline {
        font-size: 2.4rem;
    }
}

@media (max-width: 992px) {
    .founder-container {
        flex-direction: column;
        text-align: center;
        gap: 40px;
        min-height: auto;
    }

    .founder-image {
        flex: none;
        width: 100%;
        max-width: 400px;
        margin: 0 auto;
    }

    .founder-image img {
        height: 450px;
    }

    .founder-content {
        padding-left: 0;
        max-width: 800px;
        margin: 0 auto;
    }

    .tagline {
        font-size: 2.2rem;
        text-align: center;
    }

    .founder-message {
        text-align: left;
    }
}

@media (max-width: 768px) {
    .founder-section {
        padding: 60px 0;
    }

    .founder-container {
        gap: 30px;
    }

    .founder-image {
        max-width: 320px;
    }

    .founder-image img {
        height: 380px;
    }

    .tagline {
        font-size: 1.9rem;
        margin-bottom: 30px;
    }

    .founder-name {
        font-size: 1.7rem;
    }

    .founder-role {
        font-size: 1.1rem;
    }

    .founder-message {
        font-size: 1.05rem;
        line-height: 1.7;
    }

    .founder-message::first-letter {
        font-size: 3rem;
        margin: 5px 6px 0 0;
    }
}

@media (max-width: 480px) {
    .founder-section {
        padding: 40px 0;
    }

    .founder-image {
        max-width: 280px;
    }

    .founder-image img {
        height: 320px;
    }

    .tagline {
        font-size: 1.6rem;
        line-height: 1.2;
    }

    .founder-name {
        font-size: 1.4rem;
    }

    .founder-role {
        font-size: 1rem;
    }

    .founder-message {
        font-size: 0.95rem;
        text-align: left;
    }

    .founder-message::first-letter {
        font-size: 2.5rem;
        margin: 3px 5px 0 0;
    }
}

@media (max-width: 360px) {
    .tagline {
        font-size: 1.4rem;
    }

    .founder-name {
        font-size: 1.2rem;
    }

    .founder-message {
        font-size: 0.9rem;
    }
}


.test-logo i{
  font-size: 40px;
}