/* Google Fonts Import */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;600;700;800&family=Open+Sans:wght@400;600&display=swap');

:root {
    /* Premium Color Palette */
    --primary-color: #0f172a;
    /* Deep Navy */
    --secondary-color: #fbbf24;
    /* Vibrant Gold */
    --accent-color: #ef4444;
    /* Energetic Red (for accents) */
    --text-main: #1e293b;
    --text-light: #64748b;
    --bg-light: #f8fafc;
    --bg-white: #ffffff;

    /* Gradients */
    --gradient-hero: linear-gradient(135deg, rgba(15, 23, 42, 0.9) 0%, rgba(30, 41, 59, 0.8) 100%);
    --gradient-gold: linear-gradient(135deg, #fbbf24 0%, #d97706 100%);

    /* Shadows */
    --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.12), 0 1px 2px rgba(0, 0, 0, 0.24);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --shadow-hover: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

body {
    font-family: 'Open Sans', sans-serif;
    color: var(--text-main);
    background-color: var(--bg-light);
    line-height: 1.6;
    overflow-x: hidden;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    color: var(--primary-color);
}

/* Navbar */
.navbar {
    background-color: var(--primary-color);
    box-shadow: var(--shadow-md);
    padding: 1rem 0;
    transition: all 0.3s ease;
}

.navbar-brand {
    font-family: 'Montserrat', sans-serif;
    font-weight: 800;
    font-size: 1.5rem;
    color: var(--white) !important;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.nav-link {
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.8) !important;
    text-transform: uppercase;
    font-size: 0.9rem;
    letter-spacing: 0.5px;
    margin-left: 1.5rem;
    transition: color 0.3s ease;
}

.nav-link:hover,
.nav-link.active {
    color: var(--secondary-color) !important;
}

/* Hero Section */
.hero-section {
    background: var(--gradient-hero), url('https://sconnects.in/['hero_bg_image']); ?>');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    height: 85vh;
    display: flex;
    align-items: center;
    text-align: center;
    color: var(--bg-white);
    position: relative;
}

.hero-content h1 {
    font-size: 4rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
    color: var(--bg-white);
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
    animation: slideInDown 1s ease-out;
}

.hero-content p {
    font-size: 1.25rem;
    margin-bottom: 2.5rem;
    opacity: 0.9;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    animation: fadeIn 1.5s ease-out;
}

.btn-hero {
    padding: 15px 40px;
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-radius: 50px;
    transition: all 0.3s ease;
    box-shadow: var(--shadow-md);
}

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

.btn-primary:hover {
    background: #f59e0b;
    color: var(--primary-color);
    transform: translateY(-3px);
    box-shadow: var(--shadow-hover);
}

.btn-outline-light {
    border: 2px solid var(--bg-white);
}

.btn-outline-light:hover {
    background: var(--bg-white);
    color: var(--primary-color);
    transform: translateY(-3px);
}

/* Section Styling */
section {
    padding: 5rem 0;
}

.section-title {
    text-align: center;
    margin-bottom: 4rem;
    font-size: 2.5rem;
    position: relative;
    display: inline-block;
    width: 100%;
}

.section-title::after {
    content: '';
    display: block;
    width: 60px;
    height: 4px;
    background: var(--secondary-color);
    margin: 1rem auto 0;
    border-radius: 2px;
}

/* Features */
.feature-card {
    background: var(--bg-white);
    padding: 3rem 2rem;
    border-radius: 1rem;
    text-align: center;
    transition: all 0.3s ease;
    box-shadow: var(--shadow-sm);
    border: 1px solid rgba(0, 0, 0, 0.05);
    height: 100%;
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-hover);
    border-color: var(--secondary-color);
}

.feature-icon {
    font-size: 3.5rem;
    color: var(--secondary-color);
    margin-bottom: 1.5rem;
}

.feature-title {
    font-size: 1.25rem;
    margin-bottom: 1rem;
}

/* Stats */
.stats-section {
    background: var(--primary-color);
    color: var(--bg-white);
    position: relative;
    overflow: hidden;
}

.stat-item {
    text-align: center;
    padding: 2rem;
    border-right: 1px solid rgba(255, 255, 255, 0.1);
}

.stat-item:last-child {
    border-right: none;
}

.stat-number {
    font-size: 3.5rem;
    font-weight: 800;
    color: var(--secondary-color);
    margin-bottom: 0.5rem;
    font-family: 'Montserrat', sans-serif;
}

.stat-label {
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    opacity: 0.8;
}

/* Course Cards */
.course-card {
    background: var(--bg-white);
    border-radius: 1rem;
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: all 0.3s ease;
    border: none;
    height: 100%;
}

.course-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-hover);
}

.course-img-wrapper {
    height: 220px;
    overflow: hidden;
    position: relative;
}

.course-img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.course-card:hover .course-img-wrapper img {
    transform: scale(1.1);
}

.course-body {
    padding: 2rem;
}

