/* ========== RESET & VARIABLES ========== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --primary-dark: #0b2b5c;
  --primary: #1c4e8c;
  --primary-light: #3a8cd0;
  --secondary: #7ab7ef;
  --accent: #ffd966;
  --text-dark: #1e2f4e;
  --text-light: #4a6b8f;
  --white: #ffffff;
  --gray-light: #f4f9ff;
  --shadow: 0 12px 28px -8px rgba(0, 55, 120, 0.15);
  --shadow-hover: 0 30px 40px -12px #1f5090;
  --gradient-1: linear-gradient(135deg, rgba(11,43,92,0.9) 0%, rgba(28,78,140,0.8) 100%);
}

body {
  font-family: 'Plus Jakarta Sans', 'Inter', sans-serif;
  color: var(--text-dark);
  line-height: 1.6;
  scroll-behavior: smooth;
  overflow-x: hidden;
}

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

@media (min-width: 640px) {
  .container {
    padding: 0 30px;
  }
}

@media (min-width: 1024px) {
  .container {
    padding: 0 40px;
  }
}

/* ========== PRELOADER ========== */
.preloader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--white);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.5s;
}

.loader {
  width: 40px;
  height: 40px;
  border: 3px solid var(--gray-light);
  border-top-color: var(--primary);
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

@media (min-width: 768px) {
  .loader {
    width: 50px;
    height: 50px;
  }
}

/* ========== FLOATING CONTACT PANEL ========== */
.float-panel {
  position: fixed;
  right: 15px;
  bottom: 15px;
  z-index: 999;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

@media (min-width: 768px) {
  .float-panel {
    right: 20px;
    bottom: 20px;
  }
}

.float-item {
  width: 45px;
  height: 45px;
  border-radius: 30px;
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  transition: all 0.3s ease;
  overflow: hidden;
  white-space: nowrap;
  box-shadow: 0 5px 15px rgba(0,0,0,0.3);
  font-size: 1.2rem;
}

@media (min-width: 768px) {
  .float-item {
    width: 50px;
    height: 50px;
    font-size: 1.3rem;
  }
}

.float-item span {
  display: none;
  margin-left: 5px;
  font-size: 0.9rem;
}

@media (min-width: 1024px) {
  .float-item:hover {
    width: auto;
    padding: 0 20px;
    transform: scale(1.1);
  }
  
  .float-item:hover span {
    display: inline;
  }
}

.float-item.whatsapp { background: linear-gradient(135deg, #25D366, #128C7E); }
.float-item.email { background: linear-gradient(135deg, var(--primary), var(--primary-light)); }
.float-item.phone { background: linear-gradient(135deg, #2c3e50, #1a2634); }
.float-item.map { background: linear-gradient(135deg, #e67e22, #d35400); }

/* ========== SITE HEADER ========== */
.site-header {
  position: fixed;
  width: 100%;
  top: 0;
  z-index: 100;
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(26, 80, 144, 0.1);
  padding: 8px 0;
}

@media (min-width: 768px) {
  .site-header {
    padding: 10px 0;
  }
}

.header-container {
  width: 100%;
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

@media (min-width: 640px) {
  .header-container {
    padding: 0 30px;
  }
}

@media (min-width: 1024px) {
  .header-container {
    padding: 0 40px;
  }
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}

@media (min-width: 768px) {
  .logo {
    gap: 16px;
  }
}

.logo-mark img {
  height: 50px;
  width: auto;
  border-radius: 8px;
  transition: transform 0.3s;
}

@media (min-width: 768px) {
  .logo-mark img {
    height: 70px;
  }
}

@media (min-width: 1024px) {
  .logo-mark img {
    height: 80px;
    border-radius: 12px;
  }
}

.logo:hover .logo-mark img {
  transform: scale(1.05);
}

.logo-text {
  display: flex;
  flex-direction: column;
}

.logo-main {
  font-weight: 800;
  font-size: 1.2rem;
  background: linear-gradient(135deg, var(--primary-dark), var(--primary));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  letter-spacing: -0.5px;
}

@media (min-width: 768px) {
  .logo-main {
    font-size: 1.4rem;
  }
}

@media (min-width: 1024px) {
  .logo-main {
    font-size: 1.6rem;
  }
}

.logo-sub {
  font-size: 0.65rem;
  font-weight: 500;
  color: var(--text-light);
  letter-spacing: 0.5px;
  margin-top: -2px;
}

@media (min-width: 768px) {
  .logo-sub {
    font-size: 0.7rem;
    letter-spacing: 1px;
    margin-top: -4px;
  }
}

@media (min-width: 1024px) {
  .logo-sub {
    font-size: 0.75rem;
  }
}

.mobile-toggle {
  display: block;
  background: none;
  border: none;
  cursor: pointer;
  width: 30px;
  height: 24px;
  position: relative;
  z-index: 200;
}

@media (min-width: 1024px) {
  .mobile-toggle {
    display: none;
  }
}

.mobile-toggle span {
  display: block;
  width: 100%;
  height: 3px;
  background: linear-gradient(90deg, var(--primary), var(--primary-light));
  margin: 5px 0;
  transition: 0.3s;
  border-radius: 3px;
}

.mobile-toggle.active span:nth-child(1) { 
  transform: rotate(45deg) translate(5px, 5px); 
}

.mobile-toggle.active span:nth-child(2) { 
  opacity: 0; 
}

.mobile-toggle.active span:nth-child(3) { 
  transform: rotate(-45deg) translate(7px, -8px); 
}

@media (min-width: 1024px) {
  .mobile-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -6px);
  }
}

.main-nav {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  width: 100%;
  background: white;
  padding: 20px;
  box-shadow: 0 20px 30px rgba(0,0,0,0.1);
  flex-direction: column;
  gap: 20px;
  max-height: 80vh;
  overflow-y: auto;
}

@media (min-width: 1024px) {
  .main-nav {
    display: flex;
    position: static;
    width: auto;
    background: transparent;
    padding: 0;
    box-shadow: none;
    flex-direction: row;
    align-items: center;
    gap: 40px;
    max-height: none;
    overflow: visible;
  }
}

.main-nav.active {
  display: flex;
}

.main-nav ul {
  display: flex;
  flex-direction: column;
  gap: 15px;
  list-style: none;
  width: 100%;
}

@media (min-width: 1024px) {
  .main-nav ul {
    flex-direction: row;
    gap: 30px;
    width: auto;
  }
}

.main-nav a {
  text-decoration: none;
  font-weight: 600;
  color: var(--text-dark);
  transition: 0.3s;
  font-size: 1rem;
  position: relative;
  padding: 8px 0;
  display: block;
  text-align: center;
}

@media (min-width: 1024px) {
  .main-nav a {
    display: inline-block;
  }
}

.main-nav a::before {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, var(--primary), var(--secondary));
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.3s;
}

@media (min-width: 1024px) {
  .main-nav a::before {
    width: 100%;
  }
}

.main-nav a:hover::before,
.main-nav a.active::before {
  transform: scaleX(1);
  transform-origin: left;
}

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

.nav-gps {
  background: var(--gray-light);
  padding: 10px 20px;
  border-radius: 30px;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--primary-dark);
  border: 1px solid rgba(58,140,208,0.2);
  cursor: pointer;
  transition: 0.3s;
  text-align: center;
  width: 100%;
}

@media (min-width: 1024px) {
  .nav-gps {
    width: auto;
    padding: 8px 20px;
  }
}

.nav-gps:hover {
  background: var(--primary);
  color: white;
}

.nav-gps i {
  margin-right: 6px;
  color: var(--accent);
}

/* ========== HERO SECTION ========== */
.hero-section {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 80px 0 40px;
  position: relative;
  overflow: hidden;
}

@media (min-width: 768px) {
  .hero-section {
    padding: 100px 0 50px;
  }
}

@media (min-width: 1024px) {
  .hero-section {
    padding: 120px 0 60px;
  }
}

.hero-background {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -2;
}

.hero-background img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.background-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(11,43,92,0.75) 0%, rgba(28,78,140,0.6) 100%);
  z-index: 1;
  pointer-events: none;
}

.hero-backdrop {
  display: none;
}

@media (min-width: 1024px) {
  .hero-backdrop {
    display: block;
    position: absolute;
    top: -50%;
    right: -10%;
    width: 80%;
    height: 200%;
    background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, transparent 70%);
    border-radius: 50%;
    z-index: -1;
    animation: float 20s infinite;
  }
}

.hero-split {
  display: grid;
  grid-template-columns: 1fr;
  gap: 30px;
  width: 100%;
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 20px;
  align-items: center;
  position: relative;
  z-index: 2;
}

@media (min-width: 1024px) {
  .hero-split {
    grid-template-columns: 1.2fr 0.8fr;
    gap: 60px;
    padding: 0 40px;
  }
}

.hero-left {
  animation: fadeInLeft 1s ease;
  color: white;
  text-align: center;
}

@media (min-width: 1024px) {
  .hero-left {
    text-align: left;
  }
}

.hero-tagline {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--accent);
  letter-spacing: 1px;
  margin-bottom: 15px;
  display: inline-block;
  background: rgba(255,255,255,0.1);
  padding: 6px 15px;
  border-radius: 40px;
  backdrop-filter: blur(10px);
}

@media (min-width: 768px) {
  .hero-tagline {
    font-size: 0.9rem;
    padding: 8px 20px;
    letter-spacing: 2px;
  }
}

.hero-title {
  font-size: 2.2rem;
  font-weight: 800;
  line-height: 1.2;
  color: white;
  margin-bottom: 20px;
  position: relative;
  text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

@media (min-width: 480px) {
  .hero-title {
    font-size: 2.5rem;
  }
}

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

@media (min-width: 1024px) {
  .hero-title {
    font-size: 3.5rem;
  }
}

@media (min-width: 1280px) {
  .hero-title {
    font-size: 4rem;
  }
}

.hero-title::before {
  display: none;
}

@media (min-width: 1024px) {
  .hero-title::before {
    display: block;
    content: '✦';
    position: absolute;
    top: -20px;
    left: -30px;
    font-size: 3rem;
    color: var(--accent);
    opacity: 0.5;
    animation: rotate 20s linear infinite;
  }
}

.hero-highlight {
  color: var(--accent);
  position: relative;
  display: inline-block;
}

.hero-highlight::after {
  content: '';
  position: absolute;
  bottom: 2px;
  left: 0;
  width: 100%;
  height: 4px;
  background: rgba(255,217,102,0.3);
  border-radius: 4px;
  z-index: -1;
}

@media (min-width: 768px) {
  .hero-highlight::after {
    bottom: 5px;
    height: 8px;
  }
}

.hero-desc {
  font-size: 1rem;
  color: rgba(255,255,255,0.9);
  max-width: 550px;
  margin: 0 auto 25px;
  line-height: 1.6;
  padding-left: 0;
  border-left: none;
}

@media (min-width: 768px) {
  .hero-desc {
    font-size: 1.1rem;
    line-height: 1.7;
  }
}

@media (min-width: 1024px) {
  .hero-desc {
    font-size: 1.2rem;
    margin-left: 0;
    padding-left: 20px;
    border-left: 4px solid var(--accent);
    line-height: 1.8;
  }
}

.hero-stats {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-bottom: 30px;
  align-items: center;
}

@media (min-width: 480px) {
  .hero-stats {
    flex-direction: row;
    justify-content: center;
    gap: 30px;
  }
}

@media (min-width: 1024px) {
  .hero-stats {
    justify-content: flex-start;
    gap: 40px;
  }
}

.stat-block {
  display: flex;
  flex-direction: column;
  position: relative;
  align-items: center;
}

@media (min-width: 1024px) {
  .stat-block {
    align-items: flex-start;
  }
}

.stat-block::after {
  display: none;
}

@media (min-width: 480px) {
  .stat-block::after {
    display: block;
    content: '';
    position: absolute;
    right: -15px;
    top: 20%;
    height: 60%;
    width: 1px;
    background: linear-gradient(to bottom, transparent, rgba(255,255,255,0.5), transparent);
  }
}

@media (min-width: 768px) {
  .stat-block::after {
    right: -20px;
  }
}

.stat-block:last-child::after { 
  display: none; 
}

.stat-num {
  font-size: 1.8rem;
  font-weight: 800;
  color: white;
  line-height: 1;
  text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

@media (min-width: 768px) {
  .stat-num {
    font-size: 2.2rem;
  }
}

@media (min-width: 1024px) {
  .stat-num {
    font-size: 2.5rem;
  }
}

.stat-label {
  color: rgba(255,255,255,0.8);
  font-weight: 500;
  font-size: 0.85rem;
}

@media (min-width: 768px) {
  .stat-label {
    font-size: 0.95rem;
  }
}

.hero-cta {
  display: flex;
  flex-direction: column;
  gap: 15px;
  align-items: center;
  flex-wrap: wrap;
}

@media (min-width: 480px) {
  .hero-cta {
    flex-direction: row;
    justify-content: center;
    gap: 20px;
  }
}

@media (min-width: 1024px) {
  .hero-cta {
    justify-content: flex-start;
  }
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: linear-gradient(135deg, var(--accent), #ffcd7e);
  color: var(--primary-dark);
  padding: 12px 24px;
  border-radius: 60px;
  font-weight: 700;
  font-size: 1rem;
  text-decoration: none;
  box-shadow: 0 16px 30px -8px rgba(0,0,0,0.3);
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  border: none;
  position: relative;
  overflow: hidden;
  z-index: 1;
  width: 100%;
}

@media (min-width: 480px) {
  .btn-primary {
    width: auto;
    padding: 14px 28px;
  }
}

@media (min-width: 768px) {
  .btn-primary {
    padding: 16px 32px;
    font-size: 1.1rem;
    gap: 12px;
  }
}

.btn-primary::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
  transition: left 0.5s;
  z-index: -1;
}

.btn-primary:hover::before { 
  left: 100%; 
}

.btn-primary:hover { 
  gap: 12px; 
  transform: translateY(-3px); 
}

@media (min-width: 768px) {
  .btn-primary:hover {
    gap: 18px;
  }
}

.btn-play {
  background: rgba(255,255,255,0.1);
  border: 2px solid rgba(255,255,255,0.3);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  color: white;
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  padding: 12px 24px;
  border-radius: 60px;
  transition: 0.3s;
  backdrop-filter: blur(10px);
  width: 100%;
}

@media (min-width: 480px) {
  .btn-play {
    width: auto;
    padding: 12px 24px;
  }
}

@media (min-width: 768px) {
  .btn-play {
    padding: 14px 28px;
    font-size: 1.1rem;
    gap: 8px;
  }
}

.btn-play i {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: rgba(255,255,255,0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: 0.3s;
}

@media (min-width: 768px) {
  .btn-play i {
    width: 40px;
    height: 40px;
  }
}

.btn-play:hover {
  background: rgba(255,255,255,0.2);
  border-color: var(--accent);
}

.btn-play:hover i {
  background: var(--accent);
  color: var(--primary-dark);
  transform: scale(1.1);
}

.hero-right { 
  animation: fadeInRight 1s ease; 
}

.hero-card {
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-radius: 30px;
  padding: 25px;
  box-shadow: 0 40px 60px -20px rgba(0,0,0,0.4);
  border: 1px solid rgba(255,255,255,0.3);
  transform: none;
  transition: transform 0.5s;
}

@media (min-width: 640px) {
  .hero-card {
    padding: 30px;
    border-radius: 35px;
  }
}

@media (min-width: 1024px) {
  .hero-card {
    padding: 40px;
    border-radius: 40px;
    transform: perspective(1000px) rotateY(-5deg);
  }
  
  .hero-card:hover { 
    transform: perspective(1000px) rotateY(0deg); 
  }
}

.gps-display, .email-display, .phone-display {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 0;
  border-bottom: 1px solid rgba(58,140,208,0.2);
  cursor: pointer;
  transition: 0.3s;
}

@media (min-width: 768px) {
  .gps-display, .email-display, .phone-display {
    gap: 15px;
    padding: 15px 0;
  }
}

.gps-display:hover, .email-display:hover, .phone-display:hover {
  transform: translateX(5px);
  background: rgba(58,140,208,0.05);
  padding: 12px 15px;
  border-radius: 12px;
}

@media (min-width: 768px) {
  .gps-display:hover, .email-display:hover, .phone-display:hover {
    transform: translateX(10px);
    padding: 15px 20px;
    border-radius: 15px;
  }
}

.gps-display i, .email-display i, .phone-display i {
  font-size: 1.5rem;
  color: var(--accent);
  width: 30px;
  text-align: center;
}

@media (min-width: 768px) {
  .gps-display i, .email-display i, .phone-display i {
    font-size: 1.8rem;
    width: 40px;
  }
}

.gps-display strong, .email-display strong, .phone-display strong {
  display: block;
  color: var(--primary-dark);
  font-size: 0.75rem;
  opacity: 0.8;
}

@media (min-width: 768px) {
  .gps-display strong, .email-display strong, .phone-display strong {
    font-size: 0.85rem;
  }
}

.gps-display span, .email-display span, .phone-display span {
  font-weight: 600;
  color: var(--primary);
  font-size: 0.85rem;
}

@media (min-width: 768px) {
  .gps-display span, .email-display span, .phone-display span {
    font-size: 0.95rem;
  }
}

.hero-map-btn {
  display: inline-block;
  margin-top: 20px;
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  color: white;
  padding: 12px 24px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 600;
  width: 100%;
  text-align: center;
  transition: 0.3s;
  border: 1px solid rgba(255,255,255,0.2);
  font-size: 0.95rem;
}

@media (min-width: 768px) {
  .hero-map-btn {
    padding: 15px 30px;
    font-size: 1rem;
    margin-top: 25px;
  }
}

.hero-map-btn i { 
  margin-right: 8px; 
}

.hero-map-btn:hover { 
  transform: translateY(-3px); 
  box-shadow: 0 20px 30px -10px var(--primary-dark); 
}

/* ========== SERVICES SECTION ========== */
.services-section {
  padding: 60px 0;
  background: linear-gradient(135deg, var(--white) 0%, var(--gray-light) 100%);
  position: relative;
  overflow: hidden;
}

@media (min-width: 768px) {
  .services-section {
    padding: 80px 0;
  }
}

@media (min-width: 1024px) {
  .services-section {
    padding: 120px 0;
  }
}

.services-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle at 0% 0%, rgba(58,140,208,0.03) 0%, transparent 50%);
}

.section-header {
  text-align: center;
  margin-bottom: 40px;
  position: relative;
  padding: 0 20px;
}

@media (min-width: 768px) {
  .section-header {
    margin-bottom: 50px;
  }
}

@media (min-width: 1024px) {
  .section-header {
    margin-bottom: 70px;
  }
}

.section-header::before {
  display: none;
}

@media (min-width: 768px) {
  .section-header::before {
    display: block;
    content: '✦';
    position: absolute;
    top: -20px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 2.5rem;
    color: var(--accent);
    opacity: 0.2;
    animation: spin 20s linear infinite;
  }
}

@media (min-width: 1024px) {
  .section-header::before {
    top: -30px;
    font-size: 3rem;
  }
}

.section-subtitle {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--primary);
  letter-spacing: 2px;
  text-transform: uppercase;
  display: block;
  margin-bottom: 10px;
}

@media (min-width: 768px) {
  .section-subtitle {
    font-size: 0.9rem;
    letter-spacing: 2.5px;
    margin-bottom: 12px;
  }
}

@media (min-width: 1024px) {
  .section-subtitle {
    font-size: 1rem;
    letter-spacing: 3px;
    margin-bottom: 15px;
  }
}

.section-title {
  font-size: 2rem;
  font-weight: 800;
  background: linear-gradient(145deg, var(--primary-dark), var(--primary));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  display: inline-block;
  position: relative;
  margin-bottom: 15px;
  letter-spacing: -0.5px;
  line-height: 1.2;
}

@media (min-width: 640px) {
  .section-title {
    font-size: 2.2rem;
  }
}

@media (min-width: 768px) {
  .section-title {
    font-size: 2.5rem;
    margin-bottom: 20px;
  }
}

@media (min-width: 1024px) {
  .section-title {
    font-size: 3rem;
  }
}

.section-title::after {
  content: '';
  display: block;
  width: 80px;
  height: 3px;
  background: linear-gradient(90deg, var(--primary), var(--accent), var(--secondary));
  border-radius: 3px;
  margin: 12px auto 0;
}

@media (min-width: 768px) {
  .section-title::after {
    width: 100px;
    height: 4px;
    margin: 15px auto 0;
  }
}

@media (min-width: 1024px) {
  .section-title::after {
    width: 120px;
    margin: 20px auto 0;
  }
}

.section-desc {
  color: var(--text-light);
  font-size: 1rem;
  max-width: 600px;
  margin: 0 auto;
  font-weight: 300;
  padding: 0 20px;
}

@media (min-width: 768px) {
  .section-desc {
    font-size: 1.1rem;
  }
}

@media (min-width: 1024px) {
  .section-desc {
    font-size: 1.2rem;
  }
}

.services-masonry {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
  margin: 30px 0;
  position: relative;
  z-index: 2;
  padding: 0 20px;
}

@media (min-width: 640px) {
  .services-masonry {
    grid-template-columns: repeat(2, 1fr);
    gap: 25px;
  }
}

@media (min-width: 1024px) {
  .services-masonry {
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin: 50px 0;
  }
}

@media (min-width: 1280px) {
  .services-masonry {
    grid-template-columns: repeat(4, 1fr);
    gap: 35px;
  }
}

.service-card-modern {
  background: var(--white);
  padding: 30px 20px;
  border-radius: 30px 30px 30px 15px;
  box-shadow: 0 20px 40px -15px rgba(10,70,120,0.15);
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  text-align: center;
  border: 1px solid rgba(255,255,255,0.8);
  position: relative;
  overflow: hidden;
  z-index: 1;
}

@media (min-width: 768px) {
  .service-card-modern {
    padding: 35px 25px;
    border-radius: 35px 35px 35px 18px;
  }
}

@media (min-width: 1024px) {
  .service-card-modern {
    padding: 45px 30px;
    border-radius: 40px 40px 40px 20px;
  }
}

.service-card-modern::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 3px;
  height: 0;
  background: linear-gradient(to bottom, var(--primary), var(--accent));
  transition: height 0.4s;
  z-index: -1;
}

