html,
body {
    scroll-behavior: smooth;
}

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

body {
    font-family: 'Comic Relief', cursive;
    background-color: #FFF2D7;
    color: #1F2A44;
    line-height: 1.6;
    font-size: 20px;
    margin-left: 10px;
}

h1 {
    margin-bottom: 30px;
    color: #1F2A44;
    margin-top: 50px;
    text-align: center;
    margin-left: auto;
}

h2 {
    margin-bottom: 15px;
    color: #1F2A44;
}

h3 {
    color: #FF9F43;
}

/* Lists */
ul {
    list-style: none;
    margin-left: 30px;
    margin-bottom: 8px;
    padding: 5px;
}

ul li {
    margin-bottom: 8px;
    background-color: #FFF2D7;
    border-radius: 9px;
}

ol {
    list-style: none;
    margin-left: 30px;
    margin-bottom: 15px;
    padding: 5px;
}

ol li {
    margin-bottom: 8px;
    background-color: #FFF2D7;
    border-radius: 9px;
}

ul.disc {
    list-style-type: square;
    margin-left: 40px;
}

/* Header and navigation */
.company-name {
    width: 100%;
    margin-left: 0;
    text-align: center;
}

.company-name img {
    height: 50px;
    margin: 10px auto 0 auto;
    display: block;
}

.header {
    border-radius: 6px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 90px 10px;
    background-color: #1F2A44;
    border-bottom: 2px solid #FF9F43;
    position: sticky;
    left: 0;
    width: calc(100% + 22px);
    height: 140px;
    margin-left: -22px;
    margin-right: -22px;
    top: 0;
    z-index: 999;
    transition: 0.3s;
}

.header img {
    height: 160px;
    margin: 30px 0 0 0;
    margin-bottom: 40px;
    margin-left: 20px;
    display: block;
    align-items: left;
}

.header nav {
    background-color: #1F2A44;
    padding: 10px 0;
    text-align: center;
    display: flex;
    gap: 1rem;
    white-space: nowrap;
    margin-top: 15px;
    font-size: 18px;
    position: sticky;
    top: 0;
    z-index: 1000;
}

/* Dropdown menu */
.dropdown{
    display:none;
    font-size:18px;
    font-family: cursive;
    background:none;
    border:none;
    cursor:pointer;
}

.dropdown-content a.active {
    background-color: #FF9F43;
    color: #efefe8;
}

/* Hero section */
.hero {
    height: 90vh;
    display: flex;
    align-items: center;
    padding-left: 8%;
    background: url('Images/HomePageLogo.png') no-repeat center center/cover;
    position: relative;
    color: #fff;
    margin-left: -22px;
    margin-right: -22px;
}

.hero-content h1, .hero-content p {
    display: flex;
    flex-direction: column;
    max-width: 500px;
    text-align: left;
    margin-left: 0;
    color: #1F2A44;
}

/* Services section */
.services {
    padding: 60px 8%;
    margin-left: -22px;
    margin-right: -22px;
    background: url("Images/OurServices.png") no-repeat center center/cover;
    position: relative;
    gap: 40px;
    margin-top: 5px;
}

.section-title {
    color: #1F2A44;
    text-align: center;
    margin-bottom: 50px;
}
.services-card {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    border-radius: 10px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    margin-top: 5px;
    text-align: center;
    align-items: center;
}

.services-card .card-text {
    background-color: #fff;
    padding: 40px;
    border-radius: 10px;
    box-shadow: 0 8px 20px rgba(0,0,0,0.08);
    text-align: center;
}

.services-card .card-text:hover {
    background-color: #1F2A44;
    color: #efefe8;
    transform: translateY(-10px);
    transition: transform 0.3s ease, background-color 0.3s ease, color 0.3s ease;
}

.services img {
    width: 120px;
    height: 120px;
    margin-bottom: 15px;
    display: block;
    align-items: center;
    margin-left: 30%;
}

/* Why Choose Us section */
.Why-grid {
    display: grid;
    background-color: #fff;
    border-radius: 10px;
    grid-template-columns: 2fr 4fr;
    gap: 40px;
    padding: 40px;
    max-width: 130%;
    margin: 30px auto 0 auto;
    width: 100%;
}

.Why-text {
    padding: 20px;
    border-radius: 10px;
}

.section-title2 {
    color: #1F2A44;
    text-align: center;
    margin-top: 100px;

}

.Why-Choose-Hot-Beans ul {
    padding: 20px;
    border-radius: 10px;
    max-width: 400px;
    margin: auto;
    margin-top: 150px;
    margin-left: 7px;
}   

