
/* Container */
.container {
  width: 90%;
  max-width: 1200px;
  margin: auto;
}

/* Header */
.header {
  background: #0d2538;
  color: #fff;
  padding: 20px 0;
  position: sticky;
  top: 0;
  z-index: 999;
}

.navbar {
  display: flex;
  gap: 20px;
  justify-content: flex-end;
  align-items: center;
}

.navbar a {
  color: #fff;
  text-decoration: none;
  transition: 0.3s;
}

.navbar a:hover {
  color: #f0a500;
}

/* Hero Section 
.hero {
  background: url('images/hero.jpg') no-repeat center center/cover;
  height: 90vh;
  display: flex;
  justify-content: center;
  align-items: center;
  color: white;
  text-align: center;
}
*/
.hero {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 40vh;
  text-align: center;
  color: #391E6B;
  padding: 0 20px;
  background: linear-gradient(-45deg, #ff9a9e, #fad0c4, #a18cd1, #fbc2eb);
  background-size: 400% 400%;
  animation: gradientBG 12s ease infinite;
}

/* Hero content */
.hero-content {
  z-index: 2;
}

.hero2 {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 30vh;
  text-align: center;
  color: #391E6B;
  padding: 0 20px;
  background: linear-gradient(-45deg, #ff9a9e, #fad0c4, #a18cd1, #fbc2eb);
  background-size: 400% 400%;
  animation: gradientBG 12s ease infinite;
}

/* Hero content */
.hero2-content {
  z-index: 2;
}
/* Background Animation Keyframes */
@keyframes gradientBG {
  0% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
  100% {
    background-position: 0% 50%;
  }
}

.hero-content h1 {
  font-size: 3rem;
  animation: fadeInDown 1s ease;
}

.hero-content p {
  margin-top: 10px;
  font-size: 1.2rem;
}

.btn {
  display: inline-block;
  margin-top: 30px;
  padding: 10px 25px;
  background: #f0a500;
  color: #fff;
  border-radius: 25px;
  text-decoration: none;
  transition: 0.3s;
}

.btn:hover {
  background: #d18f00;
}

/* Services Section */
.services-section {
  padding: 15px 0;
  background: #f7f7f7;
  margin-bottom: 20px;
}

.services-section h2 {
  text-align: center;
  margin-bottom: 15px;
  font-size: 2.0rem;
  color: #0d2538;
}

.services-grid {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
}

.service-card {
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
  padding: 30px;
  text-align: center;
  width: 300px;
  transition: transform 0.3s ease;
}

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

.service-card img {
  width: 80px;
  margin-bottom: 20px;
}

.service-card h3 {
  margin-bottom: 10px;
  color: #0d2538;
}

/* Footer */
.footer {
  background: #0d2538;
  color: #fff;
  padding: 20px 0;
  text-align: center;
  font-size: 14px;
}

/* Animations */
@keyframes fadeInDown {
  0% {
    opacity: 0;
    transform: translateY(-50px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Responsive */
@media (max-width: 768px) {
  .navbar {
    flex-direction: column;
  }

  .hero-content h1 {
    font-size: 2rem;
  }

  .services-grid {
    flex-direction: column;
    align-items: center;
  }
}

.page-section {
  padding: 80px 0;
}

.page-section h2 {
  text-align: center;
  margin-bottom: 0px;
  font-size: 2.5rem;
  color: #0d2538;
}

.page-section h3 {
  text-align: center;
  margin-bottom: 40px;
  font-size: 1.0rem;
  color: #0d2538;
}

.page-section p {
  margin-bottom: 20px;
  font-size: 1.1rem;
  color: #555;
}

/* Gallery */
.gallery-grid {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  justify-content: center;
}

.gallery-grid img {
  width: 300px;
  height: 200px;
  object-fit: cover;
  border-radius: 10px;
  transition: transform 0.3s;
}

.gallery-grid img:hover {
  transform: scale(1.05);
}

/* Contact Form */
.contact-form {
  max-width: 600px;
  margin: auto;
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.contact-form input,
.contact-form textarea {
  padding: 15px;
  border: 1px solid #ccc;
  border-radius: 5px;
  resize: none;
}

.contact-form button {
  background-color: #f0a500;
  color: white;
  border: none;
  padding: 12px;
  border-radius: 5px;
  cursor: pointer;
  transition: background 0.3s;
}

.contact-form button:hover {
  background-color: #d18f00;
}

/* Service list */
.service-list {
  list-style-type: none;
  font-size: 1.2rem;
  line-height: 2;
  padding-left: 20px;
}


/* Reset default browser styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Poppins', sans-serif;
  background: #f5f7fa;
}

/* Header */
.header {
  background: #391E6B;
  color: #a18cd1;
  padding: 15px 0;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3); /* darker and bigger shadow */
}

.header-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  display: flex;
  align-items: center;
}

.logo img {
  height: 40px;
  margin-right: 10px;
}

.logo span {
  font-size: 22px;
  font-weight: bold;
}

/* Navigation */
.nav-links {
  list-style: none;
  display: flex;
  gap: 25px;
}

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

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

/* Hamburger menu for mobile */
.menu-toggle {
  display: none;
  font-size: 28px;
  cursor: pointer;
}

/* Responsive */
@media (max-width: 768px) {
  .nav-links {
      position: absolute;
      top: 70px;
      right: 20px;
      background: #1a73e8;
      flex-direction: column;
      align-items: flex-start;
      width: 200px;
      padding: 20px;
      border-radius: 5px;
      display: none;
  }

  .nav-links.active {
      display: flex;
  }

  .menu-toggle {
      display: block;
  }
}

.footer {
  background: #0d2538;
  color: #fff;
  padding: 20px 0;
  text-align: center;
  font-size: 14px;
}

.footer-container {
  max-width: 1200px;
  margin: auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  padding: 0 20px;
}

.footer-container p {
  margin: 10px 0;
}

.social-icons {
  display: flex;
  gap: 15px;
}

.social-icons a img {
  width: 24px;
  height: 24px;
  transition: transform 0.3s;
}

.social-icons a img:hover {
  transform: scale(1.2);
}


footer .social-icons a img {
  width: 30px;
  height: 30px;
  transition: filter 0.3s ease;
}

footer .social-icons a:hover img {
  filter: brightness(2) saturate(1.5);
}

@keyframes bounce {
  0%, 20%, 50%, 80%, 100% {
    transform: translateY(0);
  }
  40% {
    transform: translateY(-8px);
  }
  60% {
    transform: translateY(-4px);
  }
}

footer .social-icons a img {
    width: 30px;
    height: 30px;
    transition: transform 0.3s ease, filter 0.3s ease;
}

footer .social-icons a:hover img {
    animation: bounce 0.6s;
    filter: brightness(1.5) saturate(1.2);
}

/* New Animations */
@keyframes fadein {
  from { opacity: 0; transform: scale(0.95); }
  to { opacity: 1; transform: scale(1); }
}

@keyframes slideup {
  from { opacity: 0; transform: translateY(50px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes zoom {
  from { transform: scale(0.8); opacity: 0; }
  to { transform: scale(1); opacity: 1; }
}

@keyframes bounce {
  0%, 20%, 50%, 80%, 100% { transform: translateY(0); }
  40% { transform: translateY(-10px); }
  60% { transform: translateY(-5px); }
}

/* Apply animations */
.animate-fadein {
  animation: fadein 1s ease forwards;
}

.animate-slideup {
  animation: slideup 1s ease forwards;
}

.animate-slideup-delay {
  animation: slideup 1s ease forwards;
  animation-delay: 0.5s;
}

.animate-zoom {
  animation: zoom 1s ease forwards;
}

.animate-zoom-delay {
  animation: zoom 1s ease forwards;
  animation-delay: 0.3s;
}

.animate-zoom-delay2 {
  animation: zoom 1s ease forwards;
  animation-delay: 0.6s;
}

.animate-bounce:hover {
  animation: bounce 0.8s;
}
/* Glow effect on hover */
.service-card-main {
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
  padding: 20px;
  text-align: center;
  width: 350px;
  transition: transform 0.3s ease;
  
}

.service-card-main img {
  width: 250px;
  margin-bottom: 20px;
}
.service-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 8px 20px rgba(0, 123, 255, 0.4); /* Soft blue glow */
  background: #f9f9f9;
}
/* Different glow colors */
.service-card:nth-child(1):hover {
  box-shadow: 0 8px 20px rgba(255, 165, 0, 0.5); /* Orange for Residential */
}
.service-card:nth-child(2):hover {
  box-shadow: 0 8px 20px rgba(0, 200, 83, 0.5); /* Green for Commercial */
}
.service-card:nth-child(3):hover {
  box-shadow: 0 8px 20px rgba(0, 123, 255, 0.5); /* Blue for Renovation */
}


.service-cards {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 30px;
  margin-top: 50px;
}

.service-card {
  background: #fff;
  border: 1px solid #ddd;
  border-radius: 10px;
  width: 45%;
  padding: 30px;
  box-shadow: 0 4px 8px rgba(0,0,0,0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  overflow: hidden; /* important for image zoom */
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.service-card.show {
  opacity: 1;
  transform: translateY(0);
}
.service-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 8px 16px rgba(0,0,0,0.2);
}

.service-image img {
  width: 100%;
  height: 300px; /* fixed height */
  object-fit: cover; /* important: keeps the image looking good */
  border-radius: 5px;
  margin-bottom: 15px;
  transition: transform 0.4s ease;
}

.service-card:hover .service-image img {
  transform: scale(1.05);
}

.service-header strong {
  font-size: 1.3em;
  display: block;
  margin-bottom: 5px;
}

.service-header p {
  font-size: 1em;
  color: #555;
  margin-bottom: 15px;
}

.service-examples p {
  font-size: 0.95em;
  color: #777;
}

.about-section {
  padding: 0px 0;
  display: flex;
  justify-content: center;
  align-items: center;
  height: 80vh; /* Full height of viewport */
  margin-top: -70px;
}
.about-container {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 20px;
  flex-wrap: wrap;
}

.about-card {
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
  padding: 20px;
  text-align: center;
  width: 100%;
  max-width: 600px; /* Makes it look good on large screens */
  margin: 10px auto;
  transition: transform 0.3s ease;
}

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

.about-card img {
  width: 100%;
  height: auto;
  margin-bottom: 10px;
}

.about-card h3 {
  margin-bottom: 10px;
  color: #0d2538;
}