@media (min-width: 768px) {
  .service-card-modern::before {
    width: 4px;
  }
}

@media (min-width: 1024px) {
  .service-card-modern::before {
    width: 5px;
  }
}

.service-card-modern:hover::before { 
  height: 100%; 
}

.service-card-modern:hover { 
  transform: translateY(-10px); 
  box-shadow: 0 40px 60px -20px var(--primary); 
}

@media (min-width: 1024px) {
  .service-card-modern:hover {
    transform: translateY(-15px);
  }
}

.service-icon i {
  font-size: 2.5rem;
  background: linear-gradient(135deg, var(--primary-dark), var(--primary-light));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 15px;
  display: inline-block;
  transition: transform 0.3s;
}

@media (min-width: 768px) {
  .service-icon i {
    font-size: 3rem;
    margin-bottom: 20px;
  }
}

@media (min-width: 1024px) {
  .service-icon i {
    font-size: 3.5rem;
    margin-bottom: 25px;
  }
}

.service-card-modern:hover .service-icon i { 
  transform: scale(1.1) rotate(3deg); 
}

@media (min-width: 1024px) {
  .service-card-modern:hover .service-icon i {
    transform: scale(1.1) rotate(5deg);
  }
}

.service-card-modern h3 {
  font-weight: 700;
  font-size: 1.2rem;
  color: var(--primary-dark);
  margin-bottom: 10px;
  position: relative;
  padding-bottom: 10px;
}

