/* Global Styles */
:root {
    --primary-color: #007bff;
    --secondary-color: #6c757d;
    --success-color: #28a745;
    --danger-color: #dc3545;
    --light-gradient: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
}

/* Enhanced Global Styles */
* {
    transition: all 0.3s ease;
}

body {
    font-family: 'Inter', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    color: #333;
    background-color: #f8f9fa;
    line-height: 1.6;
    scroll-behavior: smooth;
}

/* Artistic Navbar Enhancements */
.navbar {
    background: linear-gradient(90deg, rgba(255,255,255,0.9) 0%, rgba(240,244,248,0.9) 100%) !important;
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.navbar-brand {
    font-weight: 700;
    letter-spacing: -1px;
    transform: scale(1);
    transition: transform 0.3s ease;
}

.navbar-brand:hover {
    transform: scale(1.05);
}

.nav-link {
    position: relative;
    font-weight: 500;
    color: #495057;
    overflow: hidden;
}

.nav-link::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: -100%;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--primary-color), transparent);
    transition: left 0.3s ease;
}

.nav-link:hover::before {
    left: 0;
}

/* Enhanced Hero Section */
#home {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    position: relative;
    overflow: hidden;
    padding-top: 6rem;
    padding-bottom: 6rem;
}

#home::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle at center, rgba(0,123,255,0.05) 0%, transparent 70%);
    z-index: 1;
}

.display-4 {
    background: linear-gradient(45deg, #007bff, #6c757d);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    font-weight: 800;
}

/* Artistic Features Section */
#features {
    background: #ffffff;
    padding-top: 4rem;
    padding-bottom: 4rem;
}

#features .card {
    border: none;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.07);
    transform: perspective(1000px);
    transition: all 0.4s ease-in-out;
    margin-bottom: 1.5rem;
}

#features .card:hover {
    transform: translateY(-15px) rotateX(5deg);
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
}

#features .card-body i {
    background: linear-gradient(45deg, var(--primary-color), #6c757d);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    transition: transform 0.3s ease;
    font-size: 3.5rem;
    margin-bottom: 1rem;
    display: block;
}

#features .card:hover i {
    transform: scale(1.1) rotate(10deg);
}

/* How It Works Section */
#how-it-works {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    padding-top: 4rem;
    padding-bottom: 4rem;
}

#how-it-works .card {
    border-radius: 15px;
    border: 2px solid transparent;
    transition: all 0.3s ease;
    background: white;
    box-shadow: 0 10px 25px rgba(0,0,0,0.05);
}

#how-it-works .card:hover {
    border-color: var(--primary-color);
    transform: scale(1.05);
    box-shadow: 0 15px 35px rgba(0,0,0,0.1);
}

/* Testimonials Section */
#testimonials {
    background: white;
    padding-top: 4rem;
    padding-bottom: 4rem;
}

#testimonials .card {
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 15px 35px rgba(0,0,0,0.1);
    transition: all 0.4s ease;
    border: none;
}

#testimonials .card:hover {
    transform: translateY(-15px);
    box-shadow: 0 25px 50px rgba(0,0,0,0.15);
}

/* Call to Action */
.bg-primary {
    background: linear-gradient(135deg, #007bff 0%, #6c757d 100%) !important;
    position: relative;
    overflow: hidden;
    padding: 4rem 0;
}

.bg-primary::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle at center, rgba(255,255,255,0.1) 0%, transparent 70%);
}

/* Footer Enhancements */
footer {
    background: linear-gradient(135deg, #2c3e50 0%, #34495e 100%) !important;
    color: rgba(255,255,255,0.8);
    padding-top: 4rem;
    padding-bottom: 4rem;
}

footer h5 {
    color: white;
    margin-bottom: 1rem;
    font-weight: 600;
}

footer a {
    color: rgba(255,255,255,0.6);
    transition: color 0.3s ease, transform 0.2s ease;
}

footer a:hover {
    color: white;
    transform: translateX(5px);
    text-decoration: none;
}

/* Form Enhancements */
.form-control, .form-select {
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    border: 1px solid rgba(0,0,0,0.1);
}

.form-control:focus, .form-select:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.2rem rgba(0,123,255,0.25);
}

/* Button Enhancements */
.btn-primary {
    background: linear-gradient(45deg, #007bff, #6c757d);
    border: none;
    position: relative;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,123,255,0.4);
}

.btn-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(120deg, transparent, rgba(255,255,255,0.3), transparent);
    transition: all 0.5s ease;
}

.btn-primary:hover::before {
    left: 100%;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .display-4 {
        font-size: 2.5rem;
    }
    
    #features .card-body i {
        font-size: 3rem;
    }
}

/* Responsive Card Text Alignment */
@media (max-width: 576px) {
  #features .card,
  #how-it-works .card,
  #partner-schools .card {
    text-align: center !important;
  }

  #features .card-body i,
  #how-it-works .card-body,
  #partner-schools .card-body {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  #partner-schools .card-body img {
    margin-bottom: 1rem;
    align-self: center;
  }
}

/* Additional Artistic Touches */
.shadow-hover {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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