@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 TOKENS & THEMING
   ========================================================================== */
:root {
  /* Colors - Dark Mode (Default) */
  --bg-primary: #08090c;
  --bg-secondary: #0f1015;
  --bg-card: rgba(19, 20, 27, 0.7);
  --bg-card-hover: rgba(28, 30, 41, 0.9);
  --border-color: rgba(255, 255, 255, 0.07);
  --text-primary: #f3f4f6;
  --text-secondary: #9ca3af;
  --text-muted: #6b7280;
  
  /* Brand Colors */
  --brand-color: #f38120;
  --brand-glow: rgba(243, 129, 32, 0.35);
  --brand-gradient: linear-gradient(135deg, #f38120 0%, #ff512f 100%);
  --brand-gradient-hover: linear-gradient(135deg, #ff512f 0%, #f38120 100%);
  --accent-blue: #00f2fe;
  
  /* Shadow Tokens */
  --shadow-sm: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
  --shadow-md: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
  --shadow-lg: 0 20px 25px -5px rgba(0, 0, 0, 0.15), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
  --shadow-glow: 0 0 20px var(--brand-glow);
  
  /* Fonts & Spacing */
  --font-headings: 'Outfit', sans-serif;
  --font-body: 'Inter', sans-serif;
  --transition-smooth: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  --border-radius-sm: 8px;
  --border-radius-md: 16px;
  --border-radius-lg: 24px;
}

/* Light Theme Variables */
body.light-theme {
  --bg-primary: #f8f9fa;
  --bg-secondary: #ffffff;
  --bg-card: rgba(243, 244, 246, 0.8);
  --bg-card-hover: rgba(229, 231, 235, 0.95);
  --border-color: rgba(0, 0, 0, 0.08);
  --text-primary: #111827;
  --text-secondary: #4b5563;
  --text-muted: #9ca3af;
  --brand-glow: rgba(243, 129, 32, 0.15);
  --shadow-sm: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -1px rgba(0, 0, 0, 0.03);
  --shadow-md: 0 10px 15px -3px rgba(0, 0, 0, 0.05), 0 4px 6px -2px rgba(0, 0, 0, 0.02);
  --shadow-lg: 0 20px 25px -5px rgba(0, 0, 0, 0.08), 0 10px 10px -5px rgba(0, 0, 0, 0.03);
}

/* ==========================================================================
   RESET & 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);
  background-color: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.6;
  overflow-x: hidden;
  transition: background-color 0.4s ease, color 0.4s ease;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-headings);
  font-weight: 700;
  line-height: 1.2;
  color: var(--text-primary);
}

p {
  color: var(--text-secondary);
}

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

ul {
  list-style: none;
}

img, svg {
  max-width: 100%;
  height: auto;
  vertical-align: middle;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 8px;
}
::-webkit-scrollbar-track {
  background: var(--bg-primary);
}
::-webkit-scrollbar-thumb {
  background: var(--brand-color);
  border-radius: var(--border-radius-sm);
}
::-webkit-scrollbar-thumb:hover {
  background: #ff512f;
}

/* ==========================================================================
   LAYOUT HELPER CLASSES
   ========================================================================== */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.section-padding {
  padding: 100px 0;
  position: relative;
}

.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 40px;
  align-items: center;
}

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

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

@media (max-width: 992px) {
  .grid-3, .grid-4 {
    grid-template-columns: repeat(2, 1fr);
  }
  .grid-2 {
    grid-template-columns: 1fr;
    gap: 48px;
  }
}

@media (max-width: 600px) {
  .grid-3, .grid-4, .grid-2 {
    grid-template-columns: 1fr;
  }
  .section-padding {
    padding: 60px 0;
  }
}

/* ==========================================================================
   GLOBAL COMPONENTS & ELEMENTS
   ========================================================================== */

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 28px;
  border-radius: 50px;
  font-family: var(--font-headings);
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: 0.5px;
  cursor: pointer;
  border: none;
  transition: var(--transition-smooth);
  position: relative;
  overflow: hidden;
}

.btn-primary {
  background: var(--brand-gradient);
  color: #ffffff;
  box-shadow: var(--shadow-glow);
}

.btn-primary:hover {
  background: var(--brand-gradient-hover);
  transform: translateY(-3px);
  box-shadow: 0 10px 25px rgba(243, 129, 32, 0.5);
}

.btn-secondary {
  background: var(--bg-card);
  color: var(--text-primary);
  border: 1px solid var(--border-color);
}

