* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #a855f7;
    --secondary-color: #9333ea;
    --accent-color: #c084fc;
    --purple-dark: #0a0118;
    --purple-medium: #1a0f2e;
    --purple-light: #2d1b4e;
    --text-dark: #0a0a1a;
    --text-body: #ffffff;
    --text-light: #a8a8b8;
    --bg-dark: #0a0118;
    --bg-medium: #1a0f2e;
    --bg-light: #2d1b4e;
    --white: #ffffff;
    --gradient-purple: linear-gradient(135deg, #a855f7, #ec4899);
    --gradient-button: linear-gradient(135deg, #a855f7, #c084fc);
    --gradient-main: linear-gradient(135deg, #6366f1, #a855f7);
}

body {
    font-family: -apple-system, system-ui, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    line-height: 1.6;
    color: var(--text-body);
    font-size: 16px;
    background: var(--bg-dark);
    background-image: url('images/bg_pattern.png');
    background-repeat: repeat;
    background-size: auto;
}

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

/* Header & Navigation */
header {
    background: var(--bg-dark);
    box-shadow: 0 2px 10px rgba(0,0,0,0.3);
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid rgba(168, 85, 247, 0.2);
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0;
}

.logo {
    font-size: 1.5rem;
    font-weight: bold;
    color: var(--primary-color);
    display: flex;
    align-items: center;
    text-decoration: none;
    transition: opacity 0.3s;
}

.logo:hover {
    opacity: 0.8;
}

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

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
    align-items: center;
}

.nav-menu a {
    text-decoration: none;
    color: var(--white);
    font-weight: 500;
    transition: color 0.3s;
}

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

.dropdown {
    position: relative;
}

.dropdown-content {
    display: none;
    position: absolute;
    background: var(--bg-medium);
    min-width: 220px;
    box-shadow: 0 8px 16px rgba(0,0,0,0.3);
    border-radius: 0;
    top: 100%;
    left: 0;
    padding-top: 0.5rem;
    margin-top: 0;
    border: 1px solid rgba(168, 85, 247, 0.2);
}

.dropdown:hover .dropdown-content,
.dropdown-content:hover {
    display: block;
}

.dropdown-content a {
    display: block;
    padding: 12px 20px;
    color: var(--white);
}

.dropdown-content a:hover {
    background: var(--bg-dark);
    color: var(--accent-color);
}

.cta-button {
    background: var(--gradient-button);
    color: var(--white);
    padding: 0.75rem 1.5rem;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s;
    box-shadow: 0 4px 15px rgba(168, 85, 247, 0.4);
}

.cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(168, 85, 247, 0.6);
}

/* Hero Section */
.hero {
    position: relative;
    color: var(--white);
    padding: 100px 0;
    text-align: center;
    overflow: hidden;
}

.hero-video-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -1;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.85), rgba(168, 85, 247, 0.85));
    z-index: -1;
}

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

/* Service Hero Section */
.service-hero {
    position: relative;
    color: var(--white);
    padding: 100px 0;
    text-align: center;
    overflow: hidden;
}

.service-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.85), rgba(168, 85, 247, 0.85));
    z-index: 1;
}

.service-hero > * {
    position: relative;
    z-index: 2;
}

.service-hero video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
}

.hero h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
    font-weight: 700;
}

.hero p {
    font-size: 1.3rem;
    margin-bottom: 2rem;
}

.hero-stats {
    display: flex;
    justify-content: center;
    gap: 3rem;
    margin-top: 3rem;
}

.stat-item {
    text-align: center;
}

.stat-number {
    font-size: 2.5rem;
    font-weight: bold;
    white-space: nowrap;
    overflow: visible;
    min-width: auto;
}

.stat-label {
    font-size: 1rem;
    opacity: 0.9;
}

/* Section Styles */
section {
    padding: 80px 0;
}

.about-section {
    padding: 80px 0;
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: var(--white);
    font-weight: 700;
}

.section-subtitle {
    text-align: center;
    font-size: 1.1rem;
    color: var(--text-light);
    margin-bottom: 3rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.bg-light {
    background: var(--bg-medium);
}

/* Services Grid */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
    margin-top: 3rem;
}

.service-card {
    background: var(--bg-light);
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.3);
    transition: transform 0.3s, box-shadow 0.3s;
    border: 1px solid rgba(168, 85, 247, 0.2);
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 30px rgba(168, 85, 247, 0.4);
    border-color: var(--primary-color);
}

.service-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
    color: var(--primary-color);
}

.service-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--white);
    font-weight: 700;
}

.service-card p {
    color: var(--text-light);
    margin-bottom: 1.5rem;
}

.explore-link {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.explore-link:hover {
    color: var(--secondary-color);
    transform: translateX(5px);
}

/* Process Steps */
.process-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin-top: 3rem;
}

.step {
    text-align: center;
    padding: 2rem;
}

.step-number {
    width: 60px;
    height: 60px;
    background: var(--primary-color);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: bold;
    margin: 0 auto 1rem;
}

.step h3 {
    margin-bottom: 0.5rem;
    color: var(--white);
}

.step p {
    color: var(--text-light);
}

/* Stats Section */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
    margin-top: 3rem;
    text-align: center;
}

.stat-box {
    padding: 2rem;
}

.stat-box .number {
    font-size: 3rem;
    font-weight: bold;
    color: var(--primary-color);
}

.stat-box .label {
    font-size: 1.1rem;
    color: var(--text-light);
}

/* Blog Grid */
.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
    margin-top: 3rem;
}

.blog-card {
    background: var(--bg-light);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.3);
    transition: transform 0.3s, box-shadow 0.3s;
    border: 1px solid rgba(168, 85, 247, 0.2);
}

