/*
    Custom CSS for AquaFikr Landing Page
*/

/* ------------------------ */
/* 1. Global Styles    */
/* ------------------------ */

:root {
    --primary-color: #007bff; /* A vibrant blue */
    --secondary-color: #33a3ff; /* A lighter aqua/sky blue */
    --dark-color: #1a253c;
    --light-color: #f8f9fa;
    --text-color: #555;
    --heading-font: 'Poppins', sans-serif;
    --body-font: 'Poppins', sans-serif;
}

body {
    font-family: var(--body-font);
    color: var(--text-color);
    line-height: 1.7;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--heading-font);
    font-weight: 600;
    color: var(--dark-color);
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.section-subtitle {
    font-size: 1.1rem;
    color: #777;
    max-width: 600px;
    margin: 0 auto;
}

.btn-primary {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    padding: 12px 30px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.btn-primary:hover {
    background-color: #0056b3;
    border-color: #0056b3;
    transform: translateY(-2px);
}

/* ------------------------ */
/* 2. Header & Navbar  */
/* ------------------------ */

.navbar {
    transition: background-color 0.4s ease, padding 0.4s ease;
}

.navbar-brand {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--primary-color);
}
.navbar-brand:hover {
    color: var(--dark-color);
}
.navbar-brand i {
    color: var(--secondary-color);
}

.nav-link {
    font-weight: 500;
    color: #333;
    transition: color 0.3s;
}

.nav-link:hover {
    color: var(--primary-color);
}

.navbar.navbar-scrolled {
    background-color: rgba(255, 255, 255, 0.95);
    padding-top: 5px;
    padding-bottom: 5px;
    box-shadow: 0 3px 10px rgba(0,0,0,0.1);
    backdrop-filter: blur(5px);
}

/* ------------------------ */
/* 3. Hero Section     */
/* ------------------------ */

.hero-section {
    min-height: 100vh;
    background: linear-gradient(to right, rgba(240, 247, 255, 0.9), rgba(225, 239, 255, 0.9));
    color: var(--dark-color);
}

.hero-headline {
    font-size: 3.5rem;
    font-weight: 700;
    line-height: 1.2;
}

.hero-subheadline {
    font-size: 1.2rem;
    color: #444;
}

.hero-image {
    max-width: 100%;
    animation: float 4s ease-in-out infinite;
}

@keyframes float {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-20px); }
    100% { transform: translateY(0px); }
}

@media (max-width: 991.98px) {
    .hero-headline { font-size: 2.8rem; }
}

/* ------------------------ */
/* 4. Features Section   */
/* ------------------------ */

.feature-card {
    background: #fff;
    padding: 30px;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    transition: all 0.3s ease;
    height: 100%;
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
}

.feature-icon {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 15px;
    display: inline-block;
}

.feature-card h3 {
    font-size: 1.25rem;
    margin-bottom: 10px;
}

/* ------------------------ */
/* 5. How It Works Section */
/* ------------------------ */

.timeline {
    position: relative;
}

.timeline::before {
    content: '';
    position: absolute;
    width: 2px;
    background-color: #e9ecef;
    top: 20px;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
}

.timeline-step {
    text-align: center;
    position: relative;
    margin-bottom: 30px;
}
.timeline-icon {
    width: 60px;
    height: 60px;
    background: var(--primary-color);
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 1.5rem;
    font-weight: 700;
    border: 5px solid #fff;
    box-shadow: 0 0 0 3px var(--primary-color);
}
@media (max-width: 767.98px) {
    .timeline::before { display: none; }
    .timeline-step { text-align: left; display: flex; align-items: flex-start; }
    .timeline-icon { margin: 0 20px 0 0; }
}

/* ------------------------ */
/* 6. Video Demo Section  */
/* ------------------------ */
.video-container {
    position: relative;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}
