:root {
  --primary: #3aa7c9;      /* soft architectural blue */
  --warm-dark: #1c1c1c;    /* charcoal */
  --warm-light: #f5f5f2;   /* off white */
  --text-muted: #b5b5b5;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Inter", sans-serif;
}

body {
  background: var(--warm-light);
  color: #222;
}

/* HEADER */
.navbar {
  position: fixed;
  top: 0;
  width: 100%;
  background: rgba(28,28,28,0.95);
  padding: 16px 70px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  z-index: 100;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  color: white;
  font-weight: 700;
  letter-spacing: 0.5px;
  font-family: "Space Grotesk", sans-serif;
  font-size: 15px;
}

.brand img {
  height: 46px;
}

.navbar a {
  color: #eaeaea;
  margin-left: 20px;
  text-decoration: none;
  font-weight: 400;
}

.phone {
  color: var(--primary);
  font-weight: 600;
}

/* HERO */
.hero {
  height: 100vh;
  min-height: 600px;
  background: linear-gradient(rgba(28,28,28,0.65), rgba(28,28,28,0.65)), url("https://images.unsplash.com/photo-1486325212027-8081e485255e?w=1200&h=800&fit=crop") center/cover no-repeat;
  background-attachment: fixed;
  transition: background-image 0.8s ease-in-out;
  position: relative;
  margin-top: 0;
}

.carousel-controls {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 12px;
  z-index: 10;
}

.carousel-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.4);
  border: 2px solid white;
  cursor: pointer;
  transition: all 0.3s ease;
}

.carousel-dot.active {
  background: white;
  transform: scale(1.3);
}

.hero-overlay {
  height: 100%;
  background: rgba(28,28,28,0.65);
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 140px 70px;
  color: white;
}

.hero h1 {
  font-size: 56px;
  font-weight: 700;
  font-family: "Space Grotesk", sans-serif;
  letter-spacing: -1px;
  animation: heroTitleSlideIn 1s ease;
}

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

.hero-welcome {
  font-size: 18px;
  color: var(--primary);
  font-weight: 600;
  margin-bottom: 12px;
  animation: fadeIn 1.2s ease;
}

.hero p {
  margin-top: 18px;
  max-width: 600px;
  color: var(--text-muted);
}

.btn-primary {
  margin-top: 30px;
  background: var(--primary);
  color: white;
  padding: 14px 32px;
  text-decoration: none;
  font-weight: 600;
  border-radius: 30px;
  display: inline-block;
  transition: all 0.3s ease;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(58, 167, 201, 0.3);
}

/* SECTIONS */
.section {
  padding: 110px 70px;
}

.dark {
  background: var(--warm-dark);
  color: white;
}

.section-title {
  text-align: center;
  margin-bottom: 60px;
  font-weight: 700;
  font-size: 42px;
  color: var(--primary);
  font-family: "Space Grotesk", sans-serif;
  letter-spacing: -0.5px;
}

/* GRIDS */
.services-grid {
  display: grid;
  grid-template-columns: repeat(8, 1fr);
  gap: 32px;
  max-width: 1600px;
  margin: 0 auto;
}

.service-card {
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  animation: fadeIn 0.8s ease forwards;
}

.service-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
}

.services-grid .service-card:nth-child(1) {
  animation-delay: 0.2s;
}

.services-grid .service-child:nth-child(2) {
  animation-delay: 0.4s;
}

.services-grid .service-card:nth-child(3) {
  animation-delay: 0.6s;
}

.service-card img {
  width: 100%;
  height: 240px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 16px;
  transition: transform 0.4s ease;
}

.service-card:hover img {
  transform: scale(1.06);
}

.service-card h3 {
  font-size: 18px;
  font-weight: 600;
  color: #222;
  font-family: "Space Grotesk", sans-serif;
}

.projects-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  max-width: 1400px;
  margin: 0 auto;
}

.projects-grid img {
  width: 100%;
  height: 280px;
  object-fit: cover;
  border-radius: 12px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  cursor: pointer;
}

.projects-grid img:hover {
  transform: scale(1.02);
  box-shadow: 0 10px 30px rgba(58, 167, 201, 0.2);
}

/* PROJECTS CAROUSEL */
.projects-carousel {
  position: relative;
  max-width: 1000px;
  margin: 0 auto;
}

.carousel-container {
  position: relative;
  width: 100%;
  height: 450px;
  overflow: hidden;
  border-radius: 12px;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.3);
}

.carousel-image {
  position: absolute;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 0.8s ease;
}

.carousel-image.active {
  opacity: 1;
}

.carousel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(58, 167, 201, 0.8);
  color: white;
  border: none;
  width: 45px;
  height: 45px;
  font-size: 24px;
  cursor: pointer;
  border-radius: 50%;
  transition: all 0.3s ease;
  z-index: 5;
  display: flex;
  align-items: center;
  justify-content: center;
}

