/* Base Styles and Variables */
:root {
    /* Light Mode Colors */
    --primary-color: #6a11cb;
    --secondary-color: #2575fc;
    --text-color: #333;
    --bg-color: #ffffff;
    --card-bg: #f8f9fa;
    --border-color: #e1e4e8;
    --shadow-color: rgba(0, 0, 0, 0.1);
    --gradient: linear-gradient(135deg, #6a11cb 0%, #2575fc 100%);
    --gradient-hover: linear-gradient(135deg, #5a0cb0 0%, #1565eb 100%);
    --gradient-alt: linear-gradient(135deg, #8e2de2 0%, #4a00e0 100%);
    --gradient-text: linear-gradient(90deg, #6a11cb, #2575fc);
    
    /* Font */
    --font-family: 'Poppins', sans-serif;
    
    /* Transitions */
    --transition: all 0.3s ease;
}

/* Dark Mode Colors */
.dark-mode {
    --text-color: #f0f0f0;
    --bg-color: #121212;
    --card-bg: #1e1e1e;
    --border-color: #2d2d2d;
    --shadow-color: rgba(0, 0, 0, 0.3);
    --primary-color: #8e2de2;
    --secondary-color: #4a00e0;
    --gradient: linear-gradient(135deg, #8e2de2 0%, #4a00e0 100%);
    --gradient-hover: linear-gradient(135deg, #7928ca 0%, #3b00c5 100%);
    --gradient-alt: linear-gradient(135deg, #6a11cb 0%, #2575fc 100%);
    --gradient-text: linear-gradient(90deg, #8e2de2, #4a00e0);
}

/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-family);
    background-color: var(--bg-color);
    color: var(--text-color);
    line-height: 1.6;
    transition: var(--transition);
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-header h2 {
    font-size: 2.5rem;
    margin-bottom: 15px;
    position: relative;
    display: inline-block;
}

.section-header p {
    color: var(--text-color);
    opacity: 0.8;
    max-width: 600px;
    margin: 0 auto;
}

/* Dynamic Gradient Text */
.dynamic-gradient-text {
    background-size: 200% auto;
    background-image: var(--gradient-text);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    position: relative;
    display: inline-block;
    animation: gradient-text-animation 5s ease infinite;
}

@keyframes gradient-text-animation {
    0% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
    100% {
        background-position: 0% 50%;
    }
}

.dynamic-gradient-text::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 100%;
    height: 2px;
    background: var(--gradient);
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 0.5s ease;
}

.dynamic-gradient-text:hover::after {
    transform: scaleX(1);
    transform-origin: left;
}

/* Preloader */
.preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: var(--bg-color);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    transition: opacity 0.5s ease, visibility 0.5s ease;
}

.preloader.fade-out {
    opacity: 0;
    visibility: hidden;
}

.loader {
    display: flex;
    align-items: center;
}

.loader .circle {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    margin: 0 5px;
    background: var(--gradient);
    animation: bounce 1.5s ease-in-out infinite;
}

.loader .circle:nth-child(1) {
    animation-delay: 0s;
}

.loader .circle:nth-child(2) {
    animation-delay: 0.2s;
}

.loader .circle:nth-child(3) {
    animation-delay: 0.4s;
}

@keyframes bounce {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-20px);
    }
}

/* Theme Toggle */
.theme-toggle {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 1000;
}

.theme-toggle button {
    background: var(--gradient);
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    transition: var(--transition);
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(106, 17, 203, 0.4);
    }
    70% {
        box-shadow: 0 0 0 10px rgba(106, 17, 203, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(106, 17, 203, 0);
    }
}

.dark-mode .theme-toggle button {
    animation: pulse-dark 2s infinite;
}

@keyframes pulse-dark {
    0% {
        box-shadow: 0 0 0 0 rgba(142, 45, 226, 0.4);
    }
    70% {
        box-shadow: 0 0 0 10px rgba(142, 45, 226, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(142, 45, 226, 0);
    }
}

.theme-toggle button:hover {
    transform: translateY(-3px) rotate(45deg);
}

.dark-mode .dark-icon {
    display: none;
}

.light-mode .light-icon {
    display: none;
}

/* Back to Top Button */
.back-to-top {
    position: fixed;
    bottom: 20px;
    left: 20px;
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
}

.back-to-top.show {
    opacity: 1;
    visibility: visible;
}

.back-to-top button {
    background: var(--gradient);
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    transition: var(--transition);
}

.back-to-top button:hover {
    transform: translateY(-3px);
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 30px;
    border-radius: 50px;
    font-weight: 600;
    text-align: center;
    cursor: pointer;
    transition: var(--transition);
    border: none;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.1);
    transform: translateX(-100%);
    transition: var(--transition);
    z-index: -1;
}

.btn:hover::before {
    transform: translateX(0);
}

.btn-primary {
    background: var(--gradient);
    color: white;
    box-shadow: 0 4px 15px rgba(106, 17, 203, 0.4);
}

.dark-mode .btn-primary {
    box-shadow: 0 4px 15px rgba(142, 45, 226, 0.4);
}

.btn-primary:hover {
    box-shadow: 0 6px 20px rgba(106, 17, 203, 0.6);
    transform: translateY(-3px);
}

.dark-mode .btn-primary:hover {
    box-shadow: 0 6px 20px rgba(142, 45, 226, 0.6);
}

.btn-secondary {
    background: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
    position: relative;
    z-index: 1;
    overflow: hidden;
}

.btn-secondary::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--gradient);
    z-index: -1;
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 0.5s ease;
}

.btn-secondary:hover {
    color: white;
    border-color: transparent;
    transform: translateY(-3px);
}

.btn-secondary:hover::after {
    transform: scaleX(1);
    transform-origin: left;
}

.btn-small {
    padding: 8px 20px;
    font-size: 0.9rem;
}

/* Header and Navigation */
header {
    position: fixed;
    width: 100%;
    top: 0;
    left: 0;
    z-index: 100;
    padding: 20px 0;
    transition: var(--transition);
    background-color: var(--bg-color);
    box-shadow: 0 2px 10px var(--shadow-color);
}

header.scrolled {
    padding: 15px 0;
    background-color: var(--bg-color);
    box-shadow: 0 5px 20px var(--shadow-color);
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo h1 {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--primary-color);
}

.logo span {
    background: var(--gradient-text);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.nav-menu {
    display: flex;
    align-items: center;
}

.nav-menu li {
    margin-left: 30px;
}

.nav-menu a {
    font-weight: 500;
    position: relative;
}

.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gradient);
    transition: var(--transition);
}

