/* SECTION */
.service-hero {
  padding: 120px 20px;
  position: relative;
  overflow: hidden;
}

/* SOFT BACKGROUND GLOW */
.service-hero::before {
  content: "";
  position: absolute;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(26,43,76,0.08), transparent);
  top: -200px;
  right: -150px;
}

/* CONTAINER */
.container {
  max-width: 1200px;
  margin: auto;
}

/* GRID */
.service-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 70px;
  align-items: center;
}

/* LEFT */
.service-left h2 {
  font-size: 30px;
  font-weight: 400;
  color: #1a2b4c;
  margin-bottom: 18px;
  line-height: 1.3;
  font-family: 'Playfair Display', serif;
}

.service-left p {
  font-size: 14px;
  color: #6c7a92;
  line-height: 1.8;
  margin-bottom: 35px;
}

/* FEATURE GRID */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 15px;
}

/* FEATURE CARD */
.feature-card {
  background: rgba(255,255,255,0.55);
  backdrop-filter: blur(12px);
  padding: 18px;
  border-radius: 14px;
  border: 1px solid rgba(26,43,76,0.08);
  transition: 0.35s;
  display: flex;
  gap: 12px;
  align-items: flex-start;
}

/* ICON */
.feature-card svg {
  width: 22px;
  height: 22px;
  stroke: #1a2b4c;
  flex-shrink: 0;
}

/* TEXT */
.feature-card span {
  font-size: 13px;
  color: #1a2b4c;
}

/* HOVER */
.feature-card:hover {
  transform: translateY(-6px);
  background: #fff;
  box-shadow: 0 15px 35px rgba(26,43,76,0.08);
}

/* BUTTON */
.service-btn {
  display: inline-block;
  margin-top: 40px;
  padding: 12px 30px;
  background: #1a2b4c;
  color: #fff;
  border-radius: 40px;
  text-decoration: none;
  font-size: 14px;
  transition: 0.3s;
}

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

/* RIGHT */
.service-right {
  position: relative;
}

/* IMAGE */
.service-right img {
  width: 100%;
  height: 520px;
  object-fit: cover;
  border-radius: 20px;
  transition: 0.4s;
}

/* FLOATING STATS */
.floating-box {
  position: absolute;
  bottom: 30px;
  left: -50px;
  background: rgba(255,255,255,0.85);
  backdrop-filter: blur(10px);
  padding: 22px;
  border-radius: 16px;
  box-shadow: 0 25px 50px rgba(26,43,76,0.15);
  width: 240px;
}

/* TEXT */
.floating-box h3 {
  font-size: 24px;
  color: #1a2b4c;
}

.floating-box p {
  font-size: 12px;
  color: #6c7a92;
  margin-top: 5px;
}

/* IMAGE HOVER */
.service-right:hover img {
  transform: scale(1.04);
}

.service-right:hover .floating-box {
  transform: translateY(-8px);
}

/* MOBILE */
@media (max-width: 992px) {

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

  /* 👇 ADD THIS */
  .service-right {
    order: -1;
  }

  .service-right img {
    height: 400px;
  }

  .floating-box {
    position: relative;
    left: 0;
    bottom: 0;
    margin-top: 20px;
    display: none;
  }
}

@media (max-width: 600px) {

  .service-hero {
    padding: 80px 15px;
  }

  .service-left h2 {
    font-size: 24px;
    text-align: center;
  }

  .service-left p {
    text-align: center;
  }

  .feature-grid {
        grid-template-columns: 2fr 1fr;
        /* align-items: center; */
        /* justify-content: center; */
        align-content: center;
        justify-items: center;
  }

  .service-btn {
    display: block;
    text-align: center;
  }
}

/* process section */
.process-section {
  padding: 120px 20px;
  position: relative;
  overflow: hidden;
}

/* BACKGROUND GLOW */
.process-section::before {
  content: "";
  position: absolute;
  width: 700px;
  height: 700px;
  background: radial-gradient(circle, rgba(26,43,76,0.08), transparent);
  top: -250px;
  left: -200px;
}

/* CONTAINER */
.container {
  max-width: 1200px;
  margin: auto;
}

/* HEADER */
.process-head {
  text-align: center;
  margin-bottom: 90px;
}

