/* IDEAL BLAZE MODEL SCHOOL - Custom Styles */

/* Import Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700&display=swap');

/* Root Variables */
:root {
    --primary-color: #f8b400;
    --secondary-color: #1b1b1b;
    --accent-color: #ffffff;
    --text-dark: #333333;
    --text-light: #666666;
    --shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 25px rgba(0, 0, 0, 0.15);
}

/* Global Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    background-color: var(--accent-color);
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: 600;
    margin-bottom: 1rem;
}

.text-primary-custom {
    color: var(--primary-color) !important;
}

.bg-primary-custom {
    background-color: var(--primary-color) !important;
}

/* Navbar Styles */
.custom-navbar {
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: relative;
}

.custom-navbar::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    right: 0;
    height: 20px;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1200 120" preserveAspectRatio="none"><path d="M321.39,56.44c58-10.79,114.16-30.13,172-41.86,82.39-16.72,168.19-17.73,250.45-.39C823.78,31,906.67,72,985.66,92.83c70.05,18.48,146.53,26.09,214.34,3V0H0V27.35A600.21,600.21,0,0,0,321.39,56.44Z" fill="%23f8f9fa"></path></svg>') no-repeat center bottom;
    background-size: cover;
    z-index: 1;
}

.school-name {
    font-size: 1.8rem;
    font-weight: 800;
    color: #ff4500 !important;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.1);
    letter-spacing: -0.5px;
}

.navbar-brand small {
    font-size: 0.85rem;
    font-weight: 600;
    color: #2c3e50;
}

.nav-link-custom {
    font-weight: 600;
    font-size: 0.95rem;
    padding: 0.50rem !important;
    transition: all 0.3s ease;
    text-decoration: none !important;
    position: relative;
}
.dropdown-menu {
    border: none;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    border-radius: 10px;
    margin-top: 10px;
}

.dropdown-item {
    padding: 0.75rem 1.5rem;
    font-weight: 500;
    transition: all 0.3s ease;
}

.dropdown-item:hover {
    background-color: #f8b400;
    color: white;
    transform: translateX(5px);
}

/* Hero Section */
.hero-section {
    background: linear-gradient(135deg, #f8b400 0%, #e9ecef 50%, #f8b400 100%);
    min-height: 85vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    padding: 5rem 0;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1000 1000"><defs><pattern id="hero-pattern" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="50" cy="50" r="2" fill="rgba(231,76,60,0.05)"/><circle cx="20" cy="20" r="1" fill="rgba(231,76,60,0.03)"/><circle cx="80" cy="80" r="1" fill="rgba(231,76,60,0.03)"/></pattern></defs><rect width="1000" height="1000" fill="url(%23hero-pattern)"/></svg>');
    opacity: 0.6;
}

.hero-content {
    position: relative;
    z-index: 2;
    color: #2c3e50;
}

.hero-title {
    font-size: 4rem;
    font-weight: 900;
    color: #ff4500;
    margin-bottom: 1.5rem;
    text-shadow: 3px 3px 6px rgba(0, 0, 0, 0.1);
    letter-spacing: -2px;
    line-height: 1.1;
    background: linear-gradient(135deg, #ff4500 0%, #ff4500 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 1.3rem;
    color: #2c3e50;
    margin-bottom: 1.5rem;
    font-weight: 700;
    background: rgba(255, 255, 255, 0.9);
    padding: 0.8rem 1.5rem;
    border-radius: 30px;
    display: inline-block;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.hero-tagline {
    font-size: 1.4rem;
    color: #28a745;
    margin-bottom: 2.5rem;
    font-weight: 500;
    font-style: italic;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.1);
}

/* Hero Features */
.hero-features {
    position: relative;
    z-index: 2;
}

.feature-item {
    background: white;
    padding: 2rem;
    border-radius: 20px;
    margin-bottom: 1.5rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    text-align: center;
    border: 1px solid rgba(231, 76, 60, 0.1);
}

.feature-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
    border-color: #ff4500;
}

.feature-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #ff4500 0%, #c0392b 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    transition: transform 0.3s ease;
}

.feature-item:hover .feature-icon {
    transform: scale(1.1);
}

.feature-icon i {
    font-size: 2rem;
    color: white;
}

.feature-item h5 {
    font-size: 1.3rem;
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 0.8rem;
}

.feature-item p {
    color: #7f8c8d;
    font-size: 1rem;
    margin-bottom: 0;
    font-weight: 500;
}

