 :root {
            --primary-color: #9c0202;
            --secondary-color: #f7f2d2;
            --accent-color: #57C5B6;
            --highlight-color: #4cc9f0;
             --text-dark: #1e2a36;
            --text-muted: #4a5c68;
            --radius-md: 16px;
            --shadow-sm: 0 8px 20px rgba(0,0,0,0.03), 0 2px 6px rgba(0,0,0,0.02);
            --shadow-hover: 0 20px 30px -8px rgba(0,0,0,0.15), 0 8px 12px rgba(0,0,0,0.02);
            --transition: all 0.25s cubic-bezier(0.2, 0, 0, 1);
        }
        
        body {
            font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
        }
        
        /* Top Bar Styles */
        .top-bar {
            background-color: var(--primary-color);
            color: white;
            padding: 8px 0;
            font-size: 0.9rem;
        }
        
        .social-icons a {
            color: white;
            margin-left: 15px;
            transition: color 0.3s;
        }
        
        .social-icons a:hover {
            color: var(--accent-color);
        }
        
        /* Navbar Styles */
            /* Navbar Styles */
      .navbar-brand {
    font-weight: 700;
    font-size: 1.5rem;
}

.navbar-nav .nav-link {
    font-weight: 500;
    padding: 10px 15px;
    font-size: 12px; /* Already set to 10px */
}

/* Custom CSS for nested dropdowns */
.dropdown-submenu {
    position: relative;
}

.dropdown-item {
    font-size: 12px !important; /* Already set to 10px with !important */
}

.dropdown-submenu > .dropdown-menu {
    top: 0;
    left: 100%;
    margin-top: -6px;
    margin-left: -1px;
    border-radius: 0 6px 6px 6px;
}

.dropdown-submenu:hover > .dropdown-menu {
    display: block;
}

.dropdown-submenu > a:after {
    display: block;
    content: " ";
    float: right;
    width: 0;
    height: 0;
    border-color: transparent;
    border-style: solid;
    border-width: 5px 0 5px 5px;
    border-left-color: #ccc;
    margin-top: 5px;
    margin-right: -10px;
}

.dropdown-submenu:hover > a:after {
    border-left-color: #fff;
}

@media (max-width: 991px) {
    .dropdown-submenu > .dropdown-menu {
        position: static;
        margin-top: 0;
        margin-left: 0;
        border-radius: 0;
    }
    
    .dropdown-submenu > a:after {
        display: none;
    }
    
    /* Ensure mobile menu items also have 10px font size */
    .navbar-nav .nav-link {
        font-size: 12px;
    }
    
    .dropdown-item {
        font-size: 12px !important;
    }
}

/* Custom styling for the navbar */
.navbar-brand {
    font-weight: bold;
    color: #0056b3 !important;
}

