@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@200;300;400;500;600;700;800;900&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
}

:root {
    --color: rgb(255 224 232);
    --white: #fff;
}

/* Prevent horizontal scrolling */
html, body {
    overflow-x: hidden;
}

/* Fixed Navbar */
nav {
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    position: fixed;
    display: flex;
    padding: 10px 2%;
    justify-content: space-between;
    align-items: center;
    background-color: white;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

/* Logo Styling */
nav img {
    width: 120px;
}

/* Navigation Links */
.nav-links {
    text-align: right;
    color: black;
}

.nav-links ul li {
    list-style: none;
    display: inline-block;
    padding: 8px 12px;
    position: relative;
}

.nav-links ul li a {
    color: black;
    text-decoration: none;
    font-size: 18px;
}

.nav-links ul li:hover::after {
    content: '';
    width: 100%;
    height: 2px;
    background: black;
    display: block;
    margin: auto;
    transition: 0.5s;
}

/* Show/hide the hamburger icon for small screens */
.nav .fa {
    display: none;
}

/* Media Query for Small Screens */
@media (max-width: 700px) {
    .nav .fa {
        display: block;
        font-size: 30px;
        cursor: pointer;
        color: black;
    }

    .nav-links {
        position: fixed;
        background: white;
        height: 100vh;
        width: 200px;
        top: 0;
        right: -200px;
        text-align: left;
        z-index: 2;
        transition: 1s;
    }

    .nav-links ul {
        padding: 30px;
    }

    .nav-links ul li {
        display: block;
    }
}

/* Location Cards */
.location-cards {
    display: flex;
    justify-content: center;
    gap: 40px;
    margin: 50px auto;
    flex-wrap: wrap;
    padding: 20px;
}

.location-cards .card {
    background: rgb(79 83 97);
    color: white;
    padding: 30px 25px;
    border-radius: 15px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.2);
    width: 300px;
    text-align: left;
    transition: 0.3s;
}

.location-cards .card:hover {
    transform: translateY(-8px);
    box-shadow: 0 8px 16px rgba(0,0,0,0.3);
}

.location-cards .card h3 {
    font-size: 24px;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--color);
}

.location-cards .card p {
    font-size: 16px;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.location-cards .card ion-icon {
    font-size: 22px;
    color: var(--color);
}

/* Responsive */
@media (max-width: 768px) {
    .location-cards {
        flex-direction: column;
        align-items: center;
    }
}

/* Contact Map */
.contact-map iframe {
    margin: 20px;
    width: 57%;
    position: relative;
    min-height: 60vh;
    left: 20%;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2),
                0 6px 20px rgba(0, 0, 0, 0.19);
    border-radius: 20px;
}

/* Contact Form Section */
.contactUs {
    width: auto;
    padding: 40px 100px;
}

.title {
    width: fit-content;
    justify-self: center;
    border-bottom: solid;
    margin: 0 auto;
}

.title h2 {
    color: #1a0000;
    font-weight: 500;
    font-size: 50px;
    margin-bottom: 10px;
    padding-top: 180px;
}

.contact {
    padding: 40px 40px 20px 40px;
    background: rgb(79 83 97);
    box-shadow: 0 5px 35px rgba(0, 0, 0, 0.15);
}

.box {
    margin-top: 20px;
    width: auto;
    padding: 40px 100px;
}

.contact h3 {
    color: var(--white);
    font-weight: 500;
    font-size: 1.4em;
    margin-bottom: 10px;
}

/* Form */
.formBox {
    position: relative;
    width: 100%;
}

.formBox .row50 {
    display: flex;
    gap: 20px;
}

.inputBox {
    display: flex;
    flex-direction: column;
    margin-bottom: 10px;
    width: 50%;
}

.formBox .row100 .inputBox {
    width: 100%;
}

.hero-btn {
    display: inline-block;
    color: black;
    border: 1px solid var(--white);
    padding: 18px 42px;
    font-size: 17px;
    border-radius: 10px;
    background: white;
    width: fit-content;
    cursor: pointer;
    margin-top: 30px;
}

.hero-btn:hover {
    background: #e8e3e4;
    transition: 0.25s;
    color: black;
}

.inputBox span {
    color: white;
    margin-top: 10px;
    margin-bottom: 5px;
    font-weight: 500;
}

