@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    max-width: 100vw;
}

html,
body {
    overflow-x: hidden;
}

body {
    font-family: 'Poppins', sans-serif;
    background-image:
        linear-gradient(135deg, rgba(46, 60, 80, 0.9), rgba(44, 62, 100, 0.9)),
        url('Images/header.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    min-height: 100vh;
}

.about {
    font-family: 'Poppins', sans-serif;
    background-image:
        linear-gradient(135deg, rgba(46, 60, 80, 0.9), rgba(44, 62, 100, 0.9)),
        url('Images/sv2.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    min-height: 100vh;
}

.sv {
    font-family: 'Poppins', sans-serif;
    background-image:
        linear-gradient(135deg, rgba(46, 60, 80, 0.9), rgba(44, 62, 100, 0.9)),
        url('Images/sv.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    min-height: 100vh;
}

@media (max-width: 768px) {
    .sv {
        font-family: 'Poppins', sans-serif;
        background-image:
            linear-gradient(135deg, rgba(46, 60, 80, 0.9), rgba(44, 62, 100, 0.9)),
            url('Images/mobsv.jpg');
        background-size: cover;
        background-position: center;
        background-repeat: no-repeat;
        min-height: 100vh;
    }

    .about {
        font-family: 'Poppins', sans-serif;
        background-image:
            linear-gradient(135deg,  rgba(29, 37, 49, 0.9), rgba(44, 62, 100, 0.9)),
            url('Images/mobabt.jpg');
        background-size: cover;
        background-position: center;
        background-repeat: no-repeat;
        min-height: 100vh;

    }

    body {
        font-family: 'Poppins', sans-serif;
        background-image:
            linear-gradient(135deg,   rgba(29, 37, 49, 0.9), rgba(44, 62, 100, 0.9)),
            url('Images/mobheader.jpg');
        background-size: cover;
        background-position: center;
        background-repeat: no-repeat;
        min-height: 100vh;
    }



}


header {
    padding: 1.7rem 1rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 80%;
    margin: auto;
    background-color: transparent;
}

.logo a {
    text-decoration: none;
}

nav a {
    color: #fff;
    text-decoration: none;
    font-size: 0.97rem;
    font-weight: 600;
    letter-spacing: 0.7px;
    padding: 0.4rem 1rem;
}

nav a.active,
nav a:hover {
    color: #d69200;
    border-radius: 1rem;
    transition: all 0.3s ease-in-out;
}

#click {
    display: none;
}

.menu {
    display: none;
    font-size: 1.5rem;
    font-weight: bold;
    color: #d69200;
}

section {
    margin: 2rem 8.5rem;
}

.main {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    margin: 5rem auto;
}

.main h1 {
    font-size: 2.5rem;
    font-weight: 600;
    color: #fff;
}

.main h1 span:nth-child(1) {
    font-size: 1.5rem;
}

.main p {
    margin-top: 1rem;
    font-size: 0.98rem;
    color: #fff;
}

.social {
    display: flex;
    flex-wrap: wrap;
    gap: 1.4rem;
    margin-top: -0.1rem;
}

.social a {
    color: #d69200;
    font-size: 1rem;
    border: 1.6px solid #d69200;
    border-radius: 50%;
    padding: 0.4rem;
    text-align: center;
    width: 2.2rem;
    height: 2.2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;

}
.images {
  background-repeat: no-repeat;
  background-position: 0 -95px;
  width: 528px;
  background-size: cover;
  opacity: 0;
}

/* Only animate when .animate class is present */
.images.animate {
  animation: slideInScaleFade 1.5s ease-out forwards;
}


@keyframes slideInScaleFade {
  0% {
    transform: scale(0.9);
    opacity: 0;
  }
  100% {
    transform: scale(1);
    opacity: 1;
  }
} 



.images:hover {
    background-position: 0 0;
}

@media (max-width: 768px) {
    header {
        padding: 0.7rem 1rem;
        max-width: 100%;
    }

    .menu {
        display: block;
    }

    nav {
        position: absolute;
        display: grid;
        top: 75px;
        text-align: center;
        background: linear-gradient(135deg, #1F252E, #2C3E50);
        left: -100%;
        z-index: 1;
        width: 100%;
    }

    #click:checked~nav {
        left: 0%;
        transition: all 0.3s ease;
    }

    section {
        margin: 1rem 1.5rem;
        text-align: center;
    }

    .main h1 {
        font-size: 1.9rem;
    }

    .main h1 span:nth-child(1) {
        font-size: 1rem;
    }

    .main p {
        font-size: 0.7rem;
    }

    .images {
        margin-top: 25px;
    }

    
}

.info-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
    gap: 1.5rem;
    width: 100%;
    margin-top: 3rem;
}

.info-card {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 1rem;
    padding: 1.5rem;
    color: #fff;
    backdrop-filter: blur(8px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;

    /* Animation */
    opacity: 0;
    transform: translateY(30px);
    animation: fadeSlideUp 0.2s ease forwards;
}

/* Keyframes */
@keyframes fadeSlideUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.info-card h3 {
    color: #d69200;
    margin-bottom: 0.75rem;
    font-size: 1.25rem;
}

.info-card p {
    font-size: 0.95rem;
    line-height: 1.5;
}

.info-card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.25), 0 0 10px rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.25);
}


