/*

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);
    
        /* Footer*/
    --footer_bg_color: #C4CAEE;
    --footer_tab_bg_color: #7583D7;
}
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*/
.myTabs {
    display: flex;
    flex-wrap: wrap;
    width: auto;
    height: auto;
    max-width: 100%;
    padding: 25px;
    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: auto;
    max-height: 900px;
    padding: 60px;
    background: var(--tab_selected_color);
    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;
}

.registered-form .form-row {
  display: flex;
  gap: 60px;
  align-items: center;
  min-width: 300px;
}

.registered-form .form-group label {
  font-weight: bold;
  padding: 0px;
  margin-bottom: 5px;
  margin-right: 10px;
  padding-bottom: 25px;
}
.registered-form .required {
  color: red;
}

.registered-form input[type="text"],
.registered-form input[type="password"] {
  width: 100%;
  height: 60px;
  min-width: 25vw;
  padding: 0 15px;
    background-color: #ddd;
  border: 1px solid #ccc;
  border-radius: 4px;
  box-sizing: border-box;
  margin-top: 15px;
}

.registered-form .form-group-button {
  margin-top: 24px;
}

.registered-form button {
  padding: 10px 40px;
  height: 60px;
  background-color: #4c60e1;
  color: white;
  border: none;
  border-radius: 30px;
  font-weight: bold;
  cursor: pointer;
  margin-top: 15px;
}

.registered-form button:hover {
  background-color: #3a4fcf;
}

.unregistered-form .form-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 100px;
  justify-content: space-between;
}

.unregistered-form .form-column {
  flex: 1; /* Half width minus half of the gap */
  min-width: 300px;
}

.unregistered-form .form-group {
  margin-bottom: 15px;
  
}

.unregistered-form label {
  font-weight: bold;
  display: flex;
  margin-bottom: 5px;
  margin-right: 10px;
  text-align: left;
  padding-left: 0px;
}

.unregistered-form .required {
  color: red;
}

.unregistered-form input[type="text"],
.unregistered-form input[type="email"],
.unregistered-form input[type="tel"],
.unregistered-form input[type="number"],
.unregistered-form input[type="date"] {
  width: 100%;
  height: 60px;
  padding: 0 15px;
    background-color: #ddd;
  border: 1px solid #ccc;
  border-radius: 4px;
  box-sizing: border-box;
}


.unregistered-form .form-buttons {
  margin-top: 20px;
  display: flex;
  height: 60px;
  width: auto;
  gap: 15px;
}
.unregistered-form .submit-btn,
.unregistered-form .reset-btn {
  padding: 5px 40px;
  font-weight: bold;
  color: white;
  background-color: #004080;
  border: none;
  border-radius: 30px;
  cursor: pointer;
}

.unregistered-form .reset-btn {
  background-color: #0055aa;
}

.unregistered-form .submit-btn:hover {
  background-color: #003366;
}

.unregistered-form .reset-btn:hover {
  background-color: #003f88;
}


/* 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);
    margin: 0 90px; /* i added this her idek why */
    transform: translateX(-20%);
    transition: all 1s;
}

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