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

:root {
  /* Colors */
  --color-primary: #0A1D37;      /* Deep Navy Blue */
  --color-primary-rgb: 10, 29, 55;
  --color-secondary: #00AEEF;    /* Electric Cyan/Light Blue */
  --color-secondary-rgb: 0, 174, 239;
  --color-secondary-hover: #0093cb;
  --color-accent: #00E5FF;       /* Bright Cyan for highlights */
  
  --color-text-dark: #1E293B;    /* Slate 800 */
  --color-text-muted: #64748B;   /* Slate 500 */
  --color-text-light: #F8FAFC;   /* Slate 50 */
  
  --color-bg-white: #FFFFFF;
  --color-bg-light: #F8FAFC;     /* Slate 50 */
  --color-bg-alt: #F1F5F9;       /* Slate 100 */
  
  /* Fonts */
  --font-heading: 'Outfit', sans-serif;
  --font-body: 'Inter', sans-serif;
  
  /* Shadows */
  --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
  --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
  --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
  --shadow-premium: 0 20px 40px -15px rgba(10, 29, 55, 0.15);
  --shadow-cyan: 0 10px 20px -10px rgba(0, 174, 239, 0.4);
  
  /* Transitions */
  --transition-fast: 0.2s ease;
  --transition-normal: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: 0.6s cubic-bezier(0.4, 0, 0.2, 1);
  
  /* Border Radius */
  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-full: 9999px;
  
  /* Layout */
  --max-width: 1280px;
  --header-height: 80px;
}

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  width: 100%;
  max-width: 100%;
  overflow-x: hidden;
}

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

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

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

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

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

button {
  cursor: pointer;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 10px;
}
::-webkit-scrollbar-track {
  background: var(--color-bg-light);
}
::-webkit-scrollbar-thumb {
  background: #CBD5E1;
  border-radius: var(--radius-full);
  border: 2px solid var(--color-bg-light);
}
::-webkit-scrollbar-thumb:hover {
  background: var(--color-text-muted);
}

/* ==========================================================================
   REUSABLE UTILITIES & COMPONENTS
   ========================================================================== */
.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

.section {
  padding: 100px 0;
  overflow: hidden;
}

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

.section-bg-dark {
  background-color: var(--color-primary);
  color: var(--color-text-light);
}

.section-bg-dark h2 {
  color: var(--color-bg-white);
}

.section-title-wrapper {
  text-align: center;
  margin-bottom: 60px;
}

.section-subtitle {
  font-family: var(--font-heading);
  font-weight: 600;
  text-transform: uppercase;
  font-size: 14px;
  letter-spacing: 2px;
  color: var(--color-secondary);
  margin-bottom: 12px;
  display: inline-block;
}

.section-title {
  font-size: 36px;
  font-weight: 800;
  position: relative;
  display: inline-block;
  padding-bottom: 16px;
}

.section-title::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 4px;
  background-color: var(--color-secondary);
  border-radius: var(--radius-full);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 28px;
  border-radius: var(--radius-full);
  font-weight: 600;
  transition: all var(--transition-normal);
  gap: 8px;
}

.btn-primary {
  background-color: var(--color-secondary);
  color: white;
  box-shadow: var(--shadow-cyan);
}

.btn-primary:hover {
  background-color: var(--color-secondary-hover);
  transform: translateY(-2px);
  box-shadow: 0 12px 24px -8px rgba(0, 174, 239, 0.6);
}

.btn-secondary {
  background-color: transparent;
  color: var(--color-primary);
  border: 2px solid var(--color-primary);
}

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

.btn-light {
  background-color: var(--color-bg-white);
  color: var(--color-primary);
  box-shadow: var(--shadow-md);
}

.btn-light:hover {
  background-color: var(--color-bg-light);
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

/* Glassmorphism Panel */
.glass-panel {
  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.3);
  box-shadow: var(--shadow-premium);
}

/* ==========================================================================
   HEADER & NAVIGATION
   ========================================================================== */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: var(--header-height);
  z-index: 1000;
  transition: all var(--transition-normal);
  display: flex;
  align-items: center;
}

.header.scrolled {
  height: 70px;
  background: rgba(10, 29, 55, 0.95);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow: var(--shadow-md);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.header.scrolled .nav-link {
  color: var(--color-bg-light);
}

.header.scrolled .nav-logo-text {
  color: var(--color-bg-white);
}

.header.scrolled .logo img {
  height: 45px;
}

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

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
}

