@import url('responsive-header.css');

html, body {
  max-width: 100vw;
  overflow-x: hidden;
  box-sizing: border-box;
}
*, *::before, *::after {
  box-sizing: inherit;
  transition: background 0.3s, color 0.3s, box-shadow 0.3s, transform 0.3s;
}
img, video {
  max-width: 100%;
  height: auto;
  display: block;
}

body {
  font-family: 'Segoe UI', Arial, sans-serif;
  margin: 0;
  padding: 0;
  background: linear-gradient(120deg, #e3ecef 60%, #f6f8fa 100%);
  color: #2a3a4b;
  min-height: 100vh;
  animation: gradientMove 8s ease-in-out infinite alternate;
}
@keyframes gradientMove {
  0% { background-position: 0% 50%; }
  100% { background-position: 100% 50%; }
}

header {
  background: #7bb7c6;
  color: #fff;
  padding: 1.5em 1em 1em 1em;
  box-shadow: 0 4px 24px rgba(123, 183, 198, 0.13), 0 2px 8px rgba(0,0,0,0.04);
  border-bottom: 2px solid #bfe3e6;
}
header .header-content {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  max-width: 1200px;
  margin: 0 auto;
  gap: 24px;
}
header h1, header h1.site-title {
  margin: 0;
  font-size: 2.1rem;
  font-weight: 700;
  color: #fff;
  letter-spacing: 1px;
  flex: 0 0 auto;
  text-align: left;
  display: block;
  line-height: 1.1;
  white-space: normal !important;
  overflow: hidden;
  text-overflow: ellipsis;
}
.header-logo {
  margin-left: auto !important;
  margin-right: 0 !important;
  order: 3;
  height: 150px;
  max-width: none;
  min-width: 100px;
  flex-shrink: 0;
  border-radius: 12px;
  box-shadow: 0 4px 16px #7bb7c655, 0 0 0 4px #fafdff;
  background: #e3ecef;
  padding: 6px 12px;
  transition: box-shadow 0.3s, transform 0.3s;
  display: block;
  filter: drop-shadow(0 2px 8px #7bb7c633);
  object-fit: contain;
}
.header-logo:hover {
  box-shadow: 0 8px 32px #7bb7c6aa, 0 0 0 6px #bfe3e6;
  transform: scale(1.07) rotate(-2deg);
}

nav {
  flex: 1 1 0;
  display: block;
  overflow-x: auto;
  overflow-y: hidden;
  white-space: nowrap;
  margin-bottom: 0;
  order: 1;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  background: #7bb7c6;
}
nav::-webkit-scrollbar { display: none; }
nav a {
  color: #fff;
  margin: 0 14px;
  text-decoration: none;
  font-weight: 500;
  letter-spacing: 0.5px;
  transition: color 0.2s;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 1.08em;
  position: relative;
  padding-bottom: 6px;
  min-width: 80px;
  text-align: center;
  white-space: nowrap;
  vertical-align: middle;
}
nav a:hover { color: #bfe3e6; }
nav a::after {
  content: '';
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 2px;
  background: #bfe3e6;
  border-radius: 2px;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s cubic-bezier(0.4,0,0.2,1);
  width: 100%;
  pointer-events: none;
}
nav a:hover::after, nav a:focus-visible::after {
  transform: scaleX(1);
}

.hero {
  position: relative;
  background-image: url("images/hero.jpg"), url("images/interior.png");
  background-size: cover, 100px;
  background-position: center, 30px 30px;
  background-repeat: no-repeat, no-repeat;
  height: 65vh;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #f6f8fa;
  text-align: center;
  border-radius: 0 0 28px 28px;
  box-shadow: 0 8px 32px rgba(0,0,0,0.06);
  overflow: hidden;
  animation: heroFadeIn 1.2s cubic-bezier(0.4,0,0.2,1);
}
@keyframes heroFadeIn {
  from { opacity: 0; transform: translateY(-30px); }
  to { opacity: 1; transform: translateY(0); }
}
.hero-overlay {
  background: rgba(60, 80, 100, 0.45);
  padding: 40px 20px;
  border-radius: 14px;
  box-shadow: 0 2px 12px rgba(0,0,0,0.08), 0 6px 32px rgba(123, 183, 198, 0.13);
  border: 2px solid #bfe3e6;
}
.hero h2 {
  font-size: 2.2rem;
  margin-bottom: 14px;
  letter-spacing: 1px;
  color: #e3ecef;
  text-shadow: 0 2px 8px #7bb7c622;
}
.hero p {
  font-size: 1.1rem;
  margin-bottom: 0;
  color: #e3ecef;
}

.highlight {
  padding: 28px 8px;
  background: #fafdff;
  text-align: center;
  border-radius: 14px;
  box-shadow: 0 2px 12px rgba(0,0,0,0.04);
  margin: 1.5rem auto 2rem auto;
  max-width: 900px;
}

footer, .footer-main {
  background: #4a6a7b;
  color: #fafdff;
  text-align: center;
  padding: 14px 0;
  font-size: 1rem;
  letter-spacing: 0.5px;
  margin-top: 2rem;
  border-top: 2px solid #bfe3e6;
  border-radius: 14px 14px 0 0;
  box-shadow: 0 -2px 12px rgba(0,0,0,0.04), 0 -2px 12px #7bb7c622;
}

.projects-section, .services-container {
  padding: 36px 6px;
  max-width: 1200px;
  margin: auto;
}
.projects-section h2, .services-section h2, .about-section h2, .contact-section h2, .founder-desk h2, .aboutus-section h2, .ourservices-section h2, .contactus-section h2 {
  text-align: center;
  margin-bottom: 22px;
  font-size: 1.5rem !important;
  color: #4a6a7b;
  position: relative;
  display: inline-block;
}
.projects-section h2::after, .services-section h2::after, .about-section h2::after, .contact-section h2::after, .founder-desk h2::after, .aboutus-section h2::after, .ourservices-section h2::after, .contactus-section h2::after {
  content: '';
  display: block;
  width: 60%;
  height: 4px;
  background: linear-gradient(90deg, #7bb7c6 0%, #bfe3e6 100%);
  border-radius: 2px;
  margin: 8px auto 0 auto;
}
.projects-grid, .services-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 48px 32px;
}
.project-card, .service-card {
  background: #fafdff;
  border-radius: 12px;
  box-shadow: 0 4px 16px rgba(123, 183, 198, 0.10), 0 1.5px 8px #bfe3e6;
  overflow: hidden;
  transition: transform 0.3s, box-shadow 0.3s;
  margin-bottom: 40px;
  padding-bottom: 18px;
}
.project-card:hover, .service-card:hover {
  transform: translateY(-5px) scale(1.02);
  box-shadow: 0 12px 36px rgba(123, 183, 198, 0.18), 0 2px 16px #bfe3e6;
  border: 2px solid #bfe3e6;
}
.project-card.enlarged {
  z-index: 3;
  box-shadow: 0 24px 64px #7bb7c655, 0 0 0 12px #bfe3e6;
  grid-column: span 2;
  max-width: 1100px;
  margin-left: auto;
  margin-right: auto;
  transition: max-width 0.3s cubic-bezier(0.4,0,0.2,1);
}
.project-card.enlarged .project-main-img {
  height: 540px;
  width: 100%;
  object-fit: contain;
  background: #fafdff;
  transform: scale(1.23) rotate(-2deg);
  box-shadow: 0 24px 64px #7bb7c655, 0 0 0 12px #bfe3e6;
}
@media (max-width: 900px) {
  .project-card.enlarged {
    max-width: 98vw;
    grid-column: span 1;
  }
  .project-card.enlarged .project-main-img {
    height: 260px;
  }
}
.project-card img {
  width: 100%;
  height: 260px;
  object-fit: cover;
}
.project-content, .service-card-content {
  padding: 18px 14px;
}
.project-content h3, .service-card-content h3 {
  margin-top: 0;
  color: #4a6a7b;
  font-size: 1.1rem;
}
.project-content p, .service-card-content p {
  color: #5a6a7b;
  margin-bottom: 0;
}

.stylish-intro {
  background: linear-gradient(135deg, #e3ecef 0%, #fafdff 100%);
  border-radius: 14px;
  box-shadow: 0 4px 18px rgba(0,0,0,0.06);
  margin: 2rem auto 1.5rem auto;
  padding: 2rem 1.2rem;
  max-width: 900px;
  text-align: center;
  font-size: 1.08rem;
  color: #3a4a5b;
  transition: box-shadow 0.3s;
  border: 2px solid #bfe3e6;
}
.stylish-intro:hover {
  box-shadow: 0 12px 36px #7bb7c622;
  border-color: #7bb7c6;
}
.stylish-intro .container p {
  margin-bottom: 1.1rem;
  line-height: 1.7;
}

.brand-highlight {
  color: #4a6a7b;
  font-weight: 700;
  letter-spacing: 1px;
  background: linear-gradient(90deg, #bfe3e6 0%, #fafdff 100%);
  padding: 2px 8px;
  border-radius: 6px;
  box-shadow: 0 1px 4px rgba(123,183,198,0.08);
}

.service-list {
  list-style: none;
  padding: 0;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 24px;
  font-size: 1.08rem;
}
.service-list li {
  background: #fafdff;
  border-radius: 10px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.04);
  padding: 14px 24px;
  min-width: 180px;
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 500;
  transition: box-shadow 0.2s, transform 0.2s;
}
.service-list li:hover {
  box-shadow: 0 6px 24px rgba(123, 183, 198, 0.13);
  transform: translateY(-3px) scale(1.02);
}
.service-icon {
  font-size: 1.4em;
  margin-right: 8px;
  color: #7bb7c6;
  filter: drop-shadow(0 1px 4px #bfe3e6);
}

.founder-desk {
  margin: 2rem auto 1.5rem auto;
  padding: 2rem 1.2rem 1rem 1.2rem;
  max-width: 900px;
  background: linear-gradient(120deg, #fafdff 60%, #e3ecef 100%);
  border-radius: 14px;
  box-shadow: 0 4px 18px rgba(123, 183, 198, 0.08);
  text-align: left;
  font-size: 1.05rem;
  color: #4a6a7b;
  border-left: 6px solid #7bb7c6;
}
.founder-desk h2 {
  text-align: center;
  color: #7bb7c6;
  margin-bottom: 1rem;
  font-size: 1.4rem;
  position: relative;
  display: inline-block;
}
.founder-desk .founder-signature {
  margin-top: 1.5rem;
  text-align: right;
  font-weight: 600;
  color: #4a6a7b;
  font-size: 1.02rem;
}

.button, .btn {
  display: inline-block;
  background: linear-gradient(90deg, #7bb7c6 0%, #bfe3e6 100%);
  color: #fff;
  padding: 12px 32px;
  border-radius: 8px;
  font-weight: 600;
  font-size: 1.1rem;
  border: none;
  box-shadow: 0 2px 8px rgba(123, 183, 198, 0.13);
  cursor: pointer;
  transition: background 0.2s, transform 0.2s;
  margin-top: 18px;
  letter-spacing: 0.5px;
  position: relative;
  overflow: hidden;
}
.button:hover, .btn:hover {
  background: linear-gradient(90deg, #bfe3e6 0%, #7bb7c6 100%);
  color: #2a3a4b;
  transform: translateY(-2px) scale(1.04);
}
.button:after, .btn:after {
  content: '';
  position: absolute;
  left: 50%;
  top: 50%;
  width: 0;
  height: 0;
  background: rgba(123, 183, 198, 0.18);
  border-radius: 100%;
  transform: translate(-50%, -50%);
  transition: width 0.4s ease, height 0.4s ease, opacity 0.4s;
  opacity: 0;
  pointer-events: none;
}
.button:active:after, .btn:active:after {
  width: 200px;
  height: 200px;
  opacity: 1;
  transition: 0s;
}

form {
  background: #fafdff;
  border-radius: 14px;
  box-shadow: 0 2px 12px #7bb7c622;
  padding: 32px 24px;
  margin-top: 18px;
}
form label {
  font-weight: 600;
  color: #7bb7c6;
}
form input, form textarea {
  border: 1.5px solid #bfe3e6;
  border-radius: 7px;
  font-size: 1.08rem;
  margin-bottom: 12px;
  background: #fff;
  transition: border 0.2s;
}
form input:focus, form textarea:focus {
  border: 1.5px solid #7bb7c6;
  outline: none;
}

#formStatus {
  min-height: 24px;
  font-size: 1.08em;
  transition: color 0.3s;
}

.project-main-img {
  transition: transform 0.3s cubic-bezier(0.4,0,0.2,1), box-shadow 0.3s;
  cursor: pointer;
}
.project-main-img:hover, .project-main-img:active {
  transform: scale(1.13) rotate(-2deg);
  box-shadow: 0 8px 32px #7bb7c655, 0 0 0 6px #bfe3e6;
  z-index: 2;
}

/* Responsive Tweaks */
@media (max-width: 900px) {
  .project-card.enlarged {
    max-width: 98vw;
    grid-column: span 1;
  }
  .project-card.enlarged .project-main-img {
    height: 260px;
  }
}
@media (max-width: 700px) {
  body { font-size: 1rem; }
  .hero { height: 38vh; border-radius: 0 0 16px 16px; }
  .hero h2 { font-size: 1.3rem; }
  .projects-section h2, .services-section h2, .founder-desk h2 { font-size: 1.1rem; }
  .highlight, .stylish-intro, .founder-desk { padding: 0.7rem 0.4rem; }
  .site-title, header h1.site-title {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    max-width: 55vw;
    min-width: 0;
    flex: 0 1 55vw;
    order: 2;
    margin: 0 0 2px 0;
    line-height: 1.1;
    overflow: hidden;
    white-space: normal;
    padding-left: 2vw;
    font-size: 1rem;
    text-align: left;
    font-weight: 600;
    letter-spacing: 0.5px;
  }
  .site-title-main {
    font-size: 1.9rem;
    font-weight: 700;
    letter-spacing: 0.5px;
    color: #fff;
    line-height: 1;
    margin-bottom: -0.35em;
  }
  .site-title-sub {
    font-size: 1.6rem;
    font-weight: 500;
    color: #e3ecef;
    letter-spacing: 0.3px;
    line-height: 1;
    margin-top: 0;
  }
  .header-logo {
    height: 70px;
    min-width: 48px;
    max-width: 40vw;
    border-radius: 8px;
    padding: 2px 4px;
    order: 3;
    display: block;
    object-fit: contain;
  }
  nav a {
    font-size: 1em;
    margin: 0 6px;
    padding: 8px 0 6px 0;
  }
  .service-list { gap: 10px; font-size: 1em; }
  .service-list li { min-width: 120px; padding: 10px 10px; }
  .projects-grid, .services-container { gap: 10px; }
  header .header-content {
    flex-direction: row;
    align-items: center;
    gap: 4px;
    padding: 0 2vw;
  }
}

/* Underline effect for all h2s inside main or section */
main h2, section h2 {
  position: relative;
  display: inline-block;
}
main h2::after, section h2::after {
  content: '';
  display: block;
  width: 60%;
  height: 4px;
  background: linear-gradient(90deg, #7bb7c6 0%, #bfe3e6 100%);
  border-radius: 2px;
  margin: 8px auto 0 auto;
}
