/* Variables */
:root {
    --primary: #FFBA06;
    --primary-dark: #d39906;
    --primary-light: #e9b633;
    --black: #222222;
    --white: #ffffff;
    --gray: #445164;
    --light-gray: #f5f5f5;
    --transition: all 0.3s ease;
    --box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    --hover-shadow: 0 15px 50px rgba(0, 0, 0, 0.2);
}

/* Global Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Montserrat', sans-serif;
    line-height: 1.6;
    color: var(--gray);
    overflow-x: hidden;
    background-color: var(--white);
}

h1, h2, h3, h4, h5, h6 {
    /* font-family: 'Playfair Display', serif; */
    /* font-family: "Bebas Neue", sans-serif; */
    font-family: "Tinos", serif;
    font-weight: 700;
    margin-bottom: 1rem;
    line-height: 1.3;
}

p {
    margin-bottom: 1rem;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    display: block;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

section {
    padding: 5rem 0;
    position: relative;
}

/* Animation Classes */
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInLeft {
    from {
        opacity: 0;
        transform: translateX(-20px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(20px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes float {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
    100% { transform: translateY(0px); }
}

@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.05); }
    100% { transform: scale(1); }
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% { transform: translateY(0); }
    40% { transform: translateY(-20px); }
    60% { transform: translateY(-10px); }
}

@keyframes rotate {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

/* @keyframes slideLeft {
    from { transform: translateX(-20px); opacity: 0; }
    to { transform: translateX(0); opacity: 1; }
} */

@keyframes slideLeft {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(100%);
    }
}


@keyframes slideRight {
    from { transform: translateX(20px); opacity: 0; }
    to { transform: translateX(0); opacity: 1; }
}

@keyframes slideUp {
    from { transform: translateY(20px); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}

@keyframes slideDown {
    from { transform: translateY(-20px); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}


/* Apply animations */
.fade-up, [data-animate="fade-up"].animated {
    animation: fadeInUp 1s forwards;
}

.fade-down, [data-animate="fade-down"].animated {
    animation: fadeInDown 1s forwards;
}

.fade-left, [data-animate="fade-left"].animated {
    animation: fadeInLeft 1s forwards;
}

.fade-right, [data-animate="fade-right"].animated {
    animation: fadeInRight 1s forwards;
}

.fade-in, [data-animate="fade-in"].animated {
    animation: fadeIn 1s forwards;
}

/* Hide animated elements before animation */
[data-animate] {
    opacity: 0;
}

/* Preloader */
.preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: var(--white);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    transition: opacity 0.5s ease;
}

.loader {
    text-align: center;
}

.loader-logo {
    width: 130px;
    height: 130px;
    background-color: transparent;
    color: var(--white);
    display: flex;
    justify-content: center;
    align-items: center;
    /* font-family: 'Playfair Display', serif; */
    font-family: "Bebas Neue", sans-serif;
    font-size: 1.8rem;
    font-weight: 700;
    border-radius: 50%;
    margin: 0 auto 1.5rem;
    animation: pulse 1.5s infinite;
}

.loader-bar {
    width: 200px;
    height: 4px;
    background-color: rgba(0, 0, 0, 0.1);
    border-radius: 2px;
    overflow: hidden;
}

.loader-progress {
    width: 0;
    height: 100%;
    background-color: var(--primary);
}







/* Header & Navigation */

header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 100;
    padding: 0;  /* Reduced padding to make navbar thinner */
    background-color: rgba(0, 0, 0, 0.144);
    transition: all 0.3s ease;
    height: 80px; /* Set a fixed height for thinner navbar */

}

header.scrolled {
    background-color: var(--white);
    box-shadow: 0 1px 25px rgba(0, 0, 0, 0.157);
    padding: 0;
}

header.scrolled .nav-links a{
    color: var(--black);
}
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding:0 5%;
    height: 100%;

}

.logo {
    position: relative;
    z-index: 101;
    background-color: white;
    padding: 45px 15px 15px;
    border-radius: 10px;
    margin-top: 10px; /* This pushes the logo down */
    max-width: 130px;
    box-shadow: 0 5px 15px rgb(0, 0, 0);
}






header.scrolled .logo{
    max-width: 80px;
    padding: 0;
    transition: all 0.5s ease-in-out;
    box-shadow: none;
    margin-top: 0px; /* This pushes the logo down */

}


.nav-links {
    display: flex;
    gap: 2rem;
}

.nav-links a {
    position: relative;
    color: var(--white);
    font-weight: 500;
    padding: 0.5rem 0;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--primary);
    transition: width 0.3s ease;
}