@media (min-width: 768px) {
  .service-card-modern h3 {
    font-size: 1.3rem;
    padding-bottom: 12px;
  }
}

@media (min-width: 1024px) {
  .service-card-modern h3 {
    font-size: 1.4rem;
    margin-bottom: 15px;
    padding-bottom: 15px;
  }
}

.service-card-modern h3::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 40px;
  height: 2px;
  background: linear-gradient(90deg, var(--primary), var(--accent));
  transition: width 0.3s;
}

@media (min-width: 768px) {
  .service-card-modern h3::after {
    width: 45px;
  }
}

@media (min-width: 1024px) {
  .service-card-modern h3::after {
    width: 50px;
  }
}

.service-card-modern:hover h3::after { 
  width: 60px; 
}

@media (min-width: 768px) {
  .service-card-modern:hover h3::after {
    width: 70px;
  }
}

@media (min-width: 1024px) {
  .service-card-modern:hover h3::after {
    width: 80px;
  }
}

.service-card-modern p {
  color: var(--text-light);
  line-height: 1.5;
  font-size: 0.9rem;
}

@media (min-width: 768px) {
  .service-card-modern p {
    font-size: 0.95rem;
    line-height: 1.6;
  }
}

@media (min-width: 1024px) {
  .service-card-modern p {
    font-size: 1rem;
    line-height: 1.6;
  }
}

