/* Hero Section Styles */
.hero-section {
    height: 100vh;
    width: 100%;
    background: linear-gradient(rgba(0,0,0,0.7), rgba(0,0,0,0.7)), url('../images/hero-banner.jpg');
    background-size: cover;
    background-position: center;
    position: relative;
}

.navbar {
    transition: all 0.3s ease;
    padding: 20px 0;
}

.navbar-scrolled {
    background-color: #fff !important;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    padding: 15px 0;
}

.navbar-scrolled .nav-link {
    color: #333 !important;
}

.navbar-scrolled .language-switch {
    color: #333;
    border-color: rgba(0,0,0,0.2);
}

.navbar-scrolled .language-switch:hover {
    background: rgba(0,0,0,0.05);
    color: #333;
}

.navbar-scrolled .navbar-toggler {
    border-color: rgba(0,0,0,0.2);
}

.navbar-scrolled .navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' width='30' height='30' viewBox='0 0 30 30'%3e%3cpath stroke='rgba(0, 0, 0, 0.5)' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

.nav-link {
    color: white !important;
    margin: 0 15px;
}

/* Language Switch Styles */
.language-switch {
    color: white;
    text-decoration: none;
    padding: 5px 15px;
    border: 1px solid rgba(255,255,255,0.3);
    border-radius: 20px;
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

.language-switch:hover {
    color: white;
    background: rgba(255,255,255,0.1);
    text-decoration: none;
}

/* अरबी वर्जन के लिए */
.language-switch.en {
    font-family: 'Arial', sans-serif;
} 

.hero-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    color: white;
}

/* Certificate Section Styles */
.certificate-section {
    padding: 100px 0;
    background: #f8f9fa;
    text-align: center;
}

.certificate-content {
    max-width: 800px;
    margin: 0 auto;
}

.certificate-title {
    font-size: 2.5rem;
    color: #333;
    margin-bottom: 20px;
}

.certificate-text {
    font-size: 1.1rem;
    color: #666;
    margin-bottom: 30px;
}

.btn-check-certificate {
    background: #007bff;
    color: white;
    padding: 15px 30px;
    border-radius: 30px;
    border: none;
    font-size: 1.1rem;
    transition: all 0.3s ease;
}

.btn-check-certificate:hover {
    background: #0056b3;
    transform: translateY(-2px);
}

/* Modal Styles */
.certificate-modal .modal-content {
    border-radius: 15px;
    border: none;
}

.certificate-modal .modal-header {
    background: #007bff;
    color: white;
    border-radius: 15px 15px 0 0;
    padding: 20px;
}

.certificate-modal .modal-title {
    font-size: 1.5rem;
}

.certificate-modal .modal-body {
    padding: 30px;
}

.certificate-modal .form-group {
    margin-bottom: 20px;
}

.certificate-modal .form-control {
    height: 50px;
    border-radius: 25px;
    padding: 0 20px;
}

.certificate-modal .btn-verify {
    width: 100%;
    height: 50px;
    border-radius: 25px;
    background: #007bff;
    color: white;
    border: none;
    font-size: 1.1rem;
    transition: all 0.3s ease;
}

.certificate-modal .btn-verify:hover {
    background: #0056b3;
}

/* About Section Styles */
.about-section {
    padding: 100px 0;
    background: #ffffff;
}

.section-title {
    font-size: 2.5rem;
    color: #333;
    margin-bottom: 20px;
    position: relative;
}

.title-underline {
    width: 80px;
    height: 4px;
    background: #007bff;
    margin-bottom: 25px;
}

.about-text {
    font-size: 1.1rem;
    color: #666;
    line-height: 1.8;
    margin-bottom: 30px;
}

.about-features {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin-top: 30px;
}

.feature {
    display: flex;
    align-items: center;
    gap: 10px;
}

.feature i {
    color: #007bff;
    font-size: 1.2rem;
}

.feature span {
    color: #444;
    font-weight: 500;
}

