/* General Styles */
:root {
    --primary: #382D5E;      /* Deep purple - main brand color */
    --secondary: #C84449;    /* Vibrant red - accent color */
    --tertiary: #E37F7C;     /* Soft coral - complementary color */
    --light: #F5F5F7;        /* Light gray - for backgrounds */
    --dark: #2A2438;         /* Darker purple - for text on light backgrounds */
    --white: #FFFFFF;        /* White - for text on dark backgrounds */
    --light-purple: #5D4D8C; /* Lighter purple - for hover states */
    --light-red: #D76D71;    /* Lighter red - for hover states */
}

body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    color: var(--dark);
    background-color: var(--light);
}

/* Navbar */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: #eeeefc;  /* White background option */
    color: var(--white);
    padding: 10px 20px;
    position: sticky;
    top: 0;
    z-index: 1000;
}

.navbar .logo {
    font-size: 24px;
    font-weight: bold;
    color: var(--white);
    display: flex;
    align-items: center;
    gap: 10px; /* Space between logo and title */
}
.navbar .logo img {
    height: 100%;
    width: 15%;
}
.navbar .logo-title {
    font-size: 24px;
    font-weight: bold;
    color: var(--dark);
}

.navbar .nav-links {
    list-style: none;
    display: flex;
    margin: 0;
    padding: 0;
}

.navbar .nav-links li {
    margin-left: 20px;
}

.navbar .nav-links a {
    color: var(--dark);
    text-decoration: none;
    font-size: 18px;
    transition: color 0.3s ease;
}

.navbar .nav-links a:hover {
    color: var(--tertiary);
}

/* Hero Section */
.hero {
    background: linear-gradient(rgba(56, 45, 94, 0.8), rgba(56, 45, 94, 0.8)), url('hero-bg.jpg') no-repeat center center/cover;
    color: var(--white);
    text-align: center;
    padding: 100px 20px;
}

.hero h1 {
    font-size: 48px;
    margin-bottom: 20px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.hero p {
    font-size: 24px;
    margin-bottom: 40px;
}

.hero .cta-button {
    background-color: var(--secondary);
    color: var(--white);
    padding: 12px 25px;
    text-decoration: none;
    border-radius: 5px;
    font-size: 18px;
    font-weight: bold;
    transition: background-color 0.3s ease;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.hero .cta-button:hover {
    background-color: var(--light-red);
    transform: translateY(-2px);
}

/* About Us Section */
.about {
    padding: 80px 20px;
    text-align: center;
    background: linear-gradient(135deg, var(--light), #F0EFF5);
}

.about-container {
    max-width: 800px;
    margin: 0 auto;
}

.about h2 {
    font-size: 36px;
    margin-bottom: 20px;
    color: var(--primary);
}

.about-description {
    font-size: 18px;
    line-height: 1.6;
    color: var(--dark);
    margin-bottom: 20px;
}

/* Services Section */
.services {
    padding: 50px 20px;
    text-align: center;
    background-color: var(--white);
}

.services h2 {
    font-size: 36px;
    margin-bottom: 40px;
    color: var(--primary);
}

.service-cards {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    gap: 20px;
}

.card {
    background-color: var(--light);
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    width: 300px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card:hover {
    transform: translateY(-10px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
}

.card-image img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.card-content {
    padding: 20px;
    text-align: left;
}

.card-content h3 {
    font-size: 24px;
    margin-bottom: 10px;
    color: var(--primary);
}

.card-content p {
    font-size: 16px;
    color: var(--dark);
    line-height: 1.5;
}

/* Technologies Section */
.technologies {
    padding: 50px 20px;
    text-align: center;
    background-color: var(--light);
}

.technologies h2 {
    font-size: 36px;
    margin-bottom: 40px;
    color: var(--primary);
}

.tech-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
    max-width: 1000px;
    margin: 0 auto;
}

.tech-item {
    background-color: var(--white);
    padding: 20px 30px;
    border-radius: 10px;
    font-size: 20px;
    font-weight: bold;
    color: var(--primary);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    border-bottom: 4px solid var(--tertiary);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    min-width: 140px;
}

.tech-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
    border-bottom-color: var(--secondary);
}


/* Footer */
footer {
    background-color: var(--primary);
    color: var(--white);
    text-align: center;
    padding: 50px 20px;
}

footer h2 {
    font-size: 36px;
    margin-bottom: 20px;
}

.social-links {
    margin-bottom: 20px;
}

.social-links a {
    color: var(--white);
    font-size: 24px;
    margin: 0 10px;
    transition: color 0.3s ease;
}

.social-links a:hover {
    color: var(--tertiary);
}

footer p {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.8);
}

/* Responsive Design */
@media (max-width: 768px) {
    .navbar .nav-links {
        display: none;
    }

    .hero h1 {
        font-size: 36px;
    }

    .hero p {
        font-size: 18px;
    }

    .service-cards {
        flex-direction: column;
        align-items: center;
    }

    .card {
        width: 80%;
    }
}