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

:root {
  /* Colors */
  --color-brand-navy: #1E3A8A;
  --color-brand-orange: #F97316;
  --color-brand-orange-hover: #ea580c;

  --color-bg: #F8FAFC;
  --color-bg-light-slate: #F1F5F9;
  --color-surface: #FFFFFF;
  --color-bg-dark: #0F172A;

  --color-tint-blue: #DBEAFE;
  --color-tint-orange: #FFEDD5;

  --color-text-primary: #0F172A;
  --color-text-secondary: #475569;
  --color-text-muted: #64748B;

  --color-border: #E2E8F0;

  /* Typography */
  --font-heading: 'Montserrat', sans-serif;
  --font-body: 'Inter', sans-serif;

  /* Radii */
  --radius-card: 1.25rem;
  --radius-button: 0.75rem;
  --radius-section: 1.5rem;

  /* Shadows */
  --shadow-subtle: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -1px rgba(0, 0, 0, 0.03);
  --shadow-card: 0 10px 15px -3px rgba(0, 0, 0, 0.05), 0 4px 6px -2px rgba(0, 0, 0, 0.025);
  --shadow-hover: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);

  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

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

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-heading);
  color: var(--color-brand-navy);
  /* Default navy for headings */
  line-height: 1.2;
}

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

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

/* Typography Scale */
.text-hero {
  font-size: clamp(3rem, 5vw, 4rem);
  font-weight: 800;
  line-height: 1.1;
}

.text-section-title {
  font-size: clamp(2rem, 3.5vw, 2.5rem);
  font-weight: 700;
  margin-bottom: 1rem;
}

.text-card-title {
  font-size: 1.35rem;
  font-weight: 600;
}

.text-body {
  font-size: 1.125rem;
  color: var(--color-text-secondary);
}

.text-small {
  font-size: 0.875rem;
  color: var(--color-text-muted);
}

/* Layout & Containers */
.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 2rem;
}

@media (max-width: 768px) {
  .container {
    padding: 0 1.25rem;
  }
}

.section {
  padding: 8rem 0;
}

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

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

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

.section-dark h1,
.section-dark h2,
.section-dark h3,
.section-dark p {
  color: var(--color-surface);
}

.section-dark .text-body,
.section-dark .text-small {
  color: #CBD5E1;
  /* Slate 300 for readability on dark */
}

.cta-banner {
  padding: 5rem 0;
}

.cta-banner-card {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  padding: 3rem;
  border-radius: var(--radius-section);
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.16);
}

.cta-banner-card h2 {
  margin-bottom: 1rem;
}

.cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
}

.cta-banner .btn-secondary {
  color: #FFFFFF;
  border-color: rgba(255, 255, 255, 0.6);
}

.cta-banner .btn-secondary:hover {
  background-color: rgba(255, 255, 255, 0.1);
}

.cta-wrapper {
  max-width: 800px;
}

.cta-btns {
  display: flex;
  gap: 1.5rem;
  justify-content: center;
  flex-wrap: wrap;
}

@media (max-width: 580px) {
  .cta-btns {
    flex-direction: column;
    align-items: center;
  }
  
  .cta-btns .btn {
    width: 100%;
    max-width: 320px;
  }
}

/* Grid Layouts */
.grid-2 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 3rem;
  align-items: center;
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2.5rem;
}

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

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

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.875rem 2rem;
  border-radius: var(--radius-button);
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  border: 2px solid transparent;
  transition: var(--transition);
}

.btn-primary {
  background-color: var(--color-brand-orange);
  color: var(--color-surface);
}

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

.btn-secondary {
  background-color: transparent;
  border-color: var(--color-brand-navy);
  color: var(--color-brand-navy);
}

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

.btn-dark-bg {
  background-color: var(--color-surface);
  color: var(--color-brand-navy);
}

.btn-dark-bg:hover {
  background-color: var(--color-tint-blue);
  transform: translateY(-2px);
}

/* Cards */
.card {
  background-color: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-card);
  padding: 2.5rem;
  box-shadow: var(--shadow-subtle);
  transition: var(--transition);
  display: flex;
  flex-direction: column;
}

.card:hover {
  box-shadow: var(--shadow-hover);
  transform: translateY(-5px);
  border-color: var(--color-tint-blue);
}

.card-icon-wrapper {
  width: 56px;
  height: 56px;
  border-radius: 12px;
  background-color: var(--color-tint-blue);
  color: var(--color-brand-navy);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 1.5rem;
}

.card-icon-orange {
  background-color: var(--color-tint-orange);
  color: var(--color-brand-orange);
}

/* Header & Navbar */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background-color: var(--color-surface);
  box-shadow: 0 1px 0 var(--color-border);
  padding: 1rem 0;
  transition: var(--transition);
}

