/* Index Page Custom Styles */

/* Navbar specific styles for index page */
.navbar-brand {
    float: left;
}

.navbar-brand img {
    height: 43px;
}

.navbar-toggler {
    float: right;
    margin-right: 0px;
}

/* Hero Carousel Styles */
.hero-carousel-section {
    position: relative;
    padding: 60px 0;
}

.hero-carousel-wrapper {
    position: relative;
    overflow: visible;
}

.hero-carousel {
    position: relative;
    width: 100%;
}

.hero-slide {
    display: none;
    opacity: 0;
    transition: opacity 0.5s ease-in-out;
}

.hero-slide.active {
    display: block;
    opacity: 1;
}

/* Carousel Controls (Arrows) */
.hero-carousel-control {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.9);
    border: 2px solid #b0e5da;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 10;
    font-size: 24px;
    color: #b0e5da;
}

.hero-carousel-control:hover {
    background: #b0e5da;
    color: white;
    transform: translateY(-50%) scale(1.1);
}

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

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

/* Carousel Indicators */
.hero-carousel-indicators {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 12px;
    z-index: 10;
}

.hero-carousel-indicators .indicator {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    border: 2px solid #b0e5da;
    cursor: pointer;
    transition: all 0.3s ease;
    padding: 0;
}

.hero-carousel-indicators .indicator:hover {
    background: rgba(176, 229, 218, 0.7);
    transform: scale(1.2);
}

.hero-carousel-indicators .indicator.active {
    background: #b0e5da;
    width: 30px;
    border-radius: 6px;
}

/* Hero section shapes */
.hero-shape-top {
    height: 150px;
    overflow: hidden;
    -moz-transform: scale(-1, -1);
}

.hero-shape-top svg {
    height: 100%;
    width: 100%;
}

.hero-shape-bottom {
    height: 150px;
    overflow: hidden;
}

.hero-shape-bottom svg {
    height: 100%;
    width: 100%;
}

/* Benefits section shapes */
.benefits-shape-top {
    height: 200px;
    overflow: hidden;
}

.benefits-shape-top svg {
    height: 100%;
    width: 100%;
}

.benefits-shape-top path {
    stroke: none;
    fill: #fff;
}

/* Footer shapes */
.footer-shape-top {
    height: 150px;
    overflow: hidden;
    -moz-transform: scale(-1, -1);
}

.footer-shape-top svg {
    height: 100%;
    width: 100%;
}

.footer-shape-bottom {
    height: 150px;
    overflow: hidden;
}

.footer-shape-bottom svg {
    height: 100%;
    width: 100%;
}

.footer-main-shape {
    height: 150px;
    overflow: hidden;
}

.footer-main-shape svg {
    height: 100%;
    width: 100%;
}

.footer-main-shape path {
    stroke: none;
    fill: #fff;
}

/* Form input styling */
#mc-email {
    height: 60px;
    border-radius: 0.375rem;
    border: 1px solid #dee2e6;
    transition: border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
}

#mc-email:focus {
    border-color: #28a745;
    box-shadow: 0 0 0 0.2rem rgba(40, 167, 69, 0.25);
}

/* Footer logo styling */
.footer-logo img {
    height: 36px;
    width: 36px;
    transition: transform 0.3s ease;
}

.footer-logo img:hover {
    transform: scale(1.05);
}

/* Responsive adjustments */
@media (max-width: 991.98px) {
    .navbar-brand {
        float: none;
    }
    
    .navbar-toggler {
        float: none;
        margin-right: 0;
    }
    
    .navbar-brand img {
        height: 38px;
    }
}

@media (max-width: 991.98px) {
    /* Hero Carousel Tablet Adjustments */
    .hero-carousel-control.prev {
        left: 10px;
    }
    
    .hero-carousel-control.next {
        right: 10px;
    }
}

@media (max-width: 767.98px) {
    .hero-shape-top,
    .hero-shape-bottom,
    .benefits-shape-top,
    .footer-shape-top,
    .footer-shape-bottom,
    .footer-main-shape {
        height: 100px;
    }
    
    .footer-logo img {
        height: 32px;
        width: 32px;
    }
    
    /* Hero Carousel Mobile Adjustments */
    .hero-carousel-section {
        padding: 30px 0;
    }
    
    /* Hide arrows on mobile - we have swipe + indicators */
    .hero-carousel-control {
        display: none !important;
    }
    
    .hero-carousel-indicators {
        bottom: 10px;
        gap: 8px;
    }
    
    .hero-carousel-indicators .indicator {
        width: 10px;
        height: 10px;
    }
    
    .hero-carousel-indicators .indicator.active {
        width: 24px;
    }
    
    /* Center content on mobile */
    .hero-slide .col-12.col-lg-7 {
        text-align: center;
    }
    
    .hero-slide .counter {
        display: flex;
        justify-content: center;
    }
    
    .hero-slide .btn {
        margin: 0 auto;
        display: inline-block;
    }
}
