/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-purple: #9D4EDD;
    --dark-purple: #2D1B4E;
    --light-purple: #C77DFF;
    --white: #FFFFFF;
    --light-gray: #F8F9FA;
    --text-gray: #6C757D;
    --dark-text: #212529;
}

body {
    font-family: 'Poppins', sans-serif;
    line-height: 1.6;
    color: var(--dark-text);
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Navigation */
.navbar {
    background-color: var(--white);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    padding: 15px 0;
}

.nav-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo-img {
    height: 50px;
    width: auto;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 40px;
}

.nav-menu a {
    text-decoration: none;
    color: var(--dark-text);
    font-weight: 500;
    transition: color 0.3s ease;
    font-size: 16px;
}

.nav-menu a:hover,
.nav-menu a.active {
    color: var(--primary-purple);
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background-color: var(--dark-text);
    margin: 3px 0;
    transition: 0.3s;
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, var(--dark-purple) 0%, #5A189A 100%);
    color: var(--white);
    padding: 180px 0 120px;
    text-align: center;
    margin-top: 80px;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, transparent 0%, rgba(157, 78, 221, 0.1) 100%);
    transform: rotate(45deg);
}

.hero-content {
    position: relative;
    z-index: 1;
}

.hero-logo {
    width: 120px;
    height: 120px;
    margin-bottom: 30px;
    animation: fadeInDown 1s ease;
}

.hero-title {
    font-size: 48px;
    font-weight: 700;
    margin-bottom: 20px;
    line-height: 1.2;
    animation: fadeInUp 1s ease 0.2s both;
}

.hero-subtitle {
    font-size: 20px;
    font-weight: 300;
    margin-bottom: 40px;
    opacity: 0.9;
    animation: fadeInUp 1s ease 0.4s both;
}

/* Buttons */
.btn-primary,
.btn-secondary {
    display: inline-block;
    padding: 15px 40px;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    font-size: 16px;
}

.btn-primary {
    background-color: var(--primary-purple);
    color: var(--white);
    animation: fadeInUp 1s ease 0.6s both;
}

.btn-primary:hover {
    background-color: var(--light-purple);
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(157, 78, 221, 0.3);
}

.btn-secondary {
    background-color: var(--white);
    color: var(--primary-purple);
    border: 2px solid var(--primary-purple);
}

.btn-secondary:hover {
    background-color: var(--primary-purple);
    color: var(--white);
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(157, 78, 221, 0.3);
}

/* About Section */
.about-section {
    padding: 100px 0;
    background-color: var(--white);
}

.about-content {
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
}

.about-content h2 {
    font-size: 42px;
    color: var(--dark-purple);
    margin-bottom: 30px;
    font-weight: 700;
}

.about-content p {
    font-size: 18px;
    line-height: 1.8;
    color: var(--text-gray);
}

/* Services Section */
.services-section {
    padding: 100px 0;
    background-color: var(--light-gray);
}

.section-title {
    text-align: center;
    font-size: 42px;
    color: var(--dark-purple);
    margin-bottom: 60px;
    font-weight: 700;
}

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

.service-card {
    background-color: var(--white);
    padding: 40px 30px;
    border-radius: 15px;
    text-align: center;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 35px rgba(157, 78, 221, 0.2);
}

.service-icon {
    font-size: 60px;
    margin-bottom: 20px;
}

.service-card h3 {
    font-size: 24px;
    color: var(--dark-purple);
    margin-bottom: 15px;
    font-weight: 600;
}

.service-card p {
    font-size: 16px;
    color: var(--text-gray);
    line-height: 1.6;
}

/* CTA Section */
.cta-section {
    background: linear-gradient(135deg, var(--primary-purple) 0%, var(--light-purple) 100%);
    padding: 100px 0;
    text-align: center;
    color: var(--white);
}

.cta-section h2 {
    font-size: 36px;
    margin-bottom: 30px;
    font-weight: 600;
}

/* Footer */
.footer {
    background-color: var(--dark-purple);
    color: var(--white);
    padding: 60px 0 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-info h3,
.footer-links h3 {
    font-size: 20px;
    margin-bottom: 20px;
    color: var(--light-purple);
}

.footer-info p {
    line-height: 1.8;
    opacity: 0.9;
}

.footer-info a {
    color: var(--light-purple);
    text-decoration: none;
}

.footer-links ul {
    list-style: none;
}

.footer-links ul li {
    margin-bottom: 10px;
}

.footer-links ul li a {
    color: var(--white);
    text-decoration: none;
    opacity: 0.8;
    transition: opacity 0.3s ease;
}

.footer-links ul li a:hover {
    opacity: 1;
    color: var(--light-purple);
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    opacity: 0.8;
}

/* Contact Page Styles */
.contact-hero {
    background: linear-gradient(135deg, var(--dark-purple) 0%, #5A189A 100%);
    color: var(--white);
    padding: 150px 0 80px;
    text-align: center;
    margin-top: 80px;
}

.contact-hero h1 {
    font-size: 48px;
    margin-bottom: 20px;
}

.contact-content {
    padding: 80px 0;
}

.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: start;
}

.contact-form {
    background-color: var(--white);
    padding: 40px;
    border-radius: 15px;
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.1);
}

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

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: var(--dark-purple);
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid #E9ECEF;
    border-radius: 8px;
    font-size: 16px;
    font-family: 'Poppins', sans-serif;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-purple);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.contact-info {
    padding: 40px;
}

.contact-info h2 {
    color: var(--dark-purple);
    font-size: 32px;
    margin-bottom: 30px;
}

.info-item {
    margin-bottom: 25px;
}

.info-item h3 {
    color: var(--primary-purple);
    font-size: 18px;
    margin-bottom: 10px;
}

.info-item p,
.info-item a {
    color: var(--text-gray);
    font-size: 16px;
    text-decoration: none;
}

.info-item a:hover {
    color: var(--primary-purple);
}

/* Animations */
@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

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

/* Responsive Design */
@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }

    .nav-menu {
        position: fixed;
        left: -100%;
        top: 80px;
        flex-direction: column;
        background-color: var(--white);
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: 0 10px 27px rgba(0, 0, 0, 0.05);
        padding: 20px 0;
    }

    .nav-menu.active {
        left: 0;
    }

    .hero-title {
        font-size: 32px;
    }

    .hero-subtitle {
        font-size: 16px;
    }

    .section-title {
        font-size: 32px;
    }

    .contact-wrapper {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 28px;
    }

    .about-content h2,
    .section-title {
        font-size: 28px;
    }
}
