/* Custom CSS for Coaching Website */

:root {
    --primary-color: #8b5cf6;
    --secondary-color: #6c757d;
    --accent-color: #28a745;
    --dark-color: #343a40;
    --light-color: #f8f9fa;
    --gradient-primary: linear-gradient(135deg, #8b5cf6 0%, #ec4899 100%);
    --gradient-secondary: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
}

/* General Styles */
body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #333;
    scroll-behavior: smooth;
}

/* Navigation */
.navbar {
    background: var(--gradient-primary) !important;
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
}

.navbar-brand {
    font-weight: bold;
    font-size: 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.navbar-logo {
    height: 40px;
    width: auto;
    border-radius: 8px;
    transition: all 0.3s ease;
}

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

.brand-text {
    color: white !important;
    font-size: 1.2rem;
    font-weight: 600;
}

@media (max-width: 768px) {
    .brand-text {
        display: block;
        font-size: 1.1rem;
        text-align: left;
        margin-left: 2px;
        margin-top: 0;
        margin-right: 3rem;
    }
    
    .navbar-brand {
        flex-direction: row;
        align-items: center;
        padding: 0.5rem 0;
        justify-content: flex-start;
        position: relative;
    }
    
    .navbar-logo {
        width: 40px;
        height: 40px;
        margin-bottom: 0;
        margin-right: 2px;
    }
    
    .navbar-toggler {
        position: fixed;
        right: 1rem;
        top: 1.5rem;
        z-index: 1050;
    }
}

@media (max-width: 576px) {
    .brand-text {
        font-size: 0.9rem;
        margin-left: 2px;
        margin-top: 0;
        margin-right: 2.5rem;
    }
    
    .navbar-logo {
        width: 35px;
        height: 35px;
        margin-right: 2px;
    }
    
    .navbar-toggler {
        position: fixed;
        right: 0.5rem;
        top: 1.5rem;
        z-index: 1050;
    }
}

.navbar-nav .nav-link {
    color: rgba(255, 255, 255, 0.9) !important;
    transition: color 0.3s ease;
    margin: 0 10px;
    font-weight: 500;
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active {
    color: #fff !important;
}

.navbar.scrolled {
    background: var(--gradient-primary) !important;
    box-shadow: 0 2px 20px rgba(139, 92, 246, 0.3);
}

/* Hero Section */
.hero-section {
    background: var(--gradient-primary);
    color: white;
    position: relative;
    overflow: hidden;
    padding: 4rem 0;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.1);
    z-index: 1;
}

.hero-badge {
    background: rgba(255, 255, 255, 0.2);
    color: white;
    padding: 0.5rem 1.5rem;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.9rem;
    display: inline-block;
    margin-bottom: 1.5rem;
    border: 2px solid rgba(255, 255, 255, 0.3);
}

.hero-features {
    display: flex;
    gap: 2rem;
    margin-bottom: 2rem;
    flex-wrap: wrap;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    background: rgba(255, 255, 255, 0.1);
    padding: 0.75rem 1rem;
    border-radius: 10px;
    transition: all 0.3s ease;
}

.feature-item i {
    font-size: 1.2rem;
    color: var(--primary-color);
    opacity: 0.9;
}

.feature-item span {
    font-size: 0.9rem;
    font-weight: 500;
}

.feature-item:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
}

.hero-image-container {
    position: relative;
    overflow: hidden;
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
    margin-top: 2rem;
}

.hero-image-overlay {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.8) 0%, rgba(139, 92, 246, 0.6) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-stats {
    display: flex;
    gap: 2rem;
}

.stat-item {
    text-align: center;
    background: rgba(255, 255, 255, 0.15);
    padding: 1.5rem;
    border-radius: 15px;
    min-width: 120px;
    backdrop-filter: blur(10px);
}

.stat-item h3 {
    font-size: 2rem;
    font-weight: 700;
    color: white;
    margin-bottom: 0.5rem;
}

.stat-item p {
    color: rgba(255, 255, 255, 0.8);
    margin: 0;
    font-size: 0.9rem;
}