.Why-grid img {
    width: 100%;
    height: auto;
    border-radius: 15px;
    align-items: right;
    margin-left: auto;
    margin-right: auto;
}

.Contact-form {
    display: flex;
    gap: 40px;
    padding: 40px;
}

.section-title3 {
    color: #1F2A44;
    text-align: left;
    margin-top: 30px;
    margin-right: 80px;
}

.Contact-form p {
    display: flex;
    flex-direction: row;
    margin-bottom: 20px;
    color: #1F2A44;
    text-align: left;
}

.Contact-form input[type="text"],
.Contact-form input[type="email"],
.Contact-form input,
.Contact-form textarea {
    width: 100%;
    padding: 20px;
    margin-bottom: 10px;
    border: 1px solid #ccc;
    border-radius: 5px;
    font-size: 16px;
    font-family: cursive;
    color: #1F2A44;
}

.contact-form button[type="submit"] {
    background-color: #FF9F43;
    color: #F2F4F7;
    padding: 12px 20px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 18px;
    font-family: cursive;
    transition: background-color 0.3s ease;
}

.contact-form button[type="submit"]:hover {
    background-color: #1F2A44;
    color: #F2F4F7;
}

.Achievements {
    padding: 60px 8%;
    margin-left: -22px;
    margin-right: -22px;
    background: url("Images/ContactBGImg.png") no-repeat center center/cover;
    position: relative;
    gap: 40px;
    margin-top: 5px;
    color: #FF9F43;
}

.Achievements-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
    border-radius: 10px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
    margin-top: 5px;
    text-align: center;
    align-items: center;
}

.Achievements-text, .Achievements-text h2 {
    padding: 0 30px;
    color: #FF9F43;
}

.Achievements-text + .Achievements-text {
    border-left: 1px solid rgba(255,255,255,0.3);
}

.section-title4 {
    color: #FF9F43;
    text-align: center;
    margin-bottom: 50px;
}

.Tech-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    border-radius: 10px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
    margin-top: 5px;
    text-align: center;
    align-items: center;
}

.Tech-text img {
    width: 120px;
    height: 120px;
    margin-bottom: 15px;
    display: block;
    align-items: center;
    margin-left: 30%;
}

.Tech-text p {
    margin-right: 70px;
}

.and-more {
    text-align: center;
    color: #FF9F43;
    font-size: 20px;
    margin-top: 20px;
}

/* Header 2 for the vacancies and job sections */
.header2 {
    border-radius: 6px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 90px 10px;
    background-color: #1F2A44;
    border-bottom: 2px solid #FF9F43;
    position: sticky;
    left: 0;
    width: calc(100% + 22px);
    height: 140px;
    margin-left: -22px;
    margin-right: -22px;
    top: 0;
    z-index: 999;
    transition: 0.3s;
}

.header2 img {
    height: 160px;
    margin: 30px 0 0 0;
    margin-bottom: 40px;
    margin-left: 20px;
    display: block;
    align-items: left;
}

.header2 ul {
    background-color: #1F2A44;
    padding: 10px 0;
    text-align: center;
    gap: 2rem;
    white-space: nowrap;
    margin-bottom: 10px;
    font-size: 18px;
    position: sticky;
    top: 0;
    z-index: 1000;
}

/* Navigation links */
.nav-links {
    display: flex;
    justify-content: space-between;
    gap: 10px;
    z-index: 60;
    white-space: nowrap;
    position: sticky;
    top: 0;
    flex-direction: row;
    line-height: 1;
}

.nav-links a {
    color: #efefe8;
    text-decoration: none;
    padding: 8px 15px;
    align-items: center;
    border-radius: 10px;
    transition: background-color 0.3s ease;
    font-family: 'Comic Relief', cursive;
}

.nav-links a:hover {
    background-color: #FF9F43;
    color: #fff;
}

.nav-links a.active {
    background-color: #FF9F43;
    color: #efefe8;
}

/* Breadcrumb navigation for the vacancies */
ul.breadcrumb {
    padding: 10px 16px;
    list-style: none;
    color: #1F2A44;
    text-decoration: none;
    padding: 8px 15px;
    border-radius: 10px;
    transition: background-color 0.3s ease;
    font-family: 'Comic Relief', cursive;
}

ul.breadcrumb li {
    display: inline;
    font-size: 18px;
}

ul.breadcrumb li + li:before {
    background-color: #1F2A44;
    padding: 8px;
    color: #efefe8;
    content: "/\00a0";
    text-decoration: none;
}

