/* ========================================================================
   DEENA EduCorp - Professional Single-Color Design
   Primary Color: #8A221A (Deep Maroon/Burgundy)
   ======================================================================== */

/* ========================================================================
   CSS VARIABLES
   ======================================================================== */
:root {
    /* Primary Color */
    --primary: #8A221A;
    --primary-dark: #6A1914;
    --primary-light: #A52A20;
    --primary-lighter: #C83228;
    --primary-pale: #F5E8E7;

    /* Neutrals */
    --white: #FFFFFF;
    --off-white: #FAFAFA;
    --light-gray: #F5F5F5;
    --gray: #E0E0E0;
    --medium-gray: #9E9E9E;
    --dark-gray: #616161;
    --charcoal: #333333;
    --black: #212121;

    /* Additional Colors */
    --forest-green: #27ae60;
    --pure-white: #FFFFFF;

    /* Gradients */
    --gradient-phoenix: linear-gradient(135deg, #6A1914 0%, #8A221A 100%);

    /* Shadows */
    --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.08);
    --shadow-md: 0 4px 6px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 20px rgba(0, 0, 0, 0.12);

    /* Border Radius */
    --radius-sm: 4px;
    --radius-md: 8px;
    --radius-lg: 12px;

    /* Transitions */
    --transition: all 0.3s ease;
}

/* ========================================================================
   RESET & BASE
   ======================================================================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: var(--charcoal);
    background-color: var(--white);
    -webkit-font-smoothing: antialiased;
    margin: 0;
    padding: 0;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

body>*:last-child {
    margin-bottom: 0;
}

section {
    padding: 5rem 0;
}

.section-padding {
    padding: 5rem 0;
}

.bg-light {
    background-color: var(--light-gray);
}

/* ========================================================================
   TYPOGRAPHY
   ======================================================================== */
h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
    line-height: 1.3;
    color: var(--black);
    margin-bottom: 1rem;
}

h1 {
    font-size: clamp(2.5rem, 5vw, 3.5rem);
}

h2 {
    font-size: clamp(2rem, 4vw, 3rem);
}

h3 {
    font-size: clamp(1.5rem, 3vw, 2rem);
}

h4 {
    font-size: clamp(1.25rem, 2.5vw, 1.5rem);
}

h5 {
    font-size: 1.125rem;
}

h6 {
    font-size: 1rem;
}

p {
    margin-bottom: 1rem;
    color: var(--dark-gray);
}

.lead {
    font-size: 1.125rem;
    line-height: 1.8;
    color: var(--dark-gray);
}

/* ========================================================================
   NAVIGATION
   ======================================================================== */

/* Secondary Header (Desktop Only) */
.secondary-header {
    background-color: #8A221A;
    padding: 0.75rem 0;
    font-size: 0.875rem;
}

.secondary-header-left {
    display: flex;
    align-items: center;
}

.secondary-header-left span {
    margin-right: 2rem;
    color: var(--white);
    display: inline-flex;
    align-items: center;
}

.secondary-header-left i {
    margin-right: 0.5rem;
    color: var(--white);
}

.secondary-header-right {
    display: flex;
    align-items: center;
    justify-content: flex-end;
}

.secondary-header-right a {
    margin-left: 1rem;
    color: var(--white);
    transition: var(--transition);
    text-decoration: none;
}

.secondary-header-right a:hover {
    color: rgba(255, 255, 255, 0.8);
}

.secondary-header-right i {
    font-size: 1rem;
}

.btn-secondary-header {
    padding: 0.5rem 1.25rem;
    background-color: var(--primary);
    color: var(--white);
    border-radius: var(--radius-sm);
    font-weight: 600;
    text-decoration: none;
    transition: var(--transition);
    margin-left: 1.5rem;
}

.btn-secondary-header:hover {
    background-color: var(--primary-dark);
    color: var(--white);
    transform: translateY(-1px);
    box-shadow: var(--shadow-sm);
}

/* Main Navbar */
.navbar {
    padding: 1.25rem 0;
    background-color: var(--white);
    box-shadow: var(--shadow-sm);
    position: sticky;
    top: 0;
    z-index: 1000;
    transition: var(--transition);
}

.navbar.scrolled {
    padding: 0.75rem 0;
    box-shadow: var(--shadow-md);
}