.about-image {
    position: relative;
    padding: 20px;
}

.about-image img {
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.experience-badge {
    position: absolute;
    bottom: 0;
    right: 0;
    background: #007bff;
    color: white;
    padding: 20px;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

.experience-badge .years {
    display: block;
    font-size: 2.5rem;
    font-weight: bold;
    line-height: 1;
}

.experience-badge .text {
    font-size: 0.9rem;
}

/* Responsive Styles */
@media (max-width: 991px) {
    .about-image {
        margin-top: 40px;
    }
    
    .about-features {
        grid-template-columns: 1fr;
    }
}

/* Main Website Button Style */
.btn-main-website {
    display: inline-flex;
    align-items: center;
    padding: 12px 25px;
    background: #007bff;
    color: white;
    text-decoration: none;
    border-radius: 30px;
    font-weight: 500;
    transition: all 0.3s ease;
    margin-top: 20px;
}

.btn-main-website:hover {
    background: #0056b3;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0,123,255,0.2);
}

.btn-main-website i {
    margin-right: 8px;
}

/* मोबाइल रेस्पॉन्सिव के लिए */
@media (max-width: 768px) {
    .btn-main-website {
        width: 100%;
        justify-content: center;
        margin-top: 30px;
    }
}

/* Advantages Section Styles */
.advantages-section {
    padding: 100px 0;
    background: #f8f9fa;
}

.section-header {
    margin-bottom: 60px;
}

.section-subtitle {
    color: #666;
    font-size: 1.1rem;
    margin-top: 15px;
}

.advantages-grid {
    margin: 0;
}

.advantages-grid [class*="col-"] {
    padding: 15px;
}

.advantage-card {
    background: white;
    padding: 30px;
    border-radius: 15px;
    text-align: center;
    transition: all 0.3s ease;
    height: 100%;
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
}

.advantage-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.advantage-icon {
    width: 80px;
    height: 80px;
    background: rgba(0,123,255,0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}

.advantage-icon i {
    font-size: 35px;
    color: #007bff;
}

.advantage-card h3 {
    color: #333;
    font-size: 1.3rem;
    margin-bottom: 15px;
    font-weight: 600;
}

.advantage-card p {
    color: #666;
    font-size: 0.95rem;
    line-height: 1.6;
    margin: 0;
}

/* Responsive Styles */
@media (max-width: 991px) {
    .advantage-card {
        margin-bottom: 30px;
    }
}

@media (max-width: 768px) {
    .advantages-section {
        padding: 60px 0;
    }
    
    .section-header {
        margin-bottom: 40px;
    }
}

/* Footer Styles */
.footer {
    background: #fff;
    padding: 30px 0;
    border-top: 1px solid #eee;
}

.footer-logo {
    display: inline-block;
}

.footer-links {
    margin: 0;
}

.footer-links a {
    color: #666;
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: #007bff;
}

.footer-links .separator {
    color: #ddd;
    margin: 0 10px;
}

.copyright {
    color: #888;
    font-size: 0.9rem;
    padding-top: 15px;
    border-top: 1px solid #eee;
    margin-top: 15px;
}

/* Responsive Styles */
@media (max-width: 768px) {
    .footer {
        text-align: center;
        padding: 20px 0;
    }

    .footer-logo,
    .footer-links {
        margin-bottom: 15px;
    }

    .col-md-4.text-end {
        text-align: center !important;
    }
    
    .mb-4 {
        margin-bottom: 1.5rem !important;
    }
}

/* Centers Section Styles */
.centers-section {
    padding: 100px 0;
    background: #fff;
}

.centers-list {
    padding-right: 50px;
}

.center-item {
    display: flex;
    align-items: center;
    margin-bottom: 30px;
    padding: 20px;
    background: #f8f9fa;
    border-radius: 10px;
    transition: all 0.3s ease;
}

.center-item:hover {
    transform: translateX(10px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.center-icon {
    width: 50px;
    height: 50px;
    background: #007bff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 20px;
}

.center-icon i {
    color: white;
    font-size: 20px;
}

.center-info h3 {
    margin: 0;
    font-size: 1.2rem;
    color: #333;
}

.center-info p {
    margin: 5px 0;
    color: #666;
}

.center-detail {
    font-size: 0.9rem;
    color: #007bff;
}

.map-container {
    position: relative;
    padding: 20px;
    background: #f8f9fa;
    border-radius: 15px;
}

.map-marker {
    position: absolute;
    width: 20px;
    height: 20px;
    background: #FF0000;
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s ease;
}

.map-marker:before {
    content: attr(data-center);
    position: absolute;
    top: -30px;
    left: 50%;
    transform: translateX(-50%);
    background: #333;
    color: white;
    padding: 5px 10px;
    border-radius: 5px;
    font-size: 0.8rem;
    opacity: 0;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.map-marker:hover {
    transform: scale(1.2);
}

.map-marker:hover:before {
    opacity: 1;
}

/* Map Marker Positions - इन्हें बिहार मैप के अनुसार एडजस्ट करें */
.map-marker.mirganj {
    top: 32%;
    left: 20%;
}

.map-marker.tarwara {
    top: 40%;
    left: 20%;
}

.map-marker.patna {
    top: 52%;
    left: 30%;
}

@media (max-width: 991px) {
    .centers-list {
        padding-right: 0;
        margin-bottom: 50px;
    }
    
    .map-container {
        max-width: 400px;
        margin: 0 auto;
    }
}

/* Policy Modal Styles */
.policy-modal .modal-content {
    border-radius: 15px;
    border: none;
}

.policy-modal .modal-header {
    background: #007bff;
    color: white;
    border-radius: 15px 15px 0 0;
    padding: 20px 30px;
}

.policy-modal .modal-title {
    font-size: 1.5rem;
    font-weight: 600;
}

.policy-modal .modal-body {
    padding: 30px;
}

.policy-content h3 {
    color: #333;
    font-size: 1.3rem;
    margin: 25px 0 15px;
}

.policy-content h3:first-child {
    margin-top: 0;
}

.policy-content p {
    color: #666;
    line-height: 1.6;
    margin-bottom: 15px;
}

.policy-content ul {
    color: #666;
    padding-left: 20px;
    margin-bottom: 20px;
}

.policy-content ul li {
    margin-bottom: 8px;
}

.policy-modal .btn-close {
    color: white;
    opacity: 1;
}

/* Responsive Styles */
@media (max-width: 768px) {
    .policy-modal .modal-header {
        padding: 15px 20px;
    }

    .policy-modal .modal-body {
        padding: 20px;
    }

    .policy-content h3 {
        font-size: 1.2rem;
    }
}

/* Certificate Verification Styles */
.verification-success {
    text-align: center;
    padding: 20px;
}

.success-animation {
    margin: 20px auto;
}

.checkmark {
    width: 80px;
    height: 80px;
    margin: 0 auto;
}

.checkmark-circle {
    stroke-dasharray: 166;
    stroke-dashoffset: 166;
    stroke-width: 2;
    stroke: #4CAF50;
    fill: none;
    transform-origin: 50% 50%;
}

.checkmark-check {
    stroke-dasharray: 48;
    stroke-dashoffset: 48;
    stroke-width: 3;
    stroke: #4CAF50;
    transform-origin: 50% 50%;
}

.checkmark-circle.animate {
    animation: stroke 0.6s cubic-bezier(0.65, 0, 0.45, 1) forwards;
}

.checkmark-check.animate {
    animation: stroke 0.3s cubic-bezier(0.65, 0, 0.45, 1) 0.8s forwards;
}

@keyframes stroke {
    100% {
        stroke-dashoffset: 0;
    }
}

.certificate-details {
    margin-top: 30px;
    text-align: left;
}

.detail-item {
    margin: 10px 0;
    padding: 10px;
    background: #f8f9fa;
    border-radius: 5px;
}

.detail-item .label {
    font-weight: bold;
    color: #666;
}

.detail-item .value {
    float: right;
    color: #333;
}

/* Loading State */
.btn-verify:disabled {
    opacity: 0.7;
}

.spinner-border {
    width: 1rem;
    height: 1rem;
}
/* Admission Form Styles */
.admission-form-section {
    padding: 80px 0;
}

.admission-form-wrapper {
    background: #fff;
    padding: 40px;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
}

.form-header {
    margin-bottom: 40px;
    text-align: center;
}

.form-header h2 {
    color: #2d3436;
    margin-bottom: 10px;
    font-weight: 600;
}

.contactus_box {
    max-width: 100%;
}

.contactus_box .position-relative {
    margin-bottom: 20px;
}

.intsa {
    width: 100%;
    height: 50px;
    padding: 10px 20px;
    border: 1px solid #e1e1e1;
    border-radius: 8px;
    font-size: 15px;
    transition: all 0.3s ease;
}

.intsa:focus {
    border-color: #007bff;
    box-shadow: 0 0 0 0.2rem rgba(0,123,255,.25);
    outline: none;
}

.form-control {
    height: 50px;
    border-radius: 8px;
}

select.form-control {
    padding: 10px 20px;
    background-image: url('data:image/svg+xml;utf8,<svg fill="black" height="24" viewBox="0 0 24 24" width="24" xmlns="http://www.w3.org/2000/svg"><path d="M7 10l5 5 5-5z"/><path d="M0 0h24v24H0z" fill="none"/></svg>');
    background-repeat: no-repeat;
    background-position: right 10px center;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
}

.certificate_img {
    margin: 20px 0;
}

.certificate_img label {
    display: block;
    margin-bottom: 10px;
    font-weight: 500;
}

.form-control-file {
    border: 1px dashed #ddd;
    padding: 10px;
    border-radius: 8px;
    width: 100%;
}

.sbmt {
    background: #007bff;
    color: #fff;
    border: none;
    padding: 15px 40px;
    border-radius: 8px;
    font-weight: 500;
    font-size: 16px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.sbmt:hover {
    background: #0056b3;
    transform: translateY(-2px);
}

.error {
    color: #dc3545;
    font-size: 14px;
    margin-top: 5px;
    display: block;
}

/* Responsive Styles */
@media (max-width: 768px) {
    .admission-form-wrapper {
        padding: 20px;
    }
    
    .intsa, .form-control {
        height: 45px;
    }
}
/* Admission Form Styles */
.btn-hero-admission {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: #2563eb;
    color: #fff;
    padding: 15px 30px;
    border-radius: 50px;
    font-weight: 500;
    text-decoration: none;
    margin-top: 20px;
    transition: all 0.3s ease;
    box-shadow: 0 10px 20px rgba(37, 99, 235, 0.2);
}

.btn-hero-admission:hover {
    background: #1d4ed8;
    transform: translateY(-2px);
    color: #fff;
    box-shadow: 0 15px 25px rgba(37, 99, 235, 0.3);
}

.btn-hero-admission i {
    transition: transform 0.3s ease;
}

.btn-hero-admission:hover i {
    transform: translateX(5px);
}
.success-animation {
    margin: 20px auto;
    width: 80px;
    height: 80px;
}

.checkmark {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    display: block;
    stroke-width: 2;
    stroke: #4BB543;
    stroke-miterlimit: 10;
    box-shadow: inset 0px 0px 0px #4BB543;
    animation: fill .4s ease-in-out .4s forwards, scale .3s ease-in-out .9s both;
}

.checkmark__circle {
    stroke-dasharray: 166;
    stroke-dashoffset: 166;
    stroke-width: 2;
    stroke-miterlimit: 10;
    stroke: #4BB543;
    fill: none;
    animation: stroke 0.6s cubic-bezier(0.65, 0, 0.45, 1) forwards;
}

.checkmark__check {
    transform-origin: 50% 50%;
    stroke-dasharray: 48;
    stroke-dashoffset: 48;
    animation: stroke 0.3s cubic-bezier(0.65, 0, 0.45, 1) 0.8s forwards;
}

@keyframes stroke {
    100% { stroke-dashoffset: 0; }
}

@keyframes scale {
    0%, 100% { transform: none; }
    50% { transform: scale3d(1.1, 1.1, 1); }
}

@keyframes fill {
    100% { box-shadow: inset 0px 0px 0px 30px #4BB543; }
}

#registrationSuccessModal .modal-content {
    border-radius: 15px;
    overflow: hidden;
}

#registrationSuccessModal .form-select {
    border-radius: 10px;
    padding: 12px;
    font-size: 16px;
}

#registrationSuccessModal .btn-success {
    border-radius: 10px;
    padding: 12px 30px;
    font-weight: 500;
    transition: all 0.3s ease;
}

#registrationSuccessModal .btn-success:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(75, 181, 67, 0.3);
}

.success-page {
    min-height: 100vh;
    display: flex;
    align-items: center;
    background-color: #f8f9fa;
}
.success-card {
    background: white;
    border-radius: 15px;
    box-shadow: 0 0 20px rgba(0,0,0,0.1);
    overflow: hidden;
}
.success-header {
    background: #28a745;
    padding: 30px;
    text-align: center;
    color: white;
}
.checkmark {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    display: block;
    stroke-width: 2;
    stroke: #fff;
    stroke-miterlimit: 10;
    margin: 10% auto;
    box-shadow: inset 0px 0px 0px #28a745;
    animation: fill .4s ease-in-out .4s forwards, scale .3s ease-in-out .9s both;
}
.checkmark__circle {
    stroke-dasharray: 166;
    stroke-dashoffset: 166;
    stroke-width: 2;
    stroke-miterlimit: 10;
    stroke: #fff;
    fill: none;
    animation: stroke 0.6s cubic-bezier(0.65, 0, 0.45, 1) forwards;
}
.checkmark__check {
    transform-origin: 50% 50%;
    stroke-dasharray: 48;
    stroke-dashoffset: 48;
    animation: stroke 0.3s cubic-bezier(0.65, 0, 0.45, 1) 0.8s forwards;
}
@keyframes stroke {
    100% { stroke-dashoffset: 0; }
}
@keyframes scale {
    0%, 100% { transform: none; }
    50% { transform: scale3d(1.1, 1.1, 1); }
}
@keyframes fill {
    100% { box-shadow: inset 0px 0px 0px 30px #28a745; }
}
.success-content {
    padding: 30px;
    text-align: center;
}
.payment-details {
    background: #f8f9fa;
    border-radius: 10px;
    padding: 20px;
    margin: 20px 0;
}
.detail-item {
    display: flex;
    justify-content: space-between;
    margin: 10px 0;
    padding: 5px 0;
    border-bottom: 1px dashed #dee2e6;
}
.detail-item:last-child {
    border-bottom: none;
}

.partners-section {
    padding: 80px 0;
    background: #f8f9fa;
}

.partner-card {
    background: #fff;
    border-radius: 10px;
    padding: 20px;
    margin-bottom: 30px;
    box-shadow: 0 0 20px rgba(0,0,0,0.05);
    transition: all 0.3s ease;
}

.partner-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 25px rgba(0,0,0,0.1);
}

.partner-image {
    width: 150px;
    height: 150px;
    margin: 0 auto 20px;
    overflow: hidden;
    border-radius: 50%;
}

.partner-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.partner-info {
    text-align: center;
}

.partner-info h3 {
    font-size: 1.2rem;
    margin-bottom: 5px;
    color: #333;
}

.partner-info .designation {
    color: #666;
    font-size: 0.9rem;
    margin-bottom: 15px;
}

.partner-details {
    text-align: left;
    padding-top: 15px;
    border-top: 1px solid #eee;
}

.partner-details p {
    margin-bottom: 5px;
    font-size: 0.9rem;
    color: #666;
}