/* General Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Montserrat", sans-serif;
    scroll-behavior: smooth !important;
}

body {
    margin: 0;
    line-height: normal;
    overflow-x: hidden;
}

:root {
    /* Fonts */
    --font-montserrat: Montserrat;
    --font-inter: Inter;

    /* Font Sizes */
    --font-size-lg: 18px;
    --font-size-xl: 20px;
    --font-size-3xl: 22px;
    --font-size-5xl: 24px;
    --font-size-11xl: 30px;
    --font-size-13xl: 32px;
    --font-size-17xl: 36px;
    --font-size-24xl: 43px;
    --font-size-39xl: 58px;
    --font-size-40xl: 59px;
    --font-size-53xl: 72px;

    /* Colors */
    --color-darkslategray-100: #2e2d4b;
    --color-darkslategray-200: #212b3f;
    --light-text: #fff;
    --color-chocolate-100: #da7d0c;
    --color-dimgray: #545454;
    --color-gray-100: #fafafa;
    --dark-gray: #2b2b2b;
    --dark-gray1: #181818;
    --color-darkslateblue: #192f5d;
    --color-sandybrown: #e6ac6e;
    --color-black: #000;
    --color-peru: #dc8b2b;

    /* Gaps */
    --gap-3xs: 10px;
    --gap-5xs: 8px;
    --gap-xs: 12px;
    --gap-base: 16px;
    --gap-xl: 20px;
    --gap-6xl: 25px;
    --gap-21xl: 40px;
    --gap-61xl: 80px;

    /* Paddings */
    --padding-3xs: 10px;
    --padding-xs: 12px;
    --padding-smi: 13px;
    --padding-base: 16px;
    --padding-xl: 20px;
    --padding-5xl: 24px;
    --padding-7xl: 26px;
    --padding-9xs: 4px;
    --padding-11xl: 30px;
    --padding-19xl: 38px;
    --padding-20xl: 39px;
    --padding-33xl: 52px;
    --padding-41xl: 60px;
    --padding-43xl: 62px;
    --padding-53xl: 72px;
    --padding-72xl: 91px;
    --padding-73xl: 92px;
    --padding-103xl: 122px;
    --padding-119xl: 138px;
    --padding-123xl: 142px;
    --padding-125xl: 144px;

    /* Border Radius */
    --br-base: 16px;
    --br-21xl: 40px;
    --br-3981xl: 4000px;
}

/* Header Section */
.header {
    min-height: 100vh;
    width: 100%;
    background-image: linear-gradient(rgba(4, 9, 30, 0.7), rgba(4, 9, 30, 0.7)), url(images/ball.jpg);
    background-position: center;
    background-size: cover;
    position: relative;
}

nav {
    display: flex;
    padding: 2% 6%;
    justify-content: space-between;
    align-items: center;
}

nav img {
    width: 150px;
}

.nav-links {
    flex: 1;
    text-align: right;
}

.nav-links ul li {
    list-style: none;
    display: inline-block;
    padding: 8px 12px;
    position: relative;
}

.nav-links ul li a {
    color: white;
    text-decoration: none;
    font-size: 13px;
}

.nav-links ul li::after {
    content: '';
    width: 0%;
    height: 2px;
    background: #e6ac6e;
    display: block;
    margin: auto;
    transition: 0.5s;
}

.nav-links ul li:hover::after {
    width: 100%;
}

.text-box {
    width: 90%;
    color: white;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
}

.text-box h1 {
    font-size: 62px;
}

.text-box p {
    margin: 10px 0 40px;
    font-size: 14px;
    color: white;
}

.hero-btn, .test-btn, .sub-btn {
    display: inline-block;
    text-decoration: none;
    color: white;
    border: 1px solid white;
    border-radius: 4px;
    padding: 12px 34px;
    font-size: 13px;
    background: transparent;
    position: relative;
    cursor: pointer;
}

.sub-btn {
    color: black;
    border: 1px solid black;
}