.logo img {
  height: 55px;
  width: auto;
  border-radius: 50%;
  transition: all var(--transition-normal);
}

.nav-logo-text {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 22px;
  letter-spacing: 1px;
  color: var(--color-primary);
  display: flex;
  flex-direction: column;
  line-height: 1.1;
  transition: all var(--transition-normal);
}

.nav-logo-text span {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--color-secondary);
}

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

.nav-link {
  font-weight: 500;
  color: var(--color-primary);
  position: relative;
  font-size: 15px;
  padding: 8px 0;
}

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

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

.nav-cta {
  display: inline-block;
}

/* Mobile Toggle */
.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 30px;
  height: 21px;
  cursor: pointer;
  z-index: 1001;
}

.nav-toggle span {
  display: block;
  height: 3px;
  width: 100%;
  background-color: var(--color-primary);
  border-radius: var(--radius-full);
  transition: all var(--transition-normal);
}

.header.scrolled .nav-toggle span {
  background-color: var(--color-bg-white);
}

/* ==========================================================================
   HERO SECTION
   ========================================================================== */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: calc(var(--header-height) + 40px);
  position: relative;
  overflow: hidden;
  background: radial-gradient(circle at 80% 20%, rgba(0, 174, 239, 0.1) 0%, rgba(255, 255, 255, 0) 50%),
              radial-gradient(circle at 10% 80%, rgba(10, 29, 55, 0.05) 0%, rgba(255, 255, 255, 0) 60%),
              var(--color-bg-light);
}

.hero::after {
  content: '';
  position: absolute;
  top: -10%;
  right: -5%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(0, 174, 239, 0.08) 0%, transparent 70%);
  border-radius: 50%;
  z-index: 0;
}

.hero .container {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 60px;
  align-items: center;
  position: relative;
  z-index: 2;
}

.hero-content {
  max-width: 640px;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  background-color: rgba(0, 174, 239, 0.1);
  color: var(--color-secondary);
  border-radius: var(--radius-full);
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 24px;
  border: 1px solid rgba(0, 174, 239, 0.2);
}

.badge svg {
  animation: pulse 2s infinite;
}

.hero-title {
  font-size: 54px;
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 24px;
}

.hero-title span {
  color: var(--color-secondary);
  position: relative;
}

.hero-description {
  font-size: 18px;
  color: var(--color-text-muted);
  margin-bottom: 40px;
  max-width: 540px;
}

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

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

/* Geometric premium frame */
.hero-image-wrapper {
  position: relative;
  width: 100%;
  max-width: 450px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-premium);
  aspect-ratio: 1;
  background-color: var(--color-primary);
  display: flex;
  justify-content: center;
  align-items: center;
  border: 8px solid var(--color-bg-white);
}

.hero-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.9;
  transition: transform var(--transition-slow);
}

.hero-image-wrapper:hover .hero-img {
  transform: scale(1.05);
}

.hero-floating-card {
  position: absolute;
  bottom: 20px;
  left: -30px;
  padding: 16px 24px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  gap: 16px;
  box-shadow: var(--shadow-premium);
  animation: float 4s ease-in-out infinite;
}

.floating-icon-box {
  width: 48px;
  height: 48px;
  background-color: var(--color-secondary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
}

.floating-card-info h4 {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 2px;
}

.floating-card-info p {
  font-size: 12px;
  color: var(--color-text-muted);
  font-weight: 500;
}

/* ==========================================================================
   PILARES / SERVICIOS
   ========================================================================== */
.pilares-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 30px;
}

.pilar-card {
  background-color: var(--color-bg-white);
  border-radius: var(--radius-md);
  padding: 40px 30px;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--color-bg-alt);
  transition: all var(--transition-normal);
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.pilar-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background-color: var(--color-secondary);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--transition-normal);
}

.pilar-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-premium);
  border-color: rgba(0, 174, 239, 0.2);
}

.pilar-card:hover::before {
  transform: scaleX(1);
}

.pilar-icon-wrapper {
  width: 64px;
  height: 64px;
  background-color: rgba(0, 174, 239, 0.08);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-secondary);
  margin-bottom: 28px;
  transition: all var(--transition-normal);
}

.pilar-card:hover .pilar-icon-wrapper {
  background-color: var(--color-secondary);
  color: white;
  transform: scale(1.05);
  box-shadow: var(--shadow-cyan);
}

