@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&display=swap');

/* ================= CSS VARIABLES ================= */
:root {
  --primary-yellow: #eab308;
  --dark-bg: #0a0a0a;
  --card-bg: #111111;
  --text-light: #f5f5f5;
  --text-muted: #aaaaaa;
  --light-accent: #1f1f1f;
}

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

body {
  font-family: 'Inter', sans-serif;
  background: var(--dark-bg);
  color: var(--text-light);
  line-height: 1.6;
  overflow-x: hidden;
}

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

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 16px;
}

/* ================= NAVBAR ================= */
.navbar {
  /* previous bg code rgba(10, 10, 10, 0.98) */
  background:rgba(10, 10, 10, 0.98);
  backdrop-filter: blur(12px);
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1100;
  border-bottom: 1px solid #222;
}

.navbar-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 60px;
}

.logo {
  height: clamp(25px, 4vw, 35px);
  width: auto;
  object-fit: contain;
}

/* Desktop Nav Links */
.desktop-nav {
  display: none;
  gap: 8px;
}

.desktop-nav a {
  color: #cccccc;
  text-decoration: none;
  font-weight: 500;
  padding: 8px 16px;
  border-radius: 1px;
  transition: all 0.3s ease;
  white-space: nowrap;
}

.desktop-nav a:hover,
.desktop-nav a:active {
  background: var(--primary-yellow);
  color: #000;
}

/* Hamburger */
.hamburger-btn {
  background: none;
  border: none;
  font-size: 26px;
  color: var(--text-light);
  cursor: pointer;
  padding: 8px;
  display: block;
}

.hamburger-btn:hover {
  color: var(--primary-yellow);
}

/* Mobile Menu - Centered Popup */
.mobile-menu {
  display: none;
  position: fixed;
  top: 60px;
  left: 50%;
  transform: translateX(-50%);
  width: 85%;
  max-width: 320px;
  background: rgba(10, 10, 10, 0.98);
  border-radius: 1px;
  padding: 12px 0;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.7);
  z-index: 1200;
  border: 1px solid #333;
}

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

.mobile-link {
  display: block;
  padding: 16px 24px;
  color: var(--text-light);
  text-decoration: none;
  font-size: 1.1rem;
  font-weight: 500;
  border-bottom: 1px solid #222;
  transition: all 0.3s ease;
}

.mobile-link:hover,
.mobile-link:active {
  background: var(--primary-yellow);
  color: #000;
}

/* ================= HERO ================= */
.hero-section {
  position: relative;
  min-height: 85vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px 0;
  margin-top: 60px; /* space for fixed navbar */
}

.hero-image {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.35;
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 820px;
  padding: 0 20px;
}

.hero-title {
  font-size: clamp(2.1rem, 5vw, 3.2rem);
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 20px;
}

.hero-subtitle {
  color: var(--text-light);
  font-size: 1.1rem;
  margin-bottom: 32px;
}

.hero-link {
  color: var(--text-light);
  text-decoration: none;
}

.hero-link:hover {
  color: var(--primary-yellow);
}

/* Hero Buttons - Same width */
.hero-buttons {
  display: flex;
  flex-direction: row;
  gap: 10px;
  max-width: 280px;
  margin: 0 auto;
  flex-wrap: nowrap; 
}

.btn-primary,
.btn-secondary {
  display: inline-block;
  padding:12px 16px;
  font-size: 0.95rem;
  font-weight: 600;
  border-radius: 1px;
  cursor: pointer;
  transition: all 0.3s ease;
  text-decoration: none;
  border: none;
  width: 100%;
  text-align: center;
}

.btn-primary {
  background: var(--primary-yellow);
  color: #000;
}

.btn-primary:hover {
  background: #facc15;
  transform: translateY(-2px);
}

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

.btn-secondary:hover {
  background: var(--text-light);
  color: #000;
}

