/* 
   domain.com Stylesheet
   Color Palette:
   - Lemon Quartz: #E9F310
   - Deep Ultramarine: #1400A0
   - Indigo Metal: #4D426D
   - Gel Turquoise: #00FFE0
   - Matte Charcoal: #1A1A1A
   - Eggshell: #F9F7F0
*/

/* ===== Reset & Base Styles ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Roboto', Arial, sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: #1A1A1A;
    background-color: #F9F7F0;
    overflow-x: hidden;
}

img {
    max-width: 100%;
    height: auto;
}

a {
    color: #1400A0;
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: #4D426D;
}

ul, ol {
    list-style-position: inside;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

section {
    padding: 80px 0;
    position: relative;
}

@media (max-width: 768px) {
    section {
        padding: 60px 0;
    }
}

h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 20px;
    color: #1A1A1A;
}

h1 {
    font-size: 3rem;
}

h2 {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 40px;
}

h3 {
    font-size: 1.8rem;
}

p {
    margin-bottom: 20px;
}

/* ===== Buttons ===== */
.cta-button, .button-primary, .submit-button {
    display: inline-block;
    padding: 15px 35px;
    background-color: #E9F310;
    color: #1400A0;
    font-weight: 700;
    border: none;
    border-radius: 4px;
    text-transform: uppercase;
    letter-spacing: 1px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.cta-button:before, .button-primary:before, .submit-button:before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
    transition: all 0.6s ease;
}

.cta-button:hover:before, .button-primary:hover:before, .submit-button:hover:before {
    left: 100%;
}

.cta-button:hover, .button-primary:hover, .submit-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
    background-color: #dde600;
}

/* ===== Header ===== */
.main-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background-color: rgba(249, 247, 240, 0.95);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 6px 15px;
}

.logo {
    max-width: 130px;
}

.logo img {
    width: 100%;
}

.main-nav ul {
    display: flex;
    list-style: none;
}

.main-nav ul li {
    margin-left: 15px;
}

.main-nav ul li a {
    font-weight: 600;
    position: relative;
    padding-bottom: 2px;
    font-size: 0.9rem;
}

.main-nav ul li a:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: #1400A0;
    transition: width 0.3s ease;
}

.main-nav ul li a:hover:after, 
.main-nav ul li a.active:after {
    width: 100%;
}

.nav-cta {
    background-color: #1400A0;
    color: #F9F7F0;
    padding: 6px 12px;
    border-radius: 3px;
}

.nav-cta:hover {
    background-color: #4D426D;
    color: #F9F7F0;
}

.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
}

.mobile-menu-toggle span {
    display: block;
    width: 25px;
    height: 3px;
    background-color: #1A1A1A;
    margin-bottom: 5px;
    transition: all 0.3s ease;
}

@media (max-width: 768px) {
    .main-nav {
        position: fixed;
        top: -100%;
        left: 0;
        width: 100%;
        height: 100vh;
        background-color: #F9F7F0;
        transition: all 0.3s ease;
        padding: 80px 20px;
        z-index: 999;
    }
    
    .main-nav.open {
        top: 0;
    }
    
    .main-nav ul {
        flex-direction: column;
    }
    
    .main-nav ul li {
        margin-left: 0;
        margin-bottom: 20px;
        text-align: center;
    }
    
    .mobile-menu-toggle {
        display: block;
        z-index: 1000;
    }
    
    .mobile-menu-toggle.open span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }
    
    .mobile-menu-toggle.open span:nth-child(2) {
        opacity: 0;
    }
    
    .mobile-menu-toggle.open span:nth-child(3) {
        transform: rotate(-45deg) translate(5px, -5px);
    }
}

/* Main content starts below header */
main {
    margin-top: 50px;
}

/* ===== Hero Section ===== */
.hero {
    min-height: calc(100vh - 50px);
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    padding: 0;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #1400A0, #4D426D);
    z-index: -1;
    opacity: 0.9;
}

.hero-background:after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: repeating-linear-gradient(45deg, #E9F310, #E9F310 10px, transparent 10px, transparent 20px);
    opacity: 0.05;
    animation: backgroundMove 30s linear infinite;
}

@keyframes backgroundMove {
    0% {
        transform: translate(0, 0);
    }
    100% {
        transform: translate(50px, 50px);
    }
}

