:root {
  --primary: #4b6cb7;
  --secondary: #182848;
  --accent: #fbae17;
  --bg: #f0f2f6;
  --white: #e1e6f5c8;
  --dark: #21242b;
  --gray: #d1d1d1;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Segoe UI", Arial, sans-serif;
  margin: 0;
  padding: 0;
  background: var(--bg);
  color: var(--dark);
}

.container {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
}

header {
  background: var(--secondary);
  color: var(--white);
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
}


.nav-flex {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 15px 0;
}

.logo {
  height: 52px;
}

nav ul {
  list-style: none;
  display: flex;
  gap: 25px;
  margin: 0;
  padding: 0;
}

nav ul li a {
  text-decoration: none;
  color: var(--white);
  font-weight: 500;
  transition: color 0.2s;
}

nav ul li a:hover {
  color: var(--accent);
}

.hero {
  background: linear-gradient(120deg, var(--primary), var(--secondary));
  color: var(--white);
  padding: 70px 0 50px;
  text-align: center;
}

.hero h1 {
  font-size: 2.8rem;
  margin-bottom: 16px;
  color: whitesmoke;
}

.tagline {
  font-size: 1.25rem;
  opacity: 0.95;
}

.section {
  padding: 48px 0;
}

.alt-bg {
  background: var(--white);
}

h2 {
  color: var(--primary);
  font-size: 2rem;
  margin-bottom: 20px;
}

h3 {
  color: var(--secondary);
}

.gallery-section .gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 14px;
  margin-top: 20px;
}

.gallery img {
  width: 100%;
  height: 210px;
  object-fit: cover;
  border-radius: 10px;
  background: var(--gray);
  box-shadow: 0 4px 16px rgba(75, 108, 183, 0.08);
  transition: transform 0.3s ease, filter 0.3s ease;
}

.gallery img:hover {
  transform: scale(1.03);
  filter: brightness(95%);
}

.about-flex {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  align-items: center;
  justify-content: center;
}

.about-text {
  flex: 1 1 320px;
}

.about-section {
  padding: 40px 20px;
  background-color: #f9f9f9;
  text-align: center;
  color: #333;
}

.about-section h2 {
  font-size: 2.5rem;
  margin-bottom: 15px;
  color: var(--primary);
}

.about-section a {
  color: var(--accent);
  text-decoration: underline;
}

.agency {
  margin-top: 14px;
  color: var(--secondary);
}

.contact-flex {
  display: flex;
  flex-wrap: wrap;
  gap: 60px;
  justify-content: space-between;
  align-items: flex-start;
}

.contact-form {
  background: var(--bg);
  padding: 24px;
  border-radius: 12px;
  box-shadow: 0 2px 12px rgba(0,0,0,0.05);
  flex: 1 1 320px;
  min-width: 320px;
}

.contact-form h3 {
  margin-top: 0;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  margin-bottom: 14px;
  padding: 10px;
  border-radius: 6px;
  border: 1px solid #bbb;
  font-size: 1rem;
}

.contact-form button {
  background: var(--primary);
  color: var(--white);
  border: none;
  padding: 10px 28px;
  border-radius: 8px;
  font-size: 1rem;
  cursor: pointer;
  font-weight: 600;
  transition: background 0.2s;
}

.contact-form button:hover {
  background: var(--accent);
}

footer {
  background: var(--secondary);
  color: var(--white);
  text-align: center;
  padding: 18px 0;
  font-size: 1rem;
  margin-top: 25px;
}

/* WhatsApp Button */
.whatsapp-float {
  position: fixed;
  bottom: 18px;
  right: 18px;
  z-index: 999;
  height: 55px;
  width: 55px;
  border-radius: 50%;
  box-shadow: 0 2px 10px rgba(0,0,0,0.2);
}

.whatsapp-float img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.instagram-float {
  position: fixed;
  bottom: 85px;
  right: 18px;
  z-index: 999;
  height: 55px;
  width: 55px;
  border-radius: 50%;
  box-shadow: 0 2px 10px rgba(0,0,0,0.2);
}

.instagram-float img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

@media (max-width: 900px) {
  .contact-flex, .about-flex {
    flex-direction: column;
    gap: 30px;
  }

  .container {
    width: 96%;
  }

  .gallery img {
    height: 140px;
  }

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

.card-img {
  margin: 0;
  border-radius: 10px;
  overflow: hidden;
  background: white;
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
}

.card-img img {
  display: block;
  width: 100%;
  height: 210px;
  object-fit: cover;
}

.card-img figcaption {
  background: white;
  padding: 10px;
  font-size: 0.9rem;
  color: var(--secondary);
  text-align: center;
  font-weight: 500;
}
