/* --- Reset --- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Poppins", sans-serif;
}

:root {
    --main-color: #fda21a;
    --secondary-color: #4fb649;
    --dark-blue-color: #030028;
    --bg: #f0f0f0;
    --text: #1a1a1a;
    --muted: #6b6b6b;
    --accent: #f6b012;
    --card: #ffffff;
    --gap: 28px;
}

body {
    color: #000000;
    line-height: 1.6;
}

a {
    text-decoration: none;
    color: inherit;
}

.background-img {
    background-image: url("./images/background.jpg");
}

/* Whatsapp Button */

.whatsapp-btn{
    position: fixed;
    bottom: 25px;
    right: 25px;
    z-index: 10000;
}

.whatsapp-btn img{
    width: 70px;
    height: auto;
}

@media (max-width: 600px) {
    .whatsapp-btn img{
        width: 60px;
        height: auto;
    }
}

/* --- Header --- */
header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 5%;
    width: 100%;
}

#navbar {
    background: transparent;
    position: fixed;
    top: 0;
    z-index: 1000;
    top: 35px;
}

#navbar.scrolled {
    background: var(--dark-blue-color);
}

.logo {
    display: flex;
    align-items: center;
    font-weight: bold;
    font-size: 20px;
    color: #fff;
}

.logo img {
    width: 200px;
    height: auto;
}

.logo span {
    color: #ffb400;
}

nav ul {
    list-style: none;
    display: flex;
    gap: 20px;
}

nav ul li a {
    font-weight: 600;
    color: #fff;
}

.btn-appointment {
    background: var(--main-color);
    color: #fff;
    padding: 10px 20px;
    border-radius: 5px;
    font-weight: bold;
}

/* --- Hero Section --- */
.hero {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 200px 5% 100px 5%;
    flex-wrap: wrap;
}

.hero-text {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
}

.hero-text h1 {
    font-size: 45px;
    text-transform: uppercase;
    border-left: 4px solid var(--secondary-color);
    border-right: 4px solid var(--secondary-color);
    padding-left: 15px;
    padding-right: 15px;
    color: white;
}

.hero-text h1 span.yellow {
    color: var(--main-color);
}

.hero-text p {
    margin: 40px 0;
    max-width: 500px;
}

.btns {
    display: flex;
    gap: 15px;
    margin: 20px 0;
}

.btn-primary {
    background: var(--main-color);
    padding: 12px 24px;
    border-radius: 5px;
    font-weight: bold;
}

.btn-play {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: #ffb400;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    color: #000;
}

.hero-img {
    flex: 1 1 400px;
    text-align: center;
}

.hero-img img {
    max-width: 100%;
    background-color: #ffb400;
    padding: 20px 10px;
    border-radius: 15px;
    border: 5px solid #ff5a00;
}

/* --- Responsive --- */
@media (max-width: 992px) {
    .hero {
        flex-direction: column;
        text-align: center;
    }

    .hero-text h1 {
        font-size: 36px;
        margin-bottom: 15px;
        border: none;
    }

    .hero-text p {
        margin: auto;
    }

    .btns {
        justify-content: center;
    }

    .hero-img {
        flex: 1 1 auto;
        text-align: center;
    }
}

/* --- Responsive --- */
@media (max-width: 975px) {
    .hero {
        padding: 250px 5% 40px 5% !important;
    }
}

@media (max-width: 600px) {

    nav ul {
        flex-wrap: wrap;
        justify-content: center;
    }

    .hero-text h1 {
        font-size: 28px;
    }
}

@media (max-width: 425px) {
    .hero {
        padding: 200px 5% 40px 5% !important;
    }
}

/* CONTACT SECTION */

.contact-section {
    width: 100%;
    display: flex;
    flex-direction: column;
}

/* Top content */
.contact-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    padding: 40px;
    gap: 30px;
}

/* Left form */
.contact-form {
    flex: 1 1 350px;
    background: var(--dark-blue-color);
    padding: 30px;
    color: #fff;
    border-radius: 4px;
    max-width: 500px;
}

