:root {
  --bg: #0b0f14;
  --section: #11161d;
  --primary: #ffffff;
  --accent: #c9a96e;
  --muted: #aaa;
}

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

body {
  font-family: 'Poppins', sans-serif;
  background: var(--bg);
  color: var(--primary);
}

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

/* NAVBAR */
header {
  position: fixed;
  width: 100%;
  top: 0;
  background: rgba(0,0,0,0.7);
  backdrop-filter: blur(10px);
  z-index: 1000;
}

nav {
  max-width: 1200px;
  margin: auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 20px;
}

.logo {
  font-weight: 600;
  letter-spacing: 4px;
}

nav ul {
  display: flex;
  gap: 20px;
  list-style: none;
}

nav a {
  color: var(--muted);
  text-decoration: none;
  transition: 0.3s;
}

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

/* HERO */
.hero {
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  background: linear-gradient(rgba(0,0,0,0.7), rgba(0,0,0,0.8)),
              url('../images/hero.jpg') center/cover no-repeat;
}

.hero h1 {
  font-size: 5rem;
  letter-spacing: 6px;
}

.hero p {
  margin-top: 15px;
  color: #ddd;
}

/* BUTTON */
.btn {
  margin-top: 25px;
  display: inline-block;
  padding: 12px 30px;
  border: 1px solid var(--accent);
  color: var(--accent);
  text-decoration: none;
  transition: 0.3s;
}

.btn:hover {
  background: var(--accent);
  color: black;
}

/* SECTION */
.section {
  padding: 120px 0;
}

.section.dark {
  background: var(--section);
}

.section h2 {
  text-align: center;
  margin-bottom: 40px;
  font-size: 2.5rem;
}

/* TEXT */
.text-center {
  text-align: center;
  max-width: 800px;
  margin: auto;
  color: #ccc;
}

/* GRID */
.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
}

/* CARD */
.card {
  background: rgba(255,255,255,0.05);
  padding: 30px;
  border-radius: 12px;
  transition: 0.4s;
  opacity: 0;
  transform: translateY(40px);
  border: 1px solid rgba(255,255,255,0.05);
}

.card.show {
  opacity: 1;
  transform: translateY(0);
}

.card:hover {
  transform: translateY(-12px);
  background: rgba(255,255,255,0.08);
}

/* SPLIT */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: center;
}

/* CONTENT BOX */
.content-box {
  background: rgba(255,255,255,0.04);
  padding: 40px;
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.3);
}

.split img {
  width: 100%;
  border-radius: 10px;
}

/* FORM */
form input,
form textarea {
  width: 100%;
  padding: 14px;
  margin-bottom: 12px;
  border-radius: 6px;
  border: none;
  background: #1a1f27;
  color: white;
}

form input:focus,
form textarea:focus {
  outline: 1px solid var(--accent);
}

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

/* NAVBAR SCROLL EFFECT */
header.scrolled {
  background: rgba(0,0,0,0.95);
  box-shadow: 0 5px 20px rgba(0,0,0,0.5);
}

/* NAV ACTIVE LINK */
nav a.active {
  color: var(--accent);
}

/* HERO ANIMATION */
.hero h1 {
  animation: fadeUp 1s ease forwards;
}

.hero p {
  animation: fadeUp 1.5s ease forwards;
}

/* FADE ANIMATION */
.fade-up {
  opacity: 0;
  transform: translateY(40px);
  transition: 0.8s ease;
}

.fade-up.show {
  opacity: 1;
  transform: translateY(0);
}

/* ICON STYLE */
.icon {
  font-size: 2rem;
  color: var(--accent);
  margin-bottom: 10px;
}

/* BUTTON EFFECT */
.btn {
  position: relative;
  overflow: hidden;
}

.btn::after {
  content: '';
  position: absolute;
  width: 100%;
  height: 100%;
  left: -100%;
  top: 0;
  background: var(--accent);
  transition: 0.4s;
  z-index: -1;
}

.btn:hover::after {
  left: 0;
}

.btn:hover {
  color: #000;
}

/* NAV HOVER UNDERLINE */
nav a::after {
  content: '';
  display: block;
  width: 0%;
  height: 2px;
  background: var(--accent);
  transition: 0.3s;
}

nav a:hover::after {
  width: 100%;
}

/* MOBILE IMPROVEMENT */
@media (max-width: 768px) {
  nav {
    flex-direction: column;
    gap: 10px;
  }
}

header {
  transition: all 0.4s ease;
}

