/* Reset & Base */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
body {
  font-family: 'Poppins', sans-serif;
  background: #fdfcfb;
  color: #2e2e2e;
  line-height: 1.6;
  padding-top: 72px; /* Prevent content from being hidden behind fixed navbar */
}

/* Navbar */
.navbar {
  background: #2a2e35;
  color: #fdfcfb;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 2rem;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  transition: background 0.3s ease, box-shadow 0.3s ease;
  cursor: pointer;
}

.navbar.scrolled {
  background: rgba(30, 58, 95, 0.85);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.logo {
  font-weight: 700;
  font-size: 1.6rem;
  letter-spacing: 1px;
}

.nav-links {
  display: flex;
  list-style: none;
  gap: 2rem;
}

.nav-links li a {
  color: white;
  text-decoration: none;
  font-weight: 500;
  position: relative;
  transition: color 0.3s ease;
}

.nav-links li a::after {
  content: '';
  position: absolute;
  width: 0%;
  height: 2px;
  bottom: -4px;
  left: 0;
  background-color: #f4a261;
  transition: width 0.3s ease;
}

.nav-links li a:hover::after {
  width: 100%;
}

.hamburger {
  display: none;
  font-size: 2rem;
  cursor: pointer;
  color: white;
}

/* Responsive */
@media (max-width: 768px) {
  .nav-links {
    display: none;
    flex-direction: column;
    background: rgba(30, 58, 95, 0.95);
    position: absolute;
    top: 60px;
    right: 20px;
    padding: 1rem;
    border-radius: 8px;
    width: 200px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.2);
  }

  .nav-links.active {
    display: flex;
    animation: fadeInDown 0.3s ease forwards;
  }

  .hamburger {
    display: block;
  }
}

@keyframes fadeInDown {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
.hamburger {
  display: none;
  font-size: 2rem;
  cursor: pointer;
  color: white;
}

.about {
  background: linear-gradient(to bottom right, #f5f2ed, #eaeaea);
  padding: 4rem 2rem;
}

.about h2 {
  font-size: 2.8rem;
  font-weight: 600;
  color: #2c3e50;
  margin-bottom: 2rem;
  letter-spacing: 1px;
}
/* Hero Section */
.hero {
  background: #e6ecf1;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-content {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 0;
}

.hero-heading {
  font-size: 4rem;
  font-weight: 700;
  margin-bottom: 2rem;
  color: #1e3a5f;
}

.hero-logo {
  max-width: 400px;
  width: 100%;
  height: auto;
  margin-bottom: 2.5rem;
}
.hero-tagline {
  font-size: 1.5rem;
  max-width: 700px;
  margin: 0 auto;
  color: #444;
}

.scroll-arrow {
  font-size: 2rem;
  margin-top: 2rem;
  animation: bounce 1.5s infinite;
  color: #f4a261;
  cursor: pointer;
}

/* Animations */
@keyframes fadeInUp {
  from {
    transform: translateY(40px);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

@keyframes bounce {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(10px); }
}

/* Animation Keyframes */
@keyframes fadeInUp {
  from {
    transform: translateY(40px);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}
.hero-text h1 {
  font-size: 3rem;
  margin-bottom: 1rem;
  text-shadow: 1px 1px 5px rgba(0,0,0,0.5);
}
.hero-text p {
  font-size: 1.2rem;
}
.scroll-arrow {
  font-size: 2rem;
  margin-top: 2rem;
  animation: bounce 1.5s infinite;
  cursor: pointer;
}

/* Sections */
/* Global Section Styling */
section {
  padding: 4rem 2rem;
  text-align: center;
}

h2 {
  font-size: 2rem;
  color: #1e3a5f;
  margin-bottom: 2rem;
}

/* Services Section */
.services {
  background: #f5f2ed;
  padding: 4rem 2rem;
  text-align: center;
}

.services h2 {
  font-size: 2.5rem;
  color: #2c3e50;
  margin-bottom: 3rem;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.2rem;
  perspective: 1000px;
}

.service-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  height: 100%;
  align-self: stretch;
}

.service-title {
  font-size: 1.3rem;
  margin-bottom: 1rem;
  color: #1e3a5f;
  background: none;
  padding: 0;
  border-radius: 0;
  box-shadow: none;
  text-align: center;
  font-weight: 600;
}

/* Service Card Base */
.service-card {
  position: relative;
  border-radius: 12px;
  padding: 2rem;
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
  transition: box-shadow 0.4s cubic-bezier(.25,.8,.25,1), transform 0.4s cubic-bezier(.25,.8,.25,1);
  transform-style: preserve-3d;
  will-change: transform;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  color: transparent;
  overflow: hidden;
  flex: 1 1 auto;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  height: 100%;
}

/* Hover Effects */
.service-card:hover {
  /* Remove tilt and scale, add 3D lift effect */
  transform: translateZ(20px);
  box-shadow: 0 16px 32px rgba(0,0,0,0.18), 0 1.5px 6px rgba(0,0,0,0.10);
  color: #fff;
}

.service-card::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 12px;
  box-shadow: inset 0 0 20px rgba(0,0,0,0.05);
  pointer-events: none;
}

/* Overlay for readability */
.service-card::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.4);
  border-radius: 12px;
  opacity: 0;
  transition: opacity 0.4s ease;
  z-index: 1;
}