.carousel-btn:hover {
  background: var(--primary);
  box-shadow: 0 8px 20px rgba(58, 167, 201, 0.4);
  transform: translateY(-50%) scale(1.1);
}

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

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

.carousel-dots {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 20px;
}
.about-text {
  max-width: 850px;
  margin: auto;
  text-align: center;
  line-height: 1.9;
  color: #444;
}

/* TESTIMONIALS */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
  max-width: 1200px;
  margin: 0 auto;
}

.testimonial-card {
  background: rgba(255, 255, 255, 0.08);
  padding: 32px;
  border-radius: 12px;
  border: 1px solid rgba(58, 167, 201, 0.2);
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
}

.testimonial-card:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: var(--primary);
  transform: translateY(-8px);
  box-shadow: 0 15px 40px rgba(58, 167, 201, 0.15);
}

.stars {
  font-size: 18px;
  margin-bottom: 16px;
  letter-spacing: 4px;
}

.testimonial-text {
  color: #ddd;
  line-height: 1.8;
  margin-bottom: 20px;
  font-size: 15px;
  flex-grow: 1;
}

.client-name {
  color: var(--primary);
  font-weight: 600;
  font-size: 16px;
  margin-bottom: 4px;
  font-family: "Space Grotesk", sans-serif;
}

.client-role {
  color: #999;
  font-size: 13px;
  margin: 0;
}

/* STATS SECTION */
.stats-section {
  background: linear-gradient(135deg, var(--primary) 0%, #2991b3 100%);
  padding: 80px 70px;
  text-align: center;
}

.stats-container {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 40px;
  max-width: 1200px;
  margin: 0 auto;
}

.stat-card {
  color: white;
  padding: 30px;
  transition: transform 0.3s ease;
}

.stat-card:hover {
  transform: translateY(-8px);
}

.stat-number {
  font-size: 48px;
  font-weight: 700;
  font-family: "Space Grotesk", sans-serif;
  color: white;
  margin-bottom: 12px;
  display: block;
}

.stat-label {
  font-size: 16px;
  color: rgba(255, 255, 255, 0.9);
  margin: 0;
  font-weight: 500;
}

/* CONTACT */
.contact-form {
  max-width: 520px;
  margin: auto;
  display: flex;
  flex-direction: column;
}

.contact-form input,
.contact-form textarea {
  margin: 10px 0;
  padding: 14px;
  border: none;
  border-radius: 6px;
}

.contact-form button {
  background: var(--primary);
  padding: 15px;
  border: none;
  font-weight: 500;
  border-radius: 30px;
  margin-top: 10px;
  cursor: pointer;
}

.contact-phone {
  text-align: center;
  margin-top: 25px;
}

.contact-phone a {
  color: var(--primary);
}

.contact-email {
  text-align: center;
  margin-top: 15px;
  font-size: 16px;
}

.contact-email a {
  color: var(--primary);
  text-decoration: none;
  transition: all 0.3s ease;
}

.contact-email a:hover {
  text-decoration: underline;
}

.contact-location {
  text-align: center;
  margin-top: 15px;
  font-size: 16px;
  color: #ddd;
}

/* FOOTER */
footer {
  background: #111;
  color: var(--text-muted);
  padding: 40px;
  text-align: center;
}

.footer-logo {
  height: 40px;
  margin-bottom: 10px;
}

/* WHATSAPP */
.whatsapp-float {
  position: fixed;
  bottom: 26px;
  right: 26px;
  background: #25D366;
  color: white;
  font-size: 26px;
  padding: 16px 18px;
  border-radius: 50%;
  text-decoration: none;
  box-shadow: 0 12px 30px rgba(0,0,0,0.4);
  transition: all 0.3s ease;
  animation: pulse 2s infinite;
}

.whatsapp-float:hover {
  transform: scale(1.15);
  box-shadow: 0 15px 40px rgba(37, 211, 102, 0.4);
}

/* FACEBOOK */
.facebook-float {
  position: fixed;
  bottom: 26px;
  right: 90px;
  background: #1877F2;
  color: white;
  font-size: 14px;
  font-weight: 700;
  padding: 12px 16px;
  border-radius: 6px;
  text-decoration: none;
  box-shadow: 0 12px 30px rgba(0,0,0,0.4);
  transition: all 0.3s ease;
  animation: pulse-facebook 2s infinite;
}

.facebook-float:hover {
  transform: scale(1.15);
  box-shadow: 0 15px 40px rgba(24, 119, 242, 0.4);
}

@keyframes pulse-facebook {
  0%, 100% {
    box-shadow: 0 12px 30px rgba(0,0,0,0.4);
  }
  50% {
    box-shadow: 0 12px 40px rgba(24, 119, 242, 0.3);
  }
}
  0%, 100% {
    box-shadow: 0 12px 30px rgba(0,0,0,0.4);
  }
  50% {
    box-shadow: 0 12px 40px rgba(37, 211, 102, 0.3);
  }
}