.hero .container {
    max-width: 800px;
    color: #F9F7F0;
    padding: 80px 20px;
}

.hero h1 {
    font-size: 3.5rem;
    color: #F9F7F0;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
    margin-bottom: 30px;
    position: relative;
}

.hero h1:before {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 0;
    width: 100px;
    height: 5px;
    background-color: #E9F310;
}

.hero-text {
    font-size: 1.3rem;
    margin-bottom: 40px;
}

@media (max-width: 768px) {
    .hero h1 {
        font-size: 2.5rem;
    }
    
    .hero-text {
        font-size: 1.1rem;
    }
}

/* ===== About Section ===== */
.about {
    background-color: #F9F7F0;
    position: relative;
    overflow: hidden;
}

.about:before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 300px;
    height: 300px;
    background-color: rgba(233, 243, 16, 0.1);
    border-radius: 50%;
    transform: translate(150px, -150px);
}

.about-content {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
}

.about-text, .about-principles {
    flex: 1;
    min-width: 300px;
}

.about-principles ul {
    list-style-type: none;
}

.about-principles ul li {
    margin-bottom: 15px;
    position: relative;
    padding-left: 25px;
}

.about-principles ul li:before {
    content: '✓';
    position: absolute;
    left: 0;
    top: 0;
    color: #1400A0;
    font-weight: bold;
}

.about-principles ul li span {
    font-weight: 600;
    color: #1400A0;
}

@media (max-width: 768px) {
    .about-content {
        flex-direction: column;
    }
}

/* ===== Services Section ===== */
.services {
    background-color: #1A1A1A;
    color: #F9F7F0;
    position: relative;
    overflow: hidden;
}

.services h2 {
    color: #F9F7F0;
}

.services:before {
    content: '';
    position: absolute;
    top: -100px;
    left: 0;
    width: 100%;
    height: 100px;
    background-color: #F9F7F0;
    clip-path: polygon(0 0, 100% 100%, 100% 0);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.service-card {
    background-color: rgba(255, 255, 255, 0.05);
    padding: 30px;
    border-radius: 10px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
    overflow: hidden;
}

.service-card:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 5px;
    height: 100%;
    background-color: #00FFE0;
    transition: width 0.3s ease;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 30px rgba(0, 0, 0, 0.2);
}

.service-card:hover:before {
    width: 100%;
    opacity: 0.1;
}

.service-card h3 {
    color: #E9F310;
    margin-bottom: 20px;
}

.service-card ul {
    list-style-type: none;
    margin-top: 20px;
}

.service-card ul li {
    margin-bottom: 10px;
    padding-left: 20px;
    position: relative;
}

.service-card ul li:before {
    content: '•';
    position: absolute;
    left: 0;
    top: 0;
    color: #00FFE0;
}

/* ===== Process Section ===== */
.process {
    background-color: #F9F7F0;
    position: relative;
}

.timeline {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
}

.timeline:before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 5px;
    height: 100%;
    background-color: #1400A0;
}

.timeline-item {
    position: relative;
    padding: 30px;
    background-color: #fff;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    width: calc(50% - 50px);
    margin-bottom: 40px;
}

.timeline-item:nth-child(odd) {
    margin-left: auto;
}

.timeline-item:before {
    content: '';
    position: absolute;
    top: 30px;
    width: 30px;
    height: 5px;
    background-color: #1400A0;
}

.timeline-item:nth-child(odd):before {
    left: -30px;
}

.timeline-item:nth-child(even):before {
    right: -30px;
}

.timeline-number {
    position: absolute;
    top: 20px;
    width: 40px;
    height: 40px;
    background-color: #E9F310;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    color: #1400A0;
    font-size: 1.5rem;
}

.timeline-item:nth-child(odd) .timeline-number {
    left: -70px;
}

.timeline-item:nth-child(even) .timeline-number {
    right: -70px;
}

.timeline-item h3 {
    color: #1400A0;
}

@media (max-width: 768px) {
    .timeline:before {
        left: 20px;
    }
    
    .timeline-item {
        width: calc(100% - 50px);
        margin-left: 50px !important;
    }
    
    .timeline-item:before {
        left: -30px !important;
        width: 30px;
    }
    
    .timeline-item .timeline-number {
        left: -50px !important;
    }
}

