:root {
  color: #20c997;
  color: #20c997;
  --branding-color: #20c997;
  --secondary-color: #f9f7fe;
  --heading-font-family: "Playfair Display", serif;
  --default-font-family: "Poppins", sans-serif;
}
body {
  font-family: var(--default-font-family);
  background: #fdf6f0;
}
a
h1,
h2,
h3,
h4,
h5,
h6 {
  color: rgb(221, 34, 66);
  font-family: var(--heading-font-family);
  font-weight: 28px
}
.hero {
  background-color: #20c997;        
  padding-bottom: 80px;
}
.hero h2 {
  font-family: var(--heading-font-family);
  font-weight: normal;
  line-height: 1.5;
  font-size: 24px;
  color: #20c997;
}

nav {
  padding: 20px 0;
}

nav ul {
  margin: 0;
  padding: 0;
}

nav li {
  display: inline;
  list-style: none;
  line-height: 42px;
  margin-left: 15px;
}

nav a {
  text-decoration: none;
  color: rgb(221, 34, 66);
  transition: all 100ms ease-in-out;
}

nav a:hover,
nav li.active a {
  color: rgb(221, 34, 66);
}

@media (max-width: 700px) {
  /* Keep logo and links on the same row */
  nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: nowrap;       /* stops them from stacking */
    padding: 15px 0;
  }

  /* Shrink the logo so there's room for the links */
  .logo img {
    width: 120px;
  }

  /* Keep the menu items in a row, tighter spacing */
  nav ul {
    display: flex;
    flex-wrap: nowrap;
  }

  nav li {
    margin-left: 10px;
    line-height: normal;
  }

  nav a {
    font-size: 14px;
  }
}

.logo img {
  display: block;
}

.hero {
  position: relative;
}

.hero-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  min-height: 80vh;
}

.hero-text {
  flex: 1;
}

.hero-image img {
  max-width: 600px;
  position: relative;
  right: -80px;
}

.hero-image img {
  max-width: 500px;
  width: 100%;
  height: auto;
}
.hero-content h1 {
  font-size: 64px;
  font-weight: 700;
  margin-bottom: 10px;
}
.hero p {
  font-family: var(--heading-font-family);
  font-size: 30px;
  font-weight: bold;
  line-height: 1;
  margin: 0;
  color: rgb(221, 34, 66);
}
p {
  font-weight: normal;
  font-size: 20px;
  line-height: 19px;
}
.hero-content h2 {
  font-size: 24px;
  font-weight: 400;
  color: black;
}

.btn-branding {
  background-color: rgb(221, 34, 66);
  color: white;
  padding: 12px 30px;
  border-radius: 4px;
  text-decoration: none;
  transition: all 200ms ease-in-out;
}

.btn-branding:hover {
  background-color: #b51d4c;
  color: white;
}
/* Services section */
.section-title {
  font-size: 32px;
  font-weight: 700;
  color: var(--branding-color);
}

.services {
  gap: 30px;
  margin-bottom: 60px;
  flex-wrap: wrap;
}

.service {
  flex: 1;
  min-width: 250px;
  
  padding: 30px;
  border-radius: 8px;
  text-align: center;
  transition: all 200ms ease-in-out;
}

.service:hover {
  transform: translateY(-5px);
box-shadow:0 10px 20px rgba(143, 51, 51, 0.1);

}
.service h3 {
  font-size: 20px;
  font-weight: 600;
  color: rgb(221, 34, 66);
  margin-bottom: 15px;
}

.service p {
  font-size: 15px;
  color: #666;
  line-height: 1.6;
}

.offer {
  padding: 80px 0;
  background-color: #fff0f3;
}

.small-container {
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 25px;
}

.row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 50px;
}

/* Both columns equal = 50/50 */
.col-2 {
  flex: 1;
  min-width: 300px;
}

.house-img {
  width: 100%;
  height: auto;
  border-radius: 8px;
  display: block;
}

