/* ==========================================================================
   SBBJ IT Solutions - Gibraltar Stylesheet
   Unique Palette: Gibraltar (#dc2626)
   13 Professional Landing Sections Fully Styled
   ========================================================================== */

:root {
  --primary: #dc2626;
  --primary-hover: #b91c1c;
  --secondary: #0f172a;
  --accent: #f59e0b;
  --accent-light: #fef2f2;
  --accent-border: rgba(0, 0, 0, 0.12);
  --gradient-hero: linear-gradient(135deg, #dc2626 0%, #991b1b 50%, #0f172a 100%);
  --text-dark: #0f172a;
  --text-muted: #475569;
  --bg-light: #f8fafc;
  --bg-white: #ffffff;
  --font-heading: 'Outfit', sans-serif;
  --font-body: 'Plus Jakarta Sans', sans-serif;
  --shadow-sm: 0 2px 8px rgba(15, 23, 42, 0.05);
  --shadow-md: 0 8px 24px rgba(15, 23, 42, 0.08);
  --shadow-lg: 0 16px 40px rgba(15, 23, 42, 0.12);
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-full: 9999px;
  --transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Base Reset */
*, *::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-dark);
  background-color: var(--bg-white);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

.container {
  width: 100%;
  max-width: 1300px;
  margin: 0 auto;
  padding: 0 24px;
}

/* Typography Helpers - Justified Body Paragraphs */
p {
  text-align: justify;
  text-justify: inter-word;
}

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

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

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

/* Section 1: Header Navigation */
.top-bar {
  background-color: var(--secondary);
  color: #e2e8f0;
  font-size: 0.85rem;
  padding: 9px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

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

.top-bar-left {
  display: flex;
  align-items: center;
  gap: 24px;
}

.top-info-item {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #cbd5e1;
}

.top-info-item:hover { color: #ffffff; }
.top-info-item i { color: var(--primary); }

.top-flag-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background-color: rgba(255, 255, 255, 0.08);
  padding: 3px 12px;
  border-radius: var(--radius-full);
  font-weight: 500;
}

.main-header {
  position: sticky;
  top: 0;
  background-color: #ffffff;
  box-shadow: 0 4px 20px rgba(15, 23, 42, 0.08);
  padding: 16px 0;
  z-index: 1000;
}

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

.brand-logo img {
  height: 44px;
  width: auto;
}

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

.nav-item {
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--text-dark);
}

.nav-item:hover { color: var(--primary); }

.header-btn {
  background-color: var(--primary);
  color: #ffffff !important;
  padding: 10px 22px;
  border-radius: var(--radius-full);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.12);
}

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

.mobile-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 1.5rem;
  color: var(--secondary);
  cursor: pointer;
}

/* Section 2: Hero Section */
.hero {
  position: relative;
  background: var(--gradient-hero);
  color: #ffffff;
  padding: 95px 0 105px;
  overflow: hidden;
}

.hero-container {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 50px;
  align-items: center;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background-color: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(8px);
  padding: 6px 16px;
  border-radius: var(--radius-full);
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 22px;
  border: 1px solid rgba(255, 255, 255, 0.25);
}

.badge-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: #10b981;
  box-shadow: 0 0 0 2px rgba(16, 185, 129, 0.3);
}

.hero-title {
  font-size: 3.1rem;
  font-weight: 800;
  line-height: 1.18;
  color: #ffffff;
  margin-bottom: 22px;
  letter-spacing: -0.02em;
}

.hero-desc {
  font-size: 1.1rem;
  color: #f1f5f9;
  line-height: 1.65;
  margin-bottom: 34px;
}

.hero-cta-group {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 40px;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 30px;
  border-radius: var(--radius-full);
  font-size: 0.95rem;
  font-weight: 700;
  cursor: pointer;
  border: none;
  transition: var(--transition);
}

.btn-primary {
  background-color: #ffffff;
  color: var(--secondary);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
}

.btn-primary:hover {
  background-color: #f8fafc;
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.25);
}

