/* --- Default (Desktop) Styles --- */
body
{
	margin: 0;
    padding: 0;
    font-family: Arial, sans-serif;
    background-color: #f4f4f4;
}

.x_background
{
background-color: #ffffff;    
}

.container
{
background-color: green;	
/*orig height: 500px;*/
}

.header
{	
/*position: fixed;*/
background-color: #374151;
width: 100%;	
height: 170px;
}

.header1
{
background-color: #374151;
width: 100%;	
height: 170px;	
}

.front_image
{
float:left;
background-color: green;
/*background-image: url('../images/unseen-studio-s9CC2SKySJM-unsplash.jpg');*/
background-image: url('../images/edu7.jpg');
background-repeat: no-repeat;
background-position: center center;
background-size: cover;
width: 100%;	
height: 450px;

text-align: center;
/*orig text-align: center;*/
/*padding-top: 100px;*/
/*padding-top: 15px;*/
margin-top: 0px;
}

.main_title
{
	padding-top: 28px;
	color: #ffffff;
}

.pclasslink
{
	text-align: center;
}

.alink 
{
  text-decoration: none;
  color: #ffffff;
  margin-right: 20px;
}

.view
{
  text-decoration: none;
  color: #1c96c5;
  margin-right: 20px;
  /* CORRECTION: Use 'font-style' instead of 'styles' */
  font-style: italic;
}

.empowering
{  
  text-align: center;
  color: #ffffff;
  font-family: arial;
  font-size: 45px;
  font-weight: bold;
}

.maor_b_khalif_academy
{  
  /*padding-top:25px;*/
  text-align: center;
  color: #ffffff;
  font-family: arial;
  font-size: 25px;  
  padding-left: 155px;  
  padding-right: 155px;  
}

.explore_our_programs 
{
  /* 1. Appearance */
  background-color: #e0e0e0; /* Light Grey Color */
  color: #4169E1;           /* Dark text for contrast */
  text-decoration: none;    /* Removes the default underline */
  
  /* 2. Shape and Size */
  display: inline-block;      /* Allows padding and margin to work correctly */
  padding: 15px 25px;         /* Creates space inside the button */
  
  /* 3. Roundness (The Key Property) */
  border-radius: 20px;        /* Adjust this value for desired roundness */
  
  /* 4. Optional Styling */
  font-family: Arial, sans-serif;
  font-size: 16px;
  border: 1px solid #c0c0c0; /* Subtle border for definition */
  transition: background-color 0.3s ease; /* Smooth hover transition */
  font-weight: bold;
}

/* Optional: Add a hover effect for better user experience */
.explore_our_programs:hover {
  background-color: #cccccc; /* Slightly darker on hover */
  cursor: pointer;
}

.registration 
{
	background-repeat: no-repeat;
}

.content
{
float:left;	
background-color: white;
width: 100%;	
/*orig height: 50px;*/
height: 50px;
padding-top: 50px;
padding-bottom: 180px;
}

h1.our_mission
{
  text-align: center;
  color: #282828;
  font-family: arial;
  font-size: 30px;
  font-weight: bold;	
}

p.align_center
{
text-align: center;	
}

.at_maor_b_khalif
{
  text-align: center;
  color: #808080;
  font-family: arial;
  font-size: 18px;  
  padding-left: 110px;  
  padding-right: 110px;   
}

/* --- Rounded Corners --- */
.edu1
{
  /* This is the key property for rounded corners */
  border-radius: 15px; /* Adjust this value for more or less roundness */
  border: 2px solid #ddd; /* Optional: A subtle border */
  box-shadow: 0 4px 8px rgba(0,0,0,0.1); /* Optional: A subtle shadow */
  /*width: 800px;*/	
  width: 100%;
  height: 500px;  
  background-size: cover;
}

.our_courses
{
float:left;	
background-color: #E8E8E8;
width: 100%;	
/*height: 850px;*/
/*orig padding-bottom: 1px;*/
padding-bottom: 50px;
}

/* Base Button Styles for the Link */
.course-button 
{
    /* 1. Reset Link Defaults */
    display: inline-block; /* Allows padding and dimensions */
    text-decoration: none; /* Removes underline */
    cursor: pointer;       /* Signals clickability */

    /* 2. Shape and Size */
    padding: 12px 25px;
    border-radius: 8px; /* Softly rounded corners */
    border: 1px solid #007bff; /* Matching border */
    
    /* 3. Text and Colors */
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    font-size: 1.1em;
    font-weight: 600; /* Semi-bold text */
    text-align: center;
    background-color: #007bff; /* Primary Blue */
    color: #ffffff;           /* White text */
    
    /* 4. Smooth Interaction */
    transition: background-color 0.3s ease, 
                transform 0.2s ease,
                box-shadow 0.3s ease;
	width: 75%;			
}

