/* Outer Home Page Styles */

/* Base Styles */
html, body {
    overflow-x: hidden !important;
    max-width: 100vw !important;
}

/* CSS Custom Properties for navbar heights */
:root {
    --navbar-height-desktop: 80px;
    --navbar-height-mobile: 70px;
    --navbar-height-small: 65px;
}

/* Fixed navbar spacing fix */
body {
    padding-top: 0; /* Reset any default padding */
}

/* Ensure body accounts for fixed navbar */
body.lw-outer-home-page {
    position: relative;
}

/* Target the first section specifically */
body.lw-outer-home-page .lw-masthead {
    min-height: 100vh;
    display: flex;
    align-items: center;
}

/* Masthead base styles */
.lw-masthead {
    padding-top: 160px; /* Increased base padding for more breathing room */
    padding-bottom: 80px;
}

/* Ensure masthead content is not covered by fixed navbar */
.lw-masthead .container {
    position: relative;
    z-index: 10;
}

/* Additional safety margin for fixed navbar */
.navbar.fixed-top + .lw-masthead,
.lw-masthead {
    margin-top: 0 !important;
    padding-top: 180px !important; /* Increased for more breathing room */
}

/* For Bootstrap navbar specifically */
.navbar-expand-lg.fixed-top {
    z-index: 1030;
}

.lw-masthead {
    z-index: 1;
    position: relative;
}

/* Extra safety rule for mobile devices */
@media (max-width: 768px) {
    .navbar.fixed-top + .lw-masthead,
    .lw-masthead {
        padding-top: 160px !important; /* Increased mobile padding */
    }
}

@media (max-width: 576px) {
    .navbar.fixed-top + .lw-masthead,
    .lw-masthead {
        padding-top: 150px !important; /* Increased for smaller screens */
    }
}

/* Button Styles */
.btn-primary-green {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 28px;
    background-color: #22c55e;
    color: white;
    text-decoration: none;
    border-radius: 12px;
    font-weight: 600;
    font-size: 15px;
    transition: all 0.3s ease;
    border: none;
    white-space: nowrap;
    height: 48px;
    box-sizing: border-box;
}

.btn-primary-green:hover {
    background-color: #16a34a;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(34, 197, 94, 0.4);
    color: white;
}

.btn-outline-green {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 28px;
    background-color: transparent;
    color: #22c55e;
    text-decoration: none;
    border-radius: 12px;
    font-weight: 600;
    font-size: 15px;
    border: 2px solid #22c55e;
    transition: all 0.3s ease;
    white-space: nowrap;
    height: 48px;
    box-sizing: border-box;
}

.btn-outline-green:hover {
    background-color: #22c55e;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(34, 197, 94, 0.3);
}

.btn-arrow::after {
    content: "→";
    font-size: 30px;
    margin-left: 8px;
    font-weight: bold;
}

/* Hero Section */
.hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    line-height: 1.2;
}

.hero-title-green {
    color: #22c55e;
}

.hero-title-dark {
    color: #1f2937;
    margin-top: 10px;
}

.hero-subtitle {
    font-size: 1.2rem;
    color: #6b7280;
    margin-top: 20px;
    line-height: 1.6;
}

