/* Global Styles */
:root {
    --primary-color: #4a6fa5;
    --secondary-color: #334a71;
    --accent-color: #e17b77;
    --text-color: #333333;
    --light-color: #f8f9fa;
    --light-gray: #e9ecef;
    --medium-gray: #dee2e6;
    --dark-gray: #adb5bd;
    --font-main: 'Poppins', 'Inter', sans-serif;
    --font-heading: 'Montserrat', sans-serif;
    --shadow: 0 2px 15px rgba(0, 0, 0, 0.1);
}

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

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

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    margin-bottom: 1rem;
    font-weight: 600;
    color: var(--secondary-color);
}

a {
    color: var(--primary-color);
    text-decoration: none;
    transition: all 0.3s ease;
}

a:hover {
    color: var(--secondary-color);
}

p {
    margin-bottom: 1rem;
}

img {
    max-width: 100%;
    height: auto;
}

.btn {
    display: inline-block;
    padding: 10px 20px;
    background-color: var(--primary-color);
    color: white;
    border-radius: 4px;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    font-size: 16px;
}

.btn:hover {
    background-color: var(--secondary-color);
    color: white;
}

/* Header Styles */
header {
    padding: 1.5rem 0;
    background-color: white;
    box-shadow: var(--shadow);
    position: sticky;
    top: 0;
    z-index: 1000;
}

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

.logo h1 {
    font-size: 1.8rem;
    margin-bottom: 0;
}

.subtitle {
    font-size: 1rem;
    color: var(--dark-gray);
    margin-bottom: 0;
}

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

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

nav ul li a {
    font-weight: 500;
}

/* Hero Section */
.hero {
    padding: 6rem 0;
    background-color: var(--primary-color);
    color: white;
    text-align: center;
    margin-bottom: 4rem;
}

.hero h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: white;
}

.hero p {
    font-size: 1.2rem;
    max-width: 600px;
    margin: 0 auto;
}

/* Section Styles */
.section {
    padding: 4rem 0;
    border-bottom: 1px solid var(--light-gray);
}

.section h2 {
    text-align: center;
    margin-bottom: 2.5rem;
}

/* Services Styles */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.service-card {
    background-color: white;
    border-radius: 8px;
    padding: 2rem;
    box-shadow: var(--shadow);
    transition: transform 0.3s ease;
}

.service-card:hover {
    transform: translateY(-5px);
}

.service-card h3 {
    color: var(--primary-color);
}

/* Projects Styles */
.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.project-card {
    background-color: white;
    border-radius: 8px;
    padding: 2rem;
    box-shadow: var(--shadow);
}

.project-card h3 {
    color: var(--primary-color);
}

.project-card .btn {
    margin-top: 1rem;
}

/* Contact Styles */
.contact-info {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.contact-detail {
    background-color: white;
    border-radius: 8px;
    padding: 2rem;
    box-shadow: var(--shadow);
}

.contact-detail h3 {
    color: var(--primary-color);
}

/* Footer Styles */
footer {
    background-color: white;
    padding: 3rem 0 1.5rem;
}

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

.footer-section h3 {
    font-size: 1.2rem;
}

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

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

.social-links {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
}

.copyright {
    text-align: center;
    padding-top: 1.5rem;
    border-top: 1px solid var(--light-gray);
    color: var(--dark-gray);
}

/* Responsive Design */
@media (max-width: 768px) {
    nav ul {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background-color: white;
        padding: 1rem 0;
        box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
    }

    nav ul.active {
        display: flex;
    }

    nav ul li {
        margin: 0;
        padding: 0.5rem 2rem;
    }

    .hamburger {
        display: block;
        cursor: pointer;
    }

    .hero {
        padding: 4rem 0;
    }

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

/* Additional page styles */
.privacy-page, .terms-page {
    padding: 2rem 0;
}

.privacy-page h1, .terms-page h1 {
    margin-bottom: 2rem;
}

.privacy-page h2, .terms-page h2 {
    margin: 2rem 0 1rem;
}

.privacy-page p, .terms-page p {
    margin-bottom: 1rem;
}

.privacy-page ul, .terms-page ul {
    margin-left: 2rem;
    margin-bottom: 1rem;
}