.navbar-brand {
    font-family: 'Poppins', sans-serif;
    font-size: 1.75rem;
    font-weight: 800;
    color: var(--charcoal);
    transition: var(--transition);
}

.navbar-brand strong {
    color: var(--primary);
}

.navbar-brand:hover {
    color: var(--charcoal);
}

.navbar-brand:hover strong {
    color: var(--primary-dark);
}

.navbar-toggler {
    border: 2px solid var(--primary);
    padding: 0.5rem 0.75rem;
}

.navbar-toggler:focus {
    box-shadow: 0 0 0 0.25rem rgba(138, 34, 26, 0.15);
}

.navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='%238A221A' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

.nav-link {
    font-weight: 600;
    font-size: 0.9375rem;
    color: var(--charcoal);
    padding: 0.5rem 1rem;
    position: relative;
    transition: var(--transition);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 2px;
    background-color: var(--primary);
    transition: width 0.3s ease;
}

.nav-link:hover::after,
.nav-link:focus::after,
.nav-link.active::after {
    width: 80%;
}

.nav-link:hover,
.nav-link:focus,
.nav-link.active {
    color: var(--primary);
}

.dropdown-menu {
    border: 1px solid var(--gray);
    box-shadow: var(--shadow-lg);
    border-radius: var(--radius-md);
    padding: 0.5rem 0;
    margin-top: 0.5rem;
    min-width: 240px;
}

.dropdown-item {
    padding: 0.75rem 1.5rem;
    transition: var(--transition);
    font-weight: 500;
    display: flex;
    align-items: center;
}

.dropdown-item i {
    color: var(--primary);
    font-size: 1rem;
}

.dropdown-item:hover,
.dropdown-item:focus {
    background-color: var(--primary-pale);
    color: var(--primary);
    padding-left: 1.75rem;
}

/* ========================================================================
   BUTTONS
   ======================================================================== */
.btn {
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    padding: 0.75rem 1.75rem;
    border-radius: var(--radius-md);
    transition: var(--transition);
    border: none;
    cursor: pointer;
    text-decoration: none;
    display: inline-block;
}

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

.btn-primary:hover {
    background-color: var(--primary-dark);
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.btn-secondary {
    background-color: var(--charcoal);
    color: var(--white);
}

.btn-secondary:hover {
    background-color: var(--black);
    color: var(--white);
}

.btn-outline-primary {
    border: 2px solid var(--primary);
    color: var(--primary);
    background-color: transparent;
}

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

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

.btn-light:hover {
    background-color: var(--off-white);
    color: var(--primary-dark);
}

.btn-lg {
    padding: 1rem 2.5rem;
    font-size: 1.125rem;
}

.btn-sm {
    padding: 0.5rem 1.25rem;
    font-size: 0.875rem;
}

/* ========================================================================
   PAGE HEADER
   ======================================================================== */
.page-header {
    background-image: url('../images/page-header-bg.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    color: var(--white);
    padding: 8rem 0;
    position: relative;
    min-height: 400px;
    display: flex;
    align-items: center;
}

.page-header::before {
    content: '';
    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%);
    z-index: 1;
}

.page-header .container {
    position: relative;
    z-index: 2;
}

.page-header h1,
.page-header .lead {
    color: var(--white);
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.page-header h1 {
    font-size: clamp(2.5rem, 5vw, 3.5rem);
    font-weight: 800;
    margin-bottom: 1rem;
}

.page-header .lead {
    font-size: clamp(1.125rem, 2vw, 1.5rem);
    opacity: 0.95;
}

/* ========================================================================
   HERO SLIDER
   ======================================================================== */
.hero-slider {
    position: relative;
    width: 100%;
    height: 100vh;
    min-height: 600px;
    max-height: 900px;
}

.hero-slide {
    position: relative;
    width: 100%;
    height: 100vh;
    min-height: 600px;
    max-height: 900px;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.75) 0%, rgba(0, 0, 0, 0.5) 50%, rgba(0, 0, 0, 0.3) 100%);
    z-index: 1;
}

.hero-slider .container {
    position: relative;
    z-index: 2;
    height: 100%;
    display: flex;
    align-items: center;
}

.hero-content {
    color: var(--white);
    animation: fadeInUp 1s ease-out;
}

.hero-title {
    color: var(--white);
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 1.5rem;
    text-shadow: 2px 4px 8px rgba(0, 0, 0, 0.3);
}

