/* General Styles */
:root {
    --primary-color: #0077cc;
    --secondary-color: #00bfff;
    --accent-color: #4facfe;
    --text-color-dark: #333;
    --text-color-light: #fff;
    --background-light: #f8f9fa;
    --background-dark: #e9ecef;
    --heading-font: 'Poppins', sans-serif;
    --body-font: 'Open Sans', sans-serif;
}

body {
    font-family: var(--body-font);
    color: var(--text-color-dark);
    line-height: 1.6;
    margin: 0;
    padding: 0;
    background-color: var(--text-color-light);
    scroll-behavior: smooth;
}

h1, h2, h3 {
    font-family: var(--heading-font);
    color: var(--text-color-dark);
    margin-bottom: 1rem;
}

h1 {
    font-size: 3rem;
    line-height: 1.2;
}

h2 {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 2rem;
}

h3 {
    font-size: 1.5rem;
}

p {
    margin-bottom: 1rem;
}

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

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

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

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

.section-subtitle {
    text-align: center;
    color: #666;
    font-size: 1.1rem;
    margin-bottom: 40px;
}

.btn {
    display: inline-block;
    padding: 12px 25px;
    border-radius: 5px;
    font-weight: bold;
    transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
    margin-right: 15px;
    text-transform: uppercase;
    font-size: 0.9rem;
}

.btn-primary {
    background-color: var(--primary-color);
    color: var(--text-color-light);
    border: 2px solid var(--primary-color);
}

.btn-primary:hover {
    background-color: var(--secondary-color);
    border-color: var(--secondary-color);
    color: var(--text-color-light);
}

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

.btn-secondary:hover {
    background-color: var(--primary-color);
    color: var(--text-color-light);
}

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

/* Header & Navigation */
header {
    background-color: var(--text-color-light);
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
    padding: 15px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.8rem;
    font-weight: bold;
    color: var(--primary-color);
    font-family: var(--heading-font);
}

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

nav ul li {
    margin-left: 30px;
}

nav ul li a {
    font-weight: bold;
    font-size: 1.1rem;
    color: var(--text-color-dark);
    transition: color 0.3s ease;
}

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

/* Hero Section */
#hero {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 80vh;
    background-color: var(--primary-color);
    color: var(--text-color-light);
    padding: 80px 0;
    overflow: hidden;
    position: relative;
}

.hero-content {
    flex: 1;
    padding-right: 40px;
}

.hero-content h1 {
    font-size: 4rem;
    margin-bottom: 1.5rem;
    color: var(--text-color-light);
}

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

.hero-content .cta-buttons {
    display: flex;
    margin-top: 30px;
}

.hero-visual {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    height: 100%;
}

.hero-svg {
    width: 100%;
    height: 100%;
    max-width: 600px;
    opacity: 0.8;
}

/* Services Section */
#services h2 {
    color: var(--text-color-dark);
}

.service-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.card {
    background-color: var(--text-color-light);
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    text-align: center;
}

.card:hover {
    transform: translateY(-10px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}

.card h3 {
    margin-bottom: 15px;
    color: var(--primary-color);
}

/* About Section */
#about .about-content {
    display: flex;
    align-items: center;
    gap: 40px;
}

.about-text {
    flex: 1;
}

.about-text h2 {
    text-align: left;
}

.about-visual {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
}

.about-svg {
    width: 100%;
    height: auto;
    max-width: 400px;
    opacity: 0.7;
}

/* Contact Section */
#contact {
    background-color: var(--background-light);
}

#contact h2 {
    color: var(--text-color-dark);
}

.contact-wrapper {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
    justify-content: center;
}

.contact-form-container {
    flex: 1;
    min-width: 350px;
    background-color: var(--text-color-light);
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
}

.contact-info {
    flex: 1;
    min-width: 300px;
    padding-top: 10px;
}

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

.contact-info p {
    margin-bottom: 15px;
    font-size: 1.1rem;
}

.contact-info a {
    font-weight: bold;
}

.contact-info .btn-secondary {
    margin-top: 15px;
}

.small-text {
    font-size: 0.9rem;
    color: #666;
    margin-top: 20px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: bold;
}

.form-group input[type="text"],
.form-group input[type="email"],
.form-group input[type="tel"],
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #ccc;
    border-radius: 5px;
    font-size: 1rem;
    box-sizing: border-box;
    font-family: var(--body-font);
}

.form-group textarea {
    resize: vertical;
}

#contactForm button[type="submit"] {
    width: 100%;
    padding: 15px;
    font-size: 1.1rem;
}

/* Footer */
footer {
    background-color: var(--text-color-dark);
    color: var(--text-color-light);
    padding: 30px 0;
    text-align: center;
    font-size: 0.9rem;
}

footer nav ul {
    margin-top: 15px;
    justify-content: center;
}

footer nav ul li {
    margin: 0 15px;
}

footer nav ul li a {
    color: var(--text-color-light);
    opacity: 0.8;
}

footer nav ul li a:hover {
    opacity: 1;
}

/* Responsive Styles */
@media (max-width: 992px) {
    h1 {
        font-size: 3rem;
    }

    h2 {
        font-size: 2rem;
    }

    #hero {
        flex-direction: column;
        text-align: center;
        min-height: auto;
        padding: 60px 0;
    }

    .hero-content {
        padding-right: 0;
        margin-bottom: 40px;
    }

    .hero-content .cta-buttons {
        justify-content: center;
    }

    .hero-visual {
        width: 80%;
        max-width: 400px;
        margin: 0 auto;
    }

    #about .about-content {
        flex-direction: column;
        text-align: center;
    }

    .about-text {
        margin-bottom: 30px;
    }

    .about-visual {
        width: 80%;
        max-width: 300px;
    }

    .contact-wrapper {
        flex-direction: column;
        gap: 30px;
    }

    .contact-form-container, .contact-info {
        min-width: unset;
        width: 100%;
    }
}

@media (max-width: 768px) {
    nav ul {
        display: none;
    }

    .hero-content h1 {
        font-size: 2.5rem;
    }

    .hero-content p {
        font-size: 1.1rem;
    }

    .btn {
        padding: 10px 20px;
        font-size: 0.85rem;
    }

    .section-padding {
        padding: 60px 0;
    }

    .card {
        padding: 20px;
    }
}