/* assets/css/style.css */

/* CSS Variables */
:root {
    --primary-blue: #0B1F4B;
    --secondary-gold: #F2B705;
    --accent-cream: #FAF8F0;
    --light-blue: #1E3A8A;
    --dark-blue: #051336;
    --light-gold: #F8D568;
    --text-dark: #333333;
    --text-light: #666666;
    --white: #FFFFFF;
    --shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    --transition: all 0.3s ease;
}

/* Typography */
body {
    font-family: 'Inter', sans-serif;
    color: var(--text-dark);
    line-height: 1.6;
    background-color: var(--accent-cream);
    padding-top: 0;  /* For fixed navbar */
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Playfair Display', serif;
    font-weight: 600;
    color: var(--primary-blue);
}

h1 {
    font-size: 2.8rem;
    margin-bottom: 1.5rem;
    position: relative;
}

h1:after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 80px;
    height: 4px;
    background: var(--secondary-gold);
}

h2 {
    font-size: 2.2rem;
    margin-bottom: 1.5rem;
    color: var(--primary-blue);
}

h3 {
    font-size: 1.8rem;
    margin-bottom: 1rem;
    color: var(--light-blue);
}

/* Navbar Styles */
.main-navbar {
    background-color: var(--primary-blue);
    box-shadow: var(--shadow);
    padding: 0.8rem 0;
    transition: var(--transition);
    
}

.navbar-brand {
    padding: 0;
}

.brand-container {
    display: flex;
    flex-direction: column;
    line-height: 1.2;
}

.school-name {
    font-family: 'Playfair Display', serif;
    font-weight: 700;
    font-size: 1.5rem;
    color: var(--white);
    letter-spacing: 0.5px;
}

.school-tagline {
    font-size: 0.8rem;
    color: var(--secondary-gold);
    font-style: normal;
}

.nav-link {
    font-weight: 500;
    color: var(--white) !important;
    margin: 0 0.5rem;
    padding: 0.5rem 1rem !important;
    border-radius: 4px;
    transition: var(--transition);
}

.nav-link:hover,
.nav-link.active {
    background-color: rgba(242, 183, 5, 0.2);
    color: var(--secondary-gold) !important;
}

.btn-admission {
    background-color: var(--secondary-gold);
    color: var(--primary-blue);
    font-weight: 600;
    padding: 0.5rem 1.5rem;
    border-radius: 4px;
    border: none;
    transition: var(--transition);
}

.btn-admission:hover {
    background-color: var(--light-gold);
    transform: translateY(-2px);
    box-shadow: var(--shadow);
}

/* Hero Section */
.hero-section {
    background: linear-gradient(rgba(11, 31, 75, 0.9), rgba(11, 31, 75, 0.8)), url('../images/her-bg.png') center/cover no-repeat;
    color: var(--white);
    padding: 6rem 0;
    margin-bottom: 3rem;
}

.hero-title {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
    color: var(--white);
}

.hero-subtitle {
    font-size: 1.3rem;
    margin-bottom: 2rem;
    color: var(--secondary-gold);
}

.hero-title:after {
    background: var(--secondary-gold);
    left: 50%;
    transform: translateX(-50%);
}

/* Buttons */
.btn-primary {
    background-color: var(--primary-blue);
    border-color: var(--primary-blue);
    padding: 0.75rem 2rem;
    font-weight: 600;
}

.btn-primary:hover {
    background-color: var(--light-blue);
    border-color: var(--light-blue);
}

.btn-outline-primary {
    color: var(--primary-blue);
    border-color: var(--primary-blue);
}

.btn-outline-primary:hover {
    background-color: var(--primary-blue);
    border-color: var(--primary-blue);
}

.btn-warning {
    background-color: var(--secondary-gold);
    border-color: var(--secondary-gold);
    color: var(--primary-blue);
    font-weight: 600;
}

.btn-warning:hover {
    background-color: var(--light-gold);
    border-color: var(--light-gold);
    color: var(--primary-blue);
}

