/* Base Styles */
:root {
    --primary-color: #4a6fa5;
    --secondary-color: #6b8cae;
    --accent-color: #ff8552;
    --light-color: #f8f9fa;
    --dark-color: #333;
    --font-main: 'Montserrat', sans-serif;
    --font-heading: 'Playfair Display', serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-main);
    color: var(--dark-color);
    line-height: 1.6;
    overflow-x: hidden;
    background-color: #f5f7fa;
}

/* Header & Navigation */
.animated-header {
    background-color: rgba(255, 255, 255, 0.95);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.animated-header.scrolled {
    background-color: rgba(255, 255, 255, 0.98);
    padding: 10px 0;
}

.logo {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    font-weight: 600;
    color: var(--primary-color);
}

.nav-links {
    display: flex;
    list-style: none;
}

.nav-links li a {
    color: var(--dark-color);
    text-decoration: none;
    padding: 0 15px;
    transition: color 0.3s;
}

.nav-links li a:hover {
    color: var(--accent-color);
}

/* Hero Section */
.hero {
    display: flex;
    min-height: 100vh;
    align-items: center;
    padding: 0 5%;
    margin-top: 80px;
}

.hero-content {
    flex: 1;
    padding-right: 50px;
}

.hero-image {
    flex: 1;
    position: relative;
    height: 500px;
}

.animated-text {
    font-size: 3.5rem;
    margin-bottom: 20px;
    font-family: var(--font-heading);
    background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    animation: fadeInUp 1s ease;
}

.subtitle {
    font-size: 1.5rem;
    margin-bottom: 30px;
    color: var(--secondary-color);
    animation: fadeInUp 1s ease 0.3s both;
}

.cta-button {
    background-color: var(--accent-color);
    color: white;
    border: none;
    padding: 15px 30px;
    font-size: 1.1rem;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s;
    animation: fadeInUp 1s ease 0.6s both;
}

.cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.pulse {
    animation: pulse 2s infinite 1.6s;
}

.floating-elements {
    position: relative;
    width: 100%;
    height: 100%;
}

.circle, .square, .triangle {
    position: absolute;
    background-color: rgba(74, 111, 165, 0.1);
    border-radius: 50%;
    animation: float 6s ease-in-out infinite;
}

.circle {
    width: 200px;
    height: 200px;
    top: 50px;
    left: 50px;
    animation-delay: 0s;
}

.square {
    width: 150px;
    height: 150px;
    top: 200px;
    left: 200px;
    border-radius: 20px;
    animation-delay: 0.5s;
    animation-name: floatReverse;
}

.triangle {
    width: 0;
    height: 0;
    top: 100px;
    left: 300px;
    border-left: 75px solid transparent;
    border-right: 75px solid transparent;
    border-bottom: 150px solid rgba(255, 133, 82, 0.1);
    animation-delay: 1s;
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes pulse {
    0% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(255, 133, 82, 0.7);
    }
    70% {
        transform: scale(1.05);
        box-shadow: 0 0 0 10px rgba(255, 133, 82, 0);
    }
    100% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(255, 133, 82, 0);
    }
}

@keyframes float {
    0% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-20px);
    }
    100% {
        transform: translateY(0px);
    }
}

@keyframes floatReverse {
    0% {
        transform: translateY(-20px);
    }
    50% {
        transform: translateY(0px);
    }
    100% {
        transform: translateY(-20px);
    }
}

.fade-in {
    opacity: 0;
    animation: fadeIn 1s ease forwards;
}

@keyframes fadeIn {
    to {
        opacity: 1;
    }
}

/* Philosophy Section */
.philosophy {
    padding: 100px 5%;
    text-align: center;
    background-color: white;
}

.philosophy h2 {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    margin-bottom: 60px;
    color: var(--primary-color);
}

.philosophy-container {
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
}

.philosophy-card {
    flex: 1;
    min-width: 250px;
    max-width: 300px;
    padding: 40px 20px;
    border-radius: 10px;
    background-color: var(--light-color);
    transition: transform 0.3s, box-shadow 0.3s;
}