.service-card:hover::after {
  opacity: 1;
}

/* Text Reveal on Hover */
.service-card h3 {
  font-size: 1.3rem;
  margin-bottom: 1.5rem;
  color: #fff;
  position: relative;
  z-index: 2;
  opacity: 1;
  transform: none;
  transition: none;
  background: rgba(30, 58, 95, 0.85);
  padding: 0.75rem 1.25rem;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.12);
  display: inline-block;
  margin-top: 0;
  margin-left: auto;
  margin-right: auto;
}

.service-card li {
  position: relative;
  padding-left: 1.5rem;
  margin-bottom: 0.8rem;
  font-size: 1rem;
  z-index: 2;
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.5s ease;
}

.service-card:hover li {
  opacity: 1;
  transform: translateY(0);
}

/* Heading Style */
.service-card h3 {
  font-size: 1.3rem;
  margin-bottom: 1rem;
  color: #d87d4a;
}

/* List Styling */
.service-card ul {
  list-style: none;
  padding-left: 0;
}

.service-card li {
  position: relative;
  padding-left: 1.5rem;
  margin-bottom: 0.8rem;
  font-size: 1rem;
}

.service-card li::before {
  content: none;
}

/* Unique Backgrounds */
.service-card.architecture {
  background-image: url("images/ARCHITECTURE\ DESIGN.jpg");
}

.service-card.interior {
  background-image: url("images/INTERIOR\ DESIGN.jpg");
}

.service-card.landscape {
  background-image: url("images/LANDSCAPE\ DESIGN.jpg");
}

.service-card.renovation {
  background-image: url("images/RENOVATION.jpg");
}

.service-card.visualization {
  background-image: url("images/360°\ VISUALISATION.gif");
}

.service-card.green {
  background-image: url("images/GREEN\ BUILDING\ DESIGN.jpg");
}

.service-card.management {
  background-image: url("images/PROJECT\ MANAGEMENT\ &\ CONSTRUCTION.jpg");
}

.service-card.estimation {
  background-image: url("images/ESTIMATION\ &\ VALUATION.jpg");
}

