:root {
  /* Premium Brand Colors */
  --primary-color: #0F225C; /* Deeper Premium Blue */
  --primary-light: #1A368F;
  --secondary-color: #FF4A05; /* Vibrant Premium Orange */
  --secondary-light: #FF703B;
  --bg-color: #F8FAFC; /* Slate Light */
  --text-dark: #1E293B; /* Slate Dark */
  --text-light: #475569;
  --white: #FFFFFF;
  --border-color: #E2E8F0;
  
  --font-main: 'Inter', sans-serif;
  --shadow: 0 10px 30px -5px rgba(0, 0, 0, 0.05), 0 4px 6px -4px rgba(0, 0, 0, 0.05);
  --shadow-hover: 0 20px 40px -5px rgba(0, 0, 0, 0.1), 0 10px 15px -5px rgba(0, 0, 0, 0.04);
  --transition: all 0.4s cubic-bezier(0.25, 1, 0.5, 1);
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-main);
  background-color: var(--bg-color);
  color: var(--text-dark);
  line-height: 1.6;
}

h1, h2, h3, h4, h5, h6 {
  color: var(--primary-color);
  margin-bottom: 1rem;
  font-weight: 800;
  letter-spacing: -0.02em;
}

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

a:hover {
  color: var(--secondary-color);
}

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

/* Utilities */
.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }
.section { padding: 80px 0; }
.bg-light { background-color: var(--bg-color); }
.bg-white { background-color: var(--white); }
.bg-primary { background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-light) 100%); color: var(--white); }
.bg-primary h2, .bg-primary h3, .bg-primary p { color: var(--white); }
.text-center { text-align: center; }

