/* Reset and Base Styles */
:root {
    --primary-color: #3B82F6; /* Blue */
    --secondary-color: #10B981; /* Green */
    --neutral-light: #F9FAFB; /* Light Gray */
    --neutral-medium: #E5E7EB; /* Medium Gray */
    --neutral-dark: #374151; /* Dark Gray */
    --text-color: #1F2937; /* Darker Gray for text */
    --white: #FFFFFF;
    --font-family: 'Inter', sans-serif;
}

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

body {
    font-family: var(--font-family);
    color: var(--text-color);
    line-height: 1.6;
    background-color: var(--white);
}

html {
    scroll-behavior: smooth;
}

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

/* Header */
header {
    background-color: var(--white);
    padding: 1rem 0;
    border-bottom: 1px solid var(--neutral-medium);
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--primary-color); 
    text-decoration: none;
    letter-spacing: -0.5px;
}

nav ul {
    list-style: none;
    display: flex;
}

nav ul li {
    margin-left: 1.5rem;
}

nav ul li a {
    text-decoration: none;
    color: var(--neutral-dark);
    font-weight: 600;
    transition: color 0.3s ease;
}

nav ul li a:hover {
    color: var(--primary-color); 
}

/* Buttons */
.cta-button {
    padding: 0.75rem 1.5rem;
    border: none;
    border-radius: 6px;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.2s ease, border-color 0.3s ease, color 0.3s ease; 
    font-size: 1rem;
}

.cta-button.primary {
    background-color: var(--primary-color);
    color: var(--white);
}

.cta-button.primary:hover {
    background-color: #2563EB; 
    transform: translateY(-2px);
}

.cta-button.secondary {
    background-color: transparent;
    color: var(--secondary-color);
    border: 2px solid var(--secondary-color);
}

.cta-button.secondary:hover {
    background-color: rgba(16, 185, 129, 0.1); 
     transform: translateY(-2px);
     color: var(--secondary-color); 
}

.cta-button.large {
    padding: 1rem 2rem;
    font-size: 1.1rem;
}

/* Hero Section */
#hero {
    background-color: var(--neutral-light);
    padding: 6rem 0;
    text-align: center;
}

#hero h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
    color: var(--text-color);
    font-weight: 700;
}

#hero p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    color: var(--neutral-dark);
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

#hero .cta-button {
    margin: 0 0.5rem;
}


/* Services Section */
#services {
    padding: 4rem 0;
}

#services h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: var(--text-color);
}

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

.service-card {
    background-color: var(--white);
    padding: 2rem;
    border-radius: 8px;
    border: 1px solid var(--neutral-medium);
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.08);
}

.service-card .icon {
    width: 50px;
    height: 50px;
    color: var(--secondary-color); 
    margin-bottom: 1rem;
}

.service-card h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    color: var(--text-color);
}

.service-card p {
    color: var(--neutral-dark);
}

/* About Section */
#about {
    padding: 4rem 0;
}

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

#about h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    color: var(--text-color);
}

#about p {
    text-align: center;
    max-width: 700px;
    margin: 0 auto;
    font-size: 1.1rem;
     color: var(--neutral-dark);
}

/* Further Details Section */
#further-details {
    padding: 4rem 0;
    text-align: center; 
}

#further-details h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: var(--text-color);
}

#further-details p {
    text-align: center;
    margin-bottom: 2rem;
    color: var(--neutral-dark);
    max-width: 600px; 
    margin-left: auto;
    margin-right: auto;
}

#further-details .cta-button {
    display: inline-block; 
    text-decoration: none; 
}

/* Footer */
footer {
    background-color: var(--neutral-dark);
    color: var(--neutral-light);
    text-align: center;
    padding: 1.5rem 0;
    margin-top: 3rem;
}

/* Responsive Design */
@media (max-width: 768px) {
    header .container {
        flex-direction: column;
        align-items: flex-start;
    }

    .logo { 
         margin-bottom: 1rem;
         align-self: center;
    }

    nav {
        margin-top: 0; 
        width: 100%;
    }

    nav ul {
        justify-content: space-around;
        padding-left: 0;
    }

     nav ul li {
        margin-left: 0;
    }

    #hero h1 {
        font-size: 2.5rem;
    }

    #hero p {
        font-size: 1.1rem;
    }

    #hero .cta-button {
         display: block;
         margin: 1rem auto;
         width: fit-content;
    }

    #services h2, #about h2, #further-details h2 {
        font-size: 2rem;
    }
}

@media (max-width: 480px) {
     nav ul {
        flex-direction: column;
        align-items: center;
    }
     nav ul li {
        margin-bottom: 0.5rem;
    }

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

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