.nav-links .nav-cta::after {
    display: none; /* This will prevent the underline from showing */
}


.nav-links a:hover,
.nav-links a.active {
    color: var(--primary);
}

.nav-links a:hover::after,
.nav-links a.active::after {
    width: 100%;
}



.nav-cta {
    background-color: var(--primary);
    color: var(--white) !important;
    padding: 0.5rem 1.5rem !important;
    border-radius: 30px;
}

.nav-cta:hover {
    background-color: var(--primary-dark);
    
}

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 6px;
    cursor: pointer;
    z-index: 101;
}

.nav-toggle span {
    display: block;
    width: 30px;
    height: 3px;
    background-color: var(--primary);
    transition: var(--transition);
}

.nav-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(6px, 5px);
}

.nav-toggle.active span:nth-child(2) {
    opacity: 0;
}

.nav-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(8px, -7px);
}

/* Hero Section */
.hero {
    height: 100vh;
    /* background-color: var(--black); */
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url(images/heroimage.jpg);
    background-size: cover;
    background-position: center;
    z-index: -2;
}

.overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /* background: radial-gradient(circle at top left, rgb(0, 0, 0), rgba(0, 0, 0, 0.348) 90%); */
    background: linear-gradient(
        to bottom,
        rgba(0, 0, 0, 0.1) 0%,  
        rgba(0, 0, 0, 0.25) 30%,
        rgba(0, 0, 0, 0.4) 60%, 
        rgba(0, 0, 0, 0.6) 90%
    );
    z-index: -1;
}

.hero-content {
    max-width: 900px;
    padding: 0 2rem;
    color: var(--white);
    z-index: 1;
}

.hero h1 {
    font-size: 3.5rem;
    font-weight: 700;
    /* letter-spacing: 2px; */
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    animation: fadeInUp 1s forwards;
    animation-delay: 2.7s;
    opacity: 0;
}

.highlight {
    color: var(--primary);
    font-weight: 900;

}

.reveal-text {
    position: relative;
    display: block;
    overflow: hidden;
    
}

.reveal-text::after {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 100%;
    height: 100%;
    background-color: var(--primary);
    animation: slideLeft 1.5s forwards cubic-bezier(0.85, 0, 0.15, 1);
    animation-delay: 2s; /* First text reveal */
}

.reveal-text:nth-child(2)::after {
    background-color: var(--white);
    animation-delay: 2.3s;
}

.cta-button {
    display: inline-block;
    background-color: var(--primary);
    color: var(--white);
    padding: 1rem 2rem;
    border-radius: 50px;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    animation: fadeInUp 1s forwards;
    animation-delay: 3s;
    opacity: 0;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.cta-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 0;
    height: 100%;
    background-color: var(--white);
    z-index: -1;
    transition: width 0.5s ease;
}

.cta-button:hover {
    color: var(--primary);
}

.cta-button:hover::before {
    width: 100%;
}

.cta-button i {
    margin-left: 0.5rem;
    transition: transform 0.3s ease;
}

.cta-button:hover i {
    transform: translateX(5px);
}

.scroll-down {
    position: absolute;
    bottom: 2rem;
   
    transform: translateX(-50%);
    animation: bounce 2s infinite;
}

.scroll-down a {
    color: var(--white);
    font-size: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.3);
    transition: var(--transition);
}

.scroll-down a:hover {
    background-color: var(--primary);
}









/* About Section */
.section-title {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 1rem;
    position: relative;
}

.section-underline {
    height: 3px;
    width: 80px;
    background-color: var(--primary);
    margin: 0 auto 3rem;
    position: relative;
    overflow: hidden;
}

.section-underline::before {
    content: '';
    position: absolute;
    width: 30px;
    height: 100%;
    background-color: rgba(255, 255, 255, 0.5);
    left: -30px;
    animation: slideRight 2s infinite linear;
}

