/* Base Styles */
:root {
    --primary-color: #2a2a72;
    --primary-dark: #1d1d50;
    --secondary-color: #009ffd;
    --accent-color: #ff7e5f;
    --text-dark: #333;
    --text-light: #777;
    --bg-light: #fafafa;
    --bg-white: #ffffff;
    --shadow: 0 10px 30px rgba(0,0,0,0.05);
    --border-radius: 4px;
    --max-width: 1140px;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Poppins', sans-serif;
    line-height: 1.7;
    color: var(--text-dark);
    background-color: var(--bg-light);
}

.container {
    width: 90%;
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 1rem;
}

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

a:hover {
    color: var(--primary-dark);
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;
}

h1 {
    font-size: 2.5rem;
}

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

h3 {
    font-size: 1.5rem;
}

p {
    margin-bottom: 1rem;
}

/* Header & Navigation */
header {
    background-color: var(--bg-white);
    box-shadow: var(--shadow);
    position: sticky;
    top: 0;
    z-index: 100;
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 0;
}

.logo {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
}

.nav-links {
    display: flex;
    list-style: none;
}

.nav-links li {
    margin-left: 2rem;
}

.nav-links a {
    color: var(--text-dark);
    font-weight: 500;
}

.nav-links a:hover {
    color: var(--primary-color);
}

/* Hero Section */
.hero {
    background: white;
    color: var(--text-dark);
    padding: 6rem 0;
    text-align: center;
    position: relative;
}

.hero::after {
    content: "";
    position: absolute;
    bottom: 0;
    right: 0;
    width: 60%;
    height: 80%;
    background-color: var(--primary-color);
    z-index: -1;
    border-top-left-radius: 100px;
}

.hero-content {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.hero h1 {
    font-size: 2.75rem;
    margin-bottom: 1.5rem;
}

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

.cta-button {
    display: inline-block;
    background-color: var(--accent-color);
    color: white;
    font-weight: 500;
    padding: 0.75rem 2rem;
    border-radius: 30px;
    letter-spacing: 0.5px;
    box-shadow: 0 4px 15px rgba(255, 126, 95, 0.3);
    transition: all 0.3s ease;
}

.cta-button:hover {
    background-color: #e86a47;
    box-shadow: 0 6px 20px rgba(255, 126, 95, 0.4);
    transform: translateY(-2px);
    color: white;
}

/* Services Section */
.services {
    padding: 5rem 0;
    background-color: var(--bg-white);
}

.service-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
}

.service-card {
    flex: 1 1 300px;
    background-color: var(--bg-white);
    border-left: 3px solid var(--accent-color);
    border-radius: 0;
    padding: 2rem;
    box-shadow: var(--shadow);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.1);
}

.service-card h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.service-card p {
    margin-bottom: 0;
    flex-grow: 1;
}

/* Approach Section */
.approach {
    padding: 6rem 0;
    background-color: var(--bg-light);
    position: relative;
    overflow: hidden;
}

.approach::before {
    content: "";
    position: absolute;
    top: -50px;
    left: -50px;
    width: 200px;
    height: 200px;
    border-radius: 50%;
    background-color: rgba(255, 126, 95, 0.08);
    z-index: 0;
}

.approach::after {
    content: "";
    position: absolute;
    bottom: -70px;
    right: -70px;
    width: 250px;
    height: 250px;
    border-radius: 50%;
    background-color: rgba(0, 159, 253, 0.06);
    z-index: 0;
}

.approach-content {
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
    position: relative;
    z-index: 1;
}

.approach-content p {
    font-size: 1.25rem;
    line-height: 1.8;
    color: var(--text-dark);
    margin-bottom: 0;
    padding: 0 1rem;
}

/* Contact Section */
.contact {
    padding: 5rem 0;
    background-color: var(--bg-white);
}

.contact-intro {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 3rem auto;
}

.contact-form {
    max-width: 700px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group.full-width {
    grid-column: span 2;
}

label {
    margin-bottom: 0.5rem;
    font-weight: 500;
    color: var(--text-dark);
}

input, select, textarea {
    padding: 0.85rem 1rem;
    border: 1px solid #e5e7eb;
    border-radius: var(--border-radius);
    font-family: inherit;
    font-size: 1rem;
    transition: all 0.3s ease;
    background-color: #f8f9fa;
}

input:focus, select:focus, textarea:focus {
    outline: none;
    border-color: var(--accent-color);
    box-shadow: 0 0 0 3px rgba(255, 126, 95, 0.1);
    background-color: white;
}

.submit-button {
    grid-column: span 2;
    background-color: var(--accent-color);
    color: white;
    border: none;
    border-radius: 30px;
    padding: 0.85rem 2rem;
    font-size: 1rem;
    font-weight: 500;
    letter-spacing: 0.5px;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(255, 126, 95, 0.3);
    transition: all 0.3s ease;
}

.submit-button:hover {
    background-color: #e86a47;
    box-shadow: 0 6px 20px rgba(255, 126, 95, 0.4);
    transform: translateY(-2px);
}

.form-success {
    text-align: center;
    background-color: #ecfdf5;
    border: 1px solid #10b981;
    border-radius: var(--border-radius);
    padding: 2rem;
    margin-top: 2rem;
}

.form-success h3 {
    color: #10b981;
}

.hidden {
    display: none;
}

/* Footer */
footer {
    background-color: var(--primary-color);
    color: white;
    padding: 3.5rem 0 2.5rem;
    position: relative;
    overflow: hidden;
}

footer::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: linear-gradient(90deg, var(--secondary-color), var(--accent-color));
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
    position: relative;
}

.footer-logo {
    font-size: 1.5rem;
    font-weight: 700;
}

.footer-links {
    display: flex;
    gap: 2rem;
}

.footer-links a {
    color: white;
    opacity: 0.8;
    transition: opacity 0.3s ease;
}

.footer-links a:hover {
    opacity: 1;
}

.copyright {
    text-align: center;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 2rem;
    font-size: 0.875rem;
    opacity: 0.6;
}

/* Responsive Styles */
@media (max-width: 768px) {
    h1 {
        font-size: 2rem;
    }
    
    h2 {
        font-size: 1.75rem;
    }
    
    .nav-links {
        display: none;
    }
    
    .service-grid {
        grid-template-columns: 1fr;
    }
    
    .contact-form {
        grid-template-columns: 1fr;
    }
    
    .form-group.full-width {
        grid-column: span 1;
    }
    
    .submit-button {
        grid-column: span 1;
    }
    
    .footer-content {
        flex-direction: column;
        gap: 1.5rem;
        text-align: center;
    }
}

/* Additional SEO Optimizations */
/* These styles help with Core Web Vitals and page performance */
img, video {
    max-width: 100%;
    height: auto;
}

/* Prevent layout shifts */
[class*="service-"], 
[class*="step-"],
.contact-form {
    contain: layout;
}