.blog-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(168, 85, 247, 0.4);
    border-color: var(--primary-color);
}

.blog-image {
    width: 100%;
    height: 200px;
    background: var(--gradient-main);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
}

.blog-content {
    padding: 1.5rem;
}

.blog-card h3 {
    margin-bottom: 0.5rem;
    color: var(--white);
}

.blog-card p {
    color: var(--text-light);
    margin-bottom: 1rem;
}

/* Contact Section */
.contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 3rem;
    margin-top: 3rem;
}

.contact-info {
    background: var(--bg-light);
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.3);
    border: 1px solid rgba(168, 85, 247, 0.2);
}

.contact-info h3 {
    margin-bottom: 1rem;
    color: var(--primary-color);
}

.contact-item {
    margin-bottom: 1rem;
    display: flex;
    align-items: start;
    gap: 1rem;
    color: var(--text-light);
}

.contact-item strong {
    color: var(--white);
    display: block;
    margin-bottom: 0.25rem;
}

.contact-icon {
    font-size: 1.5rem;
    color: var(--primary-color);
}

.contact-form {
    background: var(--bg-light);
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.3);
    border: 1px solid rgba(168, 85, 247, 0.2);
}

.contact-form h3 {
    color: var(--primary-color);
    margin-bottom: 1.5rem;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
    color: var(--white);
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid rgba(168, 85, 247, 0.3);
    border-radius: 4px;
    font-family: inherit;
    background: var(--bg-dark);
    color: var(--white);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(168, 85, 247, 0.1);
}

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

.submit-button {
    background: var(--gradient-button);
    color: var(--white);
    padding: 1rem 2rem;
    border: none;
    border-radius: 25px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    box-shadow: 0 4px 15px rgba(168, 85, 247, 0.4);
}

.submit-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(168, 85, 247, 0.6);
}

/* Footer */
footer {
    background: var(--bg-medium);
    color: var(--white);
    padding: 3rem 0 1rem;
    border-top: 1px solid rgba(168, 85, 247, 0.2);
}

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

.footer-section h3 {
    margin-bottom: 1rem;
}

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

.footer-section ul li {
    margin-bottom: 0.5rem;
}

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

.footer-section a:hover {
    opacity: 1;
}

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

/* Responsive Design */
/* Hamburger Menu */
.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 6px;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background: var(--white);
    border-radius: 3px;
    transition: all 0.3s;
}

.hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(10px, 10px);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -7px);
}

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

    .nav-menu {
        position: absolute;
        top: 70px;
        left: 0;
        right: 0;
        background: var(--bg-dark);
        flex-direction: column;
        gap: 0;
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease;
        border-bottom: 1px solid rgba(168, 85, 247, 0.2);
    }

    .nav-menu.active {
        max-height: 500px;
    }

    .nav-menu li {
        padding: 0;
    }

    .nav-menu a {
        display: block;
        padding: 15px 20px;
        border-bottom: 1px solid rgba(168, 85, 247, 0.1);
    }

    .nav-menu .cta-button {
        margin: 10px 20px;
        display: inline-block;
    }

    .dropdown-content {
        position: static;
        display: none;
        box-shadow: none;
        border: none;
        background: rgba(26, 15, 46, 0.8);
        padding: 0;
        margin-top: 0;
    }

    .dropdown.active .dropdown-content {
        display: block;
    }

    .dropdown-content a {
        padding: 10px 20px 10px 40px;
        font-size: 0.9rem;
    }

    .hero h1 {
        font-size: 2rem;
    }

    .hero p {
        font-size: 1rem;
    }

    .hero-stats {
        flex-direction: column;
        gap: 1.5rem;
    }

    .section-title {
        font-size: 2rem;
    }

    .services-grid,
    .process-steps,
    .stats-grid,
    .blog-grid,
    .contact-grid {
        grid-template-columns: 1fr;
    }
}

/* About Page Specific */
.about-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 3rem;
    margin-top: 3rem;
    align-items: center;
}

.about-image {
    width: 100%;
}

.about-image img {
    width: 100%;
    height: auto;
    display: block;
}

.about-text {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--text-light);
}

.about-text h3 {
    color: var(--white);
    margin-bottom: 1rem;
}

.vision-mission {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.vm-card {
    background: var(--bg-light);
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.3);
    border: 1px solid rgba(168, 85, 247, 0.2);
}

.vm-card h3 {
    color: var(--primary-color);
    font-size: 1.8rem;
    margin-bottom: 1rem;
}

.vm-card p {
    color: var(--text-light);
}

/* Service Detail Page */
.service-detail {
    padding: 80px 0;
}

.service-hero {
    background: var(--gradient-main);
    background-image: linear-gradient(135deg, rgba(99, 102, 241, 0.95), rgba(168, 85, 247, 0.95)), url('images/bg__img3.png');
    background-size: cover;
    background-position: center;
    color: var(--white);
    padding: 60px 0;
    text-align: center;
}

.service-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.feature-item {
    padding: 1.5rem;
    background: var(--bg-light);
    border-radius: 8px;
    border: 1px solid rgba(168, 85, 247, 0.2);
}

.feature-item h4 {
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.feature-item p {
    color: var(--text-light);
}

/* Additional Styles */
h1, h2, h3, h4, h5, h6 {
    color: var(--white);
}

a {
    color: var(--primary-color);
}

select {
    background: var(--bg-dark);
    color: var(--white);
    border: 1px solid rgba(168, 85, 247, 0.3);
}

select:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(168, 85, 247, 0.1);
}

/* Glowing effects */
.service-card:hover,
.blog-card:hover {
    box-shadow: 0 10px 40px rgba(168, 85, 247, 0.5);
}