.hero-subtitle {
    color: rgba(255, 255, 255, 0.95);
    font-size: clamp(1.125rem, 2vw, 1.5rem);
    line-height: 1.6;
    margin-bottom: 2.5rem;
    text-shadow: 1px 2px 4px rgba(0, 0, 0, 0.3);
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.hero-slider .carousel-control-prev,
.hero-slider .carousel-control-next {
    width: 60px;
    height: 60px;
    top: 50%;
    transform: translateY(-50%);
    background-color: rgba(138, 34, 26, 0.8);
    border-radius: 50%;
    opacity: 0;
    transition: var(--transition);
}

.hero-slider:hover .carousel-control-prev,
.hero-slider:hover .carousel-control-next {
    opacity: 1;
}

.hero-slider .carousel-control-prev {
    left: 30px;
}

.hero-slider .carousel-control-next {
    right: 30px;
}

.hero-slider .carousel-control-prev:hover,
.hero-slider .carousel-control-next:hover {
    background-color: var(--primary);
}

.hero-slider .carousel-indicators {
    bottom: 30px;
    z-index: 3;
}

.hero-slider .carousel-indicators button {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.5);
    border: none;
    margin: 0 6px;
    transition: var(--transition);
}

.hero-slider .carousel-indicators button.active {
    background-color: var(--white);
    width: 40px;
    border-radius: 6px;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

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

/* ========================================================================
   SECTIONS
   ======================================================================== */
.section-header {
    margin-bottom: 3rem;
}

.section-title {
    color: var(--black);
    font-size: clamp(2rem, 4vw, 2.75rem);
    font-weight: 700;
    margin-bottom: 1rem;
    line-height: 1.3;
}

.section-description {
    color: var(--dark-gray);
    font-size: 1.125rem;
    line-height: 1.8;
    max-width: 800px;
    margin: 0 auto;
}

.badge-primary {
    background-color: var(--primary-pale);
    color: var(--primary);
    padding: 0.5rem 1.25rem;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* ========================================================================
   SOLUTION CARDS
   ======================================================================== */
.solution-card {
    background-color: var(--white);
    border-radius: var(--radius-lg);
    padding: 2.5rem;
    height: 100%;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    border: 1px solid var(--gray);
}

.solution-card:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-8px);
    border-color: var(--primary);
}

.solution-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    transition: var(--transition);
}

.solution-card:hover .solution-icon {
    transform: scale(1.1);
}

.solution-icon i {
    font-size: 2.5rem;
    color: var(--white);
}

.solution-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--black);
    margin-bottom: 1rem;
}

.solution-description {
    color: var(--dark-gray);
    line-height: 1.7;
    margin-bottom: 1.5rem;
}

/* ========================================================================
   FEATURE BOXES
   ======================================================================== */
.feature-box {
    text-align: center;
    padding: 2.5rem 1.5rem;
    background-color: var(--white);
    border-radius: var(--radius-lg);
    height: 100%;
    transition: var(--transition);
    border: 1px solid transparent;
}

.feature-box:hover {
    border-color: var(--primary);
    box-shadow: var(--shadow-md);
    transform: translateY(-5px);
}

.feature-icon {
    width: 80px;
    height: 80px;
    background: var(--primary-pale);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    transition: var(--transition);
}

.feature-box:hover .feature-icon {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
}

.feature-icon i {
    font-size: 2.5rem;
    color: var(--primary);
    transition: var(--transition);
}

.feature-box:hover .feature-icon i {
    color: var(--white);
}

.feature-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--black);
    margin-bottom: 1rem;
}

.feature-text {
    color: var(--dark-gray);
    line-height: 1.7;
    margin: 0;
}

/* ========================================================================
   CARDS (Generic)
   ======================================================================== */