ul.breadcrumb li a {
    background-color: #1F2A44;
    color: #efefe8;
    text-decoration: underline;
    text-decoration-color: #efefe8;
}

ul.breadcrumb li a:hover {
    color: #FF9F43;
    text-decoration: underline;
}

/* Layout grids */
.content-grid {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 40px;
    padding: 10px;
    max-width: 100%;
    margin: auto;
    width: 100%;
}

.content-grid2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    padding: 40px;
    max-width: 100%;
    margin: auto;
    width: 100%;
}

.content-grid3 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    padding: 40px;
    max-width: 70%;
    margin: auto;
    width: 100%;
}

.content-grid3 img {
    width: 100%;
    height: auto;
    border-radius: 15px;
}

.content-grid4 {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 40px;
    padding: 7px;
    max-width: 80%;
    height: auto;
    margin: auto;
    align-content: start;
}

.content-grid4 .testimonial-image {
    width: 100%;
    height: auto;
    border-radius: 15px;
    padding: 7px;
    gap: 8px;
    display: grid;
    grid-template-columns: auto auto auto;
}

/* Cards and content blocks */
.container {
    width: 100%;
    max-width: 100%;
}

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

.container img {
    float: right;
    margin-right: 20px;
    margin-bottom: 10px;
    width: 45%;
    height: auto;
    border-radius: 15px;
}

.why-work-with-us {
    display: grid;
    grid-template-columns: 2fr 1fr; /* 2 columns */
    gap: 50px;
    align-items: start;
    width: 100%;
    max-width: 100%;
    margin-bottom: 10px;
    
}

.why-us {
    display: flex;
    flex-direction: column;
    gap: 25px;
    padding: 30px 3%;
    margin-bottom: 40px;
}

.titling {
    display: flex;
    flex-direction: row;
    color: #1F2A44;
    text-align: left;
    margin: 30px 0px 10px 90px;
    white-space: nowrap;
}

.intro {
    display: flex;
    flex-direction: row;
    color: #1F2A44;
    text-align: left;
}

.Why-work-card {
    background-color: #FFF2D7;
    padding: 40px;
    white-space: nowrap;
    margin-top: 120px;
    border-radius: 10px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
    margin-right: 90px;
}


.card {
    background-color: #fff;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.card img {
    width: 100%;
    height: auto;
    border-radius: 10px;
}

.card a:link,
.card a:visited {
    color: #FF9F43;
    text-decoration: underline;
    text-decoration-color: #FF9F43;
}

.profile-card {
    background-color: #FF9F43;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    gap: 15px;
}

.profile-card p {
    margin-bottom: 10px;
    color: #efefe8;
    text-align: center;
}

.profile-card:hover {
    background-color: #1F2A44;
    color: #efefe8;
    transform: translateY(-10px);
    transition: transform 0.3s ease;
}

.vacancies {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 2rem;
    max-width: 1200px;
    margin: 3rem auto;
    padding: 30px;
    border-radius: 20px;
    gap: 15px;
    margin-bottom: 20px;
    text-align: center;
}

.vacancies-section h2,
.vacancies-section h3,
.vacancies-section h4 {
    font-size: 18px;
    color: #FF9F43;
}

.Testimonials h1 {
    text-align: center;
    margin-bottom: 40px;
    color: #FF9F43;
}

.Vacancy1 h4,
.Vacancy2 h4,
.Vacancy3 h4,
.Vacancy4 h4 {
    color: #ba9d1c;
    margin-bottom: 10px;
}

.card-text {
    cursor: pointer;
    font-size: 18px;
    font-family: cursive;
}

/* Job and vacancy sections */
.job-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 20px;
}

.job-header h2 {
    margin-left: 0px;
    margin-top: 45px;
}

.apply-button {
    padding: 8px 16px;
    margin-left: 12px;
    margin-top: 35px;
    background-color: #FF9F43;
    border-radius: 5px;
    cursor: pointer;
    margin-left: auto;
    color: #1F2A44;
}

.apply-button:hover {
    background-color: #1F2A44;
    color: #fff;
}

.job-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.job-content {
    margin-left: 22px;
}

.job-content ol {
    list-style-type: square;
    margin-left: 40px;
    background-color: #FFF2D7;
}

/* Story/mission sections */
.OurMission p,
.Ourstory p {
    text-align: left;
    margin-left: 20px;
}

.Ourstory {
    align-self: center;
    float: center;
    text-align: center;
}

.OurMission {
    align-self: center;
    text-align: center;
}

