* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

.body {
  font-family: Raleway;
  color:#2c3e50;
  font-size: 18px;
  font-weight: 300;
}
}

/* Navbar */
.navbar {

    
    border-style: solid;
    border-width: 1px;
    border-color:#2c3e50;
    background-color:#2c3e50;
    color: rgb(244, 244, 250);


   /* background-color: #1a1a1b;
    
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);*/
    
    position: fixed;
    width: 100%;
    min-height: 60px;
    top: 0;
    z-index: 9999;
    padding: 1rem 0;
}

.nav-container {
    max-width: 1400px;
    height: 70px;
    margin: 0 auto;
    background-color:#2c3e50;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 3rem;
    position:  relative ;
    z-index: 9999;
}

.logo {
  min-height: 0px;
  min-width: 200px;
  padding-top: 10px;
}
.brand {
  width: 230px;
  max-width: 230px;
  object-fit: cover;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
    color: rgb(244, 244, 250);
}

.nav-menu a {
    font-family: Raleway;
    text-decoration: none;
    color: rgb(244, 244, 250);
    font-weight: 500;
    transition: color 0.3s;
}



.nav-menu a:hover {
    transform: scale(1.05);
    color: rgb(18, 133, 210);
}

.nav-menu li{
        position: relative;
    }



.nav-menu li ul {
        font-family: Raleway;
        display: none; /* Hidden by default */
        position: absolute;
        padding-top: 1.2rem;
        top: 100%;
        left: 0;
        background-color: #2c3e50;
        min-width: 200px;
        z-index: 1000;
    }

.nav-menu li ul li {
        padding: 10px 15px;
    }


.nav-menu li ul li a {
        padding: 10px 15px;
    }

.nav-menu  li:hover ul {
        display: block; /* Show dropdown on hover */
    }

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background: #ffffff;
    margin: 3px 0;
    transition: 0.3s;
}
/* Todo Hamburger button not working */

/* Hero Section */



.hero {
  display: flex;
  width: 100%;
  height: 80vh;          /* adjust as needed */
  margin: 0;
  padding: 0;
}

.slider-container {
        display: flex;
        height: 80vh;
        width: 100%;
        max-width: 1400px;
        margin: 0 auto;
        align-content: center;
       
    }

    .slider-container:hover{
        .overlay{
        font-family: Raleway;
        font-size: 3rem;
        font-weight: 500;
        opacity: 1;
    }
}
    .slider {
        flex: 1;
        position: relative;
        overflow: hidden;
    }

    .slider-partition1 {
        width: 5px;
        background-color: red;
        margin-right: 1px;
    }

    .slider-partition2 {
        background-color: rgb(18, 133, 210);
        width: 3px;



    }

    .slide {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        max-height: 80vh;
        height: 100%;
        background-size: cover;
        background-position: center;
        opacity: 0;
        transition: opacity 1s ease-in-out;
    }
    .slide.active {
        opacity: 1;
    }





.cta-button {
    display: inline-block;
    background: #ff6b6b;
    color: white;
    padding: 15px 30px;
    text-decoration: none;
    border-radius: 50px;
    font-weight: bold;
    transition: all 0.3s;
    animation: fadeInUp 1s ease 0.4s both;
}

.cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(255,107,107,0.4);
}

/* Common Sections */
.intro {
    width:100%;
    margin: 0 auto;
    max-width: 1400px;
    
}

.twoboxcol {
    grid-template-columns: 1.60fr .7fr;
    gap: 2rem;
    border-radius:  10px;
    display: grid ;
    min-height: 400px;
    align-items: center;
    align-content: center;

}   

.intro-image{
    margin: auto;
    align-items: center;
    padding: 0;
}

.intro img{
    border-radius: 20px;
    max-width:100%;
    size: cover ;
}
.intro-content {
    text-align: center;
    }

.intro h2 {
     font-family: Raleway;
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: #2c3e50;
}

.intro p {
     font-family: Raleway;
    font-size: 1.2rem;
    color: #666;
    max-width: 800px;
    text-align: justify;
}

.intro li {
     font-family: Raleway;
    margin-left: 3rem;
    font-size: 1.1rem;
    color: #666;
    max-width: 800px;   
    text-align: justify;
}

.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 30px;
    color: #2c3e50;
    align-content: center;
}

/* Why Us Section */
.whyus-section-title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: #2c3e50;
    background-image: url(public/assets/photos/whyUS.png);
    background-position: center;
    height: 400px; 
    align-content: center;
    object-fit: cover;
    border: 2px;
    border-color: darkgoldenrod;
    border-style: solid;
    border-radius: 20px;
}

.why-us {
    background: #2c3e50;
    margin: 0 auto;
    padding:2rem 0 2rem 0;
    border-radius:  20px;
}

.feature p{
    font-family: Raleway;
    font-weight: 300;
    color: #ffffff;
}

