@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@400;600;700&family=Inter:wght@300;400;500;600;700&display=swap');

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

:root {
    --plum: #4A1942;
    --terracotta: #C65D3B;
    --sage: #7A9B76;
    --cream: #F5EFE6;
    --dark: #1a1a1a;
    --light: #ffffff;
}

body {
    font-family: 'Inter', sans-serif;
    color: var(--dark);
    background: var(--cream);
    line-height: 1.6;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Playfair Display', serif;
    font-weight: 700;
    line-height: 1.2;
}

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

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

header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(245, 239, 230, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    padding: 20px 0;
    box-shadow: 0 2px 20px rgba(74, 25, 66, 0.1);
}

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

.logo-wrapper {
    display: flex;
    align-items: center;
    gap: 15px;
}

.logo {
    height: 50px;
    width: auto;
}

.logo-text {
    font-family: 'Playfair Display', serif;
    font-size: 28px;
    font-weight: 700;
    color: var(--plum);
}

nav ul {
    display: flex;
    list-style: none;
    gap: 40px;
}

nav a {
    font-weight: 500;
    color: var(--plum);
    position: relative;
}

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

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

.mobile-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
}

.mobile-toggle span {
    width: 25px;
    height: 3px;
    background: var(--plum);
    transition: all 0.3s ease;
}

.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--plum) 0%, var(--terracotta) 100%);
    position: relative;
    overflow: hidden;
    padding-top: 80px;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg width="100" height="100" xmlns="http://www.w3.org/2000/svg"><rect width="100" height="100" fill="none"/><circle cx="50" cy="50" r="40" fill="rgba(245,239,230,0.05)"/></svg>');
    animation: float 20s infinite linear;
}

@keyframes float {
    0% { transform: translate(0, 0); }
    100% { transform: translate(100px, 100px); }
}

.hero-content {
    text-align: center;
    color: var(--light);
    position: relative;
    z-index: 1;
}

.hero h1 {
    font-size: 72px;
    margin-bottom: 20px;
    animation: fadeInUp 1s ease;
}

.hero p {
    font-size: 24px;
    margin-bottom: 40px;
    opacity: 0.9;
    animation: fadeInUp 1s ease 0.2s backwards;
}

.cta-button {
    display: inline-block;
    padding: 18px 45px;
    background: var(--cream);
    color: var(--plum);
    font-weight: 600;
    border-radius: 50px;
    transition: all 0.3s ease;
    animation: fadeInUp 1s ease 0.4s backwards;
}

.cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

section {
    padding: 100px 0;
}

.section-title {
    text-align: center;
    font-size: 48px;
    color: var(--plum);
    margin-bottom: 60px;
    position: relative;
}

.section-title::after {
    content: '';
    display: block;
    width: 80px;
    height: 4px;
    background: var(--terracotta);
    margin: 20px auto 0;
}

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

.service-card {
    background: var(--light);
    padding: 40px 30px;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(74, 25, 66, 0.1);
    transition: all 0.3s ease;
    border-top: 4px solid var(--terracotta);
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(74, 25, 66, 0.2);
}

.service-icon {
    font-size: 48px;
    margin-bottom: 20px;
    color: var(--terracotta);
}

.service-card h3 {
    font-size: 24px;
    color: var(--plum);
    margin-bottom: 15px;
}

.about-section {
    background: var(--light);
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.about-image {
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(74, 25, 66, 0.2);
}

.about-text h2 {
    color: var(--plum);
    margin-bottom: 25px;
}

.about-text p {
    margin-bottom: 20px;
    color: #555;
    font-size: 18px;
}

.philosophy-section {
    background: linear-gradient(135deg, var(--sage) 0%, var(--plum) 100%);
    color: var(--light);
}

.philosophy-section .section-title {
    color: var(--light);
}

.philosophy-section .section-title::after {
    background: var(--cream);
}

.philosophy-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-top: 40px;
}

