/* CSS Reset & Variables */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #6C63FF;
    --secondary-color: #FF6584;
    --accent-color: #36D1DC;
    --dark-color: #2D2B55;
    --light-color: #F7F7FF;
    --text-color: #33334F;
    --text-light: #7A7A9D;
    --white: #FFFFFF;
    --gradient: linear-gradient(135deg, var(--primary-color) 0%, var(--accent-color) 100%);
    --shadow: 0 10px 30px rgba(108, 99, 255, 0.15);
    --transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

body {
    font-family: 'Poppins', sans-serif;
    line-height: 1.7;
    color: var(--text-color);
    overflow-x: hidden;
    background-color: var(--light-color);
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 15px;
}

h1 {
    font-size: 3.5rem;
}

h2 {
    font-size: 2.8rem;
}

h3 {
    font-size: 2rem;
}

p {
    margin-bottom: 15px;
    color: var(--text-light);
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 14px 32px;
    border-radius: 50px;
    font-weight: 600;
    text-align: center;
    cursor: pointer;
    transition: var(--transition);
    border: none;
    font-size: 1rem;
    position: relative;
    overflow: hidden;
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: left 0.5s;
}

.btn:hover::before {
    left: 100%;
}

.btn-primary {
    background: var(--gradient);
    color: var(--white);
    box-shadow: var(--shadow);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(108, 99, 255, 0.3);
}

.btn-secondary {
    background-color: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

.btn-secondary:hover {
    background-color: var(--primary-color);
    color: var(--white);
    transform: translateY(-3px);
    box-shadow: var(--shadow);
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    padding: 15px 0;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-logo h2 {
    margin: 0;
    color: var(--dark-color);
    font-size: 1.8rem;
}

.nav-logo span {
    color: var(--primary-color);
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 30px;
}

.nav-link {
    font-weight: 500;
    color: var(--text-color);
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gradient);
    transition: var(--transition);
}

.nav-link:hover::after {
    width: 100%;
}

.nav-cta {
    background: var(--gradient);
    color: var(--white);
    padding: 10px 25px;
    border-radius: 50px;
    font-weight: 600;
    box-shadow: var(--shadow);
}

.nav-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(108, 99, 255, 0.3);
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.bar {
    width: 25px;
    height: 3px;
    background-color: var(--dark-color);
    margin: 3px 0;
    transition: var(--transition);
    border-radius: 2px;
}

/* Hero Section */
.hero {
    padding: 180px 0 100px;
    background: linear-gradient(135deg, #F7F7FF 0%, #E6E6FA 100%);
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 600px;
    height: 600px;
    background: var(--gradient);
    border-radius: 50%;
    opacity: 0.1;
}

.hero-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 50px;
    position: relative;
    z-index: 1;
}

.hero-content {
    flex: 1;
}

.hero-title {
    font-size: 3.5rem;
    margin-bottom: 20px;
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 1.2rem;
    margin-bottom: 30px;
    max-width: 500px;
}

.hero-buttons {
    display: flex;
    gap: 15px;
}

.hero-visual {
    flex: 1;
    position: relative;
    height: 400px;
}

.floating-card {
    position: absolute;
    background: var(--white);
    padding: 20px;
    border-radius: 15px;
    box-shadow: var(--shadow);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    transition: var(--transition);
}

.floating-card:hover {
    transform: translateY(-10px);
}

.floating-card i {
    font-size: 2.5rem;
    margin-bottom: 10px;
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.floating-card span {
    font-weight: 600;
    color: var(--dark-color);
}

.card-1 {
    top: 0;
    left: 0;
    width: 150px;
    height: 150px;
    animation: float 3s ease-in-out infinite;
}

.card-2 {
    top: 50%;
    right: 20%;
    transform: translateY(-50%);
    width: 180px;
    height: 180px;
    animation: float 3s ease-in-out infinite 0.5s;
}

.card-3 {
    bottom: 0;
    right: 0;
    width: 160px;
    height: 160px;
    animation: float 3s ease-in-out infinite 1s;
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-15px); }
}

/* Section Styling */
section {
    padding: 100px 0;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-label {
    display: inline-block;
    background: var(--gradient);
    color: var(--white);
    padding: 8px 20px;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 15px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.section-header h2 {
    margin-bottom: 15px;
    color: var(--dark-color);
}

.section-header p {
    max-width: 600px;
    margin: 0 auto;
}

/* About Section */
.about {
    background-color: var(--white);
}

.about-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-bottom: 60px;
}

.about-card {
    background: var(--white);
    padding: 40px 30px;
    border-radius: 15px;
    text-align: center;
    box-shadow: var(--shadow);
    transition: var(--transition);
    border: 1px solid rgba(108, 99, 255, 0.1);
}

.about-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(108, 99, 255, 0.2);
}

.card-icon {
    width: 80px;
    height: 80px;
    background: var(--gradient);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    color: var(--white);
    font-size: 2rem;
}

.about-card h3 {
    margin-bottom: 15px;
    color: var(--dark-color);
}

.about-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
}