/* Hover Effect: Makes the button stand out when moused over */
.course-button:hover {
    background-color: #0056b3; /* Darker blue on hover */
    border-color: #0056b3;
    transform: translateY(-2px); /* Subtle lift effect */
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.15); /* Adds a shadow */
}

/* Active State (while clicking) */
.course-button:active {
    transform: translateY(0); /* Pushes the button back down */
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1); 
}

.cell_background_color
{
background-color: #dbf0fd;	
text-align: center;
}

.couse_description
{
  text-decoration: none;
  color: #1c96c5;
  margin-right: 20px;
  /* CORRECTION: Use 'font-style' instead of 'styles' */
  font-style: italic;
  text-align: left;  
  font-family: Candara Light;
}

.couse_description3
{
  text-decoration: none;
  color: #1c96c5;
  margin-right: 20px;
  /* CORRECTION: Use 'font-style' instead of 'styles' */
  font-style: italic;
  text-align: justify;  
  font-family: Candara Light;
}

.mentor
{
float:left;	
background-color: green;
width: 100%;	
height: 1000px;	
}

.dedicated_staff
{
  text-align: center;
  color: #282828;
  font-family: arial;
  font-size: 15px;
  /*font-weight: bold;*/
}

.image_div
{
  float:left;
  width: 100%;
  /*height: 500px;*/
  background-color: #ffffff;    
}

.image_div_inner
{
/* 1. Background Setup (Background-Size: cover) */
  /*background-image: url('edu1.jpg'); /* <-- YOUR IMAGE SOURCE ADDED HERE */
  background-image: url('../images/edu1.jpg');
  /* 1. Background Setup (Background-Size: cover) */  
  background-size: cover;          /* Ensures image covers the whole area */
  background-repeat: no-repeat;    /* Prevents tiling */
  background-position: center center; /* Centers the focal point of the image */

  /* 2. Sizing and Centering */
  height: 50vh;                    /* Example height (50% of viewport height) */
  width: 90%;                      /* Example width */
  /*margin: 20px auto;               /* Centers the block on the page */
  /*align-items: center;*/
  margin-left:auto;
  margin-right:auto;
  
  /* 4. Center Horizontally (if needed, although your child is centered with margin: auto) */
  justify-content: center;  

  /* 3. Rounded Corners */
  border-radius: 15px;             /* Sets the roundness of the corners */

  /* 4. Shadow Effect (The "Lift") */
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2); /* Creates the subtle shadow */  
  margin-bottom: 50px; /*this portion here is to gave vacant space under the edu1.jpg image*/
}

.view_course_description
{
width: 45%;
align: center;	
}

.course_list	
{
width: 30%;
align:center;	
}

/* Sign-In Button Styling hide this on a mobile view*/
.sign-in-button 
{
    display: inline-block; /* Allows padding and width */
    /*padding: 12px 25px; /* Adjusts button size */
	padding: 10px 20px;
    background-color: #007bff; /* Dark Sky Blue */
    color: #ffffff; /* White text */
    text-decoration: none; /* Removes underline from link */
    font-family: Arial, sans-serif;
    font-size: 16px;
    font-weight: bold;
    border-radius: 5px; /* Slightly rounded corners */
    border: none; /* No default border */
    cursor: pointer; /* Indicates it's clickable */
    transition: background-color 0.3s ease; /* Smooth hover effect */
}

.sign-in-button:hover 
{
    background-color: #0056b3; /* Slightly darker blue on hover */
}

.sign-up-button {
    display: inline-block;
    /*orig padding: 12px 25px;*/
	padding: 10px 20px;
    background-color: #28a745; /* Green Button Color */
    color: #ffffff; /* White Text Color */
    text-decoration: none;
    font-family: Arial, sans-serif;
    font-size: 16px;
    font-weight: bold;
    border-radius: 5px;
    border: none;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.1s ease;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.sign-up-button:hover {
    background-color: #1e7e34; /* Slightly darker green on hover */
}

/*contact div/////////////////////////////////////////*/
.contact_div
{
float: left;
width: 100%;
background-color: #ffffff;	
}

.contact-container 
{
    padding-top: 1000px;
	background: #ffffff;
    padding: 40px;
    border-radius: 16px; /* Softly rounded main container */
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1); /* Subtle depth on desktop */
    max-width: 500px; /* Controls desktop width */
    width: 100%;
    margin: 40px auto; /* Centers the form horizontally and adds spacing */
    box-sizing: border-box;
}

