/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Font Face Declarations */
body {
    font-family: 'GmarketSans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    color: #333;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'nexon-lv1-gothic-low-otf', 'GmarketSans', sans-serif;
    font-weight: 700;
    line-height: 1.2;
}

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

/* Header Styles */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.navbar {
    padding: 20px 0;
}

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

.nav-brand {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 24px;
    font-weight: 700;
}

.logo-dot {
    width: 12px;
    height: 12px;
    background: #ff6b6b;
    border-radius: 50%;
}

.logo-text {
    color: #333;
    font-family: 'nexon-lv1-gothic-low-otf', sans-serif;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 125px;
    font-style: italic;
}
.nav-menu:hover{
    text-decoration:underline;
    font-weight: 500;
}

.nav-link {
    text-decoration: none;
    color: #666;
    font-weight: 500;
    font-size: 17px;
    transition: color 0.3s ease;
    display: flex;
    align-items: center;
    gap: 5px;
}

.nav-link:hover,
.nav-link.active {
    color: #ff6b6b;
}

.arrow-down {
    width: 0;
    height: 0;
    border-left: 4px solid transparent;
    border-right: 4px solid transparent;
    border-top: 4px solid currentColor;
}

.nav-right {
    display: flex;
    align-items: center;
    gap: 20px;
    font-size: 14px;
}

.consultation {
    color: #999;
}

.phone {
    color: #ff6b6b;
    font-weight: 600;
}

.btn-start-project {
    background: #ff6b6b;
    color: white;
    border: none;
    padding: 12px 24px;
    border-radius: 25px;
    font-weight: 600;
    font-size: 15px;
    letter-spacing: 0.5px;
    cursor: pointer;
    transition: all 0.3s ease;
}
.btn-start-project a {
    text-decoration: none;
    color: white;
}

.btn-start-project:hover {
    background: #e55555;
    transform: translateY(-1px);
}

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

.mobile-menu-toggle span {
    width: 25px;
    height: 2px;
    background: #333;
    transition: all 0.3s ease;
}

/* Hero Section */
.hero {
    padding: 140px 0 80px;
    background: var(--profile, linear-gradient(0deg, rgba(243, 231, 233, 0.40) 0%, rgba(227, 238, 255, 0.40) 99%, rgba(227, 238, 255, 0.40) 100%));
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 50%;
    height: 100%;
    z-index: 1;
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 60px;
    position: relative;
    z-index: 2;
}

.hero-subtitle {
    color: #ff6b6b;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 2px;
    margin-bottom: 20px;
}

.hero-title {
    font-size: 56px;
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 30px;
    line-height: 1.2;
}

.rotating-text {
    position: relative;
    display: inline-block;
}

.text-item {
    position: absolute;
    top: 0;
    left: 0;
    opacity: 0;
    transition: opacity 0.5s ease;
}

.text-item.active {
    position: relative;
    opacity: 1;
}

.hero-description {
    font-size: 35px;
    color: #666;
    margin-bottom: 40px;
    line-height: 1.6;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    padding: 20px 0px;
}

.btn {
    padding: 16px 32px;
    border-radius: 30px;
    font-weight: 600;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    cursor: pointer;
    transition: all 0.3s ease;
    border: 2px solid transparent;
    text-decoration: none;
    display: inline-block;
    text-align: center;
}

.btn-primary {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border: none;
    opacity: 1;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(102, 126, 234, 0.3);
}

.btn-secondary {
    background: #f3f3f3;
    color: #333;
    border: 2px solid #ddd;
    opacity: 2;
}

.btn-secondary:hover {
    background: #ff6b6b;
    border-color: #ff6b6b;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(102, 126, 234, 0.3);

}
.btn-third {
    background: linear-gradient(-90deg, #ffafaa 0%, #ff6b6b 100%);
    color: white;
    border: none;
    opacity: 2;
}

.btn-third:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(102, 126, 234, 0.3);

}