.features-grid {
    padding-left: 4rem;
    padding-right: 4rem;
    margin: 2rem;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.feature {
    text-align: center;
    padding: none;
}


.feature-icon {
    padding-bottom: 1rem;
    padding-right: 3rem;
    padding-left: 3rem;
    margin-bottom: none;
}

.feature-icon img{
    width: 6rem;
    height: 6rem; 
    margin-bottom: none;
}

.feature h3 {
     font-family: Raleway;
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: peachpuff;
}
.container h4 {
     font-family: Raleway;
     font-size: 1.2rem;
    color: #ffffff;
    text-align: center;
    font-weight: 300;
}

/* Gallery Section */
.gallery {
    padding: 30px 0;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.gallery-item {
    height: 400px;
    background-size: cover;
    background-position: center;
    border-radius: 10px;
    transition: transform 0.3s;
    position: relative;
}


.overlay {
    position: absolute;
    
    max-width: 1400px;
    width: 100%;
    height: 100%;
    max-height: 80vh;
    background: rgba(0, 0, 0, 0.6); /* Semi-transparent background */
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    font-weight: bold;
    opacity: 0; /* Hidden by default */
    transition: opacity 0.4s ease; /* Smooth fade-in */
    text-align: center;
    
  }

.gallery-item:hover {
        transform: scale(1.05);
        .overlay{
            opacity: 1
                    }
}

.gallery-item::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0.4);
    border-radius: 10px;
    opacity: 0;
    transition: opacity 0.3s;
}

.gallery-item:hover::after {
    opacity: 1;
}

/* Market Presence */
.market-presence {
    background: #2c3e50;
    color: white;
    padding: 100px 0;
    margin: 1rem 4rem 1rem 4rem;
}

.market-presence .section-title {
    color: white;
}


.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    text-align: center;
    margin-top: 3rem;
}

.stat {
    padding: 2rem;
}

.stat-number {
    font-size: 3rem;
    font-weight: bold;
    color: #3498db;
    display: block;
}

.stat-label {
    font-size: 1.1rem;
    margin-top: 0.5rem;
}

/*testimonial */

.testimonial{
    font-family: Raleway;
    margin: 0 auto;
    max-width: 1400px;
    
}

.testimonial-grid {
    grid-template-columns: 0.8fr 2fr 0.5fr;
    gap: 2rem;
    border-radius:  10px;
    display: grid ;
    min-height: 400px;
    align-items: center;
    align-content: center;
}

.testimonial-image{
    align-content: center;

}

.testimonial img{
    padding: 10px;
    border-radius: 200px;
    max-width: 100%;
    border-style: solid;
    border: 3px;
    border-color: #2c3e50;
}

.testimonial-content {
    text-align: left;
}
.testimonial-more {
    text-align: left;
    padding-top: 90%;
}
/* Footer */
.footer {
    margin:4rem;
    background: #2c3e50;
    color: #ccc;
    padding: 30px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section h3 {
    color: white;
    margin-bottom: 1rem;
}

.footer-section a {
    color: #ccc;
    text-decoration: none;
    display: block;
    margin-bottom: 0.5rem;
}

.footer-section a:hover {
    color: #3498db;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid #333;
    color: #888;
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .container{
        margin: 0 auto;
    }
    
    .nav-container {
        padding: 0 2rem;
    }

    .nav-menu {
        display: none;
        active: false;
        position: absolute;
        top: 100%;
        right: 0;
        width: 100%;
        background: #1a1a1b;
        height: auto;
        flex-direction: column;
        text-align: right;
        padding: 1rem;
        box-shadow: 0 2px 10px rgba(0,0,0,0.1);
        opacity:70%;
    }

    .nav-menu.active {
        display: flex;
    }

    .hamburger {
        display: flex;
    }

    .hero-content h1 {
        font-size: 2.5rem;
    }

    .section-title {
        font-size: 2rem;
    }

    .intro {
        /*padding: 30px 30px;*/
        margin:0 auto;
        width: 100%;
    }

    .twoboxcol{
        display: grid;
        grid-template-columns: 1fr;
    }

    .intro h2{
        font-size: 1.4rem;
        text-align: center ;
    }

    .intro p{
        font-size:1rem;
        padding-right: 30px;

    }

    .intro li{
        font-size:1rem;
        padding-right: 40px;

    }

    .intro img{
        align-content: center;
        margin: 0 auto;
    }

    .whyus-section-title{
        
        background-size: 50% ;
        height:150px;
    }
    
    .why-us {
        margin: 0 auto;
    }
    
    .features-grid{
    padding-left: 0;
    padding-right: 0;
    margin: 0 auto;
    }
    
    .feature-icon{
    padding: 0;
    }

    .gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1rem;
    margin-top: 2rem;
}
    .market-presence {
        padding: 30px 0;
        margin: 0 auto ;
}

    .testimonial-grid {
    grid-template-columns: 1fr;
 }

    .testimonial{
        margin: 0 auto;
        align-content: center;
    }

    .testimonial-image{
    margin: 0 4rem 0 4rem;

}

    .testimonial img{
        margin: 0 auto;
        align-content: center;
    }
    
    .testimonial-content {
    text-align: center;
    }   
    
    .testimonial-more {
    text-align: right;
    padding-top: 10px;
    }

    
    .container h4{
        font-size: 1rem;
        font-family: Raleway;
        font-weight: 300;
        color: #ffffff;
}
    .nav-menu li ul {
        width: 100%;
        align-items: right;
    }
}
