html {
    scroll-behavior: smooth;
}

body{
    margin: 0;
    padding: 0;
    font-family: 'Franklin Gothic Medium', 'Arial Narrow', Arial, sans-serif;
    min-height: 100vh;
    line-height: 1.5;
    background-color: #ffffff;
}

header{
    background-color: #ffffff;
    color: #0b0b0b;
    padding-top: 10px;
    padding-bottom: 10px;
    min-height: 70px;
}

.ctn{
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

#branding img{
    height: 90px;
    vertical-align: middle;
}

header .ctn {
    position: relative;
}

.hamburger{
    display: none;
    position: relative;
    z-index: 1002;
    border: none;
    background: transparent;
    color: #0b0b0b;
    font-size: 28px;
    cursor: pointer;
    padding: 0;
}

.nav-menu{
    display: flex;
    align-items: center;
    gap: 30px;
}

nav ul{
    list-style: none;
    display: flex;
    align-items: center;
    margin: 0;
    padding: 0;
}

nav li{
    margin: 0 15px;
}

nav a{
    color: #0b0b0b;
    text-decoration: none;
    font-size: 1.1em;
    transition: color 0.3s;
}

nav a:hover{
    color: #34c1f0;
    font-weight: bold;
}

.cta-btn{
    display: flex;
    align-items: center;
    gap: 20px;
    
}


.btn-login{
    color: #3498db;
    background: transparent;
    border: 2px solid #3498db;
    border-radius: 8px;
    padding: 8px 20px;
    text-decoration: none;
    font-weight: bold;
    transition: 0.3s;
}

.btn-login:hover{
    background: #3498db;
    color: #ffffff;
    transform: translateY(-2px);
}


.btn-hire-us{
    background: #3498db;
    color: #ffffff;
    border: none;
    padding: 10px 25px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    transition: 0.3s;
}

.btn-hire-us:hover{
    background-color: #217dbb;
    color: #ffffff;
    transform: translateY(-2px);
}


.hero-section{
    background: url(./images/Backbg.jpg);
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    color: #ffffff;
    min-height: 450px;
    padding: 50px 0;
    position: relative;
}

.hero-content{
    width: 45%;
    margin-left: 5%;
    padding-top: 75px;
    text-align: left;
}

.hero-content h1{
    font-size: 35px;
    margin-bottom:10px;
}

.hero-content p{
    font-size: 15px;
    margin-bottom: 10px;
}

.btn-2{
    background-color: #ffffff;
    color: #0b0b0b;
    padding: 10px 45px;
    border-radius:15px;
    font-size: 15px;
    margin-top: 50px;
    font-weight: 600;
    transition: transform 0.5s ease;
}

.btn-2:hover{
    transform: scale(1.1);
    cursor: pointer;
    
}

.btn-2 a{
    text-decoration: none;
}

.content-section{
    padding: 70px 0;
    background-color: #f5f7ff;
}

.content-section .ctn{
    max-width: 1100px;
}

.page-header{
    margin-bottom: 40px;
    text-align: center;
}

.page-header h1{
    font-size: 36px;
    color: #0b0b0b;
    margin-bottom: 15px;
}

.page-header p{
    color: #2c2c2c;
    font-size: 16px;
    max-width: 760px;
    margin: 0 auto;
}

.content-cards{
    display: flex;
    justify-content: space-between;
    gap: 20px;
    flex-wrap: wrap;
}

.content-card{
    background: #ffffff;
    border-radius: 20px;
    box-shadow: 0 12px 30px rgba(0,0,0,0.08);
    padding: 30px;
    flex: 1;
    min-width: 250px;
    text-align: center;
}

.form-section{
    padding: 70px 0;
    background-color: #ffffff;
}

.form-box{
    max-width: 480px;
    margin: 0 auto;
    padding: 40px;
    background: #f8f9ff;
    border-radius: 25px;
    box-shadow: 0 20px 35px rgba(0,0,0,0.08);
}

.form-box h2{
    margin-bottom: 20px;
    font-size: 30px;
    color: #0b0b0b;
    text-align: center;
}

.form-box label{
    display: block;
    font-size: 14px;
    margin-bottom: 8px;
    color: #1e1e1e;
}

.form-box input,
.form-box textarea {
    width: 100%;
    border-radius: 12px;
    border: 1px solid #d8d8d8;
    padding: 12px 15px;
    margin-bottom: 18px;
    font-size: 15px;
    background: #ffffff;
}

.form-box textarea {
    resize: vertical;
    min-height: 140px;
}

.form-message {
    margin-top: 10px;
    padding: 12px 15px;
    border-radius: 10px;
    font-size: 14px;
    display: none;
}

.form-box button{
    width: 100%;
    border-radius: 12px;
    border: none;
    background: #3498db;
    color: #ffffff;
    padding: 14px 0;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    transition: transform 0.3s ease, background 0.3s ease;
}

