@import url('https://fonts.googleapis.com/css2?family=Work+Sans:ital,wght@0,100..900;1,100..900&display=swap');
@import url("https://fonts.googleapis.com/css2?family=Poppins:wght@400;500&display=swap");
@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@400;500;700&family=Poppins:wght@400;500;600&display=swap');

/* Base Style */

body {
    font-family: 'Poppins', sans-serif;
    color: #333;
    width: 100%;
}


/* Header Styles */

h1,
h2,
h3,
h4,
h5 {
    font-family: 'Plus Jakarta Sans', sans-serif;
    color: #222;
}

h1 {
    font-size: 72px;
    font-weight: 700;
    margin: 20px 0;
}

h2 {
    font-size: 56px;
    font-weight: 600;
    margin: 16px 0;
}

h3 {
    font-size: 40px;
    font-weight: 500;
    margin: 14px 0;
}

h4 {
    font-size: 28px;
    font-weight: 500;
    margin: 12px 0;
}

h5 {
    font-size: 16px;
    font-weight: 500;
    margin: 12px 0;
}


/* Paragraph and Body Text */

p,
small,
.caption {
    font-family: 'Poppins', sans-serif;
    font-weight: 400;
}

p {
    font-size: 16px;
    color: #666;
    margin: 10px 0;
}

small,
.caption {
    font-size: 14px;
    color: #888;
}


/* Links */

a {
    font-size: 16px;
    font-weight: 500;
    color: #0066cc;
    text-decoration: none;
}

a:hover {
    color: #004999;
    text-decoration: underline;
}


/* Highlights */

.highlight {
    font-weight: 700;
    color: #e67e22;
    background-color: #fbeee6;
    padding: 2px 5px;
    border-radius: 3px;
}

.emphasis {
    font-style: italic;
    color: #333;
}


/* General Layout */

.section-p1 {
    padding: 40px 80px;
}

.section-m1 {
    margin: 40px 0;
}


/* Header Styling */

#header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 40px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.06);
    position: sticky;
    top: 0;
    left: 0;
    background-color: #fff;
    z-index: 1000;
}

#header .logo {
    width: 200px;
    height: 50px;
    object-fit: cover;
    object-position: center;
}


/* Navbar Styles */

#navbar {
    display: flex;
    gap: 20px;
    padding: 0;
}

#navbar li {
    list-style: none;
    padding: 0 19px;
    position: relative;
}

#navbar li a {
    font-size: 16px;
    font-weight: 600;
    color: #222;
    transition: 0.3s ease;
}

#navbar li a:hover,
#navbar li a.active {
    color: #e67e22;
}

#navbar li a.active::after,
#navbar li a:hover::after {
    content: "";
    width: 20%;
    height: 4px;
    background: crimson;
    position: absolute;
    bottom: -8px;
    left: 20px;
}


/* Dropdown Menu */

.dropdown {
    position: relative;
}

.dropdown-content {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background-color: #ffffff;
    min-width: 200px;
    z-index: 1;
    border-radius: 4px;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.dropdown-content a {
    color: white;
    padding: 10px 15px;
    text-decoration: none;
    display: block;
    transition: background 0.3s ease;
}

.dropdown-content a:hover {
    background-color: #ffffff;
}

.dropdown:hover .dropdown-content {
    display: block;
}

.dropdown-arrow::after {
    content: " ▼";
    font-size: 0.8rem;
    margin-left: 5px;
    color: #444;
}


/* Mobile Navbar Styles */

#mobile {
    display: none;
    align-items: center;
}

#close {
    display: none;
}

@media (max-width: 799px) {
    #navbar {
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        justify-content: flex-start;
        position: fixed;
        top: 0;
        right: -500px;
        height: 50vh;
        width: 400px;
        background-color: #F5F5F5;
        box-shadow: 0 40px 60px rgba(0, 0, 0, 0.1);
        padding: 80px 0 0 10px;
        transition: 0.3s;
        border-radius: 12px;
        /* This adds a rounded edge */
    }
    #navbar li {
        margin-bottom: 25px;
    }
    #mobile {
        display: flex;
        align-items: center;
    }
    #mobile i {
        color: #1a1a1a;
        font-size: 24px;
        padding-left: 20px;
    }
    #navbar.active {
        right: 0px;
    }
    #close {
        display: initial;
        position: absolute;
        top: 30px;
        left: 30px;
        color: #000000;
        font-size: 24px;
    }
    /* Mobile Dropdown */
    .dropdown-content {
        position: static;
        width: 100%;
        background-color: #fff;
        box-shadow: none;
    }
    .dropdown-content a {
        padding: 15px 10px;
        background-color: #f1f1f1;
        border-bottom: 1px solid #ddd;
    }
    .dropdown:hover .dropdown-content {
        display: block;
    }
}