@media (max-width: 768px) {
    .hero-section {
        padding: 2rem 0;
        background-attachment: scroll;
        background-position: top center;
    }
    
    .hero-features {
        flex-direction: column;
        gap: 1.5rem;
    }
    
    .hero-stats {
        flex-direction: column;
        gap: 1.5rem;
    }
    
    .stat-item {
        min-width: auto;
    }
    
    .hero-content h1 {
        font-size: 2rem;
        margin-bottom: 1rem;
    }
    
    .hero-content p {
        font-size: 1rem;
        margin-bottom: 1.5rem;
    }
    
    .hero-badge {
        font-size: 0.8rem;
        padding: 0.4rem 1rem;
        margin-bottom: 1rem;
    }
    
    .hero-buttons {
        flex-direction: column;
        gap: 1.5rem;
        align-items: center;
    }
    
    .hero-buttons .btn {
        width: 100%;
        max-width: 250px;
        margin: 0 !important;
    }
    
    .hero-buttons .btn:first-child {
        margin-bottom: 2rem !important;
    }
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.1);
    z-index: 1;
}

.hero-badge {
    background: rgba(255, 255, 255, 0.2);
    color: white;
    padding: 0.5rem 1.5rem;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.9rem;
    display: inline-block;
    margin-bottom: 1.5rem;
    border: 2px solid rgba(255, 255, 255, 0.3);
}

.hero-features {
    display: flex;
    gap: 2rem;
    margin-bottom: 2rem;
    flex-wrap: wrap;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    background: rgba(255, 255, 255, 0.1);
    padding: 0.75rem 1rem;
    border-radius: 10px;
    transition: all 0.3s ease;
}

.feature-item i {
    font-size: 1.2rem;
    color: var(--primary-color);
    opacity: 0.9;
}

.feature-item span {
    font-size: 0.9rem;
    font-weight: 500;
}

.feature-item:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
}

.hero-image-container {
    position: relative;
    overflow: hidden;
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
}

.hero-image-overlay {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.8) 0%, rgba(139, 92, 246, 0.6) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-stats {
    display: flex;
    gap: 2rem;
}

.stat-item {
    text-align: center;
    background: rgba(255, 255, 255, 0.15);
    padding: 1.5rem;
    border-radius: 15px;
    min-width: 120px;
    backdrop-filter: blur(10px);
}

.stat-item h3 {
    font-size: 2rem;
    font-weight: 700;
    color: white;
    margin-bottom: 0.5rem;
}

.stat-item p {
    color: rgba(255, 255, 255, 0.8);
    margin: 0;
    font-size: 0.9rem;
}

@media (max-width: 768px) {
    .hero-features {
        flex-direction: column;
        gap: 1.5rem;
    }
    
    .hero-stats {
        flex-direction: column;
        gap: 1.5rem;
    }
    
    .stat-item {
        min-width: auto;
    }
    
    .hero-content h1 {
        font-size: 2rem;
        margin-bottom: 1rem;
    }
    
    .hero-content p {
        font-size: 1rem;
        margin-bottom: 1.5rem;
    }
    
    .hero-badge {
        font-size: 0.8rem;
        padding: 0.4rem 1rem;
        margin-bottom: 1rem;
    }
    
    .hero-buttons {
        flex-direction: column;
        gap: 1.5rem;
        align-items: center;
    }
    
    .hero-buttons .btn {
        width: 100%;
        max-width: 250px;
        margin: 0 !important;
    }
    
    .hero-buttons .btn:first-child {
        margin-bottom: 2rem !important;
    }
    
    .hero-image-container {
        margin-top: 2rem;
    }
    
    .hero-image-overlay {
        position: relative;
        background: linear-gradient(135deg, rgba(139, 92, 246, 0.9) 0%, rgba(139, 92, 246, 0.7) 100%);
        padding: 1rem;
    }
    
    .hero-stats {
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .stat-item {
        min-width: 100px;
        padding: 1rem;
    }
    
    .stat-item h3 {
        font-size: 1.5rem;
    }
    
    .stat-item p {
        font-size: 0.8rem;
    }
    
    .mobile-stats-overlay {
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: rgba(0, 0, 0, 0.7);
        display: none;
        padding: 1rem;
        border-radius: 15px;
    }

    .mobile-stat-item {
        text-align: center;
        background: rgba(255, 255, 255, 0.2);
        padding: 1rem;
        border-radius: 12px;
        margin-bottom: 1rem;
        backdrop-filter: blur(8px);
    }

    .mobile-stat-item h4 {
        font-size: 1.3rem;
        font-weight: 600;
        color: white;
        margin-bottom: 0.5rem;
    }

    .mobile-stat-item p {
        color: rgba(255, 255, 255, 0.9);
        margin: 0;
        font-size: 0.85rem;
    }
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.3);
    z-index: 1;
}

