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

/* --- DESIGN SYSTEM TOKENS --- */
:root {
  --primary: #00D2C4;         /* Bright Cyan/Teal */
  --primary-rgb: 0, 210, 196;
  --primary-dark: #00b2a6;
  --primary-light: #e6faf9;
  
  --secondary: #F1B136;       /* Gold/Yellow Accent */
  --secondary-rgb: 241, 177, 54;
  --secondary-light: #fef7e6;
  
  --dark: #0a1128;            /* Deep Space Blue */
  --dark-card: #111a36;
  --dark-light: #1c2541;
  --text-dark: #0f172a;       /* Slate 900 */
  --text-body: #334155;       /* Slate 700 */
  --text-light: #64748b;      /* Slate 500 */
  --bg-body: #ffffff;
  --bg-slate: #f8fafc;        /* Slate 50 */
  --border: #e2e8f0;          /* Slate 200 */
  --danger: #ef4444;          /* Red Accent for Team BG */
  --danger-rgb: 239, 68, 68;
  
  /* Fonts */
  --font-heading: 'Outfit', sans-serif;
  --font-body: 'Inter', sans-serif;
  
  /* Transitions */
  --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-normal: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  
  /* Shadow */
  --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -1px rgba(0, 0, 0, 0.03);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.05), 0 4px 6px -2px rgba(0, 0, 0, 0.03);
  --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.08), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
  --shadow-glow: 0 0 20px rgba(0, 210, 196, 0.25);
  
  /* Radius */
  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-full: 9999px;
}

/* --- BASE STYLES --- */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

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

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

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  color: var(--text-dark);
  font-weight: 700;
  line-height: 1.25;
}

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

ul {
  list-style: none;
}

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

button, input, textarea, select {
  font-family: inherit;
  font-size: inherit;
  border: none;
  outline: none;
  background: none;
}

/* --- LAYOUT UTILITIES --- */
.container {
  width: 100%;
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 20px;
  padding-right: 20px;
}

.section {
  padding: 90px 0;
  position: relative;
}

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

.section-bg-dark {
  background-color: var(--dark);
  color: #ffffff;
}

.section-bg-dark h2, .section-bg-dark h3 {
  color: #ffffff;
}

/* Section Header */
.section-header {
  text-align: center;
  margin-bottom: 60px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.section-subtitle {
  color: var(--secondary);
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 1.1rem;
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 10px;
  display: block;
}

.section-title {
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--text-dark);
  margin-bottom: 15px;
}

.section-bg-dark .section-title {
  color: #ffffff;
}

/* --- BUTTONS --- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 28px;
  font-weight: 600;
  border-radius: var(--radius-full);
  font-size: 0.95rem;
  cursor: pointer;
  transition: var(--transition-normal);
  position: relative;
  overflow: hidden;
  gap: 8px;
}

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

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

.btn-outline {
  border: 2px solid #ffffff;
  color: #ffffff;
}

.btn-outline:hover {
  background-color: #ffffff;
  color: var(--dark);
  transform: translateY(-2px);
}

.btn-secondary {
  background-color: var(--secondary);
  color: #ffffff;
}

.btn-secondary:hover {
  background-color: #d69824;
  transform: translateY(-2px);
}

/* --- HEADER & NAVIGATION --- */
/* Top Header Banner */
.top-header {
  background-color: var(--primary);
  color: var(--dark);
  padding: 10px 0;
  font-size: 0.9rem;
  font-weight: 500;
  position: relative;
  z-index: 100;
}

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

.top-header-right {
  display: flex;
  align-items: center;
  gap: 15px;
}

/* Main Navigation */
.main-header {
  background-color: rgba(255, 255, 255, 0.95);
  box-shadow: var(--shadow-sm);
  position: sticky;
  top: 0;
  z-index: 99;
  backdrop-filter: blur(8px);
  transition: var(--transition-normal);
}

