/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
    overflow-x: hidden;
}

body {
    font-family: 'Montserrat', sans-serif;
    line-height: 1.6;
    color: #333;
    overflow-x: hidden;
    background: #ffffff;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    width: 100%;
}

.accent {
    color: #D4AF37;
}

/* Loading Screen - Fixed Dimensions */
.loader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: linear-gradient(135deg, #3f4555, #555c6e);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 10000;
    overflow: hidden;
}

.loader-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1200 800"><polygon fill="%23ffffff10" points="0,400 300,200 600,350 900,150 1200,300 1200,800 0,800"/></svg>') no-repeat center center;
    background-size: cover;
}

.loader-content {
    text-align: center;
    color: white;
    position: relative;
    z-index: 2;
    max-width: 400px;
    width: 90%;
}

.loader-logo {
    margin-bottom: 2rem;
    opacity: 0;
    transform: scale(0.5);
}

.logo-icon {
    font-size: clamp(3rem, 8vw, 4rem);
    margin-bottom: 1rem;
}

.logo-text {
    font-size: clamp(1.5rem, 5vw, 2rem);
    font-weight: 900;
    letter-spacing: 2px;
}

.progress-container {
    margin-bottom: 1.5rem;
}

.progress-bar {
    width: 100%;
    height: 6px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 3px;
    overflow: hidden;
    position: relative;
    margin-bottom: 1rem;
}

.progress-fill {
    height: 100%;
    background: linear-gradient(90deg, #ffffff, #ffe6d9);
    width: 0%;
    border-radius: 3px;
    transition: width 0.3s ease;
}

.progress-glow {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 100px;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.6), transparent);
    animation: glow 2s infinite;
}

@keyframes glow {
    0% { transform: translateX(-100px); }
    100% { transform: translateX(400px); }
}

.progress-percentage {
    font-size: 1.2rem;
    font-weight: 700;
    color: white;
}

.loader-text {
    font-size: clamp(1rem, 3vw, 1.2rem);
    margin-bottom: 1rem;
    opacity: 0.9;
}

.loading-dots {
    display: flex;
    justify-content: center;
    gap: 8px;
}

.loading-dots span {
    width: 8px;
    height: 8px;
    background: white;
    border-radius: 50%;
    animation: bounce 1.4s infinite ease-in-out both;
}

.loading-dots span:nth-child(1) { animation-delay: -0.32s; }
.loading-dots span:nth-child(2) { animation-delay: -0.16s; }

@keyframes bounce {
    0%, 80%, 100% { 
        transform: scale(0);
    } 
    40% { 
        transform: scale(1);
    }
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    transition: all 0.3s ease;
    border-bottom: 1px solid rgba(212, 175, 55, 0.1);
    opacity: 0;
    transform: translateY(-100%);
}

.navbar.scrolled {
    background: rgba(255, 255, 255, 0.98);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
}

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

.nav-logo {
    display: flex;
    align-items: center;
    font-size: clamp(1.2rem, 3vw, 1.5rem);
    font-weight: 800;
    color: #333;
    text-decoration: none;
}

.nav-logo i {
    margin-right: 0.5rem;
    color: #D4AF37;
    font-size: 1.2em;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
    margin: 0;
}

.nav-link {
    text-decoration: none;
    color: #333;
    font-weight: 600;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    position: relative;
    padding: 8px 0;
}

.nav-link:hover,
.nav-link.active {
    color: #D4AF37;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: #D4AF37;
    transition: width 0.3s ease;
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    padding: 5px;
}

.hamburger .bar {
    width: 25px;
    height: 3px;
    background: #333;
    margin: 3px 0;
    transition: 0.3s;
    border-radius: 2px;
}