.hero-image {
    position: relative;
    border-radius: 40%;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
    width: 530px;
    height: 510px;
    flex-shrink: 0;
    fill: var(--color-white-02, rgba(255, 255, 255, 0.00));
    filter: drop-shadow(0 22.099px 66.298px rgba(0, 0, 0, 0.15));
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-image img {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 450px;
    height: 450px;
    object-fit: cover;
    z-index: 2;
}





/* Services Section */
.services {
    padding: 80px 0;
    background: #fff;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
}

.service-card {
    text-align: center;
    padding: 40px 20px;
    border-radius: 15px;
    transition: all 0.3s ease;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.service-icon {
    margin-bottom: 30px;
}

.service-card h3 {
    font-size: 24px;
    margin-bottom: 30px;
    color: #2c3e50;
}

.service-card p {
    color: #666;
    line-height: 1.6;
}

/* Portfolio Slider Section */
.portfolio-slider {
    padding: 0;
    background: #f8f9ff;
    overflow: hidden;
    position: relative;
    height: 600px;
}

.slider-container {
    position: relative;
    height: 100%;
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1s ease;
}

.slide.active {
    opacity: 1;
}

.slide-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    height: 100%;
    align-items: center;
}

.slide-image {
    height: 100%;
    overflow: hidden;
}

.slide-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.slide-text {
    padding: 60px;
    background: rgba(255, 255, 255, 0.95);
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.slide-subtitle {
    color: #ff6b6b;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 2px;
    margin-bottom: 20px;
    text-transform: uppercase;
}

.slide-text h2 {
    font-size: 48px;
    color: #2c3e50;
    font-weight: 700;
    line-height: 1.1;
}

/* Creative Solutions Section */
.creative-solutions {
    padding: 100px 0;
    background: #fff;
    position: relative;
}

.solutions-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 80px;
    margin-bottom: 40px;
}

.solution-image {
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
}

.solution-image img {
    width: 100%;
    height: auto;
    display: block;
}

.section-subtitle {
    color: #ff6b6b;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 2px;
    margin-bottom: 20px;
    text-transform: uppercase;
}

.solutions-right h2 {
    font-size: 48px;
    color: #2c3e50;
    margin-bottom: 30px;
    line-height: 1.1;
}

.section-description {
    font-size: 18px;
    color: #666;
    line-height: 1.6;
    margin-bottom: 40px;
}

.btn-explore {
    color: #333;
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
    letter-spacing: 1px;
    display: flex;
    align-items: center;
    gap: 10px;
    transition: color 0.3s ease;
}

.btn-explore:hover {
    color: #ff6b6b;
}

.arrow {
    font-size: 16px;
    transition: transform 0.3s ease;
}

.btn-explore:hover .arrow {
    transform: translateX(5px);
}

.navigation-arrows {
    display: flex;
    justify-content: center;
    gap: 20px;
}

.nav-arrow {
    width: 50px;
    height: 50px;
    border: 1px solid #ddd;
    background: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 18px;
    color: #666;
}

.nav-arrow:hover {
    border-color: #ff6b6b;
    color: #ff6b6b;
    transform: translateY(-2px);
}

/* Case Studies Section */
.case-studies {
    padding: 100px 0;
    background: #f8f9ff;
}

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 60px;
}

.section-header h2 {
    font-size: 48px;
    color: #2c3e50;
}

.see-more {
    color: #666;
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
    letter-spacing: 1px;
    transition: color 0.3s ease;
}

.see-more:hover {
    color: #ff6b6b;
}

.case-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    margin-bottom: 60px;
}

.case-item {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    transition: all 0.3s ease;
    cursor: pointer;
}

.case-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.case-image {
    aspect-ratio: 1;
    overflow: hidden;
}

.case-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.case-item:hover .case-image img {
    transform: scale(1.05);
}

.case-info {
    padding: 25px;
}

.case-info h3 {
    font-size: 18px;
    color: #2c3e50;
    margin-bottom: 8px;
}

.case-info p {
    color: #666;
    font-size: 14px;
}

.case-navigation {
    display: flex;
    justify-content: center;
    gap: 20px;
}

/* Services Detail Section */
.services-detail {
    padding: 100px 0;
    background: #fff;
}

.section-header-center {
    text-align: center;
    margin-bottom: 80px;
}

.section-header-center h2 {
    font-size: 48px;
    color: #2c3e50;
    margin-bottom: 20px;
}

.section-header-center p {
    font-size: 18px;
    color: #666;
    line-height: 1.6;
}

.services-detail-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
}

.service-detail-card {
    text-align: center;
    padding: 40px 20px;
    border-radius: 15px;
    background: #fff;
    transition: all 0.3s ease;
    position: relative;
}

.service-detail-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.service-detail-card.exclusive {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
}

.service-detail-card.exclusive .service-detail-icon svg {
    stroke: white;
    fill: rgba(255, 255, 255, 0.2);
}

