/* Basic Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

@font-face {
    font-family: 'MyCustomFont';
    src: url('../Photo/hp-simplified-hans-light.ttf') format('woff2');
    font-weight: bolder; 
    font-style: normal;
}

li{
    font-size: larger;
}

body {
    font-family: 'MyCustomFont', Arial, Helvetica, sans-serif;
    line-height: 1.6;
    background-color: #f4f4f4;
}

/* Header and Navigation */
header {
    background-color: #ffffff;
    padding: 10px 0;
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    position: relative; /* Added relative positioning */
}

.logo img {
    width: 180px;
    /* height: 58px; */
}

.nav-links {
    display: flex;
    list-style: none;
}

.nav-links button {
    background-color: transparent;
    border: none;
    cursor: pointer;
    font-weight: bold;
    font-size: 16px;
    color: #000000;
    padding: 10px;
    margin: 0px 10px;
}

.nav-links li {
    margin: 0 15px;
}

.nav-links a {
    color: rgb(0, 0, 0);
    text-decoration: none;
    font-weight: bold;
    padding: 5px 10px;
    transition: background-color 0.3s ease;
}

.nav-links button:hover a {
    color: white;
}

.nav-links button:hover {
    transform: scale(1.05);
    background-color: #666;
    border-radius: 5px;
    color: white;
}

.blue-submit-btnn {
    display: inline-block;
    padding: 10px 20px;
    font-size: 16px;
    font-weight: bold;
    color: white;
    text-align: center;
    text-decoration: none;
    border: none;
    border-radius: 5px;
    background: linear-gradient(45deg, #d89b51, #82325d, #455db2);
    cursor: pointer;
    transition: transform 0.3s, box-shadow 0.3s;
}

.blue-submit-btnn a {
    color: white;
    text-decoration: none;
}

.blue-submit-btnn:hover {
    transform: scale(1.05);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

html {
    scroll-behavior: smooth;
}

/* Hero Section */
.hero {
    background-image: url('../Photo/main_baground_image.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    position: relative;
    padding: 20px;
}

.hero-content {
    max-width: 50%;
    text-align: left;
    z-index: 1;
}

.hero h2 {
    font-size: 38px;
    font-weight: bold;
    margin: 0;
    text-shadow: 0px 0px 4px #8e1f58;
}

/* Hamburger Menu Styles */
.hamburger-icon {
    display: none; /* Hidden by default */
    cursor: pointer;
    flex-direction: column;
    gap: 5px;
    padding: 10px;
    position: absolute; /* Position relative to the nearest positioned ancestor */
    top: 10px; /* Space from the top of the page */
    left: 20px; /* Move hamburger icon to the left */
}

.hamburger-icon .bar {
    width: 30px;
    height: 4px;
    background-color: #000;
    border-radius: 5px;
    transition: all 0.3s ease;
}

/* Active class for the bars to transform into a cross */
.hamburger-icon.active .bar:nth-child(1) {
    transform: rotate(45deg) translateY(8px);
}

.hamburger-icon.active .bar:nth-child(2) {
    opacity: 0;
}

.hamburger-icon.active .bar:nth-child(3) {
    transform: rotate(-45deg) translateY(-8px);
}

/* Responsive Adjustments for Hamburger */
@media screen and (max-width: 1067px) {
    nav {
        flex-direction: column;
        align-items: center;
        justify-content: center;
        text-align: center;
        padding: 10px 20px;
    }

    .hamburger-icon {
        display: flex; /* Display the hamburger icon */
    }

    .nav-links {
        display: none; /* Initially hide the navigation */
        flex-direction: column;
        width: 100%;
        text-align: center;
        margin-top: 20px;
        justify-content: center;  /* Centers items vertically */
        align-items: center;      /* Centers items horizontally */
    }
    
    .nav-links.active {
        display: flex; /* Show navigation when active */
    }
    
    .nav-links button {
        width: 100%;
        text-align: center;  /* Centers text within button */
        padding: 15px 0;
    }

    .dropdown-menu {
        left: 50% !important;
        transform: translateX(-50%) !important;
        right: auto !important;
        text-align: center;
        top: 42% !important;
        position: relative !important;
    }

    .hero {
        height: 150px;
        text-align: center;
    }

    .hero-content {
        max-width: 100%;
    }
}

/* Footer */
.footer {
    position: relative;
    background: linear-gradient(to bottom right, #ffae3d, #4a50ff); /* Gradient from orange to purple */
    color: white;
    padding: 10px 20px; /* Reduced padding */
    text-align: center;
    border-top-left-radius: 100px; /* Keeps the curve */
    border-top-right-radius: 0;
    overflow: hidden; /* Ensures the content stays within the curve */
    box-shadow: 0px -5px 10px rgba(0, 0, 0, 0.1); /* Subtle shadow */
}

/* Pseudo-element for the smaller curve */
.footer::before {
    content: "";
    position: absolute;
    top: -30px; /* Slightly shallower curve */
    left: -50px; /* Shift to left */
    width: 150px; /* Smaller width of the curve */
    height: 25px; /* Reduced height of the curve */
    background: linear-gradient(to bottom right, #8e44ad, #004a99); /* Same gradient for the curve */
    border-radius: 50%; /* Circular shape */
    z-index: -1; /* Behind the content */
}

.footer-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-evenly; /* Evenly distribute the sections */
    align-items: center;
    gap: 20px; /* Reduced gap between items */
    max-width: 800px; /* Reduced width */
    margin: 0 auto;
}

.footer-section {
    flex: 1;
    min-width: 180px; /* Slightly smaller minimum width */
    margin: 8px; /* Smaller margin */
}

.footer-section h4 {
    font-size: 1em; /* Reduced font size */
    margin-bottom: 10px;
}

.contact{
    font-size: 0.9em;
    white-space:nowrap;
}
.footer-section p, .footer-section a {
    color: white;
    text-decoration: none;
    font-weight: bold;
    font-size: 0.9em; /* Smaller font size */
}

.footer-section a:hover {
    text-decoration: underline;
    color: #ffae3d; /* Add hover color */
}

.social-icons img {
    width: 22px; /* Reduced icon size */
    height: 22px; /* Reduced icon size */
    margin: 0 4px; /* Smaller margin between icons */
    transition: transform 0.3s ease, filter 0.3s ease;
}

.social-icons img:hover {
    transform: scale(1.1); /* Slightly increase size on hover */
    filter: brightness(1.3); /* Increase brightness on hover */
}

.footer-bottom {
    margin-top: 15px; /* Reduced margin-top */
    font-size: 0.8em; /* Smaller font size */
    color: #cce6ff;
    margin-bottom: 1rem; /* Smaller bottom margin */
}

.footer-section.logo img {
    width: 130px; /* Smaller logo size */
}

/* Style all font awesome icons */
.fa {
    padding: 8px;
    font-size: 25px;
    width: 45px;
    height: 45px;
    text-align: center;
    text-decoration: none;
    border-radius: 50%;
    transition: transform 0.3s ease;
}

.fa:hover {
    opacity: 0.7;
    transform: scale(1.05); /* Slightly smaller scale on hover */
}

/* Specific color for each social media icon */
.fa-facebook {
    background: #3B5998;
    color: white;
    font-size: 25px;
}

.fa-twitter {
    background: #55ACEE;
    color: white;
}

.fa-linkedin {
    background: #007bb5;
    color: white;
    font-size: 25px;
}

.fa-youtube {
    background: #bb0000;
    color: white;
    font-size: 25px;
}

.fa-instagram {
    background: #fe259c;
    color: white;
    font-size: 25px;
}

.footer-img {
    width: 200px;
    height: auto;
}