/* ==================== LANDING PAGE CUSTOM STYLES ==================== */
/* These styles only affect the landing page and can be adjusted independently */

/* Reset any unwanted margins/padding */
body, html {
    overflow-x: hidden;
    width: 100%;
}

/* ==================== HERO SECTION ==================== */
.hero-section {
    background: linear-gradient(135deg, #1A2C3E 0%, #008080 100%);
    color: white;
    padding: 80px 0 100px;
    position: relative;
    overflow: hidden;
    min-height: 600px;
    width: 100%;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 20% 50%, rgba(255,255,255,0.1) 0%, transparent 50%);
    pointer-events: none;
}

.hero-title {
    font-size: 3rem;
    line-height: 1.2;
    font-weight: 700;
}

.hero-subtitle {
    font-size: 1.2rem;
    opacity: 0.9;
    line-height: 1.5;
}

.hero-btn, .hero-btn-outline {
    border-radius: 50px;
    transition: all 0.3s ease;
}

.hero-btn:hover, .hero-btn-outline:hover {
    transform: translateY(-3px);
}

.trust-badges {
    display: flex;
    gap: 2rem;
    flex-wrap: wrap;
}

.trust-badges div {
    text-align: center;
}

.trust-badges i {
    font-size: 1.8rem;
    margin-bottom: 8px;
}

/* Hero Illustration */
.hero-illustration {
    position: relative;
    background: rgba(255,255,255,0.1);
    border-radius: 50%;
    width: 350px;
    height: 350px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(5px);
}

.illustration-circle {
    width: 160px;
    height: 160px;
    background: rgba(255,255,255,0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 5rem;
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

.floating-elements {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
}

.float-icon {
    position: absolute;
    background: rgba(255,255,255,0.2);
    border-radius: 50%;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    backdrop-filter: blur(3px);
}

.float-1 { top: 0; left: 5%; animation: float 3s ease-in-out infinite; }
.float-2 { top: 15%; right: 0%; animation: float 4s ease-in-out infinite; }
.float-3 { bottom: 10%; left: 10%; animation: float 3.5s ease-in-out infinite; }
.float-4 { bottom: 25%; right: 5%; animation: float 2.5s ease-in-out infinite; }

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-15px); }
}

/* Particles Container */
.particles-container {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    pointer-events: none;
}

/* Hero Wave Bottom */
.hero-wave-bottom {
    position: absolute;
    bottom: -1px;
    left: 0;
    right: 0;
    line-height: 0;
}

.hero-wave-bottom svg {
    width: 100%;
    height: auto;
}

/* ==================== SECTION COMMON STYLES ==================== */
.section-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #008080, #1A2C3E);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    color: white;
    font-size: 1.5rem;
}

.divider {
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, #008080, #1A2C3E);
    border-radius: 3px;
    margin: 15px auto 0;
}

/* ==================== STATS SECTION ==================== */
.stats-section {
    padding: 60px 0;
    background: white;
}

.stat-card-icon {
    text-align: center;
    padding: 20px;
    transition: all 0.3s ease;
}

.stat-icon-wrapper {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, rgba(0,128,128,0.1), rgba(26,44,62,0.1));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 15px;
    color: #008080;
    transition: all 0.3s ease;
}

.stat-card-icon:hover .stat-icon-wrapper {
    transform: scale(1.1);
    background: linear-gradient(135deg, rgba(0,128,128,0.2), rgba(26,44,62,0.2));
}

/* ==================== SEARCH SECTION ==================== */
.search-section {
    padding: 60px 0;
    background: linear-gradient(135deg, #f8f9fa, #ffffff);
}

.search-card {
    border-radius: 20px;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.search-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
}

.input-icon-group {
    position: relative;
}

.input-icon {
    position: absolute;
    left: 15px;
    top: 50%;
    transform: translateY(-50%);
    color: #008080;
    z-index: 1;
}

.input-icon-group .form-control {
    padding-left: 45px;
    border-radius: 50px;
    height: 50px;
    border: 1px solid #e0e0e0;
    transition: all 0.3s ease;
}

.input-icon-group .form-control:focus {
    border-color: #008080;
    box-shadow: 0 0 0 0.2rem rgba(0,128,128,0.25);
}

.search-btn {
    border-radius: 50px;
    height: 50px;
    font-weight: 600;
    background: linear-gradient(135deg, #008080, #1A2C3E);
    border: none;
    transition: all 0.3s ease;
}

.search-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0,128,128,0.3);
}