.hero-subtitle-small {
    font-size: 1.1rem;
    color: #9ca3af;
    margin-top: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

/* Animations */
@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-animation {
    opacity: 0;
    transform: translateY(30px);
}

.hero-animation-1 { animation: fadeInUp 1.2s ease-out 0.3s forwards; }
.hero-animation-2 { animation: fadeInUp 1.2s ease-out 0.6s forwards; }
.hero-animation-3 { animation: fadeInUp 1s ease-out 1.2s forwards; }
.hero-animation-4 { animation: fadeInUp 1s ease-out 1.5s forwards; }
.hero-animation-5 { animation: fadeInUp 1s ease-out 2s forwards; }

/* Logo Carousel */
.logo-carousel-container {
    overflow: hidden;
    position: relative;
}

.logo-carousel {
    display: flex;
    animation: scroll 10s linear infinite;
    white-space: nowrap;
}

.logo-item {
    flex: 0 0 auto;
    margin: 0 35px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.logo-item img {
    height: 45px;
    width: auto;
    opacity: 1;
    transition: all 0.3s ease;
}

@keyframes scroll {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

.logo-carousel-container:hover .logo-carousel {
    animation-play-state: paused;
}

.logo-item:hover img {
    transform: scale(1.05);
}

/* Feature Sections */
.feature-section {
    padding: 80px 0;
}

.feature-content {
    padding-right: 40px;
}

.feature-title {
    font-size: 2.8rem;
    color: #1f2937;
    margin-bottom: 20px;
    line-height: 1.2;
}

.feature-description {
    font-size: 1.1rem;
    color: #6b7280;
    margin-bottom: 35px;
    line-height: 1.6;
}

.features-list {
    margin-bottom: 35px;
}

.feature-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 20px;
}

.feature-icon {
    border-radius: 8px;
    padding: 8px;
    margin-right: 15px;
    flex-shrink: 0;
}

.feature-icon-red {
    background: #fef2f2;
    color: #ef4444;
}

.feature-icon-blue {
    background: #f0f9ff;
    color: #0ea5e9;
}

.feature-icon-gray {
    background: #f3f4f6;
    color: #6b7280;
}

.feature-item-title {
    color: #1f2937;
    font-weight: 600;
    margin-bottom: 5px;
    font-size: 1.1rem;
}

.feature-item-text {
    color: #6b7280;
    margin-bottom: 0;
    font-size: 0.95rem;
    line-height: 1.5;
}

/* Footer Styles */
.modern-footer {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    position: relative;
    z-index: 1;
}

.modern-footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, #dee2e6, transparent);
}

.footer-main {
    border-bottom: 1px solid #dee2e6;
}

.footer-logo-img {
    max-height: 50px;
    width: auto;
}

.footer-description {
    color: #6c757d;
    font-size: 14px;
    line-height: 1.6;
}

.footer-title {
    color: #212529;
    font-weight: 600;
    font-size: 16px;
    margin-bottom: 1.5rem !important;
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 8px;
}

.footer-links a {
    color: #6c757d;
    text-decoration: none;
    font-size: 14px;
    transition: all 0.3s ease;
    display: inline-block;
}

.footer-links a:hover {
    color: #28a745;
    transform: translateX(3px);
}

.social-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: #ffffff;
    border: 1px solid #dee2e6;
    border-radius: 50%;
    color: #6c757d;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
}

.social-link:hover,
.social-link:focus,
.social-link:active {
    background: #28a745 !important;
    color: #ffffff !important;
    border-color: #28a745 !important;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(40, 167, 69, 0.3);
    outline: none !important;
}

.footer-bottom {
    background: #ffffff;
    border-top: 1px solid #dee2e6;
}

.copyright-text {
    color: #6c757d;
    font-size: 14px;
}

/* Mobile Navigation Styles */
.navbar-toggler {
    border: none;
    padding: 4px 8px;
    font-size: 14px;
}

