/*

Guide to Coding website:
- Naming convention: camel case for all ids and classes. EX: (helloWorld, currentLoad)
- Naming convention: snake case for all variables in css. EX: (snake_case, water_shoot)
- Naming convention: Pascal case for all variables in css. EX: (HelloWorld, CapitalLetter, Abcd)
- Use Flex instead of grid!!
- (to be continued)

*/


/* PLACE ALL YOUR VARIABLES HERE!!*/
:root {
    /* Global Variables*/
    --text_color_light: #fff;
    --text_color_dark: #000;

    /* Body Variables*/
    --bg_color: #ffffff;
    --text_font: 'Roboto', sans-serif;

    /* Header*/
    --header_bg_color: #ffffff;
    --nav_hover_color: #00ff1e;

    /* Section 1: Tabs*/
    --tab_selected_color: #7583D7;
    --tab_border_color: #29378C;
    --tab_unselected_color: #4D5FCB;
    --tab_minitab_bg_color: rgba(255, 255, 255, 0.75);
    
    /* Section 2: About Us*/
    --about_us_bg_color: #7a7a7a;
    --about_us_bg_image: url("/images/aboutus_img.png");
    /* Section 3: Meet the team*/

    /* Section 4: Why choose us*/
    --why_choose_us_bg_color: #4D5FCB;
    --why_choose_us_bg_item_color: #8092FE;

    /* Footer*/
    --footer_bg_color: #C4CAEE;
    --footer_tab_bg_color: #7583D7;
}
section{
    border-bottom: 5px solid #29378C;
}
body {
    background: var(--bg_color);
    font-family: var(--text_font);
    max-width: 1920px;
    padding: 0;
    margin: 0;
}

/* Header*/
header {    
    background-color: var(--header_bg_color);
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 10%;
    border-bottom: 5px solid #29378C;
}
#logo {
    cursor: pointer;
}
nav {
    order: 0; 
}
.nav_links {
  list-style: none;
  padding: 10px 25px;
  border: 3px solid #29378C; /* dark blue */
  border-radius: 15px; /* pill shape */
  color: #29378C;
  font-weight: bold;
  font-size: 1.1rem;
  font-family: sans-serif;
  text-align: center;
}
.nav_links li {
    padding: 0px 20px; 
}
.nav_links li a {
    transition: all 0.3s ease 0s;
    text-decoration: none;
}
.nav_links li a:hover {
    color: var(--nav_hover_color);
}
#clump{
  display: flex;
  align-items: center; 
  justify-content: space-between;
  gap: 0.50rem;
}

/*Language Tab */
.translateLanguage {
  display: inline-flex;
  border: 3px solid #243695;
  border-radius: 15px;
  overflow: hidden;
  font-family: sans-serif;
}

.translateLanguage input[type="radio"] {
  display: none;
}

.translateLanguage label {
  padding: 10px 20px;
  cursor: pointer;
  background-color: white;
  color: #243695;
  font-weight: bold;
  transition: background-color 0.3s, color 0.3s;
  border-left: 1px solid #243695;
}

.translateLanguage label:first-of-type {
  border-left: none;
}

/* Checked state styles */
#english:checked + label[for="english"],
#arabic:checked + label[for="arabic"] {
  background-color: #243695;
  color: white;
}


/* Section 1*/
#tabSection{
    border-bottom: 5px solid #29378C;

}
.myTabs {
    display: flex;
    flex-wrap: wrap;
    max-width: 1760px;
    max-height: 976px;
    margin: 50px auto;
    padding: 25px;
    
}
.myTabs input[type="radio"] {
    display: none;
}
.myTabs label {
    padding: 13px;
    padding-left: 60px;
    padding-right: 60px;
    background: var(--tab_selected_color);
    font-weight: bold;
    border-top-right-radius: 16px;
    border-top-left-radius: 16px;
    color: #fff;
    box-sizing: border-box;
}
.myTabs .tab h2 {
    max-width: 400px;
    font-size: 51px;
    margin-top: 50px;
}
.myTabs input[type='radio']:checked + label + .tab {
    display: block;
}
.myTabs input[type='radio']:checked + label {
    background: var(--tab_border_color);
}