/* ================= SECTIONS ================= */
section {
  padding: 40px 0;
}

.section-title {
  font-size: clamp(1.8rem, 4vw, 2.4rem);
  text-align: center;
  margin-bottom: 32px;
  color: var(--text-light);
}

/* ================= ABOUT ================= */
.about-section {
  background: var(--light-accent);
  color: var(--text-light);
}

.about-text {
  max-width: 720px;
  margin: 0 auto;
  text-align: center;
  font-size: 1.05rem;
}

/* ================= SERVICES ================= */
.services-grid {
  display: grid;
  gap: 24px;
}

.service-card {
  background: var(--card-bg);
  padding: 28px 24px;
  border-radius: 1px;
  display: flex;
  flex-direction: column;
  transition: all 0.3s ease;
}

.service-card:hover {
  border-bottom: 4px solid var(--primary-yellow);
}

.service-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 20px;
}

.pillar {
  width: 6px;
  height: 32px;
  background: var(--primary-yellow);
  border-radius: 0px;
  flex-shrink: 0;
}

.service-title {
  font-size: 1.35rem;
  font-weight: 600;
}

.service-list {
  list-style: none;
  margin-bottom: 24px;
  flex-grow: 1;
}

.service-list li {
  padding: 6px 0;
  font-size: 0.95rem;
}

.service-price {
  margin-top: auto;
  background: rgba(220, 220, 220, 0.15);
  color: var(--text-muted);
  padding: 10px;
  text-align: center;
  border-radius: 1px;
  font-weight: 500;
  font-size: 0.95rem;
}

/* ================= SLIDERS ================= */

/* SECTION BACKGROUND */
.testimonials-section,
.projects-section {
  background: var(--text-light); /* light background */
}

/* SECTION TITLE FIX (READABILITY) */
.testimonials-section .section-title,
.projects-section .section-title {
  color: #111; /* dark text for contrast */
}

.slider-wrapper {
  position: relative;
  overflow: hidden;
  padding: 20px 0;
}

.slider-track {
  display: flex;
  gap: 20px;
  transition: transform 0.6s cubic-bezier(0.25, 0.1, 0.25, 1);
  will-change: transform;
}
.testimonial-card,
.project-card {
  background: var(--card-bg);
  border-radius: 6px;
  padding: 24px;
  flex: 0 0 90%;
  margin: 0 auto;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4);
}

/* 👉 ADD THIS (only affects testimonial cards) */
.testimonial-card {
  display: flex;
  flex-direction: column;
}

/* Larger screens */
@media (min-width: 768px) {
  .testimonial-card,
  .project-card {
    flex: 0 0 48%;
  }
}

@media (min-width: 1024px) {
  .testimonial-card,
  .project-card {
    flex: 0 0 31%;
  }
}

/* Testimonial Card */
.testimonial-card .testimonial-header {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 16px;
  margin-top:16px;
}

.testimonial-photo {
  width: 56px;
  height: 56px;
  min-width: 56px;
  min-height: 56px;
  border-radius: 50%;
  object-fit: cover;
  border: 1px solid var(--primary-yellow);
  flex-shrink: 0;
}

.testimonial-name {
  color: var(--primary-yellow);
  font-weight: 600;
}

.testimonial-role {
  color: var(--text-muted);
  font-size: 0.9rem;
}

/* 👉 CHANGE THIS */
.testimonial-text {
  margin-top: 16px;
  margin-bottom: 16px;
  font-size: 1.02rem;
  flex-grow: 1; /* THIS is what fixes alignment */
}

/* 👉 OPTIONAL but cleaner spacing */
.testimonial-line {
  width: 100%;
  height: 0.2px;
  background: var(--primary-yellow);
  margin: 12px 0 6px 0;
}

.stars {
  color: var(--primary-yellow);
  font-size: 1.3rem;
}

/* Slider Buttons - Middle position */
.slider-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(0, 0, 0, 0.7);
  color: var(--text-light);
  border: none;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 10;
  transition: all 0.3s ease;
}

