/* Tell the browser: render this page in light mode only */
:root {
  color-scheme: light;   /* keeps form controls/tooltips light */
}

/* General Styles */
body, html {
    /*font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;*/
    font-family: "Poppins", sans-serif;
    background-color: transparent !important;;
    margin: 0;
    padding: 0;
    text-align: center;
    align-items: center;
    justify-content: center;
    overflow-x: hidden;
}

/* If any styles target dark mode, neutralize them */
@media (prefers-color-scheme: dark) {
  :root { color-scheme: light; } /* reiterate */
}

.brand-surface { background:transparent; }

@media (forced-colors: active) {
  .brand-surface {
    forced-color-adjust: none;  /* opt out of forced palette */
    background:transparent;
    
    
  }
}



* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

.hidden {
    display: none; /* Hides the element */
}

a {
    color: #fff;
    text-decoration: none;
    transition: color 0.5s ease; /* Add transition here */
}

a:hover {
    text-decoration:none;
    color: #472d72;
}

i {
    font-size: medium;
    color: #472d72;
}

i:hover {
    color: #fb9236;
}

hr {
    border: 0; /* Remove any default border */
    height: 1px; /* Or the thickness you prefer */
    background-color: rgba(0, 0, 0, 0.1); /* Very light grey */
    margin: 8px 0; /* Adjust the margin as needed */
}

/* Header Styles */
header {
    background-color: #fb9236; /* Adjust the color as per your theme */
    /*background: linear-gradient(to right, #0859c6, #ffffff);*/
    /*background-image: url("{% static 'images/background1.jpg' %}");*/
    /*background-size: cover ;*/
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    color: #fff;
    padding: 0 0;
    margin: auto;
    text-align: center;
    height: max-content;
    
}

.header-row {
    display: flex;
    flex-wrap: nowrap; /* Allows items to wrap onto the next line */
    text-align: center;
    justify-content: center;
}

.header-column-logo {
    flex: 1 1 auto; /* Adjusts flex settings for automatic shrinking */
    padding: 10px;
    box-sizing: border-box; /* Includes padding in width calculation */
    text-align: left; /* Aligns content to the left */
    display: flex; /* Enables flexbox for this container */
    align-items: center; /* Vertically centers content in the container */
    justify-content: left; /* Horizontally centers content when there is extra space */
    width: fit-content;
}

.header-column-nav1 {
    flex: 1 1 auto; /* Adjusts flex settings for automatic shrinking */
    padding: 0;
    box-sizing: border-box; /* Includes padding in width calculation */
    text-align: left; /* Aligns content to the left */
    display: flex; /* Enables flexbox for this container */
    align-items: center; /* Vertically centers content in the container */
    justify-content: right; /* Aligns children (flex items) to the start (left) */
    padding-right: 5vw;
    
}

.header-column-nav {
    display: none;
    padding: 1vw;
}

.header-column-logo img {
    width: 75%; /* Sets the image width to 100% of its container */
    max-width: 100%; /* Ensures the image is not larger than its container */
    height: auto; /* Maintains the aspect ratio of the image */
    padding-left: 5vw;
}


/* Responsive Design */
/* Media query for screens with a max width of 768px or less */
@media (max-width: 768px) {
    .header-column-logo {
        padding: 5px; /* Reduce padding for smaller screens */
        justify-content: flex-start; /* Align content to the start on smaller screens */
        width: 100%;

    }

    .header-column-logo img {
        width: 60%; /* Adjust the image size for smaller screens */
        max-width: 60%; /* Ensure it doesn't exceed 50% of its container */
    }
}

/* Responsive Design 
@media screen and (max-width: 900px) {
    .header-column-logo img {
        width: 40%; /* Sets the image width to 100% of its container 
    }
}*/

.header-column-menu {
    display: none;
    flex: 0 0 auto;
    margin-right: 5vw; 
    padding-top: 0;/* Add some padding for spacing */
    box-sizing: border-box; /* Includes padding in width calculation */
    min-width: fit-content; /* Minimum width for each column before wrapping */
    border: 1px solid #ccc; /* Thin border */
    border-radius: 8px; /* Rounded corners */
    padding-left: 10px;
    padding-right: 10px;
    padding-bottom: 0;
    
}

.header-column-menu img{
    width:100%;
    
}


.menu-icon {
    display: none;
    margin: 0 auto;
    width: 100%; /* Adjust this value as needed */
    height: auto;
}

.top_fixed {
    position: fixed; /* Fixes the header to the top of the viewport */
    top: 0;         /* Aligns the header at the top */
    left: 0;        /* Aligns the header to the left */
    width: 100%;    /* Ensures the header extends across the full width of the viewport */
    z-index: 1000; 
    min-height: fit-content;
    height: max-content;
    

}


