/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary: #00f2fe;
    --secondary: #4facfe;
    --accent: #ff3cac;
    --dark: #0a192f;
    --light: #e6f1ff;
    --white: #ffffff;
    --gradient: linear-gradient(135deg, var(--primary), var(--secondary));
    --gradient-accent: linear-gradient(135deg, var(--accent), var(--secondary));
}

body {
    font-family: 'Poppins', Arial, sans-serif;
    line-height: 1.6;
    color: var(--light);
    background: var(--dark);
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header Styles */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(13, 17, 23, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

nav {
    display: flex;
    align-items: center;
    padding: 1rem 5%;
    max-width: 1600px;
    margin: 0 auto;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 24px;
    font-weight: 600;
    color: var(--white);
    text-decoration: none;
}

.logo svg {
    width: 32px;
    height: 32px;
    animation: spin 20s linear infinite;
}

.logo:hover svg {
    animation: spin 1s linear infinite;
}

@keyframes spin {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 2.5rem;
    margin-left: auto;
}

.nav-links .book-consultation {
    margin-left: 2rem;
}

.nav-links a {
    color: var(--light);
    text-decoration: none;
    font-weight: 500;
    padding: 0.5rem 0;
    white-space: nowrap;
    transition: color 0.3s ease;
    position: relative;
}

.nav-links a:hover {
    color: var(--primary);
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary);
    transition: width 0.3s ease;
}

.nav-links a:hover::after {
    width: 100%;
}

.right-nav {
    display: flex;
    align-items: center;
    gap: 2rem;
    margin-left: auto;
}

.book-consultation {
    background: var(--white);
    color: var(--dark);
    padding: 0.6rem 1.2rem;
    border-radius: 4px;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.3s ease;
}

.book-consultation:hover {
    background: var(--primary);
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 242, 254, 0.3);
}

.menu-btn {
    display: none;
    background: none;
    border: none;
    color: var(--light);
    font-size: 1.5rem;
    cursor: pointer;
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at center, rgba(0, 242, 254, 0.1) 0%, transparent 70%);
    z-index: 1;
}

.hero .container {
    position: relative;
    z-index: 2;
}

.hero h1 {
    font-size: 64px;
    margin-bottom: 20px;
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    line-height: 1.2;
}

.hero p {
    font-size: 24px;
    margin-bottom: 40px;
    color: var(--light);
    opacity: 0.9;
}

.cta-btn {
    background: var(--gradient);
    color: var(--white);
    padding: 15px 40px;
    border: none;
    border-radius: 30px;
    font-size: 18px;
    font-weight: 600;
    cursor: pointer;
    transition: transform 0.3s, box-shadow 0.3s;
    position: relative;
    overflow: hidden;
}

.cta-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--gradient-accent);
    opacity: 0;
    transition: opacity 0.3s;
}

.cta-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0, 242, 254, 0.3);
}

.cta-btn:hover::before {
    opacity: 1;
}

/* About Section */
.about {
    padding: 100px 0;
    background: rgba(10, 25, 47, 0.5);
    position: relative;
}

.about::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at top right, rgba(79, 172, 254, 0.1) 0%, transparent 70%);
    z-index: 1;
}

.about .container {
    position: relative;
    z-index: 2;
}

.about h2 {
    text-align: center;
    margin-bottom: 50px;
    font-size: 48px;
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.stats {
    display: flex;
    justify-content: space-around;
    margin-top: 50px;
    flex-wrap: wrap;
    gap: 30px;
}

.stat {
    text-align: center;
    padding: 30px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 20px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: transform 0.3s, box-shadow 0.3s;
}

.stat:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 30px rgba(0, 242, 254, 0.2);
}

.stat h3 {
    font-size: 48px;
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 10px;
}

/* Services Section */
.services {
    padding: 100px 0;
    position: relative;
}

.services::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at bottom left, rgba(255, 60, 172, 0.1) 0%, transparent 70%);
    z-index: 1;
}