.philosophy-item {
    text-align: center;
}

.philosophy-item h3 {
    font-size: 28px;
    margin-bottom: 15px;
}

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

.portfolio-item {
    position: relative;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(74, 25, 66, 0.15);
    cursor: pointer;
}

.portfolio-item img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.portfolio-item:hover img {
    transform: scale(1.1);
}

.portfolio-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(74, 25, 66, 0.9), transparent);
    padding: 30px;
    color: var(--light);
    transform: translateY(100%);
    transition: transform 0.3s ease;
}

.portfolio-item:hover .portfolio-overlay {
    transform: translateY(0);
}

.process-section {
    background: var(--light);
}

.process-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.process-step {
    text-align: center;
    padding: 30px;
    position: relative;
}

.step-number {
    width: 80px;
    height: 80px;
    background: var(--terracotta);
    color: var(--light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    font-weight: 700;
    margin: 0 auto 20px;
}

.process-step h3 {
    color: var(--plum);
    margin-bottom: 15px;
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 40px;
}

.team-member {
    text-align: center;
    background: var(--light);
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(74, 25, 66, 0.1);
    transition: all 0.3s ease;
}

.team-member:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(74, 25, 66, 0.2);
}

.team-avatar {
    width: 150px;
    height: 150px;
    background: linear-gradient(135deg, var(--plum), var(--terracotta));
    border-radius: 50%;
    margin: 0 auto 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 48px;
    color: var(--light);
}

.team-member h3 {
    color: var(--plum);
    margin-bottom: 10px;
}

.team-role {
    color: var(--terracotta);
    font-weight: 600;
    margin-bottom: 15px;
}

.stats-section {
    background: linear-gradient(135deg, var(--plum) 0%, var(--terracotta) 100%);
    color: var(--light);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
    text-align: center;
}

.stat-item {
    padding: 20px;
}

.stat-number {
    font-size: 56px;
    font-weight: 700;
    margin-bottom: 10px;
    font-family: 'Playfair Display', serif;
}

.stat-label {
    font-size: 18px;
    opacity: 0.9;
}

.testimonials-section {
    background: var(--light);
}

.testimonials-slider {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
}

.testimonial {
    text-align: center;
    padding: 40px;
    display: none;
}

.testimonial.active {
    display: block;
    animation: fadeIn 0.5s ease;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.testimonial-text {
    font-size: 22px;
    font-style: italic;
    color: var(--plum);
    margin-bottom: 30px;
    line-height: 1.8;
}

.testimonial-author {
    font-weight: 600;
    color: var(--terracotta);
    font-size: 18px;
}

.slider-dots {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 30px;
}

.dot {
    width: 12px;
    height: 12px;
    background: var(--sage);
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s ease;
}

.dot.active {
    background: var(--terracotta);
    transform: scale(1.3);
}

.tech-section {
    background: var(--cream);
}

.tech-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 30px;
    text-align: center;
}

.tech-item {
    padding: 30px;
    background: var(--light);
    border-radius: 15px;
    transition: all 0.3s ease;
}

.tech-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(74, 25, 66, 0.15);
}

.tech-icon {
    font-size: 48px;
    margin-bottom: 15px;
    color: var(--terracotta);
}

.awards-section {
    background: var(--light);
}

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

.award-card {
    background: var(--cream);
    padding: 30px;
    border-radius: 15px;
    text-align: center;
    border-left: 4px solid var(--terracotta);
}

.award-year {
    font-size: 24px;
    font-weight: 700;
    color: var(--terracotta);
    margin-bottom: 10px;
}

.award-title {
    font-size: 20px;
    color: var(--plum);
    margin-bottom: 10px;
}

.form-section {
    background: linear-gradient(135deg, var(--sage) 0%, var(--plum) 100%);
    color: var(--light);
}

.form-section .section-title {
    color: var(--light);
}

.form-section .section-title::after {
    background: var(--cream);
}

