/* Global styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html{
    scroll-behavior: smooth;
}

body {
    font-family: 'Arial', sans-serif;
    color: #333;
    line-height: 1.6;
}

section {
    padding: 60px 20px;
    text-align: center;
}

h1, h2, h3 {
    color: #333;
}

i {
    margin-left: 8px;
}

/* Hero Section */
.hero {
    background-image: url('../images/4.png');
    background-size: contain;
    background-position-x: right;
    color: white;
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
}

.back_image{
    background-image: linear-gradient( 100deg,  #000851 0.7%, #494cd4 54.5%, rgba(254,235,151,1) 55.5%,rgba(254,235,151,0.1) 56.5%, rgba(65,239,164,0) 100.6% );
    height: 100vh;
    width: 100%;
    display: flex;
    justify-content: left;
    align-items: center;
}

.hero-content h1 {
    font-family: cursive;
    font-size: 3rem;
    color: chartreuse;
}

.hero-content p {
    margin: 20px 60px;
    font-size: 1.2rem;
}

.btn {
    padding: 10px 20px;
    background-color: #61dafb;
    color: #282c34;
    text-decoration: none;
    font-weight: bold;
    border-radius: 5px;
}

.btn:hover {
    background-color: #21a1f1;
}

/* Step Sections */
.step {
    background-color: #f4f4f4;
    margin: 0px 0;
    padding: 40px 20px;
    max-width: 100vw;
    overflow-x: hidden;
}

.container {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
}

.container.reverse {
    flex-direction: row-reverse;
}

.text {
    flex: 1;
    padding: 20px;
}

.image {
    flex: 1;
    padding: 20px;
}

.image img {
    max-width: 100%;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1), 0 6px 20px rgba(0, 0, 0, 0.1);
}

.image-container {
    position: relative;
    width: 600px; /* Adjust to the size you need */
    height: 400px;
    overflow: hidden;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1), 0 6px 20px rgba(0, 0, 0, 0.1);
}

.image1, .image2, .image3, .image4, .image5 {
    position: absolute;
    width: 100%;
    height: 100%;
    background-size: contain;
    background-position: center;
}
  
  /* First image with an oblique cut */
.image1 {
    background-image: url('../images/AI0A1486.jpg'); /* Replace with your image */
    clip-path: polygon(0 0, 55% 0, 45% 100%, 0% 100%);
}
  
  /* Second image with the inverse cut */
.image2 {
    background-image: url('../images/AI0A1421.jpg'); /* Replace with your image */
    clip-path: polygon(30% 0, 100% 0, 100% 100%, 20% 100%);
    transform: translate(25%);
}

.image3 {
    background-image: url('../images/IMG_9688.JPG'); /* Replace with your image */
    clip-path: polygon(0 0, 42% 0, 42% 100%, 0% 100%);
    background-position: left;
}
  
.image4{
    background-image: url('../images/IMG_9689.JPG'); /* Replace with your image */
    clip-path: polygon(17% 0, 100% 0, 100% 100%, 17% 100%);
    transform: translate(25%);
}


/* Skills Grid */
.skills-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 20px;
}

.skill {
    padding: 20px;
    background-color: #282c34;
    color: white;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1), 0 6px 20px rgba(0, 0, 0, 0.1);
}

.video {
    flex: 1;
    padding: 20px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.video iframe {
    max-width: 100%;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1), 0 6px 20px rgba(0, 0, 0, 0.1);
}

/* Contact Section */
.contact {
    background-color: #7ed6ea;
    color: white;
}

footer {
    background: #282c34;
    color: white;
    text-align: center;
    padding: 10px 0;
}

/* Responsive Design for Tablets and Smaller Devices */
@media (max-width: 768px) {
    /* Adjust the layout to stack vertically on smaller screens */
    .container {
        flex-direction: column;
    }

    .text {
        text-align: center;
        padding: 10px;
    }

    .back_image{
        background-image: linear-gradient( 100deg,  #000851 0.7%, #494cd4 100.6% );
    }    

    .image-container {
        position: relative;
        width: 300px; /* Adjust to the size you need */
        height: 200px;
        overflow: hidden;
        border-radius: 10px;
        box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1), 0 6px 20px rgba(0, 0, 0, 0.1);
    }

    .container.reverse {
        flex-direction: column;
    }

    iframe{
        width: 300px; /* Adjust to the size you need */
        height: 200px;
    }

    .image, .video {
        padding: 10px;
    }

    .hero-content h1 {
        font-size: 2.5rem;
    }

    .hero-content p {
        font-size: 1rem;
    }

    .btn {
        padding: 8px 16px;
    }
}

/* Responsive Design for Mobile Devices */
@media (max-width: 480px) {
    /* Further adjust for smaller mobile screens */
    .hero-content h1 {
        font-size: 2rem;
    }

    .hero-content p {
        font-size: 0.9rem;
    }

    .btn {
        padding: 6px 12px;
    }

    section {
        padding: 40px 10px;
    }

    .skills-grid {
        grid-template-columns: 1fr; /* Stack skills on mobile */
    }

    .step {
        padding: 20px 10px;
    }
}