.stat-item {
    text-align: center;
    padding: 30px 20px;
    background: var(--light-color);
    border-radius: 15px;
    transition: var(--transition);
}

.stat-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow);
}

.stat-number {
    font-size: 3rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 10px;
}

.stat-label {
    font-weight: 600;
    color: var(--dark-color);
}

/* Services Section */
.services {
    background-color: var(--light-color);
}

.services-tabs {
    background: var(--white);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow);
}

.tab-buttons {
    display: flex;
    background: var(--gradient);
    padding: 10px;
}

.tab-btn {
    flex: 1;
    padding: 15px 20px;
    background: transparent;
    border: none;
    color: var(--white);
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    border-radius: 10px;
}

.tab-btn.active {
    background: rgba(255, 255, 255, 0.2);
}

.tab-btn:hover:not(.active) {
    background: rgba(255, 255, 255, 0.1);
}

.tab-content {
    padding: 40px;
}

.tab-pane {
    display: none;
}

.tab-pane.active {
    display: block;
    animation: fadeIn 0.5s ease;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.service-item {
    text-align: center;
    padding: 30px 20px;
    border-radius: 15px;
    transition: var(--transition);
    border: 1px solid rgba(108, 99, 255, 0.1);
}

.service-item:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow);
}

.service-icon {
    width: 70px;
    height: 70px;
    background: var(--light-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    color: var(--primary-color);
    font-size: 1.8rem;
}

.service-item h4 {
    margin-bottom: 15px;
    color: var(--dark-color);
}

/* Why Choose Us */
.why-choose {
    background-color: var(--white);
}

.features-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.feature-image {
    display: flex;
    justify-content: center;
}

.feature-image .image-placeholder {
    width: 400px;
    height: 400px;
    background: var(--gradient);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 8rem;
    opacity: 0.8;
}

.features-list {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.feature-item {
    display: flex;
    gap: 20px;
    align-items: flex-start;
}

.feature-number {
    width: 50px;
    height: 50px;
    background: var(--gradient);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-weight: 700;
    font-size: 1.2rem;
    flex-shrink: 0;
}

.feature-content h3 {
    margin-bottom: 10px;
    color: var(--dark-color);
}

/* Warranty Section */
.warranty {
    background-color: var(--light-color);
}

.warranty-card {
    background: var(--white);
    border-radius: 20px;
    padding: 50px;
    box-shadow: var(--shadow);
    display: flex;
    gap: 50px;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.warranty-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: var(--gradient);
}

.warranty-content {
    flex: 2;
}

.warranty-content h2 {
    margin-bottom: 20px;
    color: var(--dark-color);
}

.warranty-features {
    margin: 30px 0;
}

.warranty-feature {
    display: flex;
    gap: 20px;
    margin-bottom: 25px;
    align-items: flex-start;
}

.warranty-feature i {
    font-size: 1.5rem;
    color: var(--primary-color);
    margin-top: 5px;
}

.warranty-feature h4 {
    margin-bottom: 5px;
    color: var(--dark-color);
}

.warranty-badge {
    flex: 1;
    display: flex;
    justify-content: center;
}

.badge-content {
    width: 200px;
    height: 200px;
    background: var(--gradient);
    border-radius: 50%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: var(--white);
    text-align: center;
    box-shadow: var(--shadow);
}

.badge-content span {
    font-size: 1rem;
    font-weight: 600;
}

.badge-content strong {
    font-size: 2rem;
    font-weight: 700;
}

/* Testimonials */
.testimonials {
    background-color: var(--white);
}

.testimonials-slider {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
}

.testimonial-slide {
    display: none;
    animation: fadeIn 0.5s ease;
}

.testimonial-slide.active {
    display: block;
}

.testimonial-content {
    background: var(--light-color);
    padding: 40px;
    border-radius: 20px;
    position: relative;
    box-shadow: var(--shadow);
}

.quote-icon {
    position: absolute;
    top: -20px;
    left: 40px;
    width: 60px;
    height: 60px;
    background: var(--gradient);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 1.5rem;
    box-shadow: var(--shadow);
}

.testimonial-content p {
    font-size: 1.1rem;
    font-style: italic;
    margin-bottom: 30px;
}

.client-info {
    display: flex;
    align-items: center;
    gap: 15px;
}

.client-avatar {
    width: 60px;
    height: 60px;
    background: var(--gradient);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 1.5rem;
}

.client-details h4 {
    margin-bottom: 5px;
    color: var(--dark-color);
}

.client-details span {
    color: var(--text-light);
    font-size: 0.9rem;
}

.slider-controls {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-top: 30px;
}

.slider-btn {
    width: 50px;
    height: 50px;
    background: var(--white);
    border: 2px solid var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-color);
    cursor: pointer;
    transition: var(--transition);
}

.slider-btn:hover {
    background: var(--primary-color);
    color: var(--white);
    transform: translateY(-3px);
    box-shadow: var(--shadow);
}

/* Contact Section */
.contact {
    background-color: var(--light-color);
}

.contact-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
}