.main-header.scrolled {
  padding: 10px 0;
  background-color: rgba(255, 255, 255, 0.98);
  box-shadow: var(--shadow-md);
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 80px;
}

.logo {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1.8rem;
  color: var(--dark);
  display: flex;
  align-items: center;
  gap: 8px;
}

.logo span {
  color: var(--primary);
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 30px;
}

.nav-item {
  position: relative;
}

.nav-link {
  font-weight: 600;
  color: var(--text-dark);
  padding: 10px 0;
  display: block;
}

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

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

.dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  background-color: #ffffff;
  min-width: 200px;
  box-shadow: var(--shadow-lg);
  border-radius: var(--radius-md);
  padding: 10px 0;
  opacity: 0;
  visibility: hidden;
  transform: translateY(15px);
  transition: var(--transition-normal);
  border: 1px solid var(--border);
}

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

.dropdown-item a {
  display: block;
  padding: 10px 20px;
  font-weight: 500;
  color: var(--text-body);
}

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

.nav-cta {
  display: flex;
  align-items: center;
  gap: 15px;
}

.hamburger {
  display: none;
  cursor: pointer;
  flex-direction: column;
  gap: 6px;
}

.hamburger span {
  display: block;
  width: 25px;
  height: 3px;
  background-color: var(--dark);
  border-radius: 3px;
  transition: var(--transition-fast);
}

/* --- HERO SECTION --- */
.hero {
  position: relative;
  height: calc(100vh - 120px);
  min-height: 600px;
  background-color: var(--dark);
  color: #ffffff;
  overflow: hidden;
}

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

.hero-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  visibility: hidden;
  transition: opacity var(--transition-slow), visibility var(--transition-slow);
  display: flex;
  align-items: center;
}

.hero-slide.active {
  opacity: 1;
  visibility: visible;
}

.hero-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

.hero-bg::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to bottom, rgba(10, 17, 40, 0.8) 0%, rgba(10, 17, 40, 0.85) 100%);
  z-index: 2;
}

.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-content {
  position: relative;
  z-index: 3;
  width: 100%;
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
  padding: 0 20px;
}

.hero-subtitle {
  color: var(--primary);
  font-family: var(--font-heading);
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 20px;
  font-size: 1.1rem;
  display: block;
}

.hero-title {
  font-size: 3.5rem;
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 25px;
  color: #ffffff;
}

.hero-description {
  font-size: 1.1rem;
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 35px;
  max-width: 650px;
  margin-left: auto;
  margin-right: auto;
}

.hero-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
}

/* Slider Controls */
.hero-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 5;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.1);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: var(--transition-normal);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.hero-arrow:hover {
  background-color: var(--primary);
  color: var(--dark);
  border-color: var(--primary);
}

.hero-arrow-prev {
  left: 30px;
}

.hero-arrow-next {
  right: 30px;
}

.hero-dots {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 5;
  display: flex;
  gap: 10px;
}

.hero-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.3);
  cursor: pointer;
  transition: var(--transition-normal);
}

.hero-dot.active {
  background-color: var(--primary);
  transform: scale(1.2);
}

/* --- STATS COUNTER BAR --- */
.stats-bar {
  background-color: var(--primary);
  padding: 30px 0;
  position: relative;
  z-index: 10;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
}

.stat-item {
  display: flex;
  align-items: center;
  gap: 15px;
  color: var(--dark);
}

.stat-number {
  font-family: var(--font-heading);
  font-size: 2.8rem;
  font-weight: 800;
  line-height: 1;
}

.stat-text {
  font-size: 0.95rem;
  font-weight: 500;
  color: rgba(10, 17, 40, 0.85);
}

/* --- ABOUT SECTION --- */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 60px;
  align-items: center;
}

.about-images-wrapper {
  position: relative;
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  grid-template-rows: repeat(12, 1fr);
  height: 480px;
}

.about-img {
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  position: relative;
}

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