.service-detail-card.exclusive h3,
.service-detail-card.exclusive p {
    color: white;
}

.service-detail-card.exclusive .learn-more {
    color: white;
}

.exclusive-badge,
.thumbs-badge {
    position: absolute;
    top: -10px;
    right: 20px;
    background: #ff6b6b;
    color: white;
    padding: 5px 15px;
    border-radius: 15px;
    font-size: 12px;
    font-weight: 600;
}

.thumbs-badge {
    background: #4ecdc4;
}

.service-detail-icon {
    margin-bottom: 30px;
}

.service-detail-card h3 {
    font-size: 20px;
    margin-bottom: 15px;
    color: #2c3e50;
}

.service-detail-card p {
    color: #666;
    line-height: 1.6;
    margin-bottom: 25px;
}

.learn-more {
    color: #333;
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
    transition: color 0.3s ease;
}

.learn-more:hover {
    color: #ff6b6b;
}

/* Team Section */
.team {
    padding: 100px 0;
    background: #f8f9ff;
}

.explore-link {
    color: #666;
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
    letter-spacing: 1px;
    display: flex;
    align-items: center;
    gap: 10px;
    transition: color 0.3s ease;
}

.explore-link:hover {
    color: #ff6b6b;
}

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

.team-member {
    text-align: center;
}

.member-image {
    aspect-ratio: 4/5;
    border-radius: 15px;
    overflow: hidden;
    margin-bottom: 25px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
}

.member-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.team-member:hover .member-image img {
    transform: scale(1.05);
}

.member-info h3 {
    font-size: 20px;
    color: #2c3e50;
    margin-bottom: 8px;
}

.member-info p {
    color: #666;
    font-size: 14px;
}

/* Stats Section */
.stats {
    padding: 100px 0;
    background: #fff;
}

.stats-subtitle {
    text-align: center;
    color: #ff6b6b;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 2px;
    margin-bottom: 60px;
    text-transform: uppercase;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
}

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

.stat-number {
    font-size: 48px;
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 15px;
    line-height: 1;
}

.stat-item:nth-child(1) .stat-number {
    color: #4ecdc4;
}

.stat-item:nth-child(2) .stat-number {
    color: #45b7d1;
}

.stat-item:nth-child(3) .stat-number {
    color: #f39c12;
}

.stat-item:nth-child(4) .stat-number {
    color: #e74c3c;
}

.stat-item:nth-child(5) .stat-number {
    color: #4ecdc4;
}

.stat-item:nth-child(6) .stat-number {
    color: #45b7d1;
}

.stat-item:nth-child(7) .stat-number {
    color: #f39c12;
}

.stat-item:nth-child(8) .stat-number {
    color: #e74c3c;
}

.stat-item p {
    color: #666;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
}

/* Testimonials Section */
.testimonials {
    padding: 100px 0;
    background: #f8f9ff;
    position: relative;
}

.testimonials-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 80px;
    margin-bottom: 40px;
}

.testimonial-image {
    position: relative;
    border-radius: 50%;
    width: 300px;
    height: 300px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
    margin: 0 auto;
}

.testimonial-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.testimonial-badge {
    position: absolute;
    bottom: 20px;
    right: 20px;
    background: white;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.testimonial-subtitle {
    color: #ff6b6b;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 2px;
    margin-bottom: 30px;
    text-transform: uppercase;
}

.testimonials blockquote {
    font-size: 24px;
    line-height: 1.4;
    color: #2c3e50;
    margin-bottom: 40px;
    font-style: italic;
}

.testimonial-author h4 {
    font-size: 16px;
    color: #2c3e50;
    margin-bottom: 5px;
}

.testimonial-author p {
    color: #666;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 1px;
}

.testimonial-navigation {
    display: flex;
    justify-content: center;
    gap: 20px;
}

/* Clients Section */
.clients {
    padding: 60px 0;
    background: #fff;
}

.clients-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 40px;
    align-items: center;
}

.client-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0.6;
    transition: opacity 0.3s ease;
}

.client-logo:hover {
    opacity: 1;
}

.client-logo img {
    max-height: 40px;
    width: auto;
    filter: grayscale(100%);
    transition: filter 0.3s ease;
}

.client-logo:hover img {
    filter: grayscale(0%);
}

/* CTA Section */
.cta {
    padding: 100px 0;
    background: #f8f9ff;
}

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