.slider-btn:hover,
.slider-btn:active {
  background: var(--primary-yellow);
  color: #000;
}

.slider-btn.left {
  left: 10px;
}

.slider-btn.right {
  right: 10px;
}

/* ================= PROJECT CARD ================= */
.project-card {
  background: #ffffff;
  border-radius: 6px;
  padding: 24px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4);
  text-align: left;
  flex-shrink: 0;                    /* Important: prevents shrinking */
}

/* Mobile: 90% width, centered */
@media (max-width: 767px) {
  .project-card,
  .testimonial-card {
    flex: 0 0 90%;
    margin: 0 auto;
  }
}

/* Tablet: Show 2 cards */
@media (min-width: 768px) and (max-width: 1023px) {
  .project-card,
  .testimonial-card {
    flex: 0 0 48%;
    margin: 0;
  }
}

/* Desktop: Show 3 cards */
@media (min-width: 1024px) {
  .project-card,
  .testimonial-card {
    flex: 0 0 31.5%;     /* Slightly less than 33% to account for gap */
    margin: 0;
  }
}

.project-image {
  width: 100%;
  height: 180px;
  object-fit: cover;
  border-radius: 6px;
  margin-bottom: 20px;
}

.project-title {
  color: #020114;
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 8px;
  text-align: left;
}

.project-desc {
  color: rgba(10, 10, 10, 0.98);
  margin-bottom: 16px;
  text-align: left;
  line-height: 1.5;
}

.project-status {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 20px;
  color: rgba(10, 10, 10, 0.98);
  font-size: 0.95rem;
  text-align: left;
}

/* Project Button - Fixed same size for both public and private */
.project-btn {
  padding: 14px 24px;
  border: none;
  border-radius: 1px;
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  width: 100%;
  text-decoration: none;
  display: inline-block;
  text-align: center;
  margin-top: 8px;
  min-height: 52px;           /* Forces same height */
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Public button */
.project-btn:not([disabled]) {
  background: var(--primary-yellow);
  color: #000;
}

.project-btn:not([disabled]):hover {
  background: #facc15;
  transform: translateY(-2px);
}

/* Private button */
.project-btn[disabled] {
  background: #555;
  color: #aaa;
  cursor: not-allowed;
  opacity: 0.85;
}


/* ================= INQUIRY SECTION ================= */
.inquiry-section {
  background: var(--light-accent);
  padding: 80px 20px;
}

/* ================= HEADER ================= */
.inquiry-header {
  text-align: center;
  margin-bottom: 30px;
}

.section-title {
  font-size: 2.2rem;
  font-weight: 700;
  margin-bottom: 10px;
  color: var(--text-dark);
}

.inquiry-subtitle {
  font-size: 0.95rem;
  color: var(--text-muted);
  max-width: 600px;
  margin: 0 auto;
  line-height: 1.6;
}


/* ================= INQUIRY FORM ================= */
.inquiry-form {
  max-width: 520px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

/* ================= LABELS ================= */
.inquiry-form label {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-dark);
  margin-bottom: -10px;
}

/* ================= INPUTS ================= */
.inquiry-form input,
.inquiry-form textarea,
.inquiry-form select {
  width: 100%;
  padding: 14px 16px;
  border: 1px solid #ddd;
  border-radius: 1px;
  font-size: 1rem;
  outline: none;
  background: #fff;
  transition: 0.25s ease;
}

.inquiry-form textarea {
  resize: none;
}

/* Focus effect */
.inquiry-form input:focus,
.inquiry-form textarea:focus,
.inquiry-form select:focus {
  border-color: var(--primary-yellow);
  box-shadow: 0 0 0 3px rgba(234, 179, 8, 0.2);
}

/* ================= PHONE GROUP (FIXED INLINE) ================= */
.phone-group {
  display: flex;
  gap: 0;
  width: 100%;
}

/* Country prefix */
.phone-group select {
  flex: 0 0 110px;
  border-radius: 1px 0 0 1px;
  border-right: 0;
  max-width: 80px;

}

/* Phone number input */
.phone-group input {
  flex: 1;
  border-radius: 0 1px 1px 0;
}

/* Seamless join */
.phone-group select,
.phone-group input {
  border: 1px solid #ddd;
}

/* ================= BUTTON ================= */
#submitBtn {
  background: var(--primary-yellow);
  color: #000;
  padding: 14px 18px;
  border: none;
  border-radius: 1px;
  font-size: 1rem;
  font-weight: 700;
  cursor: pointer;
  transition: 0.3s ease;
}