.process-head h2 {
  font-size: 30px;
  font-weight: 400;
  color: #1a2b4c;
  margin-bottom: 10px;
  font-family: 'Playfair Display', serif;
}

.process-head p {
  font-size: 14px;
  color: #6c7a92;
}

/* TIMELINE */
.timeline {
  display: flex;
  justify-content: space-between;
  position: relative;
}

/* CURVED LINE */
.timeline::before {
  content: "";
  position: absolute;
  top: 60px;
  left: 0;
  width: 100%;
  height: 2px;
  background: linear-gradient(to right, transparent, #1a2b4c, transparent);
  opacity: 0.2;
}

/* ITEM */
.timeline-item {
  width: 18%;
  text-align: center;
  position: relative;
}

/* STEP DOT */
.step-dot {
  width: 65px;
  height: 65px;
  background: #1a2b4c;
  color: #fff;
  border-radius: 50%;
  margin: auto;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 500;
  box-shadow: 0 15px 30px rgba(26,43,76,0.25);
  transition: 0.3s;
}

/* CARD */
.step-card {
  margin-top: 30px;
  padding: 25px 20px;
  border-radius: 18px;
  background: rgba(255,255,255,0.6);
  backdrop-filter: blur(14px);
  border: 1px solid rgba(26,43,76,0.08);
  transition: 0.35s;
}

/* TITLE */
.step-card h3 {
  font-size: 15px;
  color: #1a2b4c;
  margin-bottom: 10px;
}

/* TEXT */
.step-card p {
  font-size: 13px;
  color: #6c7a92;
  line-height: 1.6;
}

/* FLOAT EFFECT (ALT CARDS) */
.timeline-item:nth-child(even) .step-card {
  transform: translateY(40px);
}

/* HOVER */
.timeline-item:hover .step-dot {
  background: #2f436f;
  transform: scale(1.1);
}

.timeline-item:hover .step-card {
  transform: translateY(-8px);
  background: #fff;
  box-shadow: 0 25px 50px rgba(26,43,76,0.12);
}

/* ================= MOBILE ================= */

@media (max-width: 992px) {

  .timeline {
    flex-direction: column;
    gap: 40px;
  }

  .timeline::before {
    display: none;
  }

  .timeline-item {
    width: 100%;
    display: flex;
    gap: 20px;
    align-items: flex-start;
    text-align: left;
  }

  .step-dot {
    width: 55px;
    height: 55px;
    flex-shrink: 0;
  }

  .step-card {
    margin-top: 0;
  }

  .timeline-item:nth-child(even) .step-card {
    transform: none;
  }
}

@media (max-width: 600px) {

  .process-section {
    padding: 80px 15px;
  }

  .process-head h2 {
    font-size: 24px;
  }
}

/* detail explanation */
/* SECTION */
.design-section {
  position: relative;
  padding: 140px 20px;
  border-radius: 24px;
  overflow: hidden;

  background: url('https://images.unsplash.com/photo-1600585154340-be6161a56a0c') center/cover no-repeat;
}

/* DARK + DEPTH OVERLAY */
.design-overlay {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 20% 30%, rgba(255,255,255,0.08), transparent 40%),
    linear-gradient(rgba(26,43,76,0.92), rgba(26,43,76,0.75));
}

/* CONTENT */
.design-content {
  position: relative;
  z-index: 2;
  max-width: 950px;
  margin: auto;
  text-align: center;
  color: #fff;
}

/* LABEL */
.design-label {
  font-size: 12px;
  letter-spacing: 3px;
  text-transform: uppercase;
  opacity: 0.7;
}

/* TITLE */
.design-content h2 {
  font-size: 30px;
  font-weight: 300;
  margin: 15px 0;
  line-height: 1.3;
  font-family: 'Playfair Display', serif;
}

.design-content h2 strong {
  font-weight: 500;
}

/* DESC */
.design-desc {
  font-size: 15px;
  line-height: 1.9;
  opacity: 0.85;
  margin-bottom: 50px;
}

/* FEATURES */
.design-features {
  display: flex;
  justify-content: center;
  gap: 25px;
  flex-wrap: wrap;
}

