/* ================== Global Styles ================== */
* {
    margin: 0;
    padding: 0;
    font-family: 'Poppins', sans-serif;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 200px;
}

/* ================== NAVBAR ================== */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
}

.heading {
    margin-top: 110px;
}

.navbar {
    height: 35px;
    width: 100%;
    background: #004976;
    display: flex;
    align-items: center;
    color: #fff;
    font-size: 14px;
    font-family: 'Poppins', sans-serif;
    gap: 10px;
    border-bottom: 1px solid #000000;
}

#phone-icon {
    padding-left: 15px;
    font-size: 12px;
}

#envelope-icon {
    padding-left: 15px;
    font-size: 12px;
}

.mail-link {
    color: #fff;
    text-decoration: none;
}

#location-icon {
    padding-left: 25px;
    font-size: 12px;
}

#number {
    color: #fff;
    text-decoration: none;
    opacity: 2;
}

#phone-icon:hover,
#envelope-icon:hover,
.mail-link:hover,
#number:hover {
    opacity: 0.8;
}

.footer-social {
    text-align: center;
    margin: 20px 0;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
    margin-left: auto;
    padding-left: 0;
    font-size: 15px;
}

.footer-social a {
    color: #fff;
}

.footer-social a {
    color: white;
    transition: all 0.3s ease;
}

.footer-social a:hover {
    color: white;
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.8);
}

.nav {
    height: 80px;
    width: 100%;
    background: #00274D;
    color: #fff;
    display: flex;
    align-items: center;

}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    padding-left: 15px;
    font-size: 1.6rem;
    font-weight: 700;
    flex: 1;
    text-align: center;
    color: #ffb088;
}


.logo img {
    height: 70px;
    width: 70px;

}

#nav-links {
    display: flex;
    gap: 20px;
    padding-right: 15px;
}

#nav-links a {
    color: #fff;
    text-decoration: none;
    font-size: 15px;
    transition: all 0.3s ease;
}

#nav-links a:hover {
    color: #ffb088;
    text-shadow: 0 0 10px rgba(255, 176, 136, 0.8);
}

/* Hamburger menu (hidden by default) */
.hamburger {
    display: none;
    flex-direction: column;
    justify-content: space-around;
    width: 30px;
    height: 25px;
    cursor: pointer;
}

.hamburger div {
    width: 100%;
    height: 3px;
    background-color: #fff;
    border-radius: 10px;
    transition: all 0.3s linear;
}

/* ================== HERO ================== */
.heading {
    border-top: 4px solid #0088CC;
    background: #f4f6f9;
    padding: 20px;
}

/* 4-profile grid */
.hero-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
    margin-bottom: 20px;
}

.profile-card {
    background: #E6F0FF;
    padding: 20px;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    display: flex;
    flex-direction: column;
    align-items: center;
}

.profile-img {
    width: 98%;
    height: 379px;
    object-fit: cover;
    border-radius: 12px;
    margin-bottom: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.name-two {
    font-size: 1.3rem;
    font-weight: 600;
    margin-top: 10px;
}

.post {
    font-size: 1rem;
    color: #333;
    margin-bottom: 10px;
}

/* ================== ABOUT ================== */
#about {
    padding: 80px 15%;
    background: #f8fafc;
    text-align: left;
}

#about h2 {
    font-size: 2.2rem;
    font-weight: 700;
    color: #003366;
    margin-bottom: 20px;
}

#about p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #333;
}

/* ================== SERVICES ================== */
.service-card {
    text-align: center;
    padding: 1.5rem 1rem;
    font-size: 2rem;
    background: #002f5d;
    color: #ffb088;
    font-weight: bold;
    border-radius: 8px;
    margin: 2rem 0 1rem;
}

.services-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 20px;
    justify-items: center;
    padding: 0 20px;
}

.flip-card {
    display: none;
}



/* Button styling */
#toggleBtn {
    padding: 10px 20px;
    font-size: 1rem;
    border: 2px solid #002f5d;
    background: #fff;
    color: #002f5d;
    font-weight: bold;
    border-radius: 6px;
    cursor: pointer;
    transition: 0.3s;
}

#toggleBtn:hover {
    background: #002f5d;
    color: #fff;
}

.flip-card {
    background: transparent;
    width: 100%;
    max-width: 260px;
    height: 260px;
    perspective: 1000px;
}

.flip-card-inner {
    position: relative;
    width: 100%;
    height: 100%;
    transition: transform 0.6s;
    transform-style: preserve-3d;
}

.flip-card:hover .flip-card-inner {
    transform: rotateX(180deg);
}