.col-2 p {
  color: rgb(221, 34, 66);
  font-size: 16px;
  margin-bottom: 10px;
}

.col-2 h1 {
  font-size: 40px;
  font-weight: 700;
  margin-bottom: 15px;
}

.col-2 small {
  font-size: 15px;
  color: #666;
  line-height: 1.6;
  display: block;
}
@media (max-width: 700px) {
  .house-img {
    display: none;
  }
}

/* Project section */
@media (max-width: 900px) {

  .row {
    display: flex;
    flex-direction: column;
  }

  /* Ensure text always comes first */
  .col {
    width: 100%;
  }

  .project-description {
    text-align: center;
    padding: 0;
    margin-bottom: 20px;
  }

  /* Force images to appear AFTER text cleanly */
  .img-fluid {
    order: 2;
    width: 100%;
    max-width: 350px;
    height: auto;
    display: block;
    margin: 20px auto;
  }

  /* Make sure text stays first */
  .project-description {
    order: 1;
  }

  h2 {
    font-size: 24px;
  }

  p {
    font-size: 16px;
  }
}
.project-description h2 {
  font-size: 48px;
  font-weight: 700;
  margin-bottom: 15px;
}

.project-description p {
  color: #666666;
  font-size: 15px;
  line-height: 1.8;
  font-family:var(--default-font-family)
}


@media (max-width: 900px) {
  .project-description h2 {
    font-size: 32px;
  }

  .project-description p {
    font-size: 16px;
  }
}

  .img-fluid {
    width: 100%;
    max-width: 500px;
    height: auto;
    margin: 0 auto 20px auto;
    display: block;
  }

  .project-description {
    padding: 0;
    text-align: center;
  }

  h2 {
    font-size: 24px;
  }

  p {
    font-size: 16px;
  }


.container img {
  border-radius: 16px; /* adjust as you like */
}

/* Optional: ensure images clip to the radius */
.container img {
  overflow: hidden;
}

@media (max-width: 768px) {
  .row {
    flex-direction: column;
    text-align: center;
  }

  .house-img {
    max-width: 100%;
    margin-top: 20px;
  }
}

@media (max-width: 900px) {
  h1 {
    font-size: 44px;
  }
  h2 {
    font-size: 44px;
  }
  h3 {
    font-size: 26px;
  }

  .content {
    text-align: center;
    padding: 0;
  }

  .project-description {
    padding: 0;
    text-align: center;
  }
}

@media (max-width: 768px) {
  .hero-content {
    flex-direction: column;
    text-align: center;
  }

  .hero-image {
    justify-content: center;
    margin-top: 30px;
  }

  .hero-image img {
    max-width: 300px;
    right: 0;
  }
}


/* ===== Footer ===== */
.footer {
  width: 100%;
  background: #20c997;
  color:ccc;
  margin: 0;
  padding-top: 60px;
}

.footer-container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 40px;

  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 40px;
  box-sizing: border-box;
}

.footer-column {
  flex: 1;
  min-width: 220px;
}

.footer-column h3 {
  color: rgb(221, 34, 66);
  margin-bottom: 15px;
}

.footer-column p,
.footer-column li {
  font-size: 15px;
  line-height: 1.7;
  color: black;
}

.footer-column ul {
  list-style: none;
  padding: 0;
}

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

.footer-column a {
  color: #ccc;
  text-decoration: none;
}

.footer-column a:hover {
  color: rgb(221, 34, 66);
}

.social-links {
  display: flex;
  gap: 12px;
}

.social-links a {
  width: 40px;
  height: 40px;
  background: #3a3a3a;
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 50%;
  color: white;
}

.social-links a:hover {
  background: rgb(221, 34, 66);
}

.footer-bottom {
  border-top: 1px solid #444;
  margin-top: 40px;
  text-align: center;
  padding: 20px;
  color: rgb(221, 34, 66);
  font-size: 16px;
}

.footer-bottom p {
  font-size: 14px;
}

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


