/* ===== RESET & BASE STYLES ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-bg: #e2f1f0;
    --accent-blue: #1e4d92;
    --accent-orange: #ff7b00;
    --title-purple: #3b2e5a;
    --text-gray: #2e2e2e;
    --white: #ffffff;
    --light-gray: #f8f9fa;
    --shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    --border-radius: 12px;
    --transition: all 0.3s ease;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--text-gray);
    background: var(--primary-bg);
    overflow-x: hidden;
    padding-top: 5rem;
    max-width: 100%;
}

html {
    overflow-x: hidden;
    max-width: 100%;
}

/* ===== TYPOGRAPHY ===== */
h1, h2, h3, h4, h5, h6 {
    color: var(--title-purple);
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;
}

h1 {
    font-size: 3rem;
    background: linear-gradient(135deg, var(--title-purple), var(--accent-blue));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

h2 {
    font-size: 2.5rem;
}

h3 {
    font-size: 2rem;
}

p {
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

/* ===== ANIMATIONS ===== */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.animate-fadeInUp {
    animation: fadeInUp 0.8s ease-out;
}

.animate-fadeIn {
    animation: fadeIn 1s ease-out;
}

.animate-slideInLeft {
    animation: slideInLeft 0.8s ease-out;
}

.animate-slideInRight {
    animation: slideInRight 0.8s ease-out;
}

/* ===== HEADER ===== */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    box-shadow: var(--shadow);
    padding: 1rem 0;
    transition: var(--transition);
}

.header-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 2rem;
}

.logo {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--accent-blue);
    text-decoration: none;
    transition: var(--transition);
}

.logo:hover {
    color: var(--accent-orange);
}

.nav {
    display: flex;
    gap: 2rem;
    align-items: center;
}

.nav-link {
    color: var(--text-gray);
    text-decoration: none;
    font-weight: 500;
    transition: var(--transition);
    padding: 0.5rem 1rem;
    border-radius: var(--border-radius);
}

.nav-link:hover {
    color: var(--accent-blue);
    background: rgba(30, 77, 146, 0.1);
}

.cta-button {
    background: linear-gradient(135deg, var(--accent-blue), var(--accent-orange));
    color: var(--white);
    padding: 0.75rem 1.5rem;
    border-radius: var(--border-radius);
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition);
    border: none;
    cursor: pointer;
    font-size: 1rem;
}

.cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(30, 77, 146, 0.3);
}

/* ===== MAIN CONTENT ===== */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    width: 100%;
    box-sizing: border-box;
}

* {
    box-sizing: border-box;
}

img {
    max-width: 100%;
    height: auto;
}

.section {
    padding: 4rem 0;
    position: relative;
}

.section:nth-child(odd) {
    background: var(--primary-bg);
}

.section:nth-child(even) {
    background: var(--white);
}

.section-title {
    text-align: center;
    margin-bottom: 3rem;
    position: relative;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 4px;
    background: linear-gradient(135deg, var(--accent-blue), var(--accent-orange));
    border-radius: 2px;
}

/* ===== HERO SECTION ===== */
.hero {
    background: linear-gradient(135deg, var(--primary-bg) 0%, rgba(30, 77, 146, 0.1) 100%);
    padding: 6rem 0;
    min-height: 80vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg width="60" height="60" viewBox="0 0 60 60" xmlns="http://www.w3.org/2000/svg"><defs><pattern id="grid" width="60" height="60" patternUnits="userSpaceOnUse"><path d="m 60 0 l 0 60 l -60 0 l 0 -60 z" fill="none" stroke="%23ffffff" stroke-width="1" opacity="0.1"/></pattern></defs><rect width="100%" height="100%" fill="url(%23grid)"/></svg>');
    opacity: 0.5;
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    position: relative;
    z-index: 1;
}

.hero-text {
    animation: slideInLeft 1s ease-out;
    position: relative;
    z-index: 1;
}

.hero-text h1 {
    margin-top: 0;
    line-height: 1.2;
    padding-top: 1rem;
}

.hero-form {
    background: var(--white);
    padding: 2rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    animation: slideInRight 1s ease-out;
    max-width: 100%;
    box-sizing: border-box;
}

/* ===== FORMS ===== */
.form-group {
    margin-bottom: 1.5rem;
}