.search-results-container {
    animation: fadeInUp 0.5s ease-out;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.search-operator-card {
    border-radius: 15px;
    transition: all 0.3s ease;
}

.search-operator-card:hover {
    transform: translateX(5px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.operator-avatar-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #008080, #1A2C3E);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.5rem;
}

.request-btn {
    border-radius: 50px;
    transition: all 0.3s ease;
}

.request-btn:hover {
    transform: translateY(-2px);
}

/* ==================== FEATURED OPERATORS SECTION ==================== */
.featured-operators-section {
    padding: 60px 0;
    background: linear-gradient(135deg, #f8f9fa, #ffffff);
}

.featured-operator-card {
    background: white;
    border-radius: 20px;
    padding: 25px;
    text-align: center;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    height: 100%;
}

.featured-operator-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.1);
}

.featured-operator-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, #008080, #1A2C3E);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 15px;
    color: white;
    font-size: 2rem;
}

.featured-rating {
    color: #ffc107;
}

/* ==================== INCIDENTS SECTION ==================== */
.incidents-section {
    padding: 60px 0;
    background: white;
}

.incidents-card {
    border-radius: 20px;
    overflow: hidden;
}

.incident-card {
    display: flex;
    gap: 15px;
    padding: 15px;
    background: white;
    border-radius: 15px;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
    height: 100%;
}

.incident-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.1);
}

.incident-icon {
    width: 50px;
    height: 50px;
    background: #f8f9fa;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
}

.incident-card[data-type="accident"] .incident-icon {
    color: #E74C3C;
}

.incident-card[data-type="road_block"] .incident-icon {
    color: #E67E22;
}

.incident-content {
    flex: 1;
}

.incident-type {
    font-weight: bold;
    font-size: 1rem;
}

.severity-badge {
    padding: 3px 8px;
    border-radius: 20px;
    font-size: 0.7rem;
    font-weight: 600;
}

.severity-high {
    background: #E74C3C;
    color: white;
}

.severity-medium {
    background: #E67E22;
    color: white;
}

.severity-low {
    background: #008080;
    color: white;
}

.incident-date {
    font-size: 0.75rem;
    color: #6c757d;
    margin: 5px 0;
}

.incident-location {
    font-size: 0.85rem;
    margin: 5px 0;
}

.incident-desc {
    font-size: 0.8rem;
    color: #6c757d;
    margin: 5px 0 0;
}

.empty-state-icon {
    color: #008080;
}

/* ==================== HOW IT WORKS SECTION ==================== */
.how-it-works-section {
    padding: 60px 0;
    background: linear-gradient(135deg, #f8f9fa, #ffffff);
}

.step-card-icon {
    text-align: center;
    padding: 30px 20px;
    background: white;
    border-radius: 20px;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    height: 100%;
}

.step-card-icon:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.1);
}

.step-number-icon {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, #008080, #1A2C3E);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    margin: 0 auto 15px;
}

.step-icon {
    font-size: 2.5rem;
    color: #008080;
    margin-bottom: 15px;
}

/* ==================== FOR PARENTS & OPERATORS SECTIONS ==================== */
.for-parents-section, .for-operators-section {
    padding: 60px 0;
}

.for-parents-section {
    background: white;
}