/* HERO SECTION */
.about-hero {
  width: 100%;
  height: 60vh;
  background: var(--branding-color);
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.about-overlay {
  background:#09063a;
  color: white;
  text-align: center;
  padding: 40px;
  width: 100%;
}

.about-hero h1 {
  font-size: 48px;
  margin-bottom: 10px;

}

.about-hero p {
  font-size: 18px;
  opacity: 0.9;
}

/* CONTENT SECTION */
.about-section {
  padding: 80px 20px;
  background: var(--secondary-color)
}

.container {
  max-width: 1100px;
  margin: auto;
}

.about-row {
  margin-bottom: 50px;
}

.about-text h2 {
  font-size: 32px;
  margin-bottom: 15px;
  color: #222;
}

.about-text p {
  font-size: 16px;
  line-height: 1.8;
  color: #555;
}

.about-text ul {
  list-style: none;
  padding-left: 0;
}

.about-text ul li {
  margin-bottom: 10px;
  font-size: 16px;
  color: #444;
}

/* CENTER SECTION */
.center {
  text-align: center;
}

.about-text h2 {
  color: rgb(221, 34, 66);
}

/* MOBILE RESPONSIVE */
@media (max-width: 768px) {
  .about-hero h1 {
    font-size: 32px;
  }

  .about-text h2 {
    font-size: 24px;
  }

  .about-section {
    padding: 50px 15px;
  }
}


/* NAVBAR */
.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 60px;
  background: white;
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}



/* MENU */
.nav-links {
  list-style: none;
  display: flex;
  gap: 25px;
  margin: 0;
  padding: 0;
}

.nav-links li a {
  text-decoration: none;
  color: #333;
  font-weight: 500;
  transition: 0.3s;
}

.nav-links li a:hover {
  color: #e63946;
}

/* ACTIVE LINK */
.nav-links .active a {
  color: #e63946;
  font-weight: 700;
}

/* MOBILE */
@media (max-width: 768px) {
  .navbar {
    flex-direction: column;
    gap: 10px;
    padding: 15px;
  }

  .nav-links {
    flex-direction: column;
    align-items: center;
    gap: 10px;
  }
}


/* Contact section styles - IComStay */
:root {
  --indigo: #1f2a44;
  --brand: rgb(221, 34, 66);
  --brand-dark: rgb(200, 28, 56);
  --muted: #6b7280;
  --border: #e6edf3;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  background: #f8fafc;
}

#contact {
  padding: 64px 20px;
  max-width: 1000px;
  margin: 0 auto;
  color: var(--indigo);
}

#contact h2 {
  margin: 0 0 8px;
  font-size: 28px;
  font-weight: 700;
  color: var(--brand);
}

#contact .muted {
  color: var(--muted);
  font-size: 16px;
  margin: 0;
  line-height: 1.6;
}

/* Grid wrapper */
.contact-grid {
  display: grid;
  gap: 24px;
  margin-top: 32px;
}

/* Card */
.contact-card {
  background: #ffffff;
  border-radius: 16px;
  padding: 28px;
  box-shadow: 0 8px 30px rgba(31, 42, 68, 0.06);
  border: 1px solid #f1f5f9;
}

/* Form layout — now targets the actual form by id */
#contactForm {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

/* Inputs, select, textarea */
#contactForm input[type="text"],
#contactForm input[type="email"],
#contactForm select,
#contactForm textarea {
  width: 100%;
  padding: 12px 14px;
  border-radius: 10px;
  border: 1px solid var(--border);
  background: #ffffff;
  color: var(--indigo);
  font-size: 15px;
  font-family: inherit;
  outline: none;
  transition: box-shadow 0.15s ease, border-color 0.15s ease;
}

#contactForm input::placeholder,
#contactForm textarea::placeholder {
  color: #9ca3af;
}

/* Brand-colored focus state */
#contactForm input:focus,
#contactForm select:focus,
#contactForm textarea:focus {
  border-color: var(--brand);
  box-shadow: 0 0 0 3px rgba(221, 34, 66, 0.12);
}

