/* Footer Styles */
.footer-wrapper {
    width: 100%;
    background: linear-gradient(135deg, #7c6ba8 0%, #6b5b95 100%);
    /* margin-top: 50px; removed */
}

/* Header Styles */
.header {
    background: white;
    padding: 12px 24px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header-container {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 20px;
    font-weight: 600;
    color: #333;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 8px;
    align-items: center;
    background-color: rgba(119, 136, 153, 0.053);
    padding: 10px;
    border-radius: 20px;
}

.nav-menu li a {
    text-decoration: none;
    color: #666;
    padding: 8px 16px;
    border-radius: 20px;
    transition: all 0.3s ease;
    font-size: 14px;
}

.nav-menu li a:hover {
    color: #333;
    background: #f5f5f5;
}

.nav-menu li a.active {
    background: #4a4a4a;
    color: white;
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 16px;
}

.phone-number {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #666;
    background-color: rgba(119, 136, 153, 0.093);
    border-radius: 20px;
    padding: 10px;
    font-size: 14px;
}

.phone-icon {
    width: 16px;
    height: 16px;
}

/* Conflict resolution with existing .btn class if any, being specific */
.header-actions .btn {
    padding: 10px 20px;
    border-radius: 24px;
    border: none;
    cursor: pointer;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
}

.btn-login {
    background: #e8e3ff;
    color: #6c47ff;
}

.btn-login:hover {
    background: #d9d1ff;
}

.btn-signup {
    background: #6c47ff;
    color: white;
}

.btn-signup:hover {
    background: #5938e6;
}

.arrow-icon {
    width: 16px;
    height: 16px;
}

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

.menu-toggle span {
    width: 24px;
    height: 2px;
    background: #333;
    transition: all 0.3s ease;
}

/* Responsive Styles */
@media (max-width: 968px) {
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 60px;
        flex-direction: column;
        background: white;
        width: 100%;
        text-align: center;
        transition: left 0.3s ease;
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
        padding: 20px 0;
        gap: 0;
    }

    .nav-menu.active {
        left: 0;
    }

    .nav-menu li {
        width: 100%;
    }

    .nav-menu li a {
        display: block;
        padding: 16px;
        border-radius: 0;
    }

    .menu-toggle {
        display: flex;
    }

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

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

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

    .header-container {
        flex-wrap: wrap;
    }
}

@media (max-width: 640px) {
    .phone-number {
        display: none;
    }

    .header-actions {
        gap: 8px;
    }

    .header-actions .btn {
        padding: 8px 16px;
        font-size: 13px;
    }

    .logo {
        font-size: 18px;
    }
}

.footer-content {
    max-width: 100%;
    margin: 0 auto;
    padding: 60px 40px 30px;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 60px;
    margin-bottom: 40px;
}

.footer-column h3 {
    color: white;
    font-size: 22px;
    font-weight: 600;
    margin-bottom: 25px;
}

.footer-column ul {
    list-style: none;
}

.footer-column ul li {
    margin-bottom: 15px;
}

.footer-column ul li a {
    color: white;
    text-decoration: none;
    font-size: 15px;
    transition: opacity 0.3s ease;
}

.footer-column ul li a:hover {
    opacity: 0.8;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 12px;
    color: white;
    font-size: 15px;
    margin-bottom: 15px;
}

.contact-item svg {
    width: 18px;
    height: 18px;
    flex-shrink: 0;
}

.newsletter-section {
    max-width: 100%;
}

.newsletter-input-wrapper {
    position: relative;
    margin-bottom: 15px;
}

.newsletter-input-wrapper input {
    width: 100%;
    padding: 16px 20px;
    border: none;
    border-radius: 50px;
    font-size: 14px;
    outline: none;
}

.newsletter-input-wrapper input::placeholder {
    color: #999;
}

.newsletter-button {
    background: linear-gradient(135deg, #8b7ab8 0%, #7d6aad 100%);
    color: white;
    border: none;
    padding: 14px 35px;
    border-radius: 50px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    transition: all 0.3s ease;
}

.newsletter-button:hover {
    background: #8b5cf6;
    color: #fff;
}

.newsletter-button svg {
    width: 18px;
    height: 18px;
    fill: #fff;
}

.newsletter-button:hover svg {
    fill: #8b5cf6 !important;
}

.newsletter-button:hover .icon-circle {
    background: #fff;
}

.newsletter-text {
    color: white;
    font-size: 14px;
    margin-top: 15px;
}

.footer-bottom {
    background: #1a1a1a;
    padding: 25px 40px;
}

.footer-bottom-content {
    max-width: 100%;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.brand-name {
    color: white;
    font-size: 20px;
    font-weight: 700;
}

.copyright-text {
    color: #999;
    font-size: 14px;
}

.social-links {
    display: flex;
    gap: 20px;
    align-items: center;
}

.social-links a {
    color: white;
    text-decoration: none;
    transition: opacity 0.3s ease;
}

.social-links a:hover {
    opacity: 0.7;
}

.social-links svg {
    width: 20px;
    height: 20px;
}

@media (max-width: 968px) {
    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 40px;
    }

    .newsletter-section {
        grid-column: 1 / -1;
    }

    .footer-bottom-content {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }
}

@media (max-width: 640px) {
    .footer-content {
        padding: 40px 20px 20px;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .footer-bottom {
        padding: 20px;
    }

    .footer-bottom-content {
        gap: 15px;
    }

    .brand-name {
        font-size: 18px;
    }

    .copyright-text {
        font-size: 13px;
    }
}