body {
    font-family: Arial, sans-serif;
}

header {
    background-color: #f8f9fa;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

header nav ul li a {
    text-decoration: none;
    color: #333;
}



.main-menu {
    white-space: nowrap; /* Prevent wrapping */
    align-items: center;
}

.main-menu li a {
    text-decoration: none;
    display: inline-block;
    white-space: nowrap;
}

.main-menu li a:hover {
    transform: translateY(-9px); 
    color: rgb(59, 52, 195); 
    padding: 2px;                        
    border-radius: 5px;                     
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

/* Horizontal separator between menu items */
.main-menu li + li {
    border-left: 1px solid #ccc;
    padding-left: 1rem;
    margin-left: 1rem;
}




.carousel-inner {
    height: calc(100vh - 9rem); 
    overflow: hidden; 
}



.carousel-item {
    height: 100%; /* Match height with .carousel-inner */
}


.carousel-item img {
    height: 100%; /* Ensure the image takes the full height of the carousel */
    width: 100%; /* Full width */
    object-fit: fill;
    display: block;
}

/* 
.carousel-item img {
    height: calc(100vh - 9rem);
    object-fit: cover; 
} */



.activities .activity-block {
    background-color: #f8f9fa;
    border: 1px solid #ddd;
    border-radius: 8px;
    height: 12rem;
}


.row-container {

    display: flex;
    flex-direction: row;
    align-items: center;
}


.row-custom {

    display: flex;
    flex-direction: row;    
    margin-left: 5rem;
}

.admin-card {

    /* background-image: linear-gradient(to top right, #d2d5dd, #b6b6d2, #a4a8eb, #0c099f); */
    /* width: 28%; */
    /* height: 12rem; */
    margin-right: 2rem; 
    padding: 10px;   
    border: 1px solid #ccc;
    border-radius: 15px 15px 15px 15px;     
    box-shadow: 0 2px 5px 5px rgba(0, 0, 0, 0.3); 
    transition: box-shadow 0.5s; 
    /* word-wrap: break-word; */
    overflow-wrap: break-word;             
   
}



.admin-card:hover {
    box-shadow: 20px 30px 10px rgba(0, 0, 0, 0.2);
}




.admin-card .card-header {
    background-image: linear-gradient(to top right, #0b674e, #0a6f47, #0b6824, #0c6022);
    color: white;
    /* border-top-left-radius: 20px;
    border-top-right-radius: 20px; */
    width: 100%;
    /* height: 5rem; */
    text-align: center;
    padding: 10px;
    font-weight: bold;
    font-size: 17px;
    justify-content: space-between;
}


.admin .card-body {
    
    padding: 1rem; 
    text-align: center; 
}


.count {
    font-size: 1rem;
    font-weight: bold;
    color: rgb(43, 6, 131);
    text-align: center; 
}

footer {
    background-color: #333;
    color: #fff;
}




.card {
    background-color: white;
    border: none;
    margin: 10px;
    padding: 20px;
    text-align: center;
    width: 20rem;
    height: 14rem; 
    border-radius: 10px;
    box-shadow: 0 20px 15px rgba(0, 0, 0, 0.1);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: box-shadow 0.5s;              
   
}

.card-icon {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100px;
    height: 100px;
    margin: 0 auto 4px;
    background-color: orange;
    border-radius: 50%;
    font-size: 50px;
    color: white;
    
}

.card:hover {
    box-shadow: 0 30px 10px rgba(0, 0, 0, 0.2);
}

.card-link {
    text-decoration: none !important;
    color: inherit; 
    cursor: pointer; 
    color: inherit;
}


.card-header {
    font-size: 1.5rem;
    font-weight: bold;
    color: #333;
    margin: 0;
}


.card-text {
    font-size: 1rem;
    /* font-weight: bold; */
    color: #333;
    margin: 0;
}

.card a {
    text-decoration: none;
}







.contact-card {
    
    
    border: none;
    margin: 10px;
    padding: 10px;
    text-align: center;
    width: 40%;
    height: 14rem; 
    border-radius: 10px;
    box-shadow: 0 20px 15px rgba(0, 0, 0, 0.1);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: box-shadow 0.5s;              
   
}



.contact-card-body {
    
    background-image: linear-gradient(135deg, rgb(232, 255, 244), rgb(255, 255, 255));
    padding: 1rem; 
    text-align: center; 
}


.title-container {

    width: 90%;
    padding: 0.6rem;
    border-radius: 2rem;
    box-shadow: 0.6rem 0.6rem 0.6rem rgba(0 0 0.2 0.4);
    background-image: linear-gradient(to top right, #e9d4df, #e9d4df, #e9d4df, #6dcc68);
}

.success-message {

    color: rgb(16, 172, 16);
    font-size: 1rem;;
}


.error-message {

    color: rgb(192, 16, 16);
    font-size: 1rem;;
}


/* Default (large screen) */
.navbar-brand img {
  max-height: 70px;   /* ~4.5rem */
  height: auto;
  width: auto;
}

/* Medium screens (tablets) */
@media (max-width: 992px) {
  .navbar-brand img {
    max-height: 55px;
  }
}

/* Small screens (mobiles) */
@media (max-width: 576px) {
    
   .navbar-brand img {
    max-height: 40px;
  }


  .brand-title {
        font-size: 1rem;     
        line-height: 1.2;
    }
    
    .brand-tagline {
        font-size: 0.75rem;  
    }
    
    
     .message-scroller span {
        font-size: 0.9rem;
    }
    
    
    .scroll-item {
        font-size: 0.9rem;
        margin-right: 3rem;
    }
    .scroll-mask-left {
        width: 90px;
    }
    
    
    
     .custom-scroller { height: 40px; }
    .left-combined-shape { height: 40px; width: 70px; }
    .scroll-msg {
        font-size: 0.9rem;
        margin-right: 2rem;
    }
    
    
    
    .carousel-inner {
    height: calc(100vh - 30rem); 
    overflow: hidden; 
}
    
}


.contact-title-box {   
    width: 100%;
    min-height: 300px;
    margin: auto;
    background-image: url("https://www.aasummatech.com/public/website/images/contact_us_pic1.jpg");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    padding-top: 70px;
    padding-bottom: 70px;
    border-radius: 1rem;
}

/* Deep Blue Text */
.contact-title-box h1,
.contact-title-box p {
    color: #003366; /* Deep Blue */
}

/* Optional: Light transparent overlay to make text readable */
.contact-title-box::before {
    content: "";
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: rgba(255,255,255,0.4); /* Adjust transparency */
    z-index: 0;
}

.contact-title-box > div {
    position: relative;
    z-index: 1;
}



.aboutus-title-box {   
    width: 100%;
    min-height: 300px;
    margin: auto;
    background-image: url("https://www.aasummatech.com/public/website/images/about_us_pic_f.jpg");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    padding-top: 70px;
    padding-bottom: 70px;
    padding-left: 70px;
    padding-right: 70px;
    border-radius: 1rem;
}

/* Deep Blue Text */
.contact-title-box h1,
.contact-title-box p {
    color: #003366; /* Deep Blue */
}

/* Optional: Light transparent overlay to make text readable */
.aboutus-title-box::before {
    content: "";
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: rgba(255,255,255,0.4); /* Adjust transparency */
    z-index: 0;
}

.aboutus-title-box > div {
    position: relative;
    z-index: 1;
}




.contact-title-box {   
    width: 90%;
    min-height: 250px;
    margin: auto;
    background-image: url("/website/images/Contact_Us_pic.png");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    padding-top: 70px;
    padding-bottom: 70px;
    border-radius: 1rem;
}

/* Deep Blue Text */
.contact-title-box h1,
.contact-title-box p {
    color: #003366; /* Deep Blue */
}

/* Optional: Light transparent overlay to make text readable */
.contact-title-box::before {
    content: "";
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: rgba(255,255,255,0.4); /* Adjust transparency */
    z-index: 0;
}

.contact-title-box > div {
    position: relative;
    z-index: 1;
}


.service-card {
    transition: all 0.3s ease;
    box-shadow: 0 14px 26px rgba(0,0,0,0.12);
}


.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 30px 30px rgba(0,0,0.20,0.20);
}


.service-icon-box {
    width: 15vh;
    height: 15vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 163, 108, 0.10);
    border-radius: 12px;
}
.service-icon-box img {
    width: 110px;
    height: auto;
}


/* Read More Button */
.read-more-btn {
    padding: 6px 14px;
    background: #00a36c;
    color: #fff;
    font-size: 13px;
    border-radius: 6px;
    text-decoration: none;
    transition: 0.3s;
}
.read-more-btn:hover {
    background: #007e53;
    color: #fff;
}



/* Scroller container */
/*.message-scroller-container {*/
/*    width: 100%;*/
    background: #0b5ed7;  /* Professional blue */
/*    color: #fff;*/
/*    padding: 0.5rem 0;*/
    overflow: hidden;     /* hides the text until it enters the screen */
/*    position: relative;*/
/*}*/

/* Inner text wrapper */
/*.message-scroller {*/
/*    white-space: nowrap;*/
/*    display: inline-block;*/
/*    animation: scroll-left 15s linear infinite;*/
/*}*/


/* Wrapper */

/*.scroll-wrapper {*/
/*    width: 100%;*/
/*    background: #0b5ed7;*/
/*    color: white;*/
/*    padding: 0.6rem 0;*/
/*    overflow: hidden;*/
/*    position: relative;*/
/*}*/


/*.scroll-mask-left {*/
/*    position: absolute;*/
/*    left: 0;*/
/*    top: 0;*/
/*    width: 120px; */
/*    height: 100%;*/
   
/*}*/


/*.scroll-content {*/
/*    display: inline-flex;*/
/*    white-space: nowrap;*/
/*    animation: scroll-left 18s linear infinite;*/
/*    will-change: transform;*/
/*}*/


/*.scroll-item {*/
    margin-right: 5rem;   /* GAP between messages */
/*    font-size: 1rem;*/
/*}*/


/*@keyframes scroll-left {*/
/*    0% {*/
        transform: translateX(100%); /* start outside right */
/*    }*/
/*    100% {*/
        transform: translateX(-100%); /* exit before mask on left */
/*    }*/
/*}*/







/* Scroller CSS */


.custom-scroller {
    width: 100%;
    display: flex;
    align-items: center;
    background: #ffffff;
    border: 1px solid #b5b5b5;
    overflow: hidden;
    height: 50px;
    position: relative;
}

/* ⬅ LEFT SHAPE (Rectangle + Triangle as One Continuous Figure) */
.left-combined-shape {
    width: 90px; /* Adjust width of the whole shape */
    height: 100%;
    background: linear-gradient(
        to right,
        #6cae3f 0%,
        #6cae3f 55%,     /* rectangle part */
        #92c83f 55%,     /* triangle start */
        #92c83f 100%     /* entire triangle area */
    );
    clip-path: polygon(
        0 0,        /* top-left */
        60% 0,      /* rectangle top-right */
        100% 100%,  /* triangle bottom-right */
        60% 100%,   /* rectangle bottom-right */
        0 100%      /* bottom-left */
    );
}

/* SCROLLING AREA */
.scroll-area {
    flex: 1;
    overflow: hidden;
    white-space: nowrap;
}

/* TRACK */
.scroll-track {
    display: inline-flex;
    align-items: center;
    animation: scroll-left linear infinite;
    animation-duration: 12s; /* SPEED CONTROL */
}

/* EACH MESSAGE */
.scroll-msg {
    font-size: 1.1rem;
    margin-right: 4rem; /* GAP BETWEEN MESSAGES */
}

/* SCROLL ANIMATION */
@keyframes scroll-left {
    0% { transform: translateX(100%); }
    100% { transform: translateX(-100%); }
}

/* PAUSE ON HOVER */
.scroll-area:hover .scroll-track {
    animation-play-state: paused;
}



/* Beautiful gradient for Title Container */
.title-wrapper {
    background: linear-gradient(135deg, #D1F2EB, #A9DFBF, #AED6F1);
    border-radius: 14px;
    padding: 35px 25px;
    box-shadow: 0 6px 18px rgba(0,0,0,0.08);
}

/* Beautiful gradient for Content Container */
.content-wrapper {
    background: linear-gradient(135deg, #F5EAFB, #FCE4EC, #F8EBFF);
    border-radius: 14px;
    padding: 30px;
    box-shadow: 0 6px 18px rgba(0,0,0,0.08);
}

/* Page title */
.page-title {
    font-size: 42px;
    font-weight: 800;
    color: #0d6efd;
    white-space: nowrap;
}

.page-title-mid {
    font-size: 2rem;
    font-weight: 800;
    color: #0000FF;
    white-space: nowrap;
}

/* Tagline */
.page-tagline {
    font-size: 18px;
    color: #444;
    white-space: nowrap;
}

/* Allow wrapping on smaller screens */
@media (max-width: 1200px) {
    .page-title,
    .page-tagline {
        white-space: normal;
    }
}

/* Medium screens */
@media (max-width: 992px) {
    .page-title {
        font-size: 36px;
    }
}

/* Small screens */
@media (max-width: 576px) {
    .page-title {
        font-size: 28px;
    }
    .page-tagline {
        font-size: 16px;
    }
    
    
  .brand-title {
        font-size: 0.5rem;     
        line-height: 0.6;
    }
    
    .brand-tagline {
        font-size: 0.4rem;  
    }
    
}