/* Select needs a custom arrow since we strip default styling */
#contactForm select {
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%236b7280' d='M6 8L0 0h12z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 36px;
  cursor: pointer;
}

/* Textarea specifics */
#contactForm textarea {
  min-height: 130px;
  resize: vertical;
  line-height: 1.5;
}

/* Consent checkbox row */
.contact-consent {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: 13px;
  color: var(--muted);
  line-height: 1.5;
  cursor: pointer;
}

.contact-consent input[type="checkbox"] {
  margin-top: 2px;
  accent-color: var(--brand);
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  cursor: pointer;
}

/* Primary button */
.btn-primary {
  background: var(--brand);
  color: #ffffff;
  padding: 13px 16px;
  border-radius: 10px;
  border: none;
  font-weight: 700;
  cursor: pointer;
  font-size: 15px;
  margin-top: 4px;
  transition: transform 0.08s ease, box-shadow 0.12s ease, background 0.12s ease;
}

.btn-primary:hover {
  background: var(--brand-dark);
  transform: translateY(-1px);
  box-shadow: 0 10px 24px rgba(221, 34, 66, 0.25);
}

.btn-primary:active {
  transform: translateY(0);
  box-shadow: none;
}

.btn-primary:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  transform: none;
  box-shadow: none;
}

/* Feedback message */
#contactFeedback {
  font-size: 14px;
  font-weight: 500;
}

/* Contact details card (right column) */
.contact-details {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.contact-details .item {
  display: flex;
  flex-direction: column;
}

.contact-details .label {
  font-weight: 700;
  color: var(--indigo);
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

.contact-details .value {
  color: var(--muted);
  font-size: 15px;
  margin-top: 6px;
  line-height: 1.5;
}

.contact-details .value a {
  color: var(--brand);
  text-decoration: none;
}

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

/* Two columns on medium+ screens */
@media (min-width: 720px) {
  .contact-grid {
    grid-template-columns: 1fr 340px;
    align-items: start;
  }
}


/* HOW IT WORKS SECTION */
#how {
  padding: 80px 0;
}

.how-bleed {
  width: 100%;
  background: linear-gradient(
    180deg,
    #f8fafc 0%,
    #f9f7fe 100%
  );
}

.how-inner {
  max-width: 1200px;
  margin: auto;
  padding: 0 20px;
}

/* Heading */

.section-heading {
  text-align: center;
  margin-bottom: 50px;
}

.section-heading h2 {
  font-size: 42px;
  font-weight: 700;
  color: #1f2a44;
  margin-bottom: 10px;
}

.section-heading p {
  color: #6b7280;
  font-size: 16px;
}

/* Two Columns */

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

/* Cards */

.card {
  background: #fff0f3;
  border-radius: 18px;
  padding: 30px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.08);
  transition: all 0.3s ease;
}

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

.card h3 {
  text-align: center;
  margin-bottom: 25px;
  color: #dd2242;
  font-size: 28px;
}

/* Steps */

.steps-grid {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.step {
  position: relative;
  padding: 20px 20px 20px 70px;
  background: #f9f7fe;
  border-radius: 12px;
  border: 1px solid #ececec;
}

.step-number {
  position: absolute;
  left: 20px;
  top: 20px;

  width: 35px;
  height: 35px;

  border-radius: 50%;
  background: #dd2242;
  color: #f9f7fe;

  display: flex;
  align-items: center;
  justify-content: center;

  font-weight: 700;
}

.step strong {
  display: block;
  margin-bottom: 8px;
  color: #1f2a44;
  font-size: 16px;
}

.step p {
  margin: 0;
  color: #666;
  line-height: 1.6;
  font-size: normal;
}

/* Mobile */

@media (max-width: 768px) {

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

  .section-heading h2 {
    font-size: 32px;
  }

  .card {
    padding: 20px;
  }

  .step {
    padding: 18px 18px 18px 60px;
  }
}