.hero-btn:hover, .test-btn:hover, .sub-btn:hover {
    border: 1px solid #dc8b2b;
    background: #dc8b2b;
    transition: 1s;
}
.sub-btn:hover {
    transition: .3s;
}



nav .fa {
    display: none;
}

@media (max-width: 700px) {
    .text-box h1 {
        font-size: 20px;
    }
    .nav-links ul li {
        display: block;
    }
    .nav-links {
        position: absolute;
        background: #dc8b2b;
        height: 100vh;
        width: 200px;
        top: 0;
        right: -200px;
        text-align: left;
        z-index: 2;
        transition: 1s;
    }
    nav .fa {
        display: block;
        color: white;
        margin: 10px;
        font-size: 22px;
        cursor: pointer;
    }
    .nav-links ul {
        padding: 30px;
    }
}









/* About Section */
.absec {
    margin: auto;
}

.who-are-we {
    margin: 0;
    position: relative;
    font-size: 2.5rem;
    text-transform: uppercase;
    font-weight: 700;
    font-family: inherit;
    text-align: center;
}

.about-title {
    overflow: hidden;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    padding: 20px;
    box-sizing: border-box;
    max-width: 100%;
}

.svgg-icon {
    width: 300px;
    max-height: 100%;
    max-width: 100%;
    margin: 0 auto 20px;
}

.care-with-dignity {
    margin: 0;
    font-size: 2rem;
    font-weight: 700;
    font-family: inherit;
    text-align: center;
}

.abtext {
    margin: 20px 0;
    font-size: 1.25rem;
    font-weight: normal;
    font-family: inherit;
    text-align: left;
    font-size: 1rem;
    max-width: 500px;
}

.test-btn {
    display: inline-block;
    text-decoration: none;
    color: white;
    border: 1px solid white;
    border-radius: 4px;
    padding: 12px 34px;
    font-size: 1rem;
    background: transparent;
    transition: background 0.5s, color 0.5s;
}

.test-btn:hover {
    background: #dc8b2b;
    color: white;
}

.about-content, .about1, .content {
    display: flex;
    align-items: center;
    justify-content: center;
    justify-items: center;
    box-sizing: border-box;
    max-width: 100%;
    padding: 20px;
}

.content {
    flex: 1;
    flex-direction: column;
    justify-content: flex-start;
    padding: 0 20px;
}

.about-content, .about1 {
    justify-content: center;
}

.about1 {
    background-color: var(--color-darkslategray-100);
    flex-direction: column;
    padding: 50px 20px;
    text-align: center;
    color: var(--light-text);
    font-family: var(--font-montserrat);
    min-height: 80vh;
    justify-content: center;
}

@media (max-width: 768px) {
    .about-content {
        flex-direction: column;
        text-align: center;
    }

    .svgg-icon {
        width: 150px;
    }

    .care-with-dignity {
        font-size: 1.5rem;
    }
}

@media (max-width: 480px) {
    .who-are-we {
        font-size: 1.5rem;
    }

    .care-with-dignity {
        font-size: 1.25rem;
    }

    .abtext {
        font-size: 0.875rem;
    }
}








/* Services Section */
.servsec {
    background-color: #E6AC6E;
    box-shadow: 0 0 500px #E6AC6E;
}

.service {
    width: 80%;
    text-align: center;
    background-clip: padding-box;
    background-color: #E6AC6E;
    margin: auto;
    padding-top: 40px;
}

.service h1 {
    font-size: 36px;
    font-weight: 600;
    color: white;
}

.service p {
    font-size: 14px;
    font-weight: 300;
    line-height: 22px;
    padding: 10px;
}

.service h2 {
    font-size: 24px;
    font-weight: 450;
    color: goldenrod;
    padding: 8px;
}

.row {
    margin-top: 5%;
    display: flex;
    justify-content: space-between;
}

.care-plate {
    width: 40%;
    align-self: stretch;
    flex-wrap: wrap;
    margin: auto;
    padding: 10px 12px;
}

