/* Google Font */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;600&display=swap');

body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    background-color: #fff;
    color: #333;
}

header {
    background: #4a47a3;
    color: white;
    padding: 20px 50px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: fixed;
    width: 98%;
    height: 60px;
    z-index: 1000;
    animation: slideDown 4s ease-in-out;
}

header .logo {
    display: flex;
    align-items: center;
}

header .logo img {
    max-height: 100px;
    /* Adjust logo size */
    height: 150px;
    width: 100px;
    border-radius: 50%;
    margin-top: 2%;
    margin-left: 1%;
}

header nav {
    display: flex;
    /* Ensure nav is a flex container */
    justify-content: flex-end;
    /* Push links to the right */
    align-items: center;
    /* Align links vertically */
    margin-right: 2%;
}
header nav a {
    position: relative;
    color: white;
    text-decoration: none;
    margin: 0 13px;
    font-size: 1rem;
    transition: color 0.3s ease;
}

header nav a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: white;
    transition: width 0.3s ease;
}

/* Hover */
header nav a:hover {
    color: #00bcd4;
}

header nav a:hover::after {
    width: 100%;
}

/* Active */
header nav a.active {
    color: #00bcd4;
}

header nav a.active::after {
    width: 100%;
}


.about {
    text-align: center;
    padding: 50px 20px;
    background: radial-gradient(circle, #4a47a3, #2b2860);
    position: relative;

}

.about h1 {
    font-size: 36px;
    font-weight: bold;
    color: #fff;
    /* Black text for contrast */
    margin-bottom: 15px;
    margin-top: 10%;
}

.about p {
    font-size: 18px;
    font-weight: 400;
    color: #fff;
    /* Dark gray for readability */
    line-height: 1.6;
    max-width: 800px;
    margin: 20px auto;
    padding: 10px 20px;
    margin-bottom: 100px;
}

.image-grid {
    display: flex;
    justify-content: center;
    gap: 15px;
    position: absolute;
    bottom: -90px;
    left: 50%;
    margin-top: 50px;
    transform: translateX(-50%);
    padding: 10px;
    border-radius: 10px;
}

.image-grid {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 30px;
}

.image-grid img {
    object-fit: cover;
    border-radius: 10px;
    transition: 0.3s ease-in-out;
}

.image-grid img.big {
    width: 250px;
    /* Bigger images */
    height: 180px;
}

.image-grid img.small {
    width: 200px;
    /* Smaller images */
    height: 120px;
}


.content {
    text-align: center;
    padding: 100px 20px 50px;
    margin-left: 7%;
    margin-right: 7%;
     margin-top: 20px;
     
}
.founder,
.business-growth {
    text-align: center;
    padding: 20px 15px 20px;
    margin-left: 7%;
    margin-right: 7%;
     margin-top: 20px;
     margin-bottom: 10px;
}

.founder img {
    margin-top: 1px;
    width: auto;
    border-radius: 10px;
    margin-bottom: 10px;
}

.features {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 0;
    margin-bottom: 20px;
}

.feature {

    padding: 20px;
    
    border-radius: 10px;
    text-align: center;
}

.feature i {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background-color: #4a47a3;
    font-size: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 10px;
    /* Centers horizontally */
}

.footer {
    padding: 40px 20px;

    background: linear-gradient(-45deg, #0056b3, #42a5f5, #81c784, #ffc107);
    background-size: 300% 300%;
    /* Enlarges the gradient for smoother animation */
    animation: gradientAnimation 8s ease infinite;
    /* Infinite looping animation */
    text-align: center;
    margin: 20px;
    border: 5px solid #0056b3;
    border-radius: 15px;
    color: #000;
    /* Footer text in black */
}

/* Animation for gradient */
@keyframes gradientAnimation {
    0% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }

    100% {
        background-position: 0% 50%;
    }
}

.footer .logo {
    display: flex;
    flex-direction: column;
    /* Stack the logo and company name vertically */
    align-items: center;
    /* Center the items horizontally */
    margin-bottom: 20px;
}

.footer .logo-img {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    margin-bottom: 10px;
    /* Adds space between logo and company name */
}

.footer .company-name {
    font-size: 36px;
    font-weight: bold;
    color: #000;
}

.footer .description {
    font-size: 18px;
    color: #121212;
    margin-bottom: 40px;
}

.footer .social-icons h3 {
    font-size: 27px;
    /* Set the font size for the heading */
    color: #000;
    /* White color for the heading */
    margin-bottom: 20px;
    /* Adds space between the heading and the icons */
    font-weight: bold;
    /* Makes the heading bold */

}

.footer .social-icons {
    display: flex;
    flex-direction: column;
    /* Stack rows vertically */
    align-items: center;
    /* Center icons horizontally */
}

.footer .social-icons .row {
    display: flex;
    justify-content: center;
    /* Center icons within each row */
    margin-bottom: 10px;
    /* Add spacing between rows */
}

.footer .social-icons a {
    margin: 0 10px;
    /* Space between icons */
    display: inline-flex;
    /* Ensures proper alignment of the icon */
    align-items: center;
    /* Vertically centers the icon */
    justify-content: center;
    /* Horizontally centers the icon */
    text-decoration: none;

    color: #fff;
    /* Icon color */
    font-size: 18px;
    border: 1px solid black;
    /* Black circular border */
    width: 40px;
    height: 40px;
    /* Match width and height for a circle */
    border-radius: 50%;
    /* Circular border */
}

.footer .social-icons a:hover {

    color: #000;
    /* Hover border color */

}

.footer .locations {
    margin: 20px 0;
    font-size: 14px;
}

.footer .locations span {
    margin: 0 10px;
    cursor: pointer;
}

.footer .content {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    text-align: left;
    margin-top: 30px;
    margin-left: 20%;
    margin-right: 15%;
}

.footer .content div {
    flex: 1;
    margin: 10px;
    min-width: 200px;
}

.footer .content div h3 {
    font-size: 27px;
    margin-bottom: 20px;
}

.footer .content div ul {
    list-style: none;
    padding: 0;
    margin: 0;
    font-size: 30px;
}

.content i {
    display: inline-flex;
    /* Ensures proper alignment of the icon */
    align-items: center;
    /* Vertically centers the icon */
    justify-content: center;
    /* Horizontally centers the icon */
    text-decoration: none;
    background-color: #000;
    color: #fff;
    /* Icon color */
    font-size: 18px;
    border: 2px solid black;
    /* Black circular border */
    width: 35px;
    height: 35px;
    /* Match width and height for a circle */
    border-radius: 50%;
    /* Circular border */
}

.content a:hover i {
    background-color: #fff;
    /* Hover background color */
    color: #000;
    /* Hover border color */
    border: 2px solid #fff;
    /* Black circular border */
}

.footer .content div ul li {
    margin: 10px 0;
    font-size: 16px;
}

.footer .content div ul li a {
    text-decoration: none;
    color: #fff;
    /* Links in blue */
}

.newsletter .newsletter-form .input-container {
    position: relative;
    width: 80%;
    max-width: 400px;
}

.newsletter .newsletter-form .input-container input {
    padding: 15px;
    width: 80%;
    max-width: 400px;
    border: 2px solid #fff;
    /* Added border */
    border-radius: 50px;
    font-size: 16px;
    color: #333;
    outline: none;
    background-color: #fff;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.newsletter input[type="email"]:focus {
    border-color: #81c784;
    /* Border changes on focus */
    box-shadow: 0 6px 10px rgba(0, 0, 0, 0.15);
}

.newsletter button {
    padding: 15px 30px;
    margin-top: 10px;
    background: linear-gradient(90deg, #42a5f5, #0056b3);
    border: 2px solid #fff;
    /* Added border */
    border-radius: 50px;
    color: #fff;
    margin-left: 65px;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.newsletter button:hover {
    background: linear-gradient(90deg, #0056b3, #42a5f5);
    border-color: #81c784;
    /* Border color changes on hover */
    box-shadow: 0 6px 10px rgba(0, 0, 0, 0.2);
    transform: translateY(-2px);
}

.footer .footer-bottom {

    font-size: 20px;
    color: #000;
    /* Footer bottom text in dark gray */
    border: 2px solid #fff;
    padding: 20px;
    display: inline-block;
    border-radius: 5px;
    margin-top: 40px;
    color: #fff;
}

.footer .footer-bottom a {
    color: #fff;
    text-decoration: none;
}

.footer .footer-bottom a:hover {
    text-decoration: underline;
}

@media (max-width: 768px) {
    header {
        background: #4a47a3;
        color: black;
        padding: 5px 15px;
        display: flex;
        justify-content: space-between;
        align-items: center;
        position: fixed;
        width: 95%;
        height: 40px;
        z-index: 1000;
        animation: slideDown 4s ease-in-out;
    }

    header .logo {
        display: flex;
        align-items: center;
    }

    header .logo img {
        max-height: 70px;
        /* Adjust logo size */
        height: 70px;
        width: 70px;
        border-radius: 50%;
        margin-top: 3%;
    }

    header nav {
        display: flex;
        /* Ensure nav is a flex container */
        justify-content: flex-end;
        /* Push links to the right */
        align-items: center;
        /* Align links vertically */
        margin-right: 4%;
    }

    header nav a {
    position: relative;
    color: white;
    text-decoration: none;
    margin: 0 5px;
    font-size: 12px;
    transition: color 0.3s ease;
}

header nav a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: white;
    transition: width 0.3s ease;
}

/* Hover */
header nav a:hover {
    color: #00bcd4;
}

header nav a:hover::after {
    width: 100%;
}

/* Active */
header nav a.active {
    color: #00bcd4;
}

header nav a.active::after {
    width: 100%;
}

    .about {
        text-align: center;
        padding: 30px 10px;
        background: radial-gradient(circle, #4a47a3, #2b2860);
        position: relative;

    }

    .about h1 {
        font-size: 25px;
        font-weight: bold;
        color: #fff;
        /* Black text for contrast */
        margin-bottom: 15px;
        margin-top: 15%;
    }

    .about p {
        font-size: 15px;
        font-weight: 200;
        color: #fff;
        /* Dark gray for readability */
        line-height: 1.3rem;
        max-width: 400px;
        margin: 15px auto;
        padding: 5px 10px;
        margin-bottom: 45px;
    }

    .image-grid {
        display: flex;
        justify-content: center;
        gap: 15px;
        position: absolute;
        bottom: -55px;
        left: 50%;
        margin-top: 50px;
        transform: translateX(-50%);
        padding: 5px;
        border-radius: 8px;
    }

    .image-grid {
        display: flex;
        justify-content: center;
        align-items: center;
        gap: 5px;
    }

    .image-grid img {
        object-fit: cover;
        border-radius: 10px;
        transition: 0.3s ease-in-out;
    }

    .image-grid img.big {
        width: 100px;
        /* Bigger images */
        height: 90px;
    }

    .image-grid img.small {
        width: 90px;
        /* Smaller images */
        height: 70px;
    }

    /* ======= Content & Features ======= */
    .content {
        text-align: center;
         
        margin-left: 7%;
        margin-right: 7%;
         margin-top: 10px;
         
    }
    .founder,
    .business-growth {
        text-align: center;
        padding: 10px 10px 10px;
    }

    .features {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        gap: 5px;
        margin-top: 20px;
    }

    .feature {
        width: 200px;
        padding: 10px;
        text-align: center;
    }

    .feature i {
        display: block;
        font-size: 30px;
        margin: 0 auto 10px;
        background-color: #4a47a3;
        width: 60px;
        height: 60px;
        border-radius: 50%;
        display: flex;
        color: #fff;
        align-items: center;
        justify-content: center;
    }

    /* ======= Founder Section ======= */
    .founder img {
        width: 100%;
        max-width: 400px;
        border-radius: 10px;
    }

    .footer .company-name {
        font-size: 18px;
        font-weight: bold;
        color: #000;
    }

    .footer .content {
        margin-left: 10%;
        margin-right: 1%;
    }

    .footer .description {
        font-size: 15px;
        margin-bottom: 10px;
    }

    .footer .social-icons h3 {
        font-size: 19px;
        /* Set the font size for the heading */
    }

    .footer .social-icons {
        display: flex;
        flex-direction: column;
        /* Stack rows vertically */
        align-items: center;
        /* Center icons horizontally */
    }

    .footer .social-icons .row {
        display: flex;
        justify-content: center;
        /* Center icons within each row */
        margin-bottom: 0px;
        /* Add spacing between rows */
    }

    .footer .social-icons a {
        font-size: 16px;
        margin: 0 5px;
        margin-top: 10px;
        gap: 1px;
    }

    .footer .content div h3 {
        font-size: 19px;
        text-align: left;
        /* Align the heading text to the left */
    }

    .content i {
        font-size: 13px;
        width: 28px;
        height: 28px;
        border-radius: 50%;
    }

    .footer .content div ul li {
        font-size: 16px;
        text-align: left;
        /* Align list item text to the left */

    }

    .newsletter button {
        padding: 10px 20px;
        margin-top: 7px;
        background: linear-gradient(90deg, #42a5f5, #0056b3);
        border: 2px solid #fff;
        /* Added border */
        border-radius: 50px;
        color: #fff;
        margin-left: 61px;
        font-size: 14px;
        font-weight: bold;
        cursor: pointer;
        transition: all 0.3s ease;
        box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    }

    .newsletter button:hover {
        background: linear-gradient(90deg, #0056b3, #42a5f5);
        border-color: #81c784;
        /* Border color changes on hover */
        box-shadow: 0 6px 10px rgba(0, 0, 0, 0.2);
        transform: translateY(-2px);
    }

    .footer .footer-bottom {
        font-size: 13px;
        text-align: center;
        /* Align text to the center */
        width: 80%;
        /* Ensure the footer takes up full width */
        margin-top: 20px;
        /* Add some space above, if needed */
        color: #000;
        /* Footer bottom text in dark gray */
        border: 2px solid #fff;
        padding: 15px;
        display: inline-block;
        border-radius: 5px;
        color: #fff;

    }
}