#submitBtn:hover {
  transform: translateY(-2px);
  background: #f5b400;
}

#submitBtn:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

/* ================= STATUS MESSAGE ================= */
#status {
  text-align: center;
  font-size: 0.95rem;
  margin-top: 10px;
  font-weight: 600;
}

/* Success */
#status.success {
  color: #16a34a;
}

/* Error */
#status.error {
  color: #dc2626;
}

/* ================= HEADER ================= */
.inquiry-header {
  text-align: center;
  margin-bottom: 30px;
}

.section-title {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 10px;
}

.inquiry-subtitle {
  font-size: 0.95rem;
  color: var(--text-muted);
  max-width: 600px;
  margin: 0 auto;
  line-height: 1.5;
}

/* ================= CONTAINER ================= */
.container {
  max-width: 1100px;
  margin: 0 auto;
}

/* ================= FORM WRAPPER ================= */
.form-wrapper {
  max-width: 520px;
  margin: 0 auto;
  padding: 0;
  background: transparent;
  box-shadow: none;
  border-radius: 0;
}

/* ================= IFRAME (IF USED) ================= */
.form-wrapper iframe {
  width: 100%;
  height: 520px;
  border: none !important;
  outline: none;
  display: block;
  background: transparent;
}

/* ================= MOBILE ================= */
@media (max-width: 600px) {
  .inquiry-section {
    padding: 60px 15px;
  }

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

  /* KEEP PHONE INLINE ALWAYS */
  .phone-group {
    flex-direction: row !important;
  }

  .phone-group select {
    flex: 0 0 90px;
    font-size: 0.9rem;
  }

  .phone-group input {
    flex: 1;
  }
}

/* ================= SMALL MOBILE ================= */
@media (max-width: 480px) {
  .section-title {
    font-size: 1.6rem;
  }
}
/* ================= FOOTER ================= */
.footer {
  background: #050505;
  padding: 60px 0 30px;
}

.footer-grid {
  display: grid;
  gap: 40px;
  grid-template-columns: 1fr;
}

.footer-left .logo {
  height: clamp(20px, 4vw, 35px);
  width: auto;
  object-fit: contain;
  margin-bottom: 16px;
}

.footer-description {
  color: var(--text-muted);
  max-width: 320px;
   margin-bottom: 30px;
}

.contact-link {
  color: var(--text-muted);
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
}

.contact-link:hover {
  color: var(--primary-yellow);
}

/* Newsletter */
.newsletter-title {
  color: var(--text-light);
  margin-top:0px;
  margin-bottom: 12px;
  font-weight: 500;
  font-size: 0.85rem
}

.newsletter-form {
  display: flex;
  gap: 0px;
}

.newsletter-input {
  flex: 1;
  padding: 14px 16px;
  background: #1a1a1a;
  border: 1px solid #333;
  border-radius: 1px;
  color: var(--text-light);
}

.newsletter-btn {
  padding: 14px 24px;
  background: var(--primary-yellow);
  color: #000;
  border: none;
  border-radius: 1px;
  font-weight: 600;
  cursor: pointer;
}