.card {
    background-color: var(--white);
    border: 1px solid var(--gray);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.card.h-100 {
    height: 100%;
}

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

.card-body {
    padding: 2rem;
}

.card-title {
    color: var(--black);
    margin-bottom: 1rem;
}

.card-text {
    color: var(--dark-gray);
}

/* ========================================================================
   BADGES
   ======================================================================== */
.badge {
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    padding: 0.375rem 0.75rem;
    border-radius: var(--radius-sm);
    font-size: 0.875rem;
}

.badge-primary {
    background-color: var(--primary);
    color: var(--white);
}

.badge-light {
    background-color: var(--light-gray);
    color: var(--charcoal);
}

/* ========================================================================
   FEATURE BOXES
   ======================================================================== */
.feature-box {
    padding: 2rem;
    border-radius: var(--radius-lg);
    background-color: var(--white);
    border: 1px solid var(--gray);
    transition: var(--transition);
    height: 100%;
}

.feature-box:hover {
    border-color: var(--primary);
    box-shadow: var(--shadow-md);
}

.feature-box i {
    color: var(--primary);
    font-size: 3rem;
    margin-bottom: 1rem;
}

/* ========================================================================
   PRICING CARDS
   ======================================================================== */
.pricing-card {
    background-color: var(--white);
    border: 2px solid var(--gray);
    border-radius: var(--radius-lg);
    padding: 2.5rem 2rem;
    transition: var(--transition);
    height: 100%;
}

.pricing-card:hover {
    border-color: var(--primary);
    box-shadow: var(--shadow-lg);
    transform: translateY(-10px);
}

.pricing-card.featured {
    border-color: var(--primary);
    border-width: 3px;
    box-shadow: var(--shadow-md);
}

.price-amount {
    font-size: 3rem;
    font-weight: 800;
    color: var(--primary);
    margin: 1rem 0;
}

.price-label {
    color: var(--dark-gray);
    font-size: 1rem;
}

/* ========================================================================
   TESTIMONIALS
   ======================================================================== */
.testimonial-card {
    background-color: var(--white);
    border: 1px solid var(--gray);
    border-radius: var(--radius-lg);
    padding: 2.5rem;
    box-shadow: var(--shadow-sm);
}

.testimonial-card i {
    color: var(--primary);
}

/* ========================================================================
   STAT BOXES
   ======================================================================== */
.stat-box {
    padding: 2rem;
    border-radius: var(--radius-lg);
    background-color: var(--white);
    border: 1px solid var(--gray);
    text-align: center;
    transition: var(--transition);
}

.stat-box:hover {
    border-color: var(--primary);
    box-shadow: var(--shadow-md);
}

.stat-number {
    font-size: 3rem;
    font-weight: 800;
    color: var(--primary);
    margin-bottom: 0.5rem;
}

.stat-label {
    color: var(--dark-gray);
    font-weight: 600;
}

/* Impact Section */
.impact-section {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    color: var(--white);
    padding: 5rem 0;
    position: relative;
}

.impact-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg width="100" height="100" xmlns="http://www.w3.org/2000/svg"><circle cx="50" cy="50" r="2" fill="rgba(255,255,255,0.05)"/></svg>');
    background-size: 50px 50px;
    opacity: 0.3;
}

.impact-section .container {
    position: relative;
    z-index: 1;
}

.badge-light {
    background-color: rgba(255, 255, 255, 0.2);
    color: var(--white);
    padding: 0.5rem 1.25rem;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.stat-box-white {
    padding: 2.5rem 2rem;
    border-radius: var(--radius-lg);
    background-color: rgba(255, 255, 255, 0.15);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    text-align: center;
    transition: var(--transition);
}

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

.stat-number-white {
    font-size: 3.5rem;
    font-weight: 800;
    color: var(--white);
    margin-bottom: 0.5rem;
    line-height: 1;
}

.stat-label-white {
    color: rgba(255, 255, 255, 0.95);
    font-weight: 600;
    font-size: 1rem;
}

/* CTA Section */
.cta-section {
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 100%);
    color: var(--white);
    padding: 5rem 0;
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
    border-radius: 50%;
}

.cta-title {
    font-size: clamp(1.75rem, 4vw, 2.5rem);
    font-weight: 800;
    color: var(--white);
    margin-bottom: 1rem;
}

.cta-subtitle {
    font-size: 1.25rem;
    color: rgba(255, 255, 255, 0.95);
    margin: 0;
}

/* ========================================================================
   FORMS
   ======================================================================== */
.form-control {
    padding: 0.875rem 1rem;
    border: 1px solid var(--gray);
    border-radius: var(--radius-md);
    font-size: 1rem;
    transition: var(--transition);
}

.form-control:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 0.2rem rgba(138, 34, 26, 0.15);
    outline: none;
}

.form-label {
    font-weight: 600;
    color: var(--charcoal);
    margin-bottom: 0.5rem;
}