.form-box button:hover{
    background: #217dbb;
    transform: translateY(-2px);
}

.ctn-2{
     width: 80%;
     margin: auto;
     overflow: hidden;
}

.ctn-2 h1{
    text-align: center;
}


#boxes .box{
    text-align: center;
    float: left;
    width: 30%;
    padding: 10px;
    margin-bottom: 50px;
    transition: transform 0.8s ease;
}

.box:hover{
    transform: scale(1.1);
    cursor: pointer;
}


#boxes .box img{
    width: 90px;
}

footer{
    color: #ffffff;
    background-color: #10058f;
    
}

.footer-container{
    display: flex;
    justify-content: space-between;
    align-items: end;
    padding: 20px 200px;
}

.footer-left img{
    width: 120px;
    margin-bottom: 10px;
    border-radius: 30px 5px;
}

.social-icon{
    text-align: center;
}

.social-icon img{
    width: 30px;
    margin: 0 10px;
    transition: transform 0.8s ease;

}

.social-icon img:hover{
    transform: scale(1.2);
    cursor: pointer;
}

.footer-right{
    text-align: center;
}

.footer-right h4{
    font-size: 20px;
    
}

.footer-right ul{
    margin-top: 10px;
    list-style: none;
    padding: 0;
}

.footer-right ul a{
    text-decoration: none;
    color: #ffffff;
    transition: color 0.5s;
}

.footer-right a:hover{
    color: #34c1f0;
}

.footer-right ul li{
    margin-bottom: 10px;
}


.copyright{
    text-align: center;
    margin-top: 20px;
    padding-top: 10px;
    padding-bottom: 20px;
    font-size: 20px;
    width: 100%;
}


   
@media (max-width: 992px) { 
    .hamburger {
        display: block !important;
        font-size: 28px;
        cursor: pointer;
        position: relative;
        z-index: 1002;
        background: transparent;
        border: none;
        color: #0b0b0b;
        padding: 0;
    }

    .nav-menu {
        position: fixed;
        left: -100%;       
        top: 0;            
        flex-direction: column;
        background-color: #ffffff;
        width: 100%;
        height: 100vh;     
        text-align: center;
        transition: 0.3s;
        box-shadow: 0 10px 10px rgba(0, 0, 0, 0.1);
        padding-top: 80px; 
        z-index: 1000;     
    }

    .nav-menu.active {
        left: 0;
    }

    .nav-menu ul {
        flex-direction: column;
        display: flex;
        height: auto;      
        margin-bottom: 20px;
    }

    nav li {
        margin: 20px 0;    
        display: block;    
    }

    .cta-btn {
        flex-direction: column;
        gap: 20px;
        width: 100%;
    }

    .hero-section {
        flex-direction: column;
        padding: 40px 20px;
        text-align: center;
        background-size: cover; 
    }

    .hero-content {
        width: 100%;
        margin-left: 0;    
        padding-top: 20px;
    }

    .footer-container {
        flex-direction: column;
        padding: 30px 20px;
        align-items: center;
    }
    
    .footer-left, .social-icon, .footer-right {
        margin-bottom: 30px;
        width: 100%;
        text-align: center;
    }

    .hero-content{
        width: 100%;
        margin-bottom: 40px;
    }

    section#boxes{
        height: auto;
        padding: 50px 20px;
    }

    /* ✅ FIX: Make .ctn-2 flex column so boxes stack vertically */
    .ctn-2{
        display: flex;
        flex-direction: column;
        align-items: center;
        width: 100%;
        overflow: visible;
    }

    /* ✅ FIX: Cancel float:left and give full width so text flows horizontally */
    .box{
        float: none;
        width: 100%;
        max-width: 420px;
        margin: 10px 0;
        padding: 15px 25px;
        box-sizing: border-box;
    }

    .footer-container{
        flex-direction: column;
        align-items: center;
        text-align: center;
        padding: 30px 20px;
    }

    .footer-left, .social-icon, .footer-right{
        margin-bottom: 30px;
        width: 100%;
    }

    .content-section{
        padding: 40px 15px;
    }

    .page-header{
        margin-bottom: 30px;
    }

    .page-header h1{
        font-size: 24px;
    }

    .page-header p{
        font-size: 14px;
    }

    .content-cards{
        flex-direction: column;
        align-items: center;
        gap: 15px;
        width: 100%;
    }

    .content-card{
        width: 100%;
        max-width: 420px;
        padding: 20px 25px;
        box-sizing: border-box;
    }

    .form-section{
        padding: 40px 20px;
    }

    .form-box{
        max-width: 100%;
        padding: 25px;
    }

    .form-box h2{
        font-size: 24px;
    }

    .form-box input{
        padding: 10px 12px;
        font-size: 14px;
    }
}