/* Hero Section */
.hero {
    min-height: 100vh;
    position: relative;
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, #1e3c72, #2a5298);
    color: white;
    overflow: hidden;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /* background: linear-gradient(45deg, rgba(30, 60, 114, 0.8), rgba(42, 82, 152, 0.8)); */
        background: linear-gradient(45deg, #A89F91, #333333);
}

.construction-crane {
    position: absolute;
    right: 8%;
    top: 15%;
    width: min(180px, 12vw);
    height: min(350px, 25vh);
    opacity: 0.7;
    z-index: 2;
}

.crane-base {
    position: absolute;
    bottom: 0;
    right: 45%;
    width: 20px;
    height: 20px;
    background: #333;
    border-radius: 50%;
}

.crane-tower {
    position: absolute;
    right: 45%;
    bottom: 0;
    width: 8px;
    height: 70%;
    background: #D4AF37;
    border-radius: 2px;
}

.crane-jib {
    position: absolute;
    right: 0;
    top: 20%;
    width: 80%;
    height: 6px;
    background: #D4AF37;
    transform-origin: 80% center;
    border-radius: 2px;
}

.crane-trolley {
    position: absolute;
    right: 50%;
    top: 18%;
    width: 12px;
    height: 12px;
    background: #FFD700;
    border-radius: 2px;
}

.crane-hook {
    position: absolute;
    right: 47%;
    top: 25%;
    width: 4px;
    height: 40px;
    background: #333;
    border-radius: 2px;
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
    align-items: center;
    width: 100%;
    position: relative;
    z-index: 3;
    padding: 8rem 0;
}

.hero-text {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.hero-title {
    font-size: clamp(2.5rem, 7vw, 4.5rem);
    font-weight: 900;
    line-height: 1.1;
    margin-bottom: 1.5rem;
}

.title-line {
    display: block;
    overflow: hidden;
    margin-bottom: 0.2rem;
}

.title-word {
    display: block;
    transform: translateY(100%);
    opacity: 0;
}

.hero-subtitle {
    font-size: clamp(1rem, 2.5vw, 1.3rem);
    margin-bottom: 2.5rem;
    opacity: 0;
    transform: translateY(30px);
    line-height: 1.6;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    margin-bottom: 3rem;
    justify-content: center;
    flex-wrap: wrap;
}

.btn {
    padding: 15px 30px;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    opacity: 0;
    transform: translateY(20px);
}

.btn-primary {
    background: #D4AF37;
    color: white;
    box-shadow: 0 4px 15px rgba(212, 175, 55, 0.3);
}

.btn-primary:hover {
    background: #e55a2b;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(212, 175, 55, 0.4);
}

.btn-secondary {
    background: transparent;
    color: white;
    border: 2px solid white;
}

.btn-secondary:hover {
    background: white;
    color: #333;
    transform: translateY(-2px);
}

.btn-loading {
    display: none;
}

.hero-stats {
    display: flex;
    justify-content: center;
}

.stats-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 2rem;
    max-width: 600px;
    width: 100%;
}

.stat-item {
    text-align: center;
    padding: 1.5rem 1rem;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 15px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: transform 0.3s ease;
    opacity: 0;
    transform: scale(0.5);
}

.stat-item:hover {
    transform: translateY(-5px) scale(1);
}

.stat-icon {
    font-size: 2rem;
    color: #D4AF37;
    margin-bottom: 1rem;
}

.stat-number {
    font-size: clamp(2rem, 5vw, 2.5rem);
    font-weight: 900;
    color: white;
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: clamp(0.8rem, 2vw, 0.9rem);
    opacity: 0.9;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    color: white;
    opacity: 0.8;
    z-index: 3;
}

.scroll-mouse {
    width: 24px;
    height: 40px;
    border: 2px solid white;
    border-radius: 12px;
    position: relative;
    margin-bottom: 8px;
}

.scroll-wheel {
    width: 4px;
    height: 8px;
    background: white;
    border-radius: 2px;
    position: absolute;
    top: 8px;
    left: 50%;
    transform: translateX(-50%);
    animation: scroll 2s infinite;
}

@keyframes scroll {
    0% { opacity: 1; top: 8px; }
    100% { opacity: 0; top: 24px; }
}

.scroll-text {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Sections */
.services, .about, .contact {
    padding: 50px 0 100px;
    background: #f8f9fa;
}

.projects {
    padding: 100px 0;
    background: #333;
    color: white;
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.section-title {
    font-size: clamp(2rem, 5vw, 3rem);
    font-weight: 800;
    margin-bottom: 1rem;
    color: #333;
}

.project-group {
    margin-bottom: 50px;
    padding: 0 10px;
  }
  .project-heading {
  font-size: 1.6rem;
  margin-bottom: 1rem;
  color: #D4AF37;  /* Gold instead of gray */
  border-left: 4px solid #D4AF37;
  padding-left: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
}

  .project-images {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
    justify-items: center;
  }
  .project-images img {
    width: 100%;
    max-width: 400px;
    border-radius: 12px;
    object-fit: cover;
    box-shadow: 0 4px 15px rgba(0,0,0,0.15);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
  }
  .project-images img:hover {
    transform: scale(1.05);
    box-shadow: 0 8px 25px rgba(0,0,0,0.25);
  }
  @media (max-width: 768px) {
    .project-images { gap: 15px; }
    .project-heading { font-size: 1.4rem; }
  }
  @media (max-width: 480px) {
    .project-images { gap: 10px; }
    .project-heading { font-size: 1.2rem; }
  }

.projects .section-title {
    color: white;
}

.section-subtitle {
    font-size: clamp(1rem, 2.5vw, 1.2rem);
    color: #666;
    line-height: 1.6;
}

.projects .section-subtitle {
    color: #ccc;
}

/* Services Grid */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.service-card {
    background: white;
    padding: 3rem 2rem;
    border-radius: 20px;
    text-align: center;
    position: relative;
    transition: all 0.3s ease;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    border: 2px solid transparent;
    overflow: hidden;
    opacity: 0;
    transform: translateY(50px);
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(212, 175, 55, 0.1), transparent);
    transition: left 0.5s ease;
}

.service-card:hover::before {
    left: 100%;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(212, 175, 55, 0.15);
    border-color: #D4AF37;
}

.service-icon {
    font-size: 3.5rem;
    color: #D4AF37;
    margin-bottom: 1.5rem;
    transition: transform 0.3s ease;
}

.service-card:hover .service-icon {
    transform: scale(1.1);
}

.service-card h3 {
    font-size: clamp(1.2rem, 2.5vw, 1.4rem);
    margin-bottom: 1rem;
    color: #333;
    font-weight: 700;
}

.service-card p {
    color: #666;
    line-height: 1.6;
    font-size: clamp(0.9rem, 2vw, 1rem);
    margin-bottom: 1.5rem;
}

.service-number {
    position: absolute;
    top: -15px;
    right: 20px;
    background: #D4AF37;
    color: white;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 1.1rem;
    box-shadow: 0 4px 15px rgba(212, 175, 55, 0.3);
}

/* Projects Gallery */
.projects-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
}

.project-item {
    position: relative;
    height: 350px;
    border-radius: 20px;
    overflow: hidden;
    cursor: pointer;
    transition: transform 0.3s ease;
    opacity: 0;
    transform: scale(0.8);
} 

.project-item:hover {
    transform: scale(1.02);
}

.project-bg {
    width: 100%;
    height: 100%;
    border-radius: 20px;
}

.project-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.8));
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
    border-radius: 20px;
}