.service-link {
  display: inline-block;
  margin-top: 15px;
  color: var(--primary);
  font-weight: 600;
  text-decoration: none;
  transition: 0.3s;
  font-size: 0.9rem;
}

@media (min-width: 768px) {
  .service-link {
    margin-top: 18px;
    font-size: 0.95rem;
  }
}

@media (min-width: 1024px) {
  .service-link {
    margin-top: 20px;
    font-size: 1rem;
  }
}

.service-link:hover {
  color: var(--accent);
  transform: translateX(3px);
}

@media (min-width: 768px) {
  .service-link:hover {
    transform: translateX(5px);
  }
}

/* ========== PORTFOLIO SECTION ========== */
.portfolio-section {
  padding: 60px 0;
  background: linear-gradient(135deg, var(--gray-light) 0%, var(--white) 100%);
  position: relative;
}

@media (min-width: 768px) {
  .portfolio-section {
    padding: 80px 0;
  }
}

@media (min-width: 1024px) {
  .portfolio-section {
    padding: 120px 0;
  }
}

.project-filters {
  display: flex;
  flex-direction: column;
  gap: 10px;
  justify-content: center;
  margin: 30px 0;
  flex-wrap: wrap;
  padding: 0 20px;
}

@media (min-width: 640px) {
  .project-filters {
    flex-direction: row;
    gap: 10px;
    margin: 35px 0;
  }
}

