/* General Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body {
    overflow-x: hidden; /* Prevents side-scrolling due to full-width elements */
}

/* Navbar Styling */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 40px;
    background-color: #fff;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
    border-bottom: 1px solid #eee;
    position: relative;
    z-index: 1000;
}

.logo-container { display: flex; align-items: center; }
.logo-img { height: 60px; margin-right: 15px; }
.main-title { color: #1a3a8a; font-size: 28px; font-weight: 800; }
.sub-title { color: #d32f2f; font-size: 11px; font-weight: 600; }

.nav-links { display: flex; gap: 20px; }
.nav-item { text-decoration: none; color: #2c3e50; font-size: 14px; font-weight: 700; }
.active { color: #66bb6a; }

/* Carousel Styling */
.full-width-wrapper {
    position: relative;
    width: 100vw;
    height: 500px;
    overflow: hidden;
}

.carousel {
    display: flex;
    width: 100%;
    height: 100%;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    scrollbar-width: none; /* Firefox */
}

.carousel::-webkit-scrollbar { display: none; } /* Chrome/Safari */

.slide {
    flex: 0 0 100vw;
    scroll-snap-align: start;
    position: relative;
}

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

.caption {
    position: absolute;
    bottom: 40px;
    left: 40px;
    color: white;
    font-size: 2rem;
    font-weight: bold;
    text-shadow: 2px 2px 10px rgba(0,0,0,0.5);
}

/* Carousel Buttons */
.full-width-wrapper button {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0, 0, 0, 0.3);
    color: white;
    border: none;
    padding: 20px;
    cursor: pointer;
    font-size: 24px;
    z-index: 10;
}

.next { right: 0; border-radius: 10px 0 0 10px; }
.prev { left: 0; border-radius: 0 10px 10px 0; }

/* Main Layout */
.container { display: flex; min-height: 80vh; }

.sidebar {
    width: 250px;
    background-color: #38c172;
    flex-shrink: 0;
}

.sidebar-header {
    background-color: #000;
    color: #fff;
    padding: 20px;
    text-align: center;
    font-weight: bold;
}

.sidebar-list { list-style: none; padding: 30px 20px; }
.sidebar-list li { margin-bottom: 25px; position: relative; padding-left: 15px; }
.sidebar-list li::before { content: "•"; color: #fff; position: absolute; left: 0; }
.sidebar-list a { text-decoration: none; color: #3f51b5; font-weight: 500; }

.content { flex-grow: 1; }
.gallery { display: flex; height: 200px; }
.gallery img { width: 25%; object-fit: cover; border-right: 1px solid #fff; }

.text-area { padding: 25px 40px; }

/* Quotes */
.quotes-container {
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
    padding: 40px 20px;
}

.quote-card {
    background-color: #f0f4f8;
    width: 450px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

.image-wrapper { height: 350px; }
.image-wrapper img { width: 100%; height: 100%; object-fit: cover; }

/* Responsive */
@media (max-width: 1024px) {
    .hamburger { display: flex; flex-direction: column; gap: 5px; cursor: pointer; }
    .hamburger span { width: 25px; height: 3px; background: #1a3a8a; }
    .nav-links {
        display: none;
        flex-direction: column;
        width: 100%;
        position: absolute;
        top: 100%;
        left: 0;
        background: #fff;
        padding: 20px;
    }
    .menu-toggle:checked ~ .nav-links { display: flex; }
    .container { flex-direction: column; }
    .sidebar { width: 100%; }
}

/* Footer Styling */
.site-footer {
    background-color: #1f252d; /* Dark slate background from screenshot */
    color: #ffffff;
    padding: 60px 40px;
    margin-top: 50px;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    gap: 40px;
}

.footer-column {
    flex: 1;
}

.footer-column h3 {
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 25px;
    color: #adb5bd; /* Slightly muted header color */
    letter-spacing: 1px;
}

/* Logo column alignment */
.logo-col {
    display: flex;
    justify-content: center;
    align-items: center;
}

.footer-logo {
    height: 150px; /* Adjusted to match visual scale */
    filter: drop-shadow(0 0 10px rgba(0,0,0,0.5));
}

/* Links column */
.footer-links {
    list-style: none;
    padding: 0;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    color: #ffffff;
    text-decoration: none;
    font-size: 15px;
    font-weight: 600;
    transition: color 0.3s;
}

.footer-links a:hover {
    color: #66bb6a;
}

/* About text column */
.footer-about {
    font-size: 14px;
    line-height: 1.6;
    color: #e9ecef;
    text-align: justify;
}

/* Responsive Footer */
@media (max-width: 768px) {
    .footer-container {
        flex-direction: column;
        text-align: center;
    }
    
    .logo-col {
        margin-bottom: 30px;
    }
    
    .footer-about {
        text-align: center;
    }
}

.dbse-intro-section {
    padding: 40px;
    background-color: #ffffff;
    line-height: 1.8;
    color: #333;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    margin: 20px 0;
}

.section-main-title {
    color: #1a3a8a; /* Matches your header blue */
    font-size: 24px;
    margin-bottom: 20px;
    border-left: 5px solid #38c172; /* Matches your sidebar green */
    padding-left: 15px;
}

.intro-text {
    margin-bottom: 20px;
    font-size: 1.05rem;
    text-align: justify;
}

.feature-heading {
    color: #d32f2f; /* Matches your sub-title red */
    margin: 30px 0 15px 0;
    font-size: 20px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.features-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 15px;
    margin-bottom: 30px;
}

.feature-item {
    background: #f9f9f9;
    padding: 15px;
    border-left: 3px solid #1a3a8a;
    font-size: 0.95rem;
}

.mission-statement {
    background-color: #1a3a8a;
    color: white;
    padding: 25px;
    border-radius: 5px;
    margin-top: 20px;
}

.cta-text {
    margin-top: 15px;
    font-weight: bold;
    font-size: 1.1rem;
    color: #38c172; /* Highlighting the call to action in green */
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .dbse-intro-section {
        padding: 20px;
    }
    .section-main-title {
        font-size: 20px;
    }
}

.admission-section {
    padding: 60px 40px;
    background-color: #f8f9fa;
    font-family: 'Segoe UI', sans-serif;
}

.main-title-blue {
    color: #1a3a8a;
    font-size: 2rem;
    margin-bottom: 15px;
    text-align: center;
}

.admission-intro {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 20px auto;
    line-height: 1.6;
    color: #555;
}

.portal-link {
    display: block;
    text-align: center;
    color: #d32f2f;
    font-weight: bold;
    text-decoration: none;
    margin-bottom: 40px;
}

.portal-link:hover {
    text-decoration: underline;
}

.admission-grid {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 30px;
    max-width: 1100px;
    margin: 0 auto;
}

.admission-card, .document-card {
    background: white;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
}

.admission-card h3, .document-card h3 {
    color: #1a3a8a;
    margin-bottom: 20px;
    border-bottom: 2px solid #38c172;
    padding-bottom: 10px;
}

.doc-list {
    list-style: none;
    padding: 0;
}

.doc-list li {
    padding: 10px 0;
    border-bottom: 1px solid #eee;
    font-size: 0.95rem;
    color: #444;
    display: flex;
    align-items: flex-start;
}

.doc-list li::before {
    content: "✓";
    color: #38c172;
    font-weight: bold;
    margin-right: 10px;
}

.doc-list li:last-child {
    border-bottom: none;
}

/* Mobile View */
@media (max-width: 768px) {
    .admission-grid {
        grid-template-columns: 1fr;
    }
    .admission-section {
        padding: 30px 20px;
    }
}

/* Verification Section Styles */
.verification-section {
    padding: 50px 20px;
    background-color: #ffffff;
}

.verification-container {
    max-width: 1200px;
    margin: 0 auto;
}

.alert-note {
    background-color: #fff3f3;
    border-left: 5px solid #d32f2f;
    color: #b71c1c;
    padding: 15px 20px;
    margin-bottom: 30px;
    font-size: 0.9rem;
    line-height: 1.5;
}

.verification-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
}

.instructions-card, .verification-form-card {
    background: #fcfcfc;
    border: 1px solid #eee;
    padding: 30px;
    border-radius: 8px;
}

.email-box {
    background: #eef2ff;
    padding: 15px;
    border-radius: 5px;
    margin: 15px 0;
    font-size: 0.9rem;
}

.email-box a {
    color: #1a3a8a;
    font-weight: bold;
    text-decoration: none;
}

.steps-list {
    list-style: none;
    padding: 0;
}

.steps-list li {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    margin-bottom: 15px;
    font-size: 0.95rem;
    color: #444;
}

.steps-list li span {
    background: #38c172;
    color: white;
    min-width: 24px;
    height: 24px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 0.8rem;
    font-weight: bold;
}

/* Form Styles */
.form-group {
    margin-bottom: 15px;
}

.form-group label {
    display: block;
    font-size: 0.85rem;
    font-weight: bold;
    margin-bottom: 5px;
    color: #1a3a8a;
}

.form-group input, .form-group textarea {
    width: 100%;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 4px;
}

.submit-btn {
    width: 100%;
    background: #1a3a8a;
    color: white;
    border: none;
    padding: 15px;
    font-weight: bold;
    cursor: pointer;
    border-radius: 4px;
    transition: background 0.3s;
}

.submit-btn:hover {
    background: #0d2663;
}

/* Responsive */
@media (max-width: 900px) {
    .verification-grid {
        grid-template-columns: 1fr;
    }
}

/* Result Section Styles */
.result-section {
    padding: 80px 20px;
    background-color: #f4f7f6; /* Soft light grey background */
    min-height: 400px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.result-container {
    max-width: 600px;
    width: 100%;
    text-align: center;
}

.result-header h2 {
    margin-bottom: 10px;
}

.result-header p {
    color: #666;
    font-size: 0.95rem;
    margin-bottom: 30px;
    line-height: 1.5;
}

.result-card {
    background: #ffffff;
    padding: 40px;
    border-radius: 12px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.08);
    border-top: 5px solid #38c172; /* The green accent from your sidebar */
}

.result-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.input-wrapper {
    text-align: left;
}

.input-wrapper label {
    display: block;
    font-weight: 700;
    font-size: 0.85rem;
    color: #1a3a8a;
    margin-bottom: 8px;
    text-transform: uppercase;
}

.input-wrapper input {
    width: 100%;
    padding: 15px;
    border: 2px solid #e0e0e0;
    border-radius: 6px;
    font-size: 1rem;
    transition: border-color 0.3s;
}

.input-wrapper input:focus {
    outline: none;
    border-color: #1a3a8a;
}

.btn-check {
    background-color: #1a3a8a;
    color: white;
    padding: 15px;
    border: none;
    border-radius: 6px;
    font-weight: 800;
    font-size: 1rem;
    cursor: pointer;
    transition: background 0.3s, transform 0.2s;
}

.btn-check:hover {
    background-color: #0d2663;
    transform: translateY(-2px);
}

.result-message {
    margin-top: 20px;
    font-weight: 600;
}

/* Mobile Adjustment */
@media (max-width: 480px) {
    .result-card {
        padding: 25px;
    }
}

/* Contact Section Styling */
.contact-section {
    padding: 60px 20px;
    background-color: #fcfcfc;
}

.contact-container {
    max-width: 1100px;
    margin: 0 auto;
}

.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    margin-top: 40px;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.info-item {
    display: flex;
    gap: 20px;
    align-items: flex-start;
}

.info-item .icon {
    font-size: 24px;
    background: #eef2ff;
    padding: 15px;
    border-radius: 50%;
}

.info-item h3 {
    color: #1a3a8a;
    font-size: 1.1rem;
    margin-bottom: 5px;
}

.info-item p {
    color: #555;
    line-height: 1.6;
}

.email-list {
    list-style: none;
    padding: 0;
    font-size: 0.9rem;
    color: #555;
}

.email-list li {
    margin-bottom: 5px;
}

/* Contact Form Styling */
.contact-form-box {
    background: white;
    padding: 40px;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
}

.contact-form-box h3 {
    margin-bottom: 25px;
    color: #1a3a8a;
    border-bottom: 2px solid #38c172;
    display: inline-block;
    padding-bottom: 5px;
}

.c-form {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.c-form input, .c-form textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 14px;
}

.c-form input:focus {
    outline: none;
    border-color: #1a3a8a;
}

/* Responsive Layout */
@media (max-width: 850px) {
    .contact-wrapper {
        grid-template-columns: 1fr;
    }
    
    .contact-form-box {
        padding: 25px;
    }
}