/* ==========================================================================
   Sree Gokulam Group of Institutions - Portal Custom Stylesheet
   ========================================================================== */

/* Custom Portal Gateway Page Styling */
body {
   font-family: 'DM Sans', sans-serif;
   background-color: #0c121e;
   color: #ffffff;
   overflow-x: hidden;
}

.sis-preloader {
   background-color: #080c14 !important;
}

.gokulam-portal-wrapper {
   padding: 100px 0 80px 0;
   background-color: #0c121e;
}

.gokulam-portal-hero-overlay {
   background: radial-gradient(circle at center, rgba(12, 18, 30, 0.7) 0%, rgba(8, 12, 20, 0.95) 100%),
      linear-gradient(180deg, rgba(210, 52, 52, 0.08) 0%, rgba(12, 18, 30, 0) 100%);
   position: absolute;
   top: 0;
   left: 0;
   width: 100%;
   height: 100%;
   z-index: 1;
   pointer-events: none;
}

.gokulam-portal-content {
   position: relative;
   z-index: 2;
}

.gokulam-single-portal-card {
   background: #ffffff !important;
   border: 1px solid #e2e8f0;
   border-radius: 24px;
   box-shadow: 0 15px 40px rgba(0, 0, 0, 0.25);
   transition: all 0.4s ease;
}

.gokulam-inner-card {
   background: #f3f4f6;
   border: 1px solid #e5e7eb;
   border-radius: 20px;
   padding: 20px;
   height: 100%;
   display: flex;
   flex-direction: column;
   justify-content: space-between;
   transition: all 0.3s ease;
}

.gokulam-inner-card:hover {
   background: #ebeef2;
   border-color: #d1d5db;
   transform: translateY(-4px);
   box-shadow: 0 10px 25px rgba(0, 0, 0, 0.06);
}

.gokulam-inner-card .gokulam-card-banner {
   border-radius: 14px;
   overflow: hidden;
   margin-bottom: 16px;
}

.gokulam-single-portal-card:hover {
   box-shadow: 0 20px 50px rgba(210, 52, 52, 0.2);
}

@media (min-width: 768px) {
   .border-end-md {
      border-right: 1px solid #e2e8f0 !important;
   }
}

.gokulam-portal-card {
   background: #ffffff !important;
   border: 1px solid #e2e8f0;
   border-radius: 20px;
   transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
   box-shadow: 0 12px 35px rgba(0, 0, 0, 0.25);
   height: 100%;
   display: flex;
   flex-direction: column;
   justify-content: space-between;
   max-width: 480px;
   margin: 0 auto;
}

.gokulam-portal-card:hover {
   transform: translateY(-8px);
   border-color: #d23434;
   box-shadow: 0 20px 45px rgba(210, 52, 52, 0.25), 0 0 25px rgba(210, 52, 52, 0.12);
}

.gokulam-card-banner {
   width: 100%;
   aspect-ratio: 1080 / 700;
   position: relative;
   overflow: hidden;
   border-radius: 20px 20px 0 0;
}

.gokulam-card-banner img {
   width: 100%;
   height: 100%;
   object-fit: cover;
   object-position: center center;
   display: block;
   transition: transform 0.6s ease;
}

.gokulam-portal-card:hover .gokulam-card-banner img {
   transform: scale(1.08);
}

/* CBSE & Matriculation White Cards Theme */
.gokulam-card-cbse,
.gokulam-card-matric {
   background: #ffffff !important;
   border: 1px solid #e2e8f0;
}