.serv-col {
    flex-basis: 31%;
    background: white;
    border-radius: 10px;
    margin-bottom: 5%;
    padding: 20px 12px;
    box-sizing: border-box;
    transition: 0.5s;
}

.serv-col h3 {
    text-align: center;
    font-weight: 600;
    margin: 10px 0;
}

.serv-col:hover {
    box-shadow: 0 0 20px 0px rgba(0, 0, 0, 0.2);
}

@media (max-width: 700px) {
    .row {
        flex-direction: column;
    }
    .care-plate {
        width: 60%;
    }
}














/* Jobs Section */
.jobs {
    min-height: 100vh;
    width: 100%;
    background-image: linear-gradient(rgba(4, 9, 30, 0.7), rgba(4, 9, 30, 0.7)), url(images/jobs.jpg);
    background-position: center;
    background-size: cover;
    position: relative;
    padding-bottom: 30px;
}

.jobs-box {
    width: 80%;
    margin: auto;
    text-align: center;
    padding-top: 30px;
}

.jobs-box p,
.jobs-box h1 {
    color: white;
}
.jobs-box h1{
    font-size: 36px;
    padding-bottom: 10px;
}

.jobs-box p {
    line-height: 1.6;
    max-width: 800px;
    margin: auto;
}

.job-col,
.content-item {
    flex-basis: 32%;
    border-radius: 10px;
    margin-bottom: 30px;
    position: relative;
    overflow: hidden;
}

.content-item h2 {
    color: #dc8b2b;
}

.job-col {
    transition: transform 0.3s;
}

.job-col img {
    width: 100%;
    height: 100%;
    display: block;
}

.job-col:hover {
    transform: scale(1.05);
}