.contact-form h2 {
    font-size: 20px;
    margin-bottom: 20px;
    font-weight: bold;
}

.form-row {
    display: flex;
    gap: 15px;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 10px;
    border: none;
    border-bottom: 1px solid #666;
    background: transparent;
    color: #fff;
    font-size: 14px;
    margin-bottom: 15px;
}

.contact-form textarea {
    resize: none;
    height: 80px;
}

.contact-form button {
    width: 100%;
    background: var(--main-color);
    border: none;
    color: #fff;
    padding: 14px 28px;
    font-weight: bold;
    font-size: 14px;
    cursor: pointer;
    margin-top: 15px;
    /* angled shape */
    clip-path: polygon(0 0, 100% 0, 100% 70%, 95% 100%, 0 100%);
    transition: background 0.3s ease;
}

.contact-form button:hover {
    background: #d95f0c;
}

/* Right text section */
.contact-info {
    flex: 1 1 350px;
    padding: 20px;
    background-color: #f5f5f5;
    border-radius: 5px;
    max-width: 500px;
}

.contact-info h1 {
    font-size: 32px;
    font-weight: 900;
    margin-bottom: 15px;
    line-height: 1.3;
    color: #000;
}

.contact-info h1 span.yellow {
    color: var(--secondary-color);
}

.contact-info h1 span.orange {
    color: var(--main-color);
}

.contact-info p {
    font-size: 14px;
    margin-bottom: 20px;
    line-height: 1.6;
    color: #444;
}

.contact-info h3 {
    font-size: 15px;
    margin-bottom: 15px;
    font-weight: bold;
}

.office {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
}

.office div {
    flex: 1 1 200px;
}

.office strong {
    display: block;
    font-size: 14px;
    margin-bottom: 8px;
}

.office p {
    font-size: 13px;
    color: #333;
    margin-bottom: 6px;
}

/* Map */
.contact-map {
    width: 100%;
    height: 400px;
    margin-top: 30px;
}

.contact-map iframe {
    width: 100%;
    height: 100%;
    border: none;
}

/* Responsive */
@media (max-width: 768px) {
    .contact-container {
        flex-direction: column;
        padding: 20px;
    }

    .contact-form,
    .contact-info {
        flex: 1 1 100%;
    }
}

/* Sidebar */

.sidenav {
    height: 100%;
    width: 0;
    position: fixed;
    z-index: 1;
    top: 0;
    left: 0;
    background-color: #111;
    overflow-x: hidden;
    transition: 0.5s;
    z-index: 10000000;
}

.sidenav a {
    padding: 8px 8px 8px 22px;
    text-decoration: none;
    font-size: 20px;
    color: #818181;
    display: block;
    transition: 0.3s;
}

.sidenav a:hover {
    color: #f1f1f1;
}

.sidenav .closebtn {
    position: absolute;
    top: 0;
    right: 10px;
    font-size: 36px;
    margin-left: 50px;
}

@media screen and (max-height: 450px) {
    .sidenav {
        padding-top: 15px;
    }

    .sidenav a {
        font-size: 18px;
    }
}

.sidebar-logo-img {
    width: 150px;
    margin-top: 10px;
}

.sidebar-open {
    display: none !important;
    color: white;
    font-size: 25px;
    cursor: pointer;
}

@media (max-width:900px) {
    .sidebar-open {
        display: block !important;
    }
}

.sidebar-nav {
    color: white;
    font-size: 25px;
    display: none !important;
    cursor: pointer;
}

@media (max-width:995px) {
    .sidebar-nav {
        display: block !important;
    }
}

/* FOOTER SECTION */

.footer-section {
    position: relative;
    background: var(--dark-blue-color);
    overflow: hidden;
}

/* Angled dark overlays */
.footer-section::before,
.footer-section::after {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    width: 50%;
    background: var(--dark-blue-color);
    z-index: 0;
}

.footer-section::before {
    left: -5%;
    transform: skewX(-20deg);
}

.footer-section::after {
    right: -5%;
    transform: skewX(20deg);
}

.footer-section-container {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 40px;
    max-width: 1200px;
    margin: auto;
    padding: 60px 20px;
    align-items: stretch;
}