.philosophy-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.philosophy-card .icon {
    font-size: 3rem;
    margin-bottom: 20px;
}

.philosophy-card h3 {
    font-family: var(--font-heading);
    margin-bottom: 15px;
    color: var(--primary-color);
}

/* Services Section */
.services {
    padding: 100px 5%;
    text-align: center;
    background-color: #f5f7fa;
}

.services h2 {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    margin-bottom: 60px;
    color: var(--primary-color);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    padding: 0 5%;
}

.service-card {
    background-color: white;
    padding: 40px 30px;
    border-radius: 10px;
    position: relative;
    overflow: hidden;
    transition: transform 0.3s;
}

.service-card:hover {
    transform: translateY(-10px);
}

.service-icon {
    font-size: 3rem;
    margin-bottom: 20px;
}

.service-card h3 {
    font-family: var(--font-heading);
    margin-bottom: 15px;
    color: var(--primary-color);
}

.wave-animation {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 10px;
    background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
    animation: wave 2s linear infinite;
}

@keyframes wave {
    0% {
        background-position-x: 0;
    }
    100% {
        background-position-x: 100px;
    }
}

/* Testimonials */
.testimonials {
    padding: 100px 5%;
    text-align: center;
    background-color: white;
}

.testimonials h2 {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    margin-bottom: 60px;
    color: var(--primary-color);
}

.testimonial-slider {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
    height: 200px;
    overflow: hidden;
}

.testimonial-slide {
    position: absolute;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: opacity 0.5s ease;
}

.testimonial-slide.active {
    opacity: 1;
}

.testimonial-slide p {
    font-size: 1.5rem;
    font-style: italic;
    margin-bottom: 20px;
}

.testimonial-slide cite {
    font-weight: 600;
    color: var(--secondary-color);
}

.slider-dots {
    display: flex;
    justify-content: center;
    margin-top: 30px;
}

.slider-dots span {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: #ccc;
    margin: 0 5px;
    cursor: pointer;
}

.slider-dots span.active {
    background-color: var(--accent-color);
}

/* Contact Section */
.contact {
    padding: 100px 5%;
    text-align: center;
    background-color: #f5f7fa;
}

.contact h2 {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    margin-bottom: 60px;
    color: var(--primary-color);
}

.contact-form {
    max-width: 600px;
    margin: 0 auto;
}

.form-group {
    margin-bottom: 20px;
    text-align: left;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 15px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-family: var(--font-main);
    font-size: 1rem;
    transition: border 0.3s;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
}

.submit-button {
    background-color: var(--primary-color);
    color: white;
    border: none;
    padding: 15px 40px;
    font-size: 1.1rem;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s;
}

.submit-button:hover {
    background-color: var(--accent-color);
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

/* Footer */
footer {
    background-color: var(--dark-color);
    color: white;
    padding: 60px 5% 30px;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    margin-bottom: 40px;
}

.footer-logo {
    font-family: var(--font-heading);
    font-size: 2rem;
    margin-bottom: 20px;
    color: white;
}

.footer-links {
    display: flex;
    gap: 20px;
    margin-bottom: 20px;
}

.footer-links a {
    color: white;
    text-decoration: none;
    transition: color 0.3s;
}

.footer-links a:hover {
    color: var(--accent-color);
}

.social-icons {
    display: flex;
    gap: 15px;
}

.social-icons a {
    color: white;
    font-size: 1.5rem;
    transition: color 0.3s;
}

.social-icons a:hover {
    color: var(--accent-color);
}

.copyright {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero {
        flex-direction: column;
        text-align: center;
        padding-top: 50px;
    }
    
    .hero-content {
        padding-right: 0;
        margin-bottom: 50px;
    }
    
    .animated-text {
        font-size: 2.5rem;
    }
    
    .nav-links {
        display: none;
    }
    
    .burger {
        display: block;
        cursor: pointer;
    }
}