.layer {
    background: rgba(0, 0, 0, 0.5);
    height: 100%;
    width: 100%;
    position: absolute;
    top: 0;
    left: 0;
    transition: background 0.5s, opacity 0.5s;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.layer:hover {
    background: rgba(218, 165, 32, 0.4);
}

.layer h3 {
    font-weight: 500;
    color: white;
    font-size: 26px;
    opacity: 0;
    transition: opacity 0.5s, transform 0.5s;
    transform: translateY(20px);
}

.layer:hover h3 {
    opacity: 1;
    transform: translateY(0);
}









/*------------ testimonials -----------*/
.testimonials2 {
  width: 80%;
  margin: auto;
  flex-direction: column;
  padding-top: 100px;
  padding-bottom: 50px;
}
.testimonials{
    min-height: 100vh;
    width: 100%;
    background-image: linear-gradient(rgba(4,9,30,0.7),rgba(4,9,30,0.7)),url(images/hands.webp);
    background-position: center;
    background-size: cover;
    position: relative;  
}


.whatpeoplesay {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;  /* Center text horizontally */
    position: relative;
    font-size: 36px;
    color: white;
    text-align: center;  /* Center text within each line */
}

.fa6-solidquote-left-icon2 {
  width: 40px;
  position: relative;
  height: 40px;
  overflow: hidden;
  flex-shrink: 0;
}
.since-hiring-royal-container1 {
  margin: 0;
  align-self: stretch;
  position: relative;
  line-height: 32px;
  font-style: italic;
}
.a3 {
  position: absolute;
  top: calc(50% - 16px);
  left: 38.89%;
  line-height: 32px;
  font-weight: 500;
}
.display-picture3 {
  position: absolute;
  height: 100%;
  width: 100%;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  border-radius: var(--br-3981xl);
  background-color: var(--color-darkslateblue);
  border: 2px solid var(--dark-gray);
  box-sizing: border-box;
}
.size64px-typeinitial-statu3 {
  width: 72px;
  position: relative;
  height: 72px;
  overflow: hidden;
  flex-shrink: 0;
}
.daughter-of-a1,
.victoria-c1 {
  align-self: stretch;
  position: relative;
  line-height: 28px;
  font-weight: 600;
}
.daughter-of-a1 {
  font-size: var(--font-size-xl);
  font-weight: 500;
  color: var(--color-dimgray);
}
.frame-div,
.victoria-c-parent {
  display: flex;
  justify-content: flex-start;
}
.victoria-c-parent {
  flex: 1;
  flex-direction: column;
  align-items: flex-start;
  gap: var(--gap-5xs);
  text-align: left;
  font-size: var(--font-size-3xl);
  color: var(--dark-gray);
}
.frame-div {
  width: 440px;
  flex-direction: row;
  align-items: center;
  gap: var(--gap-base);
  text-align: center;
  font-size: var(--font-size-5xl);
  color: var(--light-text);
}
.since-hiring-royal-for-my-moth-parent {
  width: 320px;
  box-shadow: 0 4px 4px #000;
  border-radius: var(--br-21xl);
  background-color: var(--light-text);
  overflow: hidden;
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  padding: var(--padding-xl);
  box-sizing: border-box;
  gap: var(--gap-3xs);
}
.my-experience-with1 {
  margin: 0;
  align-self: stretch;
  position: relative;
  line-height: 32px;
  font-style: italic;
}
.a4 {
  position: absolute;
  top: calc(50% - 16px);
  left: 40.28%;
  line-height: 32px;
  font-weight: 500;
}
.display-picture4 {
  position: absolute;
  height: 100%;
  width: 100%;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  border-radius: var(--br-3981xl);
  background-color: var(--color-darkslateblue);
  border: 2px solid var(--dark-gray);
  box-sizing: border-box;
}
.size64px-typeinitial-statu4 {
  width: 72px;
  position: relative;
  height: 72px;
  overflow: hidden;
  flex-shrink: 0;
}
.client1,
.jenna-w1 {
  align-self: stretch;
  position: relative;
  line-height: 28px;
  font-weight: 600;
}
.client1 {
  font-size: var(--font-size-xl);
  font-weight: 500;
  color: var(--color-dimgray);
}
.jenna-w-parent {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  gap: var(--gap-5xs);
  text-align: left;
  font-size: var(--font-size-3xl);
  color: var(--dark-gray);
}
.size64px-typeinitial-statu-parent1 {
  width: 440px;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: flex-start;
  gap: var(--gap-base);
  text-align: center;
  font-size: var(--font-size-5xl);
  color: var(--light-text);
}
.my-experience-with-royal-home-parent {
  width: 320px;
  box-shadow: 0 4px 4px #000;
  border-radius: var(--br-21xl);
  background-color: var(--light-text);
  overflow: hidden;
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  padding: var(--padding-xl);
  box-sizing: border-box;
  gap: var(--gap-3xs);
}
.royal-homecare-consistently {
  margin: 0;
  align-self: stretch;
  position: relative;
  line-height: 32px;
  font-style: italic;
}
.a5 {
  position: absolute;
  top: calc(50% - 16px);
  left: 45.83%;
  line-height: 32px;
  font-weight: 500;
}
.display-picture5 {
  position: absolute;
  height: 100%;
  width: 100%;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  border-radius: var(--br-3981xl);
  background-color: var(--color-darkslateblue);
  border: 2px solid var(--dark-gray);
  box-sizing: border-box;
}
.size64px-typeinitial-statu5 {
  width: 72px;
  position: relative;
  height: 72px;
  overflow: hidden;
  flex-shrink: 0;
}
.isaac-t1,
.son-of-a1 {
  align-self: stretch;
  position: relative;
  line-height: 28px;
  font-weight: 600;
}
.son-of-a1 {
  font-size: var(--font-size-xl);
  font-weight: 500;
  color: var(--color-dimgray);
}
.isaac-t-parent {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  gap: var(--gap-5xs);
  text-align: left;
  font-size: var(--font-size-3xl);
  color: var(--dark-gray);
}
.size64px-typeinitial-statu-parent2 {
  width: 440px;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: flex-start;
  gap: var(--gap-base);
  text-align: center;
  font-size: var(--font-size-5xl);
  color: var(--light-text);
}
.royal-homecare-consistently-ex-parent {
  width: 320px;
  box-shadow: 0 4px 4px #000;
  border-radius: var(--br-21xl);
  background-color: var(--light-text);
  overflow: hidden;
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  padding: var(--padding-xl);
  box-sizing: border-box;
  gap: var(--gap-3xs);
}
.fa6-solidquote-left-icon3 {
  width: 40px;
  position: relative;
  height: 40px;
  overflow: hidden;
  flex-shrink: 0;
  object-fit: contain;
}
.fa6-solidquote-left-parent,
.testimonials2 {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--gap-61xl);
}
.fa6-solidquote-left-parent {
  align-self: stretch;
  flex-direction: row;
  flex-wrap: wrap;
  text-align: left;
  font-size: var(--font-size-3xl);
  color: var(--dark-gray1);
  font-family: var(--font-inter);
}




























