/* Main Styles for Sobhasaria Incubation Center Website */

/* General Styles */
:root {
    /* 2025 palette */
    --primary-color: #6366f1;   /* Indigo 500 */
    --primary-dark: #0ea5e9;    /* Sky 500 */
    --secondary-color: #6b7280; /* Gray 500 */
    --accent-color: #22d3ee;    /* Cyan 400 */
    --success-color: #10b981;   /* Emerald 500 */
    --text-dark: #0f172a;       /* Slate 900 */
    --text-light: #64748b;      /* Slate 500 */
    --dark-color: #0b1020;
    --light-color: #f8fafc;
    --border-radius: 0.75rem;
    --box-shadow: 0 10px 30px rgba(2, 6, 23, 0.15);
    --transition: all 0.3s ease;
}

body {
    font-family: 'Nunito', 'Roboto', sans-serif;
    color: #333;
    line-height: 1.6;
}

/* Avoid fixed-top navbar overlap */
body { padding-top: 70px; }

/* Center alignment for section headers only */
.section .section-header,
.section .section-title,
.section .section-subtitle {
    text-align: center;
}

.section {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}



.section-heading {
    position: relative;
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    text-align: center;
}

.section-heading:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: var(--primary-color);
}

/* Hero Section */
.hero-section {
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary-color) 100%);
    color: #fff;
    padding: 120px 0 100px;
    position: relative;
}

/* Generic Page Hero for internal pages */
.page-hero {
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary-color) 100%);
    color: #fff;
    position: relative;
    padding: 80px 0 60px; /* standard hero size under fixed navbar */
    overflow: hidden;
}
.page-hero::before {
    content: none; /* disable decorative overlay to avoid layout issues */
}
.page-hero .btn-outline-light {
    border-color: rgba(255, 255, 255, 0.85);
    color: #fff;
}
.page-hero .btn-outline-light:hover {
    background-color: rgba(255, 255, 255, 0.15);
}
.page-hero .breadcrumb a { color: #fff; }
.page-hero .breadcrumb .active { color: rgba(255,255,255,0.75); }

/* Reusable wave divider under heroes */
.wave-shape {
    position: relative;
    bottom: -1px;
    left: 0;
    width: 100%;
    overflow: hidden;
    line-height: 0;
}
.page-hero .wave-shape { height: 60px; }

.page-hero h1 { line-height: 1.2; margin-bottom: 1rem; }
.page-hero p.lead { opacity: 0.95; }
.page-hero .hero-content { text-align: left; margin: 0; }
.page-hero .btn { margin-right: 0.5rem; }

/* Glassmorphism utility */
.glass-panel {
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.25);
    box-shadow: 0 10px 30px rgba(2, 6, 23, 0.15);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border-radius: 1rem;
}
.page-hero .badge,
.page-hero .section-badge {
    background: rgba(255, 255, 255, 0.18);
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.25);
}

.hero-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.hero-content h1 {
    font-size: 3.2rem;
    font-weight: 800;
    margin-bottom: 20px;
    text-shadow: 0 2px 4px rgba(0,0,0,0.15);
}

.hero-content p {
    font-size: 1.25rem;
    margin-bottom: 30px;
    opacity: 0.9;
}

.hero-wave {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    overflow: hidden;
    line-height: 0;
}

.hero-stats {
    margin-top: 2.5rem;
    margin-bottom: 2.5rem;
}

.stat-card {
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    border-radius: var(--border-radius);
    padding: 1.5rem;
    text-align: center;
    transition: var(--transition);
}

/* Ensure stat text is readable on dark hero */
.hero-section .stat-card { color: #fff; }

.stat-card:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.25);
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 1rem;
    font-weight: 600;
    opacity: 0.9;
}

/* Feature Cards */
.feature-card {
    border: none;
    border-radius: 12px;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    height: 100%;
    box-shadow: var(--box-shadow);
    padding: 2rem;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.feature-icon {
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: rgba(78, 115, 223, 0.1);
    border-radius: 50%;
    margin: 0 auto 1.5rem;
    font-size: 2rem;
    color: var(--primary-color);
    transition: var(--transition);
}

.feature-card:hover .feature-icon {
    background-color: var(--primary-color);
    color: white;
    transform: scale(1.1);
}

/* Stats Section */
.stats-section {
    background-color: var(--primary-color);
    color: white;
    padding: 80px 0;
    position: relative;
}

.stat-item {
    text-align: center;
    padding: 20px;
}

/* Testimonial Section */
.testimonial-card {
    background-color: white;
    border-radius: 12px;
    padding: 30px;
    box-shadow: var(--box-shadow);
    margin: 15px;
    transition: var(--transition);
}

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

.testimonial-image {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid var(--primary-color);
}

/* Button Styles */
.btn {
    font-weight: 600;
    padding: 0.75rem 1.5rem;
    border-radius: 50px;
    transition: var(--transition);
}

.btn-primary {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
}

.btn-primary:hover {
    background-color: var(--primary-dark);
    border-color: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(78, 115, 223, 0.3);
}

.btn-outline-light {
    border-width: 2px;
}

.btn-outline-light:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(255, 255, 255, 0.2);
}

