
*{
    margin: 0;
    padding: 0;
    font-family: 'Poppins', sans-serif;
}

.header{
    min-height: 100vh;
    width: 100%;
    background-image: url(bg.jpg);
    background-position: center;
    background-size: cover;
    position: relative;
}

nav{
    display: flex;
    padding: 2% 6%;
    justify-content: space-between;
    align-items: center;
    height: 60px;
    
   
}

nav img{
    width: 150px;
    
}

.nav-links{
    flex: 1;
    text-align: right;

}

.nav-links ul li{
    list-style: none;
    display: inline-block;
    padding: 8px 12px;
    position: relative;
}

.nav-links ul li a{
    color: #fff;
    text-decoration: none;
    font-size: 16px;
}

.nav-links ul li::after{
    content: '';
    width: 0%;
    height: 2px;
    background: #f44336;
    display: block;
    margin: auto;
    transition: 0.5s;
}

.nav-links ul li:hover::after{
    width: 100%;
}

.text-box{
    width: 90%;
    color: #fff;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%,-50%);
    text-align: center;
}

.text-box h1{
    font-size: 62px;

}

.text-box p{
    padding: 10px 0 20px;
    margin: 10px 0 40px;
    font-size: 18px;
    color: #fff;
    font-weight: normal; /* Make sure no unwanted bold styling */
    line-height: 1.6; /* Adjust line height for better spacing */
    word-spacing: 1px; /* Minor spacing adjustment */
}

.hero-btn{
    display: inline-block;
    text-decoration: none;
    color: #fff;
    border: 1px solid #fff;
    padding: 12px 34px;
    font-size: 13px;
    background: transparent;
    position: relative;
    cursor: pointer;
}

.hero-btn:hover{
    border: 1px solid #f44336;
    background: #f44336;
    transition: 1s;
}

nav .fa{
    display: none;
}

@media(max-width: 700px){
    .text-box h1{
        font-size: 20px;
    
    }
    .nav-links ul li{
        display: block;
    }
    .nav-links{
        position: fixed;
        background: #6C757D;
        height: 100vh;
        width: 200px;
        top: 0;
        right: -200px;
        text-align: left;
        z-index: 2;
        transition: 1s;
        letter-spacing: 2PX;
    }
    nav .fa{
        display: block;
        color: #fff;
        margin: 10px;
        font-size: 22px;
        cursor: pointer;
    }
    .nav-links ul{
        padding: 30px;

    }

    .row{
        flex-direction: column;
    }

    nav img {
        display: none;
    }

    
    
    .about-col img{
        
      display: block;
      margin: auto;
      position: relative;
      top: 50%;
      transform: translateY(-10px);
      
    }
 
    .about-col p{
        margin-top: 0;
        padding-top: 0;
        transform: translateY(-25px);
    }

    .contact-us .row{
        margin-top: 50px;
    }
    
    a.red-btn {
        display: block; /* Change from inline-block */
        margin: 0 auto; /* This centers the entire button */
        width: fit-content; /* Makes button only as wide as its content */
        
    }
}


/*------------Why choose us-----------------*/

.WhyWe{
    width: 80%;
    margin: auto;
    text-align: center;
    padding-top: 100px;
}

h1{
    font-size: 36px;
    font-weight: 600;
}

p{
    color: #444444;
    font-size: 17px;
    font-weight: 500;
    line-height: 22px;
    padding: 10px;
    text-align: justify;
    text-justify: inter-word;
    line-height: 1.6;
}

.row{
    margin-top: 5%;
    display: flex;
    justify-content: space-between;
}

.WhyWe-column{
   flex-basis: 31%;
   background: #f5e6cc;
   border-radius: 10px;
   margin-bottom: 5%;
   padding: 20px 12px;
   box-sizing: border-box;
   transition: 0.5s;
}

h3{
    text-align: center;
    font-weight: 600;
    margin: 10px 0;
}

.WhyWe-column:hover{
    box-shadow: 0 0 20px 0px rgba(0,0,0,0.2);
}



/*------------How We Work-----------------*/

.HowWeWork{
    width: 80%;
    margin: auto;
    text-align: center;
    padding-top: 100px;
}

.HowWeWork-column{
    flex-basis: 31%;
    background: #f5e6cc;
    border-radius: 10px;
    margin-bottom: 5%;
    padding: 20px 12px;
    box-sizing: border-box;
    transition: 0.5s;
 }

.HowWeWork-column:hover{
    box-shadow: 0 0 20px 0px rgba(0,0,0,0.2);
}


 
/*---------------------ABOUT US-----------------------*/