/* Mobile Styles */

#mobile {
    display: none;
}

#navbar.active {
    right: 0;
}

@media (max-width: 799px) {
    #navbar {
        flex-direction: column;
        position: fixed;
        top: 0;
        right: -300px;
        height: 100vh;
        width: 200px;
        background-color: rgb(180, 161, 161);
        transition: 0.3s;
    }
    #navbar li {
        margin-bottom: 25px;
    }
    #mobile {
        display: flex;
    }
    #close {
        display: initial;
        position: absolute;
        top: 30px;
        left: 30px;
        font-size: 24px;
    }
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

.container {
    max-width: 1170px;
    margin: auto;
}

.row {
    display: flex;
    flex-wrap: wrap;
}

ul {
    list-style: none;
}

.footer {
    background-color: #24262b;
    padding: 70px 0;
}

.footer-col {
    width: 25%;
    padding: 0 15px;
}

.footer-col h4 {
    font-size: 18px;
    color: #ffffff;
    text-transform: capitalize;
    margin-bottom: 35px;
    font-weight: 500;
    position: relative;
}

.footer-col h4::before {
    content: '';
    position: absolute;
    left: 0;
    bottom: -10px;
    background-color: #e91e63;
    height: 2px;
    box-sizing: border-box;
    width: 50px;
}

.footer-col ul li:not(:last-child) {
    margin-bottom: 10px;
}

.footer-col ul li a {
    font-size: 16px;
    text-transform: capitalize;
    color: #ffffff;
    text-decoration: none;
    font-weight: 300;
    color: #bbbbbb;
    display: block;
    transition: all 0.3s ease;
}

.footer-col ul li a:hover {
    color: #ffffff;
    padding-left: 8px;
}

.footer-col .social-links a {
    display: inline-block;
    height: 40px;
    width: 40px;
    background-color: rgba(255, 255, 255, 0.2);
    margin: 0 10px 10px 0;
    text-align: center;
    line-height: 40px;
    border-radius: 50%;
    color: #ffffff;
    transition: all 0.5s ease;
}

.footer-col .social-links a:hover {
    color: #24262b;
    background-color: #ffffff;
}


/* ################################### Media Queries ################################### */


/* Small Devices (Portrait phones, less than 576px) */


/* Medium Devices (Tablets, 576px to 768px) */

@media (max-width: 768px) {
    #header {
        padding: 15px 30px;
    }
    #hero h1 {
        font-size: 50px;
    }
    #hero h5 {
        font-size: 16px;
    }
    .card-container {
        flex-wrap: wrap;
        justify-content: center;
        gap: 15px;
    }
    .boxes-container {
        gap: 15px;
    }
    #navbar li {
        padding: 0 10px;
    }
}


/* Large Devices (Small laptops, less than 992px) */

@media (max-width: 992px) {
    #hero h1 {
        font-size: 60px;
    }
    .card-container {
        flex-wrap: wrap;
        gap: 20px;
    }
}


/* Extra Large Devices (Desktops, 1200px and up) */

@media (min-width: 1200px) {
    #hero h1 {
        font-size: 72px;
    }
    #hero h5 {
        font-size: 18px;
    }
}


/* Services Section */

#services {
    padding: 60px 40px;
    text-align: center;
    background-color: #f9f9f9;
}

#services h1 {
    font-size: 36px;
    color: #333;
    margin-bottom: 40px;
    font-weight: 700;
}

.card-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px;
}

.card {
    background: #ffffff;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    text-align: center;
    width: 300px;
    padding: 20px;
    transition: transform 0.3s, box-shadow 0.3s;
}

.card:hover {
    transform: translateY(-10px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
}

.card-icon {
    font-size: 48px;
    color: #e67e22;
    margin-bottom: 20px;
}

.card h3 {
    font-size: 24px;
    color: #222;
    margin-bottom: 15px;
    font-weight: 600;
}

.card p {
    font-size: 16px;
    color: #555;
    margin-bottom: 20px;
    line-height: 1.5;
}

.card .btn {
    display: inline-block;
    padding: 10px 20px;
    font-size: 16px;
    color: #fff;
    background-color: #e67e22;
    border-radius: 4px;
    text-decoration: none;
    transition: background-color 0.3s ease;
}

.card .btn:hover {
    background-color: #cc6600;
}