.btn-secondary:hover {
  background: var(--bg-card-hover);
  border-color: var(--brand-color);
  transform: translateY(-3px);
}

.btn-text {
  font-family: var(--font-headings);
  font-weight: 600;
  color: var(--brand-color);
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.btn-text:hover {
  color: #ff512f;
}

.btn-text svg {
  transition: var(--transition-smooth);
}

.btn-text:hover svg {
  transform: translateX(5px);
}

/* Section Header styling */
.sec-header {
  max-width: 650px;
  margin-bottom: 60px;
}

.sec-header.center {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.sec-tag {
  color: var(--brand-color);
  text-transform: uppercase;
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 2px;
  margin-bottom: 12px;
  display: block;
}

.sec-title {
  font-size: 2.5rem;
  margin-bottom: 16px;
}

.sec-subtitle {
  color: var(--text-secondary);
}

/* Glass Cards */
.glass-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius-md);
  padding: 36px;
  transition: var(--transition-smooth);
  position: relative;
  overflow: hidden;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.glass-card:hover {
  background: var(--bg-card-hover);
  border-color: rgba(243, 129, 32, 0.4);
  transform: translateY(-8px);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
}

/* Gradient Text */
.grad-text {
  background: var(--brand-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  display: inline-block;
}

/* Floating Shapes Background elements */
.floating-elements {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  pointer-events: none;
  z-index: 1;
}

.float-shape {
  position: absolute;
  opacity: 0.15;
  filter: blur(4px);
  animation: floatAnim 10s infinite alternate ease-in-out;
}

body.light-theme .float-shape {
  opacity: 0.07;
}

@keyframes floatAnim {
  0% { transform: translateY(0) rotate(0deg); }
  100% { transform: translateY(-30px) rotate(15deg); }
}

/* Sticky Header / Navbar */
header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 100;
  transition: var(--transition-smooth);
  border-bottom: 1px solid transparent;
}

header.sticky {
  background: rgba(8, 9, 12, 0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border-color);
  padding: 12px 0;
}

body.light-theme header.sticky {
  background: rgba(248, 249, 250, 0.85);
}

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

.logo-link {
  display: flex;
  align-items: center;
}

.logo-img {
  height: 48px;
}

.logo-white-img {
  display: block;
}

.logo-black-img {
  display: none;
}

body.light-theme .logo-white-img {
  display: none;
}

body.light-theme .logo-black-img {
  display: block;
}

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

.nav-link {
  font-family: var(--font-headings);
  font-weight: 500;
  font-size: 0.95rem;
  letter-spacing: 0.5px;
  color: var(--text-primary);
  padding: 8px 0;
  position: relative;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--brand-gradient);
  transition: var(--transition-smooth);
}

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

.nav-link:hover {
  color: var(--brand-color);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 20px;
}

/* Theme Switcher Toggle */
.theme-toggle-btn {
  background: transparent;
  border: none;
  cursor: pointer;
  color: var(--text-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  transition: var(--transition-smooth);
  width: 40px;
  height: 40px;
  border-radius: 50%;
}

.theme-toggle-btn:hover {
  background: var(--bg-card);
  color: var(--brand-color);
}

.sun-icon {
  display: none;
}

body.light-theme .sun-icon {
  display: block;
}

body.light-theme .moon-icon {
  display: none;
}

/* Burger Mobile Menu Button */
.burger-btn {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 24px;
  height: 18px;
  background: transparent;
  border: none;
  cursor: pointer;
  z-index: 110;
}

.burger-btn span {
  width: 100%;
  height: 2px;
  background-color: var(--text-primary);
  transition: var(--transition-smooth);
}

.burger-btn.active span:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
}

.burger-btn.active span:nth-child(2) {
  opacity: 0;
}

.burger-btn.active span:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
}

@media (max-width: 900px) {
  .burger-btn {
    display: flex;
  }
  
  .nav-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 300px;
    height: 100vh;
    background: var(--bg-secondary);
    border-left: 1px solid var(--border-color);
    flex-direction: column;
    padding: 100px 40px;
    align-items: flex-start;
    gap: 24px;
    transition: 0.4s ease;
    z-index: 105;
  }
  
  .nav-menu.active {
    right: 0;
  }
  
  .nav-actions {
    margin-top: 24px;
    flex-direction: column;
    align-items: flex-start;
    width: 100%;
  }
}

/* ==========================================================================
   HOMEPAGE SPECIFIC SECTIONS
   ========================================================================== */

