/* Global Styles & CSS Variables */
:root {
  /* Primary Colors - Intercomix Blue */
  --primary-color: #004b9b;
  --primary-dark: #003870;
  --primary-light: #0066cc;
  --accent-color: #00a3e0;

  /* Gradients */
  --gradient-primary: linear-gradient(135deg, #004b9b 0%, #0066cc 100%);
  --gradient-hero: linear-gradient(
    135deg,
    #004b9b 0%,
    #0066cc 50%,
    #00a3e0 100%
  );
  --gradient-card: linear-gradient(
    135deg,
    rgba(0, 75, 155, 0.1) 0%,
    rgba(0, 102, 204, 0.1) 100%
  );
  --gradient-overlay: linear-gradient(
    135deg,
    rgba(0, 75, 155, 0.95) 0%,
    rgba(0, 56, 112, 0.95) 100%
  );

  /* Neutral Colors */
  --dark: #0f172a;
  --dark-light: #1e293b;
  --text-primary: #334155;
  --text-secondary: #64748b;
  --light-bg: #f8fafc;
  --white: #ffffff;

  /* Effects */
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.04);
  --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.08);
  --shadow-lg: 0 10px 40px rgba(0, 0, 0, 0.12);
  --shadow-xl: 0 20px 60px rgba(0, 0, 0, 0.15);
  --shadow-glow: 0 0 30px rgba(0, 75, 155, 0.3);

  /* Transitions */
  --transition-fast: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-base: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

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

body {
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
  line-height: 1.7;
  color: var(--text-primary);
  background-color: var(--white);
  scroll-behavior: smooth;
  overflow-x: hidden;
}

a {
  text-decoration: none;
  color: inherit;
}

ul {
  list-style: none;
}

.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
}

.section-title {
  font-size: 3rem;
  font-weight: 800;
  color: var(--dark);
  text-align: center;
  margin-bottom: 4rem;
  position: relative;
  letter-spacing: -0.02em;
}

.section-title::after {
  content: "";
  position: absolute;
  bottom: -16px;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background: var(--gradient-primary);
  border-radius: 2px;
}

.btn-primary {
  display: inline-block;
  background: var(--gradient-primary);
  color: var(--white);
  padding: 16px 40px;
  border-radius: 50px;
  font-weight: 600;
  font-size: 1.05rem;
  transition: var(--transition-base);
  border: none;
  cursor: pointer;
  text-align: center;
  box-shadow: var(--shadow-md);
  position: relative;
  overflow: hidden;
}

.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: var(--transition-slow);
}

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

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-xl), var(--shadow-glow);
}

.btn-primary:active {
  transform: translateY(-1px);
}

/* Header */
.header {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  box-shadow: var(--shadow-sm);
  position: fixed;
  width: 100%;
  top: 0;
  z-index: 1000;
  transition: var(--transition-base);
}

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

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

.logo img {
  height: 200px;
  width: auto;
  transition: var(--transition-base);
}

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

.nav-list {
  display: flex;
  align-items: center;
  gap: 40px;
}

.nav-list a {
  font-weight: 500;
  color: var(--text-primary);
  transition: var(--transition-fast);
  position: relative;
}

.nav-list a::after {
  content: "";
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--gradient-primary);
  transition: var(--transition-fast);
}

.nav-list a:hover::after {
  width: 100%;
}

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

.nav-list .btn-nav {
  padding: 10px 24px;
  border: 2px solid transparent;
  border-radius: 50px;
  background: var(--gradient-card);
  color: var(--primary-color);
  font-weight: 600;
}

.nav-list .btn-nav::after {
  display: none;
}