.project-item:hover .project-overlay {
    opacity: 1;
}

.project-info {
    text-align: center;
    padding: 2rem;
}

.project-info h3 {
    font-size: clamp(1.2rem, 2.5vw, 1.5rem);
    margin-bottom: 1rem;
    color: white;
}

.project-info p {
    margin-bottom: 1.5rem;
    color: rgba(255, 255, 255, 0.9);
    font-size: clamp(0.9rem, 2vw, 1rem);
}

.view-project {
    background: #D4AF37;
    color: white;
    border: none;
    padding: 12px 24px;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.view-project:hover {
    background: #e55a2b;
    transform: translateY(-2px);
}

/* About Section */
.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.about-text {
    opacity: 0;
    transform: translateX(-50px);
}

.about-visual {
    opacity: 0;
    transform: translateX(50px);
}

.about-description {
    font-size: clamp(1rem, 2vw, 1.1rem);
    color: #666;
    margin-bottom: 2rem;
    line-height: 1.8;
}

.about-features {
    display: grid;
    gap: 1.5rem;
}

.feature-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1rem;
    background: white;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease;
}

.feature-item:hover {
    transform: translateX(10px);
}

.feature-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #D4AF37, #FFD700);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.2rem;
    flex-shrink: 0;
}

.feature-content h4 {
    margin-bottom: 0.5rem;
    color: #333;
    font-weight: 600;
}

.feature-content p {
    color: #666;
    font-size: 0.9rem;
    margin: 0;
}

.building-animation {
    position: relative;
    height: 400px;
    display: flex;
    justify-content: center;
    align-items: flex-end;
}

.building-container {
    position: relative;
    display: flex;
    flex-direction: column-reverse;
    align-items: center;
}

