/* assets/css/whatsapp-community.css */

:root {
    --primary-color: #293857;
    --secondary-color: #f4d03f;
    --whatsapp-green: #25D366;
    --accent-color: #2c3e50;
    --text-dark: #2c3e50;
    --text-light: #6c757d;
    --bg-light: #f8f9fa;
    --white: #ffffff;
}

body {
    font-family: 'Source Sans Pro', sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
	background: #ebebeb
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-family: 'Playfair Display', serif;
}

/* Hero Section */
.hero-section {
    background: linear-gradient(rgba(0, 0, 0, 0.2), rgba(0, 0, 0, 0.4)), url('../images/67fe55ba11cc719fbb4de8f8.png') center/cover no-repeat;
    min-height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    position: relative;
}

.hero-overlay {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
}

.hero-title {
    font-size: 2.5rem;
    font-weight: 900;
    text-align: center;
    margin: 0;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

/* Content Section */
.content-section {
   
}

.content-card {
    border: 1px solid #e9ecef;
    transition: box-shadow 0.3s ease;
	background:#fff;
}

.content-card:hover {
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.section-title {
    color: var(--primary-color);
    font-size: 2.5rem;
    font-weight: 900;
    margin-bottom: 2rem;
    font-family: 'Playfair Display', serif;
   
}

.section-description {
     color: var(--primary-color);
    font-size: 1.3rem;
    line-height: 1.8;
}

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

.benefits-list li {
    display: flex;
    align-items: flex-start;
    margin-bottom: 5px;
    padding: 1rem;
    background: var(--bg-light);
    border-radius: 10px;
    transition: all 0.3s ease;
}

.benefits-list li:hover {
    background: var(--white);
    transform: translateX(10px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.benefit-icon {
    flex-shrink: 0;
    margin-right: 1rem;
    margin-top: 0.2rem;
}

.benefit-text {
    color: var(--primary-color);
    font-size: 1.2rem;
    line-height: 1.6;
    flex-grow: 1;
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero-title {
        font-size: 2.5rem;
    }
    
    .phones-container {
        gap: 0.5rem;
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .phone-mockup {
        transform: none !important;
    }
    
    .phone-mockup:hover {
        transform: scale(1.05) !important;
    }
    
    .phone-img {
        width: 120px;
    }
    
    .whatsapp-banner {
        padding: 0.75rem 1.5rem;
        margin: 0 1rem;
    }
    
    .whatsapp-text {
        font-size: 1rem;
        white-space: normal;
        text-align: center;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .content-card {
        padding: 2rem !important;
    }
    
    .benefits-list li {
        flex-direction: column;
        text-align: center;
    }
    
    .benefit-icon {
        margin-right: 0;
        margin-bottom: 0.5rem;
        align-self: center;
    }
}

@media (max-width: 576px) {
    .hero-section {
        min-height: 400px;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .phones-container {
        margin-bottom: 1rem;
    }
    
    .phone-img {
        width: 100px;
    }
    
    .whatsapp-banner {
        padding: 0.5rem 1rem;
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .whatsapp-text {
        font-size: 0.9rem;
    }
    
    .content-card {
        padding: 1.5rem !important;
    }
    
    .section-title {
        font-size: 1.8rem;
    }
}

/* Animation Effects */
.phone-mockup {
    opacity: 0;
    transform: translateY(50px);
    animation: phoneSlideIn 0.8s ease forwards;
}

.phone-mockup:nth-child(1) {
    animation-delay: 0.1s;
}

.phone-mockup:nth-child(2) {
    animation-delay: 0.2s;
}

.phone-mockup:nth-child(3) {
    animation-delay: 0.3s;
}

.phone-mockup:nth-child(4) {
    animation-delay: 0.4s;
}

@keyframes phoneSlideIn {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-title {
    opacity: 0;
    transform: scale(0.8);
    animation: titleFadeIn 1s ease 0.5s forwards;
}

@keyframes titleFadeIn {
    to {
        opacity: 1;
        transform: scale(1);
    }
}

.whatsapp-banner {
    opacity: 0;
    transform: translateY(30px);
    animation: bannerSlideUp 0.8s ease 0.8s forwards;
}

@keyframes bannerSlideUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.content-card {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease;
}

.content-card.animate-in {
    opacity: 1;
    transform: translateY(0);
}

.benefits-list li {
    opacity: 0;
    transform: translateX(-30px);
    transition: all 0.6s ease;
}

.benefits-list li.animate-in {
    opacity: 1;
    transform: translateX(0);
}

/* Floating animation for phones */
@keyframes float {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-10px);
    }
}

.phone-mockup:nth-child(1) {
    animation: float 3s ease-in-out infinite;
    animation-delay: 0s;
}

.phone-mockup:nth-child(2) {
    animation: float 3s ease-in-out infinite;
    animation-delay: 0.5s;
}

.phone-mockup:nth-child(3) {
    animation: float 3s ease-in-out infinite;
    animation-delay: 1s;
}

.phone-mockup:nth-child(4) {
    animation: float 3s ease-in-out infinite;
    animation-delay: 1.5s;
}

/* WhatsApp pulse animation */
.whatsapp-icon {
    animation: whatsappPulse 2s ease-in-out infinite;
}

@keyframes whatsappPulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.1);
    }
}

/* Section reveal animation */
section {
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.8s ease;
}

section.section-visible {
    opacity: 1;
    transform: translateY(0);
}

.hero-section {
    opacity: 1;
    transform: none;
}

/* Image loading animation */
img {
    opacity: 0;
    transition: opacity 0.3s ease;
}

img.loaded {
    opacity: 1;
}

:root {
    --form-bg: #f8f9fa;
    --card-bg: #ffffff;
    --primary-gold: #FFBF00;
    --text-dark: #000000;
    --text-gray: #9ca3af;
    --border-color: #e5e7eb;
    --border-radius: 20px;
    --field-radius: 8px;
    --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

.form-container {
    width: 100%;
    max-width: 1000px;
    margin: 30px auto;
}

.form-wrapper {
    background: var(--card-bg);
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    padding: 40px;
    border: 1px solid var(--border-color);
}

.contact-form {
    width: 100%;
}

.form-field-wrapper {
    margin-bottom: 16px;
}

.form-label {
    display: block;
    font-family: 'Poppins', sans-serif;
    font-size: 14px;
    font-weight: 400;
    color: var(--text-dark);
    margin-bottom: 8px;
    line-height: 1.5;
}

.required {
    color: #ef4444;
    margin-left: 2px;
}

.form-control {
    width: 100%;
    padding: 12px 16px;
    font-family: 'Poppins', sans-serif;
    font-size: 14px;
    font-weight: 400;
    color: var(--text-dark);
    background-color: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: var(--field-radius);
    transition: all 0.2s ease;
    outline: none;
    appearance: none;
}

.form-control::placeholder {
    color: var(--text-gray);
    font-weight: 400;
}

.form-control:focus {
    border-color: var(--primary-gold);
    box-shadow: 0 0 0 3px rgba(255, 191, 0, 0.1);
}




/* Submit Button */
.btn-submit {
    width: 100%;
    background-color: var(--primary-gold);
    border: none;
    border-radius: 5px;
    padding: 18px 50px;
    font-family: 'Poppins', sans-serif;
    font-size: 20px;
    font-weight: 500;
    color: var(--text-dark);
    cursor: pointer;
    transition: all 0.2s ease;
    position: relative;
    overflow: hidden;
    margin-top: 15px;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 58px;
}

.btn-submit:hover {
    background-color: #e6ac00;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(255, 191, 0, 0.3);
}

.btn-submit:active {
    transform: translateY(0);
}

.btn-submit:disabled {
    opacity: 0.7;
    cursor: not-allowed;
    transform: none;
}

.btn-text {
    transition: opacity 0.2s ease;
}

.btn-loader {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.spinner {
    width: 15px;
    height: 15px;
    border: 2.14px solid var(--text-dark);
    border-top: 2.14px solid transparent;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Form Loading State */
.form-loading .btn-text {
    opacity: 0;
}

.form-loading .btn-loader {
    display: block !important;
}

/* Responsive Design */
@media (max-width: 768px) {
    .form-wrapper {
        padding: 30px 20px;
    }
    
    .col-6 {
        flex: 0 0 100%;
        max-width: 100%;
    }
    
    .btn-submit {
        font-size: 18px;
        padding: 16px 40px;
    }
}

@media (max-width: 576px) {

    
    .form-wrapper {
        padding: 25px 15px;
        border-radius: 8px;
    }
    
    .form-control {
        padding: 10px 12px;
        font-size: 14px;
    }
    
    .form-label {
        font-size: 13px;
    }
    
    .btn-submit {
        font-size: 16px;
        padding: 14px 30px;
        min-height: 52px;
    }
}

/* Form Validation States */
.form-control.is-invalid {
    border-color: #ef4444;
    box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.1);
}

.form-control.is-valid {
    border-color: #10b981;
    box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.1);
}

.invalid-feedback {
    display: block;
    width: 100%;
    margin-top: 4px;
    font-size: 12px;
    color: #ef4444;
    font-family: 'Poppins', sans-serif;
}

.valid-feedback {
    display: block;
    width: 100%;
    margin-top: 4px;
    font-size: 12px;
    color: #10b981;
    font-family: 'Poppins', sans-serif;
}

/* Focus Within Effects */
.form-field-wrapper:focus-within .form-label {
    color: var(--primary-gold);
}

/* Animation for form appearance */
.form-wrapper {
    animation: fadeInUp 0.5s ease-out;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Row spacing adjustment */
.row {
    margin-left: -8px;
    margin-right: -8px;
}

.row > * {
    padding-left: 8px;
    padding-right: 8px;
}