:root {
    /* Colors */
    --primary-color: #1a237e;
    --secondary-color: #303f9f;
    --text-color: #333;
    --white: #FFFFFF;

    /* Gradients */
    --gradient-primary: linear-gradient(135deg, #1A1AFF, #4D88FF);

    /* Spacing */
    --spacing-sm: 1rem;
    --spacing-md: 2rem;
    --spacing-lg: 4rem;
}


body {
    font-family: var(--font-family);
}

.nav-link,
.hero-title,
.why-choose-title,
.feature-card h4,
.support-section h2,
.footer h5 {
    font-family: var(--font-family);
}

.bg-imag-header-danabook {
    background: url('./img/home\ img.jpg');
    width: 100%;
    object-fit: cover;
    object-position: center center;
    height: 100vh;
    overflow: hidden;
}


/* Navbar Styles */
.navbar {
    font-family: 'Rushford Clean';
    color: var(--primary-color);
    position: fixed;
    width: 100%;
    top: 0;
    left: 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 2rem;
    background-color: transparent;
    z-index: 10;
    transition: background-color 0.3s ease;
}

.navbar.scrolled {
    background-color: #ffffff;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.logo {
    font-size: 1.5rem;
    font-weight: bold;
}

/* Hide toggler by default (desktop) */
.navbar-toggler {
    display: none;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 2rem;
    margin: 0;
    padding: 0;
    gap: 20px;
}

@media screen and (max-width: 768px) {
    .navbar {
        position: relative;
        flex-direction: column;
        padding: 15px 20px;
        background-color: var(--white);
    }

    .navbar-toggler {
        display: block;
        background: none;
        border: none;
        cursor: pointer;
    }

    .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background-color: var(--white);
        flex-direction: column;
        padding: 1rem;
        text-align: center;
    }

    .nav-links.active {
        display: flex;
    }

    .hero-section {
        flex-direction: column;
        background: #f3f4ff;
        min-height: auto;
        padding: 20px;
    }

    .hero-content {
        font-family: 'Rushford Clean';
        width: 100%;
        padding: 20px;
        text-align: center;
        margin-top: 20px;
    }

    .hero-image {
        position: relative;
        width: 100%;
        height: auto;
        top: 0;
        right: 0;
    }

    .why-choose-us {
        margin-top: 40px;
    }
}

.nav-links li {
    font-size: 1rem;
    text-transform: uppercase;
}

.nav-links a {
    text-decoration: none;
    color: #333;
    transition: color 0.3s;
}

.nav-links a {
    text-decoration: none;
    color: #333;
    transition: color 0.3s;
    font-weight: 500;
}

.nav-links a:hover {
    color: #000000;
}

/* Hero Section */
.hero-section {
    display: flex;
    justify-content: space-between;
    align-items: center;
    min-height: 80vh;
    position: relative;
    overflow: hidden;
    padding: 2rem 0;
}

.hero-content {
    font-family: 'Rushford Clean';
    color: #282866;
    width: 40%;
    padding-left: 2%;
    padding-right: 30px;
    z-index: 5;
    margin-top: 80px;
}

.hero-content h1 {
    font-size: clamp(1.8rem, 2.5vw, 2.5rem);
    color: var(--primary-color);
    line-height: 1.4;
    margin-bottom: 20px;
}

.hero-content p {
    font-size: clamp(1rem, 1.2vw, 1.2rem);
    margin-bottom: 30px;
}

.btn {
    color: #fff;
    padding: 12px 25px;
    border-radius: 9.5vh;
    text-decoration: none;
    font-size: 1rem;
    box-shadow: 2px 4px 6px rgba(0, 0, 0, 0.4);
    transition: transform 0.3s ease;
    display: inline-block;
}

.btn:hover {
    transform: scale(1.05);
}

.hero-image {
    position: absolute;
    top: 50%;
    right: 0;
    width: 55%;
    height: auto;
    transform: translateY(-50%);
    z-index: 1;
}

.hero-image img {
    width: 100%;
    height: auto;
    object-fit: contain;
    object-position: center;
    max-height: 80vh;
}

/* Responsive Breakpoints */
@media (max-width: 1200px) {
    .hero-section {
        padding: 8vh 0;
    }

    .hero-title {
        font-size: 2rem;
    }

    .hero-image {
        width: 50%;
    }

    .hero-content {
        width: 45%;
    }
}

@media (max-width: 992px) {
    .hero-section {
        padding: 6vh 0;
    }

    .hero-title {
        font-size: 1.8rem;
    }
}