.building-floor {
    width: min(200px, 80%);
    height: 50px;
    background: linear-gradient(45deg, #D4AF37, #FFD700);
    margin-bottom: 3px;
    border-radius: 5px;
    opacity: 0;
    transform: translateY(50px);
    box-shadow: 0 2px 10px rgba(212, 175, 55, 0.3);
}

.building-foundation {
    width: min(250px, 90%);
    height: 30px;
    background: #333;
    border-radius: 5px;
    margin-top: 10px;
}

/* Contact Section */
.contact-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: start;
}

.contact-details {
    margin-bottom: 2rem;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
    padding: 1.5rem;
    background: white;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    opacity: 0;
    transform: translateX(-30px);
}

.contact-item:hover {
    transform: translateX(5px);
    box-shadow: 0 8px 25px rgba(212, 175, 55, 0.15);
}

.contact-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #D4AF37, #FFD700);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.3rem;
    flex-shrink: 0;
}

.contact-text h4 {
    margin-bottom: 0.5rem;
    color: #333;
    font-weight: 600;
    font-size: clamp(1rem, 2vw, 1.1rem);
}

.contact-text p {
    color: #666;
    margin: 0;
    font-size: clamp(0.9rem, 2vw, 1rem);
}

.contact-text a {
    color: #666;
    text-decoration: none;
    transition: color 0.3s ease;
}

.contact-text a:hover {
    color: #D4AF37;
}

.social-links {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    justify-content: center;
}

.social-link {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #D4AF37, #FFD700);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 1.2rem;
}

.social-link:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(212, 175, 55, 0.4);
}

.contact-form-container {
    background: white;
    padding: 2.5rem;
    border-radius: 20px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(212, 175, 55, 0.1);
    opacity: 0;
    transform: translateX(30px);
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    color: #333;
    font-weight: 600;
    font-size: clamp(0.9rem, 2vw, 1rem);
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid #e1e5e9;
    border-radius: 10px;
    font-size: 1rem;
    transition: all 0.3s ease;
    font-family: inherit;
    background: #f8f9fa;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #D4AF37;
    background: white;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(212, 175, 55, 0.1);
}

.submit-btn {
    width: 100%;
    background: linear-gradient(135deg, #D4AF37, #FFD700);
    color: white;
    padding: 15px;
    border: none;
    border-radius: 10px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
    box-shadow: 0 4px 15px rgba(212, 175, 55, 0.3);
    opacity: 1;
    text-align: center;
    display: flex;
    justify-content: center;
    margin-bottom: 20px;
}

.submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(212, 175, 55, 0.4);
}

.submit-btn:disabled {
    cursor: not-allowed;
    opacity: 0.7;
}

/* Footer */
.footer {
    background: #1a1a1a;
    color: white;
    padding: 60px 0 20px;
    position: relative;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-logo {
    display: flex;
    align-items: center;
    font-size: clamp(1.3rem, 3vw, 1.6rem);
    font-weight: 800;
    color: white;
    margin-bottom: 1rem;
}

.footer-logo i {
    margin-right: 0.5rem;
    color: #D4AF37;
}

.footer-section h4 {
    margin-bottom: 1rem;
    color: #D4AF37;
    font-size: clamp(1rem, 2vw, 1.2rem);
    font-weight: 600;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 0.5rem;
}

.footer-section ul li a {
    color: #ccc;
    text-decoration: none;
    transition: color 0.3s ease;
    font-size: clamp(0.9rem, 2vw, 1rem);
}

.footer-section ul li a:hover {
    color: #D4AF37;
}

.footer-section p {
    color: #ccc;
    margin-bottom: 0.5rem;
    font-size: clamp(0.9rem, 2vw, 1rem);
    line-height: 1.6;
}

.footer-section i {
    margin-right: 0.5rem;
    color: #D4AF37;
}

.footer-bottom {
    border-top: 1px solid #333;
    padding-top: 20px;
    text-align: center;
    color: #999;
}

/* Back to Top Button */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #D4AF37, #FFD700);
    color: white;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 1000;
    box-shadow: 0 4px 15px rgba(212, 175, 55, 0.3);
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
}

.back-to-top.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.back-to-top:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(212, 175, 55, 0.4);
}

/* Responsive Design */
@media (max-width: 1024px) {
    .hero-content {
        gap: 2rem;
    }
    
    .about-content,
    .contact-container {
        gap: 3rem;
    }
    
    .construction-crane {
        right: 5%;
        opacity: 0.5;
    }
}