/* Hero Section */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: 140px;
  padding-bottom: 80px;
  background: radial-gradient(circle at 10% 20%, rgba(243, 129, 32, 0.08) 0%, transparent 40%),
              radial-gradient(circle at 90% 80%, rgba(255, 81, 47, 0.06) 0%, transparent 40%);
}

.hero-subtitle {
  font-family: var(--font-headings);
  text-transform: uppercase;
  letter-spacing: 3px;
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--brand-color);
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.hero-subtitle::before {
  content: '';
  width: 24px;
  height: 2px;
  background: var(--brand-color);
}

.hero-title {
  font-size: 4rem;
  font-weight: 800;
  margin-bottom: 24px;
  letter-spacing: -1px;
}

.hero-text {
  font-size: 1.15rem;
  margin-bottom: 40px;
  max-width: 550px;
}

.hero-btns {
  display: flex;
  gap: 20px;
}

.hero-image-wrapper {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero-main-img {
  z-index: 2;
  border-radius: var(--border-radius-lg);
  box-shadow: var(--shadow-lg);
  animation: floatHero 6s infinite alternate ease-in-out;
}

.hero-bg-shape {
  position: absolute;
  z-index: 1;
  width: 105%;
  height: 105%;
  animation: spinShape 24s infinite linear;
}

@keyframes floatHero {
  0% { transform: translateY(0px); }
  100% { transform: translateY(-15px); }
}

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

@media (max-width: 1100px) {
  .hero-title {
    font-size: 3rem;
  }
}

@media (max-width: 600px) {
  .hero {
    padding-top: 100px;
  }
  .hero-title {
    font-size: 2.4rem;
  }
  .hero-btns {
    flex-direction: column;
  }
}

/* Brand Slider Section */
.brand-slider {
  background: var(--bg-secondary);
  border-top: 1px solid var(--border-color);
  border-bottom: 1px solid var(--border-color);
  padding: 40px 0;
  overflow: hidden;
}

.brand-track {
  display: flex;
  align-items: center;
  width: calc(240px * 10);
  animation: scrollBrands 20s linear infinite;
  gap: 60px;
}

.brand-item {
  width: 180px;
  flex-shrink: 0;
  display: flex;
  justify-content: center;
  align-items: center;
}

.brand-item img {
  height: 40px;
  opacity: 0.4;
  filter: grayscale(1);
  transition: var(--transition-smooth);
}

.brand-item:hover img {
  opacity: 1;
  filter: grayscale(0);
}

@keyframes scrollBrands {
  0% { transform: translateX(0); }
  100% { transform: translateX(calc(-240px * 5)); }
}

/* Stats Section */
.stats {
  background: var(--bg-secondary);
}

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

.stat-num {
  font-size: 3.5rem;
  font-weight: 800;
  color: var(--brand-color);
  margin-bottom: 8px;
  font-family: var(--font-headings);
  display: block;
}

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

.stat-desc {
  font-size: 0.85rem;
  color: var(--text-muted);
}

/* Services brief */
.service-brief-card {
  display: flex;
  flex-direction: column;
  height: 100%;
}

.service-icon-box {
  width: 60px;
  height: 60px;
  background: rgba(243, 129, 32, 0.1);
  border-radius: var(--border-radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
  color: var(--brand-color);
  font-size: 1.8rem;
  border: 1px solid rgba(243, 129, 32, 0.2);
}

.service-brief-card h3 {
  font-size: 1.4rem;
  margin-bottom: 12px;
}

.service-brief-card p {
  font-size: 0.95rem;
  margin-bottom: 24px;
  flex-grow: 1;
}

/* Testimonials Carousel Section */
.testimonials {
  position: relative;
  background: radial-gradient(circle at 80% 20%, rgba(243, 129, 32, 0.05) 0%, transparent 45%);
}

.testimonial-slider-container {
  max-width: 800px;
  margin: 0 auto;
  overflow: hidden;
  position: relative;
}

.testimonial-track {
  display: flex;
  transition: transform 0.5s ease-in-out;
}

.testimonial-slide {
  min-width: 100%;
  padding: 20px;
  text-align: center;
}

.quote-icon {
  width: 48px;
  margin: 0 auto 24px;
  opacity: 0.3;
}

.testimonial-text {
  font-size: 1.4rem;
  font-weight: 500;
  line-height: 1.6;
  color: var(--text-primary);
  margin-bottom: 30px;
  font-family: var(--font-headings);
  font-style: italic;
}

.testimonial-author {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
}

.author-img {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  border: 2px solid var(--brand-color);
  object-fit: cover;
}

.author-info h4 {
  font-size: 1.1rem;
  font-weight: 600;
  text-align: left;
}

.author-info p {
  font-size: 0.85rem;
  color: var(--text-muted);
  text-align: left;
}

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

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

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

/* Call to Action Section */
.cta-section {
  position: relative;
  overflow: hidden;
  padding: 100px 0;
  background: linear-gradient(rgba(8, 9, 12, 0.9), rgba(8, 9, 12, 0.9)), url('../assets/images/cta-bg1.png');
  background-size: cover;
  background-position: center;
}

body.light-theme .cta-section {
  background: linear-gradient(rgba(248, 249, 250, 0.9), rgba(248, 249, 250, 0.9)), url('../assets/images/cta-bg1.png');
}

.cta-box {
  text-align: center;
  max-width: 700px;
  margin: 0 auto;
}

.cta-title {
  font-size: 3rem;
  margin-bottom: 20px;
}

.cta-text {
  font-size: 1.15rem;
  margin-bottom: 36px;
}

/* Footer */
footer {
  background: #050608;
  border-top: 1px solid var(--border-color);
  padding: 80px 0 30px;
  position: relative;
}

body.light-theme footer {
  background: #ffffff;
}

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

@media (max-width: 992px) {
  .footer-top {
    grid-template-columns: repeat(2, 1fr);
    gap: 48px;
  }
}

@media (max-width: 600px) {
  .footer-top {
    grid-template-columns: 1fr;
  }
}

.footer-logo {
  margin-bottom: 24px;
}

.footer-logo img {
  height: 86px;
}

.footer-desc {
  font-size: 0.95rem;
  margin-bottom: 24px;
  max-width: 320px;
}

.social-links {
  display: flex;
  gap: 12px;
}

.social-btn {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-color);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-primary);
  transition: var(--transition-smooth);
}