.service-card.engineering {
  background-image: url("images/STRUCTURE\ DESIGN\ &\ ENGINEERING\ SERVICES.jpg");
}
/* About Section */
.about {
  background: #fefcf9;
  padding: 4rem 2rem;
  background: linear-gradient(to bottom right, #fdfcfb, #eaeaea);

}

.about-wrapper {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 3rem;
  max-width: 1200px;
  margin: auto;
}

.about-image img {
  width: 100%;
  max-width: 500px;
  border-radius: 12px;
  box-shadow: 0 6px 20px rgba(0,0,0,0.1);
  animation: fadeInLeft 1s ease forwards;
  opacity: 0;
}

.about-content {
  max-width: 600px;
  animation: fadeInRight 1s ease forwards;
  opacity: 0;
}

.about-content h2 {
  font-size: 2.2rem;
  color: #1e3a5f;
  margin-bottom: 1rem;
}

.about-content p {
  font-size: 1rem;
  color: #444;
  margin-bottom: 1rem;
  line-height: 1.7;
}

/* Animations */
@keyframes fadeInLeft {
  from {
    transform: translateX(-40px);
    opacity: 0;
  }
  to {
    transform: translateX(0);
    opacity: 1;
  }
}

@keyframes fadeInRight {
  from {
    transform: translateX(40px);
    opacity: 0;
  }
  to {
    transform: translateX(0);
    opacity: 1;
  }
}

/* Responsive */
@media (max-width: 768px) {
  .about-wrapper {
    flex-direction: column;
    text-align: center;
  }

  .about-content {
    animation: fadeInUp 1s ease forwards;
  }

  @keyframes fadeInUp {
    from {
      transform: translateY(30px);
      opacity: 0;
    }
    to {
      transform: translateY(0);
      opacity: 1;
    }
  }
}

/* Projects Grid */
.projects {
  background: #fdfcfb;
  padding: 4rem 2rem;
  text-align: center;
}

.projects h2 {
  font-size: 2.5rem;
  color: #1e3a5f;
  margin-bottom: 2rem;
}

.projects h3 {
  font-size: 1.5rem;
  color: #d87d4a;
  margin-top: 3rem;
  margin-bottom: 1rem;
  text-align: left;
  max-width: 1200px;
  margin-inline: auto;
}

.project-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  padding: 2rem;
  overflow: hidden;
}

@media (max-width: 900px) {
  .services-grid,
  .project-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  .services-grid,
  .project-grid {
    grid-template-columns: 1fr;
  }
}

.project-card {
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.project-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 8px 20px rgba(0,0,0,0.12);
}

[data-animate] {
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.7s ease;
}

[data-animate].animated {
  opacity: 1;
  transform: translateY(0);
}

[data-animate="zoom-in"] {
  transform: scale(0.9);
}

[data-animate="zoom-in"].animated {
  transform: scale(1);
}

[data-animate="fade-left"] {
  transform: translateX(-20px);
}

[data-animate="fade-left"].animated {
  transform: translateX(0);
}

.project-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 8px 20px rgba(0,0,0,0.12);
}
.project-card img {
  width: 100%;
  height: auto;
  display: block;
}

.project-card .caption {
  padding: 1rem;
  font-size: 1rem;
  color: #1e3a5f;
  font-weight: 500;
  text-align: center;
}
.project-card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
  padding: 1rem;
}
.project-grid {
  overflow: hidden;
}
.project-card img {
  margin-bottom: 0.75rem;
}



/* Footer */
.footer {
  background: #1e3a5f;
  color: #fdfcfb;
  padding: 4rem 2rem 2rem;
}

.footer-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 3rem;
  max-width: 1200px;
  margin: auto;
}

.footer-info h3 {
  font-size: 1.8rem;
  margin-bottom: 0.5rem;
  color: #f4a261;
}

.footer-info p, .footer-info a {
  font-size: 0.95rem;
  color: #fdfcfb;
  margin-bottom: 0.4rem;
  text-decoration: none;
}

.social-icons a {
  margin-right: 1rem;
  font-size: 1.2rem;
  color: #fdfcfb;
  transition: color 0.3s ease;
}

.social-icons a:hover {
  color: #f4a261;
}

.footer-form h4 {
  font-size: 1.2rem;
  margin-bottom: 1rem;
}

.footer-form form {
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
}

.footer-form input,
.footer-form textarea {
  padding: 0.8rem;
  border: none;
  border-radius: 6px;
  font-size: 0.95rem;
}

.footer-form button {
  background: #f4a261;
  color: #1e3a5f;
  border: none;
  padding: 0.8rem;
  border-radius: 6px;
  cursor: pointer;
  font-weight: bold;
  transition: background 0.3s ease;
}

.footer-form button:hover {
  background: #fdfcfb;
  color: #1e3a5f;
}