.form-label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: var(--title-purple);
}

.form-input {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 2px solid #e1e5e9;
    border-radius: var(--border-radius);
    font-size: 1rem;
    transition: var(--transition);
    background: var(--white);
    box-sizing: border-box;
    max-width: 100%;
}

.form-input:focus {
    outline: none;
    border-color: var(--accent-blue);
    box-shadow: 0 0 0 3px rgba(30, 77, 146, 0.1);
}

.form-select {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 2px solid #e1e5e9;
    border-radius: var(--border-radius);
    font-size: 1rem;
    transition: var(--transition);
    background: var(--white);
    cursor: pointer;
    box-sizing: border-box;
    max-width: 100%;
}

.form-select:focus {
    outline: none;
    border-color: var(--accent-blue);
    box-shadow: 0 0 0 3px rgba(30, 77, 146, 0.1);
}

.checkbox-group {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.checkbox-group input[type="checkbox"] {
    margin-top: 0.25rem;
    transform: scale(1.2);
}

.checkbox-group label {
    font-size: 0.9rem;
    line-height: 1.4;
}

/* ===== CARDS ===== */
.cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.card {
    background: var(--white);
    padding: 2rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    text-align: center;
    transition: var(--transition);
    border: 1px solid rgba(30, 77, 146, 0.1);
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
}

.card-icon {
    width: 60px;
    height: 60px;
    margin: 0 auto 1rem;
    background: linear-gradient(135deg, var(--accent-blue), var(--accent-orange));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    color: var(--white);
}

.card-title {
    font-size: 1.25rem;
    margin-bottom: 1rem;
    color: var(--title-purple);
}

/* ===== STEPS ===== */
.steps-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.step {
    text-align: center;
    padding: 2rem;
    position: relative;
}

.step-number {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--accent-blue), var(--accent-orange));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--white);
    margin: 0 auto 1rem;
}

.step-title {
    font-size: 1.25rem;
    margin-bottom: 1rem;
    color: var(--title-purple);
}

/* ===== TESTIMONIALS ===== */
.testimonials-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.testimonial {
    background: var(--white);
    padding: 2rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    position: relative;
    border-left: 4px solid var(--accent-blue);
}

.testimonial::before {
    content: '"';
    position: absolute;
    top: -10px;
    left: 20px;
    font-size: 4rem;
    color: var(--accent-blue);
    opacity: 0.3;
}

.testimonial-text {
    font-style: italic;
    margin-bottom: 1rem;
    color: var(--text-gray);
}

.testimonial-author {
    font-weight: 600;
    color: var(--title-purple);
}

/* ===== FAQ ===== */
.faq-container {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background: var(--white);
    border-radius: var(--border-radius);
    margin-bottom: 1rem;
    box-shadow: var(--shadow);
    overflow: hidden;
}

.faq-question {
    padding: 1.5rem 2rem;
    background: linear-gradient(135deg, var(--accent-blue), var(--accent-orange));
    color: var(--white);
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: var(--transition);
}

.faq-question:hover {
    background: linear-gradient(135deg, var(--accent-orange), var(--accent-blue));
}

.faq-answer {
    padding: 1.5rem 2rem;
    color: var(--text-gray);
    line-height: 1.6;
}

/* ===== FOOTER ===== */
.footer {
    background: var(--title-purple);
    color: var(--white);
    padding: 3rem 0 1rem;
    margin-top: 4rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section h3 {
    color: var(--white);
    margin-bottom: 1rem;
}

.footer-section p,
.footer-section a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: var(--transition);
}

.footer-section a:hover {
    color: var(--accent-orange);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.6);
}

/* ===== COOKIE POPUP ===== */
.cookie-popup {
    position: fixed;
    bottom: 20px;
    left: 20px;
    right: 20px;
    background: var(--white);
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    padding: 1.5rem;
    z-index: 10000;
    opacity: 0;
    transform: translateY(100px);
    transition: var(--transition);
    max-width: 500px;
    margin: 0 auto;
}

.cookie-popup.show {
    opacity: 1;
    transform: translateY(0);
}