.nav-menu a:hover::after,
.nav-menu a.active::after {
    width: 100%;
}

.login-btn {
    display: flex;
    align-items: center;
    gap: 5px;
    background: var(--gradient);
    color: white !important;
    padding: 8px 15px;
    border-radius: 50px;
    transition: var(--transition);
}

.login-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 4px 15px rgba(106, 17, 203, 0.4);
}

.dark-mode .login-btn:hover {
    box-shadow: 0 4px 15px rgba(142, 45, 226, 0.4);
}

.login-btn::after {
    display: none;
}

.menu-toggle {
    display: none;
    cursor: pointer;
}

.menu-toggle .bar {
    display: block;
    width: 25px;
    height: 3px;
    margin: 5px auto;
    transition: var(--transition);
    background-color: var(--text-color);
}

/* Hero Section */
.hero {
    padding: 150px 0 100px;
    position: relative;
    overflow: hidden;
}

.hero-shape {
    position: absolute;
    top: -300px;
    right: -300px;
    width: 800px;
    height: 800px;
    border-radius: 50%;
    background: var(--gradient);
    opacity: 0.1;
    z-index: -1;
    animation: rotate 30s linear infinite;
}

.hero-shape-2 {
    position: absolute;
    bottom: -200px;
    left: -200px;
    width: 500px;
    height: 500px;
    border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
    background: var(--gradient-alt);
    opacity: 0.1;
    z-index: -1;
    animation: morph 15s ease-in-out infinite;
}