/* ===== Benefits Section ===== */
.benefits {
    background-color: #4D426D;
    color: #F9F7F0;
    position: relative;
}

.benefits:before {
    content: '';
    position: absolute;
    top: -100px;
    left: 0;
    width: 100%;
    height: 100px;
    background-color: #F9F7F0;
    clip-path: polygon(0 100%, 100% 0, 0 0);
}

.benefits h2 {
    color: #F9F7F0;
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.benefit-card {
    background-color: rgba(255, 255, 255, 0.1);
    padding: 30px;
    border-radius: 10px;
    text-align: center;
    transition: all 0.3s ease;
}

.benefit-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
    background-color: rgba(255, 255, 255, 0.15);
}

.benefit-icon {
    width: 70px;
    height: 70px;
    margin: 0 auto 20px;
    background-color: #E9F310;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.benefit-card h3 {
    color: #E9F310;
    margin-bottom: 15px;
}

/* ===== Team Section ===== */
.team {
    background-color: #F9F7F0;
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.team-member {
    text-align: center;
    position: relative;
    transition: all 0.3s ease;
}

.team-photo {
    width: 200px;
    height: 200px;
    border-radius: 50%;
    overflow: hidden;
    margin: 0 auto 20px;
    position: relative;
    border: 5px solid #1400A0;
}

.team-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.team-photo:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(233, 243, 16, 0.3), rgba(20, 0, 160, 0.3));
    opacity: 0;
    transition: opacity 0.3s ease;
}

.team-member:hover .team-photo:before {
    opacity: 1;
}

.team-member h3 {
    color: #1400A0;
    margin-bottom: 5px;
}

.team-role {
    color: #4D426D;
    font-weight: 600;
    margin-bottom: 15px;
}

/* ===== Testimonials Section ===== */
.testimonials {
    background-color: #1A1A1A;
    color: #F9F7F0;
    position: relative;
}

.testimonials:before {
    content: '';
    position: absolute;
    top: -100px;
    left: 0;
    width: 100%;
    height: 100px;
    background-color: #F9F7F0;
    clip-path: polygon(0 0, 100% 100%, 100% 0);
}

.testimonials h2 {
    color: #F9F7F0;
}

.testimonial-slider {
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    overflow-x: auto;
    scroll-behavior: smooth;
    scroll-snap-type: x mandatory;
    gap: 20px;
    padding-bottom: 30px;
}

.testimonial {
    min-width: 100%;
    scroll-snap-align: start;
    background-color: rgba(255, 255, 255, 0.05);
    padding: 30px;
    border-radius: 10px;
    position: relative;
}

.testimonial-content {
    margin-bottom: 20px;
    position: relative;
    padding-left: 30px;
}

.testimonial-content:before {
    content: '"';
    position: absolute;
    left: 0;
    top: -10px;
    font-size: 50px;
    color: #E9F310;
    line-height: 1;
}

.testimonial-author {
    text-align: right;
}

.testimonial-author p {
    margin-bottom: 5px;
}

/* ===== Contact Form Section ===== */
.contact {
    background-color: #F9F7F0;
    position: relative;
}

.contact:before {
    content: '';
    position: absolute;
    top: -100px;
    left: 0;
    width: 100%;
    height: 100px;
    background-color: #1A1A1A;
    clip-path: polygon(0 100%, 100% 0, 0 0);
}

.contact-wrapper {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 50px;
}

.contact-info h3 {
    color: #1400A0;
    margin-bottom: 20px;
}

.contact-details {
    margin-top: 30px;
}

.contact-item {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
}

.contact-icon {
    width: 40px;
    height: 40px;
    background-color: #E9F310;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 15px;
    color: #1400A0;
    font-size: 1.2rem;
}

.contact-form {
    background-color: #fff;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    position: relative;
    overflow: hidden;
}

.contact-form:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 5px;
    height: 100%;
    background-color: #1400A0;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: #1A1A1A;
}