.about-img-1 {
  grid-column: 1 / 8;
  grid-row: 1 / 10;
  z-index: 2;
}

.about-img-2 {
  grid-column: 6 / 13;
  grid-row: 4 / 13;
  z-index: 3;
}

.about-img-3 {
  grid-column: 3 / 9;
  grid-row: 8 / 13;
  z-index: 4;
  border: 4px solid #ffffff;
}

.about-content-right {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.about-para {
  font-size: 1.05rem;
  color: var(--text-body);
  margin-bottom: 20px;
}

.about-para-secondary {
  color: var(--text-light);
  margin-bottom: 30px;
  font-size: 0.95rem;
}

/* --- SERVICES GRID --- */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.service-card {
  background-color: var(--bg-white);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 40px 30px;
  text-align: center;
  transition: var(--transition-normal);
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  align-items: center;
}

.service-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-xl), 0 0 0 2px var(--primary);
}

.service-icon-box {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background-color: var(--secondary-light);
  color: var(--secondary);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 25px;
  font-size: 2rem;
  transition: var(--transition-normal);
}

.service-card:hover .service-icon-box {
  background-color: var(--primary);
  color: var(--dark);
  transform: rotate(360deg);
}

.service-title {
  font-size: 1.4rem;
  font-weight: 700;
  margin-bottom: 15px;
}

.service-desc {
  color: var(--text-light);
  font-size: 0.95rem;
  margin-bottom: 25px;
  flex-grow: 1;
}

.service-btn {
  background-color: var(--primary-light);
  color: var(--primary-dark);
  padding: 8px 20px;
  font-weight: 600;
  font-size: 0.85rem;
  border-radius: var(--radius-full);
}

.service-card:hover .service-btn {
  background-color: var(--primary);
  color: var(--dark);
}

/* --- PORTFOLIO (PROJECTS) --- */
.portfolio-filters {
  display: flex;
  justify-content: center;
  gap: 15px;
  margin-bottom: 45px;
}

.filter-btn {
  padding: 10px 24px;
  font-weight: 600;
  border-radius: var(--radius-full);
  cursor: pointer;
  background-color: var(--bg-slate);
  color: var(--text-dark);
  transition: var(--transition-normal);
}

.filter-btn.active, .filter-btn:hover {
  background-color: var(--primary);
  color: var(--dark);
}

.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.portfolio-item {
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  position: relative;
  transition: var(--transition-normal);
  cursor: pointer;
}

.portfolio-frame {
  padding: 15px;
  border-radius: var(--radius-md);
  height: 100%;
  display: flex;
  flex-direction: column;
}

