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

:root {
    --primary-dark: #1e3a4f;
    --primary-medium: #2C4A5C;
    --accent-teal: #4a9d9c;
    --accent-light: #6bb8b7;
    --bg-light: #f8f9fa;
    --text-dark: #1a1a1a;
    --text-light: #ffffff;
    --text-muted: #6c757d;
}

body {
    font-family: 'DM Sans', sans-serif;
    color: var(--text-dark);
    line-height: 1.6;
    overflow-x: hidden;
}

/* Hero Section with Pattern Background */
.hero {
    background: var(--primary-medium);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image:
        radial-gradient(circle at 15% 20%, rgba(74, 157, 156, 0.15) 0%, transparent 30%),
        radial-gradient(circle at 85% 70%, rgba(107, 184, 183, 0.1) 0%, transparent 35%);
    pointer-events: none;
}

/* Illustrated People Pattern */
.pattern-bg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    opacity: 0.08;
    background-image:
        url("data:image/svg+xml,%3Csvg width='200' height='200' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='%234a9d9c' opacity='0.6'%3E%3Ccircle cx='50' cy='40' r='25'/%3E%3Crect x='35' y='65' width='30' height='50' rx='5'/%3E%3Ccircle cx='150' cy='140' r='20'/%3E%3Crect x='140' y='160' width='20' height='35' rx='3'/%3E%3Cpath d='M 100 180 Q 100 170 110 175 T 120 180' fill='none' stroke='%236bb8b7' stroke-width='2'/%3E%3C/g%3E%3C/svg%3E");
    background-size: 400px 400px;
    animation: patternMove 60s linear infinite;
}

@keyframes patternMove {
    0% {
        background-position: 0 0;
    }

    100% {
        background-position: 400px 400px;
    }
}

/* Navigation */
nav {
    background: rgba(255, 255, 255, 0.98);
    padding: 1rem 2rem;
    position: sticky;
    top: 0;
    z-index: 100;
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.05);
    animation: navSlideDown 0.6s ease-out;
}

@keyframes navSlideDown {
    from {
        transform: translateY(-100%);
        opacity: 0;
    }

    to {
        transform: translateY(0);
        opacity: 1;
    }
}

nav ul {
    list-style: none;
    display: flex;
    justify-content: center;
    gap: 3rem;
    flex-wrap: wrap;
}

nav a {
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 500;
    font-size: 0.95rem;
    letter-spacing: 0.5px;
    position: relative;
    padding: 0.5rem 0;
    transition: color 0.3s ease;
}

nav a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--accent-teal);
    transition: width 0.3s ease;
}

nav a:hover {
    color: var(--accent-teal);
}

nav a:hover::after {
    width: 100%;
}

/* Hamburger Menu */
.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    padding: 0.5rem;
    z-index: 101;
    position: relative;
}

.hamburger span {
    width: 28px;
    height: 3px;
    background: var(--primary-dark);
    margin: 3px 0;
    transition: all 0.3s ease;
    border-radius: 2px;
}

.hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(8px, 8px);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -7px);
}

/* Hero Content */
.hero-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 4rem 2rem;
    position: relative;
    z-index: 2;
}

.logo-container {
    background: white;
    padding: 3rem 4rem;
    border-radius: 16px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.2);
    margin-bottom: 2rem;
    animation: logoFloat 0.8s ease-out;
}

@keyframes logoFloat {
    from {
        transform: translateY(-30px);
        opacity: 0;
    }

    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.logo {
    text-align: center;
}

.logo img {
    max-width: 400px;
    width: 100%;
    height: auto;
    display: block;
    margin: 0 auto;
    margin-bottom: 10px;
}

.tagline {
    color: var(--text-light);
    font-size: 1.5rem;
    text-align: center;
    max-width: 700px;
    font-weight: 400;
    line-height: 1.8;
    animation: fadeInUp 0.8s ease-out 0.3s both;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

@keyframes fadeInUp {
    from {
        transform: translateY(20px);
        opacity: 0;
    }

    to {
        transform: translateY(0);
        opacity: 1;
    }
}

/* Section Styling */
section {
    padding: 6rem 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

section:nth-child(even) {
    background: var(--bg-light);
}

h2 {
    font-family: 'Urbanist', sans-serif;
    font-size: 2.8rem;
    font-weight: 700;
    color: var(--primary-dark);
    margin-bottom: 2rem;
    position: relative;
    display: inline-block;
}

h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, var(--accent-teal), var(--accent-light));
    border-radius: 2px;
}

h3 {
    font-family: 'Urbanist', sans-serif;
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--primary-dark);
    margin-bottom: 1.5rem;
    margin-top: 3rem;
}

