/* ABI Group Website - Main Stylesheet */

/* Global Styles */
:root {
    --primary-color: #000000;
    --secondary-color: #333333;
    --accent-color: #666666;
    --light-color: #f8f8f8;
    --white-color: #ffffff;
    --transition: all 0.3s ease;
    --box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Montserrat', sans-serif;
    line-height: 1.6;
    color: var(--secondary-color);
    background-color: var(--white-color);
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

h1, h2, h3, h4, h5, h6 {
    font-weight: 600;
    line-height: 1.3;
    margin-bottom: 15px;
    color: var(--primary-color);
}

p {
    margin-bottom: 20px;
}

a {
    text-decoration: none;
    color: var(--primary-color);
    transition: var(--transition);
}

a:hover {
    color: var(--accent-color);
}

img {
    max-width: 100%;
    height: auto;
}

.btn {
    display: inline-block;
    padding: 12px 30px;
    background-color: var(--primary-color);
    color: var(--white-color);
    border: none;
    border-radius: 4px;
    cursor: pointer;
    transition: var(--transition);
    font-weight: 500;
    text-align: center;
    font-size: 16px;
}

.btn:hover {
    background-color: var(--accent-color);
    color: var(--white-color);
}

.btn-outline {
    background-color: transparent;
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
}

.btn-outline:hover {
    background-color: var(--primary-color);
    color: var(--white-color);
}

/* Header Styles */
header {
    background-color: var(--white-color);
    box-shadow: var(--box-shadow);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0;
}

.logo img {
    height: 100px;
    position: relative;
    top: 3px;
}

nav ul {
    display: flex;
    list-style: none;
    align-items: center;
}

nav ul li {
    margin-left: 40px;
}

nav ul li:first-child{
    margin-left: 0px;
}

nav ul li a {
    font-weight: 500;
    position: relative;
}

nav ul li a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    background-color: var(--primary-color);
    bottom: -5px;
    left: 0;
    transition: var(--transition);
}

nav ul li a:hover::after {
    width: 100%;
}

nav ul li .btn:hover::after{
    width: 0px !important;
}

.mobile-menu-btn {
    display: none;
    font-size: 24px;
    cursor: pointer;
}

/* Hero Section */
.hero {
    background:linear-gradient(rgba(0,0,0,0.5),rgba(0,0,0,0.5)),  url(../images/banner.jpg);
    text-align: center;
    min-height: calc(100vh - 100px);
    display: flex;
    align-items: center;
    margin-top: 100px;
    background-size: cover;
    background-position: top;
}

.hero-content {
    max-width: 800px;
    margin: 0 auto;
}

.hero h1 {
    font-size: 55px;
    margin-bottom: 20px;
    color: white;
}

.hero p {
    font-size: 18px;
    margin-bottom: 30px;
    color: white;
}

.hero .btn{
    background: white;
    color: black;
}

/* About Section */
.about {
    padding: 100px 0;
}

.about-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.about-image img {
    border-radius: 8px;
    box-shadow: var(--box-shadow);
}

.about-content h2 {
    font-size: 40px;
    margin-bottom: 10px;
}

.about-content p {
    margin-bottom: 25px;
}

/* Companies Section */
.companies {
    padding: 100px 0;
    background-color: var(--light-color);
}

.companies h2 {
    text-align: center;
    font-size: 45px;
    margin-bottom: 50px;
}

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

.company-card {
    background-color: var(--white-color);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: var(--box-shadow);
    transition: var(--transition);
}

.company-card:hover {
    transform: translateY(-10px);
}


.company-logo img {
    max-height: 100%;
    max-width: 100%;
    height: 160px;
    width: 100%;
    text-align: center;
    object-fit: contain;

}

.company-info {
    padding: 25px;
    padding-top: 0px;
    text-align: center;
}

.company-info h3 {
    font-size: 22px;
    margin-bottom: 15px;
}

.company-info p {
    margin-bottom: 20px;
    color: var(--accent-color);
}

/* Contact Section */
.contact {
    padding: 100px 0;
}

.contact h2 {
    text-align: center;
    font-size: 45px;
    margin-bottom: 50px;
}

.contact-container {
    display: grid;
    grid-template-columns: 1fr 1.7fr;
    gap: 50px;
}

.contact-info {
    display: flex;
    flex-direction: column;
}

.contact-item {
    margin-bottom: 30px;
    display: flex;
    align-items: flex-start;
}

.contact-item i {
    font-size: 24px;
    margin-right: 15px;
    width: 55px;
    height: 55px;
    line-height: 55px;
    text-align: center;
    border: 1px solid #000;
    border-radius: 50%;
    background: black;
    color: white;
}

.contact-item-content h3 {
    font-size: 20px;
    margin-bottom: 5px;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 12px 15px;
    margin-bottom: 20px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-family: 'Montserrat', sans-serif;
}

.contact-form textarea {
    height: 150px;
    resize: vertical;
}

/* Footer */
footer {
    background-color: var(--primary-color);
    color: var(--white-color);
    padding: 70px 0 20px;
}

.footer-container {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 50px;
    margin-bottom: 50px;
}

.footer-info p {
    margin-top: 20px;
    color: #aaa;
}

.footer-logo img {
    height: 100px;
    filter: invert(1) brightness(5);
}

.footer-links h3,
.footer-contact h3 {
    color: var(--white-color);
    margin-bottom: 20px;
    font-size: 20px;
}

.footer-links ul {
    list-style: none;
}

.footer-links ul li {
    margin-bottom: 10px;
}

.footer-links ul li a {
    color: #aaa;
    transition: var(--transition);
}

.footer-links ul li a:hover {
    color: var(--white-color);
}

.footer-contact p {
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    color: #aaa;
}

.footer-contact p i {
    margin-right: 10px;
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-bottom p {
    color: #aaa;
    font-size: 14px;
}

/* Company Page Styles */
.company-header {
    padding: 150px 0 50px;
    background-color: var(--light-color);
    text-align: center;
}

.company-header h1 {
    font-size: 42px;
}

.company-content {
    padding: 70px 0;
}

.company-section {
    margin-bottom: 50px;
}

.company-section h2 {
    font-size: 28px;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--primary-color);
    display: inline-block;
}

.company-section p {
    margin-bottom: 15px;
}

.company-section strong {
    color: var(--primary-color);
}

/* Responsive Styles */
@media screen and (max-width: 992px) {
    .about-container,
    .contact-container,
    .footer-container {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .about-image {
        order: -1;
    }
    
    .company-grid {
        grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    }
}

@media screen and (max-width: 768px) {

    .hero{
        min-height: unset;
        padding: 40px 0px;
        margin-top: 75px;
    }

    .logo img{
        height: 70px;
    }

    .header-container{
        padding-right: 20px;
    }

    .mobile-menu-btn {
        display: block;
    }
    
    nav {
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background-color: var(--white-color);
        box-shadow: var(--box-shadow);
        max-height: 0;
        overflow: hidden;
        transition: var(--transition);
    }
    
    nav.active {
        max-height: 300px;
    }
    
    nav ul {
        flex-direction: column;
        padding: 20px;
    }
    
    nav ul li {
        margin: 0 0 15px 0;
    }
    
    .hero h1 {
        font-size: 36px;
    }
    
    .about,
    .companies,
    .contact {
        padding: 70px 0;
    }
    
    .company-header {
        padding: 120px 0 40px;
    }
}

@media screen and (max-width: 576px) {
    .hero h1 {
        font-size: 30px;
    }
    
    .about h2,
    .companies h2,
    .contact h2 {
        font-size: 28px;
    }
    
    .company-header h1 {
        font-size: 32px;
    }
}