.top-margin-bar {
    padding-top: 2%;
    height:75px;
}



header h1 {
    margin: 0;
}

.showmenu {
    display: none;
    width: 100%;
    text-align: center;
    
}

.showmenu a {
    text-decoration: none;
    color: #fff;
}




/* Main Content Styles */
main {
    padding: 0;
    min-height: calc(100% - 100px); /* Adjust based on the total height of the header and footer */
    box-sizing: border-box; /* Ensures that padding is included in height calculation */
}

/* Footer Styles */
footer {
    color: white;
    padding: 0;
    margin: 0 auto;
    text-align: center;
    height: max-content;
    width: 100%;
    overflow-x: hidden; /* Prevent horizontal overflow */
}

/* Footer content styles */
.footer-content {
    font-size: small;
    padding: 0;
    padding-top: 1vh;
    padding-bottom: 1vh;
    width:100vw;
    height: max-content;
}

/* Footer links */
.footer-content a {
    color: #b490ee;
    text-decoration: none;
}

.footer-content a:hover {
    text-decoration: none;
    color: #ffffff;
}



/* Navbar Styles */
/* Main Navigation Styles */
nav {
    background-color: #fb9236;
    padding: 5px;
   
}

nav ul {
    list-style-type: none;
    padding: 0;
    margin: 0;
    display: flex;
    justify-content: center;
}

nav ul li {
    margin: 0 0.5vw;;
    position: relative; /* Needed for absolute positioning of submenu */
    color: #fff;
    font-size: medium;
}


@media screen and (max-width: 1000px) {
    nav ul li {
        font-size: small;
    }
}




nav ul li a {
    color: #fff;
    text-decoration: none;
    font-weight: 500;
    display: block; /* Make the link cover the area for hover */
}


/* Submenu Styles */
.nav-item {
    /*border-bottom: 1px solid #555;*/
    color: #fff
}

.nav-link {
    display: block;
    padding: 10px;
    text-decoration: none;
    color: #fff;
    text-align: left;
    
}

.nav-link:hover, nav ul li:hover > a {
    color: #472d72; /* Color change on hover */
    font-style: bold;
}

.submenu {
    display: none;
    position: absolute; /* Position submenu absolutely relative to the parent li */
    list-style: none;
    padding-top: 5px;
    padding-bottom: 5px;
    margin: 0;
    text-align: left;
    background-color: #472d72; /* Match the background color with your design */
    white-space: nowrap; /* Prevents text from wrapping */
    min-width: 100%; /* Ensures submenu is at least as wide as the parent item */
    border-radius: 8px;
}

.submenu .divider {
    display: block;
    height: 1px;
    margin: 10px 0; /* Adjusts the spacing above and below the line */
    margin-left: 25px;
    margin-right: 10px;
    background-color: #fff;
    
}

.nav-item:hover .submenu {
    display: block;
}

.submenu li {
    color: #fff;
    
}

.submenu li:hover {
    color: #fb9236;
    background-color: #472d72;
}

.submenu a {
    display: block;
    padding: 10px 20px;
    text-decoration: none;
    color: #fff;
    text-align: left;
}

.submenu a:hover {
    color: #fb9236;
    background-color: #472d72;
}



.nav-link.button-look {
    margin-top: 8px;
    padding: 3px 12px;
    background-color: #fb9236; /* Button color */
    box-shadow: 0 4px 4px rgba(56, 4, 144, 0.5);
    color: #fff; /* Text color */
    border-radius: 4px;
    text-transform: uppercase; /* Optional: for uppercase text */
    text-decoration: none;
    border: 1px solid #fff;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5); 
}

.nav-link.button-look:hover {
    background-color: #472d72; /* Darker shade for hover effect */
    color: #fff;
}

/* Main Content Styles */
main {
    padding: 0;
    text-align: center;
}

/* Hamburger Menu Icon */
.hamburger-menu {
    display: none; /* Hidden by default */
    flex-direction: column;
    justify-content: space-around;
    width: 30px;
    height: 25px;
    cursor: pointer;
}

.hamburger-menu span {
    display: block;
    height: 3px;
    width: 100%;
    background-color: #030303; /* or your preferred color */
}

