/* ============================================
   Leadminthub - Stylesheet
   Mobile-first responsive design
   Color scheme: Blue (#1959d1), White (#ffffff), Light Gray (#f2f2f2)
   ============================================ */

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #ffffff;
}

/* Container */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ============================================
   Header & Navigation
   ============================================ */

.header {
    background-color: #ffffff;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
    transition: all 0.3s ease;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0;
}

.logo a {
    font-size: 1.5rem;
    font-weight: 800;
    color: #1959d1;
    text-decoration: none;
    letter-spacing: -0.5px;
}

.nav-list {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-link {
    color: #333;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
    position: relative;
}

.nav-link:hover {
    color: #1959d1;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: #1959d1;
    transition: width 0.3s ease;
}

.nav-link:hover::after {
    width: 100%;
}

/* Mobile Menu Toggle */
.menu-toggle {
    display: none;
    flex-direction: column;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
    gap: 5px;
}

.menu-toggle span {
    width: 25px;
    height: 3px;
    background-color: #1959d1;
    transition: all 0.3s ease;
    border-radius: 2px;
}

.menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(8px, 8px);
}

.menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -7px);
}

/* ============================================
   Hero Section
   ============================================ */

.hero {
    background: linear-gradient(135deg, #1959d1 0%, #0d47a1 100%);
    color: #ffffff;
    padding: 6rem 0;
    text-align: center;
}

.hero-content {
    max-width: 800px;
    margin: 0 auto;
}

.hero-title {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
    line-height: 1.2;
    letter-spacing: -1px;
}

.hero-subtitle {
    font-size: 1.25rem;
    margin-bottom: 2.5rem;
    opacity: 0.95;
    line-height: 1.7;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 1rem 2.5rem;
    font-size: 1.1rem;
    font-weight: 600;
    text-decoration: none;
    border-radius: 8px;
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
    font-family: inherit;
}

.btn-primary {
    background-color: #ffffff;
    color: #1959d1;
}

.btn-primary:hover {
    background-color: #f2f2f2;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

/* ============================================
   Services Section
   ============================================ */

.services {
    padding: 5rem 0;
    background-color: #f2f2f2;
}

.section-title {
    font-size: 2.25rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 1rem;
    color: #333;
}

.section-subtitle {
    text-align: center;
    font-size: 1.1rem;
    color: #666;
    margin-bottom: 3rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.services-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    margin-top: 3rem;
}

.service-card {
    background-color: #ffffff;
    padding: 2.5rem;
    border-radius: 12px;
    text-align: center;
    transition: all 0.3s ease;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(25, 89, 209, 0.15);
}

.service-icon {
    margin-bottom: 1.5rem;
    display: flex;
    justify-content: center;
}

.service-title {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: #333;
}

.service-description {
    color: #666;
    line-height: 1.7;
    font-size: 1rem;
}

/* ============================================
   Testimonials Section
   ============================================ */

.testimonials {
    padding: 5rem 0;
    background-color: #ffffff;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    margin-top: 3rem;
}

.testimonial-card {
    background-color: #f2f2f2;
    padding: 2.5rem;
    border-radius: 12px;
    transition: all 0.3s ease;
}

.testimonial-card:hover {
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.testimonial-rating {
    display: flex;
    gap: 5px;
    margin-bottom: 1.5rem;
}

.testimonial-text {
    font-size: 1.1rem;
    line-height: 1.7;
    color: #333;
    margin-bottom: 1.5rem;
    font-style: italic;
}

.testimonial-author {
    font-weight: 600;
    color: #1959d1;
    font-size: 1rem;
}

/* ============================================
   Contact Section
   ============================================ */

.contact {
    padding: 5rem 0;
    background-color: #f2f2f2;
}

.contact-info-section {
    max-width: 600px;
    margin: 0 auto 3rem;
    background-color: #ffffff;
    padding: 2.5rem;
    border-radius: 12px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.contact-icon {
    flex-shrink: 0;
}

.contact-link {
    color: #333;
    text-decoration: none;
    font-size: 1rem;
    font-weight: 500;
    transition: color 0.3s ease;
}

.contact-link:hover {
    color: #1959d1;
}

.social-links {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    padding-top: 2rem;
    border-top: 1px solid #e0e0e0;
}

.social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background-color: #f2f2f2;
    color: #1959d1;
    text-decoration: none;
    transition: all 0.3s ease;
}

.social-link:hover {
    background-color: #1959d1;
    color: #ffffff;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(25, 89, 209, 0.3);
}

.social-link svg {
    transition: all 0.3s ease;
}

.social-link:hover svg {
    stroke: #ffffff;
}

.contact-content {
    max-width: 600px;
    margin: 0 auto;
}

.contact-form {
    background-color: #ffffff;
    padding: 2.5rem;
    border-radius: 12px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: #333;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 0.875rem;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    font-size: 1rem;
    font-family: inherit;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #1959d1;
}

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

.contact-form .btn {
    width: 100%;
    text-align: center;
}

/* ============================================
   Footer
   ============================================ */

.footer {
    background-color: #333;
    color: #ffffff;
    padding: 2rem 0;
    text-align: center;
}

.footer p {
    font-size: 0.9rem;
    opacity: 0.8;
}

/* ============================================
   Responsive Design - Tablet
   ============================================ */

@media (min-width: 768px) {
    .hero-title {
        font-size: 3.5rem;
    }

    .hero-subtitle {
        font-size: 1.4rem;
    }

    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .testimonials-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* ============================================
   Responsive Design - Desktop
   ============================================ */

@media (min-width: 1024px) {
    .hero {
        padding: 8rem 0;
    }

    .hero-title {
        font-size: 4rem;
    }

    .services-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .testimonials-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .nav-list {
        gap: 3rem;
    }
}

/* ============================================
   Mobile Navigation Styles
   ============================================ */

@media (max-width: 767px) {
    .menu-toggle {
        display: flex;
    }

    .nav {
        position: fixed;
        top: 70px;
        left: 0;
        width: 100%;
        background-color: #ffffff;
        box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease;
    }

    .nav.active {
        max-height: 300px;
    }

    .nav-list {
        flex-direction: column;
        padding: 1.5rem;
        gap: 1rem;
    }

    .nav-link {
        display: block;
        padding: 0.75rem 0;
    }

    .hero {
        padding: 4rem 0;
    }

    .hero-title {
        font-size: 2rem;
    }

    .hero-subtitle {
        font-size: 1.1rem;
    }

    .section-title {
        font-size: 1.75rem;
    }

    .services,
    .testimonials,
    .contact {
        padding: 3rem 0;
    }

    .service-card,
    .testimonial-card,
    .contact-form {
        padding: 2rem;
    }

    .contact-info-section {
        padding: 2rem;
        margin-bottom: 2rem;
    }

    .contact-details {
        gap: 1.25rem;
    }

    .contact-link {
        font-size: 0.95rem;
    }

    .social-links {
        gap: 1rem;
        padding-top: 1.5rem;
    }

    .social-link {
        width: 44px;
        height: 44px;
    }
}

/* ============================================
   GoDaddy Chat Widget Styling
   ============================================ */

/* Ensure chat widget doesn't conflict with navigation */
#reamaze-widget {
    z-index: 999 !important; /* Below header (1000) but above other content */
}

/* Ensure chat widget doesn't interfere with mobile menu */
@media (max-width: 767px) {
    #reamaze-widget {
        bottom: 20px !important;
        right: 20px !important;
    }
    
    /* Ensure chat widget doesn't overlap with footer on mobile */
    .footer {
        margin-bottom: 80px; /* Space for chat widget */
    }
}

/* Desktop positioning adjustments */
@media (min-width: 768px) {
    #reamaze-widget {
        bottom: 30px !important;
        right: 30px !important;
    }
}