.social-btn:hover {
  background: var(--brand-gradient);
  color: #ffffff;
  border-color: transparent;
  transform: translateY(-3px);
}

.footer-title {
  font-size: 1.2rem;
  font-weight: 600;
  margin-bottom: 24px;
  position: relative;
}

.footer-title::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -8px;
  width: 30px;
  height: 2px;
  background: var(--brand-color);
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.footer-links a {
  font-size: 0.95rem;
  color: var(--text-secondary);
}

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

.footer-contact-item {
  display: flex;
  gap: 12px;
  margin-bottom: 16px;
  font-size: 0.95rem;
}

.footer-contact-item svg {
  color: var(--brand-color);
  flex-shrink: 0;
  width: 20px;
  height: 20px;
}

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

.footer-copy {
  font-size: 0.9rem;
  color: var(--text-muted);
}

.footer-bottom-links {
  display: flex;
  gap: 24px;
  font-size: 0.9rem;
  color: var(--text-muted);
}

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

@media (max-width: 600px) {
  .footer-bottom {
    flex-direction: column;
    gap: 16px;
    text-align: center;
  }
}

/* ==========================================================================
   INNER PAGES BANNER / HEADER
   ========================================================================== */
.inner-banner {
  padding: 160px 0 80px;
  position: relative;
  background: linear-gradient(rgba(8, 9, 12, 0.9), rgba(8, 9, 12, 0.9)), url('../assets/images/inner-bg1.png');
  background-size: cover;
  background-position: center;
  border-bottom: 1px solid var(--border-color);
}

body.light-theme .inner-banner {
  background: linear-gradient(rgba(248, 249, 250, 0.9), rgba(248, 249, 250, 0.9)), url('../assets/images/inner-bg1.png');
}

.inner-banner-title {
  font-size: 3rem;
  font-weight: 800;
  margin-bottom: 16px;
}

.breadcrumb {
  display: flex;
  gap: 8px;
  font-size: 0.9rem;
  font-family: var(--font-headings);
  font-weight: 500;
}

.breadcrumb-item {
  color: var(--text-muted);
}

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

.breadcrumb-separator {
  color: var(--text-muted);
}

/* ==========================================================================
   ABOUT PAGE SECTIONS
   ========================================================================== */
.history-section {
  background: var(--bg-secondary);
}

.history-card {
  display: flex;
  gap: 40px;
  margin-bottom: 60px;
  align-items: center;
}

.history-card:nth-child(even) {
  flex-direction: row-reverse;
}

.history-card-img {
  width: 50%;
  border-radius: var(--border-radius-lg);
  box-shadow: var(--shadow-md);
}

.history-card-content {
  width: 50%;
}