/* Responsive Design */
@media screen and (max-width: 768px) {
    .top-margin-bar {
        height:55px;
    }

    .search_fixed {
        top: 100px; 
    }
    .showmenu {
        display: block;
    }

    .header-column-nav1 {
        display: none;
    }

    .header-column-menu {
        display: block;
    }

    .header-column-menu img{
        width: 5vw;
        padding-top: 5px;
    }

    .header-column-logo img {
        width:60vw;
    }
    
    /* When the menu is active (you can toggle this with JavaScript) */
   
    nav ul {
        flex-direction: column;
        align-items: start; /* Align submenu items to the start */
    }

    nav ul li {
        margin-bottom: 5px;
        width: 95%; /* Make the list items full width */
        padding-right: 10px;
        font-size: large;
    }

    .submenu {
        position: static; /* Override absolute positioning on small screens */
        width: 95%; /* Full width submenus */
        padding-right: 0;
        display: none; /* Initially hidden */
    }

    .nav-item:hover .submenu {
        display: block; /* Display submenu on hover */
    }

    .submenu a {
        padding-left: 20px; /* Indent submenu items for better visual hierarchy */
    }

    #navbar {
        display: none;
    }

    #navbar.active {
        display: block;
    }


    #menuLink:hover {
        cursor: pointer;
        color: #bab803; /* Or any other color */
    }

    header {
        padding: 0.5px 0;
    }
}



.page_container {
    margin: auto;
    width: 100vw;
    height: max-content;
}





.logo_title {
    display: block;
    margin: 0 auto;
    width: 10%; /* Adjust this value as needed */
    height: auto;
}

.message-footer {
    margin-top: 20px;
    font-size: 1.0em;
    color: #777;
}



#scroll-to-bottom-btn {
    width: 8%;
    height: 8%;
    position: fixed; /* Fixed positioning to keep the button in view */
    top: 110px; /* Distance from the top of the viewport */
    right: 1.5%; /* Distance from the right of the viewport */
    z-index: 1000; /* Ensure it sits above other content */
    padding: 10px 10px; /* Padding inside the button */
    background-color: transparent; /* Button background color */
    color: #472d72; /* Button text/icon color */
    border: none; /* No border */
    border-radius: 5px; /* Rounded corners */
    cursor: pointer; /* Change mouse cursor on hover */
    /*box-shadow: 0 2px 5px rgba(0,0,0,0.3); /* Optional: add shadow for better visibility */
}

#scroll-to-bottom-btn:hover i{
    /*background-color: #0056b3; /* Darker shade on hover */
    color: #ff7803;
}

.message-block {
    background-color: transparent;
    width: 100%;
    margin:auto;
    margin-top: 5px;
    padding-bottom: 2px;
    padding-top: 2px;
    text-align: center;
    border: none;
    font-size: medium;
    font-weight: 400;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
    margin-bottom: 10px;
}

.alert {
    padding: 3px;
    border: 2px solid transparent;
    border-radius: 4px;
}

.alert-success {
    color: #3c763d;
    background-color: #d6fcc7;
    border-color: #f0fce6;
}

.alert-danger {
    color: #a10413;
    background-color: #fa9da6;
    border-color: #fce2e4;
}



/* Override styles for pagination nav only */
.pagination-nav {
    background-color: transparent; /* Make the background transparent */
    padding: 0; /* Optional: Adjust padding if needed */
    width:100%;
    height:max-content;
    margin: auto;
    margin-bottom: 50px;
    overflow-x: hidden; /* Hide any overflow on x-axis */
    box-sizing: border-box; /* Include padding and border in the element's total width and height */
}


/* Base styles for pagination */
.pagination {
    display: flex;
    flex-wrap: wrap; /* Prevent items from wrapping */
    list-style: none;
    padding: 0;
    justify-content: center;
    margin-top: 20px;
    width:100%;
    height:max-content;
    margin-bottom: 50px;
}

.page-item {
    margin: 0 5px;
    margin-bottom: 5px; /* Add some space between items when stacked */
    
}

.page-link {
    color: #472d72;
    text-decoration: none;
    font-size: 12px;
    background-color: transparent;
    border: 1px solid #472d72;
    padding: 4px 6px;
    border-radius: 5px;
    transition: all 0.5s ease;
    white-space: nowrap;
}

.page-item.active .page-link,
.page-link:hover {
    background-color: #472d72;
    color: #472d72;
    border-color: #472d72;
}

.page-item.active .page-link i,
.page-link:hover i {
    color: #472d72; /* Ensures the icon color matches the link text */
}

.page-item.disabled .page-link {
    color: #cccccc;
    cursor: not-allowed;
    background-color: #f9f9f9;
    border-color: #472d72;
}

.page-item.disabled .page-link i {
    color: #cccccc; /* Ensures the icon color matches the disabled link text */
}