/* Cards */
.card {
    border: none;
    border-radius: 8px;
    box-shadow: var(--shadow);
    transition: var(--transition);
    height: 100%;
    margin-bottom: 1.5rem;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
}

.card-header {
    background-color: var(--primary-blue);
    color: var(--white);
    font-weight: 600;
    border-radius: 8px 8px 0 0 !important;
    padding: 1rem 1.5rem;
}

.card-body {
    padding: 1.5rem;
}

.card-title{
    font-family: 'Times New Roman';
    font-weight: 500;
}

/* Feature Box */
.feature-box {
    text-align: center;
    padding: 2rem;
    background: var(--white);
    border-radius: 8px;
    box-shadow: var(--shadow);
    height: 100%;
    transition: var(--transition);
}

.feature-box:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
}

.feature-icon {
    font-size: 3rem;
    color: var(--secondary-gold);
    margin-bottom: 1rem;
}

/* Sections */
.section {
    padding: 4rem 0;
}

.section-title {
    text-align: center;
    margin-bottom: 3rem;
}

.section-title h2:after {
    left: 50%;
    transform: translateX(-50%);
}

.bg-light-blue {
    background-color: #F0F4FF;
}

/* Footer */
.main-footer {
    background-color: var(--primary-blue);
    color: var(--white);
    padding: 3rem 0 1rem;
    margin-top: 4rem;
}

.footer-links h5 {
    color: var(--secondary-gold);
    margin-bottom: 1.5rem;
}

.footer-links ul {
    list-style: none;
    padding: 0;
}

.footer-links li {
    margin-bottom: 0.8rem;
}

.footer-links a {
    color: var(--white);
    text-decoration: none;
    transition: var(--transition);
}

.footer-links a:hover {
    color: var(--secondary-gold);
    padding-left: 5px;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 1.5rem;
    margin-top: 2rem;
    text-align: center;
}

.social-icons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin-top: 1rem;
}

.social-icons a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    color: var(--white);
    border-radius: 50%;
    transition: var(--transition);
}

.social-icons a:hover {
    background: var(--secondary-gold);
    color: var(--primary-blue);
    transform: translateY(-3px);
}

/* WhatsApp Float */
.whatsapp-float {
    position: fixed;
    bottom: 25px;
    right: 25px;
    width: 60px;
    height: 60px;
    background-color: #25D366;
    color: var(--white);
    border-radius: 50%;
    text-align: center;
    font-size: 30px;
    box-shadow: var(--shadow);
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.whatsapp-float:hover {
    background-color: #128C7E;
    color: var(--white);
    transform: scale(1.1);
}

/* Scroll to Top */
.scroll-to-top {
    position: fixed;
    bottom: 25px;
    left: 25px;
    width: 50px;
    height: 50px;
    background-color: var(--primary-blue);
    color: var(--white);
    border: none;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
    z-index: 999;
    box-shadow: var(--shadow);
}

.scroll-to-top.visible {
    opacity: 1;
    visibility: visible;
}

.scroll-to-top:hover {
    background-color: var(--secondary-gold);
    color: var(--primary-blue);
}

/* Gallery */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 1.5rem;
}

.gallery-item {
    overflow: hidden;
    border-radius: 8px;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.gallery-item:hover {
    transform: scale(1.05);
}

.gallery-item img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    transition: var(--transition);
}

.gallery-item:hover img {
    transform: scale(1.1);
}

/* Contact Form */
.contact-form .form-control {
    padding: 0.75rem 1rem;
    border: 1px solid #ddd;
    border-radius: 4px;
    margin-bottom: 1.5rem;
}

.contact-form .form-control:focus {
    border-color: var(--primary-blue);
    box-shadow: 0 0 0 0.2rem rgba(11, 31, 75, 0.25);
}

/* Alert Messages */
.alert {
    border-radius: 8px;
    border: none;
    padding: 1rem 1.5rem;
}

.alert-success {
    background-color: #d1e7dd;
    color: #0f5132;
}

.alert-danger {
    background-color: #f8d7da;
    color: #842029;
}