.form-group input,
.form-group select {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group select:focus {
    outline: none;
    border-color: #1400A0;
}

.checkbox-group {
    display: flex;
    align-items: flex-start;
}

.checkbox-group input {
    width: auto;
    margin-right: 10px;
    margin-top: 5px;
}

.checkbox-group label {
    font-weight: normal;
    font-size: 0.9rem;
    max-width: 90%;
}

.submit-button {
    width: 100%;
    margin-top: 10px;
}

/* ===== Footer Section ===== */
.main-footer {
    background-color: #1A1A1A;
    color: #F9F7F0;
    padding: 60px 0 0;
}

.footer-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-logo {
    max-width: 150px;
    margin-bottom: 20px;
}

.footer-description {
    font-size: 0.9rem;
    opacity: 0.8;
}

.footer-column h4 {
    color: #E9F310;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 10px;
}

.footer-column h4:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 3px;
    background-color: #00FFE0;
}

.footer-contact,
.footer-links,
.footer-legal {
    list-style-type: none;
}

.footer-contact li,
.footer-links li,
.footer-legal li {
    margin-bottom: 10px;
}

.footer-links a,
.footer-legal a {
    color: #F9F7F0;
    transition: color 0.3s ease;
    position: relative;
    padding-left: 15px;
}

.footer-links a:before,
.footer-legal a:before {
    content: '>';
    position: absolute;
    left: 0;
    transition: transform 0.3s ease;
}

.footer-links a:hover,
.footer-legal a:hover {
    color: #E9F310;
}

.footer-links a:hover:before,
.footer-legal a:hover:before {
    transform: translateX(5px);
}

.copyright {
    background-color: rgba(0, 0, 0, 0.2);
    padding: 20px 0;
    text-align: center;
    font-size: 0.9rem;
}

/* ===== Cookie Popup ===== */
.cookie-popup {
    position: fixed;
    bottom: -100%;
    left: 0;
    width: 100%;
    background-color: #1A1A1A;
    color: #F9F7F0;
    padding: 20px;
    box-shadow: 0 -5px 20px rgba(0, 0, 0, 0.2);
    z-index: 1000;
    transition: bottom 0.5s ease;
}

.cookie-popup.show {
    bottom: 0;
}

.cookie-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
}

.cookie-content h3 {
    color: #E9F310;
    margin-bottom: 10px;
}

.cookie-content p {
    margin-bottom: 0;
    flex: 1;
    min-width: 300px;
}

.cookie-button {
    padding: 10px 20px;
    background-color: #E9F310;
    color: #1A1A1A;
    border: none;
    border-radius: 4px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.cookie-button:hover {
    background-color: #dde600;
}

@media (max-width: 768px) {
    .cookie-content {
        flex-direction: column;
        align-items: flex-start;
    }
}

/* ===== Legal Pages ===== */
.legal-page {
    padding-top: 70px;
}

.legal-content {
    background-color: #fff;
    padding: 40px;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    margin-bottom: 40px;
    position: relative;
    border: 1px solid #eee;
}

.legal-content:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: linear-gradient(90deg, #1400A0, #4D426D);
}

.legal-content h2 {
    text-align: left;
    color: #1400A0;
}

.legal-content h3 {
    color: #4D426D;
    margin-top: 30px;
}

/* ===== Thank You Page ===== */
.thank-you {
    min-height: 60vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.thank-you-content {
    background-color: #fff;
    padding: 50px;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    max-width: 600px;
    margin: 0 auto;
}

.thank-you-icon {
    font-size: 5rem;
    color: #00FFE0;
    margin: 20px 0;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.1);
    }
    100% {
        transform: scale(1);
    }
}

/* ===== Animations ===== */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero h1,
.hero-text,
.hero .cta-button {
    animation: fadeIn 1s ease forwards;
}

.hero-text {
    animation-delay: 0.3s;
}

.hero .cta-button {
    animation-delay: 0.6s;
}

/* Increase size of the site when scrolling down */
@media (min-width: 992px) {
    .main-header {
        padding: 2px 0;
        transition: padding 0.3s ease;
    }

    .main-header.sticky {
        padding: 1px 0;
    }
}

/* Mobile optimizations */
@media (max-width: 576px) {
    h1 {
        font-size: 2.2rem;
    }
    
    h2 {
        font-size: 1.8rem;
    }
    
    section {
        padding: 50px 0;
    }
    
    .container {
        padding: 0 15px;
    }
}