.multi-step-form {
    max-width: 700px;
    margin: 0 auto;
    background: var(--light);
    padding: 50px;
    border-radius: 20px;
    box-shadow: 0 10px 50px rgba(0, 0, 0, 0.3);
}

.progress-bar {
    display: flex;
    justify-content: space-between;
    margin-bottom: 40px;
    position: relative;
}

.progress-bar::before {
    content: '';
    position: absolute;
    top: 20px;
    left: 0;
    right: 0;
    height: 2px;
    background: #ddd;
    z-index: 0;
}

.progress-line {
    position: absolute;
    top: 20px;
    left: 0;
    height: 2px;
    background: var(--terracotta);
    transition: width 0.3s ease;
    z-index: 1;
}

.step-indicator {
    width: 40px;
    height: 40px;
    background: #ddd;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    color: #999;
    position: relative;
    z-index: 2;
    transition: all 0.3s ease;
}

.step-indicator.active {
    background: var(--terracotta);
    color: var(--light);
}

.step-indicator.completed {
    background: var(--sage);
    color: var(--light);
}

.form-step {
    display: none;
}

.form-step.active {
    display: block;
    animation: slideIn 0.5s ease;
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateX(50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

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

.form-group label {
    display: block;
    margin-bottom: 8px;
    color: var(--plum);
    font-weight: 600;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 15px;
    border: 2px solid #ddd;
    border-radius: 10px;
    font-family: 'Inter', sans-serif;
    font-size: 16px;
    transition: all 0.3s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--terracotta);
}

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

.error-message {
    color: #d32f2f;
    font-size: 14px;
    margin-top: 5px;
    display: none;
}

.form-buttons {
    display: flex;
    justify-content: space-between;
    margin-top: 30px;
}

.btn {
    padding: 15px 40px;
    border: none;
    border-radius: 50px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 16px;
}

.btn-prev {
    background: #ddd;
    color: #666;
}

.btn-prev:hover {
    background: #ccc;
}

.btn-next,
.btn-submit {
    background: var(--terracotta);
    color: var(--light);
}

.btn-next:hover,
.btn-submit:hover {
    background: var(--plum);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(74, 25, 66, 0.3);
}

.contact-section {
    background: var(--light);
}

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

.contact-item {
    text-align: center;
    padding: 30px;
}

.contact-icon {
    font-size: 48px;
    color: var(--terracotta);
    margin-bottom: 20px;
}

.contact-item h3 {
    color: var(--plum);
    margin-bottom: 15px;
}

.contact-item p {
    color: #555;
    font-size: 18px;
}

footer {
    background: var(--plum);
    color: var(--light);
    padding: 60px 0 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-section h3 {
    margin-bottom: 20px;
    color: var(--cream);
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 10px;
}

.footer-section a:hover {
    color: var(--terracotta);
}

.social-links {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}

.social-links a {
    width: 40px;
    height: 40px;
    background: var(--terracotta);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.social-links a:hover {
    background: var(--cream);
    color: var(--plum);
    transform: translateY(-3px);
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(245, 239, 230, 0.2);
    opacity: 0.8;
}

.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

@media (max-width: 768px) {
    nav ul {
        display: none;
        position: absolute;
        top: 80px;
        left: 0;
        right: 0;
        background: var(--cream);
        flex-direction: column;
        padding: 20px;
        box-shadow: 0 5px 20px rgba(74, 25, 66, 0.1);
    }

    nav ul.active {
        display: flex;
    }

    .mobile-toggle {
        display: flex;
    }

    .hero h1 {
        font-size: 42px;
    }

    .hero p {
        font-size: 18px;
    }

    .section-title {
        font-size: 36px;
    }

    .about-content {
        grid-template-columns: 1fr;
    }

    .multi-step-form {
        padding: 30px 20px;
    }

    .form-buttons {
        flex-direction: column;
        gap: 15px;
    }

    .btn {
        width: 100%;
    }
}