/* FAQ */
.faq-item {
    margin-bottom: 1rem;
    border: 1px solid #ddd;
    border-radius: 8px;
    overflow: hidden;
}

.faq-question {
    background: var(--primary-blue);
    color: var(--white);
    padding: 1rem 1.5rem;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: 600;
}

.faq-answer {
    padding: 1.5rem;
    background: var(--white);
    display: none;
}

.faq-question.active + .faq-answer {
    display: block;
}

/* Responsive */
@media (max-width: 768px) {
    .hero-title {
        font-size: 2.5rem;
    }
    
    h1 {
        font-size: 2.2rem;
    }
    
    h2 {
        font-size: 1.8rem;
    }
    
    .section {
        padding: 3rem 0;
    }
    
    .whatsapp-float {
        width: 50px;
        height: 50px;
        font-size: 25px;
        bottom: 20px;
        right: 20px;
    }
    
    .scroll-to-top {
        width: 45px;
        height: 45px;
        bottom: 20px;
        left: 20px;
    }
}




/* Rules Pages CSS */

/* Rules Page Specific Styles */

/* Rules Introduction */
.rules-intro .row > div {
    transition: var(--transition);
}

.rules-intro .row > div:hover {
    transform: translateY(-5px);
}

.rules-intro i {
    transition: var(--transition);
}

.rules-intro .row > div:hover i {
    transform: scale(1.1);
}

/* Rules List */
.rule-category {
    padding-bottom: 1.5rem;
    border-bottom: 1px solid #eee;
}

.rule-category:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.category-header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 1rem;
}

