/* Custom CSS for Maha Informatics Website */

@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700&display=swap');
:root {
    --primary-color: #ff6f00;
    --secondary-color: #2c3e50;
    --text-color: #555;
    --light-bg: #f9f9f9;
}

body {
    font-family: 'Poppins', sans-serif;
    color: var(--text-color);
    line-height: 1.6;
    overflow-x: hidden;
    background-color: #fff;
    padding-top: 70px; /* Adjust for fixed navbar */
}

/* General Styles */
h1, h2, h3, h4, h5, h6 {
    color: var(--secondary-color);
    font-weight: 600;
}

.btn-primary, .btn-secondary {
    border-radius: 50px;
    padding: 12px 30px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-primary {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
}
.btn-primary:hover {
    background-color: #e65c00;
    border-color: #e65c00;
    transform: translateY(-3px);
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

.btn-outline-primary {
    border-color: var(--primary-color);
    color: var(--primary-color);
    border-radius: 50px;
    padding: 12px 30px;
    font-weight: 600;
    transition: all 0.3s ease;
}
.btn-outline-primary:hover {
    background-color: var(--primary-color);
    color: #fff;
    transform: translateY(-3px);
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

.btn-success {
    background-color: #25D366;
    border-color: #25D366;
    color: #fff;
    border-radius: 50px;
    padding: 12px 30px;
    font-weight: 600;
    transition: all 0.3s ease;
}
.btn-success:hover {
    background-color: #128C7E;
    border-color: #128C7E;
    transform: translateY(-3px);
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

section {
    padding: 80px 0;
}

.title {
    text-align: center;
    margin-bottom: 60px;
}
.title h2 {
    font-size: 2.5rem;
    position: relative;
    display: inline-block;
    margin-bottom: 10px;
}
.title h2::after {
    content: '';
    width: 80px;
    height: 3px;
    background-color: var(--primary-color);
    position: absolute;
    left: 50%;
    bottom: -10px;
    transform: translateX(-50%);
}

.underline-anim {
    position: relative;
    display: inline-block;
    padding-bottom: 5px;
}
.underline-anim::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    background: var(--primary-color);
    left: 0;
    bottom: 0;
    transition: width 0.3s ease-in-out;
}
.underline-anim:hover::after {
    width: 100%;
}

/* Navigation */
.navbar {
    transition: all 0.3s ease-in-out;
    background-color: #fff;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}
.navbar-brand img {
    height: 40px;
}
.navbar-nav .nav-link {
    font-weight: 500;
    color: var(--secondary-color);
    padding: 10px 20px;
    position: relative;
}
.navbar-nav .nav-link:hover {
    color: var(--primary-color);
}
.navbar-nav .nav-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    background-color: var(--primary-color);
    left: 50%;
    bottom: 0;
    transform: translateX(-50%);
    transition: width 0.3s ease-in-out;
}
.navbar-nav .nav-link:hover::after,
.navbar-nav .nav-link.active::after {
    width: 80%;
}

/* Home Section */
#home {
    background-color: var(--light-bg);
    padding-top: 100px;
    padding-bottom: 80px;
}
.home-content h1 {
    font-size: 3.5rem;
    font-weight: 700;
}
.home-content h1 span {
    color: var(--primary-color);
}
.home-content p {
    font-size: 1.1rem;
    max-width: 600px;
    margin-bottom: 30px;
}
.home-img-container {
    position: relative;
}
.home-img-container img {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
}

/* About Section */
#about-us {
    background-color: #fff;
}
.about-img img {
    max-width: 100%;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}
.about-text h2 {
    margin-bottom: 20px;
}

/* Vision Section */
#vision {
    background-color: var(--light-bg);
    padding: 80px 0;
}
.vision-item {
    text-align: center;
    padding: 30px;
    border-radius: 10px;
    transition: all 0.3s ease;
}
.vision-item:hover {
    transform: translateY(-10px);
    background-color: #fff;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
}
.vision-item .icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 20px;
    border-radius: 50%;
    background-color: var(--primary-color);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}
.vision-item .icon i {
    font-size: 2rem;
    color: #fff;
}
.vision-item h3 {
    font-size: 1.25rem;
    margin-bottom: 10px;
}

/* Services Section */
#services {
    background-color: #fff;
    padding-top: 150px;
}
.service-item {
    
    padding: 30px;
    border-radius: 10px;
    background-color: #fff;
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
    transition: all 0.3s ease;
    height: 100%;
}
.service-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}
.service-item .icon {
    width: 60px;
    height: 60px;
    margin: 0 auto 20px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.service-item .icon i {
    font-size: 2.5rem;
    color: var(--primary-color);
}
.service-item h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
}

/* Locations Table */
.my-custom-scrollbar {
    position: relative;
    height: 400px;
    overflow: auto;
    margin-top: 30px;
}
.table-wrapper-scroll-y {
    display: block;
}
.table-striped > tbody > tr:nth-of-type(odd) {
    background-color: var(--light-bg);
}

/* Contact Section */
#contact {
    background-color: var(--light-bg);
}
.contact-form .form-control {
    border-radius: 50px;
    padding: 15px 25px;
    border: 1px solid #ddd;
    transition: all 0.3s ease;
}
.contact-form textarea.form-control {
    border-radius: 20px;
}
.contact-form .form-control:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.25rem rgba(255, 111, 0, 0.25);
}
.contact-info p {
    margin-bottom: 10px;
}
.contact-info p i {
    color: var(--primary-color);
    margin-right: 10px;
}

/* Footer */
#footer {
    background-color: var(--secondary-color);
    color: #fff;
    padding: 40px 0;
    text-align: center;
}
#footer a {
    color: var(--primary-color);
    text-decoration: none;
}
#footer .widget-title {
    color: #fff;
    margin-bottom: 10px;
}
#footer .textwidget {
    font-size: 0.9rem;
}

/* Animations */
.animated {
    visibility: hidden;
}
.visible {
    visibility: visible;
}
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}
.fade-in {
    animation: fadeIn 0.8s ease-out forwards;
}

/* SETU Services Page specific styles */
#setu-services {
    background-color: #fff;
}
#setu-services .accordion-button {
    background-color: var(--light-bg);
    color: var(--secondary-color);
    font-weight: 600;
    border-radius: 10px;
    transition: all 0.3s ease;
}
#setu-services .accordion-button:not(.collapsed) {
    background-color: var(--primary-color);
    color: #fff;
    box-shadow: none;
}
#setu-services .accordion-button:not(.collapsed) .fa-chevron-down {
    transform: rotate(180deg);
}
#setu-services .accordion-button:focus {
    box-shadow: none;
    border-color: transparent;
}
#setu-services .accordion-item {
    border: none;
    background-color: transparent;
}
#setu-services .accordion-body {
    background-color: #fff;
    border: 1px solid #ddd;
    border-top: none;
    border-radius: 0 0 10px 10px;
}
#service-list .accordion-header .accordion-button {
    text-align: left;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
#service-list .accordion-header .accordion-button::after {
    display: none;
}
#service-list .accordion-header .accordion-button i {
    transition: transform 0.3s ease;
}

#setu-services .qr-container {
    padding: 20px;
    border: 1px solid #ddd;
    border-radius: 10px;
}
#setu-services .qr-container img {
    border-radius: 5px;
}