/* Media queries for mobile devices */
@media (max-width: 768px) {
    .pagination-nav {
        width:max-content;
    }

    .pagination {
        flex-direction: column; /* Stack the pagination items vertically */
        align-items: center;    /* Align items in the center */
        height: auto;
       
      
    }
    .page-link {
        padding: 6px 10px;  /* Increase padding for better touchability */
        font-size: 10px;     /* Slightly reduce font size for smaller screens */
        
    }

    .page-item {
        margin-bottom: 5px; /* Add some space between items when stacked */
        width:60px;
    }
}

@media (max-width: 480px) {
    .pagination-nav {
        width:max-content;
    }
    .pagination {
        flex-direction: column; /* Stack the pagination items vertically */
        align-items: center;    /* Align items in the center */
        height: auto;
       
      
    }

    .page-item {
        margin-bottom: 5px; /* Add some space between items when stacked */
        width:60px;
    }

    .page-link {
        padding: 6px 10px;  /* Adjust padding for very small screens */
        font-size: 10px;    /* Further reduce font size for readability */
    }
}

   /* Hero Section Styles */
.hero {
    background: linear-gradient(rgba(71, 45, 114, 0.7), rgba(71, 45, 114, 0.4));
    height: max-content; /* Full viewport height */
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-align: center;
    padding: 60px;
    padding-top: 90px;

}

.hero-content {
    max-width: 800px;
    
}
.hero-header {
    max-width: 800px;
}

.hero h1 {
    font-size: 3.5rem;
    margin-bottom: 20px;
    line-height: 1.5;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5); 
}

.hero p {
    font-size: 1.1rem;
    margin-bottom: 30px;
    color: #472d72;
}

.cta-button {
    display: inline-block;
    background-color: #fb9236;
    color: white;
    padding: 15px 30px;
    font-size: 1.5rem;
    font-weight: 600;
    text-decoration: none;
    border-radius: 7px;
    transition: background-color 0.5s ease;
}

.cta-button:hover {
    background-color: #472d72;
    color: white;
}

/* Media query for smaller screens */
@media (max-width: 768px) {
    .hero h1 {
        font-size: 2rem;
    }
    
    .hero p {
        font-size: 1rem;
    }
    
    .cta-button {
        padding: 10px 20px;
        font-size: 0.9rem;
    }
}

/* Contact Strip Styles */
.contact-strip {
    background-color: #472d72;
    color: #fff;
    padding: 3px 0;
    text-align: center;
    font-size: 0.5rem;
    /*border-bottom: 2px solid #fb9236; /* Optional: adds a bottom border for separation */
}

.contact-strip i {
    color: #fff;
}

.contact-strip i:hover {
    color: #fb9236;
}

.contact-strip-content {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap; /* Allows the items to wrap to the next line on smaller screens */
}

.contact-item1 {
    margin: 0 15px;
    padding: 5px 10px; /* Adds padding inside the box */
    border: 1px solid #7f66a9; /* Thin border */
    border-radius: 3px; /* Rounded corners */
}

.contact-item2 {
    margin: 0 15px;
    padding: 5px 10px; /* Adds padding inside the box */
    border: 1px solid #7f66a9; /* Thin border */
    border-radius: 3px; /* Rounded corners */
}

/* Media query for smaller screens */
@media (max-width: 768px) {
    .contact-item {
        display: block;
        margin: 5px 0;
    }

    .contact-item2 {
        display: none;
    }
}


/* Success Stories Section Styles */
.success-stories {
    background: linear-gradient(rgba(71, 45, 114, 0.4), rgba(255, 255, 255, 0.8));
    padding: 0px 20px;
    padding-bottom: 50px;
    /*background-color: #e4e3e3; /* Light background for the section */
    padding-top: 20px;
    text-align: center;
}

.success-header-container {
    margin: auto;
    padding: 3px 0; /* Adds padding inside the box */
    background: linear-gradient(rgba(71, 45, 114, 0.8), rgba(71, 45, 114, 0.3));
    /*border-top: 3px solid #fb9236; /* Thin border */
    /*border-bottom: 1px solid #fb9236; /* Thin border */
    margin-bottom: 30px;
    width: 100%;
    
}

.success-stories h2 {
    font-size: 2rem;
    color: #fff;
}

@media (max-width: 768px) {
    .success-stories h2 {
        font-size: 1.5rem;
    }

   
}

/* Container Grid Styles */
.container-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 2vw;
    justify-content: center;
    padding-top: 0;
    padding-bottom: 0.2vw;
    padding-left: 1vw;
    padding-right: 1vw;
}

/* Story Item Styles */
.story-item {
    background-color: #dfcffb;
    border: 1px solid #dfdddd;
    border-radius: 6px 6px 3px 3px; /* Rounded corners on top */
    padding: 0;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    text-align: left;
    transition: transform 0.3s ease, box-shadow 0.3s ease; /* Add transition for smooth animation */
}