.flip-card-front,
.flip-card-back {
    position: absolute;
    width: 100%;
    height: 100%;
    backface-visibility: hidden;
    border-radius: 12px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 10px;
    text-align: center;
}

.flip-card-front {
    background: linear-gradient(to bottom, #84bcd9, #b5dff0);
}

.flip-card-front img {
    width: 120px;
    height: 120px;
    object-fit: contain;
    margin-bottom: 10px;
}

.flip-card-front h4 {
    margin-top: 5px;
    font-size: 1.1rem;
    color: #003366;
}

.flip-card-back {
    background: linear-gradient(to bottom, #ffb088, #f29c92);
    transform: rotateX(180deg);
    color: #fff;
    font-size: 0.95rem;
    padding: 15px;
}

.plus-service {
    text-align: center;
    padding: 1rem;
    background: linear-gradient(to right, #84bcd9, #b5dff0);
    font-weight: bold;
    color: #003355;
    border-radius: 8px;
    margin-top: 1rem;
}

/* ================== GALLERY ================== */
.gallery-section {
    padding: 7rem 5%;
    background: #f4f6f9;
    text-align: center;
}

.gallery-section h2 {
    margin-bottom: 3.5rem;
    font-size: 2.8rem;
    font-weight: 700;
}

.slider-container {
    position: relative;
    width: 80%;
    margin: 0 auto;
    overflow: hidden;
    border-radius: 12px;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.slider-wrapper {
    display: flex;
    transition: transform 0.6s ease-in-out;
}

.slide {
    min-width: 100%;
    box-sizing: border-box;
}

.slide img {
    width: 100%;
    height: 550px;
    object-fit: cover;
    border-radius: 12px;
}

/* Buttons */
.prev,
.next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0, 0, 0, 0.6);
    color: white;
    border: none;
    padding: 12px;
    font-size: 24px;
    cursor: pointer;
    border-radius: 50%;
    transition: 0.3s;
}

.prev:hover,
.next:hover {
    background: rgba(0, 0, 0, 0.9);
}

.prev {
    left: 15px;
}

.next {
    right: 15px;
}

/* ================== FORM ================== */
input,
select {
    background-color: #d5f4fa;
    color: #3aaac4;
}

input:focus,
select:focus {
    background-color: #ffffff;
    border-color: #4309ff;
    box-shadow: 0 0 5px #c4a065;
}

.form-container {
    width: 80%;
    margin: auto;
    font-family: Arial, sans-serif;
    padding: 20px;
}

.form-container h2 {
    text-align: center;
    color: #003366;
}

.form-container p {
    text-align: center;
    margin-bottom: 20px;
}

.form-row {
    display: flex;
    gap: 20px;
    margin-bottom: 20px;
}

.form-group {
    flex: 1;
    display: flex;
    flex-direction: column;
}

label {
    margin-bottom: 8px;
    font-weight: bold;
}

input,
select {
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 6px;
}

/* Terms */
.form-group.terms {
    display: flex;
    align-items: center;
    gap: 8px;
}

.form-group.terms label {
    margin: 0;
    font-weight: normal;
}

.form-group.terms input[type="checkbox"] {
    margin: 0;
    transform: scale(1.2);
    cursor: pointer;
}

.submit-btn {
    width: 100%;
    background-color: #003366;
    color: white;
    padding: 12px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 16px;
    transition: background-color 0.3s ease;
    margin-top: 10px;
}

.submit-btn:hover {
    background-color: #08a9e3;
}

/* ================== FOOTER ================== */
.footer {
    display: grid;
    grid-template-columns: 1.2fr 1fr 1fr 1.5fr;
    gap: 40px;
    padding: 50px;
    background: #00274D;
    color: white;
    margin-top: 20px;
    border-bottom: #000000 solid 1px;
    height: 360px;
}

.footer-col h3 {
    margin-bottom: 30px;
    color: #ff8a65;

    position: relative;
}

.footer-col h3::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -8px;
    /* Controls gap */
    width: 70px;
    height: 2.5px;
    background: #ff8a65;
}



.footer-col ul {
    list-style: none;
    padding: 0;

}

.footer-col ul li {
    margin-bottom: 8px;

}

.footer-col ul li a {
    color: white;
    text-decoration: none;
}

.footer-col ul li a:hover {
    color: #00D4FF;
}

.footer-col p {
    display: flex;
    align-items: center;
    gap: 10px;

    margin-bottom: 20px;
}

.footer-col iframe {
    width: 100%;
    height: 300px;
    border: none;
    border-radius: 10px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
}

.footer-bottom {
    padding: 15px 20px;
    display: grid;
    justify-content: center;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    font-size: 13px;
    margin: 0;
    background: #00274D;
    color: white;
    font-family: 'Poppins', sans-serif;
    font-size: 14px;
}

.footer-bottom-1 {
    display: flex;
    justify-content: center;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    font-size: 13px;
    margin: 0;
    background: #00274D;
    color: white;
    font-family: 'Poppins', sans-serif;
    font-size: 14px;
}

/* ==========================
   Large TVs (1920px and up)
   ========================== */
@media (min-width: 1920px) {
    .hero-grid {
        max-width: 1800px;
        margin: auto;
    }

    .services-container {
        max-width: 1800px;
        margin: auto;
    }

    .footer {
        padding: 60px 120px;
    }
}

/* ==========================
   Desktop PCs (1400px - 1919px)
   ========================== */
@media (max-width: 1919px) {
    .hero-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

/* ==========================
   Large Laptops (1200px - 1399px)
   ========================== */
@media (max-width: 1399px) {
    .logo {
        font-size: 1.3rem;
    }

    .hero-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 15px;
    }

    .profile-img {
        height: 340px;
    }

    .footer {
        gap: 25px;
    }
}

/* ==========================
   Small Laptops (992px - 1199px)
   ========================== */
@media (max-width: 1199px) {

    .logo {
        font-size: 1.1rem;
    }

    #nav-links {
        gap: 12px;
    }

    .hero-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 10px;
    }

    .profile-card {
        padding: 10px;
    }

    .profile-img {
        height: 280px;
    }

    .name-two {
        font-size: 1rem;
    }

    .post {
        font-size: 0.85rem;
    }

    .footer {
        grid-template-columns: repeat(2, 1fr);
        height: auto;
    }
}

