/* Force center hero-2-content area and its children */
.hero-2-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
    min-height: 220px;
    height: 220px;
    text-align: center;
}
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #667eea;
    --secondary-color: #764ba2;
    --accent-color: #f093fb;
    --success-color: #4ade80;
    --error-color: #ef4444;
    --text-dark: #1f2937;
    --text-light: #6b7280;
    --glass-bg: rgba(255, 255, 255, 0.1);
    --glass-border: rgba(255, 255, 255, 0.2);
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    min-height: 100vh;
    padding: 20px;
    overflow-x: hidden;
}

/* Background Animation */
.background-animation {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: -1;
}

.circle {
    position: absolute;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    animation: float 20s infinite;
}

.circle:nth-child(1) {
    width: 300px;
    height: 300px;
    top: -150px;
    left: -150px;
    animation-delay: 0s;
}

.circle:nth-child(2) {
    width: 200px;
    height: 200px;
    top: 50%;
    right: -100px;
    animation-delay: -7s;
}

.circle:nth-child(3) {
    width: 250px;
    height: 250px;
    bottom: -125px;
    left: 50%;
    animation-delay: -14s;
}

@keyframes float {
    0%, 100% {
        transform: translate(0, 0) scale(1);
    }
    33% {
        transform: translate(30px, -50px) scale(1.1);
    }
    66% {
        transform: translate(-20px, 20px) scale(0.9);
    }
}

.container {
    max-width: 900px;
    margin: 0 auto;
}

/* Glassy Form Wrapper */
.form-wrapper {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    border-radius: 30px;
    padding: 40px;
    box-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.37);
    border: 1px solid rgba(255, 255, 255, 0.3);
    margin-bottom: 30px;
    animation: slideIn 0.6s ease-out;
}

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

.form-header {
    text-align: center;
    margin-bottom: 40px;
    color: var(--secondary-color);
}

.header-icon {
    font-size: 50px;
    margin-bottom: 20px;
    animation: bounce 2s infinite;
}

@keyframes bounce {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-10px);
    }
}

.form-header h1 {
    font-size: 36px;
    margin-bottom: 10px;
    text-shadow: none;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.form-header p {
    font-size: 16px;
    opacity: 0.8;
    color: var(--text-light);
}

/* Form Styles */
.form-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-bottom: 20px;
}

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

.form-group.full-width {
    grid-column: 1 / -1;
}

label {
    display: block;
    color: var(--text-dark);
    font-weight: 600;
    margin-bottom: 8px;
    font-size: 14px;
}

label i {
    margin-right: 5px;
    color: var(--accent-color);
}

input[type="text"],
input[type="email"],
input[type="tel"],
select,
textarea {
    width: 100%;
    padding: 18px 22px;
    min-height: 54px;
    background: rgba(255, 255, 255, 0.8);
    border: 2px solid rgba(102, 126, 234, 0.3);
    border-radius: 12px;
    color: var(--text-dark);
    font-size: 18px;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

input::placeholder,
textarea::placeholder {
    color: rgba(107, 114, 128, 0.6);
}

input:focus,
select:focus,
textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    background: rgba(255, 255, 255, 1);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(102, 126, 234, 0.3);
}

select {
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23667eea' d='M10.293 3.293L6 7.586 1.707 3.293A1 1 0 00.293 4.707l5 5a1 1 0 001.414 0l5-5a1 1 0 10-1.414-1.414z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 15px center;
    padding-right: 40px;
}

select option {
    background: var(--secondary-color);
    color: white;
}

/* Services Grid */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 15px;
    margin-top: 15px;
}

.service-card {
    position: relative;
}

.service-card input[type="checkbox"] {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
}

.service-label {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 20px 15px;
    background: rgba(255, 255, 255, 0.6);
    border: 2px solid rgba(102, 126, 234, 0.3);
    border-radius: 15px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: center;
    min-height: 100px;
}

.service-label i {
    font-size: 28px;
    margin-bottom: 10px;
    color: var(--primary-color);
}

.service-label span {
    color: var(--text-dark);
    font-size: 13px;
    font-weight: 600;
}

.service-card input[type="checkbox"]:checked + .service-label {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-color: var(--primary-color);
    transform: scale(1.05);
    box-shadow: 0 5px 20px rgba(102, 126, 234, 0.4);
}

.service-card input[type="checkbox"]:checked + .service-label i,
.service-card input[type="checkbox"]:checked + .service-label span {
    color: white;
}

.service-label:hover {
    transform: translateY(-3px);
    border-color: var(--primary-color);
    background: rgba(255, 255, 255, 0.8);
}

/* Error Message */
.error-message {
    color: var(--error-color);
    font-size: 12px;
    margin-top: 5px;
    display: block;
}

/* Submit Button */
.submit-btn {
    width: 100%;
    padding: 16px;
    background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
    border: none;
    border-radius: 15px;
    color: white;
    font-size: 18px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 5px 20px rgba(245, 87, 108, 0.4);
    position: relative;
    overflow: hidden;
}

.submit-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(245, 87, 108, 0.6);
}

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

.submit-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.5s;
}

.submit-btn:hover::before {
    left: 100%;
}

/* Success Message */
.success-message {
    text-align: center;
    padding: 40px;
    color: var(--text-dark);
    animation: fadeIn 0.5s ease;
}

.success-message i {
    font-size: 60px;
    color: var(--success-color);
    margin-bottom: 20px;
}

.success-message h3 {
    font-size: 28px;
    margin-bottom: 10px;
    color: var(--primary-color);
}

.success-message p {
    font-size: 16px;
    opacity: 0.8;
    color: var(--text-light);
}

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

/* Visitor Stats */
.visitor-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 20px;
    animation: slideIn 0.8s ease-out;
}

.stat-card {
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(20px);
    border-radius: 20px;
    padding: 25px;
    display: flex;
    align-items: center;
    gap: 20px;
    border: 1px solid rgba(255, 255, 255, 0.18);
    box-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.37);
    transition: all 0.3s ease;
}

.stat-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 40px rgba(31, 38, 135, 0.5);
}

.stat-card i {
    font-size: 35px;
    color: var(--accent-color);
}

.stat-info {
    display: flex;
    flex-direction: column;
}

.stat-label {
    color: rgba(255, 255, 255, 0.8);
    font-size: 13px;
    margin-bottom: 5px;
}

.stat-value {
    color: white;
    font-size: 24px;
    font-weight: 700;
}

/* Responsive Design */
@media (max-width: 768px) {
    .form-wrapper {
        padding: 25px;
        border-radius: 20px;
    }

    .form-header h1 {
        font-size: 28px;
    }

    .header-icon {
        font-size: 40px;
    }

    .services-grid {
        grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
        gap: 10px;
    }

    .service-label {
        padding: 15px 10px;
        min-height: 90px;
    }

    .service-label i {
        font-size: 24px;
    }

    .service-label span {
        font-size: 12px;
    }

    .visitor-stats {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    body {
        padding: 10px;
    }

    .form-wrapper {
        padding: 20px;
    }

    .form-header h1 {
        font-size: 24px;
    }

    .form-header p {
        font-size: 14px;
    }

    .services-grid {
        grid-template-columns: 1fr;
    }
}