.story-item:hover {
    transform: translateY(-10px); /* Slide up effect */
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2); /* Enhance shadow for highlighting */
}
.story-headline {
    width: 100%;
    text-align: center;
    background-color: #472d72;
    border-radius: 6px 6px 0 0; /* Rounded corners on top */
}
.story-item h3 {
    font-size: 1.2rem;
    color: #fff;
}

.story-item img {
    width: 100%;
    border: 1px solid #e1d7f3;;
    margin-bottom: 10px;
}

.story-item p {
    font-size: 0.9rem;
    color: #555;
    margin-bottom: 10px;
}

.story-item .details {
    font-size: 0.9rem;
    color: #555;
    padding: 5px;
}

.story-item .details p {
    margin-bottom: 5px;
    text-align: center;
}

.story-item .brief {
    font-size: 0.95rem;
    color: #7f66a9;
    margin-top: 10px;
}

/* Media query for smaller screens */
/* Ensure 5 blocks per row for screens 1024px and wider */
@media (max-width: 1920px) {
    .container-grid {
        grid-template-columns: repeat(5, 1fr);
    }
}

/* Ensure 2 blocks per row for screens between 1024px and 414px */
@media (max-width: 1024px) {
    .container-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Ensure 1 block per row for screens less than 414px */
@media (max-width: 414px) {
    .container-grid {
        grid-template-columns: 1fr;
    }
}

/* Success Stories Section Styles */
.common-section {
    background: linear-gradient(rgba(71, 45, 114, 0.4), rgba(255, 255, 255, 0.8));
    padding: 0px 20px;
    padding-bottom: 50px;
    /*background-color: #e4e3e3; /* Light background for the section */
    padding-top: 20px;
    text-align: center;
}

.common-header-container {
    margin: auto;
    padding: 3px 0; /* Adds padding inside the box */
    background: linear-gradient(rgba(71, 45, 114, 0.8), rgba(71, 45, 114, 0.3));
    /*border-top: 3px solid #fb9236; /* Thin border */
    /*border-bottom: 1px solid #fb9236; /* Thin border */
    margin-bottom: 30px;
    width: 100%;
    padding-bottom: 15px;
    
}

.common-section h2 {
    font-size: 2rem;
    color: #fff;
}

@media (max-width: 768px) {
    .common-section h2 {
        font-size: 1.5rem;
    }

   
}

/* Visionaries Grid Layout */
.visionaries-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2vw;
    align-items: top;
    justify-content: center;
    margin: 0 auto;
    max-width: 1280px;
}

.video {
    background: linear-gradient(rgba(71, 45, 114, 0.8), rgba(71, 45, 114, 0.1));
    width: 100%;
    border: none;
    color: #030303;
    margin:auto;
    margin-top: 0;
    border-radius: 10px;
    border-style: solid;;
    border-width: 2px;
    border-color: #fff;
    margin-bottom: 10px;
    padding-left: 2px;
    padding-right: 2px;
}

.video h2 {
    font-size: 1.2rem;
    color: #fff;
    font-weight: 700;
    margin-bottom: 10px;
}

.video h3 {
    font-size: 1.2rem;
    color: #472e72;
    font-weight: 700;
    text-align: left;
    padding-left: 10px;
    padding-top: 5px;
}


/* Video Frame Styles */
.videoframe {
    width: 97%;
    height: auto;
    position: relative;
    margin: auto;
    align-content: center;
    align-items: center;
    top: 0;
    left: 0;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

.video-wrapper {
    position: relative;
    padding-bottom: 56.25%; /* 16:9 aspect ratio */
    height: 0;
    overflow: hidden;
    margin-bottom: 5px; /* Space below the video container */
}


.video-wrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 10px; /* Rounded corners for the outline */
}

/* About Us Text Styles */
.about-us {
    font-size: 1rem;
    color: #333;
    max-width: 800px;
    text-align: left;
}

.about-us p {
    margin-top:5px;
    margin-bottom: 12px;
    text-align: justify;
}

.about-us h3 {
    font-size: 1.2rem;
    color: #472e72;
    font-weight: 700;
    
}

/* Media query for smaller screens */
@media screen and (max-width: 768px) {
    .visionaries-grid {
        grid-template-columns: 1fr;
    }
    
    .video-wrapper {
        margin-bottom: 10px; /* Reduce space on smaller screens */
    }

    .about-us {
        font-size: 0.9rem;
    }
}

@media screen and (max-width: 414px) {
    .video-wrapper {
        margin-bottom: 10px; /* Reduce space on smaller screens */
    }
}