.course-title {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.text-muted {
    color: var(--text-light) !important;
    font-size: 0.95rem;
}

.btn-outline-primary {
    color: var(--primary-color);
    border-color: var(--primary-color);
    font-weight: 600;
    padding: 8px 25px;
}

.btn-outline-primary:hover {
    background-color: var(--primary-color);
    color: var(--bg-white);
}

/* CTA Section */
.cta-section {
    background: var(--gradient-gold);
    color: var(--primary-color);
    text-align: center;
    padding: 6rem 0;
}

.cta-section h2 {
    color: var(--primary-color);
    font-size: 3rem;
    margin-bottom: 1.5rem;
}

.cta-section .lead {
    font-weight: 600;
    margin-bottom: 2.5rem;
}

.cta-section .btn {
    background: var(--primary-color);
    color: var(--bg-white);
    border: none;
    padding: 15px 50px;
    font-size: 1.1rem;
}

.cta-section .btn:hover {
    background: #000;
    transform: scale(1.05);
}

/* Footer */
footer {
    background-color: #020617;
    /* Darker than primary */
    color: #94a3b8;
    padding: 5rem 0 2rem;
}

footer h5 {
    color: var(--bg-white);
    margin-bottom: 1.5rem;
    font-size: 1.2rem;
}

footer a {
    color: #94a3b8;
    text-decoration: none;
    transition: color 0.3s;
    display: block;
    margin-bottom: 0.5rem;
}

footer a:hover {
    color: var(--secondary-color);
    padding-left: 5px;
}

/* Animations */
@keyframes slideInDown {
    from {
        transform: translateY(-50px);
        opacity: 0;
    }

    to {
        transform: translateY(0);
        opacity: 1;
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

/* Responsive */
@media (max-width: 768px) {
    .hero-content h1 {
        font-size: 2.5rem;
    }

    box-shadow: var(--shadow-hover);
    border-color: var(--secondary-color);
}

.feature-icon {
    font-size: 3.5rem;
    color: var(--secondary-color);
    margin-bottom: 1.5rem;
}

.feature-title {
    font-size: 1.25rem;
    margin-bottom: 1rem;
}

/* Stats */
.stats-section {
    background: var(--primary-color);
    color: var(--bg-white);
    position: relative;
    overflow: hidden;
}

.stat-item {
    text-align: center;
    padding: 2rem;
    border-right: 1px solid rgba(255, 255, 255, 0.1);
}

.stat-item:last-child {
    border-right: none;
}

.stat-number {
    font-size: 3.5rem;
    font-weight: 800;
    color: var(--secondary-color);
    margin-bottom: 0.5rem;
    font-family: 'Montserrat', sans-serif;
}

.stat-label {
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    opacity: 0.8;
}

/* Course Cards */
.course-card {
    background: var(--bg-white);
    border-radius: 1rem;
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: all 0.3s ease;
    border: none;
    height: 100%;
}

.course-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-hover);
}

.course-img-wrapper {
    height: 220px;
    overflow: hidden;
    position: relative;
}

.course-img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.course-card:hover .course-img-wrapper img {
    transform: scale(1.1);
}

.course-body {
    padding: 2rem;
}

.course-title {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.text-muted {
    color: var(--text-light) !important;
    font-size: 0.95rem;
}

.btn-outline-primary {
    color: var(--primary-color);
    border-color: var(--primary-color);
    font-weight: 600;
    padding: 8px 25px;
}

.btn-outline-primary:hover {
    background-color: var(--primary-color);
    color: var(--bg-white);
}

/* CTA Section */
.cta-section {
    background: var(--gradient-gold);
    color: var(--primary-color);
    text-align: center;
    padding: 6rem 0;
}

.cta-section h2 {
    color: var(--primary-color);
    font-size: 3rem;
    margin-bottom: 1.5rem;
}

.cta-section .lead {
    font-weight: 600;
    margin-bottom: 2.5rem;
}

.cta-section .btn {
    background: var(--primary-color);
    color: var(--bg-white);
    border: none;
    padding: 15px 50px;
    font-size: 1.1rem;
}

.cta-section .btn:hover {
    background: #000;
    transform: scale(1.05);
}

/* Footer */
footer {
    background-color: #020617;
    /* Darker than primary */
    color: #94a3b8;
    padding: 5rem 0 2rem;
}

footer h5 {
    color: var(--bg-white);
    margin-bottom: 1.5rem;
    font-size: 1.2rem;
}

footer a {
    color: #94a3b8;
    text-decoration: none;
    transition: color 0.3s;
    display: block;
    margin-bottom: 0.5rem;
}

footer a:hover {
    color: var(--secondary-color);
    padding-left: 5px;
}

/* Animations */
@keyframes slideInDown {
    from {
        transform: translateY(-50px);
        opacity: 0;
    }

    to {
        transform: translateY(0);
        opacity: 1;
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

/* Responsive */
@media (max-width: 768px) {
    .hero-content h1 {
        font-size: 2.5rem;
    }

    .stat-item {
        border-right: none;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    }

    .section-title {
        font-size: 2rem;
    }
}

/* Floating Buttons */
.floating-buttons {
    position: fixed;
    bottom: 30px;
    z-index: 1000;
    width: 100%;
    pointer-events: none;
}

.btn-float {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 28px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
    pointer-events: auto;
    position: fixed;
    bottom: 30px;
    animation: pulse 2s infinite;
}

.btn-whatsapp {
    background-color: #25d366;
    right: 30px;
}

.btn-whatsapp:hover {
    background-color: #128c7e;
    transform: scale(1.1);
    color: #fff;
}

.btn-call {
    background-color: var(--secondary-color);
    left: 30px;
    color: var(--primary-color);
}

.btn-call:hover {
    background-color: #f59e0b;
    transform: scale(1.1);
    color: var(--primary-color);
}

@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7);
    }

    70% {
        box-shadow: 0 0 0 15px rgba(37, 211, 102, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
    }
}