/* Google Font */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700&display=swap');

*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
}

body{
    line-height: 1.6;
    color: #333;
    background: #eef3ff;
}

a{
    text-decoration: none;
}

ul{
    list-style: none;
}

.container{
    width: 90%;
    max-width: 1200px;
    margin: auto;
}

/* Navbar */
.navbar{
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: rgba(255,255,255,0.95);
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 5%;
    box-shadow: 0 2px 10px rgba(0,0,0,0.08);
    z-index: 999;
}

.logo img{
    height: 60px;
}

.nav-links{
    display: flex;
    gap: 25px;
}

.nav-links li a{
    color: #0A2540;
    font-weight: 500;
    transition: 0.3s;
}

.nav-links li a:hover,
.nav-links li a.active{
    color: #007BFF;
}

.btn{
    background: #007BFF;
    color: white;
    padding: 10px 22px;
    border-radius: 30px;
    transition: 0.3s;
    display: inline-block;
}

.btn:hover{
    background: #0056b3;
}

.btn-outline{
    border: 2px solid white;
    color: white;
    padding: 10px 22px;
    border-radius: 30px;
    margin-left: 10px;
    transition: 0.3s;
}

.btn-outline:hover{
    background: white;
    color: #007BFF;
}

/* Hero */
.hero{
    height: 100vh;
    background: url('../assets/hero.png') center/cover no-repeat;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.hero-overlay{
    position: absolute;
    width: 100%;
    height: 100%;
    background: rgba(10,37,64,0.7);
}

.hero-content{
    position: relative;
    color: white;
    max-width: 800px;
    padding: 20px;
}

.hero-content h1{
    font-size: 3rem;
    margin-bottom: 20px;
}

.hero-content p{
    font-size: 1.1rem;
    margin-bottom: 30px;
}

/* Sections */
section{
    padding: 80px 0;
}

section h2{
    text-align: center;
    font-size: 2rem;
    margin-bottom: 20px;
    color: #0A2540;
}

section p{
    text-align: center;
    max-width: 800px;
    margin: auto;
}

/* Service Cards */
.service-grid{
    display: grid;
    grid-template-columns: repeat(auto-fit,minmax(250px,1fr));
    gap: 25px;
    margin-top: 40px;
}

.service-card{
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    transition: 0.3s;
    text-align: center;
}

.service-card:hover{
    transform: translateY(-8px);
}

.service-card img{
    width: 100%;
    height: 180px;
    object-fit: cover;
}

.service-card h3{
    margin: 15px 0 10px;
}

.service-card p{
    padding: 0 15px;
    font-size: 0.95rem;
}

.service-card a{
    display: inline-block;
    margin: 15px 0 20px;
    color: #007BFF;
    font-weight: 600;
}

/* Clients */
.client-logos{
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
    margin: 40px 0;
}

.client-logos img{
    width: 150px;
    object-fit: contain;
    filter: grayscale(100%);
    transition: 0.3s;
}

.client-logos img:hover{
    filter: grayscale(0%);
}

/* CTA */
.cta-banner{
    background: linear-gradient(135deg,#007BFF,#0A2540);
    color: white;
    text-align: center;
}

.cta-banner h2{
    color: white;
    margin-bottom: 20px;
}

/* Footer */
.footer{
    background: #0A2540;
    color: white;
    padding-top: 60px;
}

.footer-container{
    width: 90%;
    max-width: 1200px;
    margin: auto;
    display: grid;
    grid-template-columns: repeat(auto-fit,minmax(250px,1fr));
    gap: 30px;
}

.footer img{
    height: 60px;
    margin-bottom: 15px;
}

.footer h3{
    margin-bottom: 15px;
}

.footer a{
    display: block;
    color: white;
    margin-bottom: 8px;
}

.footer-social a{
    display: inline-block;
    margin-right: 10px;
    font-size: 20px;
}

.footer-bottom{
    text-align: center;
    margin-top: 30px;
    padding: 15px 0;
    border-top: 1px solid rgba(255,255,255,0.2);
}

/* Responsive */
@media(max-width: 992px){
    .nav-links{
        display: none;
    }

    .hero-content h1{
        font-size: 2.3rem;
    }
}

@media(max-width: 768px){
    .hero-content h1{
        font-size: 2rem;
    }

    .btn,
    .btn-outline{
        display: block;
        margin: 10px auto;
    }
}

/* Center single buttons inside sections */
.about-preview .btn,
.clients-preview .btn {
    display: block;
    width: fit-content;
    margin: 20px auto 0;
}

/*Page images*/
#about-image{
    background: url('../assets/aboutus.png') center/cover no-repeat;
}

#services-image{
    background: url('../assets/services.png') center/cover no-repeat;
}

#clientbanner-image{
    background: url('../assets/clients.png') center/cover no-repeat;
}
#gallerybanner-image{
    background: url('../assets/gallery.png') center/cover no-repeat;
}
#contact-banner{
    background: url('../assets/contact.png') center/cover no-repeat;
}


#management-banner-image{
    background: url('../assets/services/managementbanner.png') center/cover no-repeat;
}
#training-banner-image{
    background: url('../assets/services/trainingbanner.png') center/cover no-repeat;
}
#audit-banner-image{
    background: url('../assets/services/auditbanner.png') center/cover no-repeat;
}
#misc-banner-image{
    background: url('../assets/services/miscbanner.png') center/cover no-repeat;
}

/* Page banner */
.page-banner{
    height: 60vh;
    
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.banner-content{
    position: relative;
    color: white;
    text-align: center;
    z-index: 2;
}

.banner-content h1{
    font-size: 3rem;
}

.mv-grid{
    display: grid;
    grid-template-columns: repeat(auto-fit,minmax(300px,1fr));
    gap: 30px;
}

.mv-card{
    background: white;
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    text-align: center;
}

.strengths i{
    color: #007BFF;
    margin-top: 20px;
}



.table-container{
    overflow-x: auto;
    margin-top: 30px;
}

table{
    width: 100%;
    border-collapse: collapse;
    background: white;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
}

table th,
table td{
    padding: 15px;
    border: 1px solid #ddd;
    text-align: left;
}

table th{
    background: #007BFF;
    color: white;
}

.client-logos{
    display: flex;
    align-items: center;
    gap: 50px;
    white-space: nowrap;
    flex-wrap: nowrap;
    width: max-content;
    height: max-content;
}

.client-logos img{
    width: 150px;
    height: auto;
    object-fit: contain;
    filter: grayscale(0%);
    display: inline-block;
}

.contact-form{
    display: grid;
    gap: 20px;
    max-width: 700px;
    margin: auto;
}

.contact-form input,
.contact-form textarea{
    width: 100%;
    padding: 15px;
    border: 1px solid #ddd;
    border-radius: 8px;
    outline: none;
}

.contact-form button{
    border: none;
    cursor: pointer;
}

.social-section .footer-social{
    text-align: center;
    margin-top: 20px;
}

.social-section .footer-social a{
    font-size: 28px;
    margin: 0 12px;
    color: #007BFF;
}

/* Gallery grid: 3 images per row, responsive */
.gallery-grid{
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    margin-top: 30px;
}

.gallery-grid img{
    width: 100%;
    height: 220px;
    object-fit: cover;
    display: block;
    border-radius: 8px;
}

@media (max-width: 992px){
    .gallery-grid{ grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 576px){
    .gallery-grid{ grid-template-columns: 1fr; }
    .gallery-grid img{ height: 180px; }
}