.btn-outline {
  background-color: transparent;
  color: #ffffff;
  border: 2px solid rgba(255, 255, 255, 0.5);
}

.btn-outline:hover {
  border-color: #ffffff;
  background-color: rgba(255, 255, 255, 0.1);
  transform: translateY(-2px);
}

.hero-features-ribbon {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
}

.feature-item {
  display: flex;
  align-items: center;
  gap: 10px;
}

.feature-icon {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.15);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255, 255, 255, 0.2);
  flex-shrink: 0;
}

.feature-label {
  font-size: 12.5px;
  font-weight: 600;
  color: #f1f5f9;
  line-height: 1.25;
}

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

.hero-visual-img {
  width: 100%;
  height: auto;
  display: block;
}

.floating-badge-capsule {
  position: absolute;
  bottom: -15px;
  left: 20px;
  background: #ffffff;
  padding: 12px 24px;
  border-radius: 50px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.12);
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--secondary);
  border: 1.5px solid var(--primary);
  z-index: 3;
}

.badge-glow-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(0, 0, 0, 0.1);
  display: inline-block;
  animation: pulseDot 2s infinite;
}


.hero-rock-of-gibraltar-fortress-fintech .archetype-inner-wrap {
  border-radius: 28px;
  overflow: hidden;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.25);
  border: 4px solid #f59e0b;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}
.hero-rock-of-gibraltar-fortress-fintech .archetype-inner-wrap:hover {
  transform: translateY(-6px) scale(1.01);
}


/* Section 3: Trust and Key Features */
.trust-features-section {
  padding: 60px 0;
  background-color: #ffffff;
  border-bottom: 1px solid #e2e8f0;
}

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

.trust-feature-card {
  background-color: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: var(--radius-md);
  padding: 28px 24px;
  transition: var(--transition);
}

.trust-feature-card:hover {
  transform: translateY(-4px);
  border-color: var(--primary);
  box-shadow: var(--shadow-sm);
}

.trust-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background-color: var(--accent-light);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  margin-bottom: 16px;
}

.trust-title {
  font-size: 1.15rem;
  color: var(--secondary);
  margin-bottom: 8px;
}

.trust-desc {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* Section 4: About the Country */
.about-country-section {
  padding: 90px 0;
  background-color: #f8fafc;
}

.about-wrapper {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 60px;
  align-items: center;
}

.section-tag {
  display: inline-block;
  font-size: 0.82rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.2px;
  color: var(--primary);
  background-color: var(--accent-light);
  padding: 5px 14px;
  border-radius: var(--radius-full);
  margin-bottom: 14px;
  border: 1px solid var(--accent-border);
}

.section-heading {
  font-size: 2.35rem;
  margin-bottom: 20px;
  color: var(--secondary);
}

.section-lead {
  font-size: 1.1rem;
  font-weight: 500;
  color: var(--text-dark);
  line-height: 1.68;
  margin-bottom: 16px;
}

.section-body {
  font-size: 0.98rem;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 28px;
}

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

.metric-card {
  background-color: #ffffff;
  padding: 18px;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  border: 1px solid #e2e8f0;
  text-align: center;
}

.metric-val {
  display: block;
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--primary);
  font-family: var(--font-heading);
}

.metric-label {
  font-size: 0.78rem;
  color: var(--text-muted);
  font-weight: 600;
}

.card-stack {
  position: relative;
}

.stack-img-1 {
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  width: 100%;
}

.stat-badge {
  position: absolute;
  bottom: -20px;
  left: 20px;
  background-color: #ffffff;
  padding: 14px 20px;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  display: flex;
  align-items: center;
  gap: 12px;
  border: 1px solid #e2e8f0;
}

.stat-badge i {
  font-size: 1.8rem;
  color: #10b981;
}

.stat-badge strong {
  display: block;
  font-size: 0.92rem;
  color: var(--secondary);
}

.stat-badge span {
  font-size: 0.78rem;
  color: var(--text-muted);
}

/* Section 5: Our Services */
.services-section {
  padding: 90px 0;
  background-color: #ffffff;
}