.team-container {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 20px; /* Space between the two blocks */
    padding: 10px;
    padding-top: 0;
    background-color: transparent;
}

.team-container a {
    color: #7f66a9;
    text-decoration: none;
    transition: color 0.5s ease; /* Add transition here */
}


.team-container a:hover {
    text-decoration:none;
    color: #fb9236;
}

.person {
    display: inline-block;
    text-align: left;
    max-width: 45%; /* Adjust as needed */
}

.person img {
    width: 50%;
    height: auto;
    border-radius: 50%;
    margin-bottom: 1px;
    border: 4px solid #e1d7f3;;
}

.person p {
    margin: 5px 0;
    font-size: small;
}


.common {
    width: 100%;
    margin-bottom: 12px;
    text-align: center;
    margin-bottom: 20px;
}

/* Ready made Solutions */

.project-item {
    /*background-color: #fae3cf;*/
    background:linear-gradient( rgba(251, 146, 54, 0.8), rgba(255, 255, 255, 0.9));
    /*border: 1px solid #dfdddd;*/
    border-radius: 9px 9px 3px 3px; /* Rounded corners on top */
    padding: 0;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    text-align: left;
    transition: transform 0.3s ease, box-shadow 0.3s ease; /* Add transition for smooth animation */
}

.project-item:hover {
    transform: translateY(-10px); /* Slide up effect */
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2); /* Enhance shadow for highlighting */
}

.project-item h3 {
    font-size: 1.2rem;
    color: #472e72;
    text-align: center;
}

.project-item img {
    width: 100%;
    border: 4px solid rgba(251, 146, 54, 0.8);
    border-radius: 9px 9px 0 0; /* Rounded corners on top */
    margin-bottom: 0;
}

.project-item p {
    font-size: 0.9rem;
    margin-bottom: 10px;
    color: #472e72;
    padding:5px;
    text-align: center;
}

.project-item a {
    color: #7f66a9;
    text-decoration: none;
    transition: color 0.5s ease; /* Add transition here */
}

.project-item a:hover {
    text-decoration:none;
    color: #fb9236;
}




.upcoming-item {
    /*background-color: #fae3cf;*/
    background:linear-gradient(rgba(71, 45, 114, 0.6), rgba(255, 255, 255, 0.9));
    /*border: 1px solid #dfdddd;*/
    border-radius: 9px 9px 3px 3px; /* Rounded corners on top */
    padding: 0;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    text-align: left;
    transition: transform 0.3s ease, box-shadow 0.3s ease; /* Add transition for smooth animation */
}

.upcoming-item:hover {
    transform: translateY(-10px); /* Slide up effect */
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2); /* Enhance shadow for highlighting */
}

.upcoming-item h3 {
    font-size: 1rem;
    color: #fb9236;
    text-align: center;
}

.upcoming-item img {
    width: 100%;
    border: 4px solid rgba(71, 45, 114, 0.1);
    border-radius: 9px 9px 0 0; /* Rounded corners on top */
    margin-bottom: 0;
}

.upcoming-item p {
    font-size: 0.9rem;
    margin-bottom: 10px;
    color: #472e72;
    padding:5px;
    text-align: center;
}

.upcoming-item a {
    color: #fff;
    text-decoration: none;
    transition: color 0.5s ease; /* Add transition here */
}

.upcoming-item a:hover {
    text-decoration:none;
    color: #a778fa;
}

.common-sub-container, .common-sub-container-up {
    margin: auto;
    padding: 5px;
    padding-left: 25px;
    padding-right: 25px;
    background: linear-gradient( rgba(251, 146, 54, 0.8), rgba(255, 255, 255, 0.8));
    margin-bottom: 5px;
    width: 100%;
    box-sizing: border-box; /* Ensure padding is included in the element's width */
}

.common-sub-container-up {
    background: linear-gradient(rgba(71, 45, 114, 0.8), rgba(71, 45, 114, 0.1));
}

.common-sub-container h3, .common-sub-container-up h3 {
    font-size: 1.2rem;
    color: #472e72;
    font-weight: 700;
    text-align: center;
    padding: 5px;
    padding-top: 0;
}

.common-sub-container-up h3 {
    color: #fff;
}

/* Responsive Adjustments */
@media (max-width: 414px) {
    .common-sub-container, .common-sub-container-up {
        padding-left: 10px;
        padding-right: 10px;
    }
}


.bottom-fixed {
    background-color: #472e72;
    margin:auto;
    /* Fixes the header to the top of the viewport */
    bottom: 0;         /* Aligns the header at the top */
    left: 0;        /* Aligns the header to the left */
        /* Ensures the header extends across the full width of the viewport */
    height: max-content;
}