/* ================= NEWSLETTER STATUS MESSAGE ================= */
#newsletterStatus {
  text-align: center;
  font-size: 0.95rem;
  margin-top: 10px;
  font-weight: 600;
}

/* Success */
#newsletterStatus.success {
  color: #16a34a;
}

/* Error */
#newsletterStatus.error {
  color: #dc2626;
}

.social-icons {
  display: flex;
  gap: 20px;
  margin-top: 24px;
}

.social-icons a {
  color: var(--text-muted);
  font-size: 1.5rem;
  transition: color 0.3s;
}

.social-icons a:hover {
  color: var(--primary-yellow);
}

.copyright {
  text-align: center;
  margin-top: 50px;
  color: #555;
  font-size: 0.85rem;
  padding-top: 20px;
  border-top: 1px solid #222;
}

/* ================= RESPONSIVE BREAKPOINTS ================= */
@media (min-width: 480px) {
  .container {
    padding: 0 20px;
  }
}

@media (min-width: 768px) {
  .desktop-nav {
    display: flex;
  }
  .hamburger-btn {
    display: none;
  }


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

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

  .hero-buttons {
    flex-direction: row;
    max-width: none;
    justify-content: center;
  }
}

@media (min-width: 1024px) {
  .hero-title {
    font-size: clamp(2.6rem, 5vw, 3.8rem);
  }

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

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


/* ================= MOBILE OPTIMIZATION (COMPACT / FB STYLE) ================= */
@media (max-width: 600px) {

  /* HERO TEXT */
  .hero-title {
    font-size: 1.6rem;
    line-height: 1.2;
  }

  .hero-subtitle {
    font-size: 0.85rem;
    margin-bottom: 20px;
    
  }
  
  .about-text {

  font-size: 0.95rem;
}

.project-title {
  
  font-size: 1rem;
}

.project-desc {
  font-size: 0.9rem;
}

  /* HERO BUTTONS (MORE COMPACT) */
  .hero-buttons {
    max-width: 220px;
    gap: 6px;
  }

  .btn-primary,
  .btn-secondary {
    padding: 8px 10px;
    font-size: 0.8rem;
    min-height: 38px; /* keeps tap usability */
  }
  
  .btn-secondary {
    border-width: 0.5px; /* keeps tap usability */
  }
  #submitBtn {
  padding: 8px 10px;
  font-size: 0.8rem;
  min-height: 38px;
  }

  /* INPUT FIELDS (KEY FIX) */
  .inquiry-form input,
  .inquiry-form textarea,
  .inquiry-form select {
    padding: 8px 10px;
    font-size: 0.85rem;
    min-height: 38px;
  }

  textarea {
    min-height: 90px;
  }

  /* SECTION SPACING */
  section {
    padding: 24px 0;
  }

  .section-title {
    font-size: 1.5rem;
    margin-bottom: 16px;
  }

  /* CARDS */
  .service-card,
  .testimonial-card,
  .project-card {
    padding: 16px;
  }
  
  /* ================= CONSISTENT MOBILE BUTTONS ================= */

/* Mobile menu buttons/links */
.mobile-link {
  padding: 10px 14px;
  font-size: 0.9rem;
}

/* Project buttons */
.project-btn {
  padding: 8px 10px;
  font-size: 0.8rem;
  min-height: 38px;
}



/* Newsletter (email subscription) */
.newsletter-input {
  padding: 8px 10px;
  font-size: 0.85rem;
  min-height: 38px;
}

.newsletter-btn {
  padding: 8px 12px;
  font-size: 0.8rem;
  min-height: 38px;
}

/* Country prefix */
.phone-group select {
  max-width: 80px;
}

/* ================= FORM SPACING (IMPORTANT) ================= */

/* Reduce gap between form fields */
.inquiry-form {
  gap: 12px;
}

/* Slightly tighter label spacing */
.inquiry-form label {
  font-size: 0.8rem;
  margin-bottom: -6px;
}
}