@keyframes rotate {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

@keyframes morph {
    0% {
        border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
    }
    25% {
        border-radius: 70% 30% 30% 70% / 70% 70% 30% 30%;
    }
    50% {
        border-radius: 30% 70% 70% 30% / 70% 30% 70% 30%;
    }
    75% {
        border-radius: 70% 30% 30% 70% / 30% 70% 30% 70%;
    }
    100% {
        border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
    }
}

.hero .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.hero-content {
    flex: 1;
    max-width: 600px;
}

.hero-content h1 {
    font-size: 3.5rem;
    line-height: 1.2;
    margin-bottom: 20px;
    position: relative;
}

.hero-content h1::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 80px;
    height: 4px;
    background: var(--gradient);
    border-radius: 2px;
}

.hero-content p {
    font-size: 1.2rem;
    margin-bottom: 30px;
    opacity: 0.8;
}

.hero-buttons {
    display: flex;
    gap: 15px;
    margin-bottom: 30px;
}

.hero-stats {
    display: flex;
    gap: 30px;
    margin-top: 30px;
}

.stat-item {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.stat-number {
    font-size: 2rem;
    font-weight: 700;
    background: var(--gradient-text);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.stat-text {
    font-size: 0.9rem;
    opacity: 0.8;
}

.hero-image {
    flex: 1;
    position: relative;
    display: flex;
    justify-content: center;
}

.image-container {
    position: relative;
    width: 100%;
    max-width: 500px;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 40px var(--shadow-color);
    transition: var(--transition);
}

.image-container:hover {
    transform: translateY(-10px) rotate(2deg);
    box-shadow: 0 30px 60px var(--shadow-color);
}

.floating-element {
    position: absolute;
    border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
    background: var(--gradient);
    opacity: 0.7;
    animation: float 6s ease-in-out infinite, morph 15s ease-in-out infinite;
}

.floating-element:nth-child(1) {
    top: -30px;
    left: -20px;
    width: 80px;
    height: 80px;
    animation-delay: 0s;
}

.floating-element:nth-child(2) {
    bottom: 20px;
    right: -10px;
    width: 60px;
    height: 60px;
    animation-delay: 2s;
}

@keyframes float {
    0% {
        transform: translateY(0) rotate(0deg);
    }
    50% {
        transform: translateY(-20px) rotate(10deg);
    }
    100% {
        transform: translateY(0) rotate(0deg);
    }
}

.scroll-down {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    animation: bounce 2s infinite;
}

.scroll-down a {
    display: block;
    width: 40px;
    height: 40px;
    line-height: 40px;
    text-align: center;
    background: var(--gradient);
    color: white;
    border-radius: 50%;
    box-shadow: 0 5px 15px rgba(106, 17, 203, 0.4);
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0) translateX(-50%);
    }
    40% {
        transform: translateY(-20px) translateX(-50%);
    }
    60% {
        transform: translateY(-10px) translateX(-50%);
    }
}

/* Services Section */
.services {
    padding: 100px 0;
    background-color: var(--bg-color);
    position: relative;
    overflow: hidden;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.service-card {
    background-color: var(--card-bg);
    border-radius: 15px;
    padding: 30px;
    text-align: center;
    transition: var(--transition);
    box-shadow: 0 5px 15px var(--shadow-color);
    position: relative;
    z-index: 1;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--gradient);
    opacity: 0;
    z-index: -1;
    transition: var(--transition);
    clip-path: circle(0% at 50% 50%);
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px var(--shadow-color);
}

.service-card:hover::before {
    opacity: 0.05;
    clip-path: circle(100% at 50% 50%);
}

.service-icon {
    width: 70px;
    height: 70px;
    margin: 0 auto 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gradient);
    border-radius: 20px;
    color: white;
    font-size: 1.8rem;
    transform: rotate(45deg);
    transition: var(--transition);
}

.service-icon i {
    transform: rotate(-45deg);
}

.service-card:hover .service-icon {
    transform: rotate(0deg);
    animation: pulse 2s infinite;
}

.service-card h3 {
    margin-bottom: 15px;
    font-size: 1.5rem;
    transition: var(--transition);
}