/* Frame Colors from Screenshot */
.portfolio-item:nth-child(1) .portfolio-frame { background-color: #ffd8be; } /* Orange frame */
.portfolio-item:nth-child(2) .portfolio-frame { background-color: #bbf7d0; } /* Light green/teal frame */
.portfolio-item:nth-child(3) .portfolio-frame { background-color: #fef08a; } /* Light yellow frame */
.portfolio-item:nth-child(4) .portfolio-frame { background-color: #e0f2fe; } /* Light blue frame */
.portfolio-item:nth-child(5) .portfolio-frame { background-color: #fbcfe8; } /* Pink frame */
.portfolio-item:nth-child(6) .portfolio-frame { background-color: #fca5a5; } /* Red frame */

.portfolio-img-box {
  border-radius: var(--radius-sm);
  overflow: hidden;
  position: relative;
  flex-grow: 1;
}

.portfolio-img-box img {
  width: 100%;
  height: 250px;
  object-fit: cover;
  transition: var(--transition-slow);
}

.portfolio-item:hover .portfolio-img-box img {
  transform: scale(1.1);
}

.portfolio-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(10, 17, 40, 0.85);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  opacity: 0;
  transition: var(--transition-normal);
}

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

.portfolio-title {
  color: #ffffff;
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 8px;
}

.portfolio-category {
  color: var(--primary);
  font-size: 0.9rem;
  font-weight: 600;
  text-transform: uppercase;
}

/* --- BLOG SECTION --- */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.blog-card {
  background-color: var(--bg-white);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: var(--transition-normal);
}

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

.blog-img-box {
  position: relative;
  height: 220px;
  overflow: hidden;
}

.blog-img-box img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition-slow);
}

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

.blog-category-badge {
  position: absolute;
  top: 15px;
  right: 15px;
  background-color: var(--primary);
  color: var(--dark);
  padding: 5px 15px;
  font-size: 0.75rem;
  font-weight: 700;
  border-radius: var(--radius-full);
}

.blog-card-body {
  padding: 30px 25px;
  position: relative;
}

/* Author Avatar Overlap */
.blog-author-avatar {
  position: absolute;
  top: -30px;
  left: 25px;
  width: 55px;
  height: 55px;
  border-radius: 50%;
  overflow: hidden;
  border: 3px solid #ffffff;
  box-shadow: var(--shadow-md);
}

.blog-meta {
  display: flex;
  align-items: center;
  gap: 15px;
  font-size: 0.85rem;
  color: var(--text-light);
  margin-top: 10px;
  margin-bottom: 15px;
}

.blog-author-name {
  font-weight: 600;
  color: var(--text-dark);
}

.blog-title {
  font-size: 1.25rem;
  font-weight: 700;
  line-height: 1.4;
  margin-bottom: 15px;
}

.blog-title a:hover {
  color: var(--primary);
}

.blog-excerpt {
  color: var(--text-light);
  font-size: 0.9rem;
  margin-bottom: 25px;
}

.blog-card-footer-buttons {
  display: flex;
  gap: 15px;
  margin-bottom: 20px;
}

.blog-card-footer-buttons .btn-primary {
  padding: 8px 18px;
  font-size: 0.8rem;
}

.blog-card-footer-buttons .btn-outline {
  border-color: var(--primary);
  color: var(--primary);
  padding: 8px 18px;
  font-size: 0.8rem;
}

.blog-card-footer-buttons .btn-outline:hover {
  background-color: var(--primary);
  color: var(--dark);
}

.blog-stats-row {
  background-color: var(--secondary-light);
  padding: 12px 20px;
  margin-left: -25px;
  margin-right: -25px;
  margin-bottom: -30px;
  border-top: 1px solid var(--border);
  display: flex;
  justify-content: space-between;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--secondary);
}

/* --- TEAM SECTION --- */
.team-header-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 50px;
}

.team-header-row .section-header {
  text-align: left;
  margin-left: 0;
  margin-right: 0;
  margin-bottom: 0;
}

.team-nav-arrows {
  display: flex;
  gap: 10px;
}

.team-arrow {
  width: 45px;
  height: 45px;
  border-radius: 50%;
  background-color: var(--bg-slate);
  color: var(--text-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: var(--transition-normal);
  border: 1px solid var(--border);
}

.team-arrow:hover {
  background-color: var(--primary);
  color: var(--dark);
  border-color: var(--primary);
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.team-card {
  background-color: var(--bg-white);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 40px 30px;
  text-align: center;
  box-shadow: var(--shadow-sm);
  transition: var(--transition-normal);
}

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

.team-avatar-wrapper {
  position: relative;
  width: 160px;
  height: 160px;
  margin: 0 auto 25px auto;
}

.team-avatar-bg-circle {
  position: absolute;
  top: 5px;
  left: 5px;
  width: calc(100% - 10px);
  height: calc(100% - 10px);
  border-radius: 50%;
  background-color: var(--danger);
  z-index: 1;
}

.team-avatar {
  position: relative;
  z-index: 2;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  overflow: hidden;
  border: 4px solid #ffffff;
}

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

.team-name {
  font-size: 1.35rem;
  font-weight: 700;
  margin-bottom: 5px;
}

.team-role {
  color: var(--text-light);
  font-size: 0.9rem;
  margin-bottom: 20px;
}

.team-socials {
  display: flex;
  justify-content: center;
  gap: 12px;
}

.team-social-icon {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background-color: var(--primary-light);
  color: var(--primary-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.95rem;
  transition: var(--transition-normal);
}

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

/* --- TESTIMONIAL SECTION --- */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.testimonial-card {
  background-color: var(--bg-white);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 35px 30px;
  box-shadow: var(--shadow-sm);
  transition: var(--transition-normal);
}

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

.testimonial-user-row {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-bottom: 20px;
}

.testimonial-avatar {
  width: 55px;
  height: 55px;
  border-radius: 50%;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

.testimonial-user-info h4 {
  font-size: 1.1rem;
  font-weight: 700;
}

.testimonial-user-info span {
  font-size: 0.85rem;
  color: var(--primary-dark);
  font-weight: 500;
}

.testimonial-stars {
  color: var(--secondary);
  font-size: 0.85rem;
  margin-top: 4px;
}

.testimonial-text {
  font-style: italic;
  font-size: 0.95rem;
  color: var(--text-body);
}

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

.testimonial-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background-color: var(--border);
  cursor: pointer;
  transition: var(--transition-normal);
}

.testimonial-dot.active {
  background-color: var(--primary);
  transform: scale(1.2);
}

/* --- CONTACT SECTION --- */
.contact-info-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  margin-bottom: 45px;
}

.contact-info-card {
  background-color: var(--bg-white);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 25px 20px;
  display: flex;
  align-items: center;
  gap: 20px;
  box-shadow: var(--shadow-sm);
}

.contact-info-icon-box {
  width: 55px;
  height: 55px;
  border-radius: 50%;
  background-color: var(--primary-light);
  color: var(--primary-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
}

.contact-info-content h4 {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 4px;
}

.contact-info-content p {
  font-size: 0.9rem;
  color: var(--text-light);
}

.contact-main-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
}

.contact-map-wrapper {
  background-color: var(--primary-light);
  border-radius: var(--radius-md);
  overflow: hidden;
  height: 450px;
  position: relative;
  border: 1px solid var(--border);
}

/* Mock Interactive Map */
.contact-map-mock {
  width: 100%;
  height: 100%;
  background-color: #e0f2fe;
  background-image: 
    radial-gradient(#bae6fd 20%, transparent 20%), 
    radial-gradient(#bae6fd 20%, transparent 20%);
  background-size: 40px 40px;
  background-position: 0 0, 20px 20px;
  position: relative;
}

.map-search-bar {
  position: absolute;
  top: 20px;
  left: 20px;
  right: 20px;
  background-color: #ffffff;
  padding: 12px 20px;
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-md);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.map-search-bar input {
  width: 85%;
  font-size: 0.9rem;
}

.map-pin {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 2.5rem;
  color: var(--danger);
  animation: bounce 2s infinite;
}

.map-pin-pulse {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 20px;
  height: 20px;
  background-color: rgba(239, 68, 68, 0.4);
  border-radius: 50%;
  animation: ping 2000ms cubic-bezier(0, 0, 0.2, 1) infinite;
}

.contact-form-container {
  background-color: var(--primary-light);
  padding: 40px;
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
}

.contact-form {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}

.form-group input, .form-group textarea {
  width: 100%;
  background-color: #ffffff;
  border: 1px solid var(--border);
  padding: 14px 20px;
  border-radius: var(--radius-sm);
  font-size: 0.95rem;
  color: var(--text-dark);
  transition: var(--transition-fast);
}

.form-group input:focus, .form-group textarea:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(0, 210, 196, 0.15);
}

.form-group textarea {
  height: 140px;
  resize: none;
}

.contact-form-container .btn-primary {
  background-color: var(--dark);
  color: #ffffff;
  border-radius: var(--radius-sm);
  width: 100%;
  padding: 14px;
}

.contact-form-container .btn-primary:hover {
  background-color: var(--dark-light);
}

/* --- FOOTER --- */
.footer {
  background-color: var(--dark);
  color: #ffffff;
  padding: 80px 0 30px 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
  gap: 50px;
  margin-bottom: 60px;
}

.footer-col h3 {
  color: #ffffff;
  font-size: 1.3rem;
  margin-bottom: 25px;
  font-family: var(--font-heading);
  position: relative;
  padding-bottom: 10px;
}

.footer-col h3::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 40px;
  height: 3px;
  background-color: var(--primary);
}

.footer-desc {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.95rem;
  margin-bottom: 25px;
  line-height: 1.7;
}

.footer-socials {
  display: flex;
  gap: 12px;
}

.footer-social-icon {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.08);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition-normal);
}

.footer-social-icon:hover {
  background-color: var(--primary);
  color: var(--dark);
  transform: translateY(-3px);
}

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

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

.footer-links a:hover {
  color: var(--primary);
  padding-left: 5px;
}

.footer-contact li {
  display: flex;
  align-items: flex-start;
  gap: 15px;
  margin-bottom: 18px;
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.95rem;
}

.footer-contact-icon {
  color: var(--primary);
  font-size: 1.1rem;
  margin-top: 3px;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 30px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.6);
}

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