/* Media query for smaller screens */
@media screen and (max-width: 1200px) {
    .upcoming-item h3 {
        font-size: 0.9rem;
    }
}

@media screen and (max-width: 768px) {
    .upcoming-item h3 {
        font-size: 1.2rem;
    }
}





.testimonial-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
    padding: 20px;
}

.testimonial-block {
    background:linear-gradient(rgba(71, 45, 114, 0.1), rgba(255, 255, 255, 0.9));
    /*background-color: #f9f9f9;*/
    border: 1px solid #ddd;
    border-radius: 10px;
    padding: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2); 
    justify-content: space-between; /* Ensures the blocks are spaced apart */
    flex-wrap: nowrap; /* Ensures wrapping on smaller screens */
}


.testimonial-image img {
    border-radius: 50%;
    width: 150px;
    height: 150px;
    object-fit: cover;
    margin-bottom: 10px;
}

.testimonial-details {
    margin-bottom: 20px;
}

.testimonial-details h4 {
    margin: 0;
    font-size: 1em;
}

.testimonial-details p {
    margin: 5px 0;
    font-size: 0.8em;
}

.testimonial-quote {
    font-style: italic;
    font-size: 1em;
    color: #555;
    position: relative;
}

.testimonial-quote::before {
    content: "\201C";
    font-size: 2em;
    color: #ccc;
    position: absolute;
    left: -10px;
    top: -10px;
}

.testimonial-quote::after {
    content: "\201D";
    font-size: 2em;
    color: #ccc;
    position: absolute;
    right: -10px;
    bottom: -10px;
}

.inline-block-container {
    display: flex;
    justify-content: space-between; /* Ensures the blocks are spaced apart */
    flex-wrap: wrap; /* Ensures wrapping on smaller screens */
    width: 100%;
}

.inline-block {
    margin: 10px; /* Optional: Add some space between the blocks */
    text-align: left; /* Centers the content within each block */
    padding: 10px;
    padding-right: 15px
}

.block-35 {
    flex: 0 0 30%; /* First block takes 35% of the container width */
}

.block-65 {
    flex: 0 0 60%; /* Second block takes 60% of the container width */
}

@media (max-width: 768px) {
    .inline-block {
        flex: 100%; /* Stacks the blocks on smaller screens */
        margin: 3px 0; /* Adjusts the margin for stacked layout */
        text-align: center;
    }
}

.footer-contact-us {
    background-color: #472e72;
    color: #fff;
    padding: 10px;
    border-radius: 8px;
    text-align: center;
    margin: 5px 0;
    width: 100%;
    box-sizing: border-box;
}