.for-operators-section {
    background: linear-gradient(135deg, #f8f9fa, #ffffff);
}

.feature-illustration {
    position: relative;
    padding: 40px;
    background: linear-gradient(135deg, rgba(0,128,128,0.05), rgba(26,44,62,0.05));
    border-radius: 30px;
    text-align: center;
}

.illustration-icon {
    font-size: 5rem;
    color: #008080;
    margin-bottom: 20px;
}

.feature-highlight {
    margin-top: 30px;
    text-align: left;
}

.highlight-item {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 15px;
    padding: 8px 0;
    font-size: 1rem;
}

.highlight-item i {
    font-size: 1.2rem;
}

.section-badge {
    display: inline-block;
    padding: 5px 15px;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 20px;
}

.feature-list-icon {
    margin-top: 20px;
}

.feature-item-icon {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 15px;
    padding: 8px 0;
}

.feature-item-icon i {
    width: 24px;
    font-size: 1.2rem;
}

/* ==================== FEATURES GRID SECTION ==================== */
.features-grid-section {
    padding: 60px 0;
    background: white;
}

.feature-card-icon {
    text-align: center;
    padding: 30px 20px;
    background: white;
    border-radius: 20px;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    height: 100%;
}

.feature-card-icon:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.1);
}

.feature-icon-wrapper {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, rgba(0,128,128,0.1), rgba(26,44,62,0.1));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 2rem;
    color: #008080;
}

/* ==================== WHY CHOOSE US SECTION ==================== */
.why-choose-us-section {
    padding: 60px 0;
    background: linear-gradient(135deg, #f8f9fa, #ffffff);
}

.why-card {
    background: white;
    border-radius: 20px;
    padding: 30px;
    text-align: center;
    transition: all 0.3s ease;
    height: 100%;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}

.why-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.1);
}

.why-card i {
    font-size: 2.5rem;
    margin-bottom: 15px;
}

/* ==================== TESTIMONIALS SECTION ==================== */
.testimonials-section {
    padding: 60px 0;
    background: white;
}

.testimonial-card-icon {
    padding: 25px;
    background: white;
    border-radius: 20px;
    transition: all 0.3s ease;
    height: 100%;
    position: relative;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}

.testimonial-card-icon:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.1);
}

.testimonial-quote {
    font-size: 2rem;
    color: #008080;
    opacity: 0.3;
    margin-bottom: 15px;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: 20px;
}

.author-avatar {
    font-size: 2rem;
    color: #1A2C3E;
}

.testimonial-stars {
    margin-top: 10px;
    color: #ffc107;
    font-size: 0.8rem;
}

/* ==================== PRICING SECTION ==================== */
.pricing-section {
    padding: 60px 0;
    background: linear-gradient(135deg, #f8f9fa, #ffffff);
}

.pricing-card-icon {
    text-align: center;
    padding: 40px 30px;
    background: white;
    border-radius: 20px;
    transition: all 0.3s ease;
    height: 100%;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}

.pricing-card-icon.featured {
    transform: scale(1.02);
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
    border: 2px solid #008080;
    position: relative;
    z-index: 1;
}

.pricing-card-icon.featured:hover {
    transform: scale(1.02) translateY(-5px);
}

.pricing-card-icon:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.1);
}

.pricing-badge-icon {
    display: inline-block;
    padding: 5px 15px;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 600;
    margin-bottom: 20px;
}

.pricing-price {
    font-size: 2.5rem;
    font-weight: bold;
    margin: 20px 0;
}

.pricing-price .currency {
    font-size: 1rem;
    vertical-align: super;
}

.pricing-price .period {
    font-size: 1rem;
    font-weight: normal;
}

.pricing-features {
    list-style: none;
    padding: 0;
    margin: 20px 0;
    text-align: left;
}

.pricing-features li {
    padding: 10px 0;
    display: flex;
    align-items: center;
    gap: 10px;
}

.pricing-features i {
    width: 20px;
}

/* ==================== FAQ SECTION ==================== */
.faq-section {
    padding: 60px 0;
    background: white;
}