.navbar {
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.dropdown-menu {
    border: none;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.dropdown-item:focus, .dropdown-item:hover {
    background-color: #add0f7;
    color: #0056b3;
}
        
        /* Carousel Styles */
        .carousel-item {
            height: 500px;
            background-color: #f8f9fa;
        }
        
        .carousel-item img {
            object-fit: cover;
            height: 100%;
        }
        
        /* Section Styles */
        .section-container {
            background: linear-gradient(135deg, #159895, #1a5f7a);
            padding: 40px 0;
        }
        
        .content-box {
            background: white;
            border-radius: 10px;
            padding: 25px;
            box-shadow: 0 5px 15px rgba(0,0,0,0.1);
            height: 100%;
        }
        
        .gradient-border {
            border: 5px solid;
            border-image: linear-gradient(45deg, #159895, #1a5f7a) 1;
            padding: 10px;
        }
        
        /* News Section */
        .news-carousel {
            height: 300px;
            overflow: hidden;
        }
        
        .news-carousel .carousel-item {
            height: 300px;
        }
        
        .news-marquee {
            height: 300px;
            overflow-y: auto;
            padding: 15px;
        }
        
        .news-item {
            padding: 10px 0;
            border-bottom: 1px solid #e9ecef;
        }
        
        /* Testimonial Styles */
        .testimonial-slider {
            padding: 60px 0;
            background-color: #f8f9fa;
        }
        
        .testimonial-card {
            background: white;
            border-radius: 10px;
            padding: 25px;
            margin: 15px;
            box-shadow: 0 5px 15px rgba(0,0,0,0.05);
        }
        
        .testimonial-text {
            font-style: italic;
            margin-bottom: 20px;
        }
        
        .testimonial-author {
            font-weight: 600;
            color: var(--primary-color);
        }
        
        /* Footer Styles */
        .footer {
            background-color: var(--primary-color);
            color: white;
            padding: 50px 0 20px;
        }
        
        .footer h5 {
            margin-bottom: 20px;
            font-weight: 600;
        }
        
        .footer-links a {
            color: rgba(255,255,255,0.8);
            text-decoration: none;
            display: block;
            margin-bottom: 10px;
            transition: color 0.3s;
        }
        
        .footer-links a:hover {
            color: white;
        }
        
        .copyright {
            border-top: 1px solid rgba(255,255,255,0.1);
            padding-top: 20px;
            margin-top: 30px;
            text-align: center;
        }
        
        /* Responsive adjustments */
        @media (max-width: 768px) {
            .carousel-item, .news-carousel .carousel-item {
                height: 300px;
            }
            
            .top-bar .col-md-6 {
                text-align: center !important;
                margin-bottom: 10px;
            }
            
            /* Adjust submenu for mobile */
            .dropdown-submenu > .dropdown-menu {
                position: static;
                margin-left: 15px;
                border: 1px solid #159895 !important;
            }
        }
        
        /*navbar logo*/
        .navlogo{
            width:75px;
            height:75px;
            
        }
        /*Table Styling*/
       
        .table-responsive {
            border: 2px solid var(--secondary-color);
            border-radius: 10px;
            overflow: hidden;
            box-shadow: 0 5px 15px rgba(0,0,0,0.1);
            padding: 10px 10px;
            margin: 10px 10px;
        }
        
        .custom-table {
            width: 100%;
            margin-bottom: 0;
        }
        
        .custom-table thead th {
            background-color: var(--secondary-color);
            color: var(--primary-color);
            font-weight: 600;
            border-bottom: 2px solid var(--primary-color);
            padding: 15px;
            text-align: center;
        }
        
        .custom-table tbody td {
            padding: 12px 15px;
            border-bottom: 1px solid var(--secondary-color);
            vertical-align: middle;
            text-align: center;
        }
        
        .custom-table tbody tr:last-child td {
            border-bottom: none;
            text-align: center;
        }
        
        .custom-table tbody tr td:first-child {
            background-color: var(--secondary-color);
            color: var(--primary-color);
            font-weight: 600;
            text-align: center;
        }
        
        .custom-table tbody tr:hover td:not(:first-child) {
            background-color: rgba(86, 197, 182, 0.1);
        }
        
        /* Responsive adjustments */
        @media (max-width: 768px) {
            .table-responsive {
                font-size: 0.9rem;
            }
            
            .custom-table thead th,
            .custom-table tbody td {
                padding: 10px 8px;
            }
        }
        
        @media (max-width: 576px) {
            .table-responsive {
                font-size: 0.8rem;
            }
            
            .custom-table thead th,
            .custom-table tbody td {
                padding: 8px 5px;
            }
        }
        /* Paragraph Section Styling */
        .custom-paragraph {
            border: 2px solid var(--secondary-color);
            box-shadow: 0 5px 15px rgba(0,0,0,0.1);
            color: black;
            padding: 10px 10px;
            margin: 10px 10px;
            border-radius: 10px;
            background-color: white;
            text-align:justify;
        }
        
        .paragraph-container {
            margin-bottom: 30px;
            padding:10px 10px 10px 10px;
        }
        
        /* Responsive adjustments */
        @media (max-width: 768px) {
            .table-responsive {
                font-size: 0.9rem;
            }
            
            .custom-table thead th,
            .custom-table tbody td {
                padding: 10px 8px;
            }
        }
        
        @media (max-width: 576px) {
            .table-responsive {
                font-size: 0.8rem;
            }
            
            .custom-table thead th,
            .custom-table tbody td {
                padding: 8px 5px;
            }
        }
        /*Heading Style*/
        h1{
            text-align:center;
            color: var(--primary-color);
        }
         h2{
            text-align:center;
            color: var(--primary-color);
        }
         h3{
            text-align:center;
            color: var(--primary-color);
        }
        /*Buttons*/
         .button-card {
            background: white;
            border-radius: 15px;
            padding: 30px;
            box-shadow: 0 10px 30px rgba(0,0,0,0.1);
            transition: transform 0.3s ease;
            margin-bottom:10px;
        }
         .button-card:hover {
            transform: translateY(-5px);
        }
        .creative-btn {
            background-color: var(--primary-color);
            color: var(--secondary-color);
            border: 2px solid var(--secondary-color);
            padding: 12px 30px;
            font-size: 1rem;
            font-weight: 600;
            border-radius: 8px;
            cursor: pointer;
            transition: all 0.4s ease;
            display: inline-block;
            text-decoration: none;
            position: relative;
            overflow: hidden;
        }
          .creative-btn:hover {
            background-color: var(--secondary-color);
            color: var(--primary-color);
            border-color: var(--primary-color);
            box-shadow: 0 5px 15px var(--secondary-color);
            transform: translateY(-3px);
        }
        
        .btn-simple {
            border-radius: 6px;
        }
         .button-preview {
            display: flex;
            justify-content: center;
            gap: 15px;
            flex-wrap: wrap;
            margin-top: 15px;
        }
         /* Responsive Design */
        @media (max-width: 768px) {
            
            .button-card {
                padding: 20px;
            }
            
            .creative-btn {
                padding: 10px 25px;
                font-size: 0.9rem;
            }
        }
        
        @media (max-width: 480px) {
            .creative-btn {
                width: 100%;
                margin-bottom: 10px;
            }
        }
        
        .button-preview {
            display: flex;
            justify-content: center;
            gap: 15px;
            flex-wrap: wrap;
            margin-top: 15px;
        }
/*PDF MODAL*/
   /* Modal Styling */
        .modal-content {
            border-radius: 15px;
            border: none;
            box-shadow: 0 10px 30px rgba(0,0,0,0.2);
        }
        
        .modal-header {
            background: var(--primary-color);
            color: white;
            border-bottom: 2px solid var(--secondary-color);
            border-radius: 15px 15px 0 0;
            padding: 15px 20px;
        }
        
        .modal-title {
            font-weight: 600;
        }
        
        .btn-close {
            filter: invert(1);
            opacity: 0.8;
        }
        
        .btn-close:hover {
            opacity: 1;
        }
        
        .modal-body {
            padding: 0;
            height: 70vh;
            overflow: hidden;
        }
        
        .pdf-container {
            width: 100%;
            height: 100%;
            overflow: auto;
            background: #f8f9fa;
            position: relative;
        }
        
        .pdf-controls {
            padding: 15px 20px;
            background: white;
            border-bottom: 1px solid #dee2e6;
            display: flex;
            justify-content: space-between;
            align-items: center;
            flex-wrap: wrap;
            gap: 15px;
        }
        
        .pdf-viewer {
            padding: 20px;
            display: flex;
            justify-content: center;
            align-items: flex-start;
            min-height: calc(100% - 70px);
        }
        
        .page-navigation {
            display: flex;
            align-items: center;
            gap: 10px;
        }
        
        .page-info {
            font-weight: 600;
            color: var(--primary-color);
            min-width: 100px;
            text-align: center;
        }
        
        .nav-btn {
            background: var(--primary-color);
            color: white;
            border: none;
            border-radius: 6px;
            padding: 8px 15px;
            cursor: pointer;
            transition: all 0.3s ease;
            font-weight: 600;
        }
        
        .nav-btn:hover:not(:disabled) {
            background: var(--secondary-color);
            transform: translateY(-2px);
        }
        
        .nav-btn:disabled {
            background: #ccc;
            cursor: not-allowed;
            transform: none;
        }
        
        .zoom-controls {
            display: flex;
            align-items: center;
            gap: 10px;
        }
        
        .zoom-btn {
            background: var(--primary-color);
            color: white;
            border: none;
            border-radius: 6px;
            width: 36px;
            height: 36px;
            display: flex;
            align-items: center;
            justify-content: center;
            cursor: pointer;
            transition: all 0.3s ease;
            font-weight: bold;
        }
        
        .zoom-btn:hover {
            background: var(--secondary-color);
            transform: scale(1.1);
        }
        
        .zoom-level {
            font-weight: 600;
            color: var(--primary-color);
            min-width: 60px;
            text-align: center;
        }
        
        .loading-message {
            text-align: center;
            padding: 40px;
            color: var(--primary-color);
            font-size: 1.2rem;
            display: flex;
            flex-direction: column;
            align-items: center;
            gap: 15px;
        }
        
        .spinner {
            width: 40px;
            height: 40px;
            border: 4px solid rgba(26, 95, 122, 0.2);
            border-left: 4px solid var(--primary-color);
            border-radius: 50%;
            animation: spin 1s linear infinite;
        }
        
        @keyframes spin {
            0% { transform: rotate(0deg); }
            100% { transform: rotate(360deg); }
        }
        
        .error-message {
            text-align: center;
            padding: 40px;
            color: #dc3545;
            font-size: 1.1rem;
            background: #f8d7da;
            border-radius: 8px;
            margin: 20px;
        }
        
        /* Responsive Design */
        @media (max-width: 768px) {
            .pdf-controls {
                flex-direction: column;
                align-items: stretch;
                gap: 10px;
            }
            
            .page-navigation, .zoom-controls {
                justify-content: center;
            }
        }
    /*Contact Infromation */
        .container {
            max-width: 1200px;
        }
        
        .info-section {
            background-color: var(--secondary-color);
            border: 1px solid var(--primary-color);
            border-radius: 8px;
            box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
            padding: 20px;
            margin-bottom: 30px;
            height: 100%;
        }
        
        .map-container {
            background-color: var(--secondary-color);
            border: 1px solid var(--primary-color);
            border-radius: 8px;
            box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
            padding: 20px;
            height: 100%;
        }
        
        .map-placeholder {
            background-color: #dee2e6;
            height: 300px;
            display: flex;
            align-items: center;
            justify-content: center;
            border-radius: 6px;
            color: var(--accent-color);
            font-weight: 500;
            /* CHANGED: Added responsive map container */
            position: relative;
            overflow: hidden;
        }
        
        /* CHANGED: Added responsive iframe styling */
        .map-placeholder iframe {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            border: none;
        }
        
        .staff-card {
            background-color: white;
            border: 1px solid var(--primary-color);
            border-radius: 8px;
            box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
            padding: 20px;
            margin-bottom: 20px;
            transition: transform 0.3s ease;
            height: 100%;
        }
        
        .staff-card:hover {
            transform: translateY(-5px);
            box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
        }
        
        .staff-name {
            color: var(--primary-color);
            font-weight: 600;
            margin-bottom: 5px;
        }
        
        .staff-designation {
            color: var(--accent-color);
            font-weight: 500;
            margin-bottom: 15px;
            border-bottom: 1px solid #dee2e6;
            padding-bottom: 10px;
        }
        
        .contact-info {
            margin-bottom: 8px;
        }
        
        .contact-info i {
            width: 20px;
            margin-right: 10px;
            color: var(--primary-color);
        }
        
        h2 {
            color: var(--primary-color);
            margin-bottom: 20px;
            padding-bottom: 10px;
            border-bottom: 2px solid var(--primary-color);
        }
        
        .address-line {
            margin-bottom: 10px;
            display: flex;
            align-items: flex-start;
        }
        
        .address-line i {
            margin-right: 10px;
            color: var(--primary-color);
            margin-top: 3px;
        }
        
        .address-block {
            margin-bottom: 20px;
        }
    /*Course SEction */
       .course-section {
            background-color: var(--primary-color);
            color: var(--secondary-color);
            padding: 3rem 0;
            border-radius: 0 0 30px 30px;
            margin-bottom: 2rem;
        }
        
        .course-card {
            background-color: var(--secondary-color);
            color: var(--primary-color);
            border: 1px solid var(--secondary-color);
            border-radius: 15px;
            box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
            transition: all 0.3s ease;
            overflow: hidden;
            height: 100%;
        }
        
        .course-card:hover {
            transform: translateY(-10px);
            box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
        }
        
        .course-icon {
            font-size: 2.5rem;
            color: var(--accent-color);
            margin-bottom: 1rem;
        }
        
        .course-header {
            background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
            color: var(--secondary-color);
            padding: 1.5rem;
            text-align: center;
            position: relative;
        }
        
        .course-header::after {
            content: '';
            position: absolute;
            bottom: -10px;
            left: 50%;
            transform: translateX(-50%);
            width: 0;
            height: 0;
            border-left: 10px solid transparent;
            border-right: 10px solid transparent;
            border-top: 10px solid var(--accent-color);
        }
        
        .course-body {
            padding: 1.5rem;
        }
        
        .course-features {
            list-style-type: none;
            padding-left: 0;
        }
        
        .course-features li {
            padding: 0.5rem 0;
            border-bottom: 1px dashed rgba(58, 12, 163, 0.2);
        }
        
        .course-features li:last-child {
            border-bottom: none;
        }
        
        .course-features li i {
            color: var(--highlight-color);
            margin-right: 0.5rem;
        }
        
        .btn-enroll {
            background-color: var(--accent-color);
            color: var(--primary-color);
            border:var (--primary-color);
            border: none;
            border-radius: 50px;
            padding: 0.5rem 1.5rem;
            font-weight: 600;
            transition: all 0.3s ease;
        }
        
        .btn-enroll:hover {
            background-color: var(--primary-color);
            color:var(--secondary-color);
            border:2px solid var(--aacent-color);
            transform: scale(1.05);
        }
        
        .course-tag {
            position: absolute;
            top: 15px;
            right: 15px;
            background-color: var(--highlight-color);
            color: var(--primary-color);
            padding: 0.25rem 0.75rem;
            border-radius: 50px;
            font-size: 0.8rem;
            font-weight: 600;
        }
        
        .section-title {
            color:var(--primary-color);
            text-align: center;
            margin-bottom: 3rem;
            font-weight:900px;
            position: relative;
        }
        
        .section-title::after {
            content: '';
            position: absolute;
            bottom: -10px;
            left: 50%;
            transform: translateX(-50%);
            width: 100px;
            height: 3px;
            background-color: var(--highlight-color);
        }