/* Buttons */
.btn {
  display: inline-block; padding: 14px 28px; border-radius: 6px;
  font-weight: 600; cursor: pointer; transition: var(--transition);
  border: none; font-size: 1rem; text-align: center; letter-spacing: 0.02em;
}
.btn-primary { background: linear-gradient(135deg, var(--secondary-color) 0%, var(--secondary-light) 100%); color: var(--white); box-shadow: 0 4px 15px rgba(255, 74, 5, 0.3); }
.btn-primary:hover { transform: translateY(-3px); box-shadow: 0 8px 25px rgba(255, 74, 5, 0.4); color: var(--white); }
.btn-outline { background-color: transparent; color: var(--primary-color); border: 2px solid var(--primary-color); }
.btn-outline:hover { background-color: var(--primary-color); color: var(--white); }
.btn-whatsapp { background-color: #25D366; color: var(--white); }
.btn-whatsapp:hover { background-color: #128C7E; color: var(--white); transform: translateY(-2px); box-shadow: var(--shadow); }

/* Scroll Progress Bar */
.progress-container {
  width: 100%;
  height: 4px;
  background: transparent;
  position: fixed;
  top: 0;
  left: 0;
  z-index: 9999;
}
.progress-bar {
  height: 4px;
  background: var(--secondary-color);
  width: 0%;
}

/* Header & Mega Menu */
header {
  position: fixed;
  top: 0; left: 0; right: 0;
  background-color: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(10px);
  box-shadow: 0 4px 20px rgba(0,0,0,0.05);
  z-index: 1000;
  transition: all 0.4s ease;
}
header.transparent {
  background-color: transparent;
  box-shadow: none;
}
header.transparent .nav-links li a { color: var(--white); }
header.transparent .logo { color: var(--white); }
header.transparent .logo span { color: var(--secondary-color); }

.nav-container {
  display: flex; justify-content: space-between; align-items: center;
  padding: 20px 20px; max-width: 1200px; margin: 0 auto;
}
.logo { font-size: 1.5rem; font-weight: 800; color: var(--primary-color); display: flex; align-items: center; }
.logo span { color: var(--secondary-color); }

.nav-links { display: flex; list-style: none; gap: 25px; align-items: center; }
.nav-links li { position: relative; }
.nav-links li a { font-weight: 600; text-transform: uppercase; font-size: 0.85rem; padding: 10px 0; display: inline-block; }
.nav-links li a::after { content: ''; position: absolute; width: 0; height: 2px; bottom: 0; left: 0; background-color: var(--secondary-color); transition: var(--transition); }
.nav-links li a:hover::after { width: 100%; }

/* Dropdown / Mega Menu Basic */
.dropdown-content {
  display: none; position: absolute; top: 100%; left: -50px;
  background-color: var(--white); min-width: 250px; box-shadow: var(--shadow-hover);
  z-index: 1001; border-top: 3px solid var(--secondary-color); border-radius: 0 0 4px 4px;
}
.nav-links li:hover .dropdown-content { display: block; }
.dropdown-content a { color: var(--text-dark) !important; padding: 12px 20px; display: block; text-transform: none !important; border-bottom: 1px solid var(--border-color); }
.dropdown-content a:hover { background-color: var(--bg-color); color: var(--secondary-color) !important; padding-left: 25px; }

/* Loading Animation */
#loader-wrapper { position: fixed; top: 0; left: 0; width: 100%; height: 100%; background: var(--primary-color); z-index: 99999; display: flex; justify-content: center; align-items: center; transition: opacity 0.5s; }
.loader { border: 5px solid rgba(255,255,255,0.2); border-top: 5px solid var(--secondary-color); border-radius: 50%; width: 50px; height: 50px; animation: spin 1s linear infinite; }
@keyframes spin { 0% { transform: rotate(0deg); } 100% { transform: rotate(360deg); } }

/* Floating Buttons */
.floating-buttons { position: fixed; bottom: 20px; right: 20px; display: flex; flex-direction: column; gap: 10px; z-index: 100; }
.float-btn { width: 50px; height: 50px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 1.5rem; color: white; box-shadow: var(--shadow); transition: transform 0.3s; }
.float-btn:hover { transform: scale(1.1); color: white; }
.float-call { background-color: var(--primary-color); }
.float-wa { background-color: #25D366; }

/* Grid systems */
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; }
.grid-3 { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 30px; }
.grid-4 { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 20px; }

/* Component specifics */
.hero { position: relative; height: 100vh; min-height: 600px; display: flex; align-items: center; justify-content: center; color: var(--white); text-align: center; overflow: hidden; padding-top: 80px; }
.hero::before { content: ''; position: absolute; top: 0; left: 0; right: 0; bottom: 0; background: rgba(19, 42, 115, 0.75); z-index: 1; }
.hero-img { position: absolute; top: 0; left: 0; width: 100%; height: 100%; object-fit: cover; z-index: 0; }
.hero-content { position: relative; z-index: 2; max-width: 900px; padding: 0 20px; }
.hero h1 { color: var(--white); font-size: 4rem; margin-bottom: 20px; text-shadow: 2px 2px 4px rgba(0,0,0,0.5); line-height: 1.2; }
.hero p { font-size: 1.3rem; margin-bottom: 30px; text-shadow: 1px 1px 2px rgba(0,0,0,0.5); }
.hero-buttons { display: flex; gap: 15px; justify-content: center; flex-wrap: wrap; }

.card { background: var(--white); border-radius: 12px; overflow: hidden; box-shadow: var(--shadow); transition: var(--transition); height: 100%; display: flex; flex-direction: column; border: 1px solid rgba(0,0,0,0.03); }
.card:hover { transform: translateY(-8px) scale(1.01); box-shadow: var(--shadow-hover); }
.card-body { padding: 30px; flex-grow: 1; display: flex; flex-direction: column; }

.icon-box { text-align: center; padding: 40px 30px; background: white; border-radius: 12px; box-shadow: var(--shadow); transition: var(--transition); border-bottom: 4px solid var(--secondary-color); border: 1px solid rgba(0,0,0,0.03); border-bottom: 4px solid var(--secondary-color); }
.icon-box:hover { transform: translateY(-8px); box-shadow: var(--shadow-hover); }
.icon-box .icon { font-size: 2.8rem; color: var(--secondary-color); margin-bottom: 20px; transition: var(--transition); }
.icon-box:hover .icon { transform: scale(1.1); }

/* Timeline */
.timeline-process { display: flex; flex-wrap: wrap; justify-content: center; gap: 15px; align-items: center; padding: 40px 0; }
.timeline-item { background: var(--white); padding: 15px 20px; border-radius: 30px; box-shadow: var(--shadow); font-weight: 600; color: var(--primary-color); border: 2px solid var(--border-color); display: flex; align-items: center; }
.timeline-item.active { border-color: var(--secondary-color); background: var(--secondary-color); color: white; }
.timeline-arrow { color: var(--secondary-color); font-size: 1.5rem; }

/* Accordion */
.accordion { background-color: var(--white); color: var(--text-dark); cursor: pointer; padding: 18px; width: 100%; text-align: left; border: none; outline: none; transition: 0.4s; font-size: 1.1rem; font-weight: 600; border-bottom: 1px solid var(--border-color); }
.accordion:hover { background-color: #f1f1f1; }
.accordion.active { background-color: var(--primary-color); color: white; }
.panel { padding: 0 18px; background-color: white; display: none; overflow: hidden; border-bottom: 1px solid var(--border-color); }
.panel p { margin: 15px 0; }

/* Feature List */
.feature-list { list-style: none; padding: 0; }
.feature-list li { margin-bottom: 10px; padding-left: 25px; position: relative; }
.feature-list li::before { content: '✔'; position: absolute; left: 0; color: var(--secondary-color); font-weight: bold; }

/* Footer */
footer { background-color: var(--primary-color); color: var(--white); padding: 60px 0 20px; }
.footer-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 40px; margin-bottom: 40px; }
.footer-col h4 { color: var(--secondary-color); margin-bottom: 20px; }
.footer-col ul { list-style: none; }
.footer-col ul li { margin-bottom: 10px; }
.footer-col ul li a { color: var(--white); opacity: 0.8; }
.footer-col ul li a:hover { opacity: 1; color: var(--secondary-color); }
.footer-bottom { text-align: center; padding-top: 20px; border-top: 1px solid rgba(255,255,255,0.1); font-size: 0.9rem; opacity: 0.8; }

/* Menu Toggle Icon */
.menu-toggle { display: none; font-size: 1.8rem; color: var(--primary-color); cursor: pointer; transition: var(--transition); }
header.transparent .menu-toggle { color: var(--white); }

/* Responsive Mobile Nav & Grids */
@media (max-width: 992px) {
  .hero h1 { font-size: 3rem; }
  .grid-3, .grid-4 { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  .section { padding: 40px 0; }
  .hero h1 { font-size: 2.2rem; }
  .hero p { font-size: 1.1rem; }
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  
  /* Mobile Navigation Menu */
  .menu-toggle { display: block; }
  .nav-links { 
    position: absolute; top: 100%; left: 0; right: 0;
    background: rgba(255,255,255,0.98); backdrop-filter: blur(10px);
    flex-direction: column; text-align: center; padding: 20px 0;
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
    transform: translateY(-150%); opacity: 0; pointer-events: none;
    transition: var(--transition);
  }
  .nav-links.active { transform: translateY(0); opacity: 1; pointer-events: all; }
  header.transparent .nav-links li a { color: var(--primary-color); } 
  .nav-links li { margin: 15px 0; }
  
  /* Mobile Dropdown Fix */
  .dropdown-content { position: static; box-shadow: none; border: none; display: none; padding: 10px 0; background: var(--bg-color); border-radius: 8px; margin: 10px 20px; }
  .nav-links li:hover .dropdown-content { display: none; }
  .nav-links li.dropdown-active .dropdown-content { display: block; }
  
  /* Buttons and Floating Action */
  .hero-buttons { flex-direction: column; width: 100%; align-items: center; }
  .hero-buttons .btn { width: 100%; max-width: 300px; margin-bottom: 10px; }
  .floating-buttons, .floating-buttons-full { bottom: 10px; right: 10px; transform: scale(0.85); transform-origin: bottom right; }
}

/* --- ABOUT PAGE STYLES --- */
.values-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 20px; margin-top: 30px; }
.value-card { background: var(--white); padding: 30px; border-radius: 8px; box-shadow: var(--shadow); border-top: 4px solid var(--secondary-color); text-align: center; }
.value-card h4 { color: var(--primary-color); margin-bottom: 15px; font-size: 1.2rem; }

.timeline-vertical { position: relative; max-width: 800px; margin: 0 auto; padding: 40px 0; }
.timeline-vertical::after { content: ''; position: absolute; width: 4px; background-color: var(--primary-light); top: 0; bottom: 0; left: 50%; margin-left: -2px; }
.timeline-container { padding: 10px 40px; position: relative; background-color: inherit; width: 50%; }
.timeline-container::after { content: ''; position: absolute; width: 20px; height: 20px; right: -10px; background-color: var(--secondary-color); border: 4px solid var(--white); top: 15px; border-radius: 50%; z-index: 1; }
.left { left: 0; }
.right { left: 50%; }
.right::after { left: -10px; }
.timeline-content { padding: 20px 30px; background-color: white; position: relative; border-radius: 6px; box-shadow: var(--shadow); }
.timeline-content h3 { color: var(--secondary-color); font-size: 1.2rem; margin-bottom: 5px; }

@media screen and (max-width: 768px) {
    .timeline-vertical::after { left: 31px; }
    .timeline-container { width: 100%; padding-left: 70px; padding-right: 25px; }
    .timeline-container::after { left: 21px; }
    .right { left: 0%; }
}

/* --- SERVICES PAGE STYLES --- */
.service-block { padding: 60px 0; border-bottom: 1px solid var(--border-color); }
.service-block:nth-child(even) { background-color: var(--white); }
.service-block:nth-child(odd) { background-color: var(--bg-color); }
.service-img-placeholder { width: 100%; height: 350px; background: #ddd; border-radius: 8px; display: flex; align-items: center; justify-content: center; font-weight: bold; color: #777; box-shadow: var(--shadow); }

.service-block .grid-2 { align-items: center; }
.service-block:nth-child(even) .img-col { order: 2; }
.service-block:nth-child(even) .text-col { order: 1; }

@media screen and (max-width: 992px) {
    .service-block .img-col, .service-block .text-col { order: unset !important; }
}

/* --- CONTACT PAGE STYLES --- */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; margin-top: 40px; }
.contact-info { background: var(--white); padding: 30px; border-radius: 8px; box-shadow: var(--shadow); }

.contact-form { background: var(--white); padding: 40px; border-radius: 8px; box-shadow: var(--shadow); }
.form-step { margin-bottom: 30px; padding-bottom: 20px; border-bottom: 1px solid var(--border-color); }
.form-step h4 { color: var(--secondary-color); margin-bottom: 15px; }
.form-group { margin-bottom: 20px; }
.form-group label { display: block; margin-bottom: 5px; font-weight: 600; }
.form-control { width: 100%; padding: 12px; border: 1px solid var(--border-color); border-radius: 4px; font-family: var(--font-main); transition: var(--transition); }
.form-control:focus { outline: none; border-color: var(--secondary-color); }

.trust-badges { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 30px; }
.badge { background: #eef2fa; color: var(--primary-color); padding: 8px 15px; border-radius: 20px; font-size: 0.85rem; font-weight: 600; border: 1px solid var(--primary-light); }

.map-container iframe { width: 100%; height: 450px; border: 0; border-radius: 8px; box-shadow: var(--shadow); }

@media (max-width: 768px) { .contact-grid { grid-template-columns: 1fr; } }