p {
    font-size: 1.1rem;
    line-height: 1.9;
    color: var(--text-dark);
    margin-bottom: 1.5rem;
}

.emphasis {
    font-weight: 600;
    color: var(--primary-dark);
}

/* Expertise Grid */
.expertise-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
    margin: 3rem 0;
}

.expertise-item {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    border-left: 4px solid var(--accent-teal);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.expertise-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.12);
}

.expertise-item::before {
    content: '▸';
    color: var(--accent-teal);
    font-weight: bold;
    margin-right: 0.5rem;
    font-size: 1.3rem;
}

/* Key Points */
.key-points {
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary-medium) 100%);
    padding: 3rem;
    border-radius: 16px;
    color: white;
    margin: 3rem 0;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
}

.key-points p {
    color: white;
    font-size: 1.15rem;
    line-height: 2;
}

.key-points .emphasis {
    color: var(--accent-light);
    font-weight: 700;
}

/* Bottom Line / CTA */
.cta-section {
    background: var(--bg-light);
    color: var(--text-dark);
    text-align: center;
    padding: 5rem 2rem;
}

.cta-section h2 {
    color: var(--primary-dark);
    font-size: 3rem;
    margin-bottom: 2rem;
}

.cta-section h2::after {
    background: var(--accent-teal);
    left: 50%;
    transform: translateX(-50%);
}

.cta-section p {
    color: var(--text-dark);
    font-size: 1.3rem;
    max-width: 800px;
    margin: 0 auto 3rem;
    line-height: 1.8;
}

.cta-button {
    display: inline-block;
    padding: 1.2rem 3rem;
    background: var(--accent-teal);
    color: white;
    text-decoration: none;
    font-weight: 700;
    font-size: 1.1rem;
    border-radius: 50px;
    transition: all 0.3s ease;
    box-shadow: 0 8px 25px rgba(74, 157, 156, 0.3);
    letter-spacing: 0.5px;
}

.cta-button:hover {
    background: var(--accent-light);
    transform: translateY(-3px);
    box-shadow: 0 12px 35px rgba(74, 157, 156, 0.4);
}

/* Scroll Animation */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInScroll 0.8s ease-out forwards;
}