.services .container {
    position: relative;
    z-index: 2;
}

.services h2 {
    text-align: center;
    margin-bottom: 50px;
    font-size: 48px;
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.service-card {
    background: rgba(255, 255, 255, 0.05);
    padding: 40px;
    border-radius: 20px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: transform 0.3s, box-shadow 0.3s;
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--gradient);
    opacity: 0;
    transition: opacity 0.3s;
    z-index: -1;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 30px rgba(0, 242, 254, 0.2);
}

.service-card:hover::before {
    opacity: 0.1;
}

.service-card h3 {
    font-size: 24px;
    margin-bottom: 20px;
    color: var(--light);
}

.service-card p {
    color: var(--light);
    opacity: 0.8;
}

/* Contact Section */
.contact {
    padding: 100px 0;
    background: rgba(10, 25, 47, 0.5);
    position: relative;
}

.contact::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at center, rgba(79, 172, 254, 0.1) 0%, transparent 70%);
    z-index: 1;
}

.contact .container {
    position: relative;
    z-index: 2;
}

.contact h2 {
    text-align: center;
    margin-bottom: 50px;
    font-size: 48px;
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
}

.contact-info {
    padding: 40px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 20px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.contact-info h3 {
    font-size: 24px;
    margin-bottom: 20px;
    color: var(--light);
}

.contact-info p {
    color: var(--light);
    opacity: 0.8;
    margin-bottom: 15px;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.contact-form input,
.contact-form textarea {
    padding: 15px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    color: var(--light);
    font-size: 16px;
    transition: border-color 0.3s;
}

.contact-form input:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: var(--primary);
}

.contact-form textarea {
    height: 150px;
    resize: vertical;
}

.contact-form button {
    background: var(--gradient);
    color: var(--white);
    padding: 15px;
    border: none;
    border-radius: 10px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: transform 0.3s, box-shadow 0.3s;
}

.contact-form button:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0, 242, 254, 0.3);
}

/* Footer */
footer {
    background: rgba(10, 25, 47, 0.9);
    color: var(--light);
    padding: 50px 0 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
    margin-bottom: 30px;
}

.footer-section h3 {
    font-size: 20px;
    margin-bottom: 20px;
    color: var(--light);
}

.footer-section a {
    color: var(--light);
    text-decoration: none;
    display: block;
    margin-bottom: 10px;
    opacity: 0.8;
    transition: opacity 0.3s, transform 0.3s;
}

.footer-section a:hover {
    opacity: 1;
    transform: translateX(5px);
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    opacity: 0.7;
}

/* Animations */
@keyframes float {
    0% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-20px);
    }
    100% {
        transform: translateY(0px);
    }
}

.float {
    animation: float 6s ease-in-out infinite;
}

/* Responsive Design */
@media (max-width: 768px) {
    .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: rgba(13, 17, 23, 0.95);
        padding: 1rem;
        flex-direction: column;
        gap: 1rem;
        backdrop-filter: blur(10px);
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    }

    .nav-links.active {
        display: flex;
    }

    .right-nav {
        display: none;
    }

    .right-nav.active {
        display: flex;
        flex-direction: column;
        width: 100%;
        gap: 1rem;
    }

    .menu-btn {
        display: block;
        margin-left: auto;
    }

    .book-consultation {
        width: 100%;
        text-align: center;
    }

    .hero h1 {
        font-size: 48px;
    }

    .hero p {
        font-size: 20px;
    }

    .contact-grid {
        grid-template-columns: 1fr;
    }

    .stats {
        flex-direction: column;
    }
}

/* Custom Cursor */
.cursor {
    width: 20px;
    height: 20px;
    border: 2px solid var(--primary);
    border-radius: 50%;
    position: fixed;
    pointer-events: none;
    z-index: 9999;
    transition: transform 0.2s ease;
    transform: translate(-50%, -50%);
}

