/* General styles */
body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    background-color: #f7f9f7;
}

/* Navbar styles */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    height: 60px; /* Adjust based on your navbar height */
    background-color: #333;
    z-index: 1000;
}

/* Main content styles */
main {
    padding-top: 60px; /* Ensure main content starts below the navbar */
}

/* Hero section */
.hero-section {
    background-image: url('/images/about-us.avif');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    height: 750px;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    text-align: left;
    color: #fff;
    overflow: hidden;
    margin-bottom: 30px;
    animation: fadeIn 2s ease-in-out;
}

.hero-section::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6);
}

.hero-content {
    max-width: 1400px;
    position: relative;
    z-index: 1;
    animation: slideInFromLeft 1s ease-out;
}

.hero-content h1 {
    font-size: 4em;
    text-align: center;
    margin-top: 10px;
    max-width: 1500px;
}

.hero-content p, ul {
    font-size: 1.8em;
    line-height: 1.6;
}

ul {
    font-size: 1.4em;
}

/* Three boxes */
.three-boxes {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
    padding: 20px;
    text-align: center;
    background: #fbfafa;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    margin: 20px;
    border-radius: 10px;
}

.three-boxes .box {
    position: relative;
    padding: 20px;
    border-radius: 8px;
    width: 100%;
    max-width: 300px;
    color: black;
    overflow: hidden;
    margin: 10px 0;
}

.three-boxes .box:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
}

.box {
    opacity: 0.9;
}

#connectivity-box {
    background-image: linear-gradient(rgba(255, 255, 255, 0.3), rgba(255, 255, 255, 0.3)), url('../images/image4.jpg');
}

#coverage-box {
    background-image: linear-gradient(rgba(255, 255, 255, 0.3), rgba(255, 255, 255, 0.3)), url('../images/image5.jpg');
}

#solutions-box {
    background-image: linear-gradient(rgba(255, 255, 255, 0.3), rgba(255, 255, 255, 0.3)), url('../images/image6.avif');
}

.three-boxes h3 {
    color: black;
}

.three-boxes p {
    color: black;
}

/* Help section */
.help-section {
    padding: 20px;
    text-align: center;
    border: none;
    margin: 20px;
    border-radius: 10px;
}

.help-boxes {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    gap: 20px;
    margin-top: 20px;
}

.help-box {
    background: #f4f4f4;
    padding: 15px;
    border-radius: 8px;
    width: calc(13% - 20px);
    text-align: center;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.help-box:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
}

.help-box img {
    width: 80px;
    height: 80px;
    object-fit: cover;
    margin-bottom: 10px;
}

/* Slider section */
.slider-section {
    max-width: 1200px;
    margin: auto;
    position: relative;
    margin-top: 40px;
}

/* Title styling */
.slider-section h2 {
    text-align: center;
    margin: 20px 0;
    padding: 10px;
    background: #59ab9f;
    color: #fff;
    border-radius: 10px;
    max-width: 80%;
}

/* Slider container */
.slider-container {
    position: relative;
    overflow: hidden;
    border-radius: 10px;
    margin: auto;
    width: 1500px;
    margin-left: -150px;
    margin-top: 20px;
}

/* Slider */
.slider {
    display: flex;
    transition: transform 0.5s ease-in-out;
}

/* Slider wrapper */
.slider-wrapper {
    display: flex;
}

/* Slider images */
.slider img {
    width: 300px;
    height: 200px;
}

/* Hide slider buttons */
.slider-button {
    display: none;
}

/* Enterprise plans */
header {
    position: relative;
    background: url('/images/i1.jpg') no-repeat center center/cover;
    color: #030303;
    padding: 100px 0;
    text-align: center;
    transition: background-color 0.3s ease-in-out;
}

.header-content {
    position: relative;
    z-index: 1;
    background: rgba(0, 0, 0, 0.5);
    padding: 20px;
    display: inline-block;
    transition: background-color 0.3s ease-in-out;
}

header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    transition: background 0.3s ease-in-out;
    z-index: 0;
}

header h1 {
    margin-bottom: 10px;
    font-size: 36px;
    font-weight: bold;
    color: #fff;
    transition: transform 0.3s ease-in-out;
}

header p {
    margin-bottom: 10px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    font-size: 18px;
    font-weight: bold;
    color: #fff;
    transition: transform 0.3s ease-in-out;
}

header:hover::before {
    background: rgba(0, 0, 0, 0.7);
}