.video-thumbnail {
    cursor: pointer;
}
.play-button {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 90px;
    height: 90px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    border: none;
    color: #fff;
    font-size: 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(5px);
    transition: all 0.3s ease;
}
.play-button:hover {
    transform: translate(-50%, -50%) scale(1.1);
    background: rgba(0, 123, 255, 0.8);
}

/* ------------------------ */
/* 7. Testimonials Section */
/* ------------------------ */
.testimonial-card {
    text-align: center;
    max-width: 700px;
    margin: 0 auto;
    padding: 30px;
}
.testimonial-img {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 20px;
    border: 4px solid #fff;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}
.testimonial-text {
    font-style: italic;
    font-size: 1.1rem;
    margin-bottom: 20px;
}
.testimonial-name {
    font-weight: 700;
    color: var(--primary-color);
}
.carousel-control-prev-icon,
.carousel-control-next-icon {
    background-color: var(--dark-color);
    border-radius: 50%;
}


/* ------------------------ */
/* 8. Pricing Section   */
/* ------------------------ */
.pricing-card {
    background: #fff;
    border: 1px solid #e9ecef;
    border-radius: 10px;
    padding: 30px;
    text-align: center;
    transition: all 0.3s ease;
    height: 100%;
    position: relative;
    overflow: hidden;
}
.pricing-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.08);
}
.pricing-card.recommended {
    border: 2px solid var(--primary-color);
}
.recommended-badge {
    position: absolute;
    top: 15px;
    right: -30px;
    background: var(--primary-color);
    color: #fff;
    padding: 5px 30px;
    transform: rotate(45deg);
    font-size: 0.8rem;
    font-weight: 600;
}
.pricing-card h3 {
    font-weight: 700;
    font-size: 1.5rem;
}
.pricing-card h4 {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin: 20px 0;
}
.pricing-card h4 span {
    font-size: 1rem;
    color: #777;
}
.pricing-card ul {
    list-style: none;
    padding: 0;
    margin-bottom: 30px;
}
.pricing-card ul li {
    margin-bottom: 10px;
}
.pricing-card ul li .fa-check { color: #28a745; }
.pricing-card ul li .fa-times { color: #dc3545; }

/* ------------------------ */
/* 9. FAQ Section     */
/* ------------------------ */
.accordion-item {
    border: 1px solid #e9ecef;
    margin-bottom: 10px;
    border-radius: 5px !important;
}
.accordion-button {
    font-weight: 600;
    color: var(--dark-color);
}
.accordion-button:not(.collapsed) {
    color: #fff;
    background-color: var(--primary-color);
}
.accordion-button:focus {
    box-shadow: 0 0 0 0.25rem rgba(0, 123, 255, .25);
}

/* ------------------------ */
/* 10. Contact Section  */
/* ------------------------ */
#contactForm .form-control {
    padding: 12px 15px;
    border-radius: 5px;
}
#contactForm .form-control:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.25rem rgba(0, 123, 255, .25);
}
#form-message {
    display: none;
}

/* ------------------------ */
/* 11. Footer         */
/* ------------------------ */
.footer {
    background-color: var(--dark-color);
    color: rgba(255, 255, 255, 0.7);
}
.footer h6 {
    color: #fff;
}
.footer a {
    text-decoration: none;
    transition: color 0.3s;
}
.footer a:hover {
    color: var(--primary-color);
}
.btn-social {
    color: #fff;
    border: 1px solid #fff;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}
.btn-social:hover {
    color: var(--dark-color);
    background-color: #fff;
}
/* ------------------------ */
/* 12. Utility Classes & Misc  */
/* ------------------------ */

#back-to-top-btn {
    position: fixed;
    bottom: 20px;
    right: 20px;
    display: none;
    width: 40px;
    height: 40px;
    background-color: var(--primary-color);
    color: #fff;
    border-radius: 50%;
    text-align: center;
    line-height: 40px;
    font-size: 1rem;
    z-index: 1000;
    transition: all 0.3s ease;
}

#back-to-top-btn:hover {
    background-color: #0056b3;
    transform: translateY(-3px);
}