@media (min-width: 768px) {
  .project-filters {
    margin: 40px 0;
    gap: 10px;
  }
}

.filter-btn {
  padding: 10px 20px;
  border: 2px solid transparent;
  background: white;
  border-radius: 50px;
  cursor: pointer;
  transition: 0.3s;
  font-weight: 600;
  color: var(--text-dark);
  box-shadow: 0 5px 15px -8px var(--primary-dark);
  width: 100%;
  font-size: 0.9rem;
}

@media (min-width: 640px) {
  .filter-btn {
    width: auto;
    padding: 10px 22px;
  }
}

@media (min-width: 768px) {
  .filter-btn {
    padding: 12px 25px;
    font-size: 0.95rem;
  }
}

@media (min-width: 1024px) {
  .filter-btn {
    padding: 12px 28px;
    font-size: 1rem;
  }
}

.filter-btn.active {
  background: linear-gradient(135deg, var(--primary-dark), var(--primary));
  color: white;
  box-shadow: 0 10px 20px -8px var(--primary-dark);
}

.filter-btn:hover { 
  transform: translateY(-2px); 
  box-shadow: 0 15px 25px -10px var(--primary-dark); 
}

.projects-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
  margin-top: 30px;
  padding: 0 20px;
}

@media (min-width: 640px) {
  .projects-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 25px;
  }
}

@media (min-width: 1024px) {
  .projects-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 40px;
  }
}

@media (min-width: 1280px) {
  .projects-grid {
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 35px;
  }
}

.project-item {
  background: white;
  border-radius: 30px 30px 25px 25px;
  overflow: hidden;
  box-shadow: 0 25px 40px -20px rgba(0,0,0,0.2);
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  position: relative;
  border: 1px solid rgba(255,255,255,0.5);
  opacity: 1;
  transition: opacity 0.3s, transform 0.4s;
}

@media (min-width: 768px) {
  .project-item {
    border-radius: 35px 35px 28px 28px;
  }
}

@media (min-width: 1024px) {
  .project-item {
    border-radius: 40px 40px 30px 30px;
  }
}

.project-item:hover { 
  transform: translateY(-10px); 
  box-shadow: 0 40px 60px -20px var(--primary-dark); 
}

@media (min-width: 1024px) {
  .project-item:hover {
    transform: translateY(-20px);
  }
}

.project-img {
  height: 200px;
  position: relative;
  overflow: hidden;
}

@media (min-width: 640px) {
  .project-img {
    height: 220px;
  }
}

@media (min-width: 768px) {
  .project-img {
    height: 250px;
  }
}

@media (min-width: 1024px) {
  .project-img {
    height: 280px;
  }
}

.project-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s;
}

.project-item:hover .project-img img { 
  transform: scale(1.05); 
}

@media (min-width: 1024px) {
  .project-item:hover .project-img img {
    transform: scale(1.1);
  }
}

.project-img::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to bottom, transparent 50%, rgba(11,43,92,0.8));
  z-index: 1;
  opacity: 0;
  transition: opacity 0.3s;
}

.project-item:hover .project-img::before { 
  opacity: 1; 
}

.project-badge {
  position: absolute;
  top: 15px;
  right: 15px;
  background: var(--accent);
  color: var(--primary-dark);
  padding: 5px 15px;
  border-radius: 30px;
  font-size: 0.75rem;
  font-weight: 700;
  z-index: 2;
  box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

@media (min-width: 768px) {
  .project-badge {
    top: 20px;
    right: 20px;
    padding: 8px 20px;
    font-size: 0.85rem;
  }
}

.project-info {
  padding: 20px;
  position: relative;
  background: white;
}

@media (min-width: 768px) {
  .project-info {
    padding: 25px;
  }
}

@media (min-width: 1024px) {
  .project-info {
    padding: 30px;
  }
}

.project-info::before {
  content: '';
  position: absolute;
  top: -15px;
  left: 20px;
  width: 25px;
  height: 25px;
  background: white;
  transform: rotate(45deg);
  border-radius: 5px;
}

@media (min-width: 768px) {
  .project-info::before {
    top: -18px;
    left: 25px;
    width: 30px;
    height: 30px;
  }
}

@media (min-width: 1024px) {
  .project-info::before {
    top: -20px;
    left: 30px;
    width: 40px;
    height: 40px;
    border-radius: 8px;
  }
}

.project-info h3 {
  font-size: 1.3rem;
  color: var(--primary-dark);
  margin-bottom: 8px;
  font-weight: 700;
}

@media (min-width: 768px) {
  .project-info h3 {
    font-size: 1.4rem;
    margin-bottom: 10px;
  }
}

@media (min-width: 1024px) {
  .project-info h3 {
    font-size: 1.6rem;
    margin-bottom: 10px;
  }
}

.project-info p {
  color: var(--text-light);
  margin-bottom: 15px;
  line-height: 1.5;
  font-size: 0.9rem;
}

@media (min-width: 768px) {
  .project-info p {
    font-size: 0.95rem;
    margin-bottom: 18px;
  }
}

@media (min-width: 1024px) {
  .project-info p {
    font-size: 1rem;
    margin-bottom: 20px;
    line-height: 1.6;
  }
}

.project-location {
  display: inline-block;
  color: var(--primary);
  font-weight: 600;
  font-size: 0.85rem;
  padding: 5px 15px;
  background: rgba(58,140,208,0.1);
  border-radius: 50px;
  border-left: 2px solid var(--accent);
}

@media (min-width: 768px) {
  .project-location {
    font-size: 0.9rem;
    padding: 6px 18px;
    border-left: 3px solid var(--accent);
  }
}

@media (min-width: 1024px) {
  .project-location {
    font-size: 0.95rem;
    padding: 8px 20px;
  }
}

.project-location i {
  margin-right: 5px;
  color: var(--accent);
}

@media (min-width: 768px) {
  .project-location i {
    margin-right: 8px;
  }
}

.projects-more {
  text-align: center;
  margin-top: 30px;
  padding: 0 20px;
}

@media (min-width: 768px) {
  .projects-more {
    margin-top: 40px;
  }
}

@media (min-width: 1024px) {
  .projects-more {
    margin-top: 50px;
  }
}

.projects-more .btn-outline {
  border: 2px solid var(--primary-dark);
  padding: 12px 30px;
  border-radius: 50px;
  font-weight: 600;
  color: var(--primary-dark);
  text-decoration: none;
  transition: all 0.3s;
  background: transparent;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  cursor: pointer;
  width: 100%;
  font-size: 0.95rem;
}

@media (min-width: 480px) {
  .projects-more .btn-outline {
    width: auto;
    padding: 12px 35px;
  }
}

@media (min-width: 768px) {
  .projects-more .btn-outline {
    padding: 15px 40px;
    font-size: 1rem;
    gap: 10px;
  }
}

.projects-more .btn-outline:hover {
  background: var(--primary-dark);
  color: white;
  transform: translateY(-3px);
  box-shadow: 0 20px 30px -10px var(--primary-dark);
}

/* ========== TESTIMONIALS SECTION ========== */
.testimonials-section {
  padding: 60px 0;
  background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 100%);
  position: relative;
  overflow: hidden;
}

