/* Global Styles */
:root {
    --bg-primary: #ffffff;
    --bg-secondary: #f8fafc;
    --text-primary: #333;
    --text-secondary: #64748b;
    --accent-color: #2563eb;
    --accent-color-hover: #1d4ed8;
    --border-color: rgba(0,0,0,0.1);
    --card-bg: #ffffff;
    --slider-btn-bg: rgba(255, 255, 255, 0.2);
    --slider-btn-hover: rgba(255, 255, 255, 0.3);
    --slider-dot-bg: rgba(255, 255, 255, 0.5);
    --slider-dot-active: #ffffff;
    --text-white: #ffffff;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #ffffff;
    transition: background-color 0.3s ease, color 0.3s ease;
}

/* Navigation */
header {
    background: #fff;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    position: fixed;
    width: 100%;
    z-index: 1000;
}

.theme-toggle {
    background: none;
    border: none;
    color: #333;
    cursor: pointer;
    font-size: 1.2rem;
    padding: 0.5rem;
    margin-left: 1rem;
    transition: color 0.3s ease;
}

.theme-toggle:hover {
    color: #2563eb;
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 5%;
    max-width: 1200px;
    margin: 0 auto;
}

.logo {
    display: flex;
    align-items: center;
}

.logo-image {
    height: 40px;
    width: auto;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.logo-image.shake {
    animation: moveLeftRight 0.5s ease-in-out;
}

@keyframes moveLeftRight {
    0% { transform: translateX(0); }
    25% { transform: translateX(-5px); }
    50% { transform: translateX(5px); }
    75% { transform: translateX(-5px); }
    100% { transform: translateX(0); }
}

.logo-image:hover {
    transform: scale(1.05);
}

.nav-links {
    display: flex;
    list-style: none;
}

.nav-links li a {
    text-decoration: none;
    color: #333;
    padding: 0.5rem 1rem;
    transition: all 0.3s ease;
    position: relative;
    transform-style: preserve-3d;
}

.nav-links li a::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: #2563eb;
    transform: scaleX(0) translateZ(-5px);
    transition: transform 0.3s ease;
}

.nav-links li a:hover::before {
    transform: scaleX(1) translateZ(-5px);
}

.nav-links li a:hover {
    color: #2563eb;
    transform: translateZ(10px);
}

.menu-toggle {
    display: none;
    cursor: pointer;
}

/* Hero Section */
.hero {
    height: 100vh;
    position: relative;
    overflow: hidden;
}

.slider-container {
    width: 100%;
    height: 100%;
    position: relative;
}

.slider {
    width: 100%;
    height: 100%;
    position: relative;
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.8s ease-in-out;
}

.slide.active {
    opacity: 1;
}

.slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.slide-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    color: #ffffff;
    z-index: 1;
    width: 80%;
    max-width: 800px;
}

.slide::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.4));
}

.slide-content h1 {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.8s ease-out 0.5s;
}

.slide-content p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.8s ease-out 0.7s;
}

.slide.active .slide-content h1,
.slide.active .slide-content p {
    opacity: 1;
    transform: translateY(0);
}

.slider-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.2);
    color: #ffffff;
    width: 50px;
    height: 50px;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    backdrop-filter: blur(5px);
    transition: all 0.3s ease;
    z-index: 2;
}

.slider-btn:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: translateY(-50%) scale(1.1);
}

.prev-btn {
    left: 20px;
}

.next-btn {
    right: 20px;
}

.slider-dots {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 2;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: all 0.3s ease;
}

.dot.active {
    background: #ffffff;
    transform: scale(1.2);
}

/* Services Section */
.services {
    padding: 5rem 2rem;
    background: #f8fafc;
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-header h2 {
    font-size: 2.5rem;
    color: #333;
    margin-bottom: 1rem;
}

.section-header p {
    color: #64748b;
    font-size: 1.1rem;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    padding: 2rem 0;
    max-width: 1200px;
    margin: 0 auto;
}

@media (max-width: 768px) {
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 480px) {
    .services-grid {
        grid-template-columns: 1fr;
    }
}

.service-card {
    background: #fff;
    border-radius: 8px;
    padding: 1.5rem;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    text-align: center;
    max-width: 300px;
    margin: 0 auto;
}

.service-card i {
    font-size: 2rem;
    color: #2563eb;
    margin-bottom: 1rem;
}

.service-card h3 {
    font-size: 1.2rem;
    margin-bottom: 0.8rem;
    color: #1f2937;
}

.service-card p {
    font-size: 0.9rem;
    color: #4b5563;
    margin-bottom: 1rem;
    line-height: 1.4;
}

.feature-list {
    list-style: none;
    padding: 0;
    margin: 0 0 1.5rem 0;
    text-align: left;
    width: 100%;
}

.feature-list li {
    color: #64748b;
    padding: 0.5rem 0;
    position: relative;
    padding-left: 1.5rem;
}

.feature-list li::before {
    content: '•';
    color: #2563eb;
    position: absolute;
    left: 0;
    font-size: 1.2rem;
}

.learn-more {
    background: #2563eb;
    color: #ffffff;
    border: none;
    padding: 0.8rem 1.5rem;
    border-radius: 0.5rem;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.3s ease;
    margin-top: auto;
    text-decoration: none;
    display: inline-block;
}

.learn-more:hover {
    background: #1d4ed8;
}

@media (max-width: 768px) {
    .services {
        padding: 3rem 1rem;
    }

    .section-header h2 {
        font-size: 2rem;
    }

    .service-card {
        padding: 1.5rem;
    }
}

/* About Section */
.about {
    padding: 8rem 1rem;
    background: #ffffff;
    position: relative;
    overflow: hidden;
}

.about::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, rgba(37, 99, 235, 0.05) 0%, transparent 100%);
    transform: rotate(-45deg);
    z-index: 1;
}