/* Left content */
.footer-section-left {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
}

.footer-section-logo p {
    font-size: 15px;
    color: #ccc;
    line-height: 1.6;
    margin: 15px 0;
}

.footer-section-logo img {
    max-width: 180px;
}

.footer-section-social {
    margin-top: 15px;
}

.footer-section-social a {
    margin-right: 10px;
    color: #ffffff;
    text-decoration: none;
    font-size: 22px;
}

.footer-section h3 {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 15px;
    color: white;
}

.footer-section ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

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

.footer-section ul li a {
    color: #fff;
    text-decoration: none;
    font-size: 15px;
}

.footer-section ul li a:hover {
    color: #f97316;
}

/* Right orange box */
.footer-section-right {
    background: var(--main-color);
    padding: 40px 30px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    color: #fff;
    border-radius: 5px;
}

.footer-section-right h4 {
    font-size: 24px;
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: 25px;
}

.footer-section-right input {
    width: 100%;
    padding: 12px 10px;
    border: none;
    border-bottom: 1px solid #fff;
    margin-bottom: 20px;
    font-size: 15px;
    background: transparent;
    color: #fff;
}

.footer-section-right input::placeholder {
    color: #f1f1f1;
}

.footer-section-right button {
    width: 100%;
    background: black;
    color: #fff;
    border: none;
    padding: 15px;
    font-weight: bold;
    font-size: 15px;
    cursor: pointer;
    text-transform: uppercase;
    transition: 0.3s;
    border-radius: 5px;
}

.footer-section-right button:hover {
    background: #000;
}