/* CHATBOT */
.chatbot-toggle {
  position: fixed;
  bottom: 26px;
  left: 26px;
  background: var(--primary);
  color: white;
  border: none;
  padding: 14px 20px;
  border-radius: 30px;
  cursor: pointer;
  font-weight: 700;
  font-size: 16px;
  box-shadow: 0 8px 20px rgba(58, 167, 201, 0.5);
  transition: all 0.3s ease;
  z-index: 99;
  animation: float 3s ease-in-out infinite;
}

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

.chatbot-toggle:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(58, 167, 201, 0.4);
}

.chatbot-toggle.active {
  display: none;
}

.chatbot-widget {
  position: fixed;
  bottom: 26px;
  left: 26px;
  width: 380px;
  height: 500px;
  background: white;
  border-radius: 12px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
  display: flex;
  flex-direction: column;
  z-index: 101;
  opacity: 0;
  transform: scale(0.8) translateY(20px);
  pointer-events: none;
  transition: all 0.3s ease;
}

.chatbot-widget.active {
  opacity: 1;
  transform: scale(1) translateY(0);
  pointer-events: all;
}

.chatbot-header {
  background: var(--primary);
  color: white;
  padding: 20px;
  border-radius: 12px 12px 0 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 2px solid rgba(58, 167, 201, 0.3);
}

.chatbot-header h3 {
  margin: 0;
  font-family: "Space Grotesk", sans-serif;
  font-size: 16px;
}

.chatbot-close {
  background: none;
  border: none;
  color: white;
  font-size: 20px;
  cursor: pointer;
  transition: transform 0.2s ease;
}

.chatbot-close:hover {
  transform: rotate(90deg);
}

.chatbot-messages {
  flex: 1;
  overflow-y: auto;
  padding: 16px;
  background: #f9f9f9;
}

.message {
  margin-bottom: 12px;
  display: flex;
  animation: messageSlideIn 0.3s ease;
}

@keyframes messageSlideIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.bot-message {
  justify-content: flex-start;
}

.bot-message p {
  background: white;
  padding: 10px 14px;
  border-radius: 10px;
  border-left: 3px solid var(--primary);
  max-width: 80%;
  margin: 0;
  font-size: 13px;
  line-height: 1.5;
  color: #333;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.user-message {
  justify-content: flex-end;
}

.user-message p {
  background: var(--primary);
  color: white;
  padding: 10px 14px;
  border-radius: 10px;
  max-width: 80%;
  margin: 0;
  font-size: 13px;
  line-height: 1.5;
}

.chatbot-input {
  padding: 12px;
  background: white;
  border-top: 1px solid #e0e0e0;
  display: flex;
  gap: 8px;
  border-radius: 0 0 12px 12px;
}

.chatbot-input input {
  flex: 1;
  border: 1px solid #ddd;
  border-radius: 20px;
  padding: 8px 14px;
  font-size: 13px;
  transition: border-color 0.3s ease;
}

.chatbot-input input:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 4px rgba(58, 167, 201, 0.2);
}

.chatbot-input button {
  background: var(--primary);
  color: white;
  border: none;
  border-radius: 20px;
  padding: 8px 16px;
  cursor: pointer;
  font-weight: 600;
  font-size: 12px;
  transition: all 0.3s ease;
}

.chatbot-input button:hover {
  background: #2991b3;
  box-shadow: 0 4px 10px rgba(58, 167, 201, 0.3);
}


/* MOBILE RESPONSIVE */
@media (max-width: 768px) {
  .hero {
    height: 70vh;
    min-height: 500px;
    background-attachment: scroll;
  }

  .hero-overlay {
    padding: 100px 20px 80px 20px;
  }

  .navbar {
    padding: 12px 20px;
    flex-wrap: wrap;
  }

  .navbar nav {
    display: flex;
    flex-direction: column;
    gap: 10px;
    width: 100%;
    margin-top: 10px;
  }

  .navbar a {
    margin-left: 0;
    font-size: 14px;
  }

  .brand {
    gap: 8px;
    font-size: 14px;
  }

  .brand img {
    height: 36px;
  }

  .section {
    padding: 60px 20px;
  }

  .hero h1 {
    font-size: 32px;
  }

  .hero p {
    max-width: 100%;
    font-size: 14px;
  }

  .hero-welcome {
    font-size: 16px;
  }

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

  .projects-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }

  .carousel-container {
    height: 350px;
  }

  .carousel-btn {
    width: 40px;
    height: 40px;
    font-size: 18px;
  }

  .services-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
  }

  .section-title {
    margin-bottom: 40px;
    font-size: 28px;
  }

  .about-text {
    font-size: 14px;
    line-height: 1.6;
  }

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

  .stats-section {
    padding: 60px 20px;
  }

  .stats-container {
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
  }

  .stat-number {
    font-size: 36px;
  }

  .stat-label {
    font-size: 14px;
  }

  .whatsapp-float {
    bottom: 16px;
    right: 16px;
    padding: 12px 14px;
    font-size: 20px;
  }

  .chatbot-widget {
    width: calc(100vw - 32px);
    height: 450px;
    bottom: 90px;
    left: 16px;
  }

  .chatbot-toggle {
    bottom: 20px;
    left: 20px;
  }
}