.animated {
  animation-duration: 0.8s;
  animation-fill-mode: both;
}

.fadeInUp {
  animation-name: fadeInUp;
}

@keyframes bounce {
  0%, 20%, 50%, 80%, 100% {
    transform: translate(-50%, -50%);
  }
  40% {
    transform: translate(-50%, -70%);
  }
  60% {
    transform: translate(-50%, -60%);
  }
}

@keyframes ping {
  75%, 100% {
    transform: translate(-50%, -50%) scale(2.5);
    opacity: 0;
  }
}

/* --- SUBPAGES SPECIFIC STYLING --- */
/* Page Header / Breadcrumb */
.page-header {
  background-color: var(--dark);
  color: #ffffff;
  padding: 80px 0;
  position: relative;
  text-align: center;
}

.page-header h1 {
  font-size: 3rem;
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 15px;
}

.breadcrumbs {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.7);
}

.breadcrumbs a {
  color: var(--primary);
}

/* Timeline Components */
.timeline {
  position: relative;
  max-width: 900px;
  margin: 0 auto;
  padding: 40px 0;
}

.timeline::before {
  content: '';
  position: absolute;
  left: 50%;
  top: 0;
  width: 4px;
  height: 100%;
  background-color: var(--border);
  transform: translateX(-50%);
}