@media (max-width: 768px) {
    .navbar {
        flex-direction: column;
        padding: 15px 20px;
        background-color: var(--white);
        /* Add background color on mobile */
        position: relative;
        /* Change to relative on mobile */
    }

    .nav-links {
        margin-top: 15px;
        flex-direction: column;
        align-items: center;
    }

    .hero-section {
        flex-direction: column;
        background: #f3f4ff;
        padding: 2rem 1rem;
    }

    .hero-content {
        width: 100%;
        padding: 20px;
        margin-top: 16px;
        text-align: center;
    }

    .hero-title {
        font-size: 1.6rem;
    }

    .btn {
        padding: 0.6rem 1.5rem;
        font-size: 0.9rem;
    }

    .hero-image {
        position: relative;
        width: 90%;
        margin: 2rem auto;
        transform: none;
        top: 0;
    }
}

@media (max-width: 576px) {
    .hero-section {
        padding: 3vh 15px;
    }

    .hero-title {
        font-size: 1.4rem;
    }

    .btn {
        padding: 0.6rem 1rem;
        font-size: 0.8rem;
    }

    .hero-image img {
        max-width: 80%;
    }

    .hero-content {
        margin-top: -15px;
    }
}

/* Why Choose Us Section */
.why-choose-us {
    position: relative;
    margin-top: 100px;
    z-index: 6;
    background-color: #fff;
}

.why-choose-title {
    font-family: 'Rushford Clean';
    font-size: 2.5rem;
    color: #4d4da5;
    font-weight: bold;
    margin-bottom: 2rem;
    text-align: center;
    letter-spacing: 0;
    text-transform: uppercase;
}

.why-choose-us p {
    font-family: 'Calibri', sans-serif;
    font-size: 1.25rem;
    font-weight: bold;
    color: #000000;
    line-height: 1.5;
    margin-bottom: 1rem;
}

.why-choose-us .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

.why-choose-us img {
    max-width: 100%;
    height: auto;
}

/* Custom Fonts */
@font-face {
    font-family: 'Rushford Clean';
    src: url('./font/Rushfordclean-rgz89.otf') format('opentype');
    font-display: swap;
    /* Prevent FOIT */
    font-weight: normal;
    font-style: normal;
}

.Rushford-Clean {
    font-family: 'Rushford Clean', sans-serif;
}

/* Features Section */
.features {
    padding: 8vh 0;
    background-color: var(--features-background);
}

.feature-card h4 {
    font-family: 'Calibri', Arial, sans-serif;
    font-weight: bold;
    font-size: 42px;
    color: #282866;
    text-align: center;
    margin-bottom: 10px;
}

.feature-card p {
    font-family: 'Calibri', Arial, sans-serif;
    font-weight: bold;
    font-size: 20px;
    color: #000;
    text-align: center;
    line-height: 1.5;
}

.feature-icon {
    width: 100px;
    height: auto;
    margin: 2vh auto;
    display: block;
}

/* Support Section */
.support-section {
    padding: 8vh 0;
    background: #f8f9fa;
    position: relative;
    text-align: left;
    margin-bottom: 15vh;
}

.support-section h2 {
    color: #5069a9;
    font-weight: bold;
    margin-bottom: 2vh;
    font-size: 1.5rem;
}

.support-section p {
    font-size: 1.6rem;
    line-height: 1.6;
}

.support-image {
    max-width: 112%;
    height: auto;
    position: relative;
    top: 0;
    left: 6px;
}

/* For tablets */
@media screen and (max-width: 768px) {
    .support-image {
        max-width: 57%;
        left: 45px;
    }
}

/* For mobile phones */
@media (max-width: 480px) {
    .support-image {
        width: 58%;
        /* Using width instead of max-width when possible */
        transform: translateX(-50px);
        /* Replace left with transform for better performance */
        margin-inline: auto;
        /* Modern logical property */
        display: block;
    }
}

/* Join Us Section */
.join-us-section {
    padding: 8vh 0 4vh;
    text-align: left;
    color: white;
    background: url('img/footer-img.jpg') no-repeat center center;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    border-bottom: 0.1vh solid #ccc;
}

.join-us-btn {
    background: #4d4da5;
    color: var(--common-color);
    padding: 1vh 3vh;
    border-radius: 2.5vh;
    text-decoration: none;
}

/* Footer */
.footer {
    background: url('img/footer-img.jpg') no-repeat center center;
    background-size: cover;
    color: white;
    padding: 8vh 0 2vh;
}

.footer h5 {
    color: white;
    margin-bottom: 2vh;
}

.footer-links {
    list-style: none;
    padding: 0;
}