.about {
    background-color: var(--light-gray);
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.about-text h3 {
    color: var(--primary);
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
}

.about-image {
    position: relative;
    box-shadow: var(--box-shadow);
    border-radius: 10px;
    overflow: hidden;
    transition: transform 0.5s ease;
}

.about-image:hover {
    transform: translateY(-10px);
}

.about-image img {
    width: 100%;
    height: auto;
    transition: transform 0.5s ease;
}

.about-image:hover img {
    transform: scale(1.05);
}

.image-badge {
    position: absolute;
    bottom: -20px;
    left: -20px;
    width: 70px;
    height: 70px;
    border-radius: 10px;
    background-color: var(--primary);
    color: var(--white);
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.5rem;
    box-shadow: var(--box-shadow);
}

.stats-container {
    display: flex;
    justify-content: space-between;
    margin-top: 3rem;
    gap: 1rem;
}

.stat-item {
    flex: 1;
    text-align: center;
    padding: 1.5rem;
    background-color: var(--white);
    border-radius: 10px;
    box-shadow: var(--box-shadow);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.stat-item:hover {
    transform: translateY(-10px);
    box-shadow: var(--hover-shadow);
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary);
    line-height: 1;
    margin-bottom: 0.5rem;
    font-family: 'Playfair Display', serif;
}

.stat-label {
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 500;
}








/* Services Section */
.services {
    background-color: var(--white);
}

.service-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(500px, 2fr));
    gap: 3rem;
}

.service-card {
    /* background-color: var(--white); */
    /* background-image: url(images/heroimage.jpg); */
    background-size: cover;
    padding: 2.5rem 2rem;
    border-radius: 10px;
    box-shadow: var(--box-shadow);
    transition: transform 0.5s ease, box-shadow 0.3s ease;
    text-align: center;
    position: relative;
    /* overflow: hidden; */
    /* border: 1px solid rgba(0, 0, 0, 0.05); */
}

.service-1{
    background-image: url(images/shotcrete.jpg);

}
.service-2{
    background-image: url(images/diaphragm\ wall\ construction.jpg);
}
.service-3{
    background-image: url(images/piling\ work.jpg);
}
.service-4{
    background-image: url(images/msbracing.jpg);
}
.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.779); /* black overlay with 50% opacity */
    border-radius: 10px;

    /* background: linear-gradient(to bottom, rgba(192, 155, 86, 0.1), transparent); */
    transition: height 0.5s ease;
    z-index: 0;
    transition: all 0.3s ease-in-out;

}

.service-card:hover::before {
    height: 100%;
    background: rgba(0, 0, 0, 0.502); /* black overlay with 50% opacity */
}

.tilt-card {
    transform-style: preserve-3d;
    perspective: 1000px;
}

.service-card:hover {
    transform: translateY(-15px);
    box-shadow: var(--hover-shadow);
}

.service-icon {
    width: 80px;
    height: 80px;
    background-color: rgba(0, 0, 0, 0.653);
    color: var(--primary);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 2rem;
    margin: 0 auto 1.5rem;
    position: relative;
    z-index: 1;
    transition: all 0.5s ease;
}

.service-card:hover .service-icon {
    background-color: var(--primary);
    color: var(--white);
    transform: rotate(360deg);
}

.service-card h3 {
    text-transform: uppercase;
    margin-bottom: 1rem;
    position: relative;
    z-index: 1;
    color: var(--primary);
}

.service-card p {
    color: var(--white);
    margin-bottom: 1.5rem;
    position: relative;
    z-index: 1;
}

.service-link {
    color: var(--primary);
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    position: relative;
    z-index: 1;
}

.service-link::after {
    content: '';
    position: absolute;
    bottom: -3px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--primary);
    transition: width 0.3s ease;
}

.service-link:hover::after {
    width: 100%;
}

.service-link i {
    transition: transform 0.3s ease;
}

.service-link:hover i {
    transform: translateX(5px);
}















/* Parallax Section */
.parallax-section {
    height: 500px;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--white);
}

.parallax-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 140%;
    background-image: url('images/skyscrapper.jpg');
    background-size: cover;
    background-position: center;
    z-index: -2;
}

.parallax-section .overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    background-color: rgba(0, 0, 0, 0.692);
}

.parallax-content {
    max-width: 800px;
    padding: 0 2rem;
    z-index: 1;
}

.parallax-content h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.parallax-content p {
    font-size: 1.2rem;
}











/* Founder section */