.cursor.hover {
    transform: translate(-50%, -50%) scale(1.5);
    background: var(--primary);
    mix-blend-mode: difference;
}

/* Success Animation */
.contact-form.success {
    animation: successPulse 1s ease;
}

@keyframes successPulse {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.02);
    }
    100% {
        transform: scale(1);
    }
}

/* Error Animation */
.contact-form input.error,
.contact-form textarea.error {
    animation: errorShake 0.5s ease;
}

@keyframes errorShake {
    0%, 100% {
        transform: translateX(0);
    }
    25% {
        transform: translateX(-5px);
    }
    75% {
        transform: translateX(5px);
    }
}

/* Parallax Effect */
.hero, .about, .services, .contact {
    background-attachment: fixed;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}

/* Glass Morphism */
.glass {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
}

/* Neon Text Effect */
.neon-text {
    text-shadow: 0 0 5px var(--primary),
                 0 0 10px var(--primary),
                 0 0 20px var(--primary);
}

/* Hover Effects */
.hover-glow {
    transition: box-shadow 0.3s ease;
}

.hover-glow:hover {
    box-shadow: 0 0 20px var(--primary);
}

/* Loading Animation */
.loading {
    position: relative;
    overflow: hidden;
}

.loading::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    animation: loading 1.5s infinite;
}

@keyframes loading {
    0% {
        transform: translateX(-100%);
    }
    100% {
        transform: translateX(100%);
    }
}

/* Scroll Progress Bar */
.scroll-progress {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: var(--gradient);
    transform-origin: left;
    transform: scaleX(0);
    transition: transform 0.1s;
}

/* Legal Content Styles */
.legal-content {
    padding: 80px 0;
    background: var(--dark);
    color: var(--light);
}

.legal-content .container {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 20px;
}

.legal-content h1 {
    font-size: 2.5rem;
    margin-bottom: 40px;
    color: var(--primary);
    text-align: center;
}

.legal-section {
    margin-bottom: 30px;
    background: rgba(255, 255, 255, 0.05);
    padding: 20px;
    border-radius: 10px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.legal-section h2 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: var(--secondary);
}

.legal-section p {
    margin-bottom: 10px;
    line-height: 1.6;
}

.legal-section ul {
    list-style-type: disc;
    margin-left: 20px;
    margin-bottom: 15px;
}

.legal-section li {
    margin-bottom: 5px;
}

/* Active Link in Footer */
.footer-section a.active {
    color: var(--secondary);
    font-weight: bold;
}

/* Responsive Legal Content */
@media (max-width: 768px) {
    .legal-content {
        padding: 60px 0;
    }

    .legal-content h1 {
        font-size: 2rem;
    }

    .legal-section h2 {
        font-size: 1.3rem;
    }
}

@media (max-width: 480px) {
    .legal-content {
        padding: 40px 0;
    }

    .legal-content h1 {
        font-size: 1.8rem;
    }

    .legal-section {
        padding: 15px;
    }
}

/* Newsletter Section */
.newsletter {
    padding: 80px 0;
    background: rgba(10, 25, 47, 0.8);
    position: relative;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.newsletter::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at center, rgba(0, 242, 254, 0.1) 0%, transparent 70%);
    z-index: 1;
}

.newsletter-content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 600px;
    margin: 0 auto;
}

.newsletter h2 {
    font-size: 36px;
    margin-bottom: 20px;
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.newsletter p {
    color: var(--light);
    margin-bottom: 30px;
    opacity: 0.9;
}

.newsletter-form {
    display: flex;
    gap: 15px;
    max-width: 500px;
    margin: 0 auto;
}

.newsletter-form input {
    flex: 1;
    padding: 15px;
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(255, 255, 255, 0.05);
    color: var(--light);
    font-size: 16px;
    transition: all 0.3s ease;
}

.newsletter-form input:focus {
    outline: none;
    border-color: var(--primary);
    background: rgba(255, 255, 255, 0.1);
}

.subscribe-btn {
    padding: 15px 30px;
    background: var(--gradient);
    border: none;
    border-radius: 8px;
    color: var(--white);
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.subscribe-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 242, 254, 0.3);
}