@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }

    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background: white;
        width: 100%;
        text-align: center;
        transition: left 0.3s ease;
        box-shadow: 0 10px 27px rgba(0, 0, 0, 0.05);
        padding: 2rem 0;
        gap: 1rem;
        max-height: calc(100vh - 70px);
        overflow-y: auto;
    }

    .nav-menu.active {
        left: 0;
    }

    .hamburger.active .bar:nth-child(1) {
        transform: rotate(-45deg) translate(-5px, 6px);
    }

    .hamburger.active .bar:nth-child(2) {
        opacity: 0;
    }

    .hamburger.active .bar:nth-child(3) {
        transform: rotate(45deg) translate(-5px, -6px);
    }

    .hero {
        padding: 80px 0 40px;
        min-height: 100vh;
    }

    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 2rem;
        padding: 1rem 0 5rem;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: center;
        gap: 1rem;
    }

    .btn {
        width: 100%;
        max-width: 280px;
        justify-content: center;
    }

    .stats-container {
        grid-template-columns: 1fr;
        max-width: 300px;
        gap: 1rem;
    }

    .about-content,
    .contact-container {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .services-grid,
    .projects-gallery {
        grid-template-columns: 1fr;
    }

    .construction-crane {
        display: none;
    }

    .form-row {
        grid-template-columns: 1fr;
        gap: 0;
    }

    .contact-item {
        flex-direction: row;
        text-align: left;
    }

    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .social-links {
        justify-content: center;
    }

    .back-to-top {
        bottom: 20px;
        right: 20px;
        width: 45px;
        height: 45px;
    }
    .footer-logo img {
            text-align: center;
            margin: 0 auto;
            width: 80px;
        }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }

    .hero {
        padding: 70px 0 30px;
    }

    .stat-item {
        padding: 1rem;
    }

    .service-card {
        padding: 2rem 1rem;
    }

    .contact-item {
        flex-direction: column;
        text-align: center;
        padding: 1rem;
    }

    .contact-form-container {
        padding: 1.5rem;
    }

    .projects-gallery {
        grid-template-columns: 1fr;
    }

    .project-item {
        min-height: 250px;
    }
    
    .loader-content {
        padding: 1rem;
    }
}

/* Performance optimizations */
.service-card,
.project-item,
.contact-item,
.btn,
.stat-item {
    will-change: transform;
}

/* Accessibility */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
    
    .scroll-wheel {
        animation: none;
    }
    
    .loading-dots span {
        animation: none;
    }
    
    .progress-glow {
        animation: none;
    }
}

/* Print styles */
@media print {
    .loader,
    .navbar,
    .construction-crane,
    .back-to-top {
        display: none !important;
    }
}
.project-item {
    opacity: 0;
    transform: translateY(50px);
    animation: fadeInUp 0.8s ease forwards;
    animation-delay: calc(var(--index, 0) * 0.2s);
}

.project-item:nth-child(1) { --index: 1; }
.project-item:nth-child(2) { --index: 2; }
.project-item:nth-child(3) { --index: 3; }

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Show immediately when section comes into view */
.projects.visible .project-item {
    animation-play-state: running;
}

.projects-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.project-item {
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

.project-item:hover {
    transform: translateY(-5px);
}

.project-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.projects-wrapper {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.project-card {
  background: #f9f9f9;
  padding: 1.5rem;
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.08);
}

.project-heading {
  font-size: 1.6rem;
  margin-bottom: 1rem;
  color: #333;
  border-left: 4px solid #d4af37; /* gold accent */
  padding-left: 10px;
}

.project-gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1rem;
}

.project-gallery img {
  width: 100%;
  height: auto;
  border-radius: 8px;
  object-fit: cover;
  transition: transform 0.3s ease;
}

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

/* Keep all carousel images same size, no cropping */
.carousel-inner img {
  width: 100%;
  height: 400px;          /* fixed height */
  object-fit: contain;    /* show full image, no cut */
  background-color: #eae4e4; /* adds black background behind images */
  border-radius: 10px;    /* optional rounded edges */
}

/* Change carousel arrows to black */
.carousel-control-prev-icon,
.carousel-control-next-icon {
  filter: invert(100%);  /* turns the white Bootstrap icons black */
  width: 2rem;
  height: 2rem;
}