/* School Building Section */
.school-building-container {
    position: relative;
    overflow: hidden;
    border-radius: 15px;
}

.building-image-wrapper {
    position: relative;
    overflow: hidden;
    border-radius: 15px;
}

.building-image-wrapper img {
    width: 100%;
    height: 500px;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.building-image-wrapper:hover img {
    transform: scale(1.05);
}

.building-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.7) 0%, rgba(0, 0, 0, 0.5) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 15px;
    transition: background 0.3s ease;
}

.building-image-wrapper:hover .building-overlay {
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.8) 0%, rgba(0, 0, 0, 0.6) 100%);
}

.building-info {
    text-align: center;
    padding: 2rem;
    max-width: 800px;
}

.building-info h3 {
    font-size: 2.5rem;
    font-weight: 800;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    margin-bottom: 1rem;
}

.building-info .lead {
    font-size: 1.3rem;
    font-weight: 500;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

.building-stat {
    padding: 1rem;
}

.building-stat h4 {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

.building-stat p {
    font-size: 1rem;
    font-weight: 500;
    margin-bottom: 0;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

/* Section Styles */
.section-title {
    font-size: 3rem;
    font-weight: 900;
    color: #2c3e50;
    text-align: center;
    margin-bottom: 4rem;
    position: relative;
    text-transform: uppercase;
    letter-spacing: 2px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.1);
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -20px;
    left: 50%;
    transform: translateX(-50%);
    width: 120px;
    height: 5px;
    background: linear-gradient(90deg, #ff4500, #f8b400, #ff4500);
    border-radius: 3px;
    box-shadow: 0 2px 10px rgba(231, 76, 60, 0.3);
}

.section-title::before {
    content: '';
    position: absolute;
    bottom: -30px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: linear-gradient(90deg, #2c3e50, #7f8c8d);
    border-radius: 2px;
}

/* Card Styles */
.card {
    border: none;
    border-radius: 20px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    transition: all 0.4s ease;
    overflow: hidden;
    background: white;
    border: 1px solid rgba(231, 76, 60, 0.1);
}

.card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
    border-color: #ff4500;
}

.card-img-top {
    height: 250px;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.card:hover .card-img-top {
    transform: scale(1.08);
}

.card-body {
    padding: 2rem;
}

.card-title {
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

/* Leadership Cards */
.leadership-card {
    text-align: center;
    padding: 1.5rem;
}

.leadership-card img {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 1rem;
    border: 4px solid var(--primary-color);
    transition: transform 0.3s ease;
}

.leadership-card:hover img {
    transform: scale(1.1);
}

.leadership-name {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--secondary-color);
    margin-bottom: 0.5rem;
}

.leadership-title {
    font-size: 1rem;
    color: var(--primary-color);
    font-weight: 500;
}

/* Facility Cards */
.facility-card {
    border: none;
    border-radius: 15px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    background: white;
    overflow: hidden;
}

.facility-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 25px rgba(0, 0, 0, 0.15);
}

.facility-icon {
    transition: transform 0.3s ease;
}

.facility-card:hover .facility-icon {
    transform: scale(1.1);
}

.facility-card .card-title {
    color: var(--secondary-color);
    font-weight: 600;
    margin-bottom: 1rem;
    font-size: 1.2rem;
}

.facility-card .card-text {
    color: var(--text-light);
    line-height: 1.6;
    font-size: 0.95rem;
}

/* Notice Board */
.notice-board {
    background: var(--accent-color);
    border-radius: 15px;
    padding: 2rem;
    box-shadow: var(--shadow);
    border-left: 5px solid var(--primary-color);
}

.notice-item {
    padding: 1rem;
    border-bottom: 1px solid #eee;
    transition: background-color 0.3s ease;
}

.notice-item:hover {
    background-color: #f8f9fa;
}

.notice-item:last-child {
    border-bottom: none;
}

.notice-date {
    font-size: 0.9rem;
    color: var(--text-light);
    font-weight: 500;
}

.notice-title {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--secondary-color);
    margin-bottom: 0.5rem;
}

.notice-content {
    color: var(--text-light);
    font-size: 0.95rem;
}

/* School Dress Section */
.school-dress-section {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 50%, #dee2e6 100%);
    padding: 5rem 0;
    position: relative;
    overflow: hidden;
}

.school-dress-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1000 1000"><defs><pattern id="dress-pattern" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="50" cy="50" r="3" fill="rgba(231,76,60,0.03)"/><circle cx="20" cy="20" r="1" fill="rgba(231,76,60,0.02)"/><circle cx="80" cy="80" r="1" fill="rgba(231,76,60,0.02)"/></pattern></defs><rect width="1000" height="1000" fill="url(%23dress-pattern)"/></svg>');
    opacity: 0.5;
}

.dress-image {
    border-radius: 15px;
    box-shadow: var(--shadow-lg);
    transition: transform 0.3s ease;
}

.dress-image:hover {
    transform: scale(1.02);
}

/* Under Construction Banner */
.construction-banner {
    background: linear-gradient(135deg, var(--secondary-color) 0%, #333 100%);
    color: var(--accent-color);
    padding: 3rem 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.construction-banner::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="construction" width="20" height="20" patternUnits="userSpaceOnUse"><rect width="20" height="20" fill="none" stroke="rgba(248,180,0,0.1)" stroke-width="1"/></pattern></defs><rect width="100" height="100" fill="url(%23construction)"/></svg>');
    opacity: 0.5;
}

.construction-content {
    position: relative;
    z-index: 2;
}

.construction-icon {
    font-size: 4rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

/* Button Styles */
.btn-primary-custom {
    background-color: #ff4500;
    border-color: #ff4500;
    color: white;
    font-weight: 700;
    padding: 0.75rem 2rem;
    border-radius: 25px;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 4px 15px rgba(231, 76, 60, 0.3);
}

.btn-primary-custom:hover {
    background-color: #c0392b;
    border-color: #c0392b;
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(231, 76, 60, 0.4);
    color: white;
}

.btn-outline-primary-custom {
    color: #ff4500;
    border-color: #ff4500;
    font-weight: 700;
    padding: 0.75rem 2rem;
    border-radius: 25px;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border-width: 2px;
}

.btn-outline-primary-custom:hover {
    background-color: #ff4500;
    border-color: #ff4500;
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(231, 76, 60, 0.4);
}

.btn-light {
    background-color: white;
    border-color: white;
    color: #2c3e50;
    font-weight: 700;
    padding: 0.75rem 2rem;
    border-radius: 25px;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.btn-light:hover {
    background-color: #f8f9fa;
    border-color: #f8f9fa;
    color: #2c3e50;
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
}

.btn-outline-light {
    color: white;
    border-color: white;
    font-weight: 700;
    padding: 0.75rem 2rem;
    border-radius: 25px;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border-width: 2px;
}

.btn-outline-light:hover {
    background-color: white;
    border-color: white;
    color: #2c3e50;
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(255, 255, 255, 0.3);
}

/* Form Styles */
.form-control {
    border-radius: 10px;
    border: 2px solid #e9ecef;
    padding: 0.75rem 1rem;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.form-control:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.2rem rgba(248, 180, 0, 0.25);
}

/* Map Styles */
.map-container {
    border-radius: 15px;
    overflow: hidden;
    box-shadow: var(--shadow);
}

/* Animation Classes */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Utility Classes */
.text-shadow {
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.1);
}

.border-primary-custom {
    border-color: var(--primary-color) !important;
}

/* Loading Animation */
.loading {
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 3px solid rgba(248, 180, 0, 0.3);
    border-radius: 50%;
    border-top-color: var(--primary-color);
    animation: spin 1s ease-in-out infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* Scroll to Top Button */
.scroll-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background-color: var(--primary-color);
    color: var(--secondary-color);
    border: none;
    border-radius: 50%;
    font-size: 1.2rem;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 1000;
}

.scroll-to-top.show {
    opacity: 1;
    visibility: visible;
}

.scroll-to-top:hover {
    background-color: #e6a200;
    transform: translateY(-2px);
}
/* Fix navbar left spacing */
.custom-navbar .container,
.custom-navbar .container-fluid {
    padding-left: 2px !important;
    margin-left: 0 !important;
}

/* Adjust spacing between logo and nav links */
.navbar-brand {
    margin-right: 1rem;
}

/* Move nav links closer to left */
.navbar-nav {
    margin-left: 5px !important;
    margin-right: 5px !important;
}
/* Increase space between navbar links */
.navbar-nav .nav-link-custom {
    margin: 4px 3px !important; /* Adjust 12px to more or less space */
}
.navbar-collapse {
    display: flex;
    align-items: center;
    justify-content: flex-end;
}

.navbar-collapse .btn {
    white-space: nowrap;
    margin-left: 15px;
}

