/* ============================================
   CERTIFICATION GUIDANCE LANDING PAGE
   Professional Styling with 2K Background Images
   ============================================ */

/* ============================================
   GLOBAL STYLES & RESET
   ============================================ */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #1e3a5f;
    --secondary-color: #2c5282;
    --accent-color: #d4af37;
    --whatsapp-color: #25D366;
    --success-color: #48bb78;
    --text-dark: #333;
    --text-light: #666;
    --bg-light: #f8f9fa;
    --white: #ffffff;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    background: var(--bg-light);
}

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

/* ============================================
   HERO SECTION WITH BACKGROUND IMAGE
   ============================================ */

.hero {
    background-image: url('../images/hero-bg.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(30, 58, 95, 0.88);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    color: var(--white);
    padding: 40px 20px;
}

.hero h1 {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.hero-subtitle {
    font-size: 1.3rem;
    margin-bottom: 2.5rem;
    opacity: 0.95;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.cta-button {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 18px 40px;
    background: var(--whatsapp-color);
    color: var(--white);
    text-decoration: none;
    font-size: 1.1rem;
    font-weight: 600;
    border-radius: 50px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.3);
}

.cta-button:hover {
    background: #20c05c;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.4);
}

/* ============================================
   WHY WORK WITH US SECTION
   ============================================ */

.why-section {
    padding: 80px 0;
    background: var(--white);
}

.section-title {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 2.8rem;
    color: var(--primary-color);
    text-align: center;
    margin-bottom: 1rem;
}

.section-subtitle {
    text-align: center;
    color: var(--text-light);
    font-size: 1.2rem;
    margin-bottom: 4rem;
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 40px;
    margin-top: 3rem;
}

.benefit-card {
    text-align: center;
    padding: 40px 30px;
    background: var(--white);
    border-radius: 15px;
    transition: all 0.3s ease;
    border: 1px solid #e8e8e8;
}

.benefit-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.benefit-icon {
    font-size: 4.5rem;
    margin-bottom: 1.5rem;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    transition: transform 0.3s ease;
}

.benefit-card:hover .benefit-icon {
    transform: scale(1.1);
}

.benefit-card h3 {
    font-size: 1.5rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.benefit-card p {
    color: var(--text-light);
    line-height: 1.7;
}

/* ============================================
   CONSULTATION SECTION WITH BACKGROUND IMAGE
   ============================================ */

.consultation-section {
    background-image: url('../images/consultation-bg.jpg');
    background-size: cover;
    background-position: center;
    position: relative;
    padding: 100px 0;
}

.consultation-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255, 255, 255, 0.94);
    z-index: 1;
}

.consultation-section .container {
    position: relative;
    z-index: 2;
}

.consultation-content {
    max-width: 800px;
    margin: 0 auto;
    background: var(--white);
    padding: 50px;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
}

.consultation-list {
    list-style: none;
    margin-top: 2rem;
}

.consultation-item {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    padding: 25px;
    margin-bottom: 20px;
    background: var(--bg-light);
    border-radius: 12px;
    border-left: 4px solid var(--accent-color);
}

.consultation-item i {
    color: var(--accent-color);
    font-size: 1.8rem;
    margin-top: 5px;
}

.consultation-item h3 {
    font-size: 1.3rem;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.consultation-item p {
    color: var(--text-light);
    line-height: 1.6;
}

/* ============================================
   CERTIFICATIONS SECTION
   ============================================ */

.certifications-section {
    padding: 80px 0;
    background: var(--bg-light);
}

.certifications-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 30px;
    margin-top: 3rem;
}

.cert-badge {
    background: var(--white);
    padding: 30px;
    border-radius: 15px;
    text-align: center;
    transition: all 0.3s ease;
    border: 2px solid transparent;
    cursor: default;
}

.cert-badge:hover {
    transform: translateY(-5px) rotate(2deg);
    border-color: var(--accent-color);
    box-shadow: 0 8px 25px rgba(212, 175, 55, 0.2);
}

.cert-icon {
    font-size: 3.5rem;
    margin-bottom: 1rem;
}

.cert-badge h3 {
    font-size: 1.1rem;
    color: var(--primary-color);
    font-weight: 600;
}

/* ============================================
   CONTACT FORM SECTION
   ============================================ */

.cta-section {
    padding: 100px 0;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
}

.cta-section h2 {
    color: var(--white);
}

.cta-section .section-subtitle {
    color: rgba(255, 255, 255, 0.9);
}

#contact-form {
    max-width: 700px;
    margin: 3rem auto 0;
    background: var(--white);
    padding: 50px;
    border-radius: 20px;
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.2);
}

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

