/* ================= GLOBAL RESET ================= */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: Arial, Helvetica, sans-serif;
}


html, body {
    overflow-x: hidden; 
    width: 100%;
    scroll-behavior: smooth;
}
/* ================= CONTACT PAGE ================= */

.contact-page {
    padding: 80px 8%;
    padding-top: 60px;
    background: #f7f9fc;
    padding-top: 100px !important;
}

.container {
    max-width: 1200px;
    margin: auto;
}

/* ================= TITLE ================= */

.contact-title {
    text-align: center;
    margin-bottom: 50px;
}

.contact-title h2 {
    font-size: 48px;
    font-weight: 800;
    background: linear-gradient(90deg, #0b63ce, #1dd1a1);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    position: relative;
    display: inline-block;
}

.contact-title h2::after {
    content: "";
    width: 100px;
    height: 5px;
    background: linear-gradient(90deg, #0b63ce, #1dd1a1);
    position: absolute;
    left: 19%;
    bottom: -15px;
    transform: translateX(-50%);
    border-radius: 5px;
}

/* ================= CONTAINER ================= */

.contact-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 35px;
    align-items: start;
}

/* ================= CONTACT INFO ================= */

.contact-info {
    display: grid;
    gap: 20px;
}

.info-card {
    background: white;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
    transition: .3s;
}

.info-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 25px rgba(0, 0, 0, 0.12);
}

.info-card h3 {
    margin-bottom: 8px;
    color: #0b63ce;
}

.info-card p {
    color: #555;
    line-height: 1.6;
}

/* ================= CONTACT FORM ================= */

.contact-form {
    background: white;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
}

.contact-form form {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 14px;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-size: 15px;
    outline: none;
}

.contact-form textarea {
    resize: vertical;
}

.contact-form button {
    background: #0b63ce;
    color: white;
    border: none;
    padding: 13px;
    font-size: 16px;
    cursor: pointer;
    border-radius: 6px;
    transition: .3s;
}

.contact-form button:hover {
    background: white;
    color: #0b63ce;
    border: 1px solid #0b63ce;
}

/* ================= MAP ================= */

.map-section {
    margin-top: 50px;
    width: 100%;
}

.map-section iframe {
    width: 100%;
    height: 380px;
    border: 0;
}

/* ================= RESPONSIVE ================= */

@media(max-width:768px) {

    .contact-page {
        padding: 60px 6%;
    }

    .contact-container {
        grid-template-columns: 1fr;
        gap: 25px;
    }

    .contact-form {
        padding: 25px;
    }

    .info-card {
        padding: 18px;
    }

    .map-section iframe {
        height: 300px;
    }

}

@media(max-width:480px) {

    .contact-page {
        padding: 50px 5%;
    }

    .contact-title {
        margin-bottom: 35px;
    }

    .contact-form {
        padding: 22px;
    }

    .contact-form input,
    .contact-form textarea {
        font-size: 14px;
        padding: 12px;
    }

    .map-section iframe {
        height: 260px;
    }

}

/* ================= FOOTER ================= */

.footer {
    background: #0f172a;
    color: #fff;
    padding: 70px 8% 25px;
    font-family: Arial, Helvetica, sans-serif;
}

.footer-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 50px;
}

/* headings */

.footer-col h3 {
    margin-bottom: 20px;
    color: #ff7a18;
    font-size: 20px;
}

.company h2 {
    color: white;
    margin-bottom: 15px;
}

.footer-col p {
    color: #cbd5e1;
    line-height: 1.7;
    font-size: 15px;
}

/* links */

.footer-col ul {
    list-style: none;
    padding: 0;
}

.footer-col ul li {
    margin-bottom: 12px;
}

.footer-col ul li a {
    text-decoration: none;
    color: #cbd5e1;
    font-size: 15px;
    transition: .3s;
    display: inline-block;
}

.footer-col ul li a:hover {
    color: #ff7a18;
    transform: translateX(6px);
}

/* social icons */

.social-icons {
    margin-top: 20px;
}

.social-icons a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    background: #1e293b;
    border-radius: 50%;
    margin-right: 10px;
    text-decoration: none;
    font-size: 16px;
    color: white;
    transition: .3s;
}

.social-icons a:hover {
    background: #ff7a18;
    transform: translateY(-3px);
}

/* bottom */

.footer-bottom {
    text-align: center;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    margin-top: 50px;
    padding-top: 18px;
    font-size: 14px;
    color: #94a3b8;
}

@media(max-width:600px) {

    .footer-container {
        text-align: center;

    }
}


/* ================= NAVBAR ================= */

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 8%;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: #0F172A;
    z-index: 1000;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    text-decoration: none;
}

.logo img {
    height: 35px;
}

.logo span {
    color: whitesmoke;
    font-size: 15px;
    font-weight: bold;
    letter-spacing: 1px;
}

/* MENU */

.nav-menu {
    display: flex;
    align-items: center;
    list-style: none;
    gap: 35px;
}

.nav-menu a {
    text-decoration: none;
    color: whitesmoke;
    font-weight: 500;
    font-size: 16px;
    position: relative;
    padding: 5px 0;
    transition: .35s;
}

.nav-menu a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -5px;
    width: 0%;
    height: 2px;
    background: white;
    transition: .35s;
}

.nav-menu a:hover {
    color: white;
    transform: scale(1.1);
}

.nav-menu a:hover::after {
    width: 100%;
}

.menu-toggle {
    display: none;
    font-size: 26px;
    cursor: pointer;
    color: whitesmoke;
    flex-direction: column;
    gap: 5px;
}

.nav-menu.active {
    display: flex;
}


.menu-toggle span {
    width: 26px;
    height: 3px;
    background: white;
    display: block;
    transition: 0.3s;
}

/* animation when active */

.menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px);
}


@media(max-width:768px) {

    .nav-menu {
        display: flex;
        flex-direction: column;
        position: absolute;
        top: 70px;
        right: -100%;
        width: 220px;
        background: #ff6600;
        padding: 25px;
        border-radius: 10px;
        box-shadow: 0 10px 25px rgba(0, 0, 0, .2);
        transition: 0.4s;
        gap:17px;
    }

    .nav-menu.active {
        right: 5%;
    }

    .menu-toggle {
        display: flex;
    }

    .nav-menu a {
        color: white;
    }

}