@media (max-width: 768px) {
    .info-cards {
        grid-template-columns: 1fr;
        gap: 0.70rem;
        padding: 0 0.5rem;
    }


    .info-card {
        padding: 0.75rem;
        border-radius: 10px;
    }

    .info-card h3 {
        font-size: 0.95rem;
        margin-bottom: 0.5rem;
    }

    .info-card p {
        font-size: 0.85rem;
        line-height: 1.4;
    }

    .main {
        margin: 1rem auto 2rem;
        flex-direction: column;
        align-items: stretch;
    }

    .images {
        width: 100%;
        background-position: center;
    }
}


.view-more-btn {
    display: inline-block;
    margin-top: 1rem;
    padding: 0.5rem 1.2rem;
    background-color: #d69200;
    color: #fff;
    border: none;
    border-radius: 2rem;
    text-decoration: none;
    font-weight: 600;
    transition: background-color 0.3s ease, transform 0.2s ease;
}

.view-more-btn:hover {
    background-color: #b67c00;
    transform: scale(1.05);
}

.contact-container {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    background: rgba(255, 255, 255, 0.164);
    padding: 2rem;
    border-radius: 1rem;
    backdrop-filter: blur(8px);
    color: #fff;
    max-width: 1100px;
    width: 100%;
    gap: 2rem;
    margin-top: -40px;
}

.contact-info {
    flex: 1 1 40%;
    min-width: 280px;
}

.contact-form {
    flex: 1 1 50%;
    min-width: 300px;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.contact-form input,
.contact-form textarea {
    padding: 0.75rem 1rem;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.568);
    color: #000000;
    font-size: 1rem;
}

.contact-form textarea {
    resize: vertical;
    min-height: 120px;
}

.contact-form button {
    background-color: #d69200;
    color: #fff;
    padding: 0.8rem 1.5rem;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    cursor: pointer;
    transition: background 0.3s ease;
}

.contact-form button:hover {
    background-color: #c17d00;
}

@media (max-width: 768px) {
    .contact-container {
        flex-direction: column;
        align-items: center;
        text-align: center;
        padding: 1rem;
        margin-top: 10px;
    }

    .contact-info,
    .contact-form {
        width: 100%;
        max-width: 400px;
        margin-bottom: 1.5rem;
    }

    .contact-form {
        align-items: center;
    }

    .contact-form input,
    .contact-form textarea,
    .contact-form button {
        width: 100%;
        font-size: 0.9rem;
        padding: 0.6rem 0.8rem;
    }

    .contact-form textarea {
        height: 120px;
    }

    .contact-form button {
        font-size: 0.95rem;
        padding: 0.6rem 1rem;
    }
}