/* ========================================
   style.css
   ======================================== */

/* General Styles */
body {
    font-family: 'Lato', sans-serif;
    margin: 0;
    padding: 0;
    background-color: #f8f8f8;
    color: #343a40;
}

.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 20px;
}

h1, h2, h3 {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
}

h1 {
    font-size: 3em;
    margin-bottom: 0.5em;
}

h2 {
    font-size: 2.2em;
    margin-bottom: 1em;
    color: #001f3f;
}

p {
    font-size: 1.1em;
    line-height: 1.6;
    margin-bottom: 1em;
}

ul {
    margin-bottom: 1em;
}

.accent {
    color: #007bff;
}

.cta {
    background-color: #007bff;
    color: #fff;
    padding: 15px 30px;
    border: none;
    border-radius: 5px;
    font-size: 1.2em;
    cursor: pointer;
    text-decoration: none;
    transition: background-color 0.3s ease;
}

.cta:hover {
    background-color: #0056b3;
}

/* Header Styles */
header {
    background-color: #fff;
    padding: 5px 0;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 100;
}

/* Make the container (inside header) the flex container */
header .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

#logo {
    font-size: 1.8em;
    font-weight: 700;
}

#logo img {
    max-width: 300px;
    max-height: 100px;
    vertical-align: middle;
}

nav ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex; /* keeps nav items in a row */
}

nav li {
    display: inline-block;
    margin-left: 25px;
}

nav a {
    text-decoration: none;
    color: #343a40;
    font-size: 1.1em;
    transition: color 0.3s ease;
}

nav a:hover {
    color: #007bff;
}

/* Hero Section */
#hero {
    background-color: #f0f0f0;
    padding: 50px 0;
    padding-top: 60px;
    text-align: center;
}

.hero-content {
    margin-bottom: 40px;
}

.video-placeholder {
    width: 100%;
    height: 400px;
    background-color: #ccc;
    display: flex;
    justify-content: center;
    align-items: center;
}

/* Social Proof Section */
#social-proof {
    padding: 40px 0;
    padding-top: 60px;
}

.testimonials {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
}

.testimonial {
    flex: 0 0 30%;
    background-color: #fff;
    border: 1px solid #eee;
    padding: 20px;
    margin-bottom: 20px;
    border-radius: 5px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
}

/* Problem Section */
#problem {
    background-color: #eee;
    text-align: center;
    padding: 40px 0;
    padding-top: 60px;
}

/* Process Section */
#process {
    padding: 40px 0;
    text-align: center;
    padding-top: 60px;
}

.process-steps {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
}

.process-step {
    flex: 0 0 18%;
    text-align: center;
    margin-bottom: 20px;
}

.process-step img {
    width: 80px;
    height: 80px;
    margin-bottom: 10px;
}

/* Benefits Section */
#benefits {
    background-color: #f8f8f8;
    padding: 40px 0;
    text-align: center;
    padding-top: 60px;
}

#benefits ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

#benefits li {
    background-image: url('placeholder-bullet.png'); /* Replace with your bullet image if desired */
    background-repeat: no-repeat;
    background-position: left center;
    padding-left: 30px; /* Adjust based on your bullet point image size */
    margin-bottom: 10px;
    line-height: 1.5;
}

/* Pricing Section */
#pricing {
    background-color: #eee;
    text-align: center;
    padding: 40px 0;
    padding-top: 60px;
}

.pricing-package {
    background-color: #fff;
    border: 1px solid #ddd;
    padding: 30px;
    margin: 20px;
    text-align: center;
    border-radius: 5px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
    display: inline-block;
    vertical-align: top;
    width: 45%;
}

.pricing-package h3 {
    margin-bottom: 10px;
}

.price {
    font-size: 2em;
    color: #007bff;
    margin-bottom: 20px;
}

.pricing-package ul {
    list-style: none;
    padding: 0;
    text-align: left;
}

.pricing-package li {
    margin-bottom: 10px;
}

/* Case Studies Section */
#case-studies {
    padding: 40px 0;
    text-align: center;
    padding-top: 60px;
}

.case-studies-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.case-study {
    background-color: #fff;
    border: 1px solid #eee;
    padding: 20px;
    border-radius: 5px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
}

.case-study img {
    width: 100%;
    height: auto;
    margin-bottom: 10px;
}

/* Team Section */
#team {
    background-color: #eee;
    text-align: center;
    padding: 40px 0;
    padding-top: 60px;
}

.team-members {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
}

.team-member {
    flex: 0 0 18%;
    text-align: center;
    margin-bottom: 20px;
}

.team-member img {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    margin-bottom: 10px;
}

/* Contact Section */
#contact {
    padding: 40px 0;
    text-align: center;
    padding-top: 60px;
}

#contact-form input,
#contact-form textarea {
    width: 100%;
    padding: 10px;
    margin-bottom: 10px;
    border: 1px solid #ccc;
    border-radius: 5px;
}

#contact-form textarea {
    height: 150px;
}

/* Footer Styles */
footer {
    background-color: #343a40;
    color: #fff;
    text-align: center;
    padding: 20px 0;
}

footer ul {
    list-style: none;
    padding: 0;
    margin: 10px 0;
}

footer li {
    display: inline-block;
    margin: 0 10px;
}

footer a {
    color: #fff;
    text-decoration: none;
}

footer a:hover {
    text-decoration: underline;
}

/* Modal container */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.5);
}

/* Modal content */
.modal-content {
    background-color: white;
    margin: 15% auto;
    padding: 20px;
    border-radius: 10px;
    max-width: 700px;
    text-align: center;
    position: relative;
    overflow: hidden; /* Prevent iframe overflow */
    display: flex; /* Ensure proper layout */
    flex-direction: column;
}

/* Close button */
.close-button {
    position: absolute;
    top: 10px;
    right: 20px;
    font-size: 30px;
    color: #333;
    cursor: pointer;
}

/* =========================================
   RESPONSIVE STYLES
   ========================================= */
@media (max-width: 768px) {
    /* Keep header in a row, but shrink logo & text */
    header .container {
        flex-direction: row; 
        align-items: center;
        justify-content: space-between;
    }
    
    #logo img {
        max-width: 150px; /* smaller logo */
        height: auto;
    }

    nav ul {
        flex-direction: row; 
        margin: 0;
        padding: 0;
    }

    nav li {
        margin: 0 10px;
    }

    /* Slightly smaller nav text */
    nav a {
        font-size: 0.9em;
    }

    /* Hero: reduce padding & video height on mobile */
    #hero {
        padding: 30px 0; /* less vertical padding */
    }
    .video-placeholder {
        height: 200px; 
    }

    /* Testimonials: stack them */
    .testimonial {
        flex: 0 0 90%;
        margin: 10px auto;
    }

    /* Process steps & team images: smaller icons */
    .process-step img,
    .team-member img {
        width: 60px;
        height: 60px;
    }

    .process-step {
        flex: 0 0 100%;
    }
    .team-member {
        flex: 0 0 100%;
    }

    /* Pricing: stack packages */
    .pricing-package {
        width: 90%;
        margin: 20px auto;
    }

    /* Case Studies: go single-column */
    .case-studies-grid {
        grid-template-columns: 1fr;
    }
}