/* ==========================
   Tablets (768px - 991px)
   ========================== */
@media (max-width: 991px) {

    .navbar {
        display: none;
    }

    .heading {
        margin-top: 80px;
    }

    .hamburger {
        display: flex;
        margin-right: 20px;
    }

    #nav-links {
        display: none;
    }

    #nav-links.active {
        display: flex;
    }

    .navbar-sec {
        display: none;
        position: absolute;
        top: 80px;
        right: 0;
        width: 250px;
        background: #00274D;
        flex-direction: column;
    }

    .navbar-sec.active {
        display: flex;
    }

    .nav {
        position: relative;
    }

    .navbar-sec a {
        padding: 15px;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    }

    .logo {
        font-size: 1rem;
    }

    .logo img {
        width: 60px;
        height: 60px;
    }

    .hero-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .profile-img {
        height: 450px;
    }

    .services-container {
        grid-template-columns: repeat(2, 1fr);
    }

    .slider-container {
        width: 95%;
    }

    .slide img {
        height: 400px;
    }

    .form-row {
        flex-direction: column;
    }

    .footer {
        grid-template-columns: 1fr;
        height: auto;
    }

    .footer-col iframe {
        width: 100%;
        height: 300px;
        border: none;
        border-radius: 10px;
        box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
    }

    .footer-col p {
        font-size: 14.5px;
        /* display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 20px; */
    }
}

/* ==========================
   Large Phones (576px - 767px)
   ========================== */
@media (max-width: 767px) {

    .logo {
        font-size: 0.9rem;
    }

    .logo img {
        width: 50px;
        height: 50px;
    }

    .hero-grid {
        grid-template-columns: 1fr;
    }

    .profile-img {
        height: 380px;
    }

    .services-container {
        grid-template-columns: 1fr;
    }

    .gallery-section {
        padding: 4rem 3%;
    }

    .slide img {
        height: 280px;
    }

    .form-container {
        width: 95%;
    }

    .footer {
        padding: 30px 20px;
    }

    .footer-col iframe {
        height: 280px;
    }
}

/* ==========================
   Small Phones (<576px)
   ========================== */
@media (max-width: 575px) {

    .heading {
        padding: 10px;
    }

    .logo {
        font-size: 0.8rem;
    }

    .profile-card {
        padding: 12px;
    }

    .profile-img {
        height: 440px;
    }

    .name-two {
        font-size: 1rem;
    }

    .post {
        font-size: 0.85rem;
    }

    #about {
        padding: 60px 8%;
    }

    #about h2 {
        font-size: 1.8rem;
    }

    #about p {
        font-size: 1rem;
    }

    .slide img {
        height: 220px;
    }

    .form-container h2 {
        font-size: 1.4rem;
    }

    .footer {
        padding: 20px 15px;
    }

    .footer-bottom {
        font-size: 12px;
        text-align: center;
    }
}