.founder-section {
    padding: 6rem 2rem;
    position: relative;
    overflow: hidden;
    background-color: #ffffff;
  }
  
  /* Floating elements */
  .floating-element {
    position: absolute;
    border-radius: 50%;
    opacity: 1;
    background-color: #e9b633;
    z-index: 0;
  }
  
  .element-1 {
    width: 300px;
    height: 300px;
    top: -100px;
    left: -100px;
    animation: float 5s infinite ease-in-out;
  }
  
  .element-2 {
    width: 200px;
    height: 200px;
    bottom: -50px;
    right: 10%;
    animation: float 10s infinite ease-in-out reverse;
  }
  
  .element-3 {
    width: 150px;
    height: 150px;
    top: 30%;
    right: -50px;
    animation: float 18s infinite ease-in-out 2s;
  }
  
  .element-4 {
    width: 100px;
    height: 100px;
    bottom: 20%;
    left: 5%;
    animation: float 12s infinite ease-in-out 1s;
  }
  
  @keyframes float {
    0% { transform: translate(0, 0) rotate(0deg); }
    25% { transform: translate(10px, -15px) rotate(5deg); }
    50% { transform: translate(15px, 10px) rotate(0deg); }
    75% { transform: translate(-10px, 15px) rotate(-5deg); }
    100% { transform: translate(0, 0) rotate(0deg); }
  }
  
  /* Light dot pattern */
  .dot-pattern {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: radial-gradient(circle, rgba(43, 43, 94, 0.03) 1px, transparent 1px);
    background-size: 30px 30px;
    z-index: 0;
  }
  
  .founder-container {
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
  }
  
  .founder-header {
    margin-bottom: 5rem;
    text-align: center;
  }
  
  .founder-header h2 {
    font-size: 40px;
    font-weight: 700;
    color: var(--gray);
    position: relative;
    display: inline-block;
  }
  

  
  .founder-ethics {
    font-size: 1.2rem;
    line-height: 1.6;
    color: var(--gray);
    max-width: 800px;
    margin: 0 auto;
  }
  
  .founder-profile {
    display: flex;
    gap: 5rem;
    align-items: center;
  }
  
  .founder-profile-image {
    flex: 0 0 35%;
  }
  
  .image-container {
    position: relative;
    overflow: hidden;
    transition: all 0.5s ease;
    display: flex;
    justify-content: center;
  }
  
  .image-container::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    /* background: linear-gradient(to bottom, rgba(0, 205, 229, 0), rgba(43, 43, 94, 0.2)); */
    z-index: 1;
  }
  
  
  
  .image-container img {
    
    width: 60%;
    max-height: 80%;
    display: block;
    transition: transform 0.5s ease;
  }
  

  .founder-profile-info {
    flex: 0 0 55%;
  }
  
  .founder-profile-info h3 {
    font-size: 24px;
    font-weight: 700;
    color: var(--gray);
    margin-bottom: 0.5rem;
    position: relative;
    display: inline-block;
  }
  

  .founder-designation {
    font-size: 1rem;
    color: var(--primary);
    font-weight: 600;
    margin-bottom: 2rem;
    letter-spacing: 1px;
  }
  
  .founder-description {
    font-size: 1rem;
    color: var(--gray);
    line-height: 1.8;
    margin-bottom: 1.5rem;
  }
  
  .founder-social-links {
    margin-top: 2.5rem;
  }
  
  .founder-social-links a {
    display: inline-block;
    background: rgba(5, 34, 37, 0.1);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    text-align: center;
    line-height: 45px;
    transition: all 0.3s ease;
  }
  
  .founder-social-links a:hover {
    background: #2b2b5e;
    transform: translateY(-5px);
  }
  
  .founder-social-links a i {
    font-size: 22px;
    color: #2B2B5E;
    transition: color 0.3s ease;
  }
  
  .founder-social-links a:hover i {
    color: white;
  }
  
  @media (max-width: 992px) {
    .founder-profile {
      flex-direction: column;
      gap: 3rem;
    }
    
    .founder-profile-image, .founder-profile-info {
      flex: 0 0 100%;
      max-width: 100%;
    }
    
    .founder-profile-image {
      max-width: 400px;
      margin: 0 auto;
    }
    
    .floating-element {
      opacity: 0.03;
    }
  }
  
  @media (max-width: 768px) {
    .founder-section {
      padding: 4rem 1rem;
    }
    
    .founder-header h2 {
      font-size: 2rem;
    }
    
    .founder-ethics {
      font-size: 1rem;
    }
    
    .founder-profile-info h3 {
      font-size: 2rem;
    }
  }
  
  @media (max-width: 576px) {
    .founder-section {
      padding: 3rem 1rem;
    }
    
    .founder-header h2 {
      font-size: 1.8rem;
    }
    
    .founder-profile-info h3 {
      font-size: 1.8rem;
    }
    
    .founder-designation {
      font-size: 1rem;
    }
    
    .founder-description {
      font-size: 1rem;
      line-height: 1.6;
    }
  }
  










  /* clients */

  .clients-section {
    padding: 5rem 0;
    background-color: var(--light-gray);
    text-align: center;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

.section-title {
    margin-bottom: 1.5rem;
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--gray);
}