.contact-container h2 {
    color: #1e3a8a; 
    text-align: center;
    margin-bottom: 10px;
    font-size: 2.2em;
    font-weight: 700;
}

.contact-container p {
    color: #6b7280;
    text-align: center;
    margin-bottom: 35px;
}

.form-group {
    margin-bottom: 20px;
}

/* Input/Textarea Styling (Focus on Roundness) */
.contact-form input[type="text"],
.contact-form input[type="email"],
.contact-form textarea {
    width: 100%;
    padding: 15px 20px;
    border: 2px solid #e5e7eb; 
    border-radius: 12px; /* **Rounded Corners on Text Boxes** */
    box-sizing: border-box;
    font-size: 1em;
    color: #1f2937;
    transition: border-color 0.3s, box-shadow 0.3s;
}

/* Focus Effect */
.contact-form input:focus,
.contact-form textarea:focus {
    border-color: #3b82f6; 
    box-shadow: 0 0 0 4px rgba(59, 130, 246, 0.25); 
    outline: none;
}

.contact-form textarea {
    resize: vertical;
}

/* Button Styling */
.submit-button {
    width: 100%;
    padding: 15px;
    background-color: #3b82f6; 
    color: white;
    border: none;
    border-radius: 12px; /* Rounded Corners on Button */
    font-size: 1.1em;
    font-weight: 700;
    cursor: pointer;
    transition: background-color 0.3s, transform 0.1s, box-shadow 0.3s;
    box-shadow: 0 5px 15px rgba(59, 130, 246, 0.3);
}

.submit-button:hover {
    background-color: #2563eb;
    box-shadow: 0 7px 20px rgba(59, 130, 246, 0.4);
}

.contact_labels
{
color: #0000b3;
font-family: Bahnschrift Light;
size: 5px;
text-align: left;
}

.table_align
{
align: center;	 
}
/*///////////////////////////////////////////////*/

/* ===============================
   MOBILE VIEW (width ≤ 600px)
   =============================== */
@media screen and (max-width: 600px) {
  
  .front_image {
    float: left;	
    background-color: yellow;
    /*orig background-image: url('../images/edu7.jpg');*/
	background-image: url('../images/edu8.jpg');
    background-repeat: no-repeat;
    background-position: center center;
    background-size: cover;
    width: 100%;	
    height: 550px;	
    text-align: center;
    padding-top: 150px;
  }  

  .maor_b_khalif_academy {
    text-align: justify;
    color: #ffffff;
    font-family: Arial, sans-serif;
    font-size: 25px;  
    padding-left: 1px;  
    padding-right: 1px;  
  }  
  
  .at_maor_b_khalif {
    text-align: justify;
    color: #808080;
    font-family: Arial, sans-serif;
    font-size: 18px;  
    margin-left: 10px;  
    margin-right: 10px;  
  } 
  
  .container {
    background-color: green; 
    width: 100%;  
  }  
  
  .header {	
    position: fixed;
    background-color: #374151;
    width: 100%;	
    height: 170px;
  }  
  
  .edu1 {
    border-radius: 15px; 
    border: 2px solid #ddd; 
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    width: 100%;	
    height: 500px;  
    background-size: cover;
  }

  .content {
    float: left;	
    background-color: white;
    width: 100%;	
    height: 150px;
    padding-top: 50px;
    padding-bottom: 180px;
  }

  .view_course_description
  {
  width: 90%;
  align: center;	
  }	
  
  .course-button 
  {
    /* 1. Reset Link Defaults */
    display: inline-block; /* Allows padding and dimensions */
    text-decoration: none; /* Removes underline */
    cursor: pointer;       /* Signals clickability */

    /* 2. Shape and Size */
    padding: 12px 25px;
    border-radius: 8px; /* Softly rounded corners */
    border: 1px solid #007bff; /* Matching border */
    
    /* 3. Text and Colors */
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    font-size: 1.1em;
    font-weight: 600; /* Semi-bold text */
    text-align: center;
    background-color: #007bff; /* Primary Blue */
    color: #ffffff;           /* White text */
    
    /* 4. Smooth Interaction */
    transition: background-color 0.3s ease, 
                transform 0.2s ease,
                box-shadow 0.3s ease;
	width: 75%;			
  } 

  .course_list	
  {
   width: 90%;
   align:center;	
  } 

  .sign-in-button 
  {
    display: none;
  }

  .sign-up-button  
  {
   display: none;	  
  }  

/*contact div/////////////////////////////////////////*/
.contact_div
{
float: left;
width: 100%;
background-color: #ffffff;	
}

.contact-container 
{
    padding-top: 1000px;
	background: #ffffff;
    padding: 40px;
    border-radius: 16px; /* Softly rounded main container */
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1); /* Subtle depth on desktop */
    max-width: 500px; /* Controls desktop width */
    width: 100%;
    margin: 40px auto; /* Centers the form horizontally and adds spacing */
    box-sizing: border-box;
}