.section-header {
  max-width: 720px;
  margin: 0 auto 55px;
}

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

.section-subtitle {
  font-size: 1.05rem;
  color: var(--text-muted);
  margin-top: 10px;
}

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

.service-box {
  background-color: #ffffff;
  border-radius: var(--radius-lg);
  padding: 34px 28px;
  box-shadow: var(--shadow-md);
  border: 1px solid #e2e8f0;
  transition: var(--transition);
}

.service-box:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: var(--primary);
}

.service-icon {
  width: 58px;
  height: 58px;
  border-radius: var(--radius-md);
  background-color: var(--accent-light);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.45rem;
  margin-bottom: 22px;
}

.service-title {
  font-size: 1.28rem;
  margin-bottom: 12px;
  color: var(--secondary);
}

.service-text {
  font-size: 0.94rem;
  color: var(--text-muted);
  line-height: 1.65;
  margin-bottom: 20px;
}

.service-bullets {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
  border-top: 1px solid #f1f5f9;
  padding-top: 16px;
}

.service-bullets li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.86rem;
  color: var(--text-dark);
  font-weight: 500;
}

.service-bullets li i {
  color: #10b981;
  font-size: 0.78rem;
}

/* Section 6: Why Choose Us */
.why-us-section {
  padding: 90px 0;
  background-color: #f8fafc;
}

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

.why-us-card {
  background-color: #ffffff;
  border-radius: var(--radius-md);
  padding: 32px 28px;
  border: 1px solid #e2e8f0;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  position: relative;
}

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

.why-num {
  font-size: 2rem;
  font-weight: 800;
  font-family: var(--font-heading);
  color: var(--primary);
  margin-bottom: 12px;
  opacity: 0.85;
}

.why-title {
  font-size: 1.22rem;
  margin-bottom: 10px;
  color: var(--secondary);
}

.why-desc {
  font-size: 0.92rem;
  color: var(--text-muted);
  line-height: 1.65;
}

/* Section 7: Popular Cities and Locations */
.cities-section {
  padding: 90px 0;
  background-color: #ffffff;
}

.cities-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 24px;
}

.city-card {
  background-color: #ffffff;
  border-radius: var(--radius-md);
  padding: 26px;
  box-shadow: var(--shadow-sm);
  border: 1px solid #e2e8f0;
  transition: var(--transition);
}

.city-card:hover {
  border-color: var(--primary);
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.city-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 8px;
}

.city-pin {
  color: var(--primary);
  font-size: 1.1rem;
}

.city-name {
  font-size: 1.25rem;
  color: var(--secondary);
}

.city-subtitle {
  display: block;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--primary);
  text-transform: uppercase;
  margin-bottom: 12px;
}