label[for="servicesTab"] {
    background-color: #4D5FCB;
    color: #fff;
}
.tab {
    width: 1760px;
    height: 900px;
    max-height: 900px;
    padding: 20px;
    background: var(--tab_selected_color);
    background-image: url("/images/Frame_BG.png");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    border: 4px solid #29378C;
    order: 1;
    overflow: hidden;
    display: none;
    border-bottom-left-radius: 16px;
    border-bottom-right-radius: 16px;
    border-top-right-radius: 16px;
}
.blocks_tab {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    justify-content: flex-start;
}
.miniTab {
    background: var(--tab_minitab_bg_color);
    width: 466px;
    height: 754px;
    max-width: 466px;
    max-height: 754px;

    padding: 20px;
    margin: 40px;
    margin-top: 60px;
    border-radius: 16px;

    display: flex;
    align-items: center;
    flex-direction: column;
    justify-content: space-evenly;
}
.miniTab img {
    max-width: 200px;
    max-height: 200px;
    width: 100%;
    height: 100%;
    border-radius: 100px;
}
.miniTab p {
    color: #4D4D4D;
    max-width: 400px;
    margin-top: -40px;
    font-size: 17px;
}
.miniTab button {
    background-color: var(--tab_minitab_bg_color);
    border: 2px solid #29378C;

    font-size: 17px;
    font-weight: bold;

    margin-top: 40px;
    margin-left: 25px;
    border-radius: 16px;

    align-self: flex-start;

    max-width: 180;
    max-height: 60px;
    width: 180;
    height: 60px;
}
.miniTab button img {
    max-width: 180;
    max-height: 60px;
    width: 180;
    height: 60px;
}
.insideTab:nth-child(1) {
    background-color: #ff3838;
    width: 100px;
    height: 100px;
}
.insideTab:nth-child(2) {
    background-color: #ffabab;
    width: 100px;
    height: 100px;
}
.blocks_tabV2 {
    display: flex;
    flex-direction: column;
    flex-wrap: nowrap;
    justify-content: space-evenly;

    max-width: 1760px;
    max-height: 976px;
    width: 1760px;
    height: 900px;
}
.miniTabV2 {
    background: var(--tab_minitab_bg_color);
    width: 950px;
    height: 100px;
    max-width: 950px;
    max-height: 100px;

    padding: 10px;
    margin: 10px;
    border-radius: 16px;
    gap: 10px;

    display: flex;
    align-items: center;
    flex-direction: row;
    justify-content: space-between;
}
.miniTabV2 p {
    color: #4D4D4D;
    max-width: 700px;
    font-size: 25px;
    font-weight: bold;
}
.miniTabV2 img {
    align-items: flex-start;
    max-width: 100px;
    max-height: 100px;
    width: 100%;
    height: 100%;
    border-radius: 100px;
}
.miniTabV2 button {
    background-color: var(--tab_minitab_bg_color);
    border: 2px solid #29378C;

    font-size: 17px;
    font-weight: bold;

    border-radius: 16px;

    max-width: 180;
    max-height: 60px;
    width: 180px;
    height: 60px;
}
.miniTabV2 button img {
    max-width: 180px;
    max-height: 60px;
    width: 180;
    height: 60px;
}
.insideTab:nth-child(1) {
    background-color: #ff3838;
    width: 100px;
    height: 100px;
}
.insideTab:nth-child(2) {
    background-color: #ffabab;
    width: 100px;
    height: 100px;
}
.age-range {
    font-size: 2em; /* adjust as needed */
    font-weight: normal; /* optional: make it less bold */
    opacity: 0.8; /* optional: soften the appearance */
    text-align: left;
    margin-top: 0;
}
.headings h2{
    margin-bottom: 0;
}


/* Section 2*/
#aboutUs {
    background-image: var(--about_us_bg_image);
    background-size: cover;
    background-position: center;
}
#aboutUsOverlay {
    background-color: rgba(27, 37, 98, 0.5);
    padding: 10%;
    display: flex;
    flex-direction: row;
}
.aboutusText{
    display: flex;
    flex-direction: column;
    text-align: center;
    font-size: 25px;
     line-height: 1.8;
}

.aboutusText h1{
    font-size: 50px;
    color:#ffffff;
}

/* Section 3*/
#meetTheTeam {
    border-bottom: none;
}
#meetTheTeam h1 {
    padding-top: 50px;
    text-align: center;
    font-size: 35px;
}
.mTTContainer {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
}
.mTTContainer div div h4 {
    color: #4D4D4D;
}
.mTTContainer div {
    max-width: 533px;
    max-height: 716px;
    width: 533px;
    height: 716px;

    border-radius: 25px;

    background-size: cover;
    background-position: center;

    margin: 10px;

    background-color: #B0B8E8;
}
#doctor1 {
    background-image: url("/images/MeetTheTeam/person1.png");
    display: flex;
    align-items: end;
}
#doctor1 div {
    background-color: rgba(255, 255, 255, 0.8);

    max-width: 373px;
    max-height: 80px;
    width: 373px;
    height: 80px;

    margin: 50px;
    margin-left: 80px;
    
    border: 2px solid #7583D7;

    text-align: center;
    display: flex;
    flex-direction: column;
    justify-items: center;
    padding-top: 30px;
}
#doctor1 div h2, h4 {
    padding: 0;
    margin: 0;
}
#doctor2 {
    background-image: url("/images/MeetTheTeam/person2.png");
        display: flex;
    align-items: end;
}
#doctor2 div {
    background-color: rgba(255, 255, 255, 0.8);

    max-width: 373px;
    max-height: 80px;
    width: 373px;
    height: 80px;

    margin: 50px;
    margin-left: 80px;
    
    border: 2px solid #7583D7;

    text-align: center;
    display: flex;
    flex-direction: column;
    justify-items: center;
    padding-top: 30px;
}
#doctor2 div h2, h4 {
    padding: 0;
    margin: 0;
}
#doctor3 {
    background-image: url("/images/MeetTheTeam/person3.png");
    display: flex;
    align-items: end;
}
#doctor3 div {
    background-color: rgba(255, 255, 255, 0.8);

    max-width: 373px;
    max-height: 80px;
    width: 373px;
    height: 80px;

    margin: 50px;
    margin-left: 80px;
    
    border: 2px solid #7583D7;

    text-align: center;
    display: flex;
    flex-direction: column;
    justify-items: center;
    padding-top: 30px;
}
#doctor3 div h2, h4 {
    padding: 0;
    margin: 0;
}

