/* Custom CSS for Brown and Grey Theme */

:root {
    /* Define your custom color palette (ensure these are already in your file) */
    --bs-brown-dark: #3E2723;   /* A deep, rich brown */
    --bs-brown-medium: #5D4037; /* A slightly lighter brown */
    --bs-brown-light: #A1887F;  /* A softer, muted brown */
    --bs-grey-dark: #424242;    /* Dark grey for text/elements */
    --bs-grey-medium: #616161;  /* Medium grey */
    --bs-grey-light: #EEEEEE;   /* Light grey for backgrounds */
    --bs-white: #FFFFFF;

    /* Override Bootstrap primary/secondary for consistent theming */
    --bs-primary: var(--bs-brown-medium);
    --bs-primary-rgb: 93, 64, 55;

    --bs-secondary: var(--bs-grey-medium);
    --bs-secondary-rgb: 97, 97, 97;

    /* Add specific hover colors if needed (optional, can reuse existing) */
    --bs-hover-glow: rgba(93, 64, 55, 0.3); /* A translucent brown for shadow/glow */
}

/* General body font */
body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

/* Style for the contact form card (from previous discussion) */
.contact-form-card {
    max-width: 500px;
    width: 100%;
}

/* Form control focus (from previous discussion) */
.form-control:focus {
    border-color: var(--bs-brown-light);
    box-shadow: 0 0 0 0.25rem var(--bs-hover-glow); /* Using the new hover glow var */
}

/* Button styling (from previous discussion) */
.btn-primary {
    background-color: var(--bs-primary);
    border-color: var(--bs-primary);
}
.btn-primary:hover {
    background-color: var(--bs-brown-dark);
    border-color: var(--bs-brown-dark);
}

/* --- NEW: HOVER EFFECT FOR THE COURSE CARDS --- */
.card {
    /* Apply a subtle initial shadow and border for definition */
    border: 1px solid var(--bs-grey-light); /* Light grey border */
    box-shadow: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.075) !important; /* Subtle initial shadow */
    box-shadow: 0 1rem 2rem rgba(0, 0, 0, 0.15) !important; /* Larger, more visible shadow */

    /* Add transition for smooth animation */
    transition: transform 0.3s ease-in-out, box-shadow 0.3s ease-in-out, border-color 0.3s ease-in-out;
}

.card:hover {
    /* Lift the card slightly */
    transform: translateY(-8px); /* Moves the card up by 8 pixels */
    
    /* Make the shadow more pronounced */
    box-shadow: 0 1rem 2rem rgba(0, 0, 0, 0.15) !important; /* Larger, more visible shadow */

    /* Change the border color to a highlight brown */
    border-color: var(--bs-brown-medium); /* Your theme's medium brown */
}

/* Optional: Change text color on hover for better visual feedback within the card */
.card:hover h3,
.card:hover p {
    color: var(--bs-brown-dark) !important; /* Text becomes darker brown on hover */
}
*{
    margin: 0;
    padding: 0;
    font-family:'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

/*.......coding the navigation section*/

.header{
    min-height: 80vh;
    width: 100%;
    background-image:linear-gradient(rgba(4, 9, 30, 0.7), rgba(4, 9, 30, 0.7)), url(../images/price1.jpg);
    background-position: center;
    background-size: cover;
    position: relative;
    transition: opacity 1s ease-in-out, background-image 1s ease-in-out;
}



/*...now i a coding the body.....textbox*/

.text-box{
    width: 90%;
    color: #fff;
    position: absolute;
    /* top: 50%; */
    left:50% ;
    bottom: 0%;
    transform: translate(-50%, -50%);
    text-align: center;
}

.text-box h1{
    padding: 5% 0;
    font-size: 62px;
}

.text-box p{
    margin: 10px 0 40px;
    font-size: 15px;
    color: #ffffff;
}

/*hiding the icons from font awesome......*/


/*-----coding the popping section---*/
#section {
    opacity: 0;
    transform: translateY(20px); /* Start slightly below */
    transition: opacity 0.5s ease, transform 0.5s ease; /* Smooth transition */
}