.city-desc {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* Section 8: Our Work Process */
.process-section {
  padding: 90px 0;
  background-color: #f8fafc;
}

.process-timeline {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 20px;
}

.process-card {
  background-color: #ffffff;
  border-radius: var(--radius-md);
  padding: 26px 20px;
  border: 1px solid #e2e8f0;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

.process-card:hover {
  border-color: var(--primary);
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.step-num {
  font-size: 2.2rem;
  font-weight: 800;
  font-family: var(--font-heading);
  color: var(--primary);
  opacity: 0.85;
  margin-bottom: 12px;
}

.step-title {
  font-size: 1.05rem;
  margin-bottom: 10px;
  color: var(--secondary);
}

.step-text {
  font-size: 0.86rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* Section 9: Portfolio / Project Showcase */
.portfolio-section {
  padding: 90px 0;
  background-color: #ffffff;
}

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

.portfolio-card {
  background-color: #ffffff;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid #e2e8f0;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

.portfolio-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: var(--primary);
}

.portfolio-img-wrap {
  position: relative;
  overflow: hidden;
}

.portfolio-img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  transition: transform 0.4s ease;
}

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

.portfolio-badge {
  position: absolute;
  top: 14px;
  right: 14px;
  background: rgba(15, 23, 42, 0.85);
  color: #ffffff;
  font-size: 0.76rem;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: var(--radius-full);
}

.portfolio-content {
  padding: 24px;
}

.portfolio-title {
  font-size: 1.25rem;
  color: var(--secondary);
  margin-bottom: 10px;
}

.portfolio-desc {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 16px;
}

.portfolio-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.portfolio-tags span {
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--primary);
  background-color: var(--accent-light);
  padding: 3px 10px;
  border-radius: var(--radius-full);
}

/* Section 10: Detailed SEO Content */
.seo-content-section {
  padding: 90px 0;
  background-color: #f8fafc;
  border-top: 1px solid #e2e8f0;
  border-bottom: 1px solid #e2e8f0;
}

.seo-content-wrap {
  max-width: 980px;
  margin: 0 auto;
}

.seo-main-heading {
  font-size: 2.2rem;
  color: var(--secondary);
  margin: 12px 0 20px;
}

.seo-sub-heading {
  font-size: 1.45rem;
  color: var(--secondary);
  margin: 28px 0 12px;
}

.seo-content-wrap p {
  font-size: 1rem;
  color: var(--text-muted);
  line-height: 1.8;
  margin-bottom: 18px;
}

/* Section 11: Frequently Asked Questions */
.faq-section {
  padding: 90px 0;
  background-color: #ffffff;
}

.faq-container {
  max-width: 860px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.faq-item {
  border: 1px solid #e2e8f0;
  border-radius: var(--radius-md);
  background-color: #ffffff;
  overflow: hidden;
  transition: var(--transition);
}

.faq-item.active {
  border-color: var(--primary);
  box-shadow: var(--shadow-sm);
}

.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 24px;
  background: none;
  border: none;
  font-family: var(--font-heading);
  font-size: 1.08rem;
  font-weight: 700;
  color: var(--secondary);
  text-align: left;
  cursor: pointer;
  transition: var(--transition);
}

.faq-question i {
  color: var(--primary);
  transition: transform 0.3s ease;
}

.faq-item.active .faq-question i {
  transform: rotate(180deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease, padding 0.35s ease;
  padding: 0 24px;
}

.faq-item.active .faq-answer {
  max-height: 300px;
  padding-bottom: 22px;
}

.faq-answer p {
  font-size: 0.94rem;
  color: var(--text-muted);
  line-height: 1.7;
}

/* Section 12: Final CTA / Contact Section */
.cta-section {
  padding: 90px 0;
  background: var(--gradient-hero);
  color: #ffffff;
}

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

.cta-tag {
  display: inline-block;
  font-size: 0.84rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  background: rgba(255, 255, 255, 0.15);
  padding: 6px 18px;
  border-radius: var(--radius-full);
  margin-bottom: 18px;
}

.cta-title {
  font-size: 2.8rem;
  color: #ffffff;
  margin-bottom: 20px;
}

.cta-text {
  font-size: 1.15rem;
  color: #f1f5f9;
  line-height: 1.7;
  margin-bottom: 36px;
}

.cta-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
}

.btn-quote {
  background-color: #ffffff;
  color: var(--secondary);
  padding: 15px 34px;
  border-radius: var(--radius-full);
  font-weight: 700;
  font-size: 1rem;
}

.btn-quote:hover {
  background-color: #f8fafc;
  transform: translateY(-2px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
}

.btn-whatsapp {
  background-color: #25d366;
  color: #ffffff;
  padding: 15px 34px;
  border-radius: var(--radius-full);
  font-weight: 700;
  font-size: 1rem;
}

.btn-whatsapp:hover {
  background-color: #20ba5a;
  transform: translateY(-2px);
  box-shadow: 0 10px 25px rgba(37, 211, 102, 0.3);
}

/* Section 13: Footer */
.main-footer {
  background-color: var(--secondary);
  color: #cbd5e1;
  padding: 80px 0 30px;
}

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

.footer-logo {
  height: 44px;
  width: auto;
  margin-bottom: 20px;
}

.footer-about {
  font-size: 0.92rem;
  line-height: 1.65;
  margin-bottom: 24px;
}

.footer-contact-info p {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.88rem;
  margin-bottom: 10px;
  color: #e2e8f0;
}

.footer-contact-info i { color: var(--primary); }

.footer-title {
  font-size: 1.15rem;
  color: #ffffff;
  margin-bottom: 22px;
  position: relative;
  padding-bottom: 10px;
}

.footer-title::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 32px;
  height: 3px;
  background-color: var(--primary);
  border-radius: 2px;
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-links a {
  font-size: 0.9rem;
  color: #94a3b8;
}

.footer-links a:hover {
  color: #ffffff;
  padding-left: 5px;
}

.footer-bottom {
  text-align: center;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 28px;
  font-size: 0.88rem;
  color: #64748b;
}

/* Floating Actions */
.floating-actions {
  position: fixed;
  bottom: 24px;
  right: 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  z-index: 999;
}

.float-btn {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  font-size: 1.4rem;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
  transition: var(--transition);
}

.float-wa { background-color: #25d366; }
.float-wa:hover { background-color: #20ba5a; transform: scale(1.08); }

.float-mail { background-color: var(--primary); }
.float-mail:hover { background-color: var(--primary-hover); transform: scale(1.08); }

/* Modal Dialog */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(15, 23, 42, 0.75);
  backdrop-filter: blur(5px);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 2000;
  padding: 20px;
}

.modal-overlay.open { display: flex; }

.modal-box {
  background-color: #ffffff;
  border-radius: var(--radius-lg);
  max-width: 580px;
  width: 100%;
  padding: 38px;
  position: relative;
  box-shadow: var(--shadow-lg);
  max-height: 90vh;
  overflow-y: auto;
}

.modal-close {
  position: absolute;
  top: 18px;
  right: 20px;
  background: none;
  border: none;
  font-size: 1.8rem;
  color: var(--text-muted);
  cursor: pointer;
}

.modal-close:hover { color: var(--secondary); }

.modal-title {
  font-size: 1.6rem;
  margin-bottom: 8px;
  color: var(--secondary);
}

.modal-desc {
  font-size: 0.92rem;
  color: var(--text-muted);
  margin-bottom: 24px;
}

.consultation-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

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

.form-group label {
  font-size: 0.86rem;
  font-weight: 700;
  color: var(--secondary);
}

.form-group input,
.form-group select,
.form-group textarea {
  padding: 12px 16px;
  border: 1px solid #cbd5e1;
  border-radius: var(--radius-sm);
  font-family: inherit;
  font-size: 0.94rem;
  outline: none;
  transition: var(--transition);
}

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

.btn-block {
  width: 100%;
  justify-content: center;
  padding: 14px;
  margin-top: 10px;
  background-color: var(--primary);
  color: #ffffff;
}

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

/* Keyframe Animations */
@keyframes pulseDot {
  0% { transform: scale(0.95); opacity: 0.8; }
  50% { transform: scale(1.15); opacity: 1; }
  100% { transform: scale(0.95); opacity: 0.8; }
}

/* Responsive Media Queries */
@media (max-width: 1100px) {
  .hero-container {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .hero-badge, .hero-cta-group, .hero-features-ribbon {
    justify-content: center;
  }
  .about-wrapper { grid-template-columns: 1fr; }
  .services-grid, .why-us-grid, .portfolio-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .process-timeline { grid-template-columns: repeat(3, 1fr); }
  .trust-features-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-top { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  .nav-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background-color: #ffffff;
    flex-direction: column;
    padding: 24px;
    box-shadow: var(--shadow-lg);
  }
  .nav-links.open { display: flex; }
  .mobile-toggle { display: block; }
  .hero-title { font-size: 2.3rem; }
  .hero-features-ribbon { grid-template-columns: repeat(2, 1fr); }
  .services-grid, .why-us-grid, .portfolio-grid, .trust-features-grid {
    grid-template-columns: 1fr;
  }
  .process-timeline { grid-template-columns: 1fr; }
  .cta-title { font-size: 2rem; }
  .cta-actions { flex-direction: column; }
  .footer-top { grid-template-columns: 1fr; }
}