.contact-container h2 {
    color: #1e3a8a; 
    text-align: center;
    margin-bottom: 10px;
    font-size: 2.2em;
    font-weight: 700;
}

.contact-container p {
    color: #6b7280;
    text-align: center;
    margin-bottom: 35px;
}

.form-group {
    margin-bottom: 20px;
}

/* Input/Textarea Styling (Focus on Roundness) */
.contact-form input[type="text"],
.contact-form input[type="email"],
.contact-form textarea {
    width: 100%;
    padding: 15px 20px;
    border: 2px solid #e5e7eb; 
    border-radius: 12px; /* **Rounded Corners on Text Boxes** */
    box-sizing: border-box;
    font-size: 1em;
    color: #1f2937;
    transition: border-color 0.3s, box-shadow 0.3s;
}

/* Focus Effect */
.contact-form input:focus,
.contact-form textarea:focus {
    border-color: #3b82f6; 
    box-shadow: 0 0 0 4px rgba(59, 130, 246, 0.25); 
    outline: none;
}

.contact-form textarea {
    resize: vertical;
}

/* Button Styling */
.submit-button {
    width: 100%;
    padding: 15px;
    background-color: #3b82f6; 
    color: white;
    border: none;
    border-radius: 12px; /* Rounded Corners on Button */
    font-size: 1.1em;
    font-weight: 700;
    cursor: pointer;
    transition: background-color 0.3s, transform 0.1s, box-shadow 0.3s;
    box-shadow: 0 5px 15px rgba(59, 130, 246, 0.3);
}

.submit-button:hover {
    background-color: #2563eb;
    box-shadow: 0 7px 20px rgba(59, 130, 246, 0.4);
}

.contact_labels
{
color: #0000b3;
font-family: Bahnschrift Light;
size: 5px;
text-align: left;
align: left;
}

 .table_align
 {
 font-family: Bahnschrift Light;
 size: 5px;
 text-align: left;
 align: left;	 
 }
/*///////////////////////////////////////////////*/  

}

.adjust_image_height
{
 height: 900px;	
}

/* ===============================
   TABLET VIEW (width ≤ 1024px)
   =============================== */
@media screen and (max-width: 1024px) {

  .front_image {
    float: none;
    background-color: #f0f0f0;
    background-image: url('../images/edu7.jpg');
    background-repeat: no-repeat;
    background-position: center center;
    background-size: cover;
    width: 100%;
    height: 500px;
    text-align: center;
    padding-top: 120px;
  }

  .maor_b_khalif_academy 
  {
    text-align: justify;
    color: #ffffff;
    font-family: Arial, sans-serif;
    font-size: 28px;
    padding-left: 20px;
    padding-right: 20px;
  }

  .at_maor_b_khalif 
  {
    text-align: center;
    color: #808080;
    font-family: Arial, sans-serif;
    font-size: 20px;
    padding-left: 0px;
    padding-right: 0px;
  }

  .container {
    background-color: #008000;
    width: 100%;
  }

  .header {
    position: fixed;
    background-color: #374151;
    width: 100%;
    height: 160px;
  }

  .edu1 {
    border-radius: 15px;
    border: 2px solid #ddd;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    width: 100%;
    height: 450px;
    background-size: cover;
  }

  .content {
    background-color: white;
    width: 100%;
    /*orig height: auto;*/	
	height: 200px;
    padding: 60px 0 100px 0;
    text-align: center;
  }
}

/* ===============================
   TABLET PORTRAIT VIEW (width ≤ 820px)
   =============================== */