.form-group label {
    display: block;
    margin-bottom: 8px;
    color: var(--primary-color);
    font-weight: 600;
    font-size: 0.95rem;
}

.form-group label i {
    margin-right: 8px;
    color: var(--accent-color);
}

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

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(30, 58, 95, 0.1);
}

.char-counter {
    float: right;
    font-size: 0.85rem;
    color: var(--text-light);
}

.radio-group {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.radio-label {
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
}

.radio-label input[type="radio"] {
    width: auto;
}

.submit-btn {
    width: 100%;
    padding: 18px;
    background: var(--primary-color);
    color: var(--white);
    border: none;
    border-radius: 50px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-top: 10px;
}

.submit-btn:hover {
    background: var(--secondary-color);
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(30, 58, 95, 0.3);
}

.submit-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

/* ============================================
   WHATSAPP ALTERNATIVE
   ============================================ */

.whatsapp-alternative {
    text-align: center;
    margin-top: 40px;
    padding: 30px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 15px;
}

.whatsapp-alternative p {
    color: var(--white);
    margin-bottom: 15px;
    font-size: 1.1rem;
}

.whatsapp-cta-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 15px 35px;
    background: var(--whatsapp-color);
    color: var(--white);
    text-decoration: none;
    font-weight: 600;
    border-radius: 50px;
    transition: all 0.3s ease;
}

.whatsapp-cta-btn:hover {
    background: #20c05c;
    transform: translateY(-2px);
}

/* ============================================
   FLOATING WHATSAPP BUTTON
   ============================================ */

.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 80px;
    height: 80px;
    background: var(--whatsapp-color);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
    z-index: 1000;
    transition: all 0.3s ease;
    text-decoration: none;
    animation: pulse 2s infinite;
}

.whatsapp-float:hover {
    background: #20c05c;
    transform: scale(1.1);
    box-shadow: 0 6px 30px rgba(37, 211, 102, 0.6);
}

.whatsapp-tooltip {
    position: absolute;
    right: 90px;
    background: var(--text-dark);
    color: var(--white);
    padding: 8px 15px;
    border-radius: 8px;
    font-size: 0.9rem;
    white-space: nowrap;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.whatsapp-float:hover .whatsapp-tooltip {
    opacity: 1;
}

@keyframes pulse {
    0%, 100% {
        box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4), 0 0 0 0 rgba(37, 211, 102, 0.7);
    }
    50% {
        box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4), 0 0 0 15px rgba(37, 211, 102, 0);
    }
}

/* ============================================
   FOOTER
   ============================================ */

footer {
    background: var(--primary-color);
    color: var(--white);
    text-align: center;
    padding: 30px 20px;
}

footer a {
    color: var(--accent-color);
    text-decoration: none;
    transition: color 0.3s ease;
}

footer a:hover {
    color: var(--white);
    text-decoration: underline;
}

footer p {
    margin: 10px 0;
}

/* ============================================
   THANK YOU PAGE WITH BACKGROUND IMAGE
   ============================================ */

.thank-you-section {
    background-image: url('../images/thank-you-bg.jpg');
    background-size: cover;
    background-position: center;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    padding: 50px 20px;
}

.thank-you-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255, 255, 255, 0.96);
    z-index: 1;
}

.thank-you-section .container {
    position: relative;
    z-index: 2;
}

.thank-you-content {
    text-align: center;
    max-width: 700px;
    margin: 0 auto;
    background: var(--white);
    padding: 60px 50px;
    border-radius: 20px;
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.1);
}

.success-icon {
    font-size: 6rem;
    color: var(--success-color);
    margin-bottom: 1.5rem;
    animation: scaleIn 0.5s ease;
}

@keyframes scaleIn {
    from {
        transform: scale(0);
        opacity: 0;
    }
    to {
        transform: scale(1);
        opacity: 1;
    }
}