@media (min-width: 768px) {
  .testimonials-section {
    padding: 80px 0;
  }
}

@media (min-width: 1024px) {
  .testimonials-section {
    padding: 120px 0;
  }
}

.testimonials-section::before {
  display: none;
}

@media (min-width: 1024px) {
  .testimonials-section::before {
    display: block;
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 80%;
    height: 200%;
    background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, transparent 70%);
    border-radius: 50%;
    animation: float 20s infinite;
  }
}

.testimonials-section .section-subtitle { 
  color: rgba(255,255,255,0.8); 
}

.testimonials-section .section-title {
  background: white;
  -webkit-text-fill-color: white;
  background: none;
  color: white;
}

.testimonials-section .section-desc { 
  color: rgba(255,255,255,0.9); 
}

.testimonials-slider {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
  margin-top: 30px;
  position: relative;
  z-index: 2;
  padding: 0 20px;
}

@media (min-width: 640px) {
  .testimonials-slider {
    gap: 25px;
    margin-top: 40px;
  }
}

@media (min-width: 1024px) {
  .testimonials-slider {
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    margin-top: 50px;
  }
}

@media (min-width: 1280px) {
  .testimonials-slider {
    grid-template-columns: repeat(3, 1fr);
  }
}

.testimonial-card {
  background: rgba(255,255,255,0.1);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  padding: 25px;
  border-radius: 25px;
  box-shadow: 0 20px 30px -10px rgba(0,0,0,0.3);
  border: 1px solid rgba(255,255,255,0.2);
  transition: 0.3s;
  color: white;
}

@media (min-width: 768px) {
  .testimonial-card {
    padding: 30px;
    border-radius: 28px;
  }
}

@media (min-width: 1024px) {
  .testimonial-card {
    padding: 40px;
    border-radius: 30px;
  }
}

.testimonial-card:hover {
  transform: translateY(-5px);
  background: rgba(255,255,255,0.15);
  border-color: var(--accent);
}

@media (min-width: 1024px) {
  .testimonial-card:hover {
    transform: translateY(-10px);
  }
}

.testimonial-rating {
  color: gold;
  font-size: 1.2rem;
  margin-bottom: 15px;
}

@media (min-width: 768px) {
  .testimonial-rating {
    font-size: 1.3rem;
    margin-bottom: 18px;
  }
}

@media (min-width: 1024px) {
  .testimonial-rating {
    font-size: 1.5rem;
    margin-bottom: 20px;
  }
}

.testimonial-text {
  font-size: 0.95rem;
  line-height: 1.6;
  margin-bottom: 20px;
  font-style: italic;
}

@media (min-width: 768px) {
  .testimonial-text {
    font-size: 1rem;
    line-height: 1.7;
    margin-bottom: 22px;
  }
}

@media (min-width: 1024px) {
  .testimonial-text {
    font-size: 1.1rem;
    line-height: 1.7;
    margin-bottom: 25px;
  }
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 15px;
  padding-top: 15px;
  border-top: 1px solid rgba(255,255,255,0.2);
}

@media (min-width: 768px) {
  .testimonial-author {
    gap: 15px;
    margin-top: 18px;
    padding-top: 18px;
  }
}

@media (min-width: 1024px) {
  .testimonial-author {
    margin-top: 20px;
    padding-top: 20px;
  }
}

.author-avatar {
  width: 45px;
  height: 45px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-weight: 700;
  font-size: 1rem;
  box-shadow: 0 5px 15px rgba(0,0,0,0.3);
}

@media (min-width: 768px) {
  .author-avatar {
    width: 50px;
    height: 50px;
    font-size: 1.1rem;
  }
}

@media (min-width: 1024px) {
  .author-avatar {
    width: 55px;
    height: 55px;
    font-size: 1.2rem;
  }
}

.testimonial-author h4 {
  color: white;
  font-size: 1rem;
  margin-bottom: 4px;
}

@media (min-width: 768px) {
  .testimonial-author h4 {
    font-size: 1.05rem;
  }
}

@media (min-width: 1024px) {
  .testimonial-author h4 {
    font-size: 1.1rem;
  }
}

.testimonial-author span {
  color: rgba(255,255,255,0.7);
  font-size: 0.8rem;
}

@media (min-width: 768px) {
  .testimonial-author span {
    font-size: 0.85rem;
  }
}

@media (min-width: 1024px) {
  .testimonial-author span {
    font-size: 0.9rem;
  }
}

/* ========== CONTACT SECTION ========== */
.contact-section {
  position: relative;
  height: auto;
  min-height: 600px;
}

@media (min-width: 768px) {
  .contact-section {
    height: 600px;
  }
}

@media (min-width: 1024px) {
  .contact-section {
    height: 700px;
  }
}

.contact-map-container {
  position: relative;
  width: 100%;
  height: 100%;
  min-height: 400px;
}

@media (min-width: 768px) {
  .contact-map-container {
    min-height: 500px;
  }
}

@media (min-width: 1024px) {
  .contact-map-container {
    min-height: 600px;
  }
}

.contact-map-container iframe {
  width: 100%;
  height: 100%;
  min-height: 400px;
  filter: brightness(0.9);
  transition: filter 0.3s;
}

@media (min-width: 768px) {
  .contact-map-container iframe {
    min-height: 500px;
  }
}