.cta-left h2 {
    font-size: 48px;
    color: #2c3e50;
    margin-bottom: 20px;
    line-height: 1.1;
}

.cta-left p {
    font-size: 18px;
    color: #666;
    line-height: 1.6;
}

.cta-character {
    width: 200px;
    height: 300px;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
}

.cta-character img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.contact-info {
    margin-bottom: 30px;
}

.contact-info p {
    color: #666;
    font-size: 14px;
    margin-bottom: 5px;
}

.contact-info h3 {
    font-size: 20px;
    color: #2c3e50;
}

/* Newsletter Section */
.newsletter {
    padding: 60px 0;
    background: #fff;
}

.newsletter-form {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 30px;
}

.newsletter-form input {
    padding: 15px 25px;
    border: 1px solid #ddd;
    border-radius: 30px;
    font-size: 16px;
    width: 300px;
    outline: none;
    transition: border-color 0.3s ease;
}

.newsletter-form input:focus {
    border-color: #ff6b6b;
}

.newsletter-form button {
    padding: 15px 30px;
    background: #ff6b6b;
    color: white;
    border: none;
    border-radius: 30px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 10px;
}

.newsletter-form button:hover {
    background: #e55555;
    transform: translateY(-1px);
}

.newsletter-links {
    display: flex;
    justify-content: center;
    gap: 40px;
}

.newsletter-links a {
    color: #666;
    text-decoration: none;
    font-size: 14px;
    transition: color 0.3s ease;
}

.newsletter-links a:hover {
    color: #ff6b6b;
}

/* Footer */
.footer {
    padding: 80px 0 40px;
    background: #F8F9FF;
    color: white;
}

.footer-content {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 80px;
}

.footer-brand p {
    color: #DDDDDD;
    line-height: 1.6;
    margin: 20px 0 30px;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 20px;
}

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

.social-link {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    color: white;
    font-weight: 600;
    transition: all 0.3s ease;
}

.social-link:hover {
    background: #ff6b6b;
    transform: translateY(-2px);
}

.footer-links {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
}

.footer-column h4 {
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 1px;
    margin-bottom: 20px;
    color: #ff6b6b;
}

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

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

.footer-column a {
    color: #666;
    text-decoration: none;
    font-size: 17px;
    transition: color 0.3s ease;
}

.footer-column a:hover {
    color: #DDDDDD;
}

/* Responsive Design */
@media (max-width: 1024px) {

    .hero-content,
    .solutions-content,
    .testimonials-content {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }

    .hero-title {
        font-size: 48px;
    }

    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .case-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .services-detail-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .team-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .clients-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .cta-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
}

@media (max-width: 768px) {

    .nav-menu,
    .nav-right {
        display: none;
    }

    .mobile-menu-toggle {
        display: flex;
    }

    .hero {
        padding: 120px 0 60px;
    }

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

    .services-grid,
    .case-grid,
    .services-detail-grid,
    .team-grid,
    .stats-grid {
        grid-template-columns: 1fr;
    }

    .clients-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .section-header {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .footer-links {
        grid-template-columns: repeat(2, 1fr);
    }

    .newsletter-form {
        flex-direction: column;
        align-items: center;
    }

    .newsletter-form input {
        width: 100%;
        max-width: 300px;
    }

    .newsletter-links {
        flex-direction: column;
        gap: 20px;
    }

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

    .slide-text {
        padding: 40px;
        text-align: center;
    }

    .slide-text h2 {
        font-size: 36px;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }

    .hero-title {
        font-size: 28px;
    }

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

    .btn {
        width: 100%;
    }

    .footer-links {
        grid-template-columns: 1fr;
    }

    .stat-number {
        font-size: 36px;
    }

    .testimonials blockquote {
        font-size: 20px;
    }

    .cta-left h2 {
        font-size: 32px;
    }
}

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

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

.slide-in-left {
    opacity: 0;
    transform: translateX(-50px);
    transition: all 0.6s ease;
}

.slide-in-left.active {
    opacity: 1;
    transform: translateX(0);
}

.slide-in-right {
    opacity: 0;
    transform: translateX(50px);
    transition: all 0.6s ease;
}

.slide-in-right.active {
    opacity: 1;
    transform: translateX(0);
}

/* Smooth scrolling */
html {
    scroll-behavior: smooth;
}

/* Loading animation */
@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

.loading {
    animation: spin 1s linear infinite;
}

/* Cache control for images */
img {
    max-width: 100%;
    height: auto;
}