.hero-section .container {
    position: relative;
    z-index: 2;
}

.hero-content h1 {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.hero-content p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    opacity: 0.95;
}

.hero-buttons .btn {
    padding: 12px 30px;
    font-weight: 600;
    border-radius: 50px;
    transition: all 0.3s ease;
}

.hero-buttons .btn-primary {
    background: linear-gradient(45deg, #28a745, #20c997);
    border: none;
    box-shadow: 0 4px 15px rgba(40, 167, 69, 0.3);
}

.hero-buttons .btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(40, 167, 69, 0.4);
}

.hero-buttons .btn-outline-light:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
}

.hero-image img {
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease;
}

.hero-image img:hover {
    transform: scale(1.05);
}

/* Mobile Map Fix */
@media (max-width: 768px) {
    .card-title {
        margin-left: 1rem;
    }
    
    .map-container {
        position: relative;
        width: 100%;
        height: 250px;
        overflow: hidden;
        border-radius: 0 0 0.375rem 0.375rem;
    }
    
    .map-container iframe {
        width: 100%;
        height: 100%;
        border: 0;
        border-radius: 0 0 0.375rem 0.375rem;
    }
}

/* Social Media Icons */
.social-links a {
    font-size: 1.2rem;
    margin: 0 0.5rem;
    transition: all 0.3s ease;
}

.social-links a:hover {
    transform: translateY(-3px);
    color: #28a745 !important;
}

/* Find Us Text Margin */
.card-title {
    margin-left: 1rem;
}

/* Academic Page Top Margin */
.py-5 .text-center h2 {
    margin-top: 2rem;
}
@media (max-width: 768px) {
    .hero-image-container {
        position: relative;
        margin-top: 3rem;
    }
    
    .hero-image-overlay {
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: linear-gradient(135deg, rgba(139, 92, 246, 0.8) 0%, rgba(139, 92, 246, 0.6) 100%);
        padding: 1rem;
        border-radius: 15px;
        display: flex;
        align-items: center;
        justify-content: center;
    }
    
    .hero-badge {
        margin-bottom: 1rem;
        font-size: 0.8rem;
        padding: 0.4rem 1rem;
    }
    
    .social-links {
        display: flex;
        justify-content: center;
        text-align: center;
        margin-top: 1rem;
    }
}

@media (max-width: 576px) {
    .hero-image-container {
        margin-top: 4rem;
    }
}

/* Academic Items */
.academic-item {
    text-align: center;
    padding: 2rem;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border-radius: 20px;
    transition: all 0.3s ease;
    height: 100%;
    border: 2px solid transparent;
    position: relative;
    overflow: hidden;
}

.academic-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--gradient-primary);
    transition: all 0.3s ease;
}

.academic-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(139, 92, 246, 0.15);
    border-color: rgba(139, 92, 246, 0.3);
}

.academic-item:hover::before {
    height: 8px;
}