.footer-bottom {
  text-align: center;
  margin-top: 2rem;
  font-size: 0.9rem;
  color: #ccc;
}

.form-message {
  font-size: 0.85rem;
  margin-top: 0.5rem;
  color: #f4a261;
}

/* Responsive */
@media (max-width: 768px) {
  .footer-container {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .footer-form form {
    width: 100%;
  }
}

/* Back to Top */
#backToTop {
  position: fixed;
  bottom: 30px;
  right: 20px;
  background: #f4a261;
  color: #1e3a5f;
  padding: 0.5rem 0.75rem;
  border-radius: 5px;
  cursor: pointer;
  display: none;
  z-index: 1000;
  font-weight: bold;
}
#backToTop:hover {
  background: #1e3a5f;
  color: white;
}

/* Animations */
@keyframes bounce {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(10px); }
}
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}
.fade-in {
  animation: fadeIn 1s ease forwards;
  opacity: 0;
}

/* Modal Overlay */
.modal-overlay {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(0,0,0,0.6);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
}

.modal-content {
  background: #fff;
  border-radius: 12px;
  max-width: 800px;
  width: 90vw;
  max-height: 90vh;
  box-shadow: 0 8px 32px rgba(0,0,0,0.25);
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 0;
}

.modal-close {
  position: absolute;
  top: 16px;
  right: 24px;
  background: transparent;
  border: none;
  font-size: 2rem;
  color: #333;
  cursor: pointer;
  z-index: 10;
}

.modal-body {
  display: flex;
  flex-direction: row;
  height: 400px;
  min-width: 300px;
}

.modal-images {
  flex: 1 1 45%;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  overflow-y: auto;
  padding: 2rem 1rem 2rem 2rem;
  max-height: 400px;
}

.modal-img {
  width: 100%;
  border-radius: 8px;
  object-fit: cover;
  box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}

.modal-text {
  flex: 1 1 55%;
  padding: 2rem 2rem 2rem 1rem;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

@media (max-width: 700px) {
  .modal-content {
    max-width: 98vw;
    min-width: 0;
  }
  .modal-body {
    flex-direction: column;
    height: auto;
  }
  .modal-images, .modal-text {
    padding: 1rem;
    max-height: 200px;
  }
}

/* Responsive */
@media (max-width: 768px) {
  .nav-links {
    display: none;
    flex-direction: column;
    background: #1e3a5f;
    position: absolute;
    top: 60px;
    right: 20px;
    padding: 1rem;
    border-radius: 8px;
  }
  .nav-links.active {
    display: flex;
  }
  .hamburger {
    display: block;
  }
  .about-container {
    flex-direction: column;
  }
}

.services h2,
.service-title,
.service-card li,
.projects h2,
.projects h3,
.project-card p,
.project-card .caption {
  text-transform: uppercase;
}

/* Remove underline from headings in Our Services cards */
.service-card h3 {
  text-decoration: none !important;
}

/* Remove underline from About Us heading */
.about h2 {
  text-decoration: none !important;
}

/* Underline specific section headings */
.services h2,
.projects h2,
.projects h3 {
  text-decoration: underline !important;
}

.services .service-card, .services .service-card::before, .services .service-card::after {
  border-radius: 0 !important;
}

.hero-title {
  font-size: 3rem;
  font-weight: bold;
  color: #111;
  letter-spacing: 2px;
  margin-bottom: 1.2rem;
  text-transform: uppercase;
  font-family: 'Poppins', 'Arial Black', Arial, sans-serif;
}

.hero-subtitle {
  font-size: 1.3rem;
  color: #555;
  font-family: 'Fira Mono', 'Consolas', monospace;
  margin-bottom: 3rem;
  text-transform: uppercase;
  letter-spacing: 1.5px;
}

.hero-tagline-pdf {
  font-size: 1.2rem;
  color: #7a1818;
  font-style: italic;
  margin-top: 4rem;
  font-family: 'Poppins', serif;
  text-align: center;
  font-weight: 500;
}

.hero-content, .hero-title, .hero-subtitle, .hero-tagline-pdf {
  font-family: 'Courier New', Courier, monospace !important;
}

