* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Arial', sans-serif;
    overflow-x: hidden;
    scroll-behavior: smooth;
}

.fullscreen-section {
    height: 100vh;
    width: 100%;
    position: relative;
    overflow: hidden;
    scroll-snap-align: start;
    transition: opacity 0.8s ease-in-out;
    opacity: 1;
}

.horizontal-container {
    width: 200%;
    height: 100%;
    display: flex;
    transition: transform 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.subsection {
    width: 50%;
    height: 100vh;
    position: relative;
    overflow: hidden;
}

.subsection .image-container {
    width: 100%;
    height: 100%;
}

.horizontal-container.slide-right {
    transform: translateX(-50%);
}

.fullscreen-section.fade-out {
    opacity: 0;
}

.fullscreen-section.fade-in {
    opacity: 1;
}

.image-container {
    width: 100%;
    height: 100%;
    position: relative;
}

/* Background images for each section */
#section1 {
    background-image: url('../../assets/landing_image_1.svg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

#section2 .image-container {
    background-image: url('../../assets/landing_image_2.svg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    color: black;
}

#section3 {
    background-image: url('../../assets/landing_image_3.svg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.company-logo img {
    width: 120px;
    height: 120px;
    filter: drop-shadow(0 10px 30px rgba(0, 0, 0, 0.3));
}

#section3 .subsection .image-container {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
}

#section3 .horizontal-container {
    width: 200%;
    height: 100%;
    display: flex;
    transition: transform 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

#section3 .horizontal-container.slide-left {
    transform: translateX(-50%);
}

/* Ensure both subsections are properly visible */
#section3 .subsection {
    width: 50%;
    height: 100vh;
    position: relative;
    overflow: hidden;
}

.section3-content {
    text-align: center;
    color: white;
    max-width: 800px;
}

.company-logo {
    margin-bottom: 3rem;
    display: flex;
    justify-content: center;
}

.company-logo svg {
    width: 120px;
    height: 120px;
    filter: drop-shadow(0 10px 30px rgba(0, 0, 0, 0.3));
}

@keyframes logoFloat {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
}