@media (max-width: 480px) {
  .hero {
    height: 60vh;
    min-height: 420px;
  }

  .hero-overlay {
    padding: 100px 15px 60px 15px;
  }

  .navbar {
    padding: 10px 15px;
  }

  .brand {
    font-size: 12px;
  }

  .brand img {
    height: 30px;
  }

  .section {
    padding: 40px 15px;
  }

  .hero h1 {
    font-size: 24px;
  }

  .hero-welcome {
    font-size: 14px;
    margin-bottom: 8px;
  }

  .hero p {
    font-size: 13px;
  }

  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }

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

  .carousel-container {
    height: 300px;
  }

  .carousel-btn {
    width: 35px;
    height: 35px;
    font-size: 16px;
    left: 10px !important;
    right: auto !important;
  }

  .carousel-btn.next {
    left: auto !important;
    right: 10px !important;
  }

  .section-title {
    font-size: 20px;
    margin-bottom: 30px;
  }

  .btn-primary {
    padding: 12px 24px;
    font-size: 14px;
  }

  .whatsapp-float {
    bottom: 20px;
    right: 20px;
    padding: 12px 14px;
    font-size: 20px;
  }

  .facebook-float {
    bottom: 80px;
    right: 20px;
    padding: 10px 14px;
    font-size: 12px;
  }
}

/* EXTRA SMALL DEVICES */
@media (max-width: 380px) {
  .hero {
    height: 55vh;
    min-height: 380px;
  }

  .hero-overlay {
    padding: 70px 12px 50px 12px;
  }

  .hero-welcome {
    font-size: 12px;
    margin-bottom: 6px;
  }

  .hero h1 {
    font-size: 20px;
    margin-bottom: 8px;
  }

  .hero p {
    font-size: 12px;
    margin-bottom: 12px;
  }

  .btn-primary {
    padding: 10px 20px;
    font-size: 12px;
  }

  .navbar {
    padding: 8px 12px;
  }

  .brand {
    font-size: 11px;
  }

  .brand img {
    height: 28px;
  }

  .section {
    padding: 30px 12px;
  }

  .section-title {
    font-size: 18px;
    margin-bottom: 20px;
  }

  .service-card h3 {
    font-size: 14px;
  }

  .stat-number {
    font-size: 28px;
  }

  .stat-label {
    font-size: 11px;
  }
}

/* VERY SMALL DEVICES - Landscape mode */
@media (max-height: 500px) {
  .hero {
    height: 100vh;
  }

  .hero-overlay {
    padding: 50px 15px;
  }

  .hero-welcome {
    font-size: 13px;
    margin-bottom: 6px;
  }

  .hero h1 {
    font-size: 22px;
    margin-bottom: 8px;
  }

  .hero p {
    font-size: 12px;
    margin-bottom: 10px;
  }

  .btn-primary {
    padding: 10px 20px;
    font-size: 12px;
  }
}

  .section-title {
    font-size: 20px;
    margin-bottom: 30px;
  }

  .stats-section {
    padding: 40px 15px;
  }

  .stats-container {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .stat-number {
    font-size: 32px;
  }

  .stat-label {
    font-size: 12px;
  }

  .btn-primary {
    padding: 12px 24px;
    font-size: 14px;
  }

  .chatbot-widget {
    width: calc(100vw - 20px);
    height: 420px;
    bottom: 70px;
    left: 10px;
  }

  .chatbot-toggle {
    bottom: 15px;
    left: 15px;
    padding: 10px 16px;
    font-size: 12px;
  }
}

/* ANIMATIONS */
.fade-in {
  animation: fadeIn 1.3s ease forwards;
}

.slide-up {
  animation: slideUp 1.3s ease forwards;
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes slideUp {
  from { opacity: 0; transform: translateY(40px); }
  to { opacity: 1; transform: translateY(0); }
}

/* 6.56-INCH PHONE OPTIMIZATION */
@media (max-width: 414px) and (min-width: 380px) {
  .hero-overlay {
    padding: 110px 15px 60px 15px;
  }
}