.category-icon {
    width: 60px;
    height: 60px;
    background: rgba(11, 31, 75, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.category-title {
    color: var(--primary-blue);
    margin-bottom: 0;
}

.rules-items {
    list-style: none;
    padding-left: 0;
    margin-bottom: 0;
}

.rule-item {
    padding: 0.5rem 0;
    border-bottom: 1px dashed #eee;
    display: flex;
    align-items: flex-start;
}

.rule-item:last-child {
    border-bottom: none;
}

.rule-item i {
    margin-top: 0.25rem;
    flex-shrink: 0;
}

/* Islamic Rules */
.islamic-rule-item {
    padding: 1rem;
    background: #f8f9fa;
    border-radius: 8px;
    height: 100%;
}

.islamic-rule-item h5 {
    color: var(--primary-blue);
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
}

.islamic-rule-item ul {
    list-style: none;
    padding-left: 0;
    margin-bottom: 0;
}

.islamic-rule-item li {
    padding: 0.3rem 0;
    position: relative;
    padding-left: 1.5rem;
}

.islamic-rule-item li:before {
    content: "•";
    color: var(--secondary-gold);
    font-weight: bold;
    position: absolute;
    left: 0;
}

/* Academic Rules */
.rule-card {
    padding: 1rem;
    background: white;
    border-radius: 8px;
    border: 1px solid #dee2e6;
    height: 100%;
}

.rule-card h5 {
    color: var(--primary-blue);
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
}

.rule-card ul {
    list-style: none;
    padding-left: 0;
    margin-bottom: 0;
}

.rule-card li {
    padding: 0.3rem 0;
    position: relative;
    padding-left: 1.5rem;
}

.rule-card li:before {
    content: "✓";
    color: var(--primary-blue);
    font-weight: bold;
    position: absolute;
    left: 0;
}

.examination-rules table {
    font-size: 0.9rem;
}

.examination-rules th {
    font-weight: 600;
}

/* Safety Rules */
.safety-item {
    padding: 1rem;
    transition: var(--transition);
}

.safety-item:hover {
    transform: translateY(-5px);
}

.safety-icon {
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.safety-item h5 {
    color: var(--primary-blue);
    margin-bottom: 0.5rem;
}

.safety-guidelines ul {
    list-style: none;
    padding-left: 1rem;
}

.safety-guidelines li {
    padding: 0.3rem 0;
    position: relative;
}

.safety-guidelines li:before {
    content: "•";
    color: var(--secondary-gold);
    font-weight: bold;
    position: absolute;
    left: -1rem;
}

.emergency-procedures ol {
    padding-left: 1.5rem;
    margin-bottom: 0;
}

.emergency-procedures li {
    margin-bottom: 0.5rem;
}

/* Parent Guidelines */
.guideline-item {
    padding: 1rem;
    background: white;
    border-radius: 8px;
    border: 1px solid #dee2e6;
    height: 100%;
}

.guideline-item h5 {
    color: var(--primary-blue);
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
}

.guideline-item ul {
    list-style: none;
    padding-left: 0;
    margin-bottom: 0;
}

.guideline-item li {
    padding: 0.3rem 0;
    position: relative;
    padding-left: 1.5rem;
}

.guideline-item li:before {
    content: "✓";
    color: var(--primary-blue);
    font-weight: bold;
    position: absolute;
    left: 0;
}

.fee-policy table {
    font-size: 0.9rem;
}

.fee-policy th {
    font-weight: 600;
}

/* Disciplinary Actions */
.level-card {
    padding: 1.5rem 1rem;
    border-radius: 8px;
    transition: var(--transition);
    height: 100%;
}

.level-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.level-1 {
    background: linear-gradient(135deg, #e3f2fd, #bbdefb);
    border: 2px solid #2196f3;
}

.level-2 {
    background: linear-gradient(135deg, #fff8e1, #ffecb3);
    border: 2px solid #ffc107;
}

.level-3 {
    background: linear-gradient(135deg, #ffebee, #ffcdd2);
    border: 2px solid #f44336;
}

.level-4 {
    background: linear-gradient(135deg, #f3e5f5, #e1bee7);
    border: 2px solid #9c27b0;
}

.level-number {
    width: 50px;
    height: 50px;
    background: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: bold;
    margin: 0 auto 1rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.level-1 .level-number {
    color: #2196f3;
    border: 2px solid #2196f3;
}

.level-2 .level-number {
    color: #ffc107;
    border: 2px solid #ffc107;
}

.level-3 .level-number {
    color: #f44336;
    border: 2px solid #f44336;
}

.level-4 .level-number {
    color: #9c27b0;
    border: 2px solid #9c27b0;
}

.level-card h6 {
    color: var(--primary-blue);
    margin-bottom: 0.5rem;
}

.level-card p {
    font-size: 0.85rem;
    color: var(--text-light);
    margin-bottom: 0;
}

.offense-list {
    list-style: none;
    padding-left: 0;
}

.offense-list li {
    padding: 0.5rem 0;
    border-bottom: 1px dashed #dee2e6;
    position: relative;
    padding-left: 1.5rem;
}

.offense-list li:before {
    content: "⚠";
    color: #dc3545;
    font-weight: bold;
    position: absolute;
    left: 0;
}

.offense-list li:last-child {
    border-bottom: none;
}

/* Acknowledgment */
.acknowledgment i {
    transition: var(--transition);
}

.acknowledgment:hover i {
    transform: scale(1.1);
}

.agreement-points .form-check {
    padding-left: 2rem;
}

.agreement-points .form-check-input {
    width: 1.2rem;
    height: 1.2rem;
    margin-left: -2rem;
}

.agreement-points .form-check-label {
    font-size: 0.95rem;
    line-height: 1.4;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .category-header {
        flex-direction: column;
        text-align: center;
        gap: 10px;
    }
    
    .category-icon {
        margin: 0 auto;
    }
    
    .level-card {
        margin-bottom: 1rem;
    }
    
    .safety-item {
        margin-bottom: 1.5rem;
    }
    
    .rule-card, .guideline-item {
        margin-bottom: 1.5rem;
    }
    
    .agreement-points .form-check {
        margin-bottom: 1rem;
    }
}



/* Events Pages */
/* Events Page Specific Styles */

/* Event Items */
.event-item {
    padding: 1.5rem;
    transition: var(--transition);
    border-radius: 8px;
}

.event-item:hover {
    background-color: rgba(11, 31, 75, 0.03);
}

.event-date {
    text-align: center;
    padding: 1rem;
    background: linear-gradient(135deg, var(--primary-blue), var(--light-blue));
    color: white;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(11, 31, 75, 0.2);
}

.date-day {
    font-size: 2.5rem;
    font-weight: bold;
    line-height: 1;
}

.date-month {
    font-size: 1.2rem;
    font-weight: 600;
    margin: 0.5rem 0;
}

.date-year {
    font-size: 1rem;
    opacity: 0.9;
}

.event-details {
    padding: 0 1rem;
}

.event-header {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
}

.event-title {
    color: var(--primary-blue);
    margin-bottom: 0;
}

.event-header .badge {
    font-size: 0.8rem;
    padding: 0.3rem 0.8rem;
}

.event-info {
    color: var(--text-light);
    font-size: 0.9rem;
}

.event-description {
    color: var(--text-dark);
    font-size: 0.95rem;
    line-height: 1.5;
}

.event-highlights {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 1rem;
}

.highlight-badge {
    background: rgba(242, 183, 5, 0.1);
    color: var(--primary-blue);
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.85rem;
    border: 1px solid rgba(242, 183, 5, 0.3);
}

/* Event Category Cards */
.event-category-card {
    text-align: center;
    padding: 2rem 1.5rem;
    background: white;
    border-radius: 8px;
    box-shadow: var(--shadow);
    height: 100%;
    transition: var(--transition);
}

.event-category-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

.category-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary-blue), var(--light-blue));
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    font-size: 2rem;
}

.event-category-card h4 {
    color: var(--primary-blue);
    margin-bottom: 1rem;
}

.event-category-card p {
    color: var(--text-light);
    margin-bottom: 1.5rem;
    font-size: 0.95rem;
}

.category-events {
    list-style: none;
    padding-left: 0;
    margin-bottom: 0;
    text-align: left;
}

.category-events li {
    padding: 0.5rem 0;
    border-bottom: 1px dashed #eee;
    position: relative;
    padding-left: 1.5rem;
}

.category-events li:before {
    content: "•";
    color: var(--secondary-gold);
    font-weight: bold;
    position: absolute;
    left: 0.5rem;
}

.category-events li:last-child {
    border-bottom: none;
}

/* Past Event Cards */
.past-event-card {
    background: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
    height: 100%;
}

.past-event-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
}

.event-image {
    height: 200px;
    overflow: hidden;
}

.image-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.event-content {
    padding: 1.5rem;
}

.event-date-badge {
    display: inline-block;
    background: rgba(11, 31, 75, 0.1);
    color: var(--primary-blue);
    padding: 0.25rem 0.75rem;
    border-radius: 4px;
    font-size: 0.85rem;
    margin-bottom: 1rem;
}

.past-event-card h5 {
    color: var(--primary-blue);
    margin-bottom: 0.75rem;
    line-height: 1.4;
}

.event-desc {
    color: var(--text-light);
    font-size: 0.9rem;
    margin-bottom: 1rem;
    line-height: 1.5;
}

.event-achievements {
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
}

.achievement-badge {
    background: rgba(242, 183, 5, 0.1);
    color: var(--primary-blue);
    padding: 0.2rem 0.5rem;
    border-radius: 4px;
    font-size: 0.8rem;
    border: 1px solid rgba(242, 183, 5, 0.2);
}

/* Weekly Events Table */
.weekly-events table {
    font-size: 0.9rem;
}

.weekly-events th {
    font-weight: 600;
    background: var(--primary-blue);
    color: white;
}

.weekly-events td:first-child {
    font-weight: 600;
    color: var(--primary-blue);
}

/* Participation Guide */
.guide-item {
    text-align: center;
    padding: 1.5rem;
    height: 100%;
}

.guide-icon {
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.guide-item h5 {
    color: var(--primary-blue);
    margin-bottom: 1rem;
}

.guide-item ul {
    list-style: none;
    padding-left: 0;
    text-align: left;
}

.guide-item li {
    padding: 0.3rem 0;
    position: relative;
    padding-left: 1.5rem;
}

.guide-item li:before {
    content: "✓";
    color: var(--secondary-gold);
    font-weight: bold;
    position: absolute;
    left: 0;
}

/* Registration Steps */
.steps {
    position: relative;
    padding-left: 30px;
}

.steps:before {
    content: '';
    position: absolute;
    left: 15px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: linear-gradient(to bottom, var(--primary-blue), var(--secondary-gold));
}

.step {
    position: relative;
    margin-bottom: 30px;
}

.step:last-child {
    margin-bottom: 0;
}

.step:before {
    content: '';
    position: absolute;
    left: -30px;
    top: 5px;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--secondary-gold);
    border: 3px solid var(--white);
    box-shadow: 0 0 0 3px var(--primary-blue);
}

.step-number {
    position: absolute;
    left: -40px;
    top: 0;
    width: 30px;
    height: 30px;
    background: var(--primary-blue);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 0.9rem;
}

.step-content {
    padding-left: 1rem;
}

.step-content h6 {
    color: var(--primary-blue);
    margin-bottom: 0.5rem;
}

.step-content p {
    font-size: 0.9rem;
    color: var(--text-light);
    margin-bottom: 0;
}

/* Sponsors */
.sponsor-item {
    padding: 1.5rem;
    transition: var(--transition);
}

.sponsor-item:hover {
    transform: translateY(-5px);
}

.sponsor-logo {
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
}

.sponsor-item h6 {
    color: var(--primary-blue);
    margin-bottom: 0.5rem;
}

.sponsor-item p {
    color: var(--text-light);
    font-size: 0.85rem;
    margin-bottom: 0;
}

/* Subscription Form */
.subscription-form .form-control {
    padding: 0.75rem 1rem;
}

.social-links .btn {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

/* Modal Styles */
.modal-header {
    border-bottom: 2px solid var(--secondary-gold);
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .event-item .row {
        flex-direction: column;
        text-align: center;
    }
    
    .event-date {
        margin-bottom: 1rem;
        max-width: 120px;
        margin-left: auto;
        margin-right: auto;
    }
    
    .event-header {
        justify-content: center;
    }
    
    .event-info {
        justify-content: center;
    }
    
    .event-category-card {
        margin-bottom: 1.5rem;
    }
    
    .past-event-card {
        margin-bottom: 1.5rem;
    }
    
    .steps {
        padding-left: 20px;
    }
    
    .step:before {
        left: -20px;
    }
    
    .step-number {
        left: -30px;
        width: 25px;
        height: 25px;
        font-size: 0.8rem;
    }
    
    .subscription-form .row > div {
        margin-bottom: 1rem;
    }
}



/* Contact Page */
/* Contact Page Specific Styles */

/* Contact Form */
.contact-form .form-control {
    padding: 0.75rem 1rem;
    border: 1px solid #ddd;
    border-radius: 4px;
    margin-bottom: 1.5rem;
    transition: var(--transition);
}

.contact-form .form-control:focus {
    border-color: var(--primary-blue);
    box-shadow: 0 0 0 0.2rem rgba(11, 31, 75, 0.25);
}

.contact-form .form-control.is-invalid {
    border-color: #dc3545;
}

.invalid-feedback {
    color: #dc3545;
    font-size: 0.875rem;
    margin-top: -1rem;
    margin-bottom: 1rem;
}

/* Department Contacts */
.dept-contact {
    padding: 1.5rem;
    background: #f8f9fa;
    border-radius: 8px;
    height: 100%;
    transition: var(--transition);
}

.dept-contact:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.dept-contact h5 {
    color: var(--primary-blue);
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
}

.dept-contact p {
    margin-bottom: 0.25rem;
    font-size: 0.9rem;
}

.dept-contact .text-muted {
    font-size: 0.8rem;
}

/* Emergency Contacts */
.card.border-danger {
    border-width: 2px;
}

.card.border-danger .card-header {
    border-bottom: 2px solid rgba(255, 255, 255, 0.2);
}

.card.border-danger ul {
    list-style: none;
    padding-left: 0;
}

.card.border-danger li {
    padding: 0.5rem 0;
    border-bottom: 1px dashed #dee2e6;
    position: relative;
    padding-left: 1.5rem;
}

.card.border-danger li:before {
    content: "•";
    color: #dc3545;
    font-weight: bold;
    position: absolute;
    left: 0;
}

.card.border-danger li:last-child {
    border-bottom: none;
}

.card.border-danger strong {
    color: #dc3545;
}

/* Quick Link Items */
.quick-link-item {
    padding: 1.5rem;
    text-align: center;
    height: 100%;
}

.quick-link-item i {
    transition: var(--transition);
}

.quick-link-item:hover i {
    transform: scale(1.1);
}

.quick-link-item h5 {
    color: var(--primary-blue);
    margin-bottom: 0.5rem;
}

.quick-link-item p {
    color: var(--text-light);
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

/* Social Media Links */
.social-media-links {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.social-link {
    display: flex;
    align-items: center;
    padding: 0.75rem 1rem;
    border-radius: 8px;
    text-decoration: none;
    transition: var(--transition);
}

.social-link:hover {
    transform: translateX(5px);
    text-decoration: none;
}

.social-link i {
    width: 40px;
    font-size: 1.2rem;
    text-align: center;
}

.social-link span {
    font-weight: 500;
}

/* Social Media Colors */
.social-link.facebook {
    background: rgba(59, 89, 152, 0.1);
    color: #3b5998;
    border-left: 4px solid #3b5998;
}

.social-link.facebook:hover {
    background: rgba(59, 89, 152, 0.2);
}

.social-link.instagram {
    background: rgba(225, 48, 108, 0.1);
    color: #e1306c;
    border-left: 4px solid #e1306c;
}

.social-link.instagram:hover {
    background: rgba(225, 48, 108, 0.2);
}

.social-link.twitter {
    background: rgba(29, 161, 242, 0.1);
    color: #1da1f2;
    border-left: 4px solid #1da1f2;
}

.social-link.twitter:hover {
    background: rgba(29, 161, 242, 0.2);
}

.social-link.youtube {
    background: rgba(255, 0, 0, 0.1);
    color: #ff0000;
    border-left: 4px solid #ff0000;
}

.social-link.youtube:hover {
    background: rgba(255, 0, 0, 0.2);
}

.social-link.linkedin {
    background: rgba(0, 119, 181, 0.1);
    color: #0077b5;
    border-left: 4px solid #0077b5;
}

.social-link.linkedin:hover {
    background: rgba(0, 119, 181, 0.2);
}

/* Newsletter Form */
.newsletter-form .input-group {
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    border-radius: 4px;
    overflow: hidden;
}

.newsletter-form .form-control {
    border: none;
    padding: 0.75rem 1rem;
}

.newsletter-form .btn {
    padding: 0.75rem 1.5rem;
    border: none;
}

.newsletter-form .form-check {
    margin-top: 1rem;
}

.newsletter-form .form-check-label {
    font-size: 0.85rem;
    color: var(--text-light);
}

/* Map Styles */
.card-body .btn-outline-primary {
    margin-top: 1rem;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .dept-contact {
        margin-bottom: 1.5rem;
    }
    
    .social-media-links {
        margin-bottom: 2rem;
    }
    
    .quick-link-item {
        margin-bottom: 1.5rem;
    }
    
    .contact-form .row > div {
        margin-bottom: 0;
    }
}


/* Donation Page Specific Styles */

/* Impact Items */
.impact-item {
    text-align: center;
    padding: 1.5rem;
    height: 100%;
}

.impact-icon {
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.impact-item h5 {
    color: var(--primary-blue);
    margin-bottom: 0.75rem;
}

.impact-item p {
    color: var(--text-light);
    font-size: 0.9rem;
    line-height: 1.5;
    margin-bottom: 0;
}

/* Donation Form */
.donation-form .form-control,
.donation-form .form-select {
    padding: 0.75rem 1rem;
    border: 1px solid #ddd;
    border-radius: 4px;
    margin-bottom: 1.5rem;
    transition: var(--transition);
}

.donation-form .form-control:focus,
.donation-form .form-select:focus {
    border-color: var(--primary-blue);
    box-shadow: 0 0 0 0.2rem rgba(11, 31, 75, 0.25);
}

/* Amount Options */
.amount-options .btn-check {
    display: none;
}

.amount-options .btn {
    padding: 0.75rem;
    font-weight: 500;
    transition: var(--transition);
}

.amount-options .btn:hover {
    transform: translateY(-2px);
}

.amount-options .btn-check:checked + .btn {
    background-color: var(--primary-blue);
    color: white;
    border-color: var(--primary-blue);
}

.amount-options .btn-check:checked + .btn-outline-warning {
    background-color: var(--secondary-gold);
    color: var(--primary-blue);
    border-color: var(--secondary-gold);
}

.custom-amount .input-group {
    max-width: 300px;
}

/* Donation Methods */
.method-card {
    text-align: center;
    padding: 2rem;
    background: white;
    border-radius: 8px;
    box-shadow: var(--shadow);
    height: 100%;
    transition: var(--transition);
}

.method-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

.method-icon {
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.method-card h4 {
    color: var(--primary-blue);
    margin-bottom: 1.5rem;
}

.bank-details p,
.upi-details p,
.online-payment p {
    text-align: left;
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
}

.payment-methods {
    list-style: none;
    padding-left: 0;
    display: flex;
    justify-content: center;
    gap: 15px;
    margin: 1.5rem 0;
}

.payment-methods li {
    font-size: 1.5rem;
}

/* Impact Stories */
.impact-story {
    background: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
    height: 100%;
}

.impact-story:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
}

.story-content {
    padding: 1.5rem;
}

.impact-story h5 {
    color: var(--primary-blue);
    margin-bottom: 0.75rem;
}

.impact-story p {
    color: var(--text-light);
    font-size: 0.9rem;
    line-height: 1.5;
    margin-bottom: 1rem;
}

.story-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.85rem;
    color: var(--text-light);
}

/* Tax Benefits */
.tax-benefits h5 {
    color: var(--primary-blue);
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
}

.tax-benefits ul {
    list-style: none;
    padding-left: 0;
}

.tax-benefits li {
    padding: 0.3rem 0;
    position: relative;
    padding-left: 1.5rem;
}

.tax-benefits li:before {
    content: "✓";
    color: var(--success);
    font-weight: bold;
    position: absolute;
    left: 0;
}

/* CSR Options */
.csr-option {
    padding: 1.5rem;
    background: #f8f9fa;
    border-radius: 8px;
    height: 100%;
}

.csr-option h5 {
    color: var(--primary-blue);
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
}

.csr-option p {
    color: var(--text-light);
    font-size: 0.9rem;
    margin-bottom: 0;
}

/* FAQ Accordion */
.accordion-button {
    background-color: rgba(11, 31, 75, 0.05);
    color: var(--primary-blue);
    font-weight: 600;
    padding: 1rem 1.25rem;
}

.accordion-button:not(.collapsed) {
    background-color: var(--primary-blue);
    color: white;
}

.accordion-button:focus {
    box-shadow: 0 0 0 0.2rem rgba(11, 31, 75, 0.25);
}

.accordion-body {
    padding: 1.25rem;
    background-color: #f8f9fa;
}

/* Modal Styles */
.modal-header {
    border-bottom: 2px solid var(--secondary-gold);
}

.modal-body h5 {
    color: var(--primary-blue);
    margin-top: 1rem;
}

.modal-body p {
    color: var(--text-dark);
    line-height: 1.6;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .amount-options .btn {
        padding: 0.5rem;
        font-size: 0.9rem;
    }
    
    .method-card {
        margin-bottom: 1.5rem;
    }
    
    .impact-story {
        margin-bottom: 1.5rem;
    }
    
    .csr-option {
        margin-bottom: 1rem;
    }
    
    .story-meta {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
    }
}

@media (max-width: 576px) {
    .amount-options .row > div {
        flex: 0 0 50%;
        max-width: 50%;
    }
    
    .payment-methods {
        flex-wrap: wrap;
    }
}

