﻿body {
    margin: 0 !important;
    padding: 0 !important;
}
/* 🔥 GLOBAL FIX */
body {
    overflow-x: hidden;
}

/* 🔥 REMOVE TEMPLATE OVERLAP ISSUE */
.services {
    margin-top: 0 !important;
}

/* 🔥 ABOUT SECTION */
.about-exact {
    padding: 100px 0;
    background: #f4f4f4;
    text-align: center;
}

.about-exact h2 {
    font-size: 38px;
    font-weight: 600;
    margin-bottom: 20px;
}

.about-text {
    max-width: 1200px;
    margin: 0 auto 25px;
    color: #555;
    line-height: 1.7;
}

/* 🔥 BUTTON */
.btn-know {
    display: inline-block;
    background: #0d2c54;
    color: #fff;
    padding: 12px 35px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 500;
    transition: 0.3s;
}

.btn-know:hover {
    background: #091f3a;
}

/* 🔥 IMAGE */
.about-image-box {
    position: relative;
    margin-top: 50px;
}

.about-image-box img {
    width: 100%;
    border-radius: 6px;
}

/* 🔥 RIGHT TEXT */
.overlay-text {
    position: absolute;
    top: 20%;
    right: 5%;
    color: rgba(0,0,0,0.15);
}

.overlay-text h1 {
    font-size: 70px;
    font-weight: 700;
    line-height: 1.1;
}

/* 🔥 FIX RED CARDS OVERLAP */
.services,
.owl-service-item {
    position: relative;
    z-index: 1;
}

.about-exact {
    position: relative;
    z-index: 2;
}



/* image section */

/* 🔥 GRID SECTION */
.menu-grid {
    padding: 60px 0;
    background: #f5f0e6;
}

/* ITEM */
.grid-item {
    position: relative;
    display: block;
    overflow: hidden;
    margin-bottom: 25px;
    border-radius: 6px;
}

/* IMAGE */
.grid-item img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    transition: 0.4s;
}

/* HOVER ZOOM */
.grid-item:hover img {
    transform: scale(1.05);
}

/* OVERLAY TEXT */
.grid-item .overlay {
    position: absolute;
    bottom: 15px;
    left: 20px;
    color: #fff;
    font-size: 22px;
    font-weight: 600;
}

/* DARK OVERLAY */
.grid-item::before {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.3);
}


/* OUR FACILITIES SECTION */

/* 🔥 FACILITIES */
.facilities-section {
    padding: 60px 0;
    background: #fff;
}

.facilities-section h2 {
    font-size: 32px;
    margin-bottom: 10px;
}

.sub-text {
    color: #555;
    margin-bottom: 30px;
}

.facilities-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    border-top: 1px solid #ddd;
    border-left: 1px solid #ddd;
}

.facility-item {
    text-align: center;
    padding: 25px 10px;
    border-right: 1px solid #ddd;
    border-bottom: 1px solid #ddd;
}

.facility-item i {
    font-size: 30px;
    color: #0d2c54;
    margin-bottom: 10px;
}

.facility-item p {
    font-size: 14px;
    font-weight: 500;
   
}

/* 🔥 NOTICE BOARD */
.notice-section {
    background: #d9d2bf;
    padding: 40px 0;
}

.notice-section h2 {
    margin-bottom: 25px;
}

.notice-item {
    display: flex;
    align-items: center;
    gap: 20px;
    font-size: 20px;

    padding-bottom: 15px;
}

.notice-item i {
    font-size: 24px;
    color: #000;
}
@media (max-width: 768px) {
    .facilities-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* 🔥 ALUMNI SECTION */
.alumni-section {
    padding: 60px 0;
    background: #fff;
    text-align: center;
}

.alumni-section h2 {
    margin-bottom: 10px;
}

.alumni-slider {
    position: relative;
    margin-top: 30px;
}

.slider-wrapper img {
    width: 60%;
    border-radius: 10px;
}

/* 🔥 ARROWS */
.nav-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: #fff;
    border: none;
    font-size: 30px;
    cursor: pointer;
    padding: 10px 15px;
    box-shadow: 0 0 10px rgba(0,0,0,0.2);
}