.form-select {
    padding: 0.875rem 1rem;
    border: 1px solid var(--gray);
    border-radius: var(--radius-md);
    transition: var(--transition);
}

.form-select:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 0.2rem rgba(138, 34, 26, 0.15);
    outline: none;
}

/* ========================================================================
   FOOTER
   ======================================================================== */
.footer {
    background-color: var(--charcoal);
    color: var(--white);
    padding: 4rem 0 0;
    margin-top: auto;
}

.footer-heading {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 1.5rem;
    position: relative;
    padding-bottom: 0.75rem;
}

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

.footer-text {
    color: rgba(255, 255, 255, 0.75);
    line-height: 1.8;
    margin-bottom: 1.5rem;
}

.footer-social {
    display: flex;
    gap: 0.75rem;
    margin-top: 1.5rem;
}

.social-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    color: var(--white);
    font-size: 1.125rem;
    transition: var(--transition);
    text-decoration: none;
}

.social-icon:hover {
    background-color: var(--primary);
    color: var(--white);
    transform: translateY(-3px);
}

/* ========================================================================
   PACKAGE CARDS
   ======================================================================== */
.comparison-table {
    background-color: var(--white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-md);
}

.comparison-table thead {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    color: var(--white);
}

.comparison-table thead th {
    padding: 1.5rem 1rem;
    border: none;
    font-weight: 700;
}

.comparison-table tbody tr {
    border-bottom: 1px solid var(--gray);
    transition: var(--transition);
}

.comparison-table tbody tr:last-child {
    border-bottom: none;
}

.comparison-table tbody tr:hover {
    background-color: var(--light-gray);
}

.comparison-table tbody td {
    padding: 1.25rem 1rem;
    vertical-align: middle;
}

.comparison-table tbody td:first-child {
    font-weight: 600;
    color: var(--black);
}

.comparison-table .badge {
    padding: 0.5rem 1rem;
    font-size: 0.875rem;
    font-weight: 700;
}

.package-card {
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    margin-bottom: 3rem;
    transition: var(--transition);
    background-color: var(--white);
}

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

.package-header {
    padding: 2.5rem 2rem;
    color: var(--white);
}

.package-header h3 {
    font-weight: 700;
    margin-bottom: 0.5rem;
    font-size: 1.875rem;
}

.package-header p {
    margin-bottom: 0;
    font-size: 1rem;
    opacity: 0.9;
}

.starter-package .package-header {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
}

.growth-package .package-header {
    background: linear-gradient(135deg, #28a745 0%, #20c997 100%);
}

.enterprise-package .package-header {
    background: linear-gradient(135deg, var(--charcoal) 0%, var(--black) 100%);
}

.package-card .card-body {
    padding: 2.5rem 2rem;
    background-color: var(--white);
}

.package-card .card-body h5 {
    font-weight: 700;
    margin-bottom: 1.5rem;
    position: relative;
    padding-bottom: 0.75rem;
    color: var(--charcoal);
}

.package-card .card-body h5::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 3px;
    background-color: var(--primary);
}

.package-card .list-unstyled li {
    padding: 0.75rem 0;
    display: flex;
    align-items: flex-start;
    color: var(--dark-gray);
    line-height: 1.6;
}

.package-card .list-unstyled li i {
    margin-right: 0.75rem;
    font-size: 1.125rem;
    color: var(--primary);
    margin-top: 0.125rem;
    flex-shrink: 0;
}

.package-card .list-unstyled li strong {
    color: var(--black);
}

/* Accordion Styling for FAQ */
.accordion-item {
    border: 1px solid var(--gray);
    margin-bottom: 1rem;
    border-radius: var(--radius-md);
    overflow: hidden;
}

.accordion-button {
    font-weight: 600;
    color: var(--charcoal);
    background-color: var(--white);
    padding: 1.25rem 1.5rem;
}

.accordion-button:not(.collapsed) {
    background-color: var(--primary-pale);
    color: var(--primary);
}

.accordion-button:focus {
    box-shadow: none;
    border-color: var(--primary);
}

.accordion-button::after {
    background-size: 1.25rem;
}

.accordion-body {
    padding: 1.5rem;
    color: var(--dark-gray);
    line-height: 1.8;
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 0.75rem;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.75);
    text-decoration: none;
    transition: var(--transition);
    display: inline-block;
    position: relative;
    padding-left: 1rem;
}