.academic-icon {
    width: 70px;
    height: 70px;
    margin: 0 auto 1.5rem;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.academic-icon i {
    font-size: 1.8rem;
    color: white;
}

.academic-item:hover .academic-icon {
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 10px 25px rgba(139, 92, 246, 0.3);
}

.academic-item h4 {
    color: var(--dark-color);
    font-weight: 600;
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

.academic-item p {
    color: var(--secondary-color);
    line-height: 1.6;
    margin: 0;
}

/* Course Cards */
.course-card {
    border: none;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    overflow: hidden;
}

.course-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

.course-card .card-header {
    border-bottom: none;
    font-weight: 600;
}

.course-card .card-footer {
    border-top: none;
    background: #f8f9fa;
    padding: 1rem;
}

.course-card ul li {
    padding: 0.25rem 0;
    font-size: 0.95rem;
}

.course-card .badge {
    font-size: 0.8rem;
    padding: 0.5rem 1rem;
}

.course-card h4 {
    font-weight: 700;
    margin: 0;
}

/* Service Cards */
.service-card {
    border: none;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    overflow: hidden;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

.service-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: linear-gradient(45deg, #f8f9fa, #e9ecef);
    transition: all 0.3s ease;
}

.service-card:hover .service-icon {
    background: var(--gradient-primary);
    transform: scale(1.1);
}

.service-card:hover .service-icon i {
    color: white !important;
}

.service-card h4 {
    color: var(--dark-color);
    font-weight: 600;
    margin-bottom: 1rem;
}

.service-card p {
    color: var(--secondary-color);
    line-height: 1.6;
}

/* About Section */
#about {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}

#about h2 {
    color: var(--dark-color);
    font-weight: 700;
}

#about .lead {
    color: var(--primary-color);
    font-weight: 500;
}

/* Testimonials */
.testimonial-card {
    border: none;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
}

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

.stars {
    color: #ffc107;
}

.testimonial-card .card-text {
    font-style: italic;
    color: #555;
    line-height: 1.6;
}

.testimonial-card img {
    border: 3px solid #fff;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

/* Dropdown Container */
.dropdown-container {
    position: relative;
}

.dropdown-container::after {
    content: '\f078';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--primary-color);
    pointer-events: none;
}

.form-select {
    appearance: none;
    padding-right: 35px;
}

/* Contact Form */
#contact {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}

#contact .card {
    border: none;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.form-control,
.form-select {
    border: 2px solid #e9ecef;
    border-radius: 10px;
    padding: 12px 15px;
    transition: all 0.3s ease;
}

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

.form-label {
    font-weight: 600;
    color: var(--dark-color);
    margin-bottom: 8px;
}

.btn-primary {
    background: var(--gradient-primary);
    border: none;
    border-radius: 50px;
    padding: 12px 40px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(102, 126, 234, 0.4);
}

/* Footer */
.full-width-footer {
    background: linear-gradient(135deg, #343a40 0%, #212529 100%) !important;
    color: white;
    padding: 3rem 0;
    width: 100%;
    margin: 0;
    position: relative;
}

.full-width-footer .container {
    padding: 0 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.full-width-footer h5 {
    color: #fff;
    font-weight: 600;
    margin-bottom: 1rem;
}

.full-width-footer p {
    margin-bottom: 0;
    opacity: 0.9;
}

.full-width-footer .social-links {
    margin-top: 1rem;
}

.full-width-footer .social-links a {
    color: rgba(255, 255, 255, 0.8);
    transition: all 0.3s ease;
    margin: 0 0.5rem;
}

.full-width-footer .social-links a:hover {
    color: #fff !important;
    transform: translateY(-3px);
}

.full-width-footer hr {
    border-color: rgba(255, 255, 255, 0.1);
    margin: 2rem 0;
}

.full-width-footer .text-center p {
    opacity: 0.7;
    font-size: 0.9rem;
}

footer {
    background: linear-gradient(135deg, #343a40 0%, #212529 100%) !important;
}

footer .container {
    max-width: 100%;
    padding: 0;
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in-up {
    animation: fadeInUp 0.8s ease-out;
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero-content h1 {
        font-size: 2rem;
    }
    
    .hero-content p {
        font-size: 1rem;
    }
    
    .hero-buttons .btn {
        padding: 10px 20px;
        font-size: 0.9rem;
    }
    
    .service-card {
        margin-bottom: 2rem;
    }
    
    .testimonial-card {
        margin-bottom: 2rem;
    }
}

@media (max-width: 576px) {
    .hero-section {
        text-align: center;
    }
    
    .hero-section .row {
        flex-direction: column-reverse;
    }
    
    .hero-image {
        margin-bottom: 2rem;
    }
    
    .display-4 {
        font-size: 2rem;
    }
    
    .display-5 {
        font-size: 1.5rem;
    }
}

/* Scroll to top button */
.scroll-top {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background: var(--gradient-primary);
    color: white;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 1000;
    box-shadow: 0 5px 20px rgba(102, 126, 234, 0.3);
}

.scroll-top.show {
    opacity: 1;
    visibility: visible;
}

.scroll-top:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.4);
}

/* Loading animation */
.loading {
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 3px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    border-top-color: #fff;
    animation: spin 1s ease-in-out infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}