.nav-btn.left {
    left: 10%;
}

.nav-btn.right {
    right: 10%;
}

/* newsfeeds */


/* 🔥 NEWS SECTION */
.news-section {
    padding: 60px 0;
    background: #d9d2bf;
    text-align: center;
}

/* TITLE */
.news-title {
    font-size: 32px;
    margin-bottom: 10px;
}

.news-sub {
    margin-bottom: 30px;
    color: #555;
}

/* CARD */
.news-card {
    overflow: hidden;
    border-radius: 5px;
}

/* IMAGE */
.news-card img {
    width: 100%;
    height: 350px;
    object-fit: cover;
    transition: transform 0.4s ease;
}

/* 🔥 HOVER ZOOM EFFECT */
.news-card:hover img {
    transform: scale(1.1);
}

/* CENTER CARD (optional thoda highlight) */
.center-card img {
    height: 300px;
}

/* 🔥 Get Touch SECTION */
.contact-advanced {
    padding: 80px 0;
    background: linear-gradient(to right, #f5f0e6, #ffffff);
}

.contact-advanced h2 {
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 10px;
}

.contact-sub {
    color: #555;
    margin-bottom: 40px;
}

/* 🔥 CARD */
.contact-card {
    background: rgba(255,255,255,0.6);
    backdrop-filter: blur(10px);
    border-radius: 15px;
    padding: 30px 20px;
    text-align: center;
    transition: 0.3s;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    margin-bottom: 20px;
}

/* HOVER EFFECT */
.contact-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
}

/* ICON */
.contact-card .icon {
    width: 60px;
    height: 60px;
    margin: auto;
    background: #0d2c54;
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    margin-bottom: 15px;
    transition: 0.3s;
}

/* ICON HOVER */
.contact-card:hover .icon {
    background: #ff4d4d;
}

/* TEXT */
.contact-card h4 {
    margin-bottom: 10px;
}

.contact-card p {
    color: #333;
    line-height: 1.6;
}
/* 🔥 ROW FLEX FIX */
.contact-advanced .row {
    display: flex;
    flex-wrap: wrap;
}

/* 🔥 COLUMN FLEX */
.contact-advanced .col-lg-4 {
    display: flex;
}

/* 🔥 CARD SAME HEIGHT */
.contact-card {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
}


