:root {
    --primary-color: #6A5ACD; /* Slate Blue */
    --background-color: #121212;
    --surface-color: #1E1E1E;
    --text-color: #E0E0E0;
    --text-color-dark: #A0A0A0;
    --font-family: 'Poppins', sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-family);
    background-color: var(--background-color);
    color: var(--text-color);
    line-height: 1.7;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
}

/* --- Header & Navigation --- */
header {
    background-color: rgba(18, 18, 18, 0.8);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px); /* For Safari */
    position: sticky;
    top: 0;
    z-index: 100;
    border-bottom: 1px solid #2a2a2a;
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.2rem 0;
}

.logo {
    font-size: 1.8rem;
    font-weight: 700;
    color: white;
    text-decoration: none;
}

.nav-links {
    list-style: none;
    display: flex;
    align-items: center;
    gap: 2.5rem;
}

.nav-links a {
    text-decoration: none;
    color: var(--text-color);
    font-weight: 600;
    transition: color 0.3s ease;
}

.nav-links a:hover {
    color: var(--primary-color);
}

.nav-cta {
    padding: 0.6rem 1.2rem;
    border: 2px solid var(--primary-color);
    border-radius: 5px;
    transition: all 0.3s ease;
}

.nav-cta:hover {
    background-color: var(--primary-color);
    color: white;
}

/* --- Hero Section --- */
.hero {
    min-height: 90vh;
    display: flex;
    align-items: center;
}

.hero-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
}

.hero-text {
    max-width: 50%;
}

.hero-text h1 {
    font-size: 3.5rem;
    line-height: 1.2;
    margin-bottom: 1.5rem;
    color: white;
}

.hero-text p {
    font-size: 1.1rem;
    margin-bottom: 2.5rem;
    color: var(--text-color-dark);
}

.hero-image img {
    max-width: 100%;
    border-radius: 15px;
    animation: float 6s ease-in-out infinite;
}

@keyframes float {
    0% { transform: translateY(0); }
    50% { transform: translateY(-20px); }
    100% { transform: translateY(0); }
}

.cta-button {
    background-color: var(--primary-color);
    color: white;
    padding: 0.9rem 2.2rem;
    border-radius: 5px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.3s ease;
    display: inline-block;
    border: none;
    cursor: pointer;
}

.cta-button:hover {
    background-color: #5a4baf;
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(106, 90, 205, 0.3);
}

/* --- General Section Styling --- */
section {
    padding: 6rem 0;
}

.section-title {
    text-align: center;
    font-size: 2.8rem;
    margin-bottom: 3rem;
    color: white;
}

/* --- Services Section (Glassmorphism) --- */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.service-card {
    background: rgba(30, 30, 30, 0.5);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px); /* For Safari */
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 2rem;
    border-radius: 15px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.service-card:hover {
    transform: translateY(-10px);
    border-color: rgba(106, 90, 205, 0.5);
}

.service-card h3 {
    font-size: 1.5rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.service-card p {
    font-size: 1rem;
    color: var(--text-color);
}

.service-card sup a {
    color: var(--text-color-dark);
    text-decoration: none;
    font-size: 0.8rem;
}

.service-card sup a:hover {
    color: var(--primary-color);
}

/* --- Why Us Section --- */
.why-us-section {
    background-color: var(--surface-color);
}

.why-us-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.feature-card {
    text-align: center;
    padding: 2rem;
}

.feature-card h4 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: white;
}

/* --- Testimonials Section --- */
.testimonial-slider {
    max-width: 800px;
    margin: 0 auto;
    background: var(--surface-color);
    padding: 3rem;
    border-radius: 15px;
    position: relative;
    overflow: hidden;
    min-height: 250px;
}

.slide {
    display: none;
    text-align: center;
}

.slide.active {
    display: block;
}

.slide p {
    font-size: 1.2rem;
    font-style: italic;
    margin-bottom: 1.5rem;
}

.slide h4 {
    font-weight: 600;
    color: var(--primary-color);
}

.slider-nav {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 1rem;
}

.slider-nav button {
    background: none;
    border: 1px solid var(--text-color-dark);
    color: var(--text-color-dark);
    font-size: 1.5rem;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s ease;
}

.slider-nav button:hover {
    background: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
}

/* --- Contact Section --- */
.contact-section {
    background-color: var(--surface-color);
}

.contact-subtitle {
    text-align: center;
    max-width: 500px;
    margin: 0 auto 3rem auto;
    color: var(--text-color-dark);
}

.contact-info {
    text-align: center;
    margin-bottom: 2rem;
}

.contact-info p {
    margin: 0.5rem 0;
    color: var(--text-color);
}

.contact-info a {
    color: var(--primary-color);
    text-decoration: none;
}

.contact-info a:hover {
    text-decoration: underline;
}

.contact-form {
    max-width: 700px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 1rem;
    border: 1px solid #333;
    border-radius: 5px;
    font-family: var(--font-family);
    font-size: 1rem;
    background-color: #2a2a2a;
    color: var(--text-color);
    transition: border-color 0.3s ease;
}

.contact-form input:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: var(--primary-color);
}

/* --- Footer --- */
footer {
    text-align: center;
    padding: 3rem 0;
    border-top: 1px solid #2a2a2a;
}

.social-links {
    margin-top: 1rem;
    display: flex;
    justify-content: center;
    gap: 1.5rem;
}

.social-links a {
    color: var(--text-color);
    font-size: 1.5rem;
    transition: color 0.3s ease;
}

.social-links a:hover {
    color: var(--primary-color);
}

/* --- Scroll Animations --- */
.hidden {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.visible {
    opacity: 1;
    transform: translateY(0);
}

/* --- Hamburger Menu --- */
.hamburger {
    display: none;
    font-size: 2rem;
    background: none;
    border: none;
    color: var(--text-color);
    cursor: pointer;
}

@media (max-width: 768px) {
    .hamburger {
        display: block;
    }
    .nav-links {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 70px;
        left: 0;
        width: 100%;
        background-color: var(--background-color);
        padding: 1rem;
        z-index: 99;
    }
    .nav-links.active {
        display: flex;
    }
    .nav-links li {
        margin: 0.5rem 0;
    }
    .section-title {
        font-size: 2.2rem;
    }
}

@media (max-width: 992px) {
    .hero-content {
        flex-direction: column;
        text-align: center;
    }
    .hero-text {
        max-width: 100%;
    }
    .hero-image {
        margin-top: 3rem;
    }
    .hero-text h1 {
        font-size: 2.8rem;
    }
    .why-us-grid {
        grid-template-columns: 1fr;
    }
}