.header.scrolled {
  padding: 0.75rem 0;
  box-shadow: var(--shadow-subtle);
}

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

.logo img {
  height: 48px;
  transition: var(--transition);
}

.nav-links {
  display: flex;
  gap: 2.5rem;
  list-style: none;
  align-items: center;
}

.nav-links a {
  font-weight: 500;
  color: var(--color-text-secondary);
  font-size: 1rem;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--color-brand-orange);
}

/* Hero Section */
.hero {
  position: relative;
  padding: 12rem 0 8rem;
  background-color: var(--color-bg);
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  background-image: url('../images/slider/1.jpg');
  background-size: cover;
  background-position: center;
  z-index: 0;
}

.hero-overlay {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  background: linear-gradient(to right, rgba(15, 23, 42, 0.9) 0%, rgba(15, 23, 42, 0.6) 100%);
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 800px;
}

.hero .text-hero {
  color: var(--color-surface);
  margin-bottom: 1.5rem;
}

.hero .text-body {
  color: #CBD5E1;
  font-size: 1.25rem;
  margin-bottom: 2.5rem;
  text-align: center;
}

.hero-trust-indicators {
  display: flex;
  gap: 2rem;
  margin-top: 4rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 2rem;
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: var(--color-surface);
  font-weight: 500;
}

.trust-item i {
  color: var(--color-brand-orange);
}

/* Badges */
.badge {
  display: inline-block;
  padding: 0.25rem 0.75rem;
  background-color: var(--color-tint-blue);
  color: var(--color-brand-navy);
  font-weight: 600;
  font-size: 0.875rem;
  border-radius: 99px;
  margin-bottom: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.badge-orange {
  background-color: var(--color-tint-orange);
  color: var(--color-brand-orange);
}

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

.portfolio-card {
  border-radius: var(--radius-card);
  overflow: hidden;
  position: relative;
  aspect-ratio: 4/3;
  box-shadow: var(--shadow-card);
  group: hover;
}

.portfolio-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

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

.portfolio-info {
  position: absolute;
  bottom: 1.5rem;
  left: 1.5rem;
  right: 1.5rem;
  padding: 1.75rem;
  background: rgba(15, 23, 42, 0.7);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 1rem;
  color: var(--color-surface);
  transform: translateY(15px);
  opacity: 0;
  transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  z-index: 2;
}

.portfolio-card:hover .portfolio-info {
  transform: translateY(0);
  opacity: 1;
}

.portfolio-card::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(to top, rgba(15, 23, 42, 0.6) 0%, transparent 60%);
  opacity: 0.8;
  transition: var(--transition);
  z-index: 1;
}

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

/* Process Section */
.process-step {
  display: flex;
  flex-direction: column;
  position: relative;
}

.step-number {
  font-size: 4rem;
  font-family: var(--font-heading);
  font-weight: 800;
  color: var(--color-tint-blue);
  line-height: 1;
  margin-bottom: 1rem;
}

/* Footer */
.footer {
  background-color: var(--color-bg-dark);
  color: var(--color-text-muted);
  padding: 5rem 0 2rem;
}

.footer h4 {
  color: var(--color-surface);
  margin-bottom: 1.5rem;
  font-size: 1.125rem;
}

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

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

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 2rem;
  margin-top: 4rem;
  text-align: center;
  font-size: 0.875rem;
}

/* Mobile Toggle */
.mobile-toggle {
  display: none;
  font-size: 1.5rem;
  color: var(--color-brand-navy);
  cursor: pointer;
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
  .mobile-toggle {
    display: block;
  }

  .nav-links {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background-color: var(--color-surface);
    flex-direction: column;
    padding: 2.5rem 1.25rem;
    gap: 1.5rem;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    transform: translateY(-110%);
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
    z-index: 999;
  }

  .nav-links.active {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
  }

  .nav-links li {
    width: 100%;
    text-align: center;
  }

  .nav-links a {
    font-size: 1.125rem;
    display: block;
    padding: 0.5rem 0;
  }

  .nav-links a.btn {
    display: flex;
    margin-top: 1rem;
  }

  /* Portfolio Grid Adjustment */
  .portfolio-grid {
    grid-template-columns: 1fr;
  }

  /* Why Choose Us Section Order */
  #why-us .grid-2 > div:first-child {
    order: 2;
  }
  #why-us .grid-2 > div:last-child {
    order: 1;
  }

  .hero {
    padding: 8rem 0 4rem;
  }

  .hero-trust-indicators {
    flex-direction: column;
    gap: 1rem;
  }
}

@media (max-width: 480px) {
  .text-hero {
    font-size: 2.25rem;
  }
  
  .text-section-title {
    font-size: 1.75rem;
  }
  
  .btn {
    width: 100%;
    padding: 1rem 1.5rem;
  }
}

.text-white{
  color: var(--color-surface);
}