#section.visible {
    opacity: 1; /* Fully visible */
    transform: translateY(0); /* Move to original position */
}

.services .fea-box p{
    width: 100%;
    font-weight: 100;
    font-size: 1rem;
    color: #777;
    padding-top: 1px;
    text-align: center;

        
}
/*responsive part for small screens like smart phones and tablets......*/

@media(max-width: 700px){
    .text-box h1{
        font-size: 30px;
    }

    
    .course h2{
        font-size: 20px;
    } 

}

/*-----coding the footer section--------*/

.footer{
    text-align: center;
    width: 100%;
    padding: 30px 0;
    height: 50vh;
}

.footer h4{
    margin-bottom: 25px;
    margin-top: 150px;
    font-weight: 600;
}

.icons .fa{
    color: #f44336;
    margin: 0 13px;
    cursor: pointer;
    padding: 18px 0 ;
}

p img{
    height: 15px;
    padding-left: 10px;

}

p a{
    text-decoration: none;
    transition: 1.5s ease-in-out;
}

p a:hover{
    text-shadow: #f44336;
    font-size: larger;
    color: brown;
}

.icons a{
    text-decoration: none;
}

/*Coding the course*/
.course{
    width: 100%;
    text-align: center;
    margin:auto;
    padding-top: 100px;
}

h2{
    font-size: 32px;
    font-weight: 600;
}

p{
    font-size: 14px;
    color: #777;
    padding-top: 10px;
    padding-bottom: 10px;
    font-weight: 300;
}

.row{
    margin-top: 5%;
    display: flex;
    justify-content:space-between;
}

.video{
    border-radius: 10px;
    width: 100%;
}


.course-column img{
    border-radius: 40px;
    width: 70%;
}

.course-column{
    flex-basis: 31%;
    background: #fff3f3;
    border-radius: 10px;
    margin-bottom: 5%;
    padding: 20px 12px;
    box-sizing: border-box;
    transition: 0.5s;
}

h3{
    text-align: center;
    font-weight: 600;
    margin: 10px 0;

}

.course-column:hover{
    box-shadow: 0 0 20px 0px rgba(0, 0, 0, 0.19);
}

@media(max-width:700px){
    .row{
        flex-direction: column;
    }

    .video{
        width: 70%;
        border-radius: 10px;
    }

    .course-column{
        width: 70%;
        margin-left: 14%;
    }

    .course-column img{
        width: 50%;
    }
}

/*services we offer coding --*/
.services{
    width: 80%;
    text-align: center;
    margin:auto;
    padding-top: 100px;
    
}

.services h1{
    font-size: 32px;
    font-weight: 600;
    color: #777;
}

.services p{
    font-size: 14px;
    color: #777;
    padding-top: 10px;
    padding-bottom: 10px;
    font-weight: 300;
    }

.services .fea-base{
    display: grid;
    grid-template-columns: repeat(auto-fit,minmax(320px, 1fr));
    grid-gap: 1rem;
    margin-top: 50px;
    height: 80%;
    width: 100%;
    

}
.services .fea-box {
    text-align: start;
    background:#fff3f3;
    transition: 0.5s;
    
}

.fea-box:hover{
    box-shadow: 0 0 20px 0px rgba(0, 0, 0, 0.19);
}

.services .fea-box img{
    
    width: 100%;
    height: 40%;
    font-size: 2.3rem;
    color: rgb(4, 0,5, 0.5);
  
    
    padding-right: 2px;

}
.services .fea-box h3{
    font-weight: 600;
    font-size: 1.2rem;
    color: #777;
    padding: 13px 0 7px 0;
}
.services .fea-box p{
    font-weight: 100;
    font-size: 1rem;
    color: #777;
    padding-top: 1px;
    /* text-align: center; */

        
}


