
/* ------------------------------------------------------------------ */
/* Fix for mobile viewport height quirks
   We expose a dynamic --vh value (set by JS) and prefer it where full
   viewport height is required. This prevents layout distortion on some
   mobile browsers (notably Chrome on iPad / other mobile WebKit shells)
*/
:root { --vh: 1vh; }

/* Prefer dynamic viewport unit where full-viewport height is required. */


/* Contact form row side-by-side layout */
.contact-form-flex {
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  gap: 32px;
}
.contact-form-flex .contact-side-label {
  min-width: 120px;
  max-width: 180px;
  margin-bottom: 0;
  margin-right: 0;
  align-items: flex-start;
  justify-content: flex-start;
  display: flex;
}
.contact-form-flex .contact-form-block {
  flex: 1 1 0;
}
@media (max-width: 900px) {
  .contact-form-flex {
    flex-direction: column;
    gap: 12px;
  }
  .contact-form-flex .contact-side-label {
    min-width: 0;
    max-width: 100%;
    margin-bottom: 8px;
  }
}

/* ------------------------------------------------------------------ */
/* Styles moved from contact.html (contact page specific styles)       */
/* ------------------------------------------------------------------ */

/* Page-specific styles for contact page hero and layout */
.hero-contacts {
  position: relative;
  height: 420px;
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
}

/* End of contact page moved styles */
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0.25) 0%, rgba(0,0,0,0.35) 100%);
}
.hero-inner {
  position: relative;
  text-align: center;
  z-index: 3;
}
.hero-title { font-size: 40px; letter-spacing: 2px; font-weight:700; margin-bottom:6px; }
.hero-breadcrumb { font-size: 12px; opacity: 0.85; }