.timeline-item {
  position: relative;
  width: 50%;
  padding: 20px 40px;
}

.timeline-item::after {
  content: '';
  position: absolute;
  width: 20px;
  height: 20px;
  background-color: #ffffff;
  border: 4px solid var(--primary);
  border-radius: 50%;
  top: 25px;
  z-index: 1;
}

.timeline-item-left {
  left: 0;
  text-align: right;
}

.timeline-item-left::after {
  right: -10px;
}

.timeline-item-right {
  left: 50%;
}

.timeline-item-right::after {
  left: -10px;
}

.timeline-year {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--primary-dark);
  margin-bottom: 8px;
}

.timeline-card {
  background-color: var(--bg-slate);
  padding: 25px;
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
}

/* Accordion FAQs */
.accordion {
  max-width: 800px;
  margin: 0 auto;
}

.accordion-item {
  background-color: var(--bg-white);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  margin-bottom: 15px;
  overflow: hidden;
}

.accordion-header {
  padding: 20px 25px;
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--text-dark);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: var(--transition-normal);
}

.accordion-header:hover {
  background-color: var(--bg-slate);
  color: var(--primary-dark);
}

.accordion-icon {
  font-size: 1.3rem;
  transition: var(--transition-normal);
}

.accordion-item.active .accordion-icon {
  transform: rotate(45deg);
  color: var(--primary);
}