.footer-links a::before {
    content: '\f285';
    font-family: 'bootstrap-icons';
    position: absolute;
    left: 0;
    opacity: 0;
    transition: var(--transition);
}

.footer-links a:hover {
    color: var(--white);
    padding-left: 1.5rem;
}

.footer-links a:hover::before {
    opacity: 1;
}

.footer-newsletter {
    margin: 1.5rem 0;
}

.newsletter-input-group {
    display: flex;
    border-radius: var(--radius-md);
    overflow: hidden;
}

.newsletter-input {
    flex: 1;
    padding: 0.875rem 1rem;
    border: 1px solid rgba(255, 255, 255, 0.2);
    background-color: rgba(255, 255, 255, 0.05);
    color: var(--white);
    font-size: 0.9375rem;
    border-radius: var(--radius-md) 0 0 var(--radius-md);
    outline: none;
    transition: var(--transition);
}

.newsletter-input::placeholder {
    color: rgba(255, 255, 255, 0.5);
}

.newsletter-input:focus {
    border-color: var(--primary);
    background-color: rgba(255, 255, 255, 0.08);
}

.newsletter-btn {
    padding: 0.875rem 1.5rem;
    background-color: var(--primary);
    color: var(--white);
    border: none;
    border-radius: 0 var(--radius-md) var(--radius-md) 0;
    cursor: pointer;
    transition: var(--transition);
    font-size: 1.25rem;
}

.newsletter-btn:hover {
    background-color: var(--primary-dark);
    transform: translateX(2px);
}

.footer-contact {
    margin-top: 1.5rem;
}

.footer-contact p {
    color: rgba(255, 255, 255, 0.65);
    font-size: 0.9375rem;
    margin-bottom: 0.75rem;
    display: flex;
    align-items: center;
}

.footer-contact i {
    color: var(--primary);
    font-size: 1.125rem;
}

.footer-bottom {
    margin-top: 3rem;
    padding: 1.5rem 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-copyright {
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.9375rem;
    margin: 0;
}

.footer-legal-link {
    color: rgba(255, 255, 255, 0.5);
    text-decoration: none;
    font-size: 0.9375rem;
    transition: var(--transition);
}

.footer-legal-link:hover {
    color: var(--white);
}

.footer-separator {
    color: rgba(255, 255, 255, 0.3);
    margin: 0 1rem;
}

/* ========================================================================
   BACK TO TOP BUTTON
   ======================================================================== */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background-color: var(--primary);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all var(--transition);
    box-shadow: var(--shadow-lg);
    z-index: 1000;
}

.back-to-top:hover {
    background-color: var(--primary-dark);
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(138, 34, 26, 0.3);
}

.back-to-top.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.back-to-top i {
    font-size: 1.25rem;
}

/* ========================================================================
   UTILITIES
   ======================================================================== */
.text-primary {
    color: var(--primary) !important;
}

.bg-primary {
    background-color: var(--primary) !important;
}

.border-primary {
    border-color: var(--primary) !important;
}