.pilar-card h3 {
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 16px;
}

.pilar-card p {
  color: var(--color-text-muted);
  font-size: 15px;
  line-height: 1.6;
}

/* ==========================================================================
   SOBRE NOSOTROS
   ========================================================================== */
.about-wrapper {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.about-visual {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.about-img-box {
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  background-color: var(--color-primary);
}

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

.about-img-box:hover img {
  transform: scale(1.05);
}

.about-img-box.tall {
  grid-row: span 2;
  aspect-ratio: 0.75;
}

.about-img-box.wide {
  aspect-ratio: 1.33;
}

.about-experience {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background-color: var(--color-secondary);
  color: white;
  width: 130px;
  height: 130px;
  border-radius: 50%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  box-shadow: 0 10px 30px rgba(0, 174, 239, 0.4);
  border: 6px solid var(--color-bg-white);
  z-index: 5;
}

.about-experience .years {
  font-size: 32px;
  font-weight: 800;
  font-family: var(--font-heading);
  line-height: 1;
}

.about-experience .label {
  font-size: 10px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.about-content h2 {
  font-size: 40px;
  font-weight: 800;
  margin-bottom: 24px;
}

.about-content p {
  color: var(--color-text-muted);
  margin-bottom: 24px;
}

.about-features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-bottom: 40px;
}

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

.about-feature-icon {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background-color: rgba(0, 174, 239, 0.1);
  color: var(--color-secondary);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.about-feature-item span {
  font-weight: 600;
  font-size: 15px;
  color: var(--color-primary);
}

/* ==========================================================================
   TESTIMONIOS
   ========================================================================== */
.testimonials-slider-wrapper {
  max-width: 800px;
  margin: 0 auto;
  position: relative;
  padding: 0 40px;
}

.testimonials-slider {
  overflow: hidden;
}

.testimonials-track {
  display: flex;
  transition: transform var(--transition-normal);
}

.testimonial-card {
  min-width: 100%;
  padding: 40px;
  border-radius: var(--radius-lg);
  text-align: center;
  box-shadow: var(--shadow-sm);
  background-color: var(--color-bg-white);
  border: 1px solid var(--color-bg-alt);
}

.testimonial-quote-icon {
  color: rgba(0, 174, 239, 0.2);
  margin-bottom: 24px;
  display: inline-block;
}

.testimonial-text {
  font-size: 18px;
  font-style: italic;
  color: var(--color-text-dark);
  margin-bottom: 28px;
  line-height: 1.7;
}

.testimonial-author {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}

.testimonial-author h4 {
  font-size: 16px;
  font-weight: 700;
  color: var(--color-primary);
}

.testimonial-author p {
  font-size: 13px;
  color: var(--color-secondary);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.slider-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background-color: var(--color-bg-white);
  box-shadow: var(--shadow-md);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-primary);
  transition: all var(--transition-fast);
  z-index: 10;
  border: 1px solid var(--color-bg-alt);
}

.slider-btn:hover {
  background-color: var(--color-primary);
  color: white;
  box-shadow: var(--shadow-lg);
}

.slider-btn-prev {
  left: -20px;
}

.slider-btn-next {
  right: -20px;
}

.slider-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 30px;
}

.slider-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background-color: #CBD5E1;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.slider-dot.active {
  background-color: var(--color-secondary);
  width: 24px;
  border-radius: var(--radius-full);
}

/* ==========================================================================
   CONTACTO Y UBICACIÓN
   ========================================================================== */
.contact-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 60px;
  align-items: stretch;
}

.contact-info-panel {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 100%;
}

.contact-cards-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}

.contact-info-card {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  padding: 24px;
  background-color: var(--color-bg-light);
  border-radius: var(--radius-md);
  border: 1px solid var(--color-bg-alt);
  transition: all var(--transition-fast);
}

.contact-info-card:hover {
  border-color: rgba(0, 174, 239, 0.2);
  transform: translateY(-2px);
  background-color: var(--color-bg-white);
  box-shadow: var(--shadow-sm);
}

.contact-icon-box {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background-color: rgba(0, 174, 239, 0.1);
  color: var(--color-secondary);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.contact-card-content h3 {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 8px;
}

.contact-card-content p {
  color: var(--color-text-muted);
  font-size: 15px;
  white-space: pre-line;
}

.contact-card-content a:hover {
  color: var(--color-secondary);
}

/* Simulated Map Frame */
.map-container {
  height: 250px;
  border-radius: var(--radius-md);
  overflow: hidden;
  position: relative;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--color-bg-alt);
  margin-top: 24px;
}