/* Responsive Newsletter */
@media (max-width: 768px) {
    .newsletter-form {
        flex-direction: column;
        padding: 0 20px;
    }

    .subscribe-btn {
        width: 100%;
    }

    .newsletter h2 {
        font-size: 28px;
    }
}

/* Consultation Form Styles */
.consultation-section {
    padding: 120px 0 80px;
    background: var(--dark);
    min-height: 100vh;
}

.consultation-section h1 {
    text-align: center;
    font-size: 48px;
    margin-bottom: 20px;
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.form-intro {
    text-align: center;
    color: var(--light);
    margin-bottom: 40px;
    opacity: 0.9;
}

.consultation-form {
    max-width: 800px;
    margin: 0 auto;
    background: rgba(255, 255, 255, 0.05);
    padding: 40px;
    border-radius: 20px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.form-section {
    margin-bottom: 40px;
}

.form-section h2 {
    font-size: 24px;
    margin-bottom: 20px;
    color: var(--primary);
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    color: var(--light);
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    color: var(--light);
    font-size: 16px;
    transition: all 0.3s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary);
    background: rgba(255, 255, 255, 0.1);
}

.form-group textarea {
    height: 150px;
    resize: vertical;
}

.form-group small {
    display: block;
    margin-top: 5px;
    color: var(--light);
    opacity: 0.7;
}

.checkbox-group {
    display: flex;
    align-items: flex-start;
    gap: 10px;
}

.checkbox-group input[type="checkbox"] {
    width: auto;
    margin-top: 5px;
}

.checkbox-group label {
    margin-bottom: 0;
    font-size: 14px;
}

.submit-btn {
    width: 100%;
    padding: 15px;
    background: var(--gradient);
    color: var(--white);
    border: none;
    border-radius: 8px;
    font-size: 18px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 242, 254, 0.3);
}

/* Form Validation Styles */
.form-group input:invalid,
.form-group select:invalid,
.form-group textarea:invalid {
    border-color: var(--accent);
}

.error-message {
    color: var(--accent);
    font-size: 14px;
    margin-top: 5px;
}

/* File Upload Styles */
.form-group input[type="file"] {
    padding: 10px;
    background: transparent;
    border: 2px dashed rgba(255, 255, 255, 0.1);
}

.form-group input[type="file"]:hover {
    border-color: var(--primary);
}

.file-info {
    color: var(--light);
    opacity: 0.7;
    font-size: 14px;
    margin-top: 5px;
}

/* Responsive Styles for Consultation Form */
@media (max-width: 768px) {
    .consultation-section {
        padding: 100px 0 60px;
    }

    .consultation-section h1 {
        font-size: 36px;
    }

    .consultation-form {
        padding: 20px;
    }

    .form-section h2 {
        font-size: 20px;
    }

    .form-group input,
    .form-group select,
    .form-group textarea {
        font-size: 14px;
    }
}

/* Form Group Select Styles */
.form-group select {
    width: 100%;
    padding: 12px;
    background: rgba(13, 17, 23, 0.95);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    color: var(--light);
    font-size: 16px;
    transition: all 0.3s ease;
    cursor: pointer;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%23e6f1ff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 12px center;
    background-size: 16px;
    padding-right: 40px;
}

.form-group select:focus {
    outline: none;
    border-color: var(--primary);
    background-color: rgba(13, 17, 23, 0.98);
}

.form-group select option {
    background: rgba(13, 17, 23, 0.95);
    color: var(--light);
    padding: 12px;
}

/* Header Book Consultation Button */
.nav-links .book-consultation {
    background: var(--gradient);
    color: var(--white);
    padding: 0.6rem 1.2rem;
    border-radius: 30px;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.3s ease;
    border: none;
}

.nav-links .book-consultation:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 242, 254, 0.3);
} 