.thank-you-content h1 {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.thank-you-content p {
    font-size: 1.2rem;
    color: var(--text-light);
    margin-bottom: 2rem;
    line-height: 1.7;
}

.whatsapp-card {
    background: linear-gradient(135deg, var(--whatsapp-color), #20c05c);
    padding: 30px;
    border-radius: 15px;
    margin: 30px 0;
    color: var(--white);
}

.whatsapp-card h3 {
    font-size: 1.4rem;
    margin-bottom: 1rem;
}

.whatsapp-card .whatsapp-cta-btn {
    background: var(--white);
    color: var(--whatsapp-color);
    font-size: 1.1rem;
}

.whatsapp-card .whatsapp-cta-btn:hover {
    background: var(--bg-light);
}

.next-steps {
    margin: 40px 0;
    padding: 30px;
    background: var(--bg-light);
    border-radius: 15px;
}

.next-steps h3 {
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    font-size: 1.5rem;
}

.steps-list {
    list-style: none;
    text-align: left;
}

.steps-list li {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    padding: 15px 0;
    border-bottom: 1px solid #e0e0e0;
}

.steps-list li:last-child {
    border-bottom: none;
}

.steps-list i {
    color: var(--success-color);
    font-size: 1.5rem;
    margin-top: 3px;
}

.back-home {
    display: inline-block;
    margin-top: 30px;
    padding: 12px 30px;
    background: var(--primary-color);
    color: var(--white);
    text-decoration: none;
    border-radius: 50px;
    transition: all 0.3s ease;
}

.back-home:hover {
    background: var(--secondary-color);
    transform: translateY(-2px);
}

/* ============================================
   PRIVACY POLICY PAGE WITH BACKGROUND IMAGE
   ============================================ */

.privacy-header {
    background-image: url('../images/privacy-bg.jpg');
    background-size: cover;
    background-position: center;
    position: relative;
    padding: 100px 0;
    text-align: center;
}

.privacy-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(30, 58, 95, 0.90);
    z-index: 1;
}

.privacy-header .container {
    position: relative;
    z-index: 2;
}

.privacy-header h1 {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 3rem;
    color: var(--white);
    margin-bottom: 1rem;
}

.privacy-header p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.2rem;
}

.privacy-content {
    max-width: 900px;
    margin: 0 auto;
    padding: 60px 20px;
    background: var(--white);
}

.privacy-section {
    margin-bottom: 40px;
}

.privacy-section h2 {
    color: var(--primary-color);
    font-size: 1.8rem;
    margin-bottom: 1rem;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--accent-color);
}

.privacy-section p,
.privacy-section ul {
    color: var(--text-light);
    line-height: 1.8;
    margin-bottom: 1rem;
}

.privacy-section ul {
    padding-left: 30px;
}

.privacy-section li {
    margin-bottom: 8px;
}

.privacy-contact {
    background: var(--bg-light);
    padding: 30px;
    border-radius: 15px;
    border-left: 4px solid var(--accent-color);
}

/* ============================================
   CONFETTI CANVAS
   ============================================ */

#confetti-canvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 9999;
}

/* ============================================
   LOADING SCREEN
   ============================================ */

.loader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--primary-color);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000;
    transition: opacity 0.5s ease, visibility 0.5s ease;
}

.loader.fade-out {
    opacity: 0;
    visibility: hidden;
}

.spinner {
    width: 60px;
    height: 60px;
    border: 4px solid rgba(255, 255, 255, 0.3);
    border-top-color: var(--white);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* ============================================
   RESPONSIVE DESIGN
   ============================================ */

@media (max-width: 768px) {
    .hero {
        background-attachment: scroll;
        min-height: 80vh;
    }

    .hero h1 {
        font-size: 2.2rem;
    }

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

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

    .benefits-grid,
    .certifications-grid {
        grid-template-columns: 1fr;
        gap: 25px;
    }

    .consultation-content {
        padding: 30px 25px;
    }

    #contact-form {
        padding: 30px 25px;
    }

    .whatsapp-float {
        width: 65px;
        height: 65px;
        font-size: 2rem;
        bottom: 20px;
        right: 20px;
    }

    .whatsapp-tooltip {
        display: none;
    }

    .thank-you-content {
        padding: 40px 30px;
    }

    .thank-you-content h1 {
        font-size: 2rem;
    }

    .privacy-header h1 {
        font-size: 2rem;
    }
}

@media (max-width: 480px) {
    .hero h1 {
        font-size: 1.8rem;
    }

    .cta-button {
        padding: 14px 30px;
        font-size: 1rem;
    }

    .consultation-section {
        padding: 60px 0;
    }

    .radio-group {
        flex-direction: column;
        gap: 10px;
    }
}

/* ============================================
   PRINT STYLES (Privacy Policy)
   ============================================ */

@media print {
    .whatsapp-float,
    footer,
    .privacy-header::before {
        display: none;
    }

    .privacy-header {
        background: var(--primary-color);
        padding: 30px 0;
    }

    .privacy-content {
        padding: 20px;
    }
}