.map-container iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

.contact-form-panel {
  background-color: var(--color-bg-white);
  padding: 40px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-premium);
  border: 1px solid var(--color-bg-alt);
}

.contact-form-panel h3 {
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 8px;
}

.contact-form-panel p {
  color: var(--color-text-muted);
  font-size: 15px;
  margin-bottom: 30px;
}

.form-group {
  margin-bottom: 20px;
}

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

.form-label {
  display: block;
  font-weight: 600;
  font-size: 14px;
  color: var(--color-primary);
  margin-bottom: 8px;
}

.form-control {
  width: 100%;
  padding: 14px 20px;
  border: 1px solid #E2E8F0;
  border-radius: var(--radius-sm);
  background-color: var(--color-bg-light);
  color: var(--color-text-dark);
  font-size: 15px;
  transition: all var(--transition-fast);
}

.form-control:focus {
  background-color: var(--color-bg-white);
  border-color: var(--color-secondary);
  box-shadow: 0 0 0 3px rgba(0, 174, 239, 0.15);
}

textarea.form-control {
  min-height: 120px;
  resize: vertical;
}

.form-status {
  padding: 12px;
  border-radius: var(--radius-sm);
  margin-bottom: 20px;
  font-size: 14px;
  font-weight: 500;
  display: none;
}

.form-status.success {
  display: block;
  background-color: #DCFCE7;
  color: #166534;
  border: 1px solid #BBF7D0;
}

.form-status.error {
  display: block;
  background-color: #FEE2E2;
  color: #991B1B;
  border: 1px solid #FCA5A5;
}

/* ==========================================================================
   FOOTER
   ========================================================================== */
.footer {
  background-color: var(--color-primary);
  color: var(--color-text-light);
  padding: 80px 0 30px;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

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

.footer-brand {
  max-width: 320px;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 24px;
}

.footer-logo img {
  height: 50px;
  border-radius: 50%;
}

.footer-brand-title {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 22px;
  color: white;
  line-height: 1.1;
}

.footer-brand-title span {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--color-secondary);
}

.footer-brand p {
  color: #94A3B8;
  font-size: 15px;
  margin-bottom: 28px;
}

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

.social-link {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.05);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition-fast);
}

.social-link:hover {
  background-color: var(--color-secondary);
  color: white;
  transform: translateY(-3px);
  box-shadow: var(--shadow-cyan);
}

.footer-links-title {
  font-size: 18px;
  font-weight: 700;
  color: white;
  margin-bottom: 24px;
  position: relative;
  padding-bottom: 8px;
}

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

.footer-links-list {
  list-style: none;
}

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

.footer-links-list a {
  color: #94A3B8;
  font-size: 15px;
}

.footer-links-list a:hover {
  color: var(--color-secondary);
  padding-left: 6px;
}

.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 16px;
  color: #94A3B8;
  font-size: 15px;
}

.footer-contact-item svg {
  color: var(--color-secondary);
  flex-shrink: 0;
  margin-top: 4px;
}

.footer-bottom {
  padding-top: 30px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
  color: #64748B;
  font-size: 14px;
}

.footer-bottom-links {
  display: flex;
  gap: 24px;
}

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

/* ==========================================================================
   ANIMATIONS
   ========================================================================== */
@keyframes pulse {
  0% {
    transform: scale(1);
    box-shadow: 0 0 0 0 rgba(0, 174, 239, 0.4);
  }
  70% {
    transform: scale(1.05);
    box-shadow: 0 0 0 10px rgba(0, 174, 239, 0);
  }
  100% {
    transform: scale(1);
    box-shadow: 0 0 0 0 rgba(0, 174, 239, 0);
  }
}

@keyframes float {
  0% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-10px);
  }
  100% {
    transform: translateY(0px);
  }
}

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

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