header.hide {
  transform: translateY(-100%);
}

header.show {
  transform: translateY(0);
}

.logo {
  font-weight: 600;
  letter-spacing: 4px;
  transition: 0.3s;
}

.logo:hover {
  transform: scale(1.1);
  color: var(--accent);
}

.menu-toggle {
  display: none;
  font-size: 1.8rem;
  cursor: pointer;
}

@media (max-width: 768px) {

  .menu-toggle {
    display: block;
  }

  nav ul {
    position: absolute;
    top: 70px;
    right: 0;
    background: #000;
    flex-direction: column;
    width: 200px;
    display: none;
    padding: 20px;
  }

  nav ul.show {
    display: flex;
  }
}

body {
  opacity: 0;
  transition: opacity 0.6s ease;
}

body.loaded {
  opacity: 1;
}

.section {
  padding: 140px 0 100px; /* top spacing increased */
}

/* CENTER TITLE */
.center-title {
  text-align: center;
  margin-bottom: 60px;
  font-size: 2.8rem;
}

/* ABOUT GRID */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

/* IMAGE */
.about-image img {
  width: 100%;
  border-radius: 12px;
  box-shadow: 0 10px 40px rgba(0,0,0,0.4);
  transition: 0.4s;
}

.about-image img:hover {
  transform: scale(1.03);
}

/* CONTENT */
.about-content {
  color: #ccc;
  font-size: 1.05rem;
  line-height: 1.8;
}

/* FEATURES */
.about-features {
  margin-top: 30px;
}

.feature {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
}

.feature span {
  color: var(--accent);
  font-weight: bold;
}

/* MOBILE */
@media (max-width: 768px) {
  .about-grid {
    grid-template-columns: 1fr;
  }
}

/* ========================= */
/* 📱 FULL MOBILE OPTIMISATION */
/* ========================= */

@media (max-width: 768px) {

  /* NAVBAR FIX */
  nav {
    flex-direction: row;
    padding: 15px;
  }

  .menu-toggle {
    display: block;
  }

  nav ul {
    position: absolute;
    top: 60px;
    right: 0;
    width: 100%;
    background: #000;
    flex-direction: column;
    text-align: center;
    display: none;
  }

  nav ul.show {
    display: flex;
  }

  nav ul li {
    padding: 15px 0;
  }

  /* HERO FIX */
  .hero {
    height: auto;
    padding: 120px 20px 60px;
  }

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

  .hero p {
    font-size: 0.95rem;
  }

  /* SECTION SPACING */
  .section {
    padding: 80px 20px;
  }

  .section h2 {
    font-size: 2rem;
  }

  /* GRID FIX */
  .grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  /* ABOUT PAGE */
  .about-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .about-content {
    text-align: center;
  }

  .feature {
    justify-content: center;
  }

  /* CONTACT PAGE FIX */
  .content-box {
    padding: 25px;
  }

  /* SPLIT LAYOUT FIX */
  .split {
    grid-template-columns: 1fr;
  }

  /* BUTTON */
  .btn {
    width: 100%;
    text-align: center;
  }

  /* FOOTER */
  footer {
    font-size: 0.9rem;
  }
}

@media (max-width: 768px) {
  .services-grid {
    grid-template-columns: 1fr;
  }

  .service-card img {
    height: 200px;
  }
}

/* ========================= */
/* SERVICES (IMAGE FIX) */
/* ========================= */

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

/* CARD */
.service-card {
  background: rgba(255,255,255,0.04);
  border-radius: 12px;
  overflow: hidden;
  transition: 0.4s;
  box-shadow: 0 10px 40px rgba(0,0,0,0.4);
  border: 1px solid rgba(255,255,255,0.05);
}

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

/* IMAGE FIX (THIS IS THE KEY PART) */
.service-card img {
  width: 100%;
  height: 240px;
  object-fit: cover; /* VERY IMPORTANT */
  display: block;
}

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

.service-content h3 {
  margin-bottom: 10px;
}

.service-content p {
  color: #ccc;
  font-size: 0.95rem;
  line-height: 1.6;
}


/* ========================= */
/* PROJECTS IMAGE FIX */
/* ========================= */

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

/* CARD */
.project-card {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  background: #111;
  box-shadow: 0 10px 40px rgba(0,0,0,0.5);
}

/* IMAGE (FIXED PROPERLY) */
.project-card img {
  width: 100%;
  height: 260px;       /* controls size */
  object-fit: cover;   /* VERY IMPORTANT */
  display: block;
}