@keyframes fadeInScroll {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Footer */
footer {
    background: var(--primary-dark);
    color: rgba(255, 255, 255, 0.8);
    text-align: center;
    padding: 2rem;
    font-size: 0.95rem;
}

footer p {
    margin: 0;
    color: rgba(255, 255, 255, 0.8);
}

footer a {
    color: var(--accent-light);
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease;
}

footer a:hover {
    color: white;
}

/* Header */
header {
    background: var(--primary-medium);
    padding: 2rem;
    text-align: center;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.logo {
    text-align: center;
}

.logo img {
    max-width: 300px;
    width: 100%;
    height: auto;
}

.back-link {
    display: inline-block;
    margin-top: 1rem;
    color: var(--text-light);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.back-link:hover {
    color: var(--accent-light);
}

/* Main Container */
.container {
    max-width: 800px;
    margin: 3rem auto;
    padding: 0 2rem;
}

.form-header {
    text-align: center;
    margin-bottom: 3rem;
}

.form-header h1 {
    font-family: 'Urbanist', sans-serif;
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-dark);
    margin-bottom: 1rem;
}

.form-header p {
    font-size: 1.1rem;
    color: var(--text-muted);
    max-width: 600px;
    margin: 0 auto;
}

/* Form Styling */
.contact-form {
    background: white;
    padding: 3rem;
    border-radius: 16px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
}

.form-group {
    margin-bottom: 2rem;
}

.form-group label {
    display: block;
    font-weight: 600;
    color: var(--primary-dark);
    margin-bottom: 0.5rem;
    font-size: 0.95rem;
}

.form-group label.required::after {
    content: ' *';
    color: var(--accent-teal);
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 1rem;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    font-family: 'DM Sans', sans-serif;
    font-size: 1rem;
    transition: all 0.3s ease;
    background: white;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--accent-teal);
    box-shadow: 0 0 0 3px rgba(74, 157, 156, 0.1);
}

.form-group textarea {
    min-height: 150px;
    resize: vertical;
}

/* Checkbox Group */
.checkbox-group {
    margin-bottom: 2rem;
}

.checkbox-group label {
    display: block;
    font-weight: 600;
    color: var(--primary-dark);
    margin-bottom: 1rem;
    font-size: 0.95rem;
}

.checkbox-item {
    display: flex;
    align-items: center;
    margin-bottom: 0.75rem;
}

.checkbox-item input[type="checkbox"] {
    width: 20px;
    height: 20px;
    margin-right: 0.75rem;
    cursor: pointer;
    accent-color: var(--accent-teal);
}

.checkbox-item label {
    margin-bottom: 0;
    font-weight: 400;
    cursor: pointer;
}

/* Submit Button */
.submit-btn {
    width: 100%;
    padding: 1.2rem;
    background: var(--accent-teal);
    color: white;
    border: none;
    border-radius: 50px;
    font-family: 'DM Sans', sans-serif;
    font-weight: 700;
    font-size: 1.1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 8px 25px rgba(74, 157, 156, 0.3);
    letter-spacing: 0.5px;
}

.submit-btn:hover {
    background: var(--accent-light);
    transform: translateY(-3px);
    box-shadow: 0 12px 35px rgba(74, 157, 156, 0.4);
}

.submit-btn:active {
    transform: translateY(-1px);
}

/* Success Message */
.success-message {
    display: none;
    background: linear-gradient(135deg, var(--accent-teal), var(--accent-light));
    color: white;
    padding: 2rem;
    border-radius: 12px;
    text-align: center;
    margin-top: 2rem;
}

.success-message.show {
    display: block;
    animation: slideIn 0.5s ease-out;
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.success-message h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

/* Footer */
footer {
    background: var(--primary-dark);
    color: rgba(255, 255, 255, 0.8);
    text-align: center;
    padding: 2rem;
    font-size: 0.95rem;
    margin-top: 4rem;
}

footer p {
    margin: 0;
    color: rgba(255, 255, 255, 0.8);
}

footer a {
    color: var(--accent-light);
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease;
}

footer a:hover {
    color: white;
}

/* Responsive */
@media (max-width: 768px) {
    .container {
        padding: 0 1.5rem;
    }

    .contact-form {
        padding: 2rem 1.5rem;
    }

    .form-header h1 {
        font-size: 2rem;
    }

    .logo img {
        max-width: 220px;
    }
}

/* Responsive */
@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }

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

    nav ul {
        position: fixed;
        top: 0;
        left: -100%;
        width: 70%;
        height: 100vh;
        background: rgba(255, 255, 255, 0.98);
        backdrop-filter: blur(10px);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 2rem;
        transition: left 0.4s ease;
        box-shadow: 5px 0 20px rgba(0, 0, 0, 0.1);
    }

    nav ul.active {
        left: 0;
    }

    nav a {
        font-size: 1.1rem;
    }

    .logo img {
        max-width: 280px;
    }

    .tagline {
        font-size: 1.2rem;
    }

    h2 {
        font-size: 2.2rem;
    }

    section {
        padding: 4rem 1.5rem;
    }

    .expertise-grid {
        grid-template-columns: 1fr;
    }
}