@media (min-width: 1024px) {
  .contact-map-container iframe {
    min-height: 600px;
  }
}

.contact-map-container:hover iframe { 
  filter: brightness(1); 
}

.contact-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(11,43,92,0.7);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

@media (min-width: 1024px) {
  .contact-overlay {
    background: linear-gradient(90deg, rgba(11,43,92,0.8) 0%, transparent 100%);
    justify-content: flex-start;
    padding: 50px;
  }
}

.contact-card-modern {
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  padding: 30px;
  border-radius: 30px;
  width: 100%;
  max-width: 450px;
  box-shadow: 0 40px 60px -20px rgba(0,0,0,0.4);
  border: 1px solid rgba(255,255,255,0.3);
  animation: fadeInLeft 1s ease;
}

@media (min-width: 640px) {
  .contact-card-modern {
    padding: 40px;
    border-radius: 35px;
  }
}

@media (min-width: 1024px) {
  .contact-card-modern {
    padding: 50px;
    border-radius: 40px;
  }
}

.contact-card-modern h3 {
  color: var(--primary-dark);
  font-size: 1.5rem;
  margin-bottom: 20px;
  font-weight: 700;
}

@media (min-width: 768px) {
  .contact-card-modern h3 {
    font-size: 1.6rem;
    margin-bottom: 25px;
  }
}

@media (min-width: 1024px) {
  .contact-card-modern h3 {
    font-size: 1.8rem;
    margin-bottom: 30px;
  }
}

.contact-card-modern input,
.contact-card-modern select {
  width: 100%;
  padding: 12px 15px;
  margin-bottom: 12px;
  border: 2px solid var(--gray-light);
  border-radius: 12px;
  font-size: 0.95rem;
  transition: 0.3s;
  background: white;
}

@media (min-width: 768px) {
  .contact-card-modern input,
  .contact-card-modern select {
    padding: 14px 18px;
    margin-bottom: 15px;
    border-radius: 15px;
    font-size: 1rem;
  }
}

@media (min-width: 1024px) {
  .contact-card-modern input,
  .contact-card-modern select {
    padding: 16px 20px;
  }
}

.contact-card-modern input:focus,
.contact-card-modern select:focus {
  border-color: var(--primary);
  outline: none;
  box-shadow: 0 0 0 3px rgba(28,78,140,0.1);
}

.btn-block {
  width: 100%;
  justify-content: center;
  margin: 15px 0;
}

@media (min-width: 768px) {
  .btn-block {
    margin: 20px 0;
  }
}

.contact-direct {
  margin-top: 20px;
  padding-top: 15px;
  border-top: 2px dashed rgba(28,78,140,0.2);
}

@media (min-width: 768px) {
  .contact-direct {
    margin-top: 25px;
    padding-top: 18px;
  }
}

@media (min-width: 1024px) {
  .contact-direct {
    margin-top: 30px;
    padding-top: 20px;
  }
}

.contact-direct p {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--text-dark);
  margin-bottom: 10px;
  font-size: 0.9rem;
  flex-wrap: wrap;
}

@media (min-width: 768px) {
  .contact-direct p {
    gap: 12px;
    margin-bottom: 12px;
    font-size: 0.95rem;
  }
}

.contact-direct i {
  color: var(--primary);
  width: 20px;
  font-size: 1.1rem;
}

@media (min-width: 768px) {
  .contact-direct i {
    width: 25px;
    font-size: 1.2rem;
  }
}

.contact-direct strong {
  color: var(--primary-dark);
  margin-right: 3px;
}

@media (min-width: 768px) {
  .contact-direct strong {
    margin-right: 5px;
  }
}

/* ========== FOOTER ========== */
.site-footer {
  background: linear-gradient(135deg, #051020 0%, #0a1e34 100%);
  color: #b0c9e3;
  padding: 50px 0 20px;
  position: relative;
  overflow: hidden;
}

@media (min-width: 768px) {
  .site-footer {
    padding: 60px 0 25px;
  }
}

@media (min-width: 1024px) {
  .site-footer {
    padding: 80px 0 30px;
  }
}

.site-footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--primary-light), transparent);
}

.footer-main {
  display: grid;
  grid-template-columns: 1fr;
  gap: 30px;
  margin-bottom: 30px;
  position: relative;
  z-index: 2;
  padding: 0 20px;
}

@media (min-width: 640px) {
  .footer-main {
    grid-template-columns: repeat(2, 1fr);
    gap: 35px;
  }
}

@media (min-width: 1024px) {
  .footer-main {
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 40px;
    margin-bottom: 40px;
    padding: 0 40px;
  }
}

@media (min-width: 1280px) {
  .footer-main {
    gap: 50px;
    margin-bottom: 50px;
  }
}

.footer-brand { 
  max-width: 100%; 
}

@media (min-width: 640px) {
  .footer-brand {
    grid-column: span 2;
  }
}

@media (min-width: 1024px) {
  .footer-brand {
    grid-column: span 1;
    max-width: 300px;
  }
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 1.4rem;
  font-weight: 800;
  color: white;
  margin-bottom: 20px;
}

@media (min-width: 768px) {
  .footer-logo {
    font-size: 1.5rem;
    margin-bottom: 22px;
  }
}

@media (min-width: 1024px) {
  .footer-logo {
    font-size: 1.6rem;
    margin-bottom: 25px;
    gap: 15px;
  }
}

.footer-logo img { 
  filter: brightness(0) invert(1); 
  height: 50px;
  width: auto;
}

@media (min-width: 768px) {
  .footer-logo img {
    height: 60px;
  }
}

@media (min-width: 1024px) {
  .footer-logo img {
    height: 70px;
  }
}

.footer-brand p { 
  line-height: 1.6; 
  margin-bottom: 12px; 
  opacity: 0.8; 
  font-size: 0.9rem;
}

@media (min-width: 768px) {
  .footer-brand p {
    font-size: 0.95rem;
    line-height: 1.7;
    margin-bottom: 15px;
  }
}

@media (min-width: 1024px) {
  .footer-brand p {
    line-height: 1.8;
    margin-bottom: 15px;
  }
}

.footer-links h4 {
  color: white;
  margin-bottom: 15px;
  font-size: 1.2rem;
  position: relative;
  padding-bottom: 8px;
}

@media (min-width: 768px) {
  .footer-links h4 {
    font-size: 1.25rem;
    margin-bottom: 20px;
    padding-bottom: 10px;
  }
}

@media (min-width: 1024px) {
  .footer-links h4 {
    font-size: 1.3rem;
    margin-bottom: 25px;
    padding-bottom: 12px;
  }
}