.history-year {
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--brand-color);
  font-family: var(--font-headings);
  margin-bottom: 12px;
  display: block;
}

@media (max-width: 850px) {
  .history-card, .history-card:nth-child(even) {
    flex-direction: column;
    gap: 24px;
  }
  .history-card-img, .history-card-content {
    width: 100%;
  }
}

/* Meet the Team */
.team-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

@media (max-width: 992px) {
  .team-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 550px) {
  .team-grid {
    grid-template-columns: 1fr;
  }
}

.team-card {
  position: relative;
  text-align: center;
  border-radius: var(--border-radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  transition: var(--transition-smooth);
}

.team-card:hover {
  transform: translateY(-8px);
  border-color: var(--brand-color);
  box-shadow: var(--shadow-lg);
}

.team-img-box {
  position: relative;
  overflow: hidden;
  height: 280px;
}

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

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

.team-socials {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  background: linear-gradient(transparent, rgba(0, 0, 0, 0.8));
  display: flex;
  justify-content: center;
  gap: 12px;
  padding: 24px 0 12px;
  transform: translateY(100%);
  transition: var(--transition-smooth);
}

.team-card:hover .team-socials {
  transform: translateY(0);
}

.team-info {
  padding: 20px 10px;
}

.team-info h4 {
  font-size: 1.15rem;
  margin-bottom: 6px;
}

.team-info p {
  font-size: 0.85rem;
  color: var(--text-muted);
}

/* ==========================================================================
   SERVICES PAGE SECTIONS
   ========================================================================== */
.service-details-card {
  margin-bottom: 80px;
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 60px;
  align-items: center;
}

.service-details-card:nth-child(even) {
  grid-template-columns: 1fr 1.2fr;
}

.service-details-img {
  border-radius: var(--border-radius-lg);
  box-shadow: var(--shadow-md);
}

.service-details-content h3 {
  font-size: 2rem;
  margin-bottom: 16px;
}

.service-details-text {
  font-size: 1.05rem;
  margin-bottom: 24px;
}

.service-features-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 30px;
}

.service-feature-item {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 500;
  font-size: 0.95rem;
}

.service-feature-item img {
  width: 20px;
  height: 20px;
}

@media (max-width: 900px) {
  .service-details-card, .service-details-card:nth-child(even) {
    grid-template-columns: 1fr;
    gap: 36px;
  }
}

/* ==========================================================================
   PORTFOLIO PAGE FILTERING
   ========================================================================== */
.portfolio-filter {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 50px;
}

.filter-btn {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  padding: 10px 24px;
  border-radius: 50px;
  color: var(--text-primary);
  font-family: var(--font-headings);
  font-weight: 600;
  font-size: 0.9rem;
  cursor: pointer;
  transition: var(--transition-smooth);
}

.filter-btn:hover,
.filter-btn.active {
  background: var(--brand-gradient);
  color: #ffffff;
  border-color: transparent;
  box-shadow: var(--shadow-glow);
}

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

@media (max-width: 992px) {
  .portfolio-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  .portfolio-grid {
    grid-template-columns: 1fr;
  }
}

.portfolio-card {
  border-radius: var(--border-radius-md);
  overflow: hidden;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  transition: var(--transition-smooth);
  height: 380px;
  display: flex;
  flex-direction: column;
}

.portfolio-card.hide {
  display: none;
}

.portfolio-img-box {
  position: relative;
  overflow: hidden;
  height: 260px;
  flex-shrink: 0;
}

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

.portfolio-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(243, 129, 32, 0.85);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: var(--transition-smooth);
}

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

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

.portfolio-zoom-btn {
  width: 50px;
  height: 50px;
  background: #ffffff;
  color: var(--brand-color);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  border: none;
  cursor: pointer;
  box-shadow: var(--shadow-md);
  transform: translateY(20px);
  transition: var(--transition-smooth);
}

.portfolio-card:hover .portfolio-zoom-btn {
  transform: translateY(0);
}

.portfolio-info {
  padding: 24px;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.portfolio-category {
  color: var(--brand-color);
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  margin-bottom: 6px;
}

.portfolio-title {
  font-size: 1.15rem;
  font-weight: 600;
}

/* Lightbox Modal */
.lightbox {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(8, 9, 12, 0.95);
  z-index: 200;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 40px;
  animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

.lightbox.active {
  display: flex;
}

.lightbox-content {
  position: relative;
  max-width: 900px;
  max-height: 80vh;
}

.lightbox-img {
  max-width: 100%;
  max-height: 80vh;
  border-radius: var(--border-radius-sm);
  box-shadow: var(--shadow-lg);
}

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

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

@media (max-width: 992px) {
  .blog-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  .blog-grid {
    grid-template-columns: 1fr;
  }
}

.blog-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius-md);
  overflow: hidden;
  transition: var(--transition-smooth);
  display: flex;
  flex-direction: column;
  height: 480px;
}