/* Footer SECTION */
.contact-modern {
    padding: 0px 0;
    margin-top: 50px; 
    background: linear-gradient(to right, #f5f0e6, #ffffff);
}

/* 🔥 FORM CARD */
.contact-card-modern {
    background: rgba(255,255,255,0.7);
    backdrop-filter: blur(10px);
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.contact-card-modern h2 {
    margin-bottom: 10px;
}

.sub-text {
    color: #555;
    margin-bottom: 25px;
}

/* 🔥 INPUT STYLE */
.input-group-modern {
    display: flex;
    align-items: center;
    background: #fff;
    padding: 10px;
    border-radius: 10px;
    margin-bottom: 15px;
    border: 1px solid #eee;
    transition: 0.3s;
}

.input-group-modern i {
    margin-right: 10px;
    color: #0d2c54;
}

.input-group-modern input,
.input-group-modern textarea {
    border: none;
    outline: none;
    width: 100%;
}

/* HOVER */
.input-group-modern:hover {
    border-color: #0d2c54;
}

/* 🔥 BUTTON */
.btn-modern {
    background: #0d2c54;
    color: #fff;
    padding: 12px 35px;
    border: none;
    border-radius: 30px;
    transition: 0.3s;
}

.btn-modern:hover {
    background: #ff4d4d;
}

/* 🔥 RIGHT PANEL */
.contact-info-modern {
    background: #0d2c54;
    color: #fff;
    padding: 30px;
    border-radius: 15px;
}

.contact-info-modern h4 {
    margin-bottom: 20px;
}

.info-item {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
}

.info-item i {
    margin-right: 10px;
}

/* 🔥 FOOTER */
.footer-modern {
    background: #0d2c54;
    color: #fff;
    padding: 15px;
    margin-top: 40px;
}


/* Navbar */


/* NAVBAR FIX */
.header-area {
    position: fixed;
     top: 40px;
    width: 100%;
    background: #0d2c54;
    /*z-index: 9999;*/
}
.header-sticky {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 9999;
    background: #0f2b4c;
}

/* SPACE FIX */
body {
    padding-top: 80px;
}

/* NAV FLEX */
.main-nav {
    display: flex;
    align-items: center;
}

/* LOGO */
.logo {
    display: flex;
    align-items: center;
    text-decoration: none;
}

/* LOGO IMAGE SMALL */
.logo-img {
    height: 70px;
    margin-right: 8px;
    width:70px;
}

/* SCHOOL NAME WIDTH CONTROL */
.logo-text {
    color: #fff;
    font-size: 15px;
    font-weight: 600;
    max-width: 220px;
    line-height: 1.2;
}

/* MENU RIGHT ALIGN */
.nav {
    display: flex;
    gap: 6px;
    list-style: none;
    margin-left: auto;   /* 🔥 RIGHT SIDE PUSH */
}

/* LINKS */
.nav li a {
    color: #fff;
    font-weight: 500;
    text-decoration: none;
}

/* CONTACT BUTTON */

.my-class
	{
	background: #Black;
    padding: 0px 15px !important;
    border-radius: 20px;
	
	}

/* DROPDOWN */
.sub-menu {
    display: none;
    position: absolute;
    background: #fff;
    top: 100%;
    left: 0;
    min-width: 220px;
    border-radius: 6px;
    padding: 10px 0;
}

.sub-menu li {
    padding: 0px 15px;
}

.sub-menu li a {
    color: #000;
}

/* HOVER */
.has-sub:hover .sub-menu {
    display: block;
}


/* SUB HEADER (TOP FIXED) */
.sub-header {
    position: sticky;
    top: 0;
    width: 100%;
    background: #222;
    z-index: 9999;
}

/* Header ko sub-header ke niche shift karo */
.header-sticky {
    position: sticky !important;
    top: 40px; /* sub-header ki height ke according adjust karo */
    z-index: 9998;
}



/* MAIN HEADER (SUB HEADER KE NICHE) */
.header-area {
    position: fixed;
    top: 40px; /* 🔥 sub-header ki height */
    width: 100%;
    background: #0d2c54;
    /*z-index: 9998;*/
}

/* BODY SPACE (CONTENT NICHE SHIFT) */
body {
    padding-top: 100px; 
}
/* Wrapper */
.news-wrapper {
    min-height: 100%;
    overflow: hidden;
    background: #fff;
    border-radius: 0px;
    padding: 10px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
}

/* Scrolling container */
.news-list {
    display: flex;
    flex-direction: column;
    animation: scrollNews 12s linear infinite;
}

/* Pause on hover */
.news-wrapper:hover .news-list {
    animation-play-state: paused;
}

/* Each item */
.news-item {
    background: #f9f9f9;
    margin-bottom: 10px;
    padding: 10px;
    border-radius: 8px;
    font-size: 14px;
    display: flex;
    align-items: flex-end;
    gap: 10px;
}

/* NEW badge */
.badge {
    background: red;
    color: #fff;
    font-size: 10px;
    padding: 10px 6px;
    border-radius: 5px;
    font-weight: bold;
}



/* Scroll animation */
@keyframes scrollNews {
    0% {
        transform: translateY(100%);
    }
    100% {
        transform: translateY(-100%);
    }
}
.apply-now .col-lg-6 {
    display: flex;
    flex-direction: column;
    
}
/* Row ko flex banao */
.apply-now .row {
    display: flex;
    align-items: stretch;
}

/* Alerts box full height le */
.alerts-box {
    display: flex;
    flex-direction: column;
    height: 85%;
}

/* News wrapper stretch + scroll */
.news-wrapper 
{
	height: 800px;
    flex: 1;                 /* 🔥 main fix */
    overflow: hidden;
    background: #fff;
    padding: 10px;
    position: relative;
}
.alerts-header {
    display: flex;
    align-items: center;
    gap: 10px;
    background: linear-gradient(45deg, #ff4d4d, #ff1a1a);
    color: #fff;
    padding: 12px 15px;
    font-size: 18px;
    font-weight: 600;
    border-radius: 10px 10px 0 0;
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

/* Icon */
.alerts-header i {
    font-size: 20px;
    animation: ring 1s infinite;
}

/* Bell animation 🔔 */
@keyframes ring {
    0% { transform: rotate(0); }
    25% { transform: rotate(10deg); }
    50% { transform: rotate(-10deg); }
    75% { transform: rotate(10deg); }
    100% { transform: rotate(0); }
}
.profile-card {
    display: flex;
    align-items: center;
    justify-content: space-between; /* spacing */
    gap: 15px;
}

/* Image LEFT */
.profile-img {
    flex: 0 0 100px;
}

.profile-img img {
    width: 100px;
    height: auto;
    object-fit: cover;
    border-radius:5%;
}

/* Content RIGHT */
.profile-content {
    flex: 1;
    text-align: Left; /* 👈 important */
}

/* Button bhi right me aaye */
.profile-content .main-button-yellow {
    display: flex;
    justify-content: flex-end;
}
@media (max-width: 768px) {
    .profile-card {
        flex-direction: column;
        text-align: center;
    }

    .profile-content {
        text-align: center;
    }

    .profile-content .main-button-yellow {
        justify-content: center;
    }
}


.footer-modern {
    background: #0d2c54;
    color: #fff;
    padding: 50px 0 0;
}

.footer-modern h5 {
    margin-bottom: 15px;
}

.footer-modern ul {
    list-style: none;
    padding: 0;
}

.footer-modern ul li {
    margin-bottom: 8px;
}

.footer-modern ul li a {
    color: #ccc;
    text-decoration: none;
}

.footer-modern ul li a:hover {
    color: #fff;
}

/* SOCIAL */
.footer-social i {
    margin-right: 10px;
    background: #fff;
    color: #0d2c54;
    padding: 8px;
    border-radius: 50%;
}

/* BUTTON */
.footer-btn {
    margin-top: 15px;
    padding: 10px 20px;
    border: none;
    background: #ff4d4d;
    color: #fff;
    border-radius: 25px;
}

/* BOTTOM */
.footer-bottom {
    margin-top: 30px;
    padding: 15px;
    background: #091f3a;
}

.contact-modern {
    padding: 60px 0;
    background: #f8f9fa;
}

/* FORM CARD */
.contact-card-modern {
    background: #fff;
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.contact-card-modern h2 {
    font-weight: 700;
}

.sub-text {
    color: #777;
    margin-bottom: 20px;
}

/* INPUTS */
.contact-card-modern input,
.contact-card-modern textarea {
    width: 100%;
    padding: 12px;
    border-radius: 8px;
    border: 1px solid #ddd;
    outline: none;
    transition: 0.3s;
}

.contact-card-modern input:focus,
.contact-card-modern textarea:focus {
    border-color: #ff4d4d;
}

/* BUTTON */
.btn-modern {
    background: linear-gradient(45deg, #ff4d4d, #ff1a1a);
    color: #fff;
    border: none;
    padding: 12px 25px;
    border-radius: 30px;
    transition: 0.3s;
}

.btn-modern:hover {
    transform: scale(1.05);
}

/* RIGHT INFO */
.contact-info-modern {
    background: #0d2c54;
    color: #fff;
    padding: 30px;
    border-radius: 15px;
}

.info-item {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 15px;
}

/* SOCIAL */
.social-icons {
    margin-top: 20px;
}

.social-icons i {
    margin-right: 10px;
    background: #fff;
    color: #0d2c54;
    padding: 10px;
    border-radius: 50%;
    cursor: pointer;
    transition: 0.3s;
}

.social-icons i:hover {
    background: #ff4d4d;
    color: #fff;
}

.main-wrapper {
    width: 100%;
    margin: 0;
    padding: 0;
}

/* Section spacing fix */
.main-wrapper section {
    width: 100%;
    padding: 60px 0;
}
.footer-link {
    color: #ffffff !important;  
    text-decoration: none;
    font-weight: 500;
}

.footer-link:hover {
    color: #ffffff !important;  
    text-decoration: underline;
}


.caption {
    max-width: 600px;
}

/* Small top text */
.hero-subtitle {
    font-size: 14px;
    letter-spacing: 2px;
    font-weight: 600;
    color: #fff;
    margin-bottom: 10px;
}

/* Main heading */
.hero-title {
    font-size: 42px;
    font-weight: 800;
    color: #fff;
    line-height: 1.2;
    margin-bottom: 20px;
}

/* Description */
.hero-desc {
    font-size: 16px;
    color: #ddd;
    line-height: 1.7;
    margin-bottom: 25px;
}

/* Button fix */
.main-button-red a {
    display: inline-block;
    padding: 12px 28px;
    background: #e74c3c;
    color: #fff;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 600;
    transition: 0.3s;
}

.main-button-red a:hover {
    background: #c0392b;
}

/* Career css*/

.career-container {
    text-align: left;
    padding: 30px 20px;   /* top-bottom + left-right */
}

.career-title {
    font-size: 28px;
    margin-bottom: 20px;
}

/* Job Card */
.job-card {
    border: 1px solid #ddd;
    padding: 20px;
    margin-bottom: 25px;
    border-radius: 6px;
    background: #fafafa;
}

/* Title */
.job-title {
    font-size: 20px;
    margin-bottom: 10px;
}

/* Description */
.job-desc {
    line-height: 1.6;
    margin-bottom: 15px;
}

/* Footer */
.job-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* Date */
.job-date {
    color: red;
    font-size: 14px;
}

/* Button */
.apply-btn {
    background: #007bff;
    color: #fff;
    padding: 8px 15px;
    text-decoration: none;
    border-radius: 4px;
}

.apply-btn:hover {
    background: #0056b3;
}



/* Job Apply */

/* CONTAINER */
.jobapply-container {
    display: flex;
    gap: 30px;
    padding: 30px 20px;
    align-items: flex-start; /* prevent overlap */
    
}

/* LEFT SIDE */
.job-left {
    flex: 0 0 65%;           /* fixed width → no overlap */
    max-width: 65%;
    text-align: left;
    padding: 20px 25px;
    margin-bottom: 20px;
    overflow-wrap: break-word;
    word-break: break-word;
}

/* RIGHT SIDE */
.job-right {
    flex: 0 0 35%;
    max-width: 35%;
    min-width: 320px;
    border: 1px solid #ddd;
    padding: 50px;
    border-radius: 6px;
    background: #fafafa;
     text-align: left;
}

/* TITLES */
.section-title {
    font-size: 18px;
    margin-bottom: 15px;
}

.job-left h3,
.job-left h4 {
    text-align: left;
    margin-bottom: 10px;
}

/* MESSAGE */
.msg-box {
    color: red;
    margin: 10px 0 15px;
    font-weight: 500;
}

/* JOB TITLE */
.job-title {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 10px;
}

/* DESCRIPTION */
.job-desc {
    line-height: 1.7;
    margin-bottom: 15px;
    overflow: hidden;
}

.job-desc * {
    max-width: 100%;
}

/* LIST */
.job-desc ul {
    padding-left: 20px;
    margin-top: 10px;
}

.job-desc li {
    margin-bottom: 8px;
}

/* FORM */
.form-group {
    margin-bottom: 15px;
}

.form-control {
    width: 100%;
    padding: 8px;
    border: 1px solid #ccc;
    border-radius: 4px;
}

/* BUTTON */
.submit-btn {
    width: 100%;
    padding: 10px;
    background: #007bff;
    color: #fff;
    border: none;
    border-radius: 4px;
    cursor: pointer;
}

.submit-btn:hover {
    background: #0056b3;
}
.page-title {
   
    margin-top: 20px;              
    margin-bottom: 25px;
    font-size: 26px;
    font-weight: 600;
}

/* MOBILE RESPONSIVE */
@media (max-width: 768px) {
    .jobapply-container {
        flex-direction: column;
    }

    .job-left,
    .job-right {
        max-width: 100%;
        flex: 100%;
    }
}
/* PAGE WRAPPER */