.scroll-animate {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.scroll-animate.animate-in {
    opacity: 1;
    transform: translateY(0);
}

.animate-fade-up {
    opacity: 1;
    animation: none;
}

@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

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

/* ========================================================================
   RESPONSIVE
   ======================================================================== */

/* Large Desktops (1400px and up) */
@media (min-width: 1400px) {
    .container {
        max-width: 1320px;
    }
}

/* Desktop (1200px to 1399px) */
@media (min-width: 1200px) and (max-width: 1399px) {
    .container {
        max-width: 1140px;
    }
}

/* Tablets Landscape & Small Desktops (992px to 1199px) */
@media (min-width: 992px) and (max-width: 1199px) {
    .navbar-brand {
        font-size: 1.5rem;
    }

    .nav-link {
        padding: 0.5rem 0.75rem;
        font-size: 0.875rem;
    }

    h1 {
        font-size: 2.25rem;
    }

    h2 {
        font-size: 1.875rem;
    }
}

/* Tablets Portrait (768px to 991px) */
@media (max-width: 991px) {

    /* Secondary header hidden on tablets and mobile */
    .secondary-header {
        display: none !important;
    }

    /* Navigation adjustments */
    .navbar {
        padding: 1rem 0;
    }

    .navbar-collapse {
        margin-top: 1rem;
        padding-top: 1rem;
        border-top: 1px solid var(--gray);
    }

    .nav-link {
        padding: 0.75rem 1rem;
        border-bottom: 1px solid var(--light-gray);
    }

    .dropdown-menu {
        border: none;
        box-shadow: none;
        padding-left: 1rem;
        background-color: var(--off-white);
    }

    .dropdown-item {
        padding: 0.5rem 1rem;
    }

    /* Sections */
    section {
        padding: 3rem 0;
    }

    .page-header {
        padding: 3rem 0 2rem;
    }

    /* Typography */
    h1 {
        font-size: 2rem;
    }

    h2 {
        font-size: 1.75rem;
    }

    h3 {
        font-size: 1.5rem;
    }

    /* Cards */
    .card {
        margin-bottom: 1.5rem;
    }

    /* Footer - Stack columns */
    .footer {
        padding: 3rem 0 0;
    }

    .footer .col-lg-3 {
        margin-bottom: 2.5rem;
    }

    .footer-heading::after {
        width: 40px;
    }
}

/* Mobile Landscape (576px to 767px) */
@media (max-width: 767px) {

    /* Hero Slider Mobile */
    .hero-slider,
    .hero-slide {
        height: 70vh;
        min-height: 500px;
        max-height: 700px;
    }

    .hero-title {
        font-size: 1.75rem;
    }

    .hero-subtitle {
        font-size: 1rem;
    }

    .hero-buttons {
        flex-direction: column;
    }

    .hero-buttons .btn {
        width: 100%;
    }

    .hero-slider .carousel-control-prev,
    .hero-slider .carousel-control-next {
        width: 50px;
        height: 50px;
    }

    .hero-slider .carousel-control-prev {
        left: 15px;
    }

    .hero-slider .carousel-control-next {
        right: 15px;
    }

    /* Typography adjustments */
    h1 {
        font-size: 1.75rem;
    }

    h2 {
        font-size: 1.5rem;
    }

    h3 {
        font-size: 1.25rem;
    }

    .lead {
        font-size: 1rem;
    }

    /* Buttons */
    .btn {
        padding: 0.625rem 1.25rem;
        font-size: 0.9375rem;
    }

    .btn-lg {
        padding: 0.875rem 1.75rem;
        font-size: 1rem;
    }

    .btn-sm {
        padding: 0.5rem 1rem;
        font-size: 0.875rem;
    }

    /* Spacing */
    section,
    .section-padding {
        padding: 3rem 0;
    }

    .page-header {
        padding: 2.5rem 0 1.5rem;
    }

    /* Cards */
    .card {
        padding: 1.5rem;
    }

    .solution-card {
        padding: 2rem;
        margin-bottom: 1.5rem;
    }

    /* Feature boxes */
    .feature-box {
        padding: 2rem 1.5rem;
        margin-bottom: 1.5rem;
    }

    .feature-icon,
    .solution-icon {
        width: 70px;
        height: 70px;
    }

    .feature-icon i,
    .solution-icon i {
        font-size: 2rem;
    }

    /* Stats */
    .stat-number {
        font-size: 2.5rem;
    }

    .stat-box {
        padding: 1.5rem;
        margin-bottom: 1.5rem;
    }

    /* Pricing cards */
    .pricing-card {
        padding: 2rem 1.5rem;
        margin-bottom: 1.5rem;
    }

    .price-amount {
        font-size: 2.5rem;
    }

    /* Footer */
    .footer {
        padding: 2.5rem 0 0;
    }

    .footer-heading {
        font-size: 1.125rem;
        margin-bottom: 1.25rem;
    }

    .footer-text {
        font-size: 0.9375rem;
    }

    .newsletter-input-group {
        flex-direction: column;
    }

    .newsletter-input {
        border-radius: var(--radius-md);
        margin-bottom: 0.75rem;
    }

    .newsletter-btn {
        border-radius: var(--radius-md);
        width: 100%;
        padding: 0.875rem;
    }

    .footer-bottom {
        margin-top: 2rem;
        padding: 1.25rem 0;
    }

    .footer-legal-link {
        display: block;
        margin: 0.5rem 0;
    }

    .footer-separator {
        display: none;
    }
}

/* Mobile Portrait (480px to 575px) */
@media (max-width: 575px) {

    /* Hero Slider Mobile Small */
    .hero-slider,
    .hero-slide {
        height: 60vh;
        min-height: 450px;
    }

    .hero-title {
        font-size: 1.5rem;
    }

    .hero-subtitle {
        font-size: 0.9375rem;
    }

    .hero-slider .carousel-indicators {
        bottom: 15px;
    }

    .hero-slider .carousel-indicators button {
        width: 8px;
        height: 8px;
        margin: 0 4px;
    }

    .hero-slider .carousel-indicators button.active {
        width: 30px;
    }

    /* Typography */
    h1 {
        font-size: 1.5rem;
    }

    h2 {
        font-size: 1.375rem;
    }

    h3 {
        font-size: 1.125rem;
    }

    /* Navigation */
    .navbar-brand {
        font-size: 1.25rem;
    }

    /* Buttons - Full width on mobile */
    .btn {
        width: 100%;
        margin-bottom: 0.75rem;
    }

    .hero-buttons .btn {
        width: 100%;
    }

    .btn-group .btn {
        width: auto;
    }

    /* Forms */
    .form-control,
    .form-select {
        padding: 0.75rem 0.875rem;
        font-size: 0.9375rem;
    }

    /* Spacing */
    section,
    .section-padding {
        padding: 2.5rem 0;
    }

    .page-header {
        padding: 2rem 0 1.25rem;
    }

    /* Cards */
    .card {
        padding: 1.25rem;
    }

    .card-body {
        padding: 1.25rem;
    }

    .solution-card {
        padding: 1.75rem;
    }

    .solution-icon,
    .feature-icon {
        width: 60px;
        height: 60px;
    }

    .solution-icon i,
    .feature-icon i {
        font-size: 1.75rem;
    }

    /* Package Cards Mobile */
    .package-header {
        padding: 2rem 1.5rem;
    }

    .package-header h3 {
        font-size: 1.5rem;
    }

    .package-card .card-body {
        padding: 2rem 1.5rem;
    }

    .comparison-table {
        display: block;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }

    .comparison-table thead th,
    .comparison-table tbody td {
        padding: 1rem 0.75rem;
        font-size: 0.875rem;
        white-space: nowrap;
    }

    /* Badges */
    .badge {
        font-size: 0.75rem;
        padding: 0.375rem 0.625rem;
    }

    /* Footer */
    .footer {
        padding: 2rem 0 0;
    }

    .footer-social {
        justify-content: center;
    }

    .social-icon {
        width: 38px;
        height: 38px;
        font-size: 1rem;
    }

    .footer-bottom .col-md-6 {
        text-align: center !important;
    }
}

/* Small Mobile (320px to 479px) */
@media (max-width: 479px) {

    /* Typography - Minimum sizes */
    h1 {
        font-size: 1.375rem;
    }

    h2 {
        font-size: 1.25rem;
    }

    h3 {
        font-size: 1.125rem;
    }

    h4 {
        font-size: 1rem;
    }

    body {
        font-size: 0.9375rem;
    }

    /* Navigation */
    .navbar {
        padding: 0.75rem 0;
    }

    .navbar-brand {
        font-size: 1.125rem;
    }

    /* Reduced spacing */
    section {
        padding: 1.75rem 0;
    }

    .page-header {
        padding: 1.75rem 0 1rem;
    }

    /* Compact cards */
    .card {
        padding: 1rem;
    }

    /* Compact buttons */
    .btn {
        padding: 0.625rem 1rem;
        font-size: 0.875rem;
    }

    /* Footer compact */
    .footer {
        padding: 1.75rem 0 0;
    }

    .footer-heading {
        font-size: 1rem;
        margin-bottom: 1rem;
    }

    .footer-text,
    .footer-contact p {
        font-size: 0.875rem;
    }

    .footer-bottom {
        margin-top: 1.5rem;
        padding: 1rem 0;
    }

    .footer-copyright,
    .footer-legal-link {
        font-size: 0.875rem;
    }
}

/* Touch device optimizations */
@media (hover: none) and (pointer: coarse) {

    /* Increase touch targets */
    .nav-link {
        padding: 1rem;
    }

    .btn {
        min-height: 44px;
    }

    .dropdown-item {
        padding: 1rem 1.5rem;
    }

    .social-icon {
        min-width: 44px;
        min-height: 44px;
    }

    /* Remove hover effects on touch devices */
    .card:hover {
        transform: none;
    }

    .btn:hover {
        transform: none;
    }
}