.blog-card:hover {
  transform: translateY(-8px);
  border-color: var(--brand-color);
  box-shadow: var(--shadow-lg);
}

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

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

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

.blog-info {
  padding: 24px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.blog-meta {
  display: flex;
  gap: 16px;
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-bottom: 12px;
}

.blog-title {
  font-size: 1.25rem;
  margin-bottom: 12px;
  font-weight: 600;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.blog-desc {
  font-size: 0.95rem;
  color: var(--text-secondary);
  margin-bottom: 20px;
  flex-grow: 1;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* ==========================================================================
   CONTACT PAGE DETAILS & FORMS
   ========================================================================== */
.contact-offices {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 40px;
  margin-bottom: 80px;
}

@media (max-width: 800px) {
  .contact-offices {
    grid-template-columns: 1fr;
  }
}

.office-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius-md);
  padding: 40px;
  position: relative;
  overflow: hidden;
  transition: var(--transition-smooth);
}

.office-card:hover {
  border-color: var(--brand-color);
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
}

.office-tag {
  color: var(--brand-color);
  font-size: 0.8rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 12px;
  display: block;
}

.office-title {
  font-size: 1.75rem;
  margin-bottom: 20px;
}

.office-details {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 30px;
}

.office-detail-item {
  display: flex;
  gap: 16px;
}

.office-detail-item svg {
  color: var(--brand-color);
  width: 24px;
  height: 24px;
  flex-shrink: 0;
}

.office-detail-text h4 {
  font-size: 0.9rem;
  font-weight: 600;
  margin-bottom: 4px;
}

.office-detail-text p {
  font-size: 0.95rem;
}

.map-placeholder {
  height: 200px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px dashed var(--border-color);
  border-radius: var(--border-radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 12px;
  color: var(--text-muted);
}

/* Contact Form Grid Layout */
.contact-section-grid {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 60px;
}

@media (max-width: 992px) {
  .contact-section-grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }
}

.contact-info-panel h3 {
  font-size: 2.2rem;
  margin-bottom: 20px;
}

.contact-info-panel p {
  margin-bottom: 40px;
}

.contact-stat-row {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.contact-stat-item {
  display: flex;
  align-items: center;
  gap: 16px;
}

.contact-stat-icon {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(243, 129, 32, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--brand-color);
  font-size: 1.2rem;
}

.contact-stat-text h4 {
  font-size: 1.05rem;
  font-weight: 600;
}

.contact-stat-text p {
  font-size: 0.9rem;
  margin-bottom: 0;
}

.contact-form-panel {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius-md);
  padding: 48px;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

@media (max-width: 600px) {
  .contact-form-panel {
    padding: 30px 20px;
  }
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.form-group-row {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

@media (max-width: 600px) {
  .form-group-row {
    grid-template-columns: 1fr;
  }
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.form-group label {
  font-family: var(--font-headings);
  font-size: 0.9rem;
  font-weight: 600;
}

.form-control {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius-sm);
  padding: 14px 18px;
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: var(--text-primary);
  outline: none;
  transition: var(--transition-smooth);
}

body.light-theme .form-control {
  background: rgba(0, 0, 0, 0.02);
}

.form-control:focus {
  border-color: var(--brand-color);
  box-shadow: 0 0 0 3px var(--brand-glow);
  background: rgba(255, 255, 255, 0.05);
}

select.form-control option {
  background: var(--bg-secondary);
  color: var(--text-primary);
}

.feedback-msg {
  display: none;
  padding: 16px;
  border-radius: var(--border-radius-sm);
  font-size: 0.95rem;
  font-weight: 500;
  text-align: center;
}

.feedback-msg.success {
  display: block;
  background: rgba(16, 185, 129, 0.15);
  border: 1px solid rgba(16, 185, 129, 0.3);
  color: #10b981;
}

.feedback-msg.error {
  display: block;
  background: rgba(239, 68, 68, 0.15);
  border: 1px solid rgba(239, 68, 68, 0.3);
  color: #ef4444;
}

/* Scroll reveal class animations */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.reveal.active {
  opacity: 1;
  transform: translateY(0);
}