/* Apply Here */
.application-form {
    max-width: 600px;
    margin: auto;
    background-color: #f4f4f4;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    color: #1A1A1A;
    font-family: cursive;
}

.application-form label {
    display: block;
    margin-bottom: 8px;
    font-weight: bold;
}

.application-form input[type="text"],
.application-form input[type="email"],
.application-form input[type="tel"],
.application-form input[type="date"],
.application-form select,
.application-form textarea {
    width: 100%;
    padding: 10px;
    margin-bottom: 15px;
    border: 1px solid #ccc;
    border-radius: 5px;
    font-size: 16px;
    font-family: cursive;
}

.application-form input[type="submit"] {
    background-color: #1F2A44;
    color: #F2F4F7;
    padding: 12px 20px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 18px;
    transition: background-color 0.3s ease;
}

.application-form input[type="submit"]:hover {
    background-color: #FF9F43;
    color: #1A1A1A;
}

.Top {
    text-align: center;
    margin-bottom: 20px;
}

/* Footer */
.footer {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    padding: 20px;
    background-color: #1F2A44;
    color: #F2F4F7;
    min-width: 100%;
    width: 100vw;
    position: relative;
    left: 50%;
    right: 50%;
    margin-left: -50vw;
    margin-right: -50vw;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 2fr 1fr;
    align-items: center;
    gap: 20px;
    margin: auto;
    font-size: 16px;
    justify-content: space-between;
    width: 100%;
    min-width: 100%;
}

.footer h3 {
    margin-bottom: 10px;
    color: #F2F4F7;
    font-size: 18px;
    font-family: cursive;
}

.footer-Logo-card img {
    height: 160px;
    margin: 30px 0 0 0;
    margin-bottom: 40px;
    margin-left: 20px;
    display: block;
    align-items: left;
    flex-shrink: 0;
}
.footer-socials-card img {
    width: 50px;
    height: 45px;
    margin-left: 50%;
    transform: translateX(-50%);
    display: block;
    flex-shrink: 0;
}

/* =========================
   LARGE PHONES / MOBILE (768px)
   ========================= */

@media (max-width: 768px) {

body {
    font-size: 16px;
    margin-left: 0;
}

h1 {
    font-size: 22px;
}

h2 {
    font-size: 20px;
}

/* HEADER */

.header, .header2 { 
    display: flex; 
    justify-content: 
    space-between; 
    align-items: center; 
    padding: 10px 20px; 
} 

.header nav {
    display: none; /* Hide the navigation links on mobile */
}
    
.header img, .header2 img { 
    height: 90px; /* bigger logo for mobile */ 
}

.dropbtn {
    padding: 8px 16px;
    margin-left: 12px;
    margin-top: 35px;
    background-color: #FF9F43;
    border-radius: 8px;
    cursor: pointer;
    margin-left: auto;
    color: #1F2A44;
}

.dropbtn:hover {
    background-color: #1F2A44;
    color: #fff;
}

.dropdown {
  position: relative;
  display: inline-block;
  
}
    
/* Dropdown Content (Hidden by Default) */
.dropdown-content {
  display: none;
  position: absolute;
    top: calc(100% + 6px);
    right: 0;
    left: auto;
  background-color: #f1f1f1;
  font-size: 18px;
    white-space: normal;
  min-width: 100px;
    width: min(260px, calc(100vw - 24px));
    max-width: calc(100vw - 24px);
  box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
    box-sizing: border-box;
    overflow-x: hidden;
  z-index: 1;
}

.dropdown-content a {
    background-color: #1F2A44;
    color: #F2F4F7;
    padding: 12px 16px;
    text-decoration: none;
    display: block;
        white-space: normal;
        overflow-wrap: anywhere;
}

/* Change color of dropdown links on hover */
.dropdown-content a:hover {background-color: #FF9F43;
color: #FFF2D7;}

/* Show the dropdown content when the button is clicked */
.show {
  display: block;
}

/* HERO */

.hero {
    height: auto;
    padding: 60px 5%;
    text-align: center;
}

.hero-content h1,
.hero-content p {
    max-width: 100%;
    text-align: center;
}

/* GRID STACKING */

.services-card,
.Tech-grid,
.Achievements-grid,
.content-grid,
.content-grid2,
.content-grid3,
.content-grid4 {
    grid-template-columns: 1fr;
}

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

.content-grid4 {
    max-width: 95%;
}

.container img {
    float: none;
    width: 100%;
    margin: 20px 0;
}

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

.footer-grid {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 30px;
}

}