.reveal-left {
  opacity: 0;
  transform: translateX(-40px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.reveal-left.active {
  opacity: 1;
  transform: translateX(0);
}

.reveal-right {
  opacity: 0;
  transform: translateX(40px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.reveal-right.active {
  opacity: 1;
  transform: translateX(0);
}

/* ==========================================================================
   RESPONSIVE DESIGN (MEDIA QUERIES)
   ========================================================================== */
@media (max-width: 1024px) {
  .hero-title {
    font-size: 44px;
  }
  
  .about-wrapper {
    gap: 40px;
  }
  
  .about-content h2 {
    font-size: 32px;
  }
}

@media (max-width: 768px) {
  :root {
    --header-height: 70px;
  }
  
  .header {
    background: rgba(10, 29, 55, 0.98) !important; /* Solid dark background on mobile from start */
    box-shadow: var(--shadow-md);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  }
  
  .header .nav-link {
    color: var(--color-bg-light) !important;
  }
  
  .header .nav-logo-text {
    color: var(--color-bg-white) !important;
  }

  .logo img {
    height: 45px !important; /* Smaller logo image on mobile */
  }
  
  .nav-logo-text {
    font-size: 18px !important; /* Smaller text size to fit screen width */
    white-space: nowrap; /* Prevent wrapping */
  }
  
  .nav-logo-text span {
    font-size: 9px !important;
    letter-spacing: 1px !important;
  }

  .section {
    padding: 70px 0;
  }
  
  /* Navigation */
  .nav-toggle {
    display: flex;
  }
  
  .nav-toggle span {
    background-color: var(--color-bg-white) !important; /* Toggle button always white */
  }
  
  .nav-menu {
    position: fixed;
    top: var(--header-height);
    left: -100%;
    width: 100%;
    height: calc(100vh - var(--header-height));
    background-color: var(--color-primary);
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    padding-top: 60px;
    gap: 40px;
    transition: left 0.4s ease, visibility 0.4s ease;
    z-index: 999;
    visibility: hidden;
  }
  
  .nav-menu.open {
    left: 0;
    visibility: visible;
  }
  
  .nav-link {
    color: var(--color-bg-light);
    font-size: 20px;
  }
  
  .nav-cta {
    display: none; /* Hide top CTA on mobile */
  }
  
  /* Hero */
  .hero {
    padding-top: calc(var(--header-height) + 20px);
    text-align: center;
  }
  
  .hero .container {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  
  .hero-content {
    max-width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
  }
  
  .hero-description {
    margin: 0 auto 30px;
  }
  
  .hero-btns {
    justify-content: center;
  }
  
  .hero-visual {
    order: -1; /* Image first on mobile */
  }
  
  .hero-floating-card {
    left: 0;
    right: 0;
    margin: 0 auto;
    width: fit-content;
  }
  
  /* About */
  .about-wrapper {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  
  .about-visual {
    max-width: 500px;
    margin: 0 auto;
  }
  
  /* Contact */
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  
  .form-row {
    grid-template-columns: 1fr;
    gap: 0;
  }
  
  /* Footer */
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  
  /* Testimonial slider overflow fix */
  .testimonials-slider-wrapper {
    padding: 0 10px;
  }
  
  .testimonials-slider-wrapper .slider-btn {
    display: none;
  }
}

@media (max-width: 480px) {
  .hero-title {
    font-size: 34px;
  }
  
  .hero-btns .btn {
    width: 100%;
  }
  
  .pilar-card {
    padding: 30px 20px;
  }
  
  .testimonial-card {
    padding: 24px 16px;
  }
  
  .contact-form-panel {
    padding: 30px 20px;
  }
  
  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }
}

/* ==========================================================================
   FLOATING WHATSAPP BUTTON
   ========================================================================== */
.whatsapp-float {
  position: fixed;
  width: 60px;
  height: 60px;
  bottom: 30px;
  right: 30px;
  background-color: #25D366;
  color: #FFF;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3), 0 0 0 0 rgba(37, 211, 102, 0.5);
  z-index: 999;
  transition: all var(--transition-normal);
  animation: whatsapp-pulse 2s infinite;
}

.whatsapp-float:hover {
  background-color: #128C7E;
  transform: scale(1.1) translateY(-3px);
  box-shadow: 0 8px 15px rgba(0, 0, 0, 0.4);
  color: #FFF;
}

@keyframes whatsapp-pulse {
  0% {
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3), 0 0 0 0 rgba(37, 211, 102, 0.5);
  }
  70% {
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3), 0 0 0 15px rgba(37, 211, 102, 0);
  }
  100% {
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3), 0 0 0 0 rgba(37, 211, 102, 0);
  }
}

@media (max-width: 768px) {
  .whatsapp-float {
    width: 50px;
    height: 50px;
    bottom: 20px;
    right: 20px;
  }
}