.footer-links li {
    margin-bottom: 1vh;
}

.footer-links a {
    color: #ffffff80;
    text-decoration: none;
}

.social-icons {
    margin-top: 2vh;
}

.social-icons a {
    margin: 0 10px;
    color: white;
}

.social-icons img {
    width: 30px;
    /* Adjust the size as needed */
    height: 30px;
    /* Adjust the size as needed */
    transition: transform 0.3s;
}

.social-icons img:hover {
    transform: scale(1.1);
    /* Slightly enlarge the icon on hover */
}

/* Media Queries to Adjust Icon Sizes */
@media (min-width: 768px) {
    .social-icons img {
        width: 40px;
        /* Larger size for tablets */
        height: 40px;
        /* Larger size for tablets */
    }
}

@media (min-width: 992px) {
    .social-icons img {
        width: 50px;
        /* Larger size for small desktops */
        height: 50px;
        /* Larger size for small desktops */
    }
}

@media (min-width: 1200px) {
    .social-icons img {
        width: 60px;
        /* Largest size for large desktops */
        height: 60px;
        /* Largest size for large desktops */
    }
}

/* Image Positioning */
.img3-img {
    position: absolute;
    top: -15vh;
    right: -1vw;
    max-width: 100%;
    height: auto;
    display: block;
}

/* Media Queries */
@media (max-width: 1200px) {
    .img3-img {
        top: -40vh;
        right: 0;
        max-width: 100%;
    }
}

@media (max-width: 992px) {
    .img3-img {
        top: -14vh;
        left: 59%;
        max-width: 41%;
    }
}

@media (max-width: 768px) {
    .hero-title {
        font-size: 1.8rem;
    }

    .btn-get-started {
        padding: 0.6rem 1.5rem;
        font-size: 0.9rem;
    }

    .feature-card h4 {
        font-size: 1.2rem;
    }

    .navbar {
        background: white !important;
    }

    .navbar.scrolled {
        background-color: #ffffff !important;
        box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    }

    .hero-section img {
        max-width: 100%;
        margin-top: 20px;
        margin-left: auto;
        margin-right: auto;
        display: block;
    }
}

@media (max-width: 576px) {
    .img3-img {
        display: none;
    }

    .hero-title {
        font-size: 1.4rem;
    }

    .btn-get-started {
        padding: 0.6rem 1rem;
        font-size: 0.8rem;
    }

    .hero-section img {
        max-width: 80%;
    }
}

@media (min-width: 800px) {
    .img3-img {
        top: -13vh;
        max-width: 28%;
    }
}

@media (min-width: 1000px) {
    .img3-img {
        position: absolute;
        top: -15vh;
        max-width: 22%;
        left: 61vw;
    }
}

* {
    box-sizing: border-box;
}

#parent {
    color: #fff;
    padding: 20px;
    width: 100%;
    text-align: center;
}

/* Social Media Container */
#social_media {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    /* Center the icons horizontally */
    gap: 15px;
    /* Space between icons */
}

#social_media a {
    padding: 10px;
    font-size: 30px;
    text-align: center;
    text-decoration: none;
    color: #fff;
    /* Default color: white */
    transition: color 0.3s ease, transform 0.2s ease;
    /* Add smooth hover effect */
}

#social_media a:hover {
    transform: scale(1.1);
    /* Slightly enlarge the icon on hover */
}

/* Social Media Hover Colors */
.facebook:hover i {
    color: #3b5998;
    /* Facebook Blue */
}

.twitter:hover i {
    color: #55acee;
    /* Twitter Blue */
}

.instagram:hover i {
    color: #d22e90;
    /* Instagram Pink */
}

.linkedin:hover i {
    color: #0077b5;
    /* LinkedIn Blue */
}

.youtube:hover i {
    color: #ff0000;
    /* YouTube Red */
}

.pinterest:hover i {
    color: #e60023;
    /* Pinterest Red */
}

.reddit:hover i {
    color: #ff4500;
    /* Reddit Orange */
}

.snapchat:hover i {
    color: #fffc00;
    /* Snapchat Yellow */
}

.whatsapp:hover i {
    color: #25d366;
    /* WhatsApp Green */
}

/* Responsive Design */
@media (max-width: 768px) {
    #social_media {
        gap: 9px;
        /* Reduce gap between icons on smaller screens */
    }

    #social_media a {
        font-size: 25px;
        /* Decrease icon size for smaller screens */
    }
}

@media (max-width: 576px) {
    #social_media {
        gap: 7px;
    }

    #social_media a {
        font-size: 20px;
        /* Further reduce icon size */
    }
}