.clients-intro {
    max-width: 800px;
    margin: 0 auto 3rem;
    font-size: 1rem ;
}

.categories {
    max-width: 80%;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem;
    margin: auto;
    margin-bottom: 3rem;
}

.category {
    display: flex;
    align-items: center;
    background-color: #fff;
    padding: 0.75rem 1.5rem;
    border-radius: 50px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
    font-weight: 500;
}

.category-emoji {
    margin-right: 0.5rem;
    font-size: 1.4rem;
    color: var(--primary);
}

.client-carousel-container {
    overflow: hidden;
    padding: 2rem 0;
    position: relative;
}

.client-carousel {
    display: flex;
    animation: scroll 30s linear infinite;
}

.client-carousel:hover {
    animation-play-state: paused;
}

.client-item {
    flex: 0 0 200px;
    height: 100px;
    margin: 0 2rem;
    background-color: transparent;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s ease;
}

.client-item:hover {
    transform: translateY(-10px);
}

.client {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

@keyframes scroll {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(calc(-200px * 9 - 4rem * 9)); /* Width of all clients + their margins */
    }
}

@media (max-width: 768px) {
    .section-title {
        font-size: 2rem;
    }
    
    .clients-intro {
        font-size: 1rem;
    }
    
    .client-item {
        flex: 0 0 150px;
        height: 80px;
        margin: 0 1.5rem;
    }
    
    @keyframes scroll {
        0% {
            transform: translateX(0);
        }
        100% {
            transform: translateX(calc(-150px * 9 - 3rem * 9));
        }
    }
}












/* Contact Section */
.contact {
    background-color: var(--white);
}

.contact-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
}

.contact-form {
    background-color: var(--light-gray);
    padding: 2.5rem;
    border-radius: 10px;
    box-shadow: var(--box-shadow);
}

.contact-form h3,
.contact-info h3 {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 2rem;
    color: var(--primary);
    font-size: 1.8rem;
}

.form-group {
    margin-bottom: 1.5rem;
    position: relative;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 1rem;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-family: 'Montserrat', sans-serif;
    transition: border-color 0.3s ease;
}

.form-group textarea {
    height: 150px;
    resize: vertical;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary);
}

.input-focus-effect {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--primary);
    transition: width 0.3s ease;
}

.form-group input:focus + .input-focus-effect,
.form-group textarea:focus + .input-focus-effect {
    width: 100%;
}

.form-group .error {
    border-color: #ff3b30;
}

.contact-form button {
    width: 100%;
    padding: 1rem;
    background-color: var(--primary);
    color: var(--white);
    border: none;
    border-radius: 5px;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.3s ease;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0.5rem;
}