/* GLASS CARD */
.design-box {
  width: 240px;
  padding: 28px 22px;
  border-radius: 16px;

  background: rgba(255,255,255,0.08);
  backdrop-filter: blur(14px);

  border: 1px solid rgba(255,255,255,0.15);

  transition: 0.4s;
  position: relative;
  overflow: hidden;
}

/* LIGHT GLOW EFFECT */
.design-box::before {
  content: "";
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(255,255,255,0.12), transparent 60%);
  opacity: 0;
  transition: 0.4s;
}

/* ICON */
.design-box .icon {
  width: 45px;
  height: 45px;
  border-radius: 50%;
  background: rgba(255,255,255,0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 15px;
}

.design-box svg {
  width: 20px;
  height: 20px;
  stroke: #fff;
  fill: none;
  stroke-width: 2;
}

/* TEXT */
.design-box h4 {
  font-size: 15px;
  margin-bottom: 8px;
}

.design-box p {
  font-size: 13px;
  opacity: 0.8;
}

/* HOVER */
.design-box:hover {
  transform: translateY(-10px) scale(1.02);
  background: rgba(255,255,255,0.15);
  box-shadow: 0 25px 50px rgba(0,0,0,0.25);
}

.design-box:hover::before {
  opacity: 1;
}

/* ================= MOBILE ================= */

@media (max-width: 768px) {

  .design-section {
    padding: 90px 15px;
  }

  .design-content h2 {
    font-size: 26px;
  }

  .design-desc {
    font-size: 14px;
  }

  .design-features {
    flex-direction: column;
    align-items: center;
  }

  .design-box {
    width: 100%;
    max-width: 320px;
  }
}

/* types of custom homes */
/* SECTION */
.types-section {
  padding: 100px 20px;
  background: #f7f9fc;
}

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

/* HEADING */
.types-head {
  text-align: center;
  margin-bottom: 60px;
}

.types-head h2 {
  font-size: 30px;
  font-weight: 400;
  color: #1a2b4c;
  margin-bottom: 10px;
  font-family: 'Playfair Display', serif;
}

.types-head p {
  font-size: 14px;
  color: #6c7a92;
}

/* GRID */
.types-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 25px;
}

/* CARD */
.type-card {
  background: #fff;
  border-radius: 18px;
  overflow: hidden;
  transition: 0.4s ease;
  box-shadow: 0 15px 35px rgba(26,43,76,0.08);
  position: relative;
}

/* IMAGE */
.type-image {
  height: 220px;
  overflow: hidden;
}

.type-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: 0.6s ease;
}

/* CONTENT */
.type-content {
  padding: 20px;
}

.type-content h3 {
  font-size: 18px;
  color: #1a2b4c;
  margin-bottom: 8px;
}

.type-content p {
  font-size: 14px;
  color: #6c7a92;
  line-height: 1.6;
}

/* PREMIUM HOVER */
.type-card:hover {
  transform: translateY(-12px);
  box-shadow: 0 25px 60px rgba(26,43,76,0.15);
}

.type-card:hover img {
  transform: scale(1.08);
}

/* TOP ACCENT LINE */
.type-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  height: 4px;
  width: 100%;
  background: linear-gradient(90deg, #1a2b4c, #3a4f7a);
  opacity: 0;
  transition: 0.3s;
}

.type-card:hover::before {
  opacity: 1;
}

/* ================= RESPONSIVE ================= */

@media (max-width: 992px) {
  .types-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {

  .types-section {
    padding: 70px 15px;
  }

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

  .types-head h2 {
    font-size: 24px;
  }
}

/* our projects */
/* SECTION */
.projects-section {
  padding: 40px 20px;
  background: #ffffff;
}

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

/* HEADING */
.projects-head {
  text-align: center;
  margin-bottom: 60px;
}

.projects-head h2 {
  font-size: 30px;
  font-weight: 400;
  color: #1a2b4c;
  margin-bottom: 10px;
  font-family: 'Playfair Display', serif;
}

.projects-head p {
  font-size: 14px;
  color: #6c7a92;
}

/* GRID */
.projects-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 25px;
}

/* CARD */
.project-card {
  position: relative;
  border-radius: 18px;
  overflow: hidden;
  cursor: pointer;
}