.footer-links h4::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 30px;
  height: 2px;
  background: linear-gradient(90deg, var(--accent), var(--primary-light));
  border-radius: 2px;
}

@media (min-width: 768px) {
  .footer-links h4::after {
    width: 35px;
    height: 2.5px;
  }
}

@media (min-width: 1024px) {
  .footer-links h4::after {
    width: 40px;
    height: 3px;
  }
}

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

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

@media (min-width: 768px) {
  .footer-links li {
    margin-bottom: 12px;
  }
}

@media (min-width: 1024px) {
  .footer-links li {
    margin-bottom: 15px;
  }
}

.footer-links a {
  color: #b0c9e3;
  text-decoration: none;
  transition: all 0.3s;
  display: inline-block;
  position: relative;
  padding-left: 0;
  font-size: 0.9rem;
}

@media (min-width: 768px) {
  .footer-links a {
    font-size: 0.95rem;
  }
}

.footer-links a::before {
  content: '→';
  position: absolute;
  left: -20px;
  opacity: 0;
  transition: all 0.3s;
  color: var(--accent);
}

.footer-links a:hover {
  color: white;
  padding-left: 20px;
}

.footer-links a:hover::before {
  opacity: 1;
  left: 0;
}

.footer-social h4 {
  color: white;
  margin-bottom: 15px;
  font-size: 1.2rem;
  position: relative;
  padding-bottom: 8px;
}

@media (min-width: 768px) {
  .footer-social h4 {
    font-size: 1.25rem;
    margin-bottom: 20px;
    padding-bottom: 10px;
  }
}

@media (min-width: 1024px) {
  .footer-social h4 {
    font-size: 1.3rem;
    margin-bottom: 25px;
    padding-bottom: 12px;
  }
}

.footer-social h4::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 30px;
  height: 2px;
  background: linear-gradient(90deg, var(--accent), var(--primary-light));
  border-radius: 2px;
}

@media (min-width: 768px) {
  .footer-social h4::after {
    width: 35px;
    height: 2.5px;
  }
}

@media (min-width: 1024px) {
  .footer-social h4::after {
    width: 40px;
    height: 3px;
  }
}

.social-icons {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

@media (min-width: 768px) {
  .social-icons {
    gap: 12px;
  }
}

@media (min-width: 1024px) {
  .social-icons {
    gap: 15px;
  }
}

.social-icons a {
  width: 40px;
  height: 40px;
  background: rgba(255,255,255,0.05);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  text-decoration: none;
  transition: all 0.3s;
  border: 1px solid rgba(255,255,255,0.1);
  font-size: 1rem;
}

@media (min-width: 768px) {
  .social-icons a {
    width: 42px;
    height: 42px;
    border-radius: 14px;
    font-size: 1.1rem;
  }
}

@media (min-width: 1024px) {
  .social-icons a {
    width: 45px;
    height: 45px;
    border-radius: 15px;
    font-size: 1.2rem;
  }
}

.social-icons a:hover {
  background: var(--primary);
  transform: translateY(-3px) rotate(3deg);
  border-color: var(--accent);
  box-shadow: 0 10px 20px -5px var(--primary);
}

@media (min-width: 1024px) {
  .social-icons a:hover {
    transform: translateY(-5px) rotate(5deg);
  }
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 20px;
  text-align: center;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 15px;
  padding-left: 20px;
  padding-right: 20px;
}

@media (min-width: 640px) {
  .footer-bottom {
    flex-direction: row;
    justify-content: space-between;
    padding-top: 25px;
  }
}

@media (min-width: 768px) {
  .footer-bottom {
    padding-top: 30px;
    gap: 20px;
  }
}

.footer-bottom p {
  font-size: 0.85rem;
  order: 2;
}

@media (min-width: 640px) {
  .footer-bottom p {
    order: 1;
    font-size: 0.9rem;
  }
}

@media (min-width: 768px) {
  .footer-bottom p {
    font-size: 0.95rem;
  }
}

.footer-gps {
  background: rgba(255,255,255,0.05);
  padding: 8px 20px;
  border-radius: 50px;
  font-size: 0.85rem;
  border: 1px solid rgba(255,255,255,0.1);
  cursor: pointer;
  transition: 0.3s;
  order: 1;
}

@media (min-width: 640px) {
  .footer-gps {
    order: 2;
    font-size: 0.9rem;
    padding: 8px 22px;
  }
}

@media (min-width: 768px) {
  .footer-gps {
    padding: 10px 25px;
    font-size: 0.95rem;
  }
}

.footer-gps:hover {
  background: var(--primary);
  color: white;
  border-color: var(--accent);
}

.footer-gps i {
  color: var(--accent);
  margin-right: 6px;
  animation: pulse 2s infinite;
}

@media (min-width: 768px) {
  .footer-gps i {
    margin-right: 8px;
  }
}

/* ========== ANIMATIONS ========== */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes fadeInLeft {
  from { opacity: 0; transform: translateX(-50px); }
  to { opacity: 1; transform: translateX(0); }
}

@keyframes fadeInRight {
  from { opacity: 0; transform: translateX(50px); }
  to { opacity: 1; transform: translateX(0); }
}

@keyframes pulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.1); }
}

@keyframes float {
  0%, 100% { transform: translate(0, 0) rotate(0deg); }
  33% { transform: translate(2%, 2%) rotate(1deg); }
  66% { transform: translate(-2%, -1%) rotate(-1deg); }
}

@keyframes spin {
  from { transform: translateX(-50%) rotate(0deg); }
  to { transform: translateX(-50%) rotate(360deg); }
}

@keyframes rotate {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

/* ========== IMAGE STYLES ========== */
img {
  max-width: 100%;
  height: auto;
  display: block;
}

.hero-background img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.project-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.logo-mark img {
  max-height: 100px;
  width: auto;
}

.footer-logo img {
  max-height: 80px;
  width: auto;
  filter: brightness(0) invert(1);
}

/* ========== UTILITY CLASSES ========== */
.text-center {
  text-align: center;
}

.w-100 {
  width: 100%;
}

.d-none {
  display: none;
}

.d-block {
  display: block;
}

@media (min-width: 640px) {
  .d-sm-block {
    display: block;
  }
  
  .d-sm-none {
    display: none;
  }
}

@media (min-width: 768px) {
  .d-md-block {
    display: block;
  }
  
  .d-md-none {
    display: none;
  }
}

@media (min-width: 1024px) {
  .d-lg-block {
    display: block;
  }
  
  .d-lg-none {
    display: none;
  }
}