/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Open Sans', sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f9f9f9;
}

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

/* Color Scheme */
:root {
    --primary-blue: #6bbbdd;
    --light-blue: #c1e3f2;
    --dark-blue: #2980b9;
    --accent-green: #a8d8b9;
    --accent-pink: #f4c2c2;
    --text-dark: #333333;
    --text-light: #ffffff;
    --background-light: #f9f9f9;
}

/* Typography */
h1, h2, h3, h4 {
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    line-height: 1.3;
    margin-bottom: 1rem;
    color: var(--dark-blue);
}

h1 {
    font-size: 2.5rem;
}

h2 {
    font-size: 2rem;
    position: relative;
    padding-bottom: 10px;
}

h2:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px;
    height: 3px;
    background-color: var(--accent-pink);
}

p {
    margin-bottom: 1.5rem;
}

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

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

.logo-link {
    display: block;
}

.logo {
    height: 200px;
}

/* Navigation */
.desktop-menu {
    display: flex;
    list-style: none;
}

.desktop-menu li {
    margin-left: 25px;
}

.desktop-menu li a {
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 500;
    transition: color 0.3s ease;
}

.desktop-menu li a:hover {
    color: var(--primary-blue);
}

.mobile-menu-toggle {
    display: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--dark-blue);
}

.mobile-menu {
    display: none;
    position: fixed;
    top: 310px; /* Adjusted for larger logo */
    left: 0;
    width: 100%;
    background-color: white;
    padding: 20px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    z-index: 99;
}

.mobile-menu.active {
    display: block;
}

.mobile-menu ul {
    list-style: none;
}

.mobile-menu li {
    margin-bottom: 15px;
}

.mobile-menu li a {
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 500;
    font-size: 1.1rem;
    transition: color 0.3s ease;
}

.mobile-menu li a:hover {
    color: var(--primary-blue);
}

/* Hero Section */
.hero {
    padding: 320px 0 80px; /* Adjusted for larger logo */
    background: linear-gradient(rgba(255,255,255,0.6), rgba(255,255,255,0.6)), url('../images/hero-bg.jpg') no-repeat center/cover;
    text-align: center;
}

.hero h1 {
    margin-bottom: 20px;
    color: var(--dark-blue);
}

.hero p {
    font-size: 1.2rem;
    max-width: 800px;
    margin: 0 auto 30px;
}

.btn {
    display: inline-block;
    padding: 12px 30px;
    background-color: var(--primary-blue);
    color: white;
    text-decoration: none;
    border-radius: 30px;
    font-weight: 600;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    font-family: 'Open Sans', sans-serif;
    font-size: 1rem;
}