.service-card:hover h3 {
    background: var(--gradient-text);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.service-card p {
    color: var(--text-color);
    opacity: 0.8;
    margin-bottom: 20px;
}

.service-link {
    display: inline-block;
    color: var(--primary-color);
    font-weight: 500;
    transition: var(--transition);
}

.service-link i {
    margin-left: 5px;
    transition: var(--transition);
}

.service-link:hover {
    color: var(--secondary-color);
}

.service-link:hover i {
    transform: translateX(5px);
}

/* About Preview Section */
.about-preview {
    padding: 100px 0;
    background-color: var(--card-bg);
    position: relative;
    overflow: hidden;
}

.about-shape {
    position: absolute;
    top: -100px;
    left: -100px;
    width: 400px;
    height: 400px;
    background: var(--gradient-alt);
    opacity: 0.1;
    border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
    z-index: 0;
    animation: morph 15s ease-in-out infinite;
}

.about-content {
    display: flex;
    align-items: center;
    gap: 50px;
    position: relative;
    z-index: 1;
}

.about-text {
    flex: 1;
}

.about-text h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.about-text p {
    margin-bottom: 30px;
    opacity: 0.8;
}

.about-features {
    margin-bottom: 30px;
}

.about-features li {
    margin-bottom: 10px;
    display: flex;
    align-items: center;
}

.about-features li i {
    color: var(--primary-color);
    margin-right: 10px;
}

.about-image {
    flex: 1;
    position: relative;
}

.image-clip-container {
    position: relative;
    overflow: hidden;
    border-radius: 20px;
    box-shadow: 0 15px 30px var(--shadow-color);
    clip-path: polygon(0 0, 100% 0, 100% 85%, 85% 100%, 0 100%);
    transition: var(--transition);
}

.image-clip-container:hover {
    transform: scale(1.03) rotate(1deg);
}

/* Portfolio Preview */
.portfolio-preview {
    padding: 100px 0;
    position: relative;
    overflow: hidden;
}

.portfolio-shape {
    position: absolute;
    bottom: -200px;
    right: -200px;
    width: 600px;
    height: 600px;
    background: var(--gradient);
    opacity: 0.1;
    border-radius: 50%;
    z-index: 0;
    animation: rotate 30s linear infinite;
}

.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-bottom: 40px;
    position: relative;
    z-index: 1;
}

.portfolio-item {
    position: relative;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 20px var(--shadow-color);
    transition: var(--transition);
}

.portfolio-item:hover {
    transform: translateY(-10px) rotate(2deg);
    box-shadow: 0 15px 30px var(--shadow-color);
}

.portfolio-image {
    height: 250px;
    overflow: hidden;
}

.portfolio-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.portfolio-item:hover .portfolio-image img {
    transform: scale(1.1);
}

.portfolio-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 20px;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8), transparent);
    color: white;
    transform: translateY(100%);
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.portfolio-item:hover .portfolio-overlay {
    transform: translateY(0);
}

.portfolio-overlay h3 {
    margin-bottom: 5px;
}

.portfolio-overlay p {
    margin-bottom: 15px;
    opacity: 0.8;
}

.portfolio-cta {
    text-align: center;
    position: relative;
    z-index: 1;
}

/* Testimonials */
.testimonials {
    padding: 100px 0;
    background-color: var(--card-bg);
    position: relative;
    overflow: hidden;
}

.testimonial-shape {
    position: absolute;
    top: -150px;
    right: -150px;
    width: 500px;
    height: 500px;
    background: var(--gradient-alt);
    opacity: 0.1;
    border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
    z-index: 0;
    animation: morph 15s ease-in-out infinite;
}

.testimonial-slider {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
    overflow: hidden;
    z-index: 1;
}

.testimonial-item {
    display: none;
    animation: fadeIn 0.5s ease forwards;
}

.testimonial-item.active {
    display: block;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.testimonial-content {
    background-color: var(--bg-color);
    border-radius: 15px;
    padding: 40px;
    box-shadow: 0 10px 20px var(--shadow-color);
    position: relative;
    text-align: center;
}

.testimonial-content::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: var(--gradient);
    border-radius: 5px 5px 0 0;
}

.quote-icon {
    font-size: 2rem;
    color: var(--primary-color);
    opacity: 0.2;
    margin-bottom: 20px;
}

.testimonial-content p {
    font-size: 1.1rem;
    margin-bottom: 20px;
    font-style: italic;
}

.client-info {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
}