header:hover h1,
header:hover p {
    transform: scale(0.95);
}

.features {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
    padding: 20px;
}

.feature-box {
    background: #504f4f00;
    padding: 20px;
    margin: 10px;
    width: 200px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    text-align: center;
    font-weight: bold;
    transition: transform 0.3s ease-in-out, background-color 0.3s ease-in-out;
}

.feature-box:hover {
    transform: scale(1.05);
    background-color: #c0bdbd;
    background: url('/images/i2.jpg') no-repeat center center/cover;
}

.contact-link {
    text-decoration: none;
}

.contact-us {
    display: block;
    width: 200px;
    margin: 20px auto;
    padding: 10px;
    background: #28a745;
    color: #fff;
    border: none;
    text-align: center;
    cursor: pointer;
    transition: background 0.3s ease-in-out, transform 0.3s ease-in-out;
    font-size: 18px;
    font-weight: bold;
    border-radius: 5px;
}

.contact-us:hover {
    background: #218838;
    transform: scale(1.05);
}

/* Profile section styles */
.profile-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 20px;
}

.profile {
    background-color: #fff;
    border-radius: 10px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    display: flex;
    flex-direction: row;
    margin: 20px;
    width: 100%;
    max-width: 1000px;
    position: relative;
    overflow: hidden;
}

.profile:hover {
    transform: scale(1.02);
}

.profile-image-left {
    flex-shrink: 0;
    width: 200px;
    height: 200px;
    margin-right: 20px;
    overflow: hidden;
}

.profile-image-left img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.profile-info {
    margin-left: 20px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.profile-info h2 {
    font-size: 1.5em;
    margin: 0;
    color: #333;
}

.profile-info h3 {
    font-size: 1.2em;
    margin: 10px 0;
    color: #666;
}

.profile-info p {
    margin: 5px 0;
    color: #333;
    
}

/* Responsive styles */
@media (max-width: 768px) {
    .profile {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .profile-image-left {
        margin-right: 0;
        margin-bottom: 10px;
    }

    .profile-info {
        margin-left: 0;
    }

    .profile-info h2, .profile-info h3, .profile-info p {
        text-align: center;
    }
}


.about-us-section {
    max-width: 1200px;
    margin: 40px auto;
    padding: 20px;
    background-color: #fff;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    border-radius: 10px;
    overflow: hidden;
}

.about-us-section h1 {
    text-align: center;
    margin-bottom: 20px;
    color: #333;
}

.about-us-section p {
    font-size: 1.2em;
    line-height: 1.6;
    color: #666;
    padding-left: 20px;
}

.about-us-section ul {
    font-size: 1.2em;
    color: #666;
    padding-left: 20px;
}

.about-us-section p,
.about-us-section ul {
    text-align: center;
}

.leadership-team {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
}

.leadership-team .leader {
    width: 200px;
    text-align: center;
}

.leadership-team .leader img {
    width: 100%;
    height: 250px; /* Reverted back to 250px height */
    border-radius: 50%;
    object-fit: cover;
    transition: transform 0.3s ease-in-out;
}

.leadership-team .leader:hover img {
    transform: scale(1.1);
}

.leadership-team .leader h3 {
    font-size: 1.2em;
    color: #333;
}

.leadership-team .leader p {
    font-size: 1em;
    color: #666;
}

/* Responsive Styles */
@media (max-width: 1200px) {
    .three-boxes {
        flex-direction: column;
        align-items: center;
    }

    .three-boxes .box {
        max-width: 90%;
    }

    .slider-container {
        width: 100%;
        margin-left: 0;
    }
}

@media (max-width: 768px) {
    .hero-content h1 {
        font-size: 2.5em;
    }

    .hero-content p, ul {
        font-size: 1.5em;
    }

    .help-box {
        width: 45%;
    }

    header h1 {
        font-size: 28px;
    }

    header p {
        font-size: 16px;
    }

    .features {
        flex-direction: column;
        align-items: center;
    }

    .feature-box {
        width: 80%;
        margin: 10px 0;
    }

    .leadership-team .leader {
        width: 90%;
    }
}

@media (max-width: 480px) {
    .hero-content h1 {
        font-size: 2em;
    }

    .hero-content p, ul {
        font-size: 1.2em;
        padding-left: 10px;
    }

    .help-box {
        width: 90%;
    }

    header h1 {
        font-size: 24px;
    }

    header p {
        font-size: 14px;
    }

    .leadership-team .leader {
        width: 100%;
    }
}
