* {
    box-sizing: border-box;
}

body, html {
    overflow-x: hidden;
}



.royal-btn {
    background-color: #7a3db8;
    color: #ffffff;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.08);
}



.royal-btn:hover {
    background-color: #7a3db8;
    color: #ffffff;
    box-shadow: 0 30px 20px rgba(0, 0, 0, 0.08);
}

.hero {
    padding-top: 100px; /* Adjust based on your navbar's actual height if needed */
    }


.about-us {
    margin-top:-40px;
}


.navbar-logo {
       width: 150px; /* Adjust this value as needed */
        height: auto; 
    }

    .navbar {
        position: sticky;
        top: 0;
        z-index: 1000; /* Ensure navbar stays on top of all other elements */
        box-shadow: 0px 2px 15px rgba(0, 0, 0, 0.1); /* Adds a subtle shadow below the navbar */
    }
    
.navbar .navbar-brand {
    padding: 0.5rem 0;
    margin-right: 1rem; /* Slight vertical padding for better alignment */
}
   
@media (max-width: 575.98px) { 
.navbar .navbar-brand img {
width: 100px;  /* Adjust logo size on very small screens */
}
}

@media (min-width: 576px) and (max-width: 767.98px) {
.navbar .navbar-brand img {
width: 100px;  /* Adjust logo size on small screens */
}
}

/* Adjust the button size for smaller screens */
@media (max-width: 767.98px) {
.navbar .btn {
padding: 5px px;
font-size: 0.8rem;
}
}

.parallax-container {
perspective: 1000px;
}

.parallax-layer-back {
    background-attachment: fixed;
transform: translateZ(-1px) scale(2);
z-index: -1;
}

.parallax-layer-front {
transform: translateZ(0) scale(1);
z-index: 1;
}

/* Simulate 3D shapes using CSS */
/* .circle {
width: 200px;
height: 200px;
background-color: rgba(255, 255, 255, 0.6);
border-radius: 50%;
} */

/* Previous CSS remains unchanged */

.bg-gradient {
background: linear-gradient(45deg, #4b0082, #7a3db8);
color: #ffffff;
}

.about-content {
    
padding: 20px;
background: rgba(255, 255, 255, 0.1);
border-radius: 5px;
}

.about-image-card {
box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
border-radius: 5px;
overflow: hidden;
}

.btn-animated {
    transition: transform 0.3s, box-shadow 0.3s; /* Smoother transitions */
}


.btn-animated:hover {
transform: translateY(-2px);
box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.btn-animated:active {
transform: translateY(1px);
box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

/* Existing CSS stays as is */

.features {
background-color: #f7f7f7;
}

/* Existing CSS */

.feature-card, .benefit-card {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08); /* Consistent, subtle shadow for all cards */
}


.feature-card {
text-align: center;
padding: 20px;
border: 1px solid #eaeaea;
border-radius: 8px;
transition: transform 0.3s ease-in-out, box-shadow 0.3s ease-in-out;

}

.feature-card:hover {
transform: translateY(-5px);
background-color: lightgrey;
box-shadow: 0 30px 20px rgba(0, 0, 0, 0.08);
}

.feature-icon-container {
width: 70px;
height: 70px;
border-radius: 50%;
display: flex;
align-items: center;
justify-content: center;
margin: 0 auto;
}

.feature-icon {
color: #333;
}

/* Adjusting mobile responsiveness */
@media (max-width: 768px) {
.feature-card {
margin-bottom: 30px;
}
}

/* Existing CSS */

.benefit-card {
text-align: center;
padding: 20px;
border: 1px solid #eaeaea;

border-radius: 8px;
transition: transform 0.3s ease-in-out, box-shadow 0.3s ease-in-out;
margin-bottom: 30px;
}

.benefit-card:hover {
transform: translateY(-5px);
background-color: lightgrey;
box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.icon-container {
width: 70px;
height: 70px;
display: flex;
align-items: center;
justify-content: center;
margin: 0 auto;
border-radius: 50%;
background-color: #f9f9f9;
box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

/* Mobile Adjustments */
@media (max-width: 768px) {
.benefit-card {
margin-bottom: 20px;
}
}



.active-class-section {
    /* font-family: Arial, sans-serif; */
    margin-top:auto;
    background-color: #f4f4f4;
    padding: 40px;
    border-radius: 8px;
    text-align: center;
    animation: fadeIn 1s;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

.active-class-title {
    font-size: 24px;
    font-weight: bold;
    animation: slideFromLeft 1s 0.5s forwards;
}

/* @keyframes slideFromLeft {
    from {
        transform: translateX(-100%);
    }

    to {
        transform: translateX(0);
    }
} */

.active-class-description {
    margin: 20px 0;
    font-size: 16px;
    animation: slideFromRight 1s 0.7s forwards;
}

/* @keyframes slideFromRight {
    from {
        transform: translateX(100%);
    }

    to {
        transform: translateX(0);
    }
} */

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes zoomIn {
    from {
        transform: scale(0);
    }
    to {
        transform: scale(1);
    }
}

/* Main container settings */
.container {
    max-width: 1200px;
    margin: 0 auto;
}

/* Active class section styles */
.active-class-section {
    background-color: #f4f4f4;
    padding: 60px 20px;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    animation: fadeIn 1s;
}

.active-class-title {
    font-size: 28px;
    font-weight: 700;
    color: #2a2a2a;
    margin-bottom: 20px;
    animation: fadeIn 1s 0.5s forwards;
}

.active-class-description {
    font-size: 18px;
    color: #555;
    max-width: 800px;
    margin: 0 auto 40px auto;
    animation: fadeIn 1s 0.7s forwards;
}

/* Feature boxes */
.active-class-features {
    display: flex;
    justify-content: space-between;
    animation: zoomIn 1s 1s forwards;
}

.feature-box {
    flex: 0 0 30%; /* This ensures that each box takes up roughly 30% of the container width. */
    padding: 30px;
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s, box-shadow 0.3s;
}

.feature-box:hover {
    transform: translateY(-5px); /* A subtle upward motion on hover */
    box-shadow: 0 6px 25px rgba(0, 0, 0, 0.1);
}

.feature-icon {
    margin-bottom: 15px;
    font-size: 28px;
    color: #4239c8;
    animation: zoomIn 1s 1s forwards;
}

.feature-title {
    font-size: 20px;
    font-weight: 600;
    color: #2a2a2a;
}

/* Responsiveness */
@media (max-width: 1024px) {
    .active-class-features {
        flex-wrap: wrap;
        justify-content: space-between;
    }

    .feature-box {
        margin-bottom: 20px;
        flex: 0 0 48%; /* 2 boxes per row */
    }
}

@media (max-width: 768px) {
    .feature-box {
        flex: 1; /* Take up the full width */
        margin-bottom: 30px;
    }

    .active-class-features {
        flex-direction: column;
    }
}


footer {
    border-top: 2px solid #333;
    text-align: center;
}

footer p {
    font-weight: 500;  /* Medium weight font for a bit of emphasis */
}