.inputBox input,
.inputBox textarea {
    padding: 10px;
    font-size: 1.1em;
    outline: none;
    border: 1px solid #333;
    border-radius: 10px;
    resize: vertical;
}

.inputBox input {
    min-height: 60px;
    margin-bottom: 10px;
}

.inputBox textarea {
    min-height: 60px;
}

.inputBox input[type="submit"] {
    background: white;
    color: black;
    border: none;
    max-width: 120px;
    font-weight: 500;
    cursor: pointer;
    margin-top: 19px;
    border-radius: 28px;
    padding: 14px 15px;
}

.inputBox ::placeholder {
    color: #999;
}

/* Info Section */
.contact_info {
    place-self: center;
    width: fit-content;
    display: flex;
    gap: 20px;
}

.contact_info h3 {
    color: #fff;
    padding: 15px;
    font-size: 25px;
    text-align: center;
}

.infoBox {
    padding: 39px;
    background: rgb(79 83 97);
    font-size: 18px;
    width: 28%;
    margin-left: 165px;
}

.contact_info .infoBox div p {
    color: #fff;
    font-size: 1.1em;
}

.sci {
    margin-top: 40px;
    display: flex;
}

.sci li {
    list-style: none;
    margin-right: 15px;
}

.sci li a {
    color: #fff;
    font-size: 40px;
}

.sci li a:hover {
    font-size: 45px;
}

.contact_info a,
.contact_info p {
    color: white;
}

.contact_info ion-icon {
    color: white;
    font-size: 25px;
    margin-top: 11px;
}

/* Responsive Design */
@media(max-width: 768px) {
    body {
        background: rgb(79 83 97);
    }
    .contactUs {
        padding: 20px;
    }
    .box {
        display: grid;
        grid-template-columns: 1fr;
        grid-template-rows: auto;
        grid-template-areas:
            "form"
            "info"
            "map";
    }
    .formBox .row50 {
        flex-direction: column;
        gap: 0;
    }
    .inputBox {
        width: 100%;
    }
    .contact {
        padding: 30px;
    }
    .map {
        min-height: 300px;
        padding: 0;
    }
    .contact-map iframe {
        width: 90%;
        height: 250px;
        margin: 20px auto;
        display: block;
        position: static;
        border-radius: 20px;
        box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2),
                    0 6px 20px rgba(0, 0, 0, 0.19);
    }
    .title h2 {
        font-size: 36px;
        padding-top: 100px;
        color: white;
    }
}

@media(max-width: 600px) {
    .title h2 {
        font-size: 30px;
        padding-top: 150px;
    }
    .contactUs,
    .box,
    .contact {
        padding: 20px;
    }
    .formBox .row50 {
        flex-direction: column;
    }
    .inputBox {
        width: 100%;
    }
    .hero-btn {
        width: 100%;
    }
    .contact-map iframe {
        width: 90%;
        height: 220px;
        margin: 20px auto;
        display: block;
        position: static;
    }
}

/* Footer */
.custom-footer {
  background: linear-gradient(to bottom right, #111827, #1f2937);
  color: white;
  padding: 60px 20px;
  margin-top: 80px;
  font-family: 'Poppins', sans-serif;
}

.footer-grid {
  display: grid;
  gap: 40px;
  max-width: 1280px;
  margin: 0 auto;
  text-align: center;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
}

.footer-block h3 {
  font-size: 20px;
  font-weight: bold;
  margin-bottom: 20px;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
}

.footer-block ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-block li {
  margin-bottom: 12px;
  color: rgba(255, 255, 255, 0.9);
  font-size: 15px;
}

.footer-block a {
  text-decoration: none;
  color: rgba(255, 255, 255, 0.9);
  transition: color 0.3s ease;
}

.footer-block a:hover {
  color: #ffffff;
}

.social-icons {
  display: flex;
  justify-content: center;
  gap: 24px;
  font-size: 28px;
  margin-top: 15px;
}

.social-icons a {
  transition: color 0.3s ease;
}

.social-icons a.facebook { color: #3b82f6; }
.social-icons a.linkedin { color: #60a5fa; }
.social-icons a.meta     { color: #ffffff; }
.social-icons a.instagram { color: #f472b6; }

.social-icons a:hover {
  color: #ffffff;
}