.cookie-popup-content {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.cookie-popup-text {
    font-size: 0.9rem;
    color: var(--text-gray);
}

.cookie-popup-buttons {
    display: flex;
    gap: 1rem;
}

.cookie-button {
    padding: 0.75rem 1.5rem;
    border: none;
    border-radius: var(--border-radius);
    cursor: pointer;
    font-weight: 600;
    transition: var(--transition);
}

.cookie-accept {
    background: linear-gradient(135deg, var(--accent-blue), var(--accent-orange));
    color: var(--white);
}

.cookie-decline {
    background: #e9ecef;
    color: var(--text-gray);
}

.cookie-button:hover {
    transform: translateY(-2px);
}

/* ===== RESPONSIVE DESIGN ===== */
@media (max-width: 768px) {
    body {
        padding-top: 4rem;
    }
    
    .header {
        padding: 0.5rem 0;
    }
    
    .header-container {
        padding: 0 1rem;
        flex-direction: column;
        gap: 1rem;
    }
    
    .logo {
        font-size: 1.1rem;
    }
    
    .nav {
        flex-direction: row;
        justify-content: center;
        flex-wrap: wrap;
        gap: 0.5rem;
    }
    
    .nav-link {
        font-size: 0.9rem;
        padding: 0.4rem 0.8rem;
    }
    
    .cta-button {
        padding: 0.6rem 1.2rem;
        font-size: 0.9rem;
    }
    
    .container {
        padding: 0 1rem;
        width: 100%;
        min-width: 0;
    }
    
    .section {
        padding: 2rem 0;
    }
    
    .hero {
        padding: 3rem 0 2rem 0;
        min-height: 60vh;
    }
    
    .hero-content {
        grid-template-columns: 1fr;
        gap: 2rem;
        padding-top: 1rem;
    }
    
    .hero-text h1:first-child {
        margin-top: 0.5rem;
        padding-top: 1rem;
    }
    
    h1 {
        font-size: 2rem;
    }
    
    .hero-text {
        margin-top: 1rem;
    }
    
    .hero-text h1 {
        margin-top: 0;
        padding-top: 0;
    }
    
    h2 {
        font-size: 1.75rem;
    }
    
    h3 {
        font-size: 1.5rem;
    }
    
    .cards-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .steps-container {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .testimonials-container {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .hero-form {
        padding: 1.5rem;
        margin-top: 1rem;
    }
    
    .form-group {
        margin-bottom: 1.25rem;
    }
    
    .form-label {
        font-size: 0.9rem;
        margin-bottom: 0.4rem;
    }
    
    .form-input,
    .form-select {
        padding: 0.7rem;
        font-size: 0.95rem;
    }
    
    .checkbox-group {
        margin-bottom: 1rem;
    }
    
    .checkbox-group label {
        font-size: 0.85rem;
    }
    
    /* Contact Section Mobile */
    .contact-grid > div:first-child h3 {
        font-size: 1.3rem;
        margin-bottom: 1rem;
    }
    
    .contact-grid > div:first-child p {
        font-size: 0.9rem;
        margin-bottom: 1.5rem;
    }
    
    .contact-grid > div:first-child img {
        margin-bottom: 1.5rem;
    }
}

@media (max-width: 480px) {
    body {
        padding-top: 3.5rem;
    }
    
    .header {
        padding: 0.3rem 0;
    }
    
    .header-container {
        padding: 0 0.5rem;
        gap: 0.5rem;
        flex-direction: column;
    }
    
    .logo {
        font-size: 1rem;
    }
    
    .nav {
        flex-direction: row;
        justify-content: center;
        flex-wrap: wrap;
        gap: 0.3rem;
        width: 100%;
    }
    
    .nav-link {
        font-size: 0.8rem;
        padding: 0.3rem 0.5rem;
        white-space: nowrap;
    }
    
    .cta-button {
        padding: 0.5rem 1rem;
        font-size: 0.8rem;
    }
    
    .hero {
        padding: 2.5rem 0 1.5rem 0;
    }
    
    .section {
        padding: 1.5rem 0;
    }
    
    .hero-content {
        padding-top: 1.5rem;
    }
    
    .hero-text {
        margin-top: 1.5rem;
    }
    
    .hero-text h1 {
        margin-top: 0;
        padding-top: 0;
    }
    
    .hero-text h1:first-child {
        margin-top: 1rem;
        padding-top: 1.5rem;
    }
    
    .hero-form,
    .card,
    .testimonial {
        padding: 1.5rem;
    }
    
    /* Ensure no horizontal overflow */
    .hero-form * {
        box-sizing: border-box;
    }
    
    .form-input,
    .form-select {
        width: 100%;
        min-width: 0;
    }
    
    .cookie-popup {
        left: 10px;
        right: 10px;
        bottom: 10px;
        padding: 1rem;
    }
    
    .cookie-popup-buttons {
        flex-direction: column;
    }
    
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .hero-form {
        padding: 1.2rem;
        margin-top: 1rem;
    }
    
    .form-group {
        margin-bottom: 1rem;
    }
    
    .form-label {
        font-size: 0.85rem;
        margin-bottom: 0.3rem;
    }
    
    .form-input,
    .form-select {
        padding: 0.6rem;
        font-size: 0.9rem;
    }
    
    .checkbox-group {
        margin-bottom: 0.8rem;
    }
    
    .checkbox-group label {
        font-size: 0.8rem;
        line-height: 1.3;
    }
    
    .cta-button.w-full {
        padding: 0.8rem 1rem;
        font-size: 0.9rem;
    }
    
    /* Contact Section Mobile Small */
    .contact-grid > div:first-child h3 {
        font-size: 1.2rem;
        margin-bottom: 0.8rem;
    }
    
    .contact-grid > div:first-child p {
        font-size: 0.85rem;
        margin-bottom: 1.2rem;
    }
    
    .contact-grid > div:first-child img {
        margin-bottom: 1.2rem;
    }
    
    /* Contact info styling */
    .contact-grid [itemscope] p {
        font-size: 0.8rem;
        margin-bottom: 0.8rem;
    }
    
    .contact-grid [itemscope] strong {
        font-size: 0.8rem;
    }
    
    /* Additional mobile optimizations */
    .contact-grid a {
        word-break: break-word;
    }
    
    .contact-grid span[itemprop="address"] {
        font-size: 0.8rem;
        line-height: 1.4;
    }
    
    .container {
        padding: 0 0.5rem;
        width: 100%;
        min-width: 0;
    }
}

/* ===== CONTACT GRID ===== */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: start;
}

/* ===== ANCHOR OFFSET ===== */
html {
    scroll-padding-top: 6rem;
}

section[id] {
    scroll-margin-top: 6rem;
}

@media (max-width: 768px) {
    html {
        scroll-padding-top: 5rem;
    }
    
    section[id] {
        scroll-margin-top: 5rem;
    }
}

@media (max-width: 480px) {
    html {
        scroll-padding-top: 4.5rem;
    }
    
    section[id] {
        scroll-margin-top: 4.5rem;
    }
}

/* ===== UTILITIES ===== */
.text-center {
    text-align: center;
}

.text-left {
    text-align: left;
}

.text-right {
    text-align: right;
}

.mb-1 {
    margin-bottom: 0.5rem;
}

.mb-2 {
    margin-bottom: 1rem;
}

.mb-3 {
    margin-bottom: 1.5rem;
}

.mb-4 {
    margin-bottom: 2rem;
}

.mt-1 {
    margin-top: 0.5rem;
}

.mt-2 {
    margin-top: 1rem;
}

.mt-3 {
    margin-top: 1.5rem;
}

.mt-4 {
    margin-top: 2rem;
}

.hidden {
    display: none;
}

.visible {
    display: block;
}

.flex {
    display: flex;
}

.grid {
    display: grid;
}

.items-center {
    align-items: center;
}

.justify-center {
    justify-content: center;
}

.gap-1 {
    gap: 0.5rem;
}

.gap-2 {
    gap: 1rem;
}

.gap-3 {
    gap: 1.5rem;
}

.gap-4 {
    gap: 2rem;
}

.w-full {
    width: 100%;
}

.h-full {
    height: 100%;
}

.rounded {
    border-radius: var(--border-radius);
}

.shadow {
    box-shadow: var(--shadow);
}

.transition {
    transition: var(--transition);
}

.hover-lift:hover {
    transform: translateY(-3px);
}

.gradient-bg {
    background: linear-gradient(135deg, var(--accent-blue), var(--accent-orange));
}

.gradient-text {
    background: linear-gradient(135deg, var(--accent-blue), var(--accent-orange));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
} 