.section3-text h1 {
    font-size: 3.5rem;
    font-weight: 700;
    text-shadow: 2px 2px 20px rgba(0, 0, 0, 0.5);
    letter-spacing: 1px;
    line-height: 1.2;
    background: linear-gradient(135deg, #ffffff, #f8f9fa);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 2rem;
}

#section2 .image-container {
    background-image: url('../../assets/landing_image_2.svg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
}

.section2-layout {
    width: 100%;
    max-width: 1400px;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.section2-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    width: 100%;
    padding: 4rem;
}

.section2-image {
    display: flex;
    justify-content: center;
    align-items: center;
    background: linear-gradient(135deg, #f8f9fa, #e9ecef);
    border-radius: 20px;
    padding: 3rem;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.8);
}

.section2-image img {
    max-width: 100%;
    height: auto;
    filter: drop-shadow(0 10px 20px rgba(0, 0, 0, 0.1));
}

.section2-text {
    color: #2d3748;
}

.section2-text h1 {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.services-description {
    font-size: 1.3rem;
    line-height: 1.6;
    color: #4a5568;
    margin-bottom: 2.5rem;
    font-weight: 300;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.service-item {
    background: linear-gradient(135deg, #f7fafc, #edf2f7);
    padding: 1.5rem;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.8);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.service-icon {
    font-size: 2rem;
    margin-bottom: 1rem;
    background: grey;
    background-size: 200% 200%;
    animation: gradientShift 3s ease infinite;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

@keyframes gradientShift {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

.service-item h3 {
    font-size: 1.1rem;
    font-weight: 600;
    color: #2d3748;
}

/* Contact section styling */
#contact-section {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
}

.contact-container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
}

.contact-content {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    padding: 3rem;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.contact-header {
    text-align: center;
    margin-bottom: 3rem;
}

.contact-header h1 {
    font-size: 3.5rem;
    font-weight: 700;
    color: #2d3748;
    margin-bottom: 1rem;
}

.contact-header p {
    font-size: 1.2rem;
    color: #718096;
    font-weight: 300;
}

.contact-info {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-bottom: 3rem;
}

.contact-card {
    background: linear-gradient(135deg, #f7fafc, #edf2f7);
    padding: 2rem;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.8);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    min-width: 200px;
}

.contact-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.contact-icon {
    width: 50px;
    height: 50px;
    margin: 0 auto 1rem;
    background: grey;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
}

.contact-icon svg {
    width: 24px;
    height: 24px;
}

.contact-card h3 {
    font-size: 1.3rem;
    color: #2d3748;
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.contact-card p {
    color: #4a5568;
    font-weight: 500;
    font-size: 1rem;
}

.contact-form {
    max-width: 600px;
    margin: 0 auto;
}

.form-group {
    margin-bottom: 1.5rem;
    display: flex;
    gap: 1rem;
}

.form-group input,
.form-group textarea {
    flex: 1;
    padding: 1rem 1.5rem;
    border: 2px solid #e2e8f0;
    border-radius: 10px;
    font-size: 1rem;
    transition: all 0.3s ease;
    background: #f7fafc;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #667eea;
    background: white;
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.submit-btn {
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: white;
    border: none;
    padding: 1rem 3rem;
    border-radius: 50px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: block;
    margin: 2rem auto 0;
    box-shadow: 0 10px 25px rgba(102, 126, 234, 0.3);
}

.submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 15px 35px rgba(102, 126, 234, 0.4);
}

.content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    color: white;
    z-index: 10;
}

.content h1 {
    font-size: 3rem;
    font-weight: bold;
    text-shadow: 2px 2px 10px rgba(0, 0, 0, 0.3);
    letter-spacing: 2px;
}



/* Responsive design */
@media (max-width: 768px) {
    .content h1 {
        font-size: 2rem;
    }
    
    .section2-content {
        grid-template-columns: 1fr;
        gap: 2rem;
        padding: 2rem;
        text-align: center;
    }
    
    .section2-text h1 {
        font-size: 2.5rem;
    }
    
    .services-description {
        font-size: 1.1rem;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .section3-text h1 {
        font-size: 2.5rem;
    }
    
    .company-logo svg {
        width: 100px;
        height: 100px;
    }
    
    .company-logo img {
        width: 100px;
        height: 100px;
    }
    
    .contact-content {
        padding: 2rem;
    }
    
    .contact-header h1 {
        font-size: 2.5rem;
    }
    
    .contact-info {
        flex-direction: column;
        gap: 1.5rem;
    }
    
    .contact-card {
        min-width: auto;
    }
    
    .form-group {
        flex-direction: column;
    }
    
    .submit-btn {
        width: 100%;
    }
}

@media (max-width: 480px) {
    .content h1 {
        font-size: 1.5rem;
    }
    
    .section2-layout {
        padding: 1rem;
    }
    
    .section2-content {
        padding: 1.5rem;
    }
    
    .section2-text h1 {
        font-size: 2rem;
    }
    
    .services-description {
        font-size: 1rem;
    }
    
    .section2-image {
        padding: 2rem;
    }

    .services-grid{
        display: none;
    }
    
    .section3-text h1 {
        font-size: 2rem;
    }
    
    .company-logo svg {
        width: 80px;
        height: 80px;
    }
    
    .company-logo img {
        width: 80px;
        height: 80px;
    }
    
    #contact-section {
        padding: 1rem;
    }
    
    .contact-content {
        padding: 1.5rem;
    }
    
    .contact-header h1 {
        font-size: 2rem;
    }
    
    .contact-header p {
        font-size: 1rem;
    }
    
    .contact-card {
        padding: 1.5rem;
    }
}