.client-image {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    overflow: hidden;
    border: 3px solid var(--primary-color);
}

.client-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.client-details h4 {
    font-size: 1.2rem;
    margin-bottom: 5px;
}

.client-details p {
    font-size: 0.9rem;
    margin-bottom: 0;
    opacity: 0.7;
}

.testimonial-controls {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 30px;
}

.prev-btn, .next-btn {
    background: var(--gradient);
    color: white;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    border: none;
    transition: var(--transition);
}

.prev-btn:hover, .next-btn:hover {
    transform: scale(1.1);
}

.testimonial-dots {
    display: flex;
    gap: 10px;
    margin: 0 20px;
}

.dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background-color: var(--border-color);
    cursor: pointer;
    transition: var(--transition);
}

.dot.active {
    background: var(--gradient);
    transform: scale(1.2);
}

/* Contact Preview */
.contact-preview {
    padding: 100px 0;
    position: relative;
    overflow: hidden;
}

.contact-shape {
    position: absolute;
    bottom: -150px;
    left: -150px;
    width: 500px;
    height: 500px;
    background: var(--gradient);
    opacity: 0.1;
    border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
    z-index: 0;
    animation: morph 15s ease-in-out infinite;
}

.contact-card {
    background-color: var(--card-bg);
    border-radius: 20px;
    overflow: hidden;
    display: flex;
    box-shadow: 0 15px 30px var(--shadow-color);
    position: relative;
    z-index: 1;
}

.contact-info {
    flex: 1;
    padding: 50px;
    position: relative;
    z-index: 1;
}

.contact-info::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--gradient);
    opacity: 0.05;
    z-index: -1;
    clip-path: polygon(0 0, 100% 0, 85% 100%, 0 100%);
}

.contact-info h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.contact-info > p {
    margin-bottom: 30px;
    opacity: 0.8;
}

.contact-details {
    margin-bottom: 30px;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 15px;
}

.contact-item i {
    margin-right: 15px;
    color: var(--primary-color);
    font-size: 1.2rem;
}

.social-links {
    display: flex;
    gap: 15px;
}

.social-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--gradient);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    transition: var(--transition);
}

.social-icon:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(106, 17, 203, 0.4);
}

.dark-mode .social-icon:hover {
    box-shadow: 0 5px 15px rgba(142, 45, 226, 0.4);
}

.contact-form-preview {
    flex: 1;
    padding: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--bg-color);
}

.mini-contact-form {
    width: 100%;
    max-width: 400px;
}

.form-group {
    margin-bottom: 20px;
    position: relative;
}

.form-group input {
    width: 100%;
    padding: 15px;
    border: 1px solid var(--border-color);
    border-radius: 10px;
    background-color: var(--bg-color);
    color: var(--text-color);
    transition: var(--transition);
}

.form-group input:focus {
    border-color: var(--primary-color);
    outline: none;
    box-shadow: 0 0 0 3px rgba(106, 17, 203, 0.1);
}

/* Footer */
footer {
    background-color: var(--card-bg);
    padding: 80px 0 20px;
    position: relative;
    overflow: hidden;
}

.footer-shape {
    position: absolute;
    top: -200px;
    left: 50%;
    transform: translateX(-50%);
    width: 600px;
    height: 600px;
    background: var(--gradient);
    opacity: 0.05;
    border-radius: 50%;
    z-index: 0;
}

footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: var(--gradient);
    z-index: 1;
}

.footer-content {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    margin-bottom: 50px;
    position: relative;
    z-index: 1;
}

.footer-logo {
    flex: 1;
    min-width: 250px;
    margin-bottom: 30px;
}

.footer-logo h2 {
    font-size: 1.8rem;
    margin-bottom: 15px;
    color: var(--primary-color);
}

.footer-logo span {
    background: var(--gradient-text);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.footer-logo p {
    opacity: 0.8;
    margin-bottom: 20px;
}

.newsletter {
    margin-top: 20px;
}

.newsletter h4 {
    margin-bottom: 15px;
}

.newsletter-form {
    display: flex;
    gap: 10px;
}

.newsletter-form input {
    flex: 1;
    padding: 10px 15px;
    border: 1px solid var(--border-color);
    border-radius: 50px;
    background-color: var(--bg-color);
    color: var(--text-color);
}

.newsletter-form input:focus {
    border-color: var(--primary-color);
    outline: none;
}

.newsletter-form button {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--gradient);
    color: white;
    border: none;
    cursor: pointer;
    transition: var(--transition);
}