.accordion-item {
    border: none;
    margin-bottom: 15px;
    border-radius: 15px !important;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

.accordion-button {
    padding: 20px;
    font-weight: 600;
    background-color: white;
    font-size: 1rem;
}

.accordion-button:not(.collapsed) {
    background-color: #008080;
    color: white;
    box-shadow: none;
}

.accordion-button:focus {
    box-shadow: none;
    border-color: none;
}

.accordion-button:not(.collapsed)::after {
    filter: brightness(0) invert(1);
}

/* ==================== CTA SECTION ==================== */
.cta-section {
    padding: 80px 0;
    background: linear-gradient(135deg, #008080 0%, #1A2C3E 100%);
    color: white;
}

.cta-icon {
    font-size: 3rem;
    margin-bottom: 20px;
    animation: bounce 2s ease-in-out infinite;
}

@keyframes bounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

/* ==================== RESPONSIVE ADJUSTMENTS ==================== */
@media (max-width: 1200px) {
    .hero-title {
        font-size: 2.5rem;
    }
    
    .display-5 {
        font-size: 2rem;
    }
}

@media (max-width: 992px) {
    .hero-section {
        padding: 60px 0;
        min-height: auto;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
    }
    
    .trust-badges {
        justify-content: center;
    }
    
    .hero-illustration {
        width: 280px;
        height: 280px;
        margin-top: 40px;
    }
    
    .illustration-circle {
        width: 120px;
        height: 120px;
        font-size: 3rem;
    }
    
    .display-5 {
        font-size: 1.75rem;
    }
    
    .pricing-card-icon.featured {
        transform: scale(1);
        margin-top: 20px;
    }
}

@media (max-width: 768px) {
    .hero-section {
        padding: 50px 0;
    }
    
    .hero-title {
        font-size: 1.75rem;
    }
    
    .section-icon {
        width: 50px;
        height: 50px;
        font-size: 1.2rem;
    }
    
    .stat-icon-wrapper {
        width: 60px;
        height: 60px;
    }
    
    .stat-card-icon h2 {
        font-size: 1.5rem;
    }
    
    .step-card-icon, .feature-card-icon, .why-card, .testimonial-card-icon {
        margin-bottom: 20px;
    }
    
    .incident-card {
        flex-direction: column;
        text-align: center;
    }
    
    .incident-icon {
        margin: 0 auto;
    }
    
    .feature-illustration {
        margin-bottom: 30px;
    }
    
    .feature-highlight {
        text-align: center;
    }
    
    .highlight-item {
        justify-content: center;
    }
    
    .floating-elements {
        display: none;
    }
    
    .pricing-features {
        text-align: left;
    }
    
    .trust-badges {
        gap: 1rem;
    }
    
    .trust-badges i {
        font-size: 1.2rem;
    }
    
    .trust-badges p {
        font-size: 0.7rem;
    }
    
    .btn-lg {
        padding: 10px 20px;
        font-size: 0.9rem;
    }
}

@media (max-width: 576px) {
    .hero-title {
        font-size: 1.5rem;
    }
    
    .display-5 {
        font-size: 1.5rem;
    }
    
    .section-icon {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }
    
    .stat-card-icon {
        padding: 10px;
    }
    
    .stat-icon-wrapper {
        width: 50px;
        height: 50px;
    }
    
    .pricing-price {
        font-size: 2rem;
    }
    
    .accordion-button {
        padding: 15px;
        font-size: 0.9rem;
    }
    
    .btn-lg {
        padding: 8px 16px;
        font-size: 0.85rem;
    }
    
    .container {
        padding-left: 15px;
        padding-right: 15px;
    }
}

/* ==================== UTILITY CLASSES ==================== */
.text-truncate-2 {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.shadow-hover {
    transition: box-shadow 0.3s ease;
}

.shadow-hover:hover {
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
}

/* ==================== PRINT STYLES ==================== */
@media print {
    .hero-section, .search-section, .featured-operators-section, 
    .incidents-section, .why-choose-us-section, .cta-section,
    .btn, .pricing-card-icon, .feature-card-icon {
        break-inside: avoid;
    }
    
    .hero-illustration {
        display: none;
    }
}