/* OVERLAY */
.project-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  padding: 20px;
  background: linear-gradient(transparent, rgba(0,0,0,0.95));
  color: white;
  opacity: 0;
  transform: translateY(20px);
  transition: 0.4s ease;
}

/* HOVER EFFECT */
.project-card:hover .project-overlay {
  opacity: 1;
  transform: translateY(0);
}

/* ZOOM EFFECT */
.project-card:hover img {
  transform: scale(1.08);
  transition: 0.5s;
}

@media (max-width: 768px) {
  .projects-grid {
    grid-template-columns: 1fr;
  }

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

/* ========================= */
/* LIGHTBOX (FULL SCREEN IMAGE) */
/* ========================= */

.lightbox {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.95);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 9999;
}

/* IMAGE */
.lightbox-img {
  max-width: 90%;
  max-height: 90%;
  border-radius: 10px;
  box-shadow: 0 10px 50px rgba(0,0,0,0.8);
  animation: zoomIn 0.3s ease;
}

/* CLOSE BUTTON */
.lightbox .close {
  position: absolute;
  top: 30px;
  right: 40px;
  font-size: 2.5rem;
  color: white;
  cursor: pointer;
}

/* ANIMATION */
@keyframes zoomIn {
  from {
    transform: scale(0.8);
    opacity: 0;
  }
  to {
    transform: scale(1);
    opacity: 1;
  }
}
.project-card img {
  cursor: pointer;
}

/* ========================= */
/* WHATSAPP FLOAT BUTTON */
/* ========================= */

.whatsapp-float {
  position: fixed;
  bottom: 25px;
  right: 25px;
  width: 60px;
  height: 60px;
  background: #2b4033;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 25px rgba(0,0,0,0.4);
  z-index: 9999;
  transition: 0.3s ease;
}

/* ICON */
.whatsapp-float img {
  width: 30px;
  height: 30px;
}

/* HOVER EFFECT */
.whatsapp-float:hover {
  transform: scale(1.1);
  box-shadow: 0 10px 35px rgba(0,0,0,0.6);
}

/* FLOAT ANIMATION */
.whatsapp-float {
  animation: floatBtn 2s infinite ease-in-out;
}

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

/* MOBILE */
@media (max-width: 768px) {
  .whatsapp-float {
    width: 55px;
    height: 55px;
    bottom: 20px;
    right: 20px;
  }

  .whatsapp-float img {
    width: 26px;
  }
}

/* CONTACT SELECT */
form select {
  width: 100%;
  padding: 14px;
  margin-bottom: 12px;
  border-radius: 6px;
  border: none;
  background: #1a1f27;
  color: white;
}

/* ========================= */
/* PREMIUM ADDITIONAL SERVICES */
/* ========================= */

.extra-services-wrapper {
  margin-top: 60px;
}

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

/* CARD */
.extra-card {
  background: linear-gradient(145deg, #0f1720, #0b1118);
  border-radius: 14px;
  padding: 35px 25px;
  text-align: center;
  transition: 0.4s ease;
  border: 1px solid rgba(255,255,255,0.05);
  position: relative;
  overflow: hidden;
}

/* GLOW EFFECT */
.extra-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at top left, rgba(201,169,110,0.15), transparent 60%);
  opacity: 0;
  transition: 0.4s;
}

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

/* ICON */
.extra-card .icon {
  font-size: 2.2rem;
  margin-bottom: 15px;
  color: var(--accent);
}

/* TITLE */
.extra-card h3 {
  font-size: 1rem;
  color: #e5e5e5;
  font-weight: 500;
}

/* HOVER */
.extra-card:hover {
  transform: translateY(-10px) scale(1.03);
  border-color: rgba(201,169,110,0.4);
}

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

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

@media (max-width: 768px) {
  .extra-services-grid {
    grid-template-columns: 1fr;
  }
}

/* ========================= */
/* CONTACT HERO */
/* ========================= */

.contact-hero {
  padding: 160px 20px 80px;
  text-align: center;
  background: linear-gradient(to bottom, #0b0f14, #11161d);
}

.contact-hero h1 {
  font-size: 3rem;
  margin-bottom: 10px;
}

.contact-hero p {
  color: #bbb;
  max-width: 600px;
  margin: auto;
}

/* ========================= */
/* CONTACT GRID */
/* ========================= */

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: start;
}

/* LEFT SIDE */
.contact-info {
  background: rgba(255,255,255,0.04);
  padding: 40px;
  border-radius: 12px;
}