.about-header {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 3rem;
    position: relative;
    z-index: 2;
}

.about h2 {
    font-size: 2.8rem;
    color: #333;
    margin-bottom: 1rem;
    font-weight: 700;
    letter-spacing: -1px;
}

.about-subtitle {
    font-size: 1.8rem;
    color: #64748b;
    margin-bottom: 2rem;
    font-weight: 600;
}

.about-slider-container {
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
    overflow: hidden;
}

.about-slider {
    display: flex;
    transition: transform 0.5s ease;
}

.about-slide {
    min-width: 100%;
    padding: 0 2rem;
}

.about-slide-content {
    display: flex;
    align-items: center;
    gap: 4rem;
    background: #fff;
    border-radius: 20px;
    padding: 3rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.about-image {
    flex: 1;
    border-radius: 10px;
    overflow: hidden;
}

.about-image img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    border-radius: 10px;
    transition: transform 0.3s ease;
}

.about-image img:hover {
    transform: scale(1.05);
}

.about-text {
    flex: 1;
}

.about-text h3 {
    font-size: 2rem;
    color: #333;
    margin-bottom: 1.5rem;
}

.about-text p {
    color: #64748b;
    line-height: 1.8;
    font-size: 1.1rem;
}

.about-slider-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(37, 99, 235, 0.1);
    color: #2563eb;
    width: 50px;
    height: 50px;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    transition: all 0.3s ease;
    z-index: 2;
}

.about-slider-btn:hover {
    background: rgba(37, 99, 235, 0.2);
    transform: translateY(-50%) scale(1.1);
}

.about-prev-btn {
    left: 20px;
}

.about-next-btn {
    right: 20px;
}

.about-slider-dots {
    position: absolute;
    bottom: -30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 2;
}

.about-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(37, 99, 235, 0.2);
    cursor: pointer;
    transition: all 0.3s ease;
}

.about-dot.active {
    background: #2563eb;
    transform: scale(1.2);
}

@media (max-width: 992px) {
    .about-slide-content {
        flex-direction: column;
        gap: 2rem;
        padding: 2rem;
    }

    .about-image img {
        height: 300px;
    }
}

@media (max-width: 768px) {
    .about {
        padding: 6rem 1rem;
    }

    .about h2 {
        font-size: 2.2rem;
    }

    .about-subtitle {
        font-size: 1.4rem;
    }

    .about-text h3 {
        font-size: 1.8rem;
    }

    .about-slider-btn {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }
}

/* Contact Section */
.contact {
    padding: 8rem 1rem;
    background: linear-gradient(135deg, #f8fafc 0%, #ffffff 100%);
    position: relative;
}

.contact-header {
    text-align: center;
    max-width: 600px;
    margin: 0 auto 3rem;
}

.contact h2 {
    font-size: 2.8rem;
    color: #333;
    margin-bottom: 1rem;
    font-weight: 700;
    letter-spacing: -1px;
}

.contact-subtitle {
    font-size: 1.2rem;
    color: #64748b;
    margin-bottom: 2rem;
}

.contact-form {
    max-width: 600px;
    margin: 0 auto;
    background: #ffffff;
    padding: 3rem;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    border: 1px solid rgba(0,0,0,0.1);
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    color: #333;
    margin-bottom: 0.5rem;
    font-weight: 500;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 1rem;
    border: 1px solid rgba(0,0,0,0.1);
    border-radius: 10px;
    font-family: inherit;
    font-size: 1rem;
    color: #333;
    transition: all 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #2563eb;
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

.form-group textarea {
    height: 150px;
    resize: vertical;
}

.submit-btn {
    display: block;
    width: fit-content;
    margin: 0 auto;
    padding: 1rem 2rem;
    background: #2563eb;
    color: #ffffff;
    border: none;
    border-radius: 10px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.submit-btn:hover {
    background: #1d4ed8;
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(37, 99, 235, 0.2);
}

@media (max-width: 768px) {
    .contact {
        padding: 4rem 1rem;
    }

    .contact h2 {
        font-size: 2.2rem;
    }

    .contact-form {
        padding: 2rem;
    }
}

/* Footer */
footer {
    background: #1e293b;
    color: #fff;
    padding: 2rem 1rem;
    text-align: center;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
}

.footer-content p {
    color: #cbd5e1;
    font-size: 0.9rem;
}

@media (max-width: 768px) {
    footer {
        padding: 1.5rem 1rem;
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .menu-toggle {
        display: block;
    }

    .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: #fff;
        flex-direction: column;
        text-align: center;
        padding: 1rem 0;
    }

    .nav-links.active {
        display: flex;
    }

    .slider-btn {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }

    .slide-content h1 {
        font-size: 2.5rem;
    }

    .slide-content p {
        font-size: 1rem;
    }
}