.contact-form button:hover {
    background-color: var(--primary-dark);
    transform: translateY(-3px);
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.contact-item i {
    font-size: 1.5rem;
    color: var(--primary);
    background-color: rgba(192, 155, 86, 0.1);
    min-width: 50px;
    height: 50px;
    border-radius: 30%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.contact-item:hover i {
    background-color: var(--primary);
    color: var(--white);
    transform: rotate(360deg);
}

.contact-item h4 {
    margin-bottom: 0.3rem;
    font-size: 1.1rem;
}

.social-icons {
    display: flex;
    gap: 1rem;
    margin-top: 2rem;
}

.social-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: var(--light-gray);
    color: var(--gray);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.social-icon:hover {
    background-color: var(--primary);
    color: var(--white);
    transform: translateY(-5px);
}




/* Add this to your existing CSS */
.form-status {
    margin-top: 1rem;
    padding: 0.8rem;
    border-radius: 5px;
    text-align: center;
    font-weight: 500;
    display: none;
}

.form-status.success {
    display: block;
    background-color: rgba(46, 204, 113, 0.1);
    color: #2ecc71;
    border: 1px solid #2ecc71;
}

.form-status.error {
    display: block;
    background-color: rgba(231, 76, 60, 0.1);
    color: #e74c3c;
    border: 1px solid #e74c3c;
}







/* Footer */
footer {
    background-color: rgb(0, 0, 0);
    color: var(--white);
    padding: 4rem 0 1rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3rem;
    padding: 0 5%;
    max-width: 1400px;
    margin: 0 auto;
}

.footer-logo img {
    max-width: 130px;
    margin-bottom: 1rem;
}

.footer-logo p {
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 1.5rem;
}

.footer-social {
    display: flex;
    gap: 1rem;
}

.footer-social a {
    color: rgba(255, 255, 255, 0.7);
    transition: var(--transition);
}

.footer-social a:hover {
    color: var(--primary);
}

.footer-links h4,
.footer-newsletter h4 {
    margin-bottom: 1.5rem;
    position: relative;
    padding-bottom: 0.5rem;
}

.footer-links h4::after,
.footer-newsletter h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 2px;
    background-color: var(--primary);
}

.footer-links ul li {
    margin-bottom: 0.8rem;
}

.footer-newsletter ul li {
    margin-bottom: 0.8rem;
}
.footer-links ul li a {
    color: rgba(255, 255, 255, 0.7);
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: var(--transition);
}
.footer-newsletter ul li a {
    color: rgba(255, 255, 255, 0.7);
}

.footer-links ul li a:hover {
    color: var(--primary);
    transform: translateX(5px);
}
.footer-newsletter ul li a:hover {
    color: var(--primary);
    transform: translateX(5px);
}

.footer-newsletter p {
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 1.5rem;
}

#newsletter-form {
    display: flex;
}

#newsletter-form input {
    flex: 1;
    padding: 0.8rem 1rem;
    border: none;
    background-color: rgba(255, 255, 255, 0.1);
    color: var(--white);
    border-radius: 4px 0 0 4px;
}

#newsletter-form button {
    background-color: var(--primary);
    color: var(--white);
    border: none;
    padding: 0 1.5rem;
    border-radius: 0 4px 4px 0;
    cursor: pointer;
    transition: var(--transition);
}

#newsletter-form button:hover {
    background-color: var(--primary-dark);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    margin-top: 3rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.5);
}


/* Scroll to Top Button */
.scroll-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background-color: var(--primary);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    text-decoration: none;
    z-index: 99;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    box-shadow: var(--box-shadow);
}

.scroll-to-top.visible {
    opacity: 1;
    visibility: visible;
}

.scroll-to-top:hover {
    background-color: var(--primary-dark);
    transform: translateY(-5px);
}

/* Responsive Design */
@media screen and (max-width: 1024px) {
    .about-content,
    .contact-container {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .about-image {
        order: -1;
    }
    
    .hero h1 {
        font-size: 3rem;
    }
    
    .section-title {
        font-size: 2.2rem;
    }
}

@media screen and (max-width: 768px) {
    .nav-toggle {
        display: flex;
    }
    
    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 270px;
        height: 100vh;
        background-color: var(--white);
        flex-direction: column;
        justify-content: center;
        padding: 2rem;
        box-shadow: -5px 0 15px rgba(0, 0, 0, 0.1);
        transition: right 0.3s ease;
        z-index: 100;
    }
    .nav-links a{
        color: var(--black);
    }
    .nav-links.active {
        right: 0;
    }
    
    .hero h1 {
        font-size: 2.5rem;
    }
    
    .stats-container {
        flex-direction: column;
        gap: 1rem;
    }
    
    .service-grid {
        grid-template-columns: 1fr;
    }
    
    .project-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
    }
    
    .footer-logo {
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .footer-links h4::after,
    .footer-newsletter h4::after {
        left: 50%;
        transform: translateX(-50%);
    }
    
    .footer-links,
    .footer-newsletter,
    .footer-logo {
        text-align: center;
    }
    
    .footer-links ul li a,
    .footer-social {
        justify-content: center;
    }
    
    .cursor-dot,
    .cursor-outline {
        display: none;
    }
}

@media screen and (max-width: 480px) {
    .hero h1 {
        font-size: 2rem;
    }
    
    .section-title {
        font-size: 1.8rem;
    }
    
    .filter-buttons {
        flex-wrap: wrap;
    }
    
    .filter-btn {
        width: calc(50% - 0.5rem);
        text-align: center;
        padding: 0.5rem 1rem;
        font-size: 0.9rem;
    }
    
    .contact-form {
        padding: 1.5rem;
    }
}