.nav-list .btn-nav:hover {
  background: var(--gradient-primary);
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.mobile-menu-icon {
  display: none;
  font-size: 1.5rem;
  cursor: pointer;
  color: var(--dark);
}

/* Hero Section */
.hero {
  min-height: 100vh;
  background: var(--gradient-hero);
  display: flex;
  align-items: center;
  text-align: center;
  padding-top: 85px;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(
      circle at 20% 50%,
      rgba(255, 255, 255, 0.1) 0%,
      transparent 50%
    ),
    radial-gradient(
      circle at 80% 80%,
      rgba(255, 255, 255, 0.1) 0%,
      transparent 50%
    );
  pointer-events: none;
}

.hero-content {
  max-width: 900px;
  position: relative;
  z-index: 1;
  animation: fadeInUp 0.8s ease-out;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.hero h1 {
  font-size: 4rem;
  font-weight: 900;
  color: var(--white);
  margin-bottom: 1.5rem;
  line-height: 1.1;
  letter-spacing: -0.03em;
  text-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}

.hero p {
  font-size: 1.35rem;
  margin-bottom: 3rem;
  color: rgba(255, 255, 255, 0.95);
  line-height: 1.8;
  font-weight: 400;
}

/* Scroll Indicator */
.scroll-indicator {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-size: 1.5rem;
  transition: var(--transition-base);
  animation: bounce 2s infinite;
  z-index: 2;
  border: 2px solid rgba(255, 255, 255, 0.3);
}

.scroll-indicator:hover {
  background: rgba(255, 255, 255, 0.2);
  transform: translateX(-50%) scale(1.1);
}

@keyframes bounce {
  0%,
  20%,
  50%,
  80%,
  100% {
    transform: translateX(-50%) translateY(0);
  }

  40% {
    transform: translateX(-50%) translateY(-15px);
  }

  60% {
    transform: translateX(-50%) translateY(-8px);
  }
}

/* Services Section */
.services {
  padding: 120px 0;
  background: var(--light-bg);
  position: relative;
}

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

.service-card {
  background: var(--white);
  padding: 50px 35px;
  border-radius: 24px;
  box-shadow: var(--shadow-md);
  transition: var(--transition-base);
  border: 1px solid rgba(0, 75, 155, 0.1);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.service-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--gradient-primary);
  transform: scaleX(0);
  transition: var(--transition-base);
}

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

.service-card:hover {
  transform: translateY(-12px);
  box-shadow: var(--shadow-xl);
  border-color: rgba(0, 75, 155, 0.3);
}

.icon-box {
  width: 90px;
  height: 90px;
  background: var(--gradient-card);
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 28px;
  font-size: 2.2rem;
  transition: var(--transition-base);
  position: relative;
}

.icon-box i {
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.service-card:hover .icon-box {
  transform: scale(1.1) rotate(5deg);
  box-shadow: var(--shadow-glow);
}

.service-card h3 {
  margin-bottom: 18px;
  color: var(--dark);
  font-size: 1.5rem;
  font-weight: 700;
}

.service-card p {
  color: var(--text-secondary);
  line-height: 1.8;
  font-size: 1.05rem;
}

/* About Section */
.about {
  padding: 120px 0;
  background: var(--white);
}

.about-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.about-text p {
  margin-bottom: 24px;
  font-size: 1.15rem;
  color: var(--text-secondary);
  line-height: 1.9;
}

.about-text strong {
  color: var(--dark);
  font-weight: 700;
}

.image-placeholder {
  width: 100%;
  height: 450px;
  background: var(--gradient-card);
  border-radius: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 6rem;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.image-placeholder i {
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  opacity: 0.6;
}

/* Contact Section */
.contact {
  padding: 120px 0;
  background: var(--light-bg);
}

.contact-wrapper {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 0;
  background: var(--white);
  border-radius: 24px;
  overflow: hidden;
  box-shadow: var(--shadow-xl);
}

.contact-info {
  background: var(--gradient-overlay);
  color: var(--white);
  padding: 60px 45px;
  position: relative;
}

.contact-info::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(
    circle at 30% 30%,
    rgba(255, 255, 255, 0.1) 0%,
    transparent 50%
  );
  pointer-events: none;
}

.contact-info h3 {
  font-size: 2rem;
  margin-bottom: 20px;
  font-weight: 700;
  position: relative;
}

.contact-info p {
  margin-bottom: 40px;
  opacity: 0.95;
  font-size: 1.05rem;
  position: relative;
}

.info-list {
  position: relative;
}

.info-list li {
  display: flex;
  align-items: flex-start;
  margin-bottom: 28px;
  transition: var(--transition-fast);
}

.info-list li:hover {
  transform: translateX(5px);
}

.info-list i {
  margin-right: 18px;
  font-size: 1.3rem;
  margin-top: 4px;
  opacity: 0.9;
}

.map-container {
  margin-top: 30px;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.map-container iframe {
  display: block;
}

.contact-form {
  padding: 60px 50px;
}

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

.form-group label {
  display: block;
  margin-bottom: 10px;
  font-weight: 600;
  color: var(--dark);
  font-size: 0.95rem;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 14px 18px;
  border: 2px solid #e2e8f0;
  border-radius: 12px;
  font-family: inherit;
  font-size: 1rem;
  transition: var(--transition-fast);
  background: var(--light-bg);
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--primary-color);
  background: var(--white);
  box-shadow: 0 0 0 4px rgba(0, 75, 155, 0.1);
}

.full-width {
  width: 100%;
}

/* Footer */
.footer {
  background: var(--dark);
  color: #94a3b8;
  padding: 80px 0 40px;
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 50px;
  margin-bottom: 50px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  padding-bottom: 50px;
}

.footer-logo {
  height: 100px;
  width: auto;
  margin-bottom: 10px;
}

.footer-brand p {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.footer-links h4 {
  color: var(--white);
  margin-bottom: 24px;
  font-weight: 700;
  font-size: 1.1rem;
}

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

.footer-links a {
  transition: var(--transition-fast);
  display: inline-block;
}

.footer-links a:hover {
  color: var(--primary-light);
  transform: translateX(5px);
}

.footer-legal {
  text-align: center;
  font-size: 0.95rem;
}

.footer-legal p {
  margin-bottom: 8px;
}

/* Responsive */
@media (max-width: 768px) {
  .header-container {
    position: relative;
  }

  .mobile-menu-icon {
    display: block;
  }

  .nav-list {
    display: none;
    position: absolute;
    top: 85px;
    left: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(10px);
    flex-direction: column;
    padding: 30px;
    box-shadow: var(--shadow-lg);
    gap: 20px;
  }

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

  .hero h1 {
    font-size: 2.5rem;
  }

  .hero p {
    font-size: 1.1rem;
  }

  .section-title {
    font-size: 2.2rem;
  }

  .about-container,
  .contact-wrapper {
    grid-template-columns: 1fr;
  }

  .contact-info {
    padding: 40px 30px;
  }

  .contact-form {
    padding: 40px 30px;
  }

  .services-grid {
    grid-template-columns: 1fr;
  }
}