.sub-header{
    height: 50vh;
    width: 100%;
    background-image: url(bg.jpg);
    background-position: center;
    background-size: cover;
    text-align: center;
    color: #fff;

}

.sub-header h1{
    margin-top: 80px;
}

.about-us{
    width: 80%;
    margin: auto;
    padding-top: 80px;
    padding-bottom: 50px;
}

.about-col{
    flex-basis: 48%;
    padding: 30px 2px;
}

.about-col img{
    width: 100%;
   
   
}

.row img{
    max-width: 100%;
    height: auto;
    display: block;
}

.about-col p{
    padding: 15px 0 25px;
}

.red-btn{
    border: 1px solid #f44336;
    background: transparent;
    color: #f44336;
    transition: 0.5s;
}

.red-btn:hover{
    color: #fff;
}


/*------------Contact us-----------------*/

.contact-us{
    width: 80%;
    margin: auto;
}

.contact-col{
    flex-basis: 48%;
    margin-bottom: 30px;
}

.contact-col div{
    display: flex;
    align-items: center;
    margin-bottom: 40px;
}

.contact-col div .fa{
    font-size: 28px;
    color: #f44336;
    margin: 10px;
    margin-right: 30px;
}

.contact-col div p{
    padding: 0;
}

.contact-col div h5{
    font-size: 20px;
    margin-bottom: 5px;
    color: #555;
    font-weight: 400;
}




/*------------Career Section Styling-----------------*/
.career {
    width: 80%;
    margin: auto;
    padding-top: 40px; /* Reduced from 80px to move content upwards */
    padding-bottom: 50px;
}

.career-col {
    flex-basis: 48%;
    padding: 20px 2px; /* Adjusted padding for better spacing */
}

.career-col h1 {
    padding-top: 0;
    margin-top: 0; /* Remove default margin for h1 */
    text-align: center;
}

.career-col p {
    padding: 10px 0 20px; /* Adjusted padding for better spacing */
}


/*------------Career Section Styling-----------------*/

/* Product Section Styles */
.product {
    width: 100%;
    padding: 50px 0;
    background-color: #f9f9f9; /* Optional background color */
}

.product-content {
    width: 100%;
    color: #333;
    padding: 20px;
    line-height: 1.6;
    font-size: 18px;
    box-sizing: border-box; /* Includes padding in width calculation */
}

.product-content p {
    max-width: 1200px; /* Optional: limits line length for readability */
    margin: 0 auto; /* Centers the text block while keeping full width background */
    padding: 0 20px;
}

/* Center only the heading */
.product-content h1 {
    text-align: center;
}


/* Video Gallery Styles */
.video-gallery {
    padding: 50px 5%;
    text-align: center;
}

.video-gallery h2 {
    margin-bottom: 30px;
    font-size: 2rem;
    color: #333;
}

.video-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
    margin: 0 auto;
    max-width: 1200px;
}

.video-wrapper {
    position: relative;
    padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
    height: 0;
    overflow: hidden;
    margin-bottom: 20px;
    background: #000;
    border-radius: 8px;
}

.video-wrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .video-container {
        grid-template-columns: 1fr;
    }
}


/* Landscape-specific adjustments */
@media only screen and (max-width: 900px) and (orientation: landscape),
only screen and (max-height: 500px) and (orientation: landscape){
    /* Header adjustments */
    .header {
        min-height: 170vh; /* Increase height for landscape */
    }

    .sub-header{
        min-height: 80vh;
    }
    
    /* Navigation adjustments */
    .nav-links {
        width: 250px; /* Wider menu for landscape */
    }
    
    /* Text box adjustments */
    .text-box {
        width: 95%;
    }
    
    .text-box h1 {
        font-size: 32px;
        margin-bottom: 15px;
    }
    
    .text-box p {
        font-size: 16px;
        margin: 5px 0 20px;
    }
    
    /* Content sections */
    .WhyWe, .HowWeWork, .about-us, .contact-us, .career {
        width: 90%;
        padding-top: 50px;
    }
    
    /* Column layouts */
    .row {
        flex-direction: column;
    }
    
    .WhyWe-column, .HowWeWork-column, .about-col, .contact-col, .career-col {
        flex-basis: 100%;
        margin-bottom: 20px;
    }
    
    /* Video gallery adjustments */
    .video-container {
        grid-template-columns: 1fr;
    }
    
    /* Hide nav image in landscape if needed */
    nav img {
        width: 100px;
    }

    
    a.red-btn {
        display: block; /* Change from inline-block */
        margin: 0 auto; /* This centers the entire button */
        width: fit-content; /* Makes button only as wide as its content */
       
    }
}