@media screen and (max-width: 820px) and (orientation: portrait) 
{
.sign-in-button
{
display: none;
}
.sign-up-button
{	
display: none;  
}

/*contact form*/
/* Contact Form Base Style /////////////////////////////*/
/* --- Core Form Styles: Attractive & Rounded --- */
.contact-container 
{
    background: #ffffff;
    padding: 40px;
    border-radius: 16px; /* Softly rounded main container */
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1); /* Subtle depth on desktop */
    max-width: 500px; /* Controls desktop width */
    width: 100%;
    margin: 40px auto; /* Centers the form horizontally and adds spacing */
    box-sizing: border-box;
}

.contact-container h2 {
    color: #1e3a8a; 
    text-align: center;
    margin-bottom: 10px;
    font-size: 2.2em;
    font-weight: 700;
}

.contact-container p {
    color: #6b7280;
    text-align: center;
    margin-bottom: 35px;
}

.form-group {
    margin-bottom: 20px;
}

/* Input/Textarea Styling (Focus on Roundness) */
.contact-form input[type="text"],
.contact-form input[type="email"],
.contact-form textarea {
    width: 100%;
    padding: 15px 20px;
    border: 2px solid #e5e7eb; 
    border-radius: 12px; /* **Rounded Corners on Text Boxes** */
    box-sizing: border-box;
    font-size: 1em;
    color: #1f2937;
    transition: border-color 0.3s, box-shadow 0.3s;
}

/* Focus Effect */
.contact-form input:focus,
.contact-form textarea:focus {
    border-color: #3b82f6; 
    box-shadow: 0 0 0 4px rgba(59, 130, 246, 0.25); 
    outline: none;
}

.contact-form textarea {
    resize: vertical;
}

/* Button Styling */
.submit-button {
    width: 100%;
    padding: 15px;
    background-color: #3b82f6; 
    color: white;
    border: none;
    border-radius: 12px; /* Rounded Corners on Button */
    font-size: 1.1em;
    font-weight: 700;
    cursor: pointer;
    transition: background-color 0.3s, transform 0.1s, box-shadow 0.3s;
    box-shadow: 0 5px 15px rgba(59, 130, 246, 0.3);
}

.submit-button:hover {
    background-color: #2563eb;
    box-shadow: 0 7px 20px rgba(59, 130, 246, 0.4);
}

.submit-button:active {
    transform: translateY(2px);
}

/* --- Mobile Responsiveness (Screen Size < 600px) --- */
@media (max-width: 600px) {
    .contact-container {
        padding: 25px 20px;
        border-radius: 12px; 
        box-shadow: none; /* Cleaner look on mobile */
        margin: 20px auto;
    }
    
    .contact-container h2 {
        font-size: 1.6em;
    }
    
    .contact-form input[type="text"],
    .contact-form input[type="email"],
    .contact-form textarea,
    .submit-button {
        padding: 12px 15px;
        font-size: 0.95em;
        border-radius: 10px;
    }
}


/* --- Laptop/Desktop Responsiveness (Screen Size > 1024px) --- */
@media (min-width: 1025px) {

.explore_our_programs 
{
  /* 1. Appearance */
  /*orig background-color: #e0e0e0; /* Light Grey Color */
  background-color: #cccccc;
  /*orig color: #4169E1;           /* Dark text for contrast */
  color: #000000; 
  text-decoration: none;    /* Removes the default underline */
   
  /* 2. Shape and Size */
  display: inline-block;      /* Allows padding and margin to work correctly */
  padding: 15px 25px;         /* Creates space inside the button */
  
  /* 3. Roundness (The Key Property) */
  border-radius: 20px;        /* Adjust this value for desired roundness */
  
  /* 4. Optional Styling */
  font-family: Arial, sans-serif;
  font-size: 16px;
  border: 1px solid #c0c0c0; /* Subtle border for definition */
  transition: background-color 0.3s ease; /* Smooth hover transition */
  font-weight: bold;
}

/* Optional: Add a hover effect for better user experience */
.explore_our_programs:hover {
  background-color: #cccccc; /* Slightly darker on hover */
  cursor: pointer;
}

.empowering
{  
  text-align: center;
  color: #ffffff;
  font-family: arial;
  font-size: 45px;
  font-weight: bold;
  align:center;
}

 .front_image {
    float: none;
    background-color: #f0f0f0; align:center;
    background-image: url('../images/edu7.jpg');
    background-repeat: no-repeat;
    background-position: center center;
    background-size: cover;
    width: 100%;
    height: 500px;
    text-align: center;
    align:center;
    padding-top: 120px;
  }

}