/* Contact band across hero */
.contact-band {
  position: relative;
  margin: -70px auto 40px;
  max-width: 1100px;
  background: rgba(30,30,30,1);
  color: #fff;
  display: flex;
  gap: 1px;
  box-shadow: 0 6px 30px rgba(0,0,0,0.2);
  z-index: 4;
  border-radius: 2px;
  overflow: hidden;
}
.contact-band .band-item { flex:1; padding:28px 30px; text-align:center; z-index:100; }
.band-item i { font-size: 26px; margin-bottom:10px; display:block; color:#d7c08a; }
.band-item h4 { margin:6px 0 6px; font-size:14px; text-transform:uppercase; letter-spacing:1px; }
.band-item p { font-size:13px; opacity:0.9; }

/* Ensure any links (including auto-detected phone/email links on mobile) inside
   the contact band are white and have no underline so they match desktop styling */
.contact-band .band-item a,
.contact-band .band-item a:link,
.contact-band .band-item a:visited,
.contact-band .band-item a:hover {
  color: #fff !important;
  text-decoration: none !important;
}

/* Specifically target auto-detected tel/mailto links as extra precaution */
.contact-band .band-item a[href^="tel:"],
.contact-band .band-item a[href^="mailto:"] {
  color: #fff !important;
  text-decoration: none !important;
}

main { max-width:1200px; margin: 20px auto 80px; padding: 0 20px; }

.drop-line-title { text-align:center; font-weight:700; margin-top:18px; margin-bottom:8px; }
.drop-sub { text-align:center; color:#666; margin-bottom:30px; }

.form-and-gallery { display:flex; gap:30px; align-items:flex-start; }
.contact-form-wrap { flex:1; background:#fff; border:1px solid #eee; padding:22px; box-shadow:0 6px 18px rgba(0,0,0,0.04); }
.contact-form input, .contact-form textarea { width:100%; padding:12px; margin-bottom:12px; border:1px solid #ddd; }
.contact-form button { padding:10px 18px; background:#222; color:#fff; border:0; cursor:pointer; }

.gallery-block { width:420px; display:flex; flex-direction:column; gap:18px; }
.gallery-photos { display:flex; gap:18px; }
.gallery-photos img { width:100%; display:block; object-fit:cover; }
.gallery-photos .col { flex:1; }
.how-text { background:#fff; border:1px solid #eee; padding:18px; color:#333; }

.map-wrap { margin-top:40px; border-radius:2px; overflow:hidden; box-shadow:0 6px 24px rgba(0,0,0,0.08); }

@media (max-width:900px){
  .form-and-gallery { flex-direction:column; }
  .gallery-block { width:100%; }
  .contact-band { margin: -40px 16px 24px; }
  .hero-contacts{height:320px}
  .hero-title{font-size:28px}
}

/* End of contact page moved styles */
/* Contact Page Professional Animations */

/* Contact Page Professional Animations */

/* 1. Fade In Animations */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}
.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

.fade-in-left {
    opacity: 0;
    transform: translateX(-40px);
    transition: all 0.7s cubic-bezier(0.4, 0, 0.2, 1);
}
.fade-in-left.visible {
    opacity: 1;
    transform: translateX(0);
}

.fade-in-right {
    opacity: 0;
    transform: translateX(40px);
    transition: all 0.7s cubic-bezier(0.4, 0, 0.2, 1);
}
.fade-in-right.visible {
    opacity: 1;
    transform: translateX(0);
}

/* 2. Scale Animations */
.scale-in {
    opacity: 0;
    transform: scale(0.9);
    transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}
.scale-in.visible {
    opacity: 1;
    transform: scale(1);
}

/* 3. Slide Animations with Stagger */
.slide-up {
    opacity: 0;
    transform: translateY(50px);
    transition: all 0.8s cubic-bezier(0.23, 1, 0.32, 1);
}
.slide-up.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Animation Delays for Staggered Effects */
.delay-100 { transition-delay: 0.1s; }
.delay-200 { transition-delay: 0.2s; }
.delay-300 { transition-delay: 0.3s; }
.delay-400 { transition-delay: 0.4s; }
.delay-500 { transition-delay: 0.5s; }

/* 4. Form Input Focus Animations */
.contact-form input,
.contact-form textarea {
    position: relative;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.contact-form input:focus,
.contact-form textarea:focus {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(230, 230, 0, 0.15);
}

/* 5. Button Hover Animations */
.contact-form button {
    position: relative;
    overflow: hidden;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.contact-form button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: left 0.5s;
}

.contact-form button:hover::before {
    left: 100%;
}

.contact-form button:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(205, 220, 57, 0.3);
}

/* 6. Map Container Animation */
.contact-map {
    position: relative;
    overflow: hidden;
}

.contact-map::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(230, 230, 0, 0.1), transparent);
    z-index: 1;
    transition: left 1s cubic-bezier(0.4, 0, 0.2, 1);
}

.contact-map.animate::before {
    left: 100%;
}

/* 7. Card Hover Effects */
.contact-card-address-row,
.contact-card-form-row {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.contact-card-address-row:hover,
.contact-card-form-row:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.12);
}

/* 8. Social Icons Animation */
.contact-follow a {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.contact-follow a::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: rgba(230, 230, 0, 0.2);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.contact-follow a:hover::before {
    width: 40px;
    height: 40px;
}

.contact-follow a:hover {
    transform: translateY(-3px) rotate(5deg);
}

/* 9. Progressive Reveal for Contact Info */
.contact-info-reveal {
    opacity: 0;
    transform: translateX(-20px);
    transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.contact-info-reveal.visible {
    opacity: 1;
    transform: translateX(0);
}

/* 10. Title Animation with Underline Effect */
.contact-main-title {
    position: relative;
    overflow: hidden;
}

.contact-main-title::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 50%;
    width: 0;
    height: 3px;
    background: linear-gradient(90deg, #e6e600, #f0f030);
    transform: translateX(-50%);
    transition: width 1s cubic-bezier(0.4, 0, 0.2, 1);
    transition-delay: 0.5s;
}

.contact-main-title.animate::after {
    width: 80px;
}

/* 11. Form Field Sequential Focus Effect */
.contact-form input,
.contact-form textarea {
    border-left: 3px solid transparent;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.contact-form input:focus,
.contact-form textarea:focus {
    border-left: 3px solid #e6e600;
    padding-left: 19px;
}

/* 12. Loading Bar Animation for Form Submission */
.form-loading-bar {
    position: absolute;
    bottom: 0;
    left: 0;
    height: 2px;
    width: 0;
    background: linear-gradient(90deg, #e6e600, #f0f030);
    transition: width 2s cubic-bezier(0.4, 0, 0.2, 1);
}

.form-loading-bar.animate {
    width: 100%;
}

/* Responsive adjustments for animations */
@media (max-width: 900px) {
    .fade-in-left,
    .fade-in-right {
        transform: translateY(30px);
    }
    
    .fade-in-left.visible,
    .fade-in-right.visible {
        transform: translateY(0);
    }
}

/* INDEX PAGE MOBILE & TABLET RESPONSIVE STYLES */

/* Header Responsive */
@media (max-width: 1200px) {
    .header {
        padding: 16px 24px;
    }
    
    .call-info {
        font-size: 0.9rem;
        margin-right: 24px;
    }
    
    .social-icons {
        gap: 16px;
    }
}

@media (max-width: 900px) {
    .header {
        padding: 12px 20px;
    }
    
    .header-left img {
        height: 32px !important;
        margin-right: 10px !important;
    }
    
    .brand-title {
        font-size: 1.1rem;
    }
    
    .brand-sub {
        font-size: 0.8rem;
    }
    
    .call-info {
        font-size: 0.85rem;
        margin-right: 16px;
    }
    
    .call-info strong {
        font-size: 0.9rem;
    }
    
    .divider {
        margin: 0 12px;
        height: 24px;
    }
    
    .social-icons {
        gap: 14px;
    }
    
    .social-icons a {
        font-size: 1rem;
    }
    
    .hamburger {
        margin-left: 16px;
        font-size: 1.3rem;
    }
}

@media (max-width: 600px) {
    .header {
        padding: 10px 16px;
        flex-wrap: wrap;
    }
    
    .header-left {
        flex: 1;
    }
    
    .header-center {
        flex: 0 0 auto;
        gap: 8px;
    }
    
    .call-info {
        display: none;
    }
    
    .divider {
        display: none;
    }
    
    .social-icons {
        gap: 12px;
    }
    
    .hamburger {
        margin-left: 12px;
    }
}

/* Carousel Section Responsive */
@media (max-width: 1200px) {
    .hero-text-overlay {
        left: 8vw;
        width: 320px;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    #hero-animated-box-square {
        width: 350px;
        height: 350px;
    }
}

@media (max-width: 900px) {
    .carousel-container,
    .carousel-slide,
    .carousel-slide img {
        height: 60vh;
        min-height: 400px;
    }
    
    .hero-text-overlay {
        left: 5vw;
        top: 20vh;
        width: 280px;
    }
    
    .hero-title {
        font-size: 2rem;
        line-height: 1.1;
    }
    
    .hero-label {
        font-size: 1rem;
    }
    
    .hero-link {
        font-size: 1rem;
    }
    
    #hero-animated-box-square {
        width: 250px;
        height: 250px;
        display: none;
    }
    
    .carousel-slide > div[style*="position: absolute"] {
        display: none;
    }
}

@media (max-width: 600px) {
    .carousel-container,
    .carousel-slide,
    .carousel-slide img {
        height: 60vh;
        min-height: 350px;
    }
    
    .hero-text-overlay {
        display: none !important;
    }
    
    .carousel-slide > div[style*="position: absolute"] {
        display: none;
    }
    
    .carousel-dots {
        bottom: 16px;
    }
    
    .carousel-dots .dot {
        width: 10px;
        height: 10px;
    }
}

/* About Section Responsive */
@media (max-width: 1200px) {
    .about-container {
        padding: 40px 24px 0 24px;
        gap: 32px;
    }
    
    .about-title {
        font-size: 2.2rem;
    }
    
    .about-desc {
        max-width: 380px;
    }
    
    .about-img {
        max-width: 380px;
        height: 480px;
    }
    
    .about-img-bg {
        width: 300px;
        height: 200px;
        left: 30px;
        top: 100px;
    }
}

@media (max-width: 900px) {
    .about-container {
        flex-direction: column;
        align-items: center;
        padding: 20px 20px 0 20px;
        text-align: center;
    }
    
    .about-left,
    .about-right {
        max-width: 100%;
        align-items: center;
    }
    
    .about-left {
        padding-right: 0;
        margin-top: 0;
    }
    
    .about-title {
        font-size: 2rem;
        text-align: center;
    }
    
    .about-desc {
        max-width: 500px;
        text-align: center;
    }
    
    .about-years-row {
        justify-content: center;
    }
    
    .about-img {
        width: 100%;
        max-width: 400px;
        height: 300px;
        margin-top: 20px;
    }
    
    .about-img-bg {
        left: 10%;
        top: 60px;
        width: 200px;
        height: 120px;
    }
}

@media (max-width: 600px) {
    .about-container {
        padding: 30px 16px 0 16px;
    }
    
    .about-label {
        font-size: 0.9rem;
        letter-spacing: 3px;
        margin-bottom: 16px;
    }
    
    .about-title {
        font-size: 2rem;
        line-height: 1.3;
        margin-bottom: 20px;
    }
    
    .about-desc {
        font-size: 1rem;
        max-width: 100%;
        line-height: 1.6;
        margin-bottom: 30px;
    }
    
    .about-years-box {
        width: 90px;
        height: 90px;
    }
    
    .about-years-num {
        font-size: 3.5rem;
    }
    
    .about-years-text {
        font-size: 1.1rem;
    }
    
    .about-img {
        height: 250px;
    }
    
    .about-img-bg {
        display: none;
    }
}

/* Projects Section Responsive - Enhanced */
@media (max-width: 1200px) {
    .projects-section {
        padding: 60px 20px;
    }
    
    .projects-header-row {
        gap: 24px;
    }
    
    .projects-filters {
        gap: 24px;
    }
}

/* Projects navigation buttons (non-overlapping) */
.projects-nav {
  display: flex;
  gap: 8px;
  align-items: center;
  margin-left: 12px;
}
.projects-nav-btn {
  background: transparent;
  border: 1px solid rgba(0,0,0,0.08);
  color: #222;
  padding: 8px 12px;
  font-size: 18px;
  cursor: pointer;
  border-radius: 6px;
  transition: background 0.15s, transform 0.08s;
}
.projects-nav-btn:hover {
  background: rgba(0,0,0,0.04);
  transform: translateY(-1px);
}

/* On small screens move nav below filters to avoid crowding */
@media (max-width: 900px) {
  .projects-header-row { flex-direction: column; align-items: center; gap: 16px; }
  .projects-nav { margin-left: 0; }
}

@media (max-width: 900px) {
    .projects-section {
        padding: 50px 16px;
    }
    
    .projects-header-row {
        flex-direction: column;
        gap: 32px;
        text-align: center;
    }
    
    .projects-title {
        font-size: 2rem;
    }
    
    .projects-filters {
        flex-wrap: wrap;
        justify-content: center;
        gap: 20px;
    }
    
    .filter-btn {
        padding: 6px 12px;
        font-size: 0.9rem;
    }
    
    .view-all-projects {
        font-size: 0.9rem;
    }
}

@media (max-width: 600px) {
    .projects-section {
        padding: 40px 12px;
    }
    
    .projects-title {
        font-size: 1.8rem;
    }
    
    .projects-filters {
        gap: 16px;
    }
    
    .filter-btn {
        padding: 5px 10px;
        font-size: 0.85rem;
    }
    
    .project-img-wrapper {
        height: 220px;
    }
    
    .project-title {
        font-size: 1.1rem;
    }
    
    .project-link {
        font-size: 0.9rem;
    }
}

/* Testimonials Section Responsive - Enhanced */
@media (max-width: 1200px) {
    .testimonials-section {
        padding: 50px 20px;
    }
    
    .testimonial-card {
        min-width: calc(60% - 16px);
        max-width: calc(60% - 16px);
        padding: 32px;
    }
}

/* UI: rounded square nav buttons for testimonials (visual only) */
.testimonial-nav-btn {
  background: transparent;
  border: 1px solid rgba(0,0,0,0.08);
  color: #222;
  padding: 8px 12px;
  font-size: 18px;
  cursor: pointer;
  border-radius: 6px;
  transition: background 0.15s, transform 0.08s;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.testimonial-nav-btn:hover {
  background: rgba(0,0,0,0.04);
  transform: translateY(-1px);
}

@media (max-width: 900px) {
  .testimonial-nav-btn { font-size: 16px; padding: 6px 10px; }
}

@media (max-width: 900px) {
    .testimonials-section {
        padding: 50px 16px;
    }
    
    .testimonials-header {
        flex-direction: column;
        gap: 24px;
        text-align: center;
    }
    
    .testimonials-title {
        font-size: 2rem;
    }
    
    .testimonial-card {
        min-width: calc(85% - 16px);
        max-width: calc(85% - 16px);
        padding: 28px;
    }
    
    .testimonial-profile {
        flex-direction: column;
        text-align: center;
        gap: 16px;
    }
    
    .testimonial-avatar {
        width: 70px;
        height: 70px;
    }
    
    .testimonial-nav-btn {
        width: 45px;
        height: 45px;
        font-size: 1rem;
    }
}

@media (max-width: 600px) {
    .testimonials-section {
        padding: 40px 12px;
    }
    
    .testimonials-title {
        font-size: 1.8rem;
    }
    
    .testimonial-card {
        min-width: calc(100% - 16px);
        max-width: calc(100% - 16px);
        padding: 24px;
        gap: 24px;
    }
    
    .testimonial-avatar {
        width: 60px;
        height: 60px;
    }
    
    .testimonial-info h4 {
        font-size: 1.1rem;
    }
    
    .testimonial-info p {
        font-size: 0.85rem;
    }
    
    .testimonial-text {
        font-size: 0.95rem;
        line-height: 1.6;
    }
    
    .testimonials-nav {
        gap: 12px;
    }
    
    .testimonial-nav-btn {
        width: 42px;
        height: 42px;
        font-size: 0.9rem;
    }
    
    .quote-icon {
        font-size: 2rem;
        top: -15px;
    }
}

/* Slide Menu Responsive - Already handled but enhanced */
@media (max-width: 600px) {
    .slide-menu {
        width: 85vw;
    }
    
    .menu-list {
        margin: 100px 0 0 0;
    }
    
    .menu-link {
        font-size: 1.3rem;
        padding: 6px 0 6px 20px;
    }
    
    .close-btn {
        top: 20px;
        right: 20px;
        font-size: 1.8rem;
    }
    
    .menu-footer {
        padding: 0 0 60px 20px;
    }
    
    .menu-social-icons {
        gap: 24px;
    }
    
    .menu-social-icons a {
        font-size: 1.2rem;
    }
    
    .menu-copyright {
        font-size: 0.9rem;
    }
}

/* General Mobile Optimizations */
@media (max-width: 480px) {
    body {
        padding-top: 70px;
    }
    
    .header {
        padding: 8px 12px;
    }
    
    .carousel-container,
    .carousel-slide,
    .carousel-slide img {
        height: 55vh;
        min-height: 320px;
    }
    
    .about-container {
        padding: 25px 12px 0 12px;
    }
    
    .projects-section {
        padding: 30px 8px;
    }
    
    .testimonials-section {
        padding: 30px 8px;
    }
    
    .footer-container {
        padding: 0 12px;
    }
}

/* Additional mobile gap fixes */
@media (max-width: 900px) {
    .about-section {
        margin-top: -20px;
    }
}

@media (max-width: 600px) {
    .about-section {
        margin-top: -15px;
    }
}

@media (max-width: 480px) {
    .about-section {
        margin-top: -40px;
    }
}
/* Contact Page Styles (migrated from contact.html) */
.contact-card-address-row {
  display: flex;
  flex-direction: row;
  gap: 48px;
  align-items: flex-start;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto 0 auto;
  background: #fff;
  border-radius: 0;
  /* box-shadow: 0 8px 32px rgba(0, 0, 0, 0.08), 0 1.5px 8px rgba(205, 220, 57, 0.06);
  border: 1.5px solid #f3f3f3; */
  border-bottom: none;
  padding: 48px 32px 32px 32px;
  position: relative;
}
.contact-card-address-full .contact-info-block {
  width: 100%;
}
.contact-card-address-row .contact-info-block {
  flex: 1 1 0;
  min-width: 0;
}
.contact-card-address-full .contact-side-label {
  margin-bottom: 8px;
}
.contact-address-col,
.contact-details-col {
  display: none;
}
@media (max-width: 900px) {
  .contact-card-address-row {
    flex-direction: column;
    gap: 18px;
  }
}
.contact-card-form-row {
  background: #fff;
  border-radius: 0 0 18px 18px;
  /* box-shadow: 0 8px 32px rgba(0, 0, 0, 0.08), 0 1.5px 8px rgba(205, 220, 57, 0.06); */
  width: 100%;
  max-width: 1200px;
  margin: 0 auto 0 auto;
  /* border: 1.5px solid #f3f3f3; */
  border-top: none;
  padding: 32px 32px 40px 32px;
  display: flex;
  flex-direction: column;
  gap: 18px;
  align-items: stretch;
  position: relative;
}
.contact-card-section {
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: flex-start;
  margin-bottom: 30px;
  background: none;
}
.contact-card {
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.08), 0 1.5px 8px rgba(205, 220, 57, 0.06);
  max-width: 700px;
  width: 100%;
  padding: 48px 40px 40px 40px;
  border: 1.5px solid #f3f3f3;
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 36px;
  align-items: stretch;
}
.contact-card-vertical .contact-card-address,
.contact-card-vertical .contact-card-form {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.classy-label {
  font-size: 1.05rem;
  color: #bdbdbd;
  font-weight: 700;
  letter-spacing: 2.5px;
  border-left: 4px solid #e6e600;
  padding-left: 12px;
  margin-bottom: 18px;
  margin-top: 0;
  background: none;
  height: auto;
  writing-mode: initial;
  text-orientation: initial;
  border-top: none;
  align-items: center;
  display: flex;
}
.classy-info {
  background: none;
  border-radius: 0;
  box-shadow: none;
  padding: 0;
  margin: 0;
}
.contact-info-block address {
  font-style: normal;
  color: #444;
  margin-bottom: 18px;
  font-size: 1.05rem;
}
.contact-info-row {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 6px;
}
.contact-info-block .contact-label {
  color: #bdbdbd;
  font-size: 0.98rem;
  font-weight: 600;
  letter-spacing: 2px;
  margin-bottom: 0;
  margin-right: 4px;
  display: inline-block;
}
.contact-phone {
  font-size: 1.35rem;
  font-weight: 700;
  color: #222;
  margin: 18px 0 12px 0;
  display: block;
  letter-spacing: 1px;
}
.contact-hours {
  color: #888;
  font-size: 0.98rem;
  margin-bottom: 8px;
}
.contact-follow {
  margin-top: 10px;
  display: flex;
  gap: 18px;
}
.contact-follow a {
  color: #bdbdbd;
  font-size: 1.2rem;
  transition: color 0.2s;
}
.contact-follow a:hover {
  color: #e6e600;
}
.classy-form {
  background: #fafaf7;
  border-radius: 12px;
  box-shadow: 0 2px 12px rgba(205, 220, 57, 0.04);
  padding: 32px 24px 24px 24px;
  border: 1px solid #f3f3f3;
  margin: 0;
}
@media (max-width: 1100px) {
  .contact-card-address-row,
  .contact-card-form-row {
    padding: 32px 12px 24px 12px;
    max-width: 99vw;
  }
  .contact-card-address-row {
    gap: 24px;
  }
}
@media (max-width: 900px) {
  .contact-card-address-row,
  .contact-card-form-row {
    padding: 18px 2vw 18px 2vw;
    max-width: 100vw;
  }
  .contact-card-address-row {
    flex-direction: column;
    gap: 12px;
    border-radius: 18px 18px 0 0;
  }
  .contact-card-form-row {
    border-radius: 0 0 18px 18px;
  }
  .contact-card-section {
    padding: 0 4px;
  }
  .classy-form {
    padding: 18px 8px 12px 8px;
  }
}
@media (max-width: 600px) {
  .contact-card-address-row,
  .contact-card-form-row {
    padding: 8px 0 8px 0;
    border-radius: 0;
    box-shadow: none;
    max-width: 100vw;
  }
  .classy-form {
    border-radius: 0;
    box-shadow: none;
  }
}
.contact-main-title {
  text-align: center;
  font-size: 2.0rem;
  font-weight: 700;
  margin: 60px 0 40px 0;
  font-family: 'Poppins', sans-serif;
}
.contact-map {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto 40px auto;
  border-radius: 0;
  overflow: hidden;
  box-shadow: 0 2px 16px rgba(0, 0, 0, 0.04);
  min-height: 340px;
  background: #eee;
}
.contact-content-row {
  display: flex;
  flex-direction: row;
  max-width: 1200px;
  margin: 0 auto 40px auto;
  gap: 48px;
  align-items: flex-start;
  justify-content: space-between;
}
.contact-side-label {
  color: #bdbdbd;
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 2px;
  margin-bottom: 0;
  margin-right: 16px;
  border-left: 4px solid #e6e600;
  padding-left: 8px;
  height: auto;
  display: flex;
  align-items: center;
  user-select: none;
}
.contact-card-form-row .contact-side-label {
  writing-mode: initial;
  text-orientation: initial;
  border-left: 4px solid #e6e600;
  border-top: none;
  padding-left: 12px;
  padding-top: 0;
  margin-bottom: 18px;
  margin-right: 0;
  margin-top: 0;
  height: auto;
  width: auto;
  align-items: center;
}
.contact-info-block {
  flex: 2;
  min-width: 260px;
}
.contact-info-block h3 {
  font-size: 1.3rem;
  font-weight: 700;
  margin: 0 0 18px 0;
  font-family: 'Poppins', sans-serif;
}
.contact-info-block p,
.contact-info-block a,
.contact-info-block span {
  font-size: 1rem;
  color: #222;
  margin: 0 0 8px 0;
  font-family: 'Poppins', sans-serif;
}
.contact-info-block .contact-label {
  color: #bdbdbd;
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 2px;
  margin-bottom: 8px;
  display: block;
}
.contact-info-block .contact-email,
.contact-info-block .contact-skype {
  color: #222;
  text-decoration: none;
  font-weight: 500;
  margin-right: 16px;
}
.contact-info-block .contact-email:hover,
.contact-info-block .contact-skype:hover {
  color: #cddc39;
}
.contact-info-block .contact-phone {
  font-size: 1.6rem;
  font-weight: 700;
  color: #111;
  margin: 0px 0 12px 0;
  display: block;
}
.contact-info-block .contact-hours {
  color: #888;
  font-size: 0.98rem;
  margin-bottom: 8px;
}
.contact-info-block .contact-follow {
  margin-top: 18px;
  display: flex;
  gap: 18px;
}
.contact-info-block .contact-follow a {
  color: #888;
  font-size: 1.2rem;
  transition: color 0.2s;
}
.contact-info-block .contact-follow a:hover {
  color: #cddc39;
}
.contact-form-block {
  flex: 3;
  min-width: 320px;
  background: #fff;
  border-radius: 0;
  box-shadow: none;
  padding: 0;
  border: none;
}
.contact-form {
  display: flex;
  flex-direction: column;
  gap: 18px;
  margin-top: 0;
}
.contact-form-row {
  display: flex;
  gap: 18px;
  margin-bottom: 0;
}
.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 14px 16px;
  border: 1px solid #e0e0e0;
  border-radius: 6px;
  font-size: 1rem;
  font-family: 'Poppins', sans-serif;
  background: #fff;
  outline: none;
  transition: border 0.2s, box-shadow 0.2s;
  resize: none;
  box-shadow: 0 1px 4px rgba(205, 220, 57, 0.04);
}
.contact-form input:focus,
.contact-form textarea:focus {
  border: 1.5px solid #cddc39;
  background: #fff;
}
.contact-form textarea {
  min-height: 120px;
  max-height: 300px;
}
.contact-form button {
  background: #e6e600;
  color: #111;
  font-weight: 700;
  font-size: 1rem;
  border: none;
  border-radius: 0;
  padding: 14px 32px;
  cursor: pointer;
  margin-top: 8px;
  transition: background 0.2s, color 0.2s;
  font-family: 'Poppins', sans-serif;
  letter-spacing: 1px;
  align-self: flex-start;
}
.contact-form button:hover {
  background: #cddc39;
  color: #fff;
}
@media (max-width: 900px) {
  .contact-content-row {
    flex-direction: column;
    gap: 32px;
    padding: 0 8px;
  }
  .contact-side-label {
    writing-mode: horizontal-tb;
    border-left: none;
    border-top: 4px solid #e6e600;
    padding-left: 0;
    padding-top: 8px;
    margin-bottom: 0;
    margin-right: 0;
    margin-top: 24px;
    height: auto;
    width: 100%;
    justify-content: flex-start;
  }
}
@media (max-width: 600px) {
  .contact-main-title {
    font-size: 1.5rem;
    margin: 32px 0 24px 0;
  }
  .contact-map {
    min-height: 180px;
  }
  .contact-content-row {
    gap: 18px;
  }
  .contact-form-block {
    min-width: 0;
  }
}
/* Footer Section */
.footer-section {
  width: 100%;
  background: #ffffff;
  color: #333333;
  margin-top: 0;
  font-family: 'Poppins', sans-serif;
  border-top: 1px solid #e0e0e0;
}

.footer-container {
  max-width: 1400px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 48px;
  padding: 60px 32px 40px;
  box-sizing: border-box;
}

.footer-col {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.footer-brand {
  max-width: 300px;
}

.footer-logo-row {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
}

.footer-logo {
  height: 40px;
  width: auto;
  display: block;
}

.footer-brand-title {
  font-size: 1.3rem;
  font-weight: 700;
  color: black;
  letter-spacing: 0.3px;
  line-height: 1.2;
}

.footer-brand-sub {
  font-size: 0.9rem;
  color: #666666;
  font-weight: 500;
}

.footer-description {
  color: #666666;
  font-size: 0.9rem;
  line-height: 1.6;
  margin: 16px 0 0 0;
}

.footer-heading {
  font-size: 1.1rem;
  font-weight: 700;
  color: #333333;
  margin-bottom: 20px;
  letter-spacing: 0.5px;
}

.footer-col ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-col ul li {
  margin-bottom: 12px;
}

.footer-col ul li a {
  color: #666666;
  text-decoration: none;
  font-size: 0.9rem;
  transition: color 0.3s ease;
  line-height: 1.5;
}

.footer-col ul li a:hover {
  color: #e6e600;
}

.footer-contact-info {
  margin-bottom: 24px;
}

.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 16px;
  color: #666666;
  font-size: 0.9rem;
  line-height: 1.5;
}

.contact-item i {
  color: #e6e600;
  font-size: 1rem;
  margin-top: 2px;
  flex-shrink: 0;
}

.footer-social {
  display: flex;
  gap: 16px;
}

.footer-social a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background: #ffffff;
  border: 2px solid #e0e0e0;
  border-radius: 50%;
  color: #666666;
  text-decoration: none;
  transition: all 0.3s ease;
  font-size: 1.1rem;
}

.footer-social a:hover {
  background: #e6e600;
  border-color: #e6e600;
  color: #1a1a1a;
  transform: translateY(-2px);
}

.footer-bottom {
  border-top: 1px solid #e0e0e0;
  background: #ffffff;
  padding: 24px 0;
}

.footer-bottom-content {
  /* keep the content centered on the page and allow exact left/center/right placement */
  position: relative;
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 32px;
  display: flex;
  align-items: center;
  gap: 24px;
  justify-content: space-between;
  min-height: 60px;
}

.footer-copyright {
  color: #666666;
  font-size: 0.85rem;
  text-align: left;
  flex: 0 0 auto;
  margin: 0;
}

.footer-center {
  /* center block is absolutely centered within the footer container so
     left and right items sit flush to edges while this stays visually centered */
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  gap: 16px;
  justify-content: center;
  text-align: center;
  /* limit width so it doesn't overlap left/right items on narrow wide screens */
  max-width: calc(100% - 360px);
  pointer-events: auto;
}

.footer-center a {
  color: #666666;
  text-decoration: none;
  font-size: 0.85rem;
  transition: color 0.3s ease;
  white-space: nowrap;
}

.footer-center a:hover {
  color: #e6e600;
}

.footer-center .separator {
  color: #999999;
  font-weight: bold;
}

/* Designed by SEICHO section */
.footer-designed-by {
  font-size: 0.85rem;
  color: #666666;
  text-align: right;
  flex: 0 0 auto;
}

/* Responsive: stack footer bottom items on small screens */
@media (max-width: 768px) {
  .footer-bottom-content {
    flex-direction: column;
    gap: 12px;
    padding: 16px 20px;
    text-align: center;
    align-items: center;
  }
  /* revert absolute centering on small screens so items stack naturally */
  .footer-center {
    position: static;
    transform: none;
    justify-content: center;
  }
  .footer-designed-by { text-align: center; }
}

.footer-designed-by .seicho-link {
  color: #3fc1c9;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s ease;
}

.footer-designed-by .seicho-link:hover {
  color: #35a8af;
  text-decoration: underline;
}

/* Specific override: remove underline on hover/focus for the seicho attribution link */
.seicho-link {
  text-decoration: none !important;
}
.seicho-link:hover,
.seicho-link:focus {
  text-decoration: none !important;
}

/* Heartbeat animation */
.heartbeat {
  display: inline-block;
  color: #e74c3c;
  font-size: 1rem;
  animation: heartbeat 1.5s ease-in-out infinite;
}

@keyframes heartbeat {
  0% {
    transform: scale(1);
  }
  14% {
    transform: scale(1.2);
  }
  28% {
    transform: scale(1);
  }
  42% {
    transform: scale(1.2);
  }
  70% {
    transform: scale(1);
  }
}

/* ------------------------------------------------------------------ */
/* Mobile-specific footer centering (moved from components/footer.html) */
/* Placed after the main footer rules to ensure it overrides defaults */
/* ------------------------------------------------------------------ */
@media (max-width:700px) {
  .footer-container {
    display:flex !important;
    flex-direction:column;
    align-items:center;
    gap:18px;
  }
  .footer-col {
    /* width:100%; */
    text-align:center;
    padding:0 12px;
  }
  .footer-logo-row { display:flex; align-items:center; width: 100%;justify-content:center; gap:12px; }
  .footer-logo { max-width:72px; height:auto; }
  /* Ensure headings are centered even if overridden by global CSS */
  .footer-heading, .footer-col .footer-heading {
    display:block;
    width:100%;
    margin:0 auto 8px;
    text-align:center !important;
  }
  .footer-description { text-align:center; }
  /* Stack contact items and center content on narrow screens */
  .footer-contact .footer-contact-info .contact-item {
    display:flex !important;
    flex-direction:column !important;
    align-items:center !important;
    justify-content:center !important;
    gap:8px !important;
    margin-bottom:12px !important;
    text-align:center !important;
  }
  .footer-contact .footer-contact-info .contact-item i { min-width:24px; text-align:center; display:block; }
  .footer-contact .footer-contact-info .contact-item span { display:block; }
  .footer-col ul { padding:0; margin:8px auto; display:inline-block; }
  .footer-col ul li { display:block; margin:8px 0; }
  .footer-bottom .footer-bottom-content { display:flex; flex-direction:column; align-items:center; gap:8px; }
  .footer-designed-by { text-align:center; }
  .footer-social a { margin:0 8px; }
  /* small padding adjustments that were previously inline */
  .footer-container { padding-top: 10px; }
  .footer-social { padding-bottom: 25px; }
  .footer-designed-by { padding-top: 10px; }
  .footer-logo { padding-top: 15px;}
}

/* End moved footer mobile styles (placed after main footer rules) */

/* ------------------------------------------------------------------ */
/* Styles moved from project.php <style> block (project page specific)  */
/* Source: project.php - moved here on 2025-11-21 to centralize styles */
/* ------------------------------------------------------------------ */

/* Reset and base for project page */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body.project-page {
  margin: 0;
  font-family: 'Poppins', Arial, sans-serif;
  background: #fff;
  min-height: 100vh;
  position: relative;
  overflow: hidden;
}

/* Project background container and image */
.project-bg-container {
  position: absolute;
  top: 80px;
  left: 40px;
  right: 40px;
  width: calc(100vw - 80px);
  height: calc(100vh - 80px);
  z-index: 120;
}
.project-bg {
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: absolute;
  top: 0;
  left: 0;
  z-index: 1;
  transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}
.project-bg.transitioning { transform: scale(1.05); filter: blur(2px); }

.project-main-content {
  position: relative;
  z-index: 200;
  width: 100vw;
  height: 100vh;
  display: flex;
  align-items: flex-start;
  justify-content: flex-start;
  padding-left: 8%;
  padding-top: 80px;
  transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
  pointer-events: none;
}
.project-main-content > * { pointer-events: auto; }
.project-main-content.expanded { align-items: center; padding-top: 0; }

.project-info-card {
  background: rgba(255,255,255,0.98);
  backdrop-filter: blur(10px);
  border-radius: 10px;
  padding: 30px 35px;
  width: 380px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  box-shadow: 0 14px 40px rgba(0,0,0,0.14);
  transition: transform 900ms cubic-bezier(0.22,0.1,0.22,1), padding 700ms cubic-bezier(0.22,0.1,0.22,1), box-shadow 700ms cubic-bezier(0.22,0.1,0.22,1), max-height 900ms cubic-bezier(0.22,0.1,0.22,1);
  overflow: visible;
  transform-origin: top center;
  transform: translateY(-6vh);
  max-height: 1000px;
  position: relative;
}

.project-info-card.collapsed {
  padding: 10px 28px;
  gap: 0;
  width: 380px;
  height: 55px;
  justify-content: center;
  align-items: flex-start;
  transform: translateY(0);
  margin-top: 0;
  box-shadow: 0 8px 18px rgba(0,0,0,0.07);
  border-radius: 8px;
}

.project-info-content { transition: opacity 600ms ease-out, max-height 600ms ease-out; opacity:1; max-height:1000px; overflow:hidden; }
.project-info-content.hidden { opacity:0; max-height:0; margin:0; padding:0; }

.project-hide-info { font-size:0.75rem; color:#666; font-weight:500; letter-spacing:0.1em; margin-bottom:12px; cursor:pointer; text-transform:uppercase; transition:color .3s; flex-shrink:0; }

.project-close-btn { position:absolute; top:12px; right:12px; width:28px; height:28px; border:none; background:rgba(0,0,0,0.1); border-radius:50%; cursor:pointer; display:flex; align-items:center; justify-content:center; font-size:14px; color:#666; transition:all .3s; z-index:20; }
.project-close-btn:hover { background: rgba(0,0,0,0.2); color:#333; transform:scale(1.1); }
.project-close-btn:active { transform:scale(0.95); }

.project-title { font-size:1.75rem; font-weight:700; color:white; margin:0 0 16px 0; line-height:1.25; }
.project-desc { color:#555; font-size:.9rem; line-height:1.55; margin-bottom:20px; }

.project-details-table { width:100%; border-collapse:collapse; margin-bottom:20px; }
.project-details-table td { padding:8px 0; font-size:.9rem; color:#1a1a1a; vertical-align:top; }
.project-details-table td:first-child { color:#666; font-weight:500; width:35%; padding-right:15px; }
.project-details-table td:last-child { font-weight:400; }

.project-share-row { display:flex; align-items:center; gap:8px; margin-top:8px; }
.project-share-label { color:#666; font-size:.9rem; font-weight:500; margin-right:8px; }
.project-share-icons { display:flex; gap:12px; }
.project-share-icons a { color:#1a1a1a; font-size:1rem; transition:color .2s; text-decoration:none; }
.project-share-icons a:hover { color:#666; }

.project-arrow { position:absolute; top:50%; transform:translateY(-50%); width:56px; height:56px; background:rgba(0,0,0,0.45); border:none; border-radius:50%; padding:0; display:flex; align-items:center; justify-content:center; cursor:pointer; z-index:1000000; font-size:22px; color:#fff; box-shadow:0 8px 30px rgba(0,0,0,0.45); pointer-events:auto; opacity:.95; }
.project-arrow:hover { background:#fff; color:#222; transform:translateY(-50%) scale(1.1); box-shadow:0 4px 20px rgba(0,0,0,0.25); }
.project-arrow.left { left:40px; }
.project-arrow.right { right:40px; }
.project-fs-arrow:hover { background:#fff; color:#222; transform:translateY(-50%) scale(1.1); box-shadow:0 4px 20px rgba(0,0,0,0.25); }


.project-fullscreen-btn, .project-exit-fullscreen-btn { position:absolute; top:12px; right:12px; width:38px; height:38px; border:none; border-radius:50%; background:rgba(255,255,255,0.92); box-shadow:0 6px 18px rgba(0,0,0,0.18); display:flex; align-items:center; justify-content:center; cursor:pointer; z-index:10; font-size:14px; color:#222; }
.project-exit-fullscreen-btn { display:none; }
body.in-fullscreen .project-fullscreen-btn { display:none; }
body.in-fullscreen .project-exit-fullscreen-btn { display:flex; z-index:1000001; }

body.in-fullscreen { background:#000; }
body.in-fullscreen .project-bg-container { position:fixed !important; top:0 !important; left:0 !important; right:0 !important; bottom:0 !important; width:100vw !important; height:100vh !important; z-index:99999 !important; }
body.in-fullscreen .project-bg { object-fit:contain; background:#000; z-index:99998; }

body.fs-fallback { background:#000; overflow:hidden; }
body.fs-fallback .project-bg-container { position:fixed; top:0; left:0; right:0; bottom:0; width:100vw; height:100vh; z-index:9999; }
body.fs-fallback .project-bg { width:100%; height:100%; object-fit:contain; background:#000; }
body.fs-fallback .project-fs-arrow { display:flex; z-index:10000; }
body.fs-fallback .project-fullscreen-btn { display:none; }
body.fs-fallback .project-exit-fullscreen-btn { display:flex; }

.project-fs-arrow { position:absolute; top:50%; transform:translateY(-50%); width:56px; height:56px; background:rgba(0,0,0,0.45); border:none; border-radius:50%; padding:0; display:none; align-items:center; justify-content:center; cursor:pointer; z-index:1000000; font-size:22px; color:#fff; box-shadow:0 8px 30px rgba(0,0,0,0.45); pointer-events:none; opacity:0; transition:opacity 180ms ease, transform 120ms ease; }
.project-fs-arrow.left { left:12px; }
.project-fs-arrow.right { right:12px; }
body.fs-fallback .project-fs-arrow { display:flex !important; pointer-events:auto !important; opacity:.95 !important; }
body.in-fullscreen .project-fs-arrow { display:flex !important; visibility:visible !important; opacity:.95 !important; pointer-events:auto !important; }

body.in-fullscreen .project-exit-fullscreen-btn { position:fixed !important; top:12px !important; right:12px !important; display:flex !important; z-index:1000002 !important; width:44px !important; height:44px !important; background:rgba(255,255,255,0.92) !important; color:#111 !important; align-items:center !important; justify-content:center !important; border-radius:50% !important; box-shadow:0 6px 18px rgba(0,0,0,0.18) !important; pointer-events:auto !important; }

/* Mobile adjustments: center info card horizontally and keep it on top of fullscreen arrows */
@media (max-width:900px) {
  .project-main-content { padding-left:0 !important; padding-top:12px !important; justify-content:center !important; align-items:flex-start !important; }
  .project-info-card { width:calc(100% - 40px) !important; max-width:420px !important; margin:0 auto !important; transform:translateY(0) !important; left:0 !important; right:0 !important; z-index:1000020 !important; }
  .project-close-btn { z-index:1000030 !important; }
  .project-main-content.expanded { align-items:center !important; padding-top:0; }
}

/* End project.php moved styles */

/* Loader styles (Logo + Ring) */
:root{--loader-green:#28a745}
.page-loader{
  position:fixed;inset:0;display:flex;align-items:center;justify-content:center;background:#fff;z-index:99999;transition:opacity .45s ease;pointer-events:auto
}
.page-loader.hidden{opacity:0;pointer-events:none}
.page-loader .loader-inner{display:flex;flex-direction:column;align-items:center;gap:12px}
.page-loader svg{width:120px;height:120px;display:block}
.loader-percent{font-size:14px;color:var(--loader-green);font-weight:700}
@media (prefers-reduced-motion: reduce){
  .page-loader svg{animation:none !important}
}

/* Page-specific styles for layout inspiration (All Projects page) */
body { background: #fbfbfb; padding-top: 92px; }
.container { max-width: 1200px; margin: 0 auto; padding: 28px; }
h1.page-title { font-size: 2rem; margin-bottom: 8px; }
.hint { color: #666; margin-bottom: 20px; }

.layout-preview { background: #fff; border-radius: 12px; padding: 20px; box-shadow: 0 6px 20px rgba(0,0,0,0.05); margin-bottom: 28px; }
.layout-header { display:flex; align-items:center; justify-content:space-between; gap:12px; margin-bottom: 16px; }
.layout-title { font-weight:700; color:#111; }
.layout-actions { display:flex; gap:8px; align-items:center; }
.btn { background:#111; color:#fff; padding:8px 12px; border:none; border-radius:6px; cursor:pointer; }
.btn.secondary { background:transparent; color:#111; border:1px solid #e6e6e6; }
.selected-badge { padding:6px 10px; background:#e6f7ff; color:#036; border-radius:999px; font-weight:600; }

/* Masonry-like gallery using CSS columns */
.masonry-grid {
  column-count: 4;
  column-gap: 16px;
  width: 100%;
}
.m-card {
  display: inline-block;
  width: 100%;
  margin: 0 0 16px;
  break-inside: avoid;
  border-radius: 6px;
  overflow: hidden;
  /* box-shadow: 0 6px 20px rgba(0,0,0,0.12); */
  cursor: pointer;
  background: #111;
  will-change: transform, box-shadow;
  transition: transform 280ms cubic-bezier(0.2,0.8,0.2,1), box-shadow 280ms ease, filter 280ms ease;
  transform-origin: center center;
  position: relative;
}
.m-card img { width:100%; height:auto; display:block; }
.m-card.large { transform: scale(1.02); }
.m-card.tall img { height: 320px; object-fit: cover; }
.m-card.wide { width: 100%; }

/* Pop-up hover/focus effect (desktop) */
@media (hover: hover) and (pointer: fine) {
  .m-card:hover,
  .m-card:focus-within {
    transform: translateY(-10px) scale(1.03);
    /* box-shadow: 0 18px 40px rgba(0,0,0,0.28); */
    z-index: 50;
  }
  .m-card img { transition: transform 1100ms ease; }
  .m-card:hover img { transform: scale(1.04); }
}

/* Touch devices: reduce motion and avoid hover pops */
@media (hover: none) {
  .m-card { transition: none; }
  .m-card img { transition: none; }
}

@media (max-width: 1200px) { .masonry-grid { column-count: 3; } }
@media (max-width: 900px) { .masonry-grid { column-count: 2; } }
@media (max-width: 600px) { .masonry-grid { column-count: 1; } }

/* Masonry-like (two column stagger) */
.masonry { display:grid; grid-template-columns: 1fr 1fr; gap:12px; }
.masonry .m-item { background:#fff; border-radius:8px; overflow:hidden; box-shadow:0 6px 16px rgba(0,0,0,0.06); }
.masonry .m-item img { width:100%; display:block; }
.masonry .m-item.small { height:140px; }
.masonry .m-item.large { height:260px; }

/* Large list with detail */
.list { display:flex; flex-direction:column; gap:14px; }
.list-item { display:flex; gap:16px; background:#fff; border-radius:10px; padding:12px; align-items:center; box-shadow:0 6px 18px rgba(0,0,0,0.05); }
.list-item img { width:220px; height:140px; object-fit:cover; border-radius:6px; flex-shrink:0; }
.list-item .info h3 { margin:0 0 8px 0; }
.list-item .info p { margin:0; color:#555; }

/* selection visual */
.layout-preview.selected { border:2px solid #e6f7ff; box-shadow:0 10px 26px rgba(3,102,214,0.08); }

@media (max-width:900px){ .list-item { flex-direction:column; align-items:flex-start; } .list-item img { width:100%; height:200px; } }
/* premium layouts removed */

/* End all-projects moved styles */

/* ------------------------------------------------------------------ */
/* Styles moved from project.html <style> block (project page specific)  */
/* Source: project.html - moved here on 2025-11-21 to centralize styles */
/* ------------------------------------------------------------------ */

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

body {
  margin: 0;
  font-family: 'Poppins', Arial, sans-serif;
  background: #fff;
  min-height: 100vh;
  position: relative;
  overflow: hidden;
}

.project-bg-container {
  position: absolute;
  top: 80px;
  left: 40px;
  right: 40px;
  width: calc(100vw - 80px);
  height: calc(100vh - 80px);
  z-index: 5;
}

.project-bg {
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: absolute;
  top: 0;
  left: 0;
  z-index: 1;
  transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.project-bg.transitioning {
  transform: scale(1.05);
  filter: blur(2px);
}

.project-main-content {
  position: relative;
  z-index: 10;
  width: 100vw;
  height: 100vh;
  display: flex;
  align-items: flex-start;
  justify-content: flex-start;
  padding-left: 8%;
  padding-top: 80px;
  transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.project-main-content.expanded {
  align-items: center;
  padding-top: 0;
}

.project-info-card {
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(10px);
  border-radius: 10px;
  padding: 30px 35px 30px 35px;
  width: 380px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  box-shadow: 0 14px 40px rgba(0, 0, 0, 0.14);
  transition: transform 900ms cubic-bezier(0.22, 0.1, 0.22, 1),
        padding 700ms cubic-bezier(0.22, 0.1, 0.22, 1),
        box-shadow 700ms cubic-bezier(0.22, 0.1, 0.22, 1),
        max-height 900ms cubic-bezier(0.22, 0.1, 0.22, 1);
  overflow: visible;
  transform-origin: top center;
  transform: translateY(-6vh);
  max-height: 1000px;
  position: relative;
}

.project-info-card.collapsed {
  padding: 10px 28px;
  gap: 0;
  width: 380px;
  max-height: 64px;
  justify-content: center;
  align-items: flex-start;
  transform: translateY(0);
  margin-top: 0;
  box-shadow: 0 8px 18px rgba(0,0,0,0.07);
  border-radius: 8px;
}

.project-info-content {
  transition: opacity 600ms ease-out, max-height 600ms ease-out;
  opacity: 1;
  max-height: 1000px;
  overflow: hidden;
}

.project-info-content.hidden {
  opacity: 0;
  max-height: 0;
  margin-top: 0;
  margin-bottom: 0;
  padding-top: 0;
  padding-bottom: 0;
}

.project-hide-info {
  font-size: 0.75rem;
  color: #666;
  font-weight: 500;
  letter-spacing: 0.1em;
  margin-bottom: 12px;
  cursor: pointer;
  text-transform: uppercase;
  transition: color 0.3s ease;
  flex-shrink: 0;
}

.project-close-btn {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 28px;
  height: 28px;
  border: none;
  background: rgba(0, 0, 0, 0.1);
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  color: #666;
  transition: all 0.3s ease;
  z-index: 20;
}

.project-close-btn:hover {
  background: rgba(0, 0, 0, 0.2);
  color: #333;
  transform: scale(1.1);
}

.project-close-btn:active {
  transform: scale(0.95);
}

.project-info-card.closing {
  pointer-events: none;
  opacity: 0;
  transform: translateY(-20px) scale(0.95);
  transition: opacity 400ms ease-out, transform 400ms ease-out;
}

.project-info-card.collapsed .project-hide-info { margin-bottom: 0; }

.project-hide-info:hover { color: #444; }

.project-title { font-size: 1.75rem; font-weight: 700; color: white; margin: 0 0 16px 0; line-height: 1.25; letter-spacing: -0.02em; }
.project-desc { color: #555; font-size: 0.9rem; line-height: 1.55; margin-bottom: 20px; font-weight: 400; }

.project-details-table { width: 100%; border-collapse: collapse; margin-bottom: 20px; }
.project-details-table td { padding: 8px 0; font-size: 0.9rem; color: #1a1a1a; vertical-align: top; }
.project-details-table td:first-child { color: #666; font-weight: 500; width: 35%; padding-right: 15px; }
.project-details-table td:last-child { font-weight: 400; }

.project-share-row { display: flex; align-items: center; gap: 8px; margin-top: 8px; }
.project-share-label { color: #666; font-size: 0.9rem; font-weight: 500; margin-right: 8px; }
.project-share-icons { display: flex; gap: 12px; }
.project-share-icons a { color: #1a1a1a; font-size: 1rem; transition: color 0.2s; text-decoration: none; }
.project-share-icons a:hover { color: #666; }

.project-arrow { position: absolute; top: 50%; transform: translateY(-50%); background: rgba(255, 255, 255, 0.9); border: none; border-radius: 50%; width: 50px; height: 50px; display: flex; align-items: center; justify-content: center; font-size: 1.2rem; color: #1a1a1a; cursor: pointer; z-index: 15; transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1); box-shadow: 0 2px 10px rgba(0, 0, 0, 0.15); }
.project-arrow:hover { background: rgba(255, 255, 255, 1); transform: translateY(-50%) scale(1.1); box-shadow: 0 4px 20px rgba(0, 0, 0, 0.25); }
.project-arrow:active { transform: translateY(-50%) scale(1.05); }
.project-arrow.left { left: 40px; }
.project-arrow.right { right: 40px; }

.project-thumbnail-strip { position: absolute; bottom: 30px; right: 30px; display: flex; gap: 8px; z-index: 20; max-width: calc(100% - 60px); flex-wrap: wrap; justify-content: flex-end; }
.project-thumbnail { width: 60px; height: 40px; object-fit: cover; cursor: pointer; opacity: 0.6; transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1); border: 2px solid transparent; filter: grayscale(0.5); border-radius: 4px; box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2); pointer-events: auto; z-index: 30; }
.project-thumbnail:hover { opacity: 0.9; transform: translateY(-2px) scale(1.05); box-shadow: 0 4px 12px rgba(0,0,0,0.3); filter: grayscale(0); border-color: rgba(255,255,255,0.6); }
.project-thumbnail.active { opacity: 1; border-color: rgba(255,255,255,0.8); filter: grayscale(0); box-shadow: 0 2px 8px rgba(0,0,0,0.4); transform: scale(1.1); }

@media (max-width: 768px) {
  .project-bg-container { top: 60px; left: 10px; right: 10px; width: calc(100vw - 20px); height: calc(100vh - 60px); }
  .project-main-content { justify-content: center; padding-left: 0; padding-top: 100px; align-items: center; }
  .project-info-card { width: 90vw; max-width: 350px; padding: 30px 25px; transform: translateY(-4vh); }
  .project-arrow.left { left: 15px; }
  .project-arrow.right { right: 15px; }
  .project-thumbnail-strip { bottom: 15px; right: 15px; max-width: calc(100% - 30px); gap: 6px; display: none; }
  .project-thumbnail { width: 50px; height: 35px; }
}

/* End project.html moved styles */

/* ------------------------------------------------------------------ */
/* Contact page mobile overrides to ensure the contact-band displays
   correctly on small viewports. These use !important to override any
   accidental duplicates or lower-specificity rules introduced by other
   migrated blocks. Placed at the end so they take precedence. */
@media (max-width: 600px) {
  .contact-band {
    margin: -28px 12px 18px !important;
    flex-direction: column !important;
    gap: 0 !important;
    align-items: center !important;
    padding: 0 6px !important;
  }
  .contact-band .band-item {
    padding: 14px 12px !important;
    text-align: center !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    width: 100% !important;
  }
  .band-item i { font-size: 22px !important; margin-bottom: 8px !important; }
  .band-item h4 { font-size: 13px !important; }
  .band-item p { font-size: 13px !important; word-break: break-word !important; }
}




/* Responsive Footer */
@media (max-width: 1024px) {
  .footer-container {
    grid-template-columns: 1fr 1fr;
    gap: 32px;
    padding: 40px 24px 32px;
  }
}

@media (max-width: 768px) {
  .footer-container {
    grid-template-columns: 1fr;
    gap: 32px;
    padding: 32px 20px 24px;
  }
  
  .footer-bottom-content {
    grid-template-columns: 1fr;
    gap: 16px;
    text-align: center;
    padding: 16px 20px;
  }
  
  .footer-copyright,
  .footer-center,
  .footer-designed-by {
    justify-self: center;
    text-align: center;
  }
  
  .footer-center {
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
  }
}

.footer-brand-sub {
  font-size: 0.8rem;
  color: #999;
  font-weight: 400;
  letter-spacing: 0.3px;
  line-height: 1.2;
}

.footer-copyright {
  color: #666;
  font-size: 0.85rem;
  font-weight: 400;
  line-height: 1.4;
  flex: 0 0 auto;
  margin-left: 0; /* reset any legacy offset so item sits on the left */
  text-align: left;
}

.footer-links-group {
  flex: 1;
  display: flex;
  justify-content: center;
  gap: 180px;
  margin-top: 80px;
}

.footer-links-column ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.footer-links-column ul li {
  margin: 0;
}

.footer-links-column ul li a {
  color: #666;
  text-decoration: none;
  font-size: 0.85rem;
  font-weight: 400;
  transition: color 0.2s ease;
  white-space: nowrap;
}

.footer-links-column ul li a:hover {
  color: #111;
}

.footer-social {
  display: flex;
  align-items: center;
  gap: 20px;
  flex: 0 0 auto;
}

.footer-social a {
  color: #666;
  font-size: 1.2rem;
  transition: color 0.2s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
}

.footer-social a:hover {
  color: #111;
}

@media (max-width: 1200px) {
  .footer-container {
    padding: 0 20px;
  }
  
  .footer-links-group {
    gap: 40px;
  }
  
  .footer-copyright {
    margin-left: 20px;
  }
}

@media (max-width: 900px) {
  .footer-container {
    flex-direction: column;
    align-items: center;
    gap: 24px;
    padding: 0 16px;
    text-align: center;
  }
  
  .footer-copyright {
    margin-left: 0;
  }
  
  .footer-links-group {
    margin: 0;
    gap: 24px;
  }
  
  .footer-social {
    margin-top: 8px;
  }
}
/* Slide Menu Styles */
.slide-menu {
  position: fixed;
  top: 0;
  right: 0;
  height: 100vh;
  width: 30vw;
  min-width: 280px;
  max-width: 450px;
  background: #fff;
  box-shadow: -2px 0 16px rgba(0,0,0,0.04);
  z-index: 2001;
  transform: translateX(100%);
  transition: transform 0.55s cubic-bezier(0.77, 0, 0.175, 1);
  display: flex;
  flex-direction: column;
  padding: 0;
  align-items: flex-start;
  justify-content: space-between;
}
.slide-menu.open {
  transform: translateX(0);
}
.close-btn {
  background: none;
  border: none;
  font-size: 2rem;
  color: #222;
  position: absolute;
  top: 32px;
  right: 32px;
  cursor: pointer;
  z-index: 10;
}
.menu-list {
  list-style: none;
  margin: 80px 0 0 0;
  padding: 0 0 0 0;
  width: 100%;
}
.menu-list li {
  margin: 0 0 20px 0;
  padding-left: 0;
}
.menu-link {
  color: gray;
  font-size: 1.1rem;
  font-weight: 600;
  text-decoration: none;
  transition: color 0.2s, background 0.2s;
  letter-spacing: 0.5px;
  padding: 8px 0 8px 48px;
  display: block;
  border-radius: 0 24px 24px 0;
}
.menu-link:hover {
  color: black;
  font-weight: 600;
}
.menu-footer {
  padding: 0 0 80px 48px;
  width: 100%;
}
.menu-social-icons {
  display: flex;
  gap: 32px;
  margin-bottom: 24px;
  margin-left: 0;
}
.menu-social-icons a {
  color: #bbb;
  font-size: 1.35rem;
  transition: color 0.2s;
}
.menu-social-icons a:hover {
  color: #222;
}
.menu-copyright {
  color: #222;
  font-size: 1rem;
  margin-top: 12px;
  opacity: 0.85;
}

/* SEICHO Technologies link styling */
.menu-copyright a {
  color: #e6e600;
  text-decoration: none;
  font-weight: 600;
  position: relative;
  transition: all 0.3s ease;
}

.menu-copyright a:hover {
  color: #f0f030;
  text-shadow: 0 0 8px rgba(230, 230, 0, 0.3);
  font-weight: bold;
}

/* Dancing text effect for SEICHO link */
.dancing-text span {
  display: inline-block;
  transition: transform 0.3s ease;
}

.dancing-text:hover span {
  animation: waveMotion 1.2s ease-in-out 1;
}

.dancing-text:hover span:nth-child(1) { animation-delay: 0s; }
.dancing-text:hover span:nth-child(2) { animation-delay: 0.1s; }
.dancing-text:hover span:nth-child(3) { animation-delay: 0.2s; }
.dancing-text:hover span:nth-child(4) { animation-delay: 0.3s; }
.dancing-text:hover span:nth-child(5) { animation-delay: 0.4s; }
.dancing-text:hover span:nth-child(6) { animation-delay: 0.5s; }

@keyframes waveMotion {
  0%, 100% {
    transform: translateY(0) scale(1);
  }
  50% {
    transform: translateY(-12px) scale(1.2);
  }
}

.menu-copyright a:active {
  transform: translateY(1px);
}
.menu-overlay {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(0,0,0,0.08);
  z-index: 2000;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s;
}
.menu-overlay.show {
  opacity: 1;
  pointer-events: auto;
}
@media (max-width: 700px) {
  .slide-menu {
    width: 70vw;
    min-width: 0;
    padding-left: 0;
  }
  .menu-link {
    padding-left: 24px;
    font-size: 1.1rem;
  }
  .menu-footer {
    padding-left: 24px;
  }
}
/* Main stylesheet for Vizstar Builder */

/* Global overflow prevention */
html, body {
  margin: 0;
  padding: 0;
  width: 100%;
  max-width: 100vw;
  overflow-x: hidden;
  box-sizing: border-box;
}

*, *::before, *::after {
  box-sizing: border-box;
}

body {
  font-family: 'Poppins', sans-serif;
  padding-top: 80px;
}
.carousel-section, .carousel-container {
  overflow: hidden !important;
}
.header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 32px 18px 32px;
  background: #fff;
  border-bottom: 1px solid #f2f2f2;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1), 
              box-shadow 0.3s cubic-bezier(0.4, 0, 0.2, 1),
              background 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  transform: translateY(0);
}

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

.header.header-scrolled {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
  border-bottom: 1px solid rgba(242, 242, 242, 0.8);
}
.header-left {
  display: flex;
  align-items: center;
}
.logo-box {
  width: 36px;
  height: 36px;
  border: 3px solid #000;
  border-radius: 2px;
  display: flex;
  align-items: flex-end;
  justify-content: flex-start;
  margin-right: 12px;
  box-sizing: border-box;
}
.logo-box::after {
  content: '';
  display: block;
  width: 16px;
  height: 3px;
  background: #000;
  margin: 0 0 3px 3px;
}
.brand {
  display: flex;
  flex-direction: column;
  line-height: 1;
}
.brand-title {
  font-size: 1.2rem;
  font-weight: 700;
  letter-spacing: 0.5px;
  color: #111;
  font-family: 'Poppins', sans-serif;
}
.brand-sub {
  font-size: 0.85rem;
  color: #888;
  margin-top: 2px;
  letter-spacing: 0.5px;
  font-family: 'Poppins',sans-serif;
}

/* Professional wave animation for brand title */
.brand-wave span {
  display: inline-block;
  animation: subtleWave 4s ease-in-out infinite;
}

.brand-wave span:nth-child(1) { animation-delay: 0s; }
.brand-wave span:nth-child(2) { animation-delay: 0.1s; }
.brand-wave span:nth-child(3) { animation-delay: 0.2s; }
.brand-wave span:nth-child(4) { animation-delay: 0.3s; }
.brand-wave span:nth-child(5) { animation-delay: 0.4s; }
.brand-wave span:nth-child(6) { animation-delay: 0.5s; }
.brand-wave span:nth-child(7) { animation-delay: 0.6s; }

@keyframes subtleWave {
  0%, 50%, 100% {
    transform: translateY(0);
  }
  25% {
    transform: translateY(-2px);
  }
  75% {
    transform: translateY(-1px);
  }
}
.header-center {
  flex: 1;
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 32px;
}
.call-info {
  color: #888;
  font-size: 0.95rem;
  letter-spacing: 1px;
  font-weight: 600;
  margin-right: 32px;
}
.call-info strong {
  color: #111;
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.5px;
}
.divider {
  width: 1px;
  height: 28px;
  background: #e0e0e0;
  margin: 0 24px;
  display: inline-block;
  vertical-align: middle;
}
.social-icons {
  display: flex;
  align-items: center;
  gap: 18px;
}
.social-icons a {
  color: #111;
  font-size: 1.1rem;
  text-decoration: none;
  transition: color 0.2s;
}
.social-icons a:hover {
  color: #0077b5;
}
.hamburger {
  font-size: 1.5rem;
  margin-left: 32px;
  cursor: pointer;
  border: none;
  background: none;
  outline: none;
  display: flex;
  align-items: center;
}
@media (max-width: 900px) {
  .header { 
    flex-wrap: wrap; 
    padding: 12px 10px; 
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
  }
  .header-center { gap: 12px; }
  .call-info { margin-right: 10px; font-size: 0.9rem; }
  .divider { margin: 0 10px; }
  .hamburger { margin-left: 10px; }
  
  body {
    padding-top: 70px;
  }
  
  .carousel-section {
    margin-top: -70px;
    padding-top: 70px;
  }
}

/* About Us Section */
.about-section {
  width: 100%;
  min-height: 650px;
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  margin: 0;
}
.about-container {
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  justify-content: center;
  width: 100%;
  max-width: 1400px;
  margin: 0 auto;
  padding: 80px 16px 0 16px;
  min-height: 600px;
  position: relative;
  gap: 40px;
}
.about-left {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  justify-content: flex-start;
  padding-right: 20px;
  min-width: 0;
  max-width: 100%;
  margin-top: 30px;
}
.about-label {
  color: #cddc39;
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 2px;
  margin-bottom: 18px;
  align-self: flex-start;
}
.about-title {
  font-size: 2.4rem;
  font-weight: 700;
  color: #111;
  margin: 0 0 28px 0;
  line-height: 1.1;
  font-family: 'Poppins', sans-serif;
  align-self: flex-start;
}
.about-desc {
  color: #888;
  font-size: 1.05rem;
  line-height: 1.7;
  margin-bottom: 60px;
  max-width: 420px;
  font-family: 'Poppins', sans-serif;
  align-self: flex-start;
}
.about-years-row {
  display: flex;
  align-items: center;
  gap: 24px;
  margin-top: 30px;
  align-self: flex-start;
  position: relative;
}
.about-years-box {
  border: 3px solid #e6e600;
  width: 110px;
  height: 110px;
  background: #fff;
  box-sizing: border-box;
  position: relative;
  overflow: visible;
}
.about-years-num {
  font-size: 4.2rem;
  font-weight: 600;
  color: #111;
  font-family: 'Poppins', sans-serif;
  line-height: 1;
  position: absolute;
  left: 95%;
  top: -15%;
  transform: translate(-50%, 50%);
  background: transparent;
  z-index: 2;
  padding: 0 8px;
  white-space: nowrap;
  pointer-events: none;
}
.about-years-text {
  font-size: 1.25rem;
  color: #222;
  font-family: 'Poppins', sans-serif;
  font-weight: 500;
  line-height: 1.2;
  margin-left: 8px;
}
.about-right {
  flex: 1;
  display: flex;
  align-items: flex-start;
  justify-content: flex-start;
  position: relative;
  min-width: 0;
  max-width: 100%;
  margin-top: 0;
}
.about-img-bg {
  position: absolute;
  left: 40px;
  top: 120px;
  width: 340px;
  height: 220px;
  background-image: repeating-linear-gradient(0deg, #e5e5e5 0px, #e5e5e5 1px, transparent 1px, transparent 8px), repeating-linear-gradient(90deg, #e5e5e5 0px, #e5e5e5 1px, transparent 1px, transparent 8px);
  opacity: 0.5;
  z-index: 1;
  border-radius: 0;
  pointer-events: none;
}
.about-img {
  width: 100%;
  max-width: 470px;
  height: 520px;
  object-fit: cover;
  border-radius: 0;
  box-shadow: 0 8px 32px 0 rgba(0,0,0,0.08);
  position: relative;
  z-index: 2;
  background: #eee;
  margin-left: 0;
  margin-top: 100px;
}
  @media (max-width: 1100px) {
    .about-container {
      flex-direction: column;
      align-items: center;
      padding: 40px 16px 0 16px;
      gap: 32px;
    }
    .about-left, .about-right {
      max-width: 100%;
      min-width: 0;
      padding: 0;
      margin: 0;
      align-items: center;
      flex: none;
    }
    .about-img {
      width: 100%;
      max-width: 420px;
      height: 320px;
    }
    .about-img-bg {
      left: 5%;
      top: 80px;
      width: 220px;
      height: 120px;
    }
  }

/* Carousel image zoom effect */
.carousel-slide img {
  transition: transform 1.1s cubic-bezier(.77,0,.18,1), filter 1.1s cubic-bezier(.77,0,.18,1);
}
.carousel-slide img.carousel-zoom {
  transform: scale(1.08);
  filter: brightness(1.08) saturate(1.08);
  z-index: 2;
  transition: transform 1.1s cubic-bezier(.77,0,.18,1), filter 1.1s cubic-bezier(.77,0,.18,1);
}
.carousel-slide img.carousel-zoomout {
  transform: scale(0.93);
  filter: brightness(0.95) saturate(0.95);
  z-index: 2;
  transition: transform 0.5s cubic-bezier(.77,0,.18,1), filter 0.5s cubic-bezier(.77,0,.18,1);
}

/* Slide Menu */
.slide-menu {
  position: fixed;
  top: 0;
  right: 0;
  height: 100vh;
  width: 25vw;
  min-width: 250px;
  max-width: 350px;
  background: #fff;
  box-shadow: -2px 0 16px rgba(0,0,0,0.04);
  z-index: 2001;
  transform: translateX(100%);
  transition: transform 0.55s cubic-bezier(0.77, 0, 0.175, 1);
  display: flex;
  flex-direction: column;
  padding: 0;
}
.slide-menu.open {
  transform: translateX(0);
}
.close-btn {
  background: none;
  border: none;
  font-size: 2rem;
  color: #222;
  position: absolute;
  top: 32px;
  right: 32px;
  cursor: pointer;
  z-index: 10;
}
@media (max-width: 700px) {
  .slide-menu {
    width: 65vw;
    min-width: 0;
    padding-left: 0;
  }
  .menu-list li .menu-link, .menu-footer {
    padding-left: 36px;
  }
}

/* Hero Animated Box and Text */
#hero-animated-box-square {
  width: 400px;
  height: 400px;
  border: 4px solid #ffe600;
  box-sizing: border-box;
  opacity: 0;
  pointer-events: none;
  background: transparent;
  border-radius: 0;
  transition: opacity 0.2s;
  position: relative;
  z-index: 2;
}
.hero-text-overlay {
  position: absolute;
  left: 10vw;
  top: 12vh;
  z-index: 3;
  color: #fff;
  width: 370px;
  opacity: 0;
  transition: opacity 0.5s, transform 0.7s cubic-bezier(.77,0,.18,1);
  transform: translateY(40px);
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.hero-text-overlay.show {
  opacity: 1;
  transform: translateY(0);
}
.hero-label {
  font-size: 1.1rem;
  font-weight: 600;
  color: #fff;
  opacity: 0.85;
  letter-spacing: 0.5px;
  margin-bottom: 8px;
}
.hero-title {
  font-size: 3rem;
  font-weight: 700;
  line-height: 1.05;
  color: #fff;
  margin-bottom: 18px;
  letter-spacing: 0.5px;
  text-shadow: 0 2px 8px rgba(0,0,0,0.18);
}
.hero-link {
  font-size: 1.1rem;
  font-weight: 600;
  color: #fff;
  text-decoration: none;
  background: none;
  border: none;
  display: inline-block;
  margin-top: 12px;
  letter-spacing: 0.5px;
  transition: color 0.2s;
  position: relative;
}

/* Hide hero overlay on small screens (mobile) to avoid layout issues */
@media (max-width: 768px) {
  .hero-text-overlay {
    display: none !important;
  }

  .carousel-section {
    min-height: 100% !important;
  }
}
.hero-link .arrow {
  margin-left: 8px;
  font-size: 1.2em;
  vertical-align: middle;
  transition: margin-left 0.2s;
}
.hero-link:hover .arrow {
  margin-left: 16px;
}
.carousel-section {
  width: 100%;
  /* min-height: 100vh; */
  background: white;
  display: flex;
  justify-content: center;
  align-items: stretch;
  padding: 0;
  margin: 0;
}
.carousel-container {
  position: relative;
  width: 100%;
  height: 90vh;
  max-width: 100%;
  overflow: hidden;
  background: #eee;
  display: flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  padding: 0 16px;
}
.carousel-slide {
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100vh;
  align-items: center;
  justify-content: center;
  opacity: 0;
  z-index: 0;
  transform: translateX(100%);
  transition: transform 0.8s cubic-bezier(.77,0,.18,1), opacity 0.6s cubic-bezier(.77,0,.18,1);
  padding: 0;
  display: flex;
  pointer-events: none;
}
.carousel-slide.active {
  opacity: 1;
  z-index: 1;
  transform: translateX(0);
  pointer-events: auto;
}
.carousel-slide.prev {
  opacity: 0.7;
  z-index: 0;
  transform: translateX(-100%);
}
.carousel-slide img {
  width: 100%;
  height: 100vh;
  object-fit: cover;
  display: block;
  border-radius: none;
}
.carousel-dots {
  position: absolute;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 12px;
  z-index: 2;
}
.carousel-dots .dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #bbb;
  cursor: pointer;
  transition: background 0.2s;
}
.carousel-dots .dot.active {
  background: #222;
}
/* Ensure hero overlay sits above any decorative/animated boxes so its links are clickable */
.carousel-container .hero-text-overlay {
  z-index: 1000 !important;
  pointer-events: auto;
}
@media (max-width: 900px) {
  .carousel-container, .carousel-slide img, .carousel-slide {
    height: 220px;
    min-height: 220px;
    padding: 0 8px;
  }
  .carousel-slide img {
    border-radius: none;
  }
}

  /* Latest Projects Section */
  .projects-section {
    width: 100%;
    padding: 80px 16px;
    background: #fff;
    display: flex;
    flex-direction: column;
    align-items: center;
    max-width: 1400px;
    margin: 0 auto;
    box-sizing: border-box;
  }

  .projects-header-row {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
  margin-bottom: 24px;
  }

  .projects-title {
    font-size: 2.0rem;
    font-weight: 700;
    color: #111;
    margin: 0;
    font-family: 'Poppins', sans-serif;
  }

  .projects-filters {
    display: flex;
    align-items: center;
    gap: 32px;
  }

  .filter-btn {
    background: none;
    border: none;
    font-size: 1rem;
    font-weight: 500;
    color: #888;
    cursor: pointer;
    padding: 8px 16px;
    border-radius: 0;
    transition: color 0.3s;
    font-family: 'Poppins', sans-serif;
    text-decoration: none;
  }

  .filter-btn.active {
    color: #cddc39;
    font-weight: 600;
  }

  .filter-btn:hover {
    color: #111;
  }

  .view-all-projects {
    color: #888;
    text-decoration: none;
    font-size: 1rem;
    font-weight: 500;
    transition: color 0.3s;
    font-family: 'Poppins', sans-serif;
  }

  .view-all-projects:hover {
    color: #111;
  }

  .projects-list {
    width: 100%;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    margin-bottom: 40px;
    box-sizing: border-box;
  }

  .project-card {
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    cursor: pointer;
    transition: transform 0.3s, opacity 0.4s ease-in-out;
    background: #fff;
    box-shadow: 0 4px 16px rgba(0,0,0,0.06);
  }

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

  .project-img-wrapper {
    position: relative;
    width: 100%;
    height: 400px;
    overflow: hidden;
  }

  .project-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s;
  }

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

  .project-info {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 24px;
    background: linear-gradient(transparent, rgba(0,0,0,0.7));
    color: #fff;
  }

  .project-title {
    font-size: 1.25rem;
    font-weight: 600;
    line-height: 1.3;
    margin-bottom: 12px;
    font-family: 'Poppins', sans-serif;
  }

  .project-link {
    color: #fff;
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 500;
    transition: opacity 0.3s;
    font-family: 'Poppins', sans-serif;
  }

  .project-link:hover {
    opacity: 0.8;
  }

  .project-link .arrow {
    margin-left: 8px;
    transition: margin-left 0.3s;
  }

  .project-link:hover .arrow {
    margin-left: 12px;
  }

  .projects-dots {
    display: flex;
    gap: 12px;
    justify-content: center;
    margin-top: 20px;
    transition: opacity 0.3s;
  }

  .projects-dots .dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #ddd;
    cursor: pointer;
    transition: background 0.3s, opacity 0.3s;
  }

  .projects-dots .dot.active {
    background: #cddc39;
  }

  @media (max-width: 1200px) {
    .projects-list {
      grid-template-columns: repeat(3, 1fr);
      gap: 20px;
    }
    
    .projects-section {
      padding: 80px 20px;
    }
  }

  @media (max-width: 900px) {
    .projects-section {
      padding: 60px 16px;
    }
    
    .projects-header-row {
      flex-direction: column;
      gap: 32px;
      text-align: center;
    }
    
    .projects-filters {
      gap: 20px;
      flex-wrap: wrap;
      justify-content: center;
    }
    
    .projects-list {
      grid-template-columns: repeat(2, 1fr);
      gap: 16px;
    }
    
    .projects-title {
      font-size: 2rem;
    }
  }

  @media (max-width: 600px) {
    .projects-section {
      padding: 60px 12px;
    }
    
    .projects-list {
      grid-template-columns: 1fr;
      gap: 16px;
    }
    
    .project-img-wrapper {
      height: 250px;
    }
  }

  /* Testimonials Section */
  .testimonials-section {
    width: 100%;
    padding: 0px 16px;
    background: #ffffff;
    display: flex;
    flex-direction: column;
    align-items: center;
    max-width: 1400px;
    margin: 0 auto;
    /* margin-bottom: 1.5%; */
    box-sizing: border-box;
  }

  .testimonials-header {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    /* margin-bottom: 60px; */
  }

  .testimonials-title {
    font-size: 2.0rem;
    font-weight: 700;
    color: #111;
    margin: 0;
    font-family: 'Poppins', sans-serif;
  }

  .testimonials-nav {
    display: flex;
    gap: 16px;
  }

  .testimonial-nav-btn {
    background: transparent;
    border: 1px solid rgba(0,0,0,0.08);
    color: #222;
    padding: 8px 12px;
    font-size: 18px;
    cursor: pointer;
    border-radius: 6px;
    transition: background 0.15s, transform 0.08s;
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }

  .testimonial-nav-btn:hover {
    background: rgba(0,0,0,0.04);
    transform: translateY(-1px);
  }

  .testimonials-container {
    width: 100%;
    overflow: hidden;
    position: relative;
  }

  .testimonials-slider {
    display: flex;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    gap: 32px;
    width: 100%;
    padding: 40px 0px;
  }

  .testimonial-card {
    min-width: calc(50% - 16px);
    max-width: calc(50% - 16px);
    background: #ffffff;
    border-radius: 16px;
    padding: 32px;
    box-shadow: 0 12px 48px rgba(0,0,0,0.06);
    border: 1px solid rgba(0,0,0,0.04);
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 24px;
    opacity: 0.8;
    transform: scale(0.96);
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    flex-shrink: 0;
    box-sizing: border-box;
    backdrop-filter: blur(10px);
  }

  .testimonial-card.active {
    opacity: 1;
    transform: scale(1);
    box-shadow: 0 16px 64px rgba(0,0,0,0.1);
    border-color: rgba(230, 230, 0, 0.1);
  }

  .testimonial-profile {
    display: flex;
    align-items: center;
    gap: 16px;
    padding-bottom: 8px;
    border-bottom: 1px solid rgba(0,0,0,0.05);
  }

  .testimonial-avatar {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
    /* border: 3px solid #f8f8f8;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1); */
  }

  .testimonial-info h4 {
    margin: 0 0 4px 0;
    font-size: 1.1rem;
    font-weight: 700;
    color: #111;
    font-family: 'Poppins', sans-serif;
    letter-spacing: 0.3px;
  }

  .testimonial-info p {
    margin: 0;
    font-size: 0.85rem;
    color: #666;
    font-family: 'Poppins', sans-serif;
    font-weight: 500;
    line-height: 1.4;
  }

  .testimonial-quote {
    position: relative;
    padding-top: 16px;
  }

  .quote-icon {
    position: absolute;
    top: -4px;
    left: 0;
    font-size: 2.5rem;
    color: #e6e600;
    opacity: 0.6;
  }

  .testimonial-text {
    font-size: 1rem;
    line-height: 1.6;
    color: #444;
    margin: 24px 0 0 0;
    font-family: 'Poppins', sans-serif;
    font-weight: 400;
    font-style: normal;
    text-align: justify;
    letter-spacing: 0.2px;
  }

  @media (max-width: 1200px) {
    .testimonial-card {
      min-width: calc(60% - 16px);
      max-width: calc(60% - 16px);
    }
  }

  @media (max-width: 900px) {
    .testimonials-section {
      padding: 60px 16px;
    }
    
    .testimonials-header {
      flex-direction: column;
      gap: 32px;
      text-align: center;
    }
    
    .testimonials-title {
      font-size: 2rem;
    }
    
    .testimonial-card {
      min-width: calc(80% - 16px);
      max-width: calc(80% - 16px);
      padding: 30px;
    }
    
    .testimonial-profile {
      flex-direction: column;
      text-align: center;
      gap: 16px;
    }
    
    .testimonial-avatar {
      width: 70px;
      height: 70px;
    }
  }

  @media (max-width: 600px) {
    .testimonials-section {
      padding: 60px 12px;
    }
    
    .testimonial-card {
      min-width: calc(100% - 16px);
      max-width: calc(100% - 16px);
      padding: 24px;
    }
    
    .testimonials-nav {
      gap: 12px;
    }
    
    .testimonial-nav-btn {
      width: 44px;
      height: 44px;
      font-size: 1rem;
    }
    
    .testimonial-text {
      font-size: 1rem;
    }
  }

/* About Page Animations */
.fade-in-up {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease;
}
.fade-in-up.visible {
    opacity: 1;
    transform: translateY(0);
}

.highlight-bar {
    width: 0;
    transition: width 1.2s ease-in-out;
}
.highlight-bar.animate {
    width: 48px;
}

.typewriter {
    overflow: hidden;
    white-space: nowrap;
    margin: 0 auto;
    letter-spacing: .15em;
    animation: typing 3.5s steps(40, end), blink-caret .75s step-end infinite;
}

@keyframes typing {
    from { width: 0; }
    to { width: 100%; }
}

@keyframes blink-caret {
    from, to { border-color: transparent; }
    50% { border-color: #333; }
}

.service-card {
    transition: all 0.3s ease;
    cursor: pointer;
}
.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
}

.float-animation {
    animation: float 3s ease-in-out infinite;
}

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

.draw-svg {
    stroke-dasharray: 1000;
    stroke-dashoffset: 1000;
    animation: draw 2s ease-in-out forwards;
}

@keyframes draw {
    to { stroke-dashoffset: 0; }
}

.counter {
    font-size: 2rem;
    font-weight: 700;
    color: #e6e600;
}

.progress-bar {
    width: 100%;
    height: 4px;
    background: #e0e0e0;
    border-radius: 2px;
    overflow: hidden;
    margin: 8px 0;
}

.progress-fill {
    height: 100%;
    background: linear-gradient(90deg, #e6e600, #f0f030);
    width: 0;
    transition: width 2s ease-in-out;
}

.morphing-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: -1;
}

.shape {
    position: absolute;
    border-radius: 50%;
    background: linear-gradient(45deg, rgba(230, 230, 0, 0.1), rgba(240, 240, 48, 0.05));
    animation: morph 8s ease-in-out infinite;
}

.shape:nth-child(1) {
    width: 200px;
    height: 200px;
    top: 10%;
    left: 10%;
    animation-delay: 0s;
}

.shape:nth-child(2) {
    width: 150px;
    height: 150px;
    top: 60%;
    right: 10%;
    animation-delay: 2s;
}

@keyframes morph {
    0%, 100% {
        border-radius: 50%;
        transform: rotate(0deg) scale(1);
    }
    25% {
        border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
        transform: rotate(90deg) scale(1.1);
    }
    50% {
        border-radius: 70% 30% 30% 70% / 70% 70% 30% 30%;
        transform: rotate(180deg) scale(0.9);
    }
    75% {
        border-radius: 40% 60% 60% 40% / 60% 40% 60% 40%;
        transform: rotate(270deg) scale(1.05);
    }
}

.pulse {
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% { box-shadow: 0 0 0 0 rgba(230, 230, 0, 0.7); }
    70% { box-shadow: 0 0 0 10px rgba(230, 230, 0, 0); }
    100% { box-shadow: 0 0 0 0 rgba(230, 230, 0, 0); }
}

.stagger-1 { animation-delay: 0.1s; }
.stagger-2 { animation-delay: 0.3s; }
.stagger-3 { animation-delay: 0.5s; }

.slide-in-left {
    opacity: 0;
    transform: translateX(-50px);
    transition: all 0.8s ease;
}
.slide-in-left.visible {
    opacity: 1;
    transform: translateX(0);
}

.slide-in-right {
    opacity: 0;
    transform: translateX(50px);
    transition: all 0.8s ease;
}
.slide-in-right.visible {
    opacity: 1;
    transform: translateX(0);
}

.zoom-in {
    opacity: 0;
    transform: scale(0.5);
    transition: all 0.6s ease;
}
.zoom-in.visible {
    opacity: 1;
    transform: scale(1);
}

/* About Page Layout - Mobile & Tablet Responsive */
.about-main-section {
    padding-top: 48px;
    position: relative;
}

.about-main-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 16px;
}

.about-header {
    margin-bottom: 48px;
}

.about-header h1 {
    font-size: 2.5rem;
    font-weight: 700;
    margin: 0 0 12px 0;
    font-family: 'Poppins', sans-serif;
    border-right: 3px solid #333;
}

.about-stats-section {
    margin-bottom: 48px;
}

.about-stats-container {
    display: flex;
    gap: 32px;
    flex-wrap: wrap;
    justify-content: center;
    text-align: center;
}

.about-stats-item {
    flex: 0 1 auto;
    min-width: 160px;
    max-width: 200px;
}

.about-main-content {
    display: flex;
    align-items: flex-start;
    gap: 48px;
    flex-wrap: wrap;
}

.about-sidebar {
    flex: 0 0 120px;
    color: #bdbdbd;
    font-size: 0.95rem;
    font-weight: 600;
    letter-spacing: 2px;
}

.about-content {
    flex: 1;
    min-width: 260px;
}

.about-content p {
    margin-bottom: 12px;
}

.about-services-section {
    background: #fafafa;
    margin-top: 64px;
    padding: 64px 0;
    position: relative;
}

.about-services-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 64px;
    display: flex;
    align-items: flex-start;
    gap: 64px;
}

.about-services-sidebar {
    flex: 0 0 120px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.about-services-sidebar div {
    color: #bdbdbd;
    font-size: 1rem;
    font-weight: 600;
    letter-spacing: 3px;
    line-height: 1.8;
}

.about-services-content {
    flex: 1;
    display: flex;
    gap: 64px;
    justify-content: space-between;
    flex-wrap: wrap;
}

.about-service-card {
    flex: 1;
    min-width: 250px;
    max-width: 350px;
    text-align: center;
    padding: 20px;
    border-radius: 8px;
}

.about-service-icon {
    margin-bottom: 24px;
}

.about-service-card h3 {
    font-size: 1.2rem;
    font-weight: 700;
    margin: 0 0 14px 0;
    color: #333;
    font-family: 'Poppins', sans-serif;
}

.about-service-card p {
    font-size: 0.85rem;
    color: #666;
    line-height: 1.5;
    text-align: left;
}

.about-team-section {
    padding: 64px 0;
}

.about-team-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 16px;
}

.about-team-label {
    color: #bdbdbd;
    font-size: 0.95rem;
    font-weight: 600;
    letter-spacing: 2px;
    margin-bottom: 18px;
}

.about-team-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 32px;
    justify-content: flex-start;
}

.about-team-member {
    width: 120px;
    height: 120px;
    border-radius: 8px;
    object-fit: cover;
    transition: transform 0.3s ease;
}

/* Mobile & Tablet Responsive Styles */
@media (max-width: 1200px) {
    .about-services-container {
        padding: 0 32px;
        gap: 32px;
    }
    
    .about-services-content {
        gap: 32px;
    }
    
    .about-service-card {
        min-width: 220px;
        max-width: 300px;
    }
}

@media (max-width: 900px) {
    .about-header h1 {
        font-size: 2rem;
        white-space: normal;
        border-right: none;
    }
    
    .typewriter {
        white-space: normal;
        animation: none;
    }
    
    .about-stats-container {
        gap: 20px;
    }
    
    .about-stats-item {
        min-width: 100px;
        max-width: 120px;
    }
    
    .counter {
        font-size: 1.5rem;
    }
    
    .about-main-content {
        flex-direction: column;
        gap: 24px;
    }
    
    .about-sidebar {
        flex: none;
        text-align: center;
        line-height: 1.4;
    }
    
    .about-services-container {
        flex-direction: column;
        gap: 32px;
        padding: 0 24px;
    }
    
    .about-services-sidebar {
        flex: none;
        align-items: center;
        text-align: center;
    }
    
    .about-services-sidebar div {
        line-height: 1.4;
    }
    
    .about-services-content {
        flex-direction: column;
        gap: 32px;
        align-items: center;
    }
    
    .about-service-card {
        max-width: 100%;
        min-width: 280px;
    }
    
    .about-team-grid {
        justify-content: center;
        gap: 24px;
    }
    
    .about-team-member {
        width: 100px;
        height: 100px;
    }
}

@media (max-width: 600px) {
    .about-main-section {
        padding-top: 24px;
    }
    
    .about-main-container {
        padding: 0 12px;
    }
    
    .about-header {
        margin-bottom: 32px;
    }
    
    .about-header h1 {
        font-size: 1.5rem;
    }
    
    .about-stats-section {
        margin-bottom: 32px;
    }
    
    .about-stats-container {
        flex-direction: column;
        gap: 16px;
    }
    
    .about-stats-item {
        min-width: auto;
        max-width: 200px;
        margin: 0 auto;
    }
    
    .counter {
        font-size: 1.25rem;
    }
    
    .about-main-content {
        gap: 16px;
    }
    
    .about-content p {
        font-size: 0.85rem;
        line-height: 1.6;
    }
    
    .about-services-section {
        margin-top: 32px;
        padding: 32px 0;
    }
    
    .about-services-container {
        padding: 0 12px;
        gap: 24px;
    }
    
    .about-services-content {
        gap: 24px;
    }
    
    .about-service-card {
        min-width: auto;
        padding: 16px;
    }
    
    .about-service-card h3 {
        font-size: 1rem;
    }
    
    .about-service-card p {
        font-size: 0.8rem;
    }
    
    .about-team-section {
        padding: 32px 0;
    }
    
    .about-team-container {
        padding: 0 12px;
    }
    
    .about-team-grid {
        gap: 16px;
    }
    
    .about-team-member {
        width: 80px;
        height: 80px;
    }
    
    .shape {
        display: none;
    }
    
    .morphing-bg {
        display: none;
    }
}

/* About Section Padding */
.about-section-padding {
  padding-left: 40px;
  padding-right: 40px;
}
@media (max-width: 768px) {
  .about-section-padding {
    padding-left: 16px;
    padding-right: 16px;
  }
}