.accordion-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease-out;
  padding: 0 25px;
  color: var(--text-body);
}

.accordion-item.active .accordion-content {
  padding: 0 25px 20px 25px;
}

/* Virtual Pagination Control */
.pagination {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 50px;
}

.page-number {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition-normal);
}

.page-number.active, .page-number:hover {
  background-color: var(--primary);
  color: var(--dark);
  border-color: var(--primary);
}

/* Lightbox Modal */
.lightbox {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(10, 17, 40, 0.95);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition-normal);
}

.lightbox.active {
  opacity: 1;
  visibility: visible;
}

.lightbox-content {
  max-width: 90%;
  max-height: 80%;
  position: relative;
  transform: scale(0.9);
  transition: var(--transition-normal);
}

.lightbox.active .lightbox-content {
  transform: scale(1);
}

.lightbox-img {
  width: 100%;
  height: auto;
  border-radius: var(--radius-sm);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.lightbox-close {
  position: absolute;
  top: -40px;
  right: 0;
  color: #ffffff;
  font-size: 2rem;
  cursor: pointer;
}

/* Sidebar & Detail layout */
.sub-layout-grid {
  display: grid;
  grid-template-columns: 2.2fr 1fr;
  gap: 50px;
}

.sidebar-widget {
  background-color: var(--bg-slate);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 30px;
  margin-bottom: 30px;
}

.widget-title {
  font-size: 1.25rem;
  margin-bottom: 20px;
  position: relative;
  padding-bottom: 10px;
}

.widget-title::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 30px;
  height: 3px;
  background-color: var(--primary);
}

/* Toast Message */
.toast-msg {
  position: fixed;
  bottom: 30px;
  right: 30px;
  background-color: var(--dark);
  color: #ffffff;
  padding: 15px 30px;
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-xl);
  border-left: 4px solid var(--primary);
  z-index: 1001;
  transform: translateY(100px);
  opacity: 0;
  transition: var(--transition-normal);
}

.toast-msg.show {
  transform: translateY(0);
  opacity: 1;
}

/* --- RESPONSIVE MEDIA QUERIES --- */
@media (max-width: 1024px) {
  html {
    font-size: 15px;
  }
  .about-grid, .sub-layout-grid, .contact-main-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .about-images-wrapper {
    max-width: 500px;
    margin: 0 auto;
  }
  .services-grid, .portfolio-grid, .blog-grid, .team-grid, .testimonials-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
  }
}

@media (max-width: 768px) {
  .top-header {
    display: none;
  }
  .hamburger {
    display: flex;
  }
  .nav-menu {
    position: fixed;
    top: 80px;
    left: -100%;
    width: 100%;
    height: calc(100vh - 80px);
    background-color: #ffffff;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 25px;
    transition: var(--transition-normal);
    box-shadow: var(--shadow-lg);
    z-index: 98;
  }
  .nav-menu.active {
    left: 0;
  }
  .nav-cta {
    display: none;
  }
  .hero-title {
    font-size: 2.5rem;
  }
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }
  .services-grid, .portfolio-grid, .blog-grid, .team-grid, .testimonials-grid {
    grid-template-columns: 1fr;
    max-width: 450px;
    margin-left: auto;
    margin-right: auto;
  }
  .timeline::before {
    left: 40px;
  }
  .timeline-item {
    width: 100%;
    padding-left: 70px;
    padding-right: 0;
    text-align: left;
  }
  .timeline-item-left::after, .timeline-item-right::after {
    left: 30px;
  }
  .timeline-item-left {
    left: 0;
  }
}

@media (max-width: 480px) {
  .hero-buttons {
    flex-direction: column;
    gap: 15px;
  }
  .stats-grid {
    grid-template-columns: 1fr;
  }
  .footer-grid {
    grid-template-columns: 1fr;
  }
}