.newsletter-form button:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(106, 17, 203, 0.4);
}

.footer-links {
    flex: 2;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}

.footer-column {
    min-width: 200px;
    margin-bottom: 30px;
}

.footer-column h3 {
    font-size: 1.2rem;
    margin-bottom: 20px;
    position: relative;
    display: inline-block;
}

.footer-column h3::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 40px;
    height: 2px;
    background: var(--gradient);
}

.footer-column ul li {
    margin-bottom: 10px;
}

.footer-column ul li a:hover {
    color: var(--primary-color);
    padding-left: 5px;
}

.contact-list li {
    display: flex;
    align-items: flex-start;
    margin-bottom: 15px;
}

.contact-list li i {
    margin-right: 10px;
    color: var(--primary-color);
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 20px;
    border-top: 1px solid var(--border-color);
    position: relative;
    z-index: 1;
}

.payment-methods {
    display: flex;
    align-items: center;
}

.payment-methods span {
    margin-right: 10px;
    font-size: 0.9rem;
    opacity: 0.8;
}

.payment-methods img {
    height: 30px;
    margin-left: 10px;
}

/* Page Banner */
.page-banner {
    padding: 150px 0 80px;
    background-color: var(--card-bg);
    position: relative;
    overflow: hidden;
    text-align: center;
}

.banner-shape {
    position: absolute;
    top: -200px;
    left: 50%;
    transform: translateX(-50%);
    width: 600px;
    height: 600px;
    background: var(--gradient);
    opacity: 0.1;
    border-radius: 50%;
    z-index: 0;
}

.banner-content {
    position: relative;
    z-index: 1;
}

.banner-content h1 {
    font-size: 3rem;
    margin-bottom: 15px;
}

.banner-content p {
    font-size: 1.2rem;
    opacity: 0.8;
    max-width: 600px;
    margin: 0 auto;
}

/* Dynamic Gradient Animation */
@keyframes gradient-animation {
    0% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
    100% {
        background-position: 0% 50%;
    }
}

.btn-primary, .service-icon, .prev-btn, .next-btn, .social-icon, .dot.active, .card-icon, .choose-icon, .member-social a {
    background-size: 200% 200%;
    animation: gradient-animation 5s ease infinite;
}

/* Responsive Styles */
@media (min-width: 768px) {
    .login-image {
        display: block;
    }
}

@media (max-width: 992px) {
    .hero-content h1 {
        font-size: 2.8rem;
    }
    
    .about-content {
        flex-direction: column;
    }
    
    .contact-card {
        flex-direction: column;
    }
}

@media (max-width: 768px) {
    .menu-toggle {
        display: block;
    }
    
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background-color: var(--bg-color);
        width: 100%;
        text-align: center;
        transition: var(--transition);
        box-shadow: 0 10px 20px var(--shadow-color);
        padding: 20px 0;
    }
    
    .nav-menu.active {
        left: 0;
    }
    
    .nav-menu li {
        margin: 15px 0;
    }
    
    .hero .container {
        flex-direction: column;
        text-align: center;
    }
    
    .hero-content {
        margin-bottom: 50px;
    }

    .hero-content h1::after {
        left: 50%;
        transform: translateX(-50%);
    }
    
    .hero-buttons {
        justify-content: center;
    }
    
    .section-header h2 {
        font-size: 2rem;
    }
    
    .footer-content {
        flex-direction: column;
    }
}

@media (max-width: 576px) {
    .hero-content h1 {
        font-size: 2.2rem;
    }
    
    .btn {
        padding: 10px 20px;
    }
    
    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }
    
    .footer-bottom p {
        margin-bottom: 15px;
    }

    .theme-toggle {
        bottom: 10px;
        right: 10px;
    }

    .theme-toggle button {
        width: 40px;
        height: 40px;
    }
    
    .hero-stats {
        flex-wrap: wrap;
        justify-content: center;
    }
}