.gokulam-badge-cbse,
.gokulam-badge-matric {
   background: linear-gradient(135deg, #d23434 0%, #ff4136 100%);
   color: #ffffff;
   padding: 5px 14px;
   border-radius: 50px;
   font-size: 0.75rem;
   font-weight: 800;
   text-transform: uppercase;
   letter-spacing: 0.6px;
   box-shadow: 0 4px 12px rgba(210, 52, 52, 0.3);
   display: inline-block;
}

.gokulam-btn-cbse,
.gokulam-btn-matric {
   background: linear-gradient(135deg, #d23434 0%, #b82222 100%);
   color: #ffffff !important;
   border: none;
   font-weight: 800;
   font-size: 0.95rem;
   border-radius: 12px;
   padding: 11px 22px;
   transition: all 0.35s cubic-bezier(0.165, 0.84, 0.44, 1);
   box-shadow: 0 4px 15px rgba(210, 52, 52, 0.3);
}

.gokulam-btn-cbse:hover,
.gokulam-btn-matric:hover {
   background: linear-gradient(135deg, #FF9600 0%, #e68500 100%);
   color: #ffffff !important;
   transform: translateY(-2px);
   box-shadow: 0 8px 24px rgba(255, 150, 0, 0.45);
}

.gokulam-btn-outline {
   background: transparent;
   color: #ffffff !important;
   border: 2px solid rgba(255, 255, 255, 0.2);
   font-weight: 600;
   border-radius: 12px;
   padding: 12px 24px;
   transition: all 0.3s ease;
}

.gokulam-btn-outline:hover {
   border-color: #d23434;
   color: #d23434 !important;
   background: rgba(210, 52, 52, 0.08);
}

.gokulam-stats-box {
   background: rgba(210, 52, 52, 0.04);
   border: 1px solid rgba(210, 52, 52, 0.1);
   border-radius: 16px;
   padding: 24px 20px;
   transition: all 0.3s ease;
}

.gokulam-stats-box:hover {
   background: rgba(210, 52, 52, 0.08);
   border-color: rgba(210, 52, 52, 0.3);
   transform: translateY(-3px);
}

.gokulam-stats-box h3 {
   color: #d23434 !important;
   font-weight: 800;
}

.text-red-theme-check {
   color: #d23434 !important;
}

/* Header Styling */
.erp-login-top-btn {
   background-color: #FF9600;
   color: #1A1A1A !important;
   font-weight: 700;
   font-size: 13px;
   padding: 4px 14px;
   border-radius: 6px;
   text-decoration: none;
   display: inline-flex;
   align-items: center;
   transition: all 0.3s ease;
   border: 1px solid #FF9600;
}

.erp-login-top-btn:hover {
   background-color: transparent;
   color: #FF9600 !important;
}

.portal-header-link {
   font-family: 'Space Grotesk', sans-serif;
   font-weight: 700;
   font-size: 16px;
   color: #1A1A1A !important;
   text-decoration: none;
   text-transform: uppercase;
   letter-spacing: 0.5px;
   position: relative;
   transition: all 0.3s ease;
   padding: 8px 16px;
   display: inline-block;
}

.portal-header-link:hover {
   color: #FF9600 !important;
}

.portal-header-link::after {
   content: '';
   position: absolute;
   bottom: -4px;
   left: 50%;
   width: 0;
   height: 3px;
   background-color: #FF9600;
   transition: all 0.3s ease;
   transform: translateX(-50%);
}

.portal-header-link:hover::after {
   width: 80%;
}

.mobile-font {
   font-size: 13px !important;
   padding: 4px 8px !important;
   letter-spacing: 0.2px !important;
}

#sisf-page-header-inner {
   background: #ffffff !important;
   border-bottom: 1px solid #eaeaea !important;
}

/* Copyright Section Background Red & Footer Icons Color Overrides */
.main-footer .sisf-page-footer-bottom-area {
   background-color: #d23434 !important;
   border-top: 1px solid rgba(255, 255, 255, 0.15) !important;
}

/* Copyright and powered by link text color changed to white */
.main-footer .footer-copyright-text p.sisf-e-main-color,
.main-footer .footer-privacy-policy a.sisf-e-main-color,
.main-footer .footer-privacy-policy a.sisf-e-main-color strong {
   color: #FFFFFF !important;
}

/* Ensure social icon circles are styled #FF9600 */
.main-footer .footer-social-icons-link li a {
   background-color: #FF9600 !important;
   border-color: #FF9600 !important;
}

.main-footer .footer-social-icons-link li a i {
   color: #FFFFFF !important;
}

.main-footer .footer-social-icons-link li a:hover {
   background-color: #FFFFFF !important;
   border-color: #FF9600 !important;
}

.main-footer .footer-social-icons-link li a:hover i {
   color: #FF9600 !important;
}

/* Footer contact icons styled #FF9600 */
.main-footer .sisf-sis-contact-information .sisf-icon a {
   background-color: #FF9600 !important;
   border-color: #FF9600 !important;
   color: #FFFFFF !important;
}

.main-footer .sisf-sis-contact-information .sisf-contact-box:hover .sisf-icon a {
   background-color: #FFFFFF !important;
   border-color: #FF9600 !important;
   color: #FF9600 !important;
}

/* Footer links hover color changed to orange (#FF9600) */
.main-footer a:hover,
.main-footer .footer-links ul li:hover a,
.main-footer .footer-links.page ul li:hover::marker {
   color: #FF9600 !important;
}

/* Powered by link word hover highlight in bright yellow (#FFD700) */
.main-footer .footer-privacy-policy a,
.main-footer .footer-privacy-policy a strong {
   transition: all 0.3s ease;
}

.main-footer .footer-privacy-policy a:hover,
.main-footer .footer-privacy-policy a:hover strong,
.main-footer .footer-privacy-policy a.sisf-e-main-color:hover,
.main-footer .footer-privacy-policy a.sisf-e-main-color:hover strong {
   color: #FFD700 !important;
   /* Bright Yellow highlight */
   text-shadow: 0 0 10px rgba(255, 215, 0, 0.7) !important;
}

/* Footer Column Headings changed to yellow (#FF9600) */
.main-footer .footer-links h3,
.main-footer .footer-links.page h3,
.main-footer h3.text-white {
   color: #FF9600 !important;
}

/* Reduce height/padding of copyrights footer section */
.main-footer .footer-copyright {
   padding-top: 10px !important;
   padding-bottom: 10px !important;
}

.main-footer .footer-copyright .footer-social-icons-link li a {
   margin-bottom: 0px !important;
}

/* Gokulam Ethics Section Styling */
.gokulam-ethics-section {
   position: relative;
   background-image: linear-gradient(to right, rgba(12, 18, 30, 0.96) 25%, rgba(12, 18, 30, 0.6) 65%, rgba(12, 18, 30, 0.96) 100%), url('images/hero-slide-2.jpg');
   background-size: cover;
   background-position: center;
   border-radius: 24px;
   overflow: hidden;
   border: 1px solid rgba(255, 255, 255, 0.08);
   box-shadow: 0 20px 45px rgba(0, 0, 0, 0.4);
}

.gokulam-ethics-card {
   background: rgba(20, 28, 46, 0.85);
   backdrop-filter: blur(15px);
   -webkit-backdrop-filter: blur(15px);
   border: 1px solid rgba(210, 52, 52, 0.25);
   border-radius: 20px;
   box-shadow: 0 15px 35px rgba(0, 0, 0, 0.5);
}

.gokulam-ethics-title {
   color: #ffffff;
   font-weight: 800;
   line-height: 1.2;
}

.gokulam-ethics-title span {
   color: #ff9600;
}

.gokulam-value-grid-item {
   background: rgba(210, 52, 52, 0.05);
   border: 1px solid rgba(210, 52, 52, 0.15);
   border-radius: 16px;
   padding: 20px 10px;
   transition: all 0.3s cubic-bezier(0.165, 0.84, 0.44, 1);
   text-align: center;
   height: 100%;
   display: flex;
   flex-direction: column;
   justify-content: center;
   align-items: center;
}

.gokulam-value-grid-item:hover {
   transform: translateY(-5px);
   border-color: #ff9600;
   background: rgba(210, 52, 52, 0.12);
   box-shadow: 0 10px 25px rgba(255, 150, 0, 0.15);
}

.gokulam-value-icon {
   color: #ff9600;
   font-size: 2.2rem;
   margin-bottom: 12px;
   display: inline-flex;
   align-items: center;
   justify-content: center;
   height: 50px;
}

.gokulam-value-title {
   color: #ffffff;
   font-weight: 600;
   font-size: 0.95rem;
   margin-bottom: 0;
   line-height: 1.3;
}

/* Hide mobile app section with CSS */
.gokulam-mobile-app-section,
.hide-section {
   display: none !important;
}

/* Mobile Side Offcanvas Drawer Styling */
#gokulamMobileOffcanvas {
   box-shadow: -10px 0 30px rgba(0, 0, 0, 0.2) !important;
   border-left: 1px solid #e5e7eb;
}

#gokulamMobileOffcanvas .btn-close:focus {
   box-shadow: none !important;
}

.mobile-burger-toggle {
   cursor: pointer;
   transition: transform 0.3s ease;
}

.mobile-burger-toggle:hover {
   transform: scale(1.1);
}