.info-item {
  display: flex;
  gap: 15px;
  margin-bottom: 20px;
  align-items: flex-start;
}

.info-item span {
  font-size: 1.2rem;
  color: var(--accent);
}

/* RIGHT SIDE FORM */
.contact-form-box {
  background: rgba(255,255,255,0.04);
  padding: 40px;
  border-radius: 12px;
}

/* FLOATING LABEL INPUT */
.form-group {
  position: relative;
  margin-bottom: 20px;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 14px;
  background: #1a1f27;
  border: none;
  border-radius: 6px;
  color: white;
}

.form-group label {
  position: absolute;
  top: 14px;
  left: 14px;
  color: #888;
  font-size: 0.9rem;
  transition: 0.3s;
  pointer-events: none;
}

.form-group input:focus + label,
.form-group textarea:focus + label,
.form-group input:not(:placeholder-shown) + label,
.form-group textarea:not(:placeholder-shown) + label {
  top: -8px;
  left: 10px;
  font-size: 0.75rem;
  color: var(--accent);
  background: #11161d;
  padding: 0 5px;
}

/* MOBILE */
@media (max-width: 768px) {
  .contact-grid {
    grid-template-columns: 1fr;
  }
}

/* ========================= */
/* CONTACT PAGE CLEAN DESIGN */
/* ========================= */

.contact-section {
  padding: 120px 0 80px;
}

/* HEADER */
.contact-header {
  text-align: center;
  margin-bottom: 60px;
}

.contact-header h1 {
  font-size: 2.5rem;
  margin-bottom: 10px;
}

.contact-header p {
  color: #aaa;
}

/* LAYOUT */
.contact-wrapper {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
}

/* LEFT SIDE */
.contact-left {
  padding: 30px;
}

.contact-left h3 {
  margin-bottom: 15px;
}

.contact-left p {
  margin-bottom: 15px;
  color: #ccc;
  line-height: 1.6;
}

.contact-left span {
  display: block;
  font-size: 0.8rem;
  color: var(--accent);
  margin-bottom: 3px;
}

/* DIVIDER */
.contact-line {
  height: 1px;
  background: rgba(255,255,255,0.08);
  margin: 20px 0;
}

/* RIGHT SIDE */
.contact-right {
  background: rgba(255,255,255,0.03);
  padding: 40px;
  border-radius: 10px;
  border: 1px solid rgba(255,255,255,0.05);
}

.contact-right h3 {
  margin-bottom: 20px;
}

/* FORM */
.contact-right input,
.contact-right textarea,
.contact-right select {
  width: 100%;
  padding: 14px;
  margin-bottom: 15px;
  border-radius: 6px;
  border: none;
  background: #161b22;
  color: #fff;
}

/* BUTTON */
.btn-primary {
  width: 100%;
  padding: 14px;
  background: var(--accent);
  color: #000;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  font-weight: 500;
  transition: 0.3s;
}

.btn-primary:hover {
  opacity: 0.85;
}

/* MOBILE */
@media (max-width: 768px) {
  .contact-wrapper {
    grid-template-columns: 1fr;
  }
}

/* ========================= */
/* PROJECTS HERO */
/* ========================= */

.projects-hero {
  padding: 140px 20px 60px;
  text-align: center;
  background: linear-gradient(to bottom, #0b0f14, #11161d);
}

.projects-hero h1 {
  font-size: 2.8rem;
  margin-bottom: 10px;
}

.projects-hero p {
  color: #aaa;
}

/* ========================= */
/* FORCE FOOTER TO BOTTOM */
/* ========================= */

body {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.projects-section {
  flex: 1; /* THIS FIXES YOUR FOOTER ISSUE */
}

/* ========================= */
/* PROJECT GRID IMPROVEMENT */
/* ========================= */

.projects-grid {
  margin-top: 20px;
}

/* CARD IMPROVEMENT */
.project-card {
  border-radius: 14px;
  overflow: hidden;
  transition: 0.4s ease;
}

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

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

/* OVERLAY CLEANER */
.project-overlay h3 {
  font-size: 1.2rem;
  margin-bottom: 5px;
}

.project-overlay p {
  font-size: 0.9rem;
  color: #ccc;
}

.logo img {
  height: 100px; /* increased from 40px */
  width: auto;
  object-fit: contain;
  transition: all 0.3s ease;
}

/* Hover effect (clean, not too aggressive) */
.logo img:hover {
  transform: scale(1.08);
}