/* Section 4*/
#whyChooseUs {
    background-color: var(--why_choose_us_bg_color);
    text-align: center;
    margin-top: 90px;
    border-top: 5px solid #29378C;
}
#whyChooseUs h1 {
    color: #fff;
    font-size: 40px;
    font-weight: bold;
    
    padding-top: 40px;
    margin: 0;
}
#whyChooseUsContainer div h2, p {
    color: #D9D9D9;
}
#whyChooseUsContainer {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: repeat(2, 1fr);
    gap: 20px;
    padding: 20px;
    max-width: 100%;
    box-sizing: border-box;
}

.whyChooseUsItems {
    background-color: var(--why_choose_us_bg_item_color);

    max-width: 520px;
    max-height: 313px;

    text-align: center;
    margin: 20px;
    padding: 20px;

    border-radius: 25px;
}
.whyChooseUsItems img {
    max-width: 100px;
    max-height: 100px;
}

/* Footer*/
footer {
    background-color: var(--footer_bg_color);
    border-top-left-radius: 100px;
    border-top-right-radius: 100px;
    margin-top: 80px;
    align-items: center;

    display: flex;
    flex-direction: column;
    
}
.footerContainer {
    padding: 50px;
    gap: 50px;

    display: flex;
    justify-content: space-evenly;
}

.footerTabs {
    background-color: var(--footer_tab_bg_color);
    color: #fff;

    border-radius: 25px;
    text-align: center;
    padding: 30px;

    height: 400px;
    width: 350px;
    max-height: 400px;
    max-width: 350px;
}
.footerTabs ul {
    list-style-type: none;
    display: flex;
    flex-direction: column;
    justify-content: space-evenly;
    height: 200px;

    padding: 0;
    padding-top: 20px;
    margin: 0;
}
.footerTabs ul li a {
    text-decoration: none;
    color: #fff;
}
.footerTabs ul li a:visited {
  color: inherit;
}

.footerTabs ul li a:hover {
  color: #ffc400;
}
.footerContainer div h2 {
    font-size: 32px;
    font-weight: bold;
}
#footerCompany {
    background-color: var(--footer_tab_bg_color);
    color: #fff;

    border-radius: 25px;
    text-align: center;
    padding: 30px;
    
    height: 400px;
    width: 350px;
    max-height: 400px;
    max-width: 350px;
}
#footerCompany ul {
    list-style-type: none;
    display: flex;
    flex-direction: column;
    justify-content: space-evenly;
    height: 200px;
    align-items: flex-start;
    text-align: justify;

    padding: 0;
    padding-top: 20px;
    margin: 0;
}
#footerCompany ul li {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 15px;
}

#footerCompany ul li img {
  width: 24px;
  height: 24px;
  object-fit: contain;
}

#footerCompany ul li a {
  text-decoration: none;
  color: #fff;
  flex: 1;
  text-align: left;
}

#footerCompany ul li a:visited {
  color: inherit;
}

#footerCompany ul li a:hover {
  color: #ffc400;
}

#footerCopyright {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: #fff;

    margin: 20px;
    margin-top: 0;
    padding: 10px;
    border-radius: 25px;

    width: 1320px;
    max-width: 1320px;
    max-height: 80px;
}
#footerCopyright img {
    max-width: 200px;
    max-height: 57px;
}
#footerCopyright div img {
    max-width: 35px;
    max-height: 35px;

    width: 35px;
    height: 35px;
}


/* Animations */
section {
    opacity: 0;
    filter: blur(5px);
    transform: translateX(-20%);
    transition: all 1s;
}

.show {
    opacity: 1;
    transform: translateX(0);
    filter: blur(0);
}