.contact-info .section-header {
    text-align: left;
    margin-bottom: 40px;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.contact-item {
    display: flex;
    gap: 20px;
    align-items: flex-start;
}

.contact-icon {
    width: 50px;
    height: 50px;
    background: var(--gradient);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 1.2rem;
    flex-shrink: 0;
}

.contact-text h4 {
    margin-bottom: 5px;
    color: var(--dark-color);
}

.contact-form {
    background: var(--white);
    padding: 40px;
    border-radius: 20px;
    box-shadow: var(--shadow);
}

.contact-form h3 {
    margin-bottom: 25px;
    color: var(--dark-color);
    text-align: center;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group input, .form-group select, .form-group textarea {
    width: 100%;
    padding: 15px 20px;
    border: 1px solid #E6E6FA;
    border-radius: 10px;
    font-size: 1rem;
    transition: var(--transition);
    background: var(--light-color);
}

.form-group input:focus, .form-group select:focus, .form-group textarea:focus {
    border-color: var(--primary-color);
    outline: none;
    box-shadow: 0 0 0 3px rgba(108, 99, 255, 0.1);
}

.checkbox-group {
    display: flex;
    align-items: center;
}

.checkbox-group input {
    width: auto;
    margin-right: 10px;
}

/* Footer */
.footer {
    background: var(--dark-color);
    color: var(--white);
    padding: 80px 0 20px;
}

.footer-main {
    display: grid;
    grid-template-columns: 2fr 3fr;
    gap: 50px;
    margin-bottom: 50px;
}

.footer-brand h3 {
    color: var(--white);
    margin-bottom: 20px;
}

.footer-brand p {
    color: #A5A5C7;
    margin-bottom: 30px;
}

.social-links {
    display: flex;
    gap: 15px;
}

.social-links a {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.social-links a:hover {
    background: var(--primary-color);
    transform: translateY(-3px);
}

.footer-links {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.link-group h4 {
    color: var(--white);
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 10px;
}

.link-group h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 30px;
    height: 2px;
    background: var(--primary-color);
}

.link-group ul {
    list-style: none;
}

.link-group ul li {
    margin-bottom: 10px;
}

.link-group ul li a {
    color: #A5A5C7;
    transition: var(--transition);
}

.link-group ul li a:hover {
    color: var(--white);
    padding-left: 5px;
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: #A5A5C7;
    font-size: 0.9rem;
}

/* Modal Styles */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(45, 43, 85, 0.8);
    z-index: 1100;
    overflow: auto;
    backdrop-filter: blur(5px);
}

.modal-content {
    background-color: var(--white);
    margin: 5% auto;
    width: 90%;
    max-width: 700px;
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.2);
    position: relative;
    animation: modalSlide 0.4s ease;
}

@keyframes modalSlide {
    from {opacity: 0; transform: translateY(-50px);}
    to {opacity: 1; transform: translateY(0);}
}

.close-modal {
    position: absolute;
    top: 20px;
    right: 25px;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--text-light);
    transition: var(--transition);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.close-modal:hover {
    color: var(--secondary-color);
    background: var(--light-color);
}

.modal-body {
    padding: 30px;
}

.modal h2 {
    color: var(--dark-color);
    padding: 30px 30px 0;
}

.confirmation-body {
    text-align: center;
    padding: 50px 30px;
}

.confirmation-body i {
    font-size: 4rem;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.confirmation-body h2 {
    margin-bottom: 15px;
    color: var(--dark-color);
}

.confirmation-body p {
    margin-bottom: 25px;
    color: var(--text-light);
}

/* Responsive Design */
@media (max-width: 992px) {
    .hero-container {
        flex-direction: column;
        text-align: center;
    }
    
    .features-container {
        grid-template-columns: 1fr;
    }
    
    .warranty-card {
        flex-direction: column;
        text-align: center;
    }
    
    .contact-container {
        grid-template-columns: 1fr;
    }
    
    .footer-main {
        grid-template-columns: 1fr;
    }
    
    .footer-links {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        top: 70px;
        left: -100%;
        width: 100%;
        background-color: var(--white);
        flex-direction: column;
        text-align: center;
        transition: var(--transition);
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
        padding: 30px 0;
        gap: 20px;
    }
    
    .nav-menu.active {
        left: 0;
    }
    
    .hamburger {
        display: flex;
    }
    
    .hamburger.active .bar:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }
    
    .hamburger.active .bar:nth-child(2) {
        opacity: 0;
    }
    
    .hamburger.active .bar:nth-child(3) {
        transform: rotate(-45deg) translate(7px, -6px);
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .tab-buttons {
        flex-direction: column;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .footer-links {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 576px) {
    h1 {
        font-size: 2.5rem;
    }
    
    h2 {
        font-size: 2rem;
    }
    
    .hero-visual {
        height: 300px;
    }
    
    .floating-card {
        padding: 15px;
    }
    
    .card-1, .card-2, .card-3 {
        width: 120px;
        height: 120px;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    .about-grid {
        grid-template-columns: 1fr;
    }
    
    .about-stats {
        grid-template-columns: 1fr 1fr;
    }
}