.footer-contact-us h3 {
    font-size: small;
    margin-bottom: 10px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.footer-contact-us p {
    font-size: small;
    margin: 5px 0 15px 0;
}

.footer-contact-us i {
    color: #fb9236;
}

.footer-contact-us i:hover {
    color: #fff;
}
.custom-hr {
    border: 1px solid #b59cdf; /* Change the color and thickness as needed */
    width: 50%; /* Adjust the width as needed */
    margin: 10px auto; /* Center the hr element */
}

@media (max-width: 768px) {
    .custom-hr {
        width: 100%; /* Adjust the width as needed */
    }
}

 /* Custom CSS */
 .social-media-icons {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 15px;
}

.social-media-icons a {
    color: #fff;
    font-size: 2.5em;
    transition: color 0.3s ease;
}

.social-media-icons a:hover {
    color: #fb9236;
}


/* Override styles for pagination nav only */
.pagination-nav {
    background-color: transparent; /* Make the background transparent */
    padding: 0; /* Optional: Adjust padding if needed */
    width:100%;
    height:max-content;
    margin: auto;
    margin-bottom: 50px;
    overflow-x: hidden; /* Hide any overflow on x-axis */
    box-sizing: border-box; /* Include padding and border in the element's total width and height */
}


/* Base styles for pagination */
.pagination {
    display: flex;
    flex-wrap: wrap; /* Prevent items from wrapping */
    list-style: none;
    padding: 0;
    justify-content: center;
    margin-top: 20px;
    width:100%;
    height:max-content;
    margin-bottom: 50px;
}

.page-item {
    margin: 0 5px;
    margin-bottom: 5px; /* Add some space between items when stacked */
    
}

.page-link {
    color: #fff;
    text-decoration: none;
    font-size: 12px;
    background-color: transparent;
    border: 1px solid #8053cc;
    padding: 4px 6px;
    border-radius: 5px;
    transition: all 0.5s ease;
    white-space: nowrap;
}

.page-item.active .page-link,
.page-link:hover {
    background-color: #472e72;
    color: #fff;
    border-color: #8053cc;
}

.page-item.active .page-link i,
.page-link:hover i {
    color: #fff; /* Ensures the icon color matches the link text */
}

.page-item.disabled .page-link {
    color: #a1a1a1;
    cursor: not-allowed;
    background-color: #f3f2f5;
    border-color: #676768;
}

.page-item.disabled .page-link i {
    color: #cccccc; /* Ensures the icon color matches the disabled link text */
}

/* Media queries for mobile devices */
@media (max-width: 768px) {
    .pagination-nav {
        width:max-content;
    }

    .pagination {
        flex-direction: column; /* Stack the pagination items vertically */
        align-items: center;    /* Align items in the center */
        height: auto;
       
      
    }
    .page-link {
        padding: 6px 10px;  /* Increase padding for better touchability */
        font-size: 10px;     /* Slightly reduce font size for smaller screens */
        
    }

    .page-item {
        margin-bottom: 5px; /* Add some space between items when stacked */
        width:60px;
    }
}

@media (max-width: 480px) {
    .pagination-nav {
        width:max-content;
    }
    .pagination {
        flex-direction: column; /* Stack the pagination items vertically */
        align-items: center;    /* Align items in the center */
        height: auto;
       
      
    }

    .page-item {
        margin-bottom: 5px; /* Add some space between items when stacked */
        width:60px;
    }

    .page-link {
        padding: 6px 10px;  /* Adjust padding for very small screens */
        font-size: 10px;    /* Further reduce font size for readability */
    }
}

.message-block {
    background-color: transparent;
    width: 100%;
    margin:auto;
    margin-top: 5px;
    padding-bottom: 2px;
    padding-top: 2px;
    text-align: center;
    border: none;
    font-size: medium;
    font-weight: 400;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
    margin-bottom: 10px;
}

.alert {
    padding: 3px;
    border: 2px solid transparent;
    border-radius: 4px;
}

.alert-success {
    color: #3c763d;
    background-color: #d6fcc7;
    border-color: #f0fce6;
}

.alert-danger {
    color: #a10413;
    background-color: #fa9da6;
    border-color: #fce2e4;
}


    .errorlist {
        padding: 10;
        width: 97%;
        color: rgb(168, 16, 16);     
        background-color: #f8d7da;
        padding-top: 10px; 
        padding-bottom: 10px;
        line-height: 30px;
       /* Text color */
        /* Make errors bold */
        list-style-type: none;     /* Remove bullet points */
        margin: 0;                 /* Remove margin */
        padding: 0;   /* Remove padding */
    }
    
    /* Apply the same style to non-field error list */
    .errorlist.nonfield-errors {
        color: rgb(168, 16, 16);           /* Ensure the same text color */
        background-color: #f8d7da;         /* Same background as other error boxes */
        padding: 10px;                     /* Same padding for consistency */
        line-height: 30px;                 /* Consistent line height */
        list-style-type: none;             /* No bullet points */
        margin: 0;                         /* Remove outer margin */
    }

    .errorlist li {
        margin-bottom: 5px;        /* Add some space between error messages */
    }

    /* General styling for the message container */
    .message-container {
        width: 100%;
        padding: 0 5px;
        border-radius: 5px;
        margin: 0 auto;
    }

    /* Success Message */
    .message.success {
        background-color: #d4edda; /* Light green background */
        border: 1px solid #c3e6cb; /* Green border */
        color: #155724;           /* Dark green text */
    }

    /* Error Message */
    .message.error {
        background-color: #f8d7da; /* Light red background */
        border: 1px solid #f8d7da; /* Red border */
        color: rgb(168, 16, 16);            /* Dark red text */
    }

    /* Warning Message */
    .message.warning {
        background-color: #fff3cd; /* Light yellow background */
        border: 1px solid #ffeeba; /* Yellow border */
        color: #856404;            /* Dark yellow text */
    }

    /* Info Message */
    .message.info {
        background-color: #d1ecf1; /* Light blue background */
        border: 1px solid #bee5eb; /* Blue border */
        color: #0c5460;            /* Dark blue text */
    }
    
    .disable-label {
        pointer-events: none;
        background: linear-gradient(#ddd, #ccc);
        color: #999;
        box-shadow: none;
        cursor: not-allowed; /* Change cursor to not-allowed */
        display: block;        /* Make the anchor tag a block-level element */
        width: 100%;           /* Make the button span the full width of the td */
        text-align: center; 
        padding: 8px 7px;
        font-size: 0.8rem;
        font-weight: 600;
        border-radius: 5px; /* Makes the button round */
        
      }
      
    .disable-label i {
        color: #999; /* Change icon color when disabled */
      }