/* Responsive */
@media (max-width: 992px) {
    .footer-section-container {
        grid-template-columns: 1fr;
    }

    .footer-section-left {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 600px) {
    .footer-section-left {
        grid-template-columns: 1fr;
    }

    .footer-section-right {
        padding: 30px 20px;
    }
}

@media (max-width: 1066px) {
    header {
        padding: 10px 5%;
    }

    .logo img {
        width: 170px;
        height: auto;
    }

    .btn-appointment {
        padding: 5px 10px;
    }
}

@media (max-width: 995px) {
    header {
        padding: 20px 5%;
    }

    nav ul {
        display: none;
    }

    .btn-appointment {
        display: none;
    }

    .logo img {
        width: 180px;
        height: auto;
    }

    .contact-form{
        max-width: 100%;
    }

    .contact-info{
        max-width: 100%;
    }
}

@media (max-width: 500px) {
    .hero{
        padding: 70px 5%;
    }
    .contact-info h1{
        font-size: 28px;
    }
}

/* NEW CSS */

/* Certificate Big Box Section */

.certifi-top-h3 {
    margin-top: 20px;
    text-align: center;
    color: #171263;
    font-size: 30px;
}

.certifi-top-p {
    text-align: justify;
    color: #333;
    font-size: 16px;
    margin-top: 15px;
}

.certificate-big-box {
    max-width: 1200px;
    margin: auto;
}

.aboutus-services {
    display: flex;
    justify-content: center;
    margin: 40px 0px;
    padding: 0px 10px;
}

.service-item {
    text-align: center;
    width: 48%;
    background-color: #F8F8F8;
    padding: 20px;
    border-radius: 8px;
    box-shadow: rgba(0, 0, 0, 0.24) 0px 3px 8px;
}

.service-item img {
    width: 100px;
    margin-bottom: 5px;
}

.service-item h4 {
    margin: 0;
    font-size: 18px;
    color: #333333;
}

.service-item p {
    font-size: 14px;
    color: #666666;
    margin-top: 10px;
    text-align: justify;
}

.service-item button {
    padding: 5px 15px;
    background: #171263;
    color: #ffffff;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 16px;
    font-weight: 600;
    margin-top: 10px;
}

.service-item button:hover {
    background: #4a53c2;
}

/* Form CSS */

.form {
    position: fixed;
    top: 25%;
    left: 39%;
    background-color: #fff;
    display: block;
    padding: 1rem;
    max-width: 350px;
    border-radius: 0.5rem;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    z-index: 1000000;
}

.form-title {
    font-size: 1.25rem;
    line-height: 1.75rem;
    font-weight: 600;
    text-align: center;
    color: #000;
}

.input-container {
    position: relative;
}

.input-container input,
.input-container textarea,
.form button {
    outline: none;
    border: 1px solid #e5e7eb;
    margin: 8px 0;
}

.input-container input,
.input-container textarea {
    background-color: #fff;
    padding: 1rem;
    padding-right: 3rem;
    font-size: 0.875rem;
    line-height: 1.25rem;
    width: 300px;
    border-radius: 0.5rem;
    box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
}

.submit {
    display: block;
    padding-top: 0.75rem;
    padding-bottom: 0.75rem;
    padding-left: 1.25rem;
    padding-right: 1.25rem;
    background-color: #171263;
    color: #ffffff;
    font-size: 0.875rem;
    line-height: 1.25rem;
    font-weight: 500;
    width: 100%;
    border-radius: 0.5rem;
    text-transform: uppercase;
}

.signup-link {
    color: #6B7280;
    font-size: 0.875rem;
    line-height: 1.25rem;
    text-align: center;
}

.signup-link a {
    text-decoration: underline;
}

.close-btn {
    position: absolute;
    top: -10px;
    right: 5px;
    background: none;
    border: none !important;
    font-size: 40px;
    margin: 0px 0px !important;
    cursor: pointer;
    color: #333;
}

.close-btn:hover {
    color: #000;
}

.hidden {
    display: none;
}

/* Blur effect for the background */
.blur-background {
    filter: blur(5px);
    transition: filter 0.3s ease-in-out;
}

@media (max-width: 769px) {
    /* Certificate Section */

    .aboutus-services {
        flex-direction: column;
        gap: 10px;
        padding: 10px;
        margin: 20px 0px;
    }

    .service-item {
        width: 100%;
    }

    .service-item img {
        width: 80px;
    }

    .service-item h4 {
        font-size: 16px;
    }

     /* Form */
     .form {
        left: 25%;
    }
}

@media (max-width: 620px) {
    /* Form */
    .form {
        left: 20%;
    }
}

@media (max-width: 425px) {
        /* Form */
        .form {
            left: 5%;
        }
}

@media (max-width: 370px) {
    /* Form */
    .form {
        left: 2.5%;
    }
}

/* Popup CSS */

/* Popup Container */
.popup {
    display: none;
    /* Hidden by default */
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    /* Black background with opacity */
    z-index: 999;
    justify-content: center;
    align-items: center;
}

/* Popup Content */
.popup-content {
    position: relative;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.5);
    border-radius: 10px;
    text-align: center;
}

/* Popup Image */
.popup-content img {
    width: 100%;
    max-width: 470px;
    height: auto;
}

/* Close Button */
.popup-close {
    position: absolute;
    top: 0px;
    right: 10px;
    font-size: 40px;
    cursor: pointer;
    color: black;
}

@media (max-width:769px) {
    .popup-content img {
        max-width: 400px;
    }
}

/* Top Bar Section */

.top-bar-section {
    width: 100%;
    background-color: #2C2C2C;
    color: white;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 5px 70px;
    position: fixed;
    top: 0px;
    z-index: 10000;
}

.top-bar-section a {
    color: white;
    height: auto;
    text-decoration: none;
}

.top-bar-social-icons a {
    height: 20px;
}

.top-bar-content-section {
    display: flex;
    align-items: center;
    gap: 25px;
}

.top-bar-content-section p {
    font-size: 16px;
    /* font-weight: 600; */
    display: flex;
    align-items: center;
    gap: 5px;
}

.top-bar-social-icons {
    display: flex;
    align-items: center;
    gap: 15px;
}

.top-bar-social-icons i {
    font-size: 20px;
}

@media (max-width: 769px) {

    /* Top Section */
    .top-bar-section {
        flex-direction: column;
        padding: 5px 10px;
        gap: 10px;
    }

    .top-bar-content-section {
        flex-direction: column;
        gap: 2px;
    }

    #navbar{
        top: 93px;
    }
}