/* Vision & Mission Cards */
.vision-mission-card {
    padding: 2rem;
    border-radius: 12px;
    background-color: #fff;
    box-shadow: var(--box-shadow);
    height: 100%;
    transition: var(--transition);
}

.vision-mission-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 0.5rem 2rem rgba(0, 0, 0, 0.15);
}

.vision-mission-icon {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
}

/* Objectives List */
.objectives-list {
    list-style: none;
    padding-left: 0;
}

.objectives-list li {
    position: relative;
    padding-left: 2rem;
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

.objectives-list li:before {
    content: '\f00c';
    font-family: 'Font Awesome 5 Free';
    font-weight: 900;
    position: absolute;
    left: 0;
    top: 0.2rem;
    color: var(--success-color);
}

/* Program Cards */
.program-card {
    transition: all 0.3s ease;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    height: 100%;
}

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

.program-icon-wrapper {
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: rgba(78, 115, 223, 0.1);
    border-radius: 12px;
    margin-bottom: 20px;
    color: var(--primary-color);
    transition: all 0.3s ease;
}

.program-card:hover .program-icon-wrapper {
    background-color: var(--primary-color);
    color: white;
}

/* Event Timeline */
.event-timeline {
    position: relative;
    padding-left: 50px;
}

.event-timeline::before {
    content: '';
    position: absolute;
    left: 20px;
    top: 0;
    height: 100%;
    width: 2px;
    background-color: var(--primary-color);
}

.event-timeline-item {
    position: relative;
    padding-bottom: 30px;
}

.event-timeline-item::before {
    content: '';
    position: absolute;
    left: -50px;
    top: 0;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background-color: var(--primary-color);
    border: 4px solid #fff;
    box-shadow: 0 0 0 2px var(--primary-color);
}

/* Impact Cards */
.impact-card {
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.3s ease;
    border: none;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    height: 100%;
    padding: 1.5rem;
    text-align: center;
}

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

.impact-icon {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

/* Navbar Enhancements */
.navbar {
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    padding: 0.75rem 1rem;
}

/* Site Navbar (public) - light theme */
.site-navbar {
    background-color: #ffffff !important; /* White navbar */
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}
.site-navbar.navbar-light .navbar-nav .nav-link {
    color: #212529; /* dark text */
}
.site-navbar.navbar-light .navbar-nav .nav-link:hover,
.site-navbar.navbar-light .navbar-nav .nav-link.active {
    color: #0d6efd;
    background-color: rgba(13, 110, 253, 0.10);
    border-radius: var(--border-radius);
}
.site-navbar.nav-scrolled {
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
}
.site-navbar .dropdown-menu {
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
}

.navbar-brand {
    display: flex;
    align-items: center;
    font-weight: 700;
}

.navbar-brand img {
    display: block;
    margin-right: 0; /* no brand text now */
    max-height: 40px;
}

.navbar-dark .navbar-nav .nav-link {
    color: rgba(255, 255, 255, 0.85);
    font-weight: 600;
    padding: 0.75rem 1rem;
    transition: var(--transition);
}

.navbar-dark .navbar-nav .nav-link:hover,
.navbar-dark .navbar-nav .nav-link.active {
    color: #fff;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: var(--border-radius);
}

/* Footer Enhancements */
footer {
    background-color: #1e3a8a;
    color: rgba(255, 255, 255, 0.8);
    padding: 4rem 0 2rem;
}

footer h5 {
    color: white;
    font-weight: 700;
    margin-bottom: 1.5rem;
}

footer .nav-link {
    color: rgba(255, 255, 255, 0.7);
    padding: 0.5rem 0;
    transition: var(--transition);
}

footer .nav-link:hover {
    color: white;
    transform: translateX(5px);
}

footer .social-icons a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.1);
    color: white;
    margin-right: 0.5rem;
    transition: var(--transition);
}

footer .social-icons a:hover {
    background-color: var(--primary-color);
    transform: translateY(-3px);
}

/* Animations */
.fade-in {
    animation: fadeIn 1s ease-in-out;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Responsive Adjustments */
@media (max-width: 992px) {
    .hero-content h1 {
        font-size: 2.5rem;
    }
    
    .stat-number {
        font-size: 2rem;
    }
}

@media (max-width: 768px) {
    .hero-section {
        padding: 80px 0 60px;
    }
    
    .hero-content h1 {
        font-size: 2rem;
    }
    
    .hero-stats {
        margin-top: 1.5rem;
    }
    
    .stat-card {
        margin-bottom: 1rem;
    }
}