/* End Section Background */
.end {
    background: url('images/Royal.png') repeat;
    background-size: 20%;
    background-image: linear-gradient(rgba(255, 255, 255, 0.9), rgba(255, 255, 255, 0.9)), url('images/Royal.png');
}


/* Common Section Styles */
.contact-section {
    max-width: 800px;
    margin: 50px auto;
    padding: 40px;
    border-radius: 40px;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.1);
    text-align: center;
    background-color: white;

    overflow: hidden;
}

iframe {
    margin-bottom: -30px;
}

.contact-section h2 {
    font-size: 36px;
    margin-bottom: 20px;
    color: #333;
}

.contact-section p {
    font-size: 18px;
    line-height: 1.6;
    margin-bottom: 30px;
    color: #555;
}

.cta-highlight {
    font-weight: bold;
    color: #dc8b2b;
}

.contact-form label {
    display: block;
    margin-bottom: 10px;
    color: #333;
    text-align: left;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
    width: 100%;
    padding: 15px;
    margin-bottom: 20px;
    border: 1px solid #ccc;
    border-radius: 4px;
    font-size: 16px;

    width: 100%;
    padding: 15px;
    margin-bottom: 17px;
    outline: none;
    border: 1px solid #ccc;
    box-sizing: border-box;

}


.immediate-assistance {
    margin-top: 20px;
    padding-top: 20px;
    font-size: 18px;
    color: #555;
}

.immediate-assistance a {
    color: #dc8b2b;
    text-decoration: none;
}

.immediate-assistance a:hover {
    text-decoration: underline;
}



.iframe{
    overflow-y: hidden;
}












/* Footer Styles */
.footer {
    position: relative;
    text-align: center;
    overflow: hidden;
    background-color: white;
    border-top: 2px solid #dc8b2b;
}

ul {
    list-style-type: none;
}


.footer-content {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 30px 20px;
}

.footer-links,
.footer-social,
.footer-contact {
    text-align: center;
}

.footer-links h3,
.footer-social h3,
.footer-contact h3 {
    font-size: 20px;
    margin-bottom: 15px;
    color: #dc8b2b;
}

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

.footer-links ul li, .footer-content ul li{
    margin: 10px 0;
}

.footer-links ul li a {
    text-decoration: none;
    color: #333;
    font-size: 16px;
}

.footer-links ul li a:hover {
    color: #dc8b2b;
    transition: 0.3s;
}

.footer-social a {
    text-decoration: none;
    color: #333;
    margin: 0 10px;
    font-size: 20px;
}

.footer-social a:hover {
    color: #dc8b2b;
    transition: 0.3s;
}

.footer-contact p {
    margin: 5px 0;
    font-size: 16px;
}

.footer-contact a {
    color: #333;
    text-decoration: none;
}

.footer-contact a:hover {
    color: #dc8b2b;
    transition: 0.3s;
}

.footer-bottom {
    padding: 20px 0;
    font-size: 16px;
    background-color: #dc8b2b;
    color: #333;
}

.footer-bottom p {
    margin: 0;
    color: white;
}






