/* Reset default styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Global styles */
body {
    font-family: Arial, Helvetica, sans-serif;
    background-image: url('Images/Background.png'); /* Use clean filename */
    background-size: contain; 
    background-repeat: no-repeat; 
    background-position: center; 
    background-attachment: fixed; 
    background-color: #000000; 
    color: #FFFFFF;
    line-height: 1.6;
}

/* Highlight class for key words */
.highlight {
    color: #FF0000;
}

/* Header */
header {
    background-color: #1A1A1A;
    padding: 1rem 2rem;
    position: sticky;
    top: 0;
    z-index: 1000;
}

header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

header .logo {
    max-width: 80px;
    max-height: 80px; /* Match square aspect ratio */
    border-radius: 50%; /* Circular image */
    width: auto;
    height: auto;
    object-fit: contain;
    flex-shrink: 0;
    border: 2px solid #FF0000; /* Red border */
}

.header-title {
    margin: 0 1rem;
    font-size: 1.5rem;
    font-weight: bold;
}

header nav ul {
    list-style: none;
    display: flex;
    gap: 1.5rem;
}

header nav a {
    color: #FFFFFF;
    text-decoration: none;
    font-size: 1rem;
    transition: color 0.3s;
}

header nav a:hover {
    color: #FF0000;
}

/* Mobile Menu (Hamburger) */
.mobile-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background-color: #1A1A1A;
}

#menu-toggle {
    display: none;
}

#menu-toggle:checked ~ .mobile-menu {
    display: block;
}

/* Styles for the hamburger icon itself */
.hamburger {
    display: none; /* Hidden by default, shown in media query */
    font-size: 1.5rem;
    cursor: pointer;
    color: #FFFFFF;
}

@media (max-width: 768px) {
    header nav {
        display: none; /* Hide desktop nav */
    }

    .hamburger {
        display: block; /* Show hamburger icon */
    }

    .mobile-menu ul {
        flex-direction: column;
        width: 100%;
        padding: 0;
    }

    .mobile-menu li {
        list-style: none;
        text-align: center;
        border-top: 1px solid #333;
    }
    
    /* ================================================= */
    /* NEW RULES TO FIX MOBILE MENU LINK COLORS          */
    /* ================================================= */
    .mobile-menu a {
        display: block;
        padding: 1rem;
        color: #FFFFFF; /* Set link text to white */
        text-decoration: none;
        transition: background-color 0.3s;
    }

    .mobile-menu a:hover {
        background-color: #B20000; /* Red background on hover/tap */
    }
    /* ================================================= */

    header .logo {
        max-width: 60px;
        max-height: 60px;
    }

    header .container {
        padding: 0 1rem;
    }

    .header-title {
        font-size: 1.2rem;
    }
}


/* Hero Section */
.hero {
    position: relative;
    width: 100%;
    padding: 4rem 0;
}

.hero-content {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
    padding: 2rem 1rem;
    background-color: rgba(17, 17, 17, 0.8);
}

.hero h1 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 1.5rem;
}

.hero .cta-button:hover {
    background-color: #FF0000;
}

/* Main Content */
main {
    background-color: rgba(17, 17, 17, 0.6);
    padding: 3rem 0;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* Section styling */
section {
    margin-bottom: 4rem;
    border-radius: 8px;
}

section h2 {
    font-size: 2rem;
    color: #FF0000;
    margin-bottom: 1.5rem;
    text-align: center;
}

section h3 {
    font-size: 1.5rem;
    color: #FFFFFF;
    margin-bottom: 1rem;
}

section h4 {
    font-size: 1.2rem;
    color: #FFFFFF;
    margin-bottom: 1rem;
}

section p {
    margin-bottom: 1rem;
}

ul {
    margin-left: 2rem;
    margin-bottom: 1rem;
}

.card {
    background-color: #1A1A1A;
    padding: 1.5rem;
    border-radius: 5px;
    margin-bottom: 1.5rem;
    text-align: center;
}

.solutions .card {
    text-align: left;
}

.card h2 {
    color: #FF0000;
    text-align: center;
}

.card h3 {
    color: #FF0000;
}

.card .cta-button {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    background-color: #B20000;
    color: #FFFFFF;
    text-decoration: none;
    border-radius: 5px;
    transition: background-color 0.3s;
    margin-top: 1rem;
}

.card .cta-button:hover {
    background-color: #FF0000;
}


/* Column layout */
.columns {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    justify-content: center; /* Changed from space-between */
}

.columns .card {
    flex: 1 1 31%;
}

.contact .columns .card.contact-info {
    flex: 1 1 31%;
}

.contact .columns .card.contact-form {
    flex: 1 1 65%;
}

/* About Us section */
.about-us {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.bordered-image {
    max-width: 200px;
    border-radius: 50%;
    border: 2px solid #FF0000;
}

/* Partner Logos */
.partner-logo {
    max-width: 100px;
    max-height: 100px;
    margin-bottom: 1rem;
    display: block;
    margin-left: auto;
    margin-right: auto;
}

/* Network CTA */
.cta-button {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    background-color: #B20000;
    color: #FFFFFF !important;
    text-decoration: none !important;
    border-radius: 5px;
    transition: background-color 0.3s;
    font-weight: normal;
    text-align: center;
}

.cta-button:hover {
    background-color: #FF0000;
}

/* Contact Form */
form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    max-width: 100%;
    margin: 0;
}

form input,
form textarea {
    padding: 0.75rem;
    background-color: #1A1A1A;
    border: 1px solid #FFFFFF;
    color: #FFFFFF;
    border-radius: 5px;
    width: 100%;
}

form button {
    padding: 0.75rem;
    background-color: #B20000;
    color: #FFFFFF;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s;
}

form button:hover {
    background-color: #FF0000;
}

/* Footer */
footer {
    background-color: #1A1A1A;
    padding: 1rem;
    text-align: center;
}

footer .container {
    max-width: 1200px;
    margin: 0 auto;
}

footer .logo {
    max-width: 400px;
    max-height: 40px;
    width: auto;
    height: auto;
    object-fit: contain;
    margin-bottom: 1rem;
    display: block;
    margin-left: auto;
    margin-right: auto;
}

footer p {
    margin-bottom: 0.5rem;
}

footer a {
    color: #B20000;
    text-decoration: none;
}

footer a:hover {
    color: #FF0000;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .columns .card {
        flex: 1 1 100%;
    }
    .about-us {
        flex-direction: column;
        text-align: center;
    }
    .about-us img {
        margin-bottom: 1rem;
    }
    footer .logo {
        max-width: 300px; /* Adjusted for smaller screens */
    }
    .partner-logo {
        max-width: 80px;
        max-height: 80px;
    }
    .hero {
        padding: 2rem 0;
    }
}

html {
    scroll-behavior: smooth;
}