/* IMAGE */
.project-card img {
  width: 100%;
  height: 260px;
  object-fit: cover;
  transition: 0.6s ease;
}

/* OVERLAY */
.overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(26,43,76,0.1),
    rgba(26,43,76,0.85)
  );
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 20px;
  opacity: 0;
  transition: 0.4s ease;
}

/* TEXT */
.overlay h3 {
  font-size: 16px;
  color: #fff;
  margin-bottom: 5px;
}

.overlay span {
  font-size: 13px;
  color: #dfe6f2;
}

/* HOVER EFFECT */
.project-card:hover img {
  transform: scale(1.1);
}

.project-card:hover .overlay {
  opacity: 1;
}

/* CTA */
.projects-cta {
  text-align: center;
  margin-top: 50px;
}

.projects-cta a {
  display: inline-block;
  padding: 12px 25px;
  background: #1a2b4c;
  color: #fff;
  text-decoration: none;
  font-size: 14px;
  border-radius: 30px;
  transition: 0.3s;
}

.projects-cta a:hover {
  background: #2f426e;
}

/* ================= RESPONSIVE ================= */

@media (max-width: 992px) {
  .projects-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {

  .projects-section {
    padding: 70px 15px;
  }

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

  .project-card img {
    height: 220px;
  }

  .projects-head h2 {
    font-size: 24px;
  }
}

/* testimonials */
/* SECTION */
.testimonials-section{
  padding:100px 20px;
  background:linear-gradient(180deg,#f7f9fc,#eef2f7);
}

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

/* HEADING */
.testimonials-head{
  text-align:center;
  margin-bottom:60px;
}
.testimonials-head h2{
  font-size:30px;
  font-weight:400;
  color:#1a2b4c;
  font-family: 'Playfair Display', serif;
}
.testimonials-head p{
  font-size:14px;
  color:#6c7a92;
}

/* WRAPPER */
.testimonials-wrapper{
  overflow:hidden;
}

/* TRACK */
.testimonials-track{
  display:flex;
  gap:25px;
  will-change:transform;
  cursor:grab;
}

/* CARD */
.testimonial-card{
  min-width:320px;
  padding:25px;
  border-radius:20px;

  background:rgba(255,255,255,0.75);
  backdrop-filter:blur(12px);

  border:1px solid rgba(255,255,255,0.4);
  box-shadow:0 20px 40px rgba(0,0,0,0.05);

  transition:0.4s;
  transform:scale(0.9);
  opacity:0.6;
}

.testimonial-card.active{
  transform:scale(1.05);
  opacity:1;
}

.testimonial-card p{
  font-size:14px;
  color:#4c5a73;
  line-height:1.7;
  margin-bottom:15px;
}

/* STARS */
.stars{
  color:#f5b50a;
  margin-bottom:10px;
}

/* CLIENT */
.client{
  display:flex;
  align-items:center;
  gap:10px;
}

.avatar{
  width:45px;
  height:45px;
  border-radius:50%;
  background:#1a2b4c;
  color:#fff;
  display:flex;
  align-items:center;
  justify-content:center;
}

.client h4{font-size:14px;color:#1a2b4c;}
.client span{font-size:12px;color:#7a879c;}

/* MOBILE */
@media(max-width:768px){
  .testimonial-card{min-width:260px;}
  .testimonials-section{padding:70px 15px;}
  .testimonials-head h2{font-size:24px;}
}

/* commitment */
.commitment-section {
  padding: 40px 20px;
  background: #ffffff;
}

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

.commitment-wrapper {
  display: flex;
  align-items: center;
  gap: 60px;
}

/* IMAGE */
.commitment-image {
  flex: 1;
}

.commitment-image img {
  width: 100%;
  border-radius: 20px;
  box-shadow: 0 25px 50px rgba(0,0,0,0.08);
}

/* CONTENT */
.commitment-content {
  flex: 1;
}

.commitment-content h2 {
  font-size: 30px;
  font-weight: 400;
  color: #1a2b4c;
  margin-bottom: 15px;
  font-family: 'Playfair Display', serif;
}

.sub {
  font-size: 14px;
  color: #6b7a90;
  margin-bottom: 30px;
  line-height: 1.6;
}

/* POINTS */
.points {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.point {
  display: flex;
  gap: 15px;
  align-items: flex-start;

  padding: 15px;
  border-radius: 12px;
  transition: 0.3s;
}

.point:hover {
  background: #f4f7fb;
  transform: translateX(5px);
}

/* ICON */
.icon {
  width: 45px;
  height: 45px;
  border-radius: 10px;
  background: #1a2b4c;
  display: flex;
  align-items: center;
  justify-content: center;
}

.icon svg {
  width: 20px;
  height: 20px;
  stroke: #fff;
}

/* TEXT */
.point h4 {
  font-size: 15px;
  color: #1a2b4c;
  margin-bottom: 5px;
}

.point p {
  font-size: 13px;
  color: #6c7a92;
  line-height: 1.5;
}

/* MOBILE */
@media (max-width: 992px) {
  .commitment-wrapper {
    flex-direction: column;
  }
}

@media (max-width: 600px) {

  .commitment-section {
    padding: 70px 15px;
  }

  .commitment-content h2 {
    font-size: 24px;
    text-align: center;
  }

  .sub {
    text-align: center;
  }

  .points {
    align-items: center;
  }

  .point {
    max-width: 400px;
  }
}

/* cta */
.cta-section{
  padding:100px 20px;
  background:linear-gradient(135deg,#1a2b4c,#243a63);
  position:relative;
  overflow:hidden;
  margin-bottom: 40px;
}

/* FLOATING SHAPES */
.cta-section::before,
.cta-section::after{
  content:"";
  position:absolute;
  border-radius:50%;
  background:rgba(255,255,255,0.08);
  filter:blur(80px);
}

.cta-section::before{
  width:350px;
  height:350px;
  top:-100px;
  left:-100px;
}

.cta-section::after{
  width:300px;
  height:300px;
  bottom:-80px;
  right:-80px;
}

/* CONTAINER */
.cta-container{
  max-width:1000px;
  margin:auto;
  position:relative;
  z-index:2;
}

/* CARD */
.cta-box{
  background:rgba(255,255,255,0.08);
  backdrop-filter:blur(12px);
  border:1px solid rgba(255,255,255,0.15);
  border-radius:24px;
  padding:60px 40px;
  text-align:center;
  box-shadow:0 30px 60px rgba(0,0,0,0.15);
}

/* TITLE */
.cta-box h2{
  font-size:30px;
  font-weight:400;
  color:#fff;
  margin-bottom:15px;
  font-family: 'Playfair Display', serif;
}

/* TEXT */
.cta-box p{
  font-size:14px;
  color:#d6e0f2;
  max-width:520px;
  margin:auto;
  line-height:1.6;
  margin-bottom:35px;
}

/* BUTTONS */
.cta-actions{
  display:flex;
  justify-content:center;
  gap:15px;
  flex-wrap:wrap;
}

/* PRIMARY BUTTON */
.btn-primary{
  background:#ffffff;
  color:#1a2b4c;
  padding:14px 26px;
  border-radius:30px;
  font-size:14px;
  text-decoration:none;
  transition:0.3s;
  font-weight:500;
}

.btn-primary:hover{
  transform:translateY(-3px);
  box-shadow:0 12px 25px rgba(0,0,0,0.2);
}

/* OUTLINE BUTTON */
.btn-outline{
  border:1px solid rgba(255,255,255,0.5);
  color:#fff;
  padding:14px 26px;
  border-radius:30px;
  font-size:14px;
  text-decoration:none;
  transition:0.3s;
}

.btn-outline:hover{
  background:rgba(255,255,255,0.1);
  transform:translateY(-3px);
}

/* SMALL TRUST TEXT */
.cta-note{
  margin-top:20px;
  font-size:12px;
  color:#aab7d1;
}

/* MOBILE */
@media(max-width:600px){

  .cta-section{
    padding:70px 15px;
  }

  .cta-box{
    padding:40px 20px;
  }

  .cta-box h2{
    font-size:24px;
  }

  .cta-box p{
    font-size:13px;
  }

  .btn-primary,
  .btn-outline{
    width:100%;
  }

}