.btn:hover {
    background-color: var(--dark-blue);
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

/* About Section */
.about {
    padding: 80px 0;
    background-color: white;
}

.about-content {
    display: flex;
    align-items: center;
    gap: 50px;
}

.about-img {
    width: 40%;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    max-width: 400px;
}

.about-text {
    width: 60%;
}

/* Services Section */
.services {
    padding: 80px 0;
    background-color: var(--light-blue);
}

.services-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.service-card {
    background-color: white;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    transition: transform 0.3s ease;
}

.service-card:hover {
    transform: translateY(-5px);
}

.service-card h3 {
    color: var(--dark-blue);
    margin-bottom: 15px;
}

/* Free Guide Section */
.free-guide {
    padding: 80px 0;
    background-color: var(--accent-green);
    text-align: center;
}

.free-guide h2 {
    margin-bottom: 20px;
}

.free-guide h2:after {
    left: 50%;
    transform: translateX(-50%);
}

.free-guide p {
    max-width: 800px;
    margin: 0 auto 30px;
}

.free-guide-content {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 40px;
    margin-top: 30px;
}

.ebook-cover {
    flex: 0 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
}

.ebook-img {
    max-width: 350px; /* Updated to 300px as requested */
    box-shadow: 5px 5px 15px rgba(0,0,0,0.2);
    border-radius: 5px;
    height: auto;
}

.guide-form {
    flex: 0 0 400px;
    padding: 30px;
    background-color: white;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    text-align: left;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 5px;
    font-weight: 500;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 1rem;
    font-family: 'Open Sans', sans-serif;
}

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

.form-message {
    margin-top: 15px;
    font-weight: 500;
}

.form-message.success {
    color: green;
}

.form-message.error {
    color: red;
}

/* Calendar Section */
.calendar {
    padding: 80px 0;
    background-color: white;
}

.calendar-container {
    margin-top: 40px;
    border-radius: 10px;
    overflow: hidden;
}

/* Contact Section */
.contact {
    padding: 80px 0;
    background-color: var(--accent-pink);
}

.contact h2:after {
    left: 50%;
    transform: translateX(-50%);
}

.contact p {
    max-width: 800px;
    margin: 0 auto 30px;
    text-align: center;
}

.contact-form {
    max-width: 800px;
    margin: 40px auto 0;
    padding: 40px;
    background-color: white;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

/* Footer */
footer {
    padding: 40px 0;
    background-color: var(--dark-blue);
    color: white;
    text-align: center;
}

.footer-nav {
    margin-bottom: 20px;
}

.footer-nav a {
    color: white;
    margin: 0 15px;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-nav a:hover {
    color: var(--accent-pink);
    text-decoration: underline;
}

.social-links {
    margin: 20px 0;
}

.social-links a {
    display: inline-block;
    margin: 0 10px;
    color: white;
    font-size: 1.2rem;
    transition: color 0.3s ease;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.1);
    line-height: 40px;
}

.social-links a:hover {
    color: var(--accent-pink);
    background-color: rgba(255, 255, 255, 0.2);
}

/* Responsive Design */
@media (max-width: 992px) {
    .about-content {
        flex-direction: column;
    }
    
    .about-img, .about-text {
        width: 100%;
    }
    
    .about-img {
        max-width: 350px;
        margin: 0 auto 30px;
    }
    
    .logo {
        height: 200px; /* Reduced size for medium screens */
    }
    
    .hero {
        padding-top: 220px; /* Adjusted for medium screens */
    }
    
    .mobile-menu {
        top: 210px; /* Adjusted for medium screens */
    }
}

@media (max-width: 768px) {
    .desktop-menu {
        display: none;
    }
    
    .mobile-menu-toggle {
        display: block;
    }
    
    .hero h1 {
        font-size: 2rem;
    }
    
    .hero p {
        font-size: 1rem;
    }
    
    .free-guide-content {
        flex-direction: column;
    }
    
    .ebook-img {
        max-width: 280px; /* Slightly smaller on mobile */
        margin-bottom: 20px;
    }
    
    .guide-form {
        width: 100%;
        flex: none;
    }
    
    .footer-nav a {
        display: block;
        margin: 10px 0;
    }
    
    .logo {
        height: 120px; /* Reduced size for small screens */
    }
    
    .hero {
        padding-top: 140px; /* Adjusted for small screens */
    }
    
    .mobile-menu {
        top: 130px; /* Adjusted for smaller logo on mobile */
    }
    
    header {
        padding: 3px 0; /* Even less padding on mobile */
    }
}

@media (max-width: 576px) {
    h1 {
        font-size: 1.8rem;
    }
    
    h2 {
        font-size: 1.5rem;
    }
    
    .contact-form {
        padding: 20px;
    }
    
    .logo {
        height: 90px; /* Even smaller on very small screens */
    }
    
    .hero {
        padding-top: 110px; /* Adjusted for very small screens */
    }
    
    .mobile-menu {
        top: 100px; /* Adjusted for smaller logo on very small screens */
    }
    
    header {
        padding: 2px 0; /* Minimum padding on very small screens */
    }

/* MailerLite Form Styling */

/* Make the MailerLite form container blend with your design */
.ml-form-embed {
    background: transparent !important;
    max-width: 100% !important;
}

/* Style the form to match your site */
.ml-form-embedContent {
    margin: 0 !important;
    padding: 0 !important;
    background-color: transparent !important;
}

/* Style form inputs to match your site's inputs */
.ml-form-embedContent input[type="text"],
.ml-form-embedContent input[type="email"] {
    font-family: 'Open Sans', sans-serif !important;
    padding: 12px !important;
    border: 1px solid #ddd !important;
    border-radius: 5px !important;
    font-size: 1rem !important;
    width: 100% !important;
}

/* Style the button to match your site's button */
.ml-form-embedSubmit button {
    background-color: var(--primary-blue) !important; /* Uses your site's color variable */
    color: white !important;
    font-family: 'Open Sans', sans-serif !important;
    padding: 12px 30px !important;
    border-radius: 30px !important;
    font-weight: 600 !important;
    transition: all 0.3s ease !important;
    border: none !important;
}

.ml-form-embedSubmit button:hover {
    background-color: var(--dark-blue) !important;
    transform: translateY(-3px) !important;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1) !important;
}

/* Style the labels to match your site */
.ml-form-embedContent label {
    font-family: 'Open Sans', sans-serif !important;
    font-weight: 500 !important;
    margin-bottom: 5px !important;
    display: block !important;
}

/* Style success message */
.ml-form-successContent {
    font-family: 'Open Sans', sans-serif !important;
    text-align: center !important;
    padding: 20px !important;
}

/* Style error messages */
.ml-error-msg {
    color: red !important;
    font-family: 'Open Sans', sans-serif !important;
    font-size: 0.9rem !important;
    margin-top: 5px !important;
}

/* Custom responsive adjustments */
@media (max-width: 768px) {
    .ml-form-embedContainer {
        width: 100% !important;
    }
}