.navbar-collapse {
    background: white;
    border-radius: 8px;
    margin-top: 10px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

/* Hero Mobile Adjustments */
.hero-buttons-container {
    display: flex;
    flex-direction: column;
    gap: 12px;
    align-items: center;
    width: 100%;
}

/* Feature Section Mobile */
.feature-section {
    padding: 60px 0;
}

.feature-content {
    padding: 0 15px;
    margin-bottom: 30px;
}

.feature-image-container {
    padding: 0 15px;
}

/* Testimonials Mobile */
.testimonial-card {
    margin-bottom: 20px;
}

/* Logo Carousel Mobile */
.logo-carousel-container {
    padding: 0 10px;
}

/* Advanced Features Mobile */
.advanced-feature-card {
    margin-bottom: 20px;
    padding: 20px;
}

/* Responsive Styles */
@media (max-width: 991px) {
    .feature-content {
        padding-right: 0 !important;
        padding-left: 0 !important;
        margin-bottom: 40px;
        text-align: center;
    }
    
    .feature-title {
        font-size: 2.4rem;
    }
    
    .feature-description {
        font-size: 1rem;
    }
    
    .features-list {
        text-align: left;
        max-width: 500px;
        margin: 0 auto 35px auto;
    }
}

@media (max-width: 768px) {
    /* Container padding adjustments */
    .container {
        padding-left: 20px;
        padding-right: 20px;
    }
    
    /* Hero title mobile spacing */
    .lw-title.ubuntu-bold {
        margin-top: 60px !important;
    }
    
    /* Hero Section Mobile */
    .lw-masthead {
        padding: 140px 0 50px 0 !important; /* Increased mobile padding for more breathing room */
        margin-top: 0 !important;
    }
    
    .hero-title {
        font-size: 2.2rem !important;
        line-height: 1.1;
        margin-bottom: 15px;
    }
    
    .hero-subtitle {
        font-size: 1rem !important;
        margin-top: 15px !important;
        line-height: 1.4;
    }
    
    .hero-subtitle-small {
        font-size: 0.9rem !important;
        margin-top: 10px !important;
    }
    
    .hero-buttons-animation {
        flex-direction: column !important;
        gap: 12px !important;
        margin-top: 25px !important;
    }
    
    .btn-primary-green,
    .btn-outline-green {
        width: 100%;
        max-width: 280px;
        padding: 14px 24px;
        font-size: 15px;
        height: auto;
    }
    
    /* Dashboard Preview Mobile */
    .lw-dashboard-preview {
        padding: 30px 0 !important;
    }
    
    .dashboard-image-container {
        padding: 0 10px;
    }
    
    /* Feature Sections Mobile */
    .feature-section {
        padding: 50px 0 !important;
    }
    
    .feature-title {
        font-size: 2rem !important;
        margin-bottom: 15px !important;
        line-height: 1.2;
    }
    
    .feature-description {
        font-size: 0.95rem !important;
        margin-bottom: 25px !important;
    }
    
    .feature-item {
        margin-bottom: 15px !important;
    }
    
    .feature-item-title {
        font-size: 1rem !important;
    }
    
    .feature-item-text {
        font-size: 0.85rem !important;
    }
    
    .feature-icon {
        width: 40px !important;
        height: 40px !important;
        margin-right: 12px !important;
    }
    
    .feature-icon i {
        font-size: 14px !important;
    }
    
    /* Logo Carousel Mobile */
    .lw-testimonials-section h2 {
        font-size: 2rem !important;
        margin-bottom: 15px !important;
    }
    
    .lw-testimonials-section p {
        font-size: 0.95rem !important;
    }
    
    .logo-item {
        margin: 0 15px !important;
    }
    
    .logo-item img {
        height: 35px !important;
    }
    
    /* Forms Section Header Mobile */
    .lw-forms-section {
        padding: 30px 0 !important;
    }
    
    .lw-forms-section h2 {
        font-size: 1.8rem !important;
        line-height: 1.2 !important;
        margin-bottom: 15px !important;
    }
    
    .lw-forms-section p {
        font-size: 0.9rem !important;
    }
    
    /* Advanced Features Mobile */
    .lw-advanced-features-section {
        padding: 50px 0 !important;
    }
    
    .advanced-feature-card {
        padding: 25px 20px !important;
        margin-bottom: 15px !important;
    }
    
    /* Why WhatsApp Section Mobile */
    .lw-why-whatsapp-section {
        padding: 50px 0 !important;
    }
    
    .lw-why-whatsapp-section h2 {
        font-size: 2rem !important;
    }
    
    .stats-container {
        padding: 20px 15px !important;
        margin-top: 25px !important;
    }
    
    .stat-item {
        padding: 15px 0 !important;
    }
    
    .stat-number {
        font-size: 2rem !important;
    }
    
    .stat-label {
        font-size: 0.8rem !important;
    }
    
    /* Customer Testimonials Mobile */
    .lw-customer-testimonials-section {
        padding: 50px 0 !important;
    }
    
    .testimonial-card {
        padding: 20px !important;
        margin-bottom: 15px !important;
    }
    
    .customer-photo img {
        width: 80px !important;
        height: 80px !important;
    }
    
    .g2-badges-container {
        gap: 10px !important;
        margin-top: 30px !important;
    }
    
    .badge-item img {
        height: 60px !important;
    }
    
    /* Footer Mobile */
    .footer-main {
        text-align: center;
        padding: 40px 0 !important;
    }
    
    .footer-widget {
        margin-bottom: 30px;
    }
    
    .footer-description {
        font-size: 13px !important;
    }
    
    .footer-links a {
        font-size: 13px !important;
    }
    
    .social-link {
        margin: 0 8px;
        width: 35px;
        height: 35px;
    }
    
    .footer-bottom {
        padding: 20px 0 !important;
    }
}

@media (max-width: 576px) {
    /* Extra small screens */
    .container {
        padding-left: 15px;
        padding-right: 15px;
    }      /* Hero Section Extra Small */    .lw-masthead {
        padding: 130px 0 40px 0 !important; /* Increased padding for extra small screens */
    }
    
    .hero-title {
        font-size: 1.8rem !important;
        line-height: 1.1;
    }
    
    .hero-subtitle {
        font-size: 0.9rem !important;
        margin-top: 12px !important;
    }
    
    .hero-subtitle-small {
        font-size: 0.8rem !important;
        margin-top: 8px !important;
    }
    
    .btn-primary-green,
    .btn-outline-green {
        padding: 12px 20px;
        font-size: 14px;
        max-width: 250px;
    }
    
    /* Feature sections extra small */
    .feature-section {
        padding: 40px 0 !important;
    }
    
    .feature-title {
        font-size: 1.6rem !important;
        margin-bottom: 12px !important;
    }
    
    .feature-description {
        font-size: 0.85rem !important;
        margin-bottom: 20px !important;
    }
    
    .feature-item {
        margin-bottom: 12px !important;
    }
    
    .feature-icon {
        width: 35px !important;
        height: 35px !important;
        margin-right: 10px !important;
    }
    
    .feature-icon i {
        font-size: 12px !important;
    }
    
    .feature-item-title {
        font-size: 0.9rem !important;
        margin-bottom: 3px !important;
    }
    
    .feature-item-text {
        font-size: 0.8rem !important;
    }
    
    /* Logo carousel extra small */
    .lw-testimonials-section h2 {
        font-size: 1.6rem !important;
    }
    
    .logo-item {
        margin: 0 10px !important;
    }
    
    .logo-item img {
        height: 30px !important;
    }
    
    /* Forms section extra small */
    .lw-forms-section h2 {
        font-size: 1.5rem !important;
    }
    
    .lw-forms-section p {
        font-size: 0.8rem !important;
    }
    
    /* Advanced features extra small */
    .advanced-feature-card {
        padding: 20px 15px !important;
    }
    
    /* Footer extra small */
    .footer-main {
        padding: 30px 0 !important;
    }
    
    .footer-widget {
        margin-bottom: 25px;
    }
    
    .footer-logo-img {
        max-height: 40px !important;
    }
    
    .footer-description {
        font-size: 12px !important;
    }
    
    .footer-links a {
        font-size: 12px !important;
    }
    
    .social-link {
        width: 32px;
        height: 32px;
        margin: 0 5px;
    }
    
    .social-link i {
        font-size: 12px;
    }
}

/* Landscape phone adjustments */
@media (max-width: 768px) and (orientation: landscape) {
    .lw-masthead {
        padding: 100px 0 30px 0 !important; /* Adjusted for landscape mode */
    }
    
    .hero-title {
        font-size: 2rem !important;
    }
    
    .feature-section {
        padding: 40px 0 !important;
    }
}
