/* Custom Variables */
:root {
    --yellow: #F25151;
    --cobalt-blue: #00559B;
    --cerulean: #00559B;
    --turquoise: #00DAEB;
    --bright-blue: #56CFE2;
    --blue: #00559B;
    --bright-red: #F25151;
    --black: #000000;
    --white: #FFFFFF;
    --gray-100: #f8f9fa;
    --gray-200: #e9ecef;
    --gray-300: #dee2e6;
    --gray-800: #343a40;
}

/* General Styles */
body {
    font-family: 'Inter', 'Segoe UI', sans-serif;
    overflow-x: hidden;
    color: var(--gray-800);
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
}

.section-title {
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: var(--blue);
    position: relative;
    display: inline-block;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 60px;
    height: 3px;
    background-color: var(--bright-red);
}

.btn {
    transition: all 0.3s ease;
    font-weight: 600;
}

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

.btn-primary:hover, .btn-primary:focus {
    background-color: var(--bright-blue);
    border-color: var(--bright-blue);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.btn-outline-primary {
    color: var(--blue);
    border-color: var(--blue);
}

.btn-outline-primary:hover {
    background-color: var(--bright-blue);
    border-color: var(--bright-blue);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

/* Navbar Styles */
#mainNav {
    transition: all 0.5s ease;
    background-color: transparent;
    padding: 1rem 0;
    /* Adding a subtle gradient with the new blue */
    background-image: linear-gradient(to right, rgba(0, 85, 155, 0.1), transparent);
}

#mainNav .navbar-brand img {
    transition: all 0.3s ease;
    border-radius: 8px; /* Add rounded corners */
    background-color: #fff; /* White background */
    padding: 4px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

#mainNav.navbar-scrolled {
    background-color: rgba(0, 0, 0, 0.9);
    padding: 0.5rem 0;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.1);
}

#mainNav.navbar-scrolled .navbar-brand img {
    /* Add a subtle blue shadow when scrolled */
    box-shadow: 0 2px 10px rgba(0, 85, 155, 0.2);
}

.navbar-dark .navbar-nav .nav-link {
    color: var(--white);
    font-weight: 500;
    padding: 0.5rem 1rem;
    position: relative;
    transition: all 0.3s ease;
}

.navbar-dark .navbar-nav .nav-link:after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: 0;
    left: 0;
    background-color: var(--yellow);
    transition: all 0.3s ease;
}

.navbar-dark .navbar-nav .nav-link:hover:after,
.navbar-dark .navbar-nav .active:after {
    width: 100%;
}

/* Carousel Section */
.carousel-section {
    margin-top: 0;
    padding-top: 0;
    position: relative;
    height: 100vh;
    overflow: hidden;
}

.carousel-item {
    height: 100vh;
    min-height: 500px;
    background: no-repeat center center scroll;
    background-size: cover;
}

.carousel-item img {
    object-fit: cover;
    height: 100vh;
    width: 100%;
    filter: brightness(0.6);
}

.carousel-caption {
    bottom: 20%;
    z-index: 10;
}

.carousel-caption h1 {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

.carousel-caption p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

/* About Section */
#about {
    padding: 100px 0;
    background-color: var(--white);
}

.app-image-container {
    position: relative;
    display: inline-block;
}

.app-image {
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
    border: 8px solid white;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.app-image:hover {
    transform: translateY(-10px);
}

.floating-badge {
    position: absolute;
    padding: 10px 15px;
    background: white;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    border-radius: 50px;
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 600;
    z-index: 10;
}

.badge-users {
    top: -15px;
    right: 20px;
    color: var(--cobalt-blue);
}

.badge-rating {
    bottom: 20px;
    left: -15px;
    color: var(--yellow);
}

.badge-users i, .badge-rating i {
    font-size: 1.2rem;
}

/* Features Section */
.features-section {
    background-color: var(--gray-100);
    padding: 100px 0;
}

.features-section .card {
    border-radius: 15px;
    border: none;
    overflow: hidden;
}

.quote-box {
    padding: 2rem;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.fa-quote-left {
    color: var(--yellow);
    opacity: 0.2;
    margin-bottom: 1rem;
}

.blockquote {
    font-size: 1.5rem;
    font-weight: 300;
    line-height: 1.6;
}

.blockquote-footer {
    color: var(--cobalt-blue);
    font-weight: 500;
}

.feature-item {
    text-align: center;
    padding: 1.5rem;
    transition: all 0.3s ease;
    border-radius: 15px;
}

.feature-item:hover {
    background-color: rgba(0, 159, 235, 0.05);
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

.feature-icon {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 80px;
    height: 80px;
    border-radius: 20px;
    margin-bottom: 1.5rem;
    color: var(--white);
    font-size: 2rem;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
    position: relative;
    z-index: 1;
    overflow: hidden;
}

.feature-icon::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--cobalt-blue), var(--cerulean));
    z-index: -1;
    transition: all 0.3s ease;
}

.feature-item:nth-child(1) .feature-icon::before {
    background: linear-gradient(135deg, var(--bright-red), var(--yellow));
}

.feature-item:nth-child(2) .feature-icon::before {
    background: linear-gradient(135deg, var(--blue), #3D73DD);
}

.feature-item:nth-child(3) .feature-icon::before {
    background: linear-gradient(135deg, var(--bright-blue), #26B4FF);
}

.feature-item:nth-child(4) .feature-icon::before {
    background: linear-gradient(135deg, var(--turquoise), #4DE5F1);
}

.feature-item:hover .feature-icon {
    transform: scale(1.1);
}

.feature-item h4 {
    margin-bottom: 1rem;
    font-weight: 600;
    color: var(--cobalt-blue);
}

/* Call to Action Section */
.cta-section {
    background: linear-gradient(135deg, var(--blue), var(--bright-blue));
    color: white;
    padding: 80px 0;
}

.cta-section h2 {
    font-weight: 700;
    margin-bottom: 1rem;
}

.cta-section .btn-primary {
    background-color: var(--yellow);
    border-color: var(--yellow);
}

.cta-section .btn-primary:hover {
    background-color: #d38509;
    border-color: #d38509;
}

.cta-section .btn-outline-primary {
    color: white;
    border-color: white;
}

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

/* Footer */
footer {
    background-color: #212529;
}

footer h5 {
    color: var(--white);
    font-weight: 600;
    margin-bottom: 1.5rem;
}

footer a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: color 0.3s ease;
}

footer a:hover {
    color: var(--yellow);
}

footer .social-icons a {
    font-size: 1.5rem;
    transition: all 0.3s ease;
    display: inline-flex;
    width: 40px;
    height: 40px;
    justify-content: center;
    align-items: center;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
}

footer .social-icons a:hover {
    transform: translateY(-3px);
    background-color: var(--cobalt-blue);
    color: white;
}

footer hr {
    background-color: rgba(255, 255, 255, 0.1);
}

/* Logo Styling */
.logo-img {
    border-radius: 8px;
    background-color: #fff;
    padding: 4px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

/* Custom Button Styles */
.btn-cobalt {
    background-color: var(--cobalt-blue);
    border-color: var(--cobalt-blue);
    color: white;
}

.btn-cobalt:hover, .btn-cobalt:focus {
    background-color: var(--bright-blue);
    border-color: var(--bright-blue);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

/* Responsive Adjustments */
@media (max-width: 992px) {
    .carousel-caption h1 {
        font-size: 2.5rem;
    }
    
    .carousel-caption p {
        font-size: 1rem;
    }
    
    .blockquote {
        font-size: 1.2rem;
    }
    
    .feature-icon {
        width: 70px;
        height: 70px;
        font-size: 1.8rem;
    }
    
    #about, .features-section {
        padding: 80px 0;
    }
}

/* Contact Page Styles */
.contact-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    border-radius: 10px;
    background: linear-gradient(135deg, var(--blue), var(--bright-blue));
    color: white;
    font-size: 1.2rem;
}

.contact-info {
    border-left: 4px solid var(--blue);
    background-color: rgba(0, 85, 155, 0.05);
    border-radius: 0 15px 15px 0;
}

.map-container {
    border-radius: 15px;
    overflow: hidden;
}

/* Form styling */
.form-control {
    padding: 12px;
    border-radius: 10px;
    border: 1px solid var(--gray-300);
    transition: all 0.3s ease;
}

.form-control:focus {
    box-shadow: 0 0 0 3px rgba(0, 85, 155, 0.2);
    border-color: var(--blue);
}

.form-label {
    font-weight: 500;
    margin-bottom: 8px;
    color: var(--gray-800);
}

@media (max-width: 768px) {
    .carousel-caption {
        bottom: 10%;
    }
    
    .carousel-caption h1 {
        font-size: 2rem;
    }
    
    #about, .features-section, .cta-section {
        padding: 60px 0;
    }
    
    .quote-box {
        padding: 1rem 0;
        margin-bottom: 2rem;
    }
    
    .floating-badge {
        padding: 6px 12px;
        font-size: 0.8rem;
    }
    
    .badge-users i, .badge-rating i {
        font-size: 1rem;
    }
    
    .contact-info {
        margin-bottom: 2rem;
    }
    
    /* Ensure the logo doesn't cover buttons in mobile view */
    #about .app-image-container .logo-img {
        max-width: 100px;
        margin-bottom: 2rem;
    }
    
    #about .mt-4 {
        margin-top: 3rem !important;
        position: relative;
        z-index: 10;
    }
    
    #about .app-image-wrapper {
        height: auto !important;
        min-height: 400px;
        margin-bottom: 2rem;
    }
    
    #about .app-screens {
        flex-direction: column;
        align-items: center;
    }
    
    #about .phone-mockup {
        margin-bottom: 1rem;
    }
    
    #about .phone-mockup.me-4 {
        margin-right: 0 !important;
    }
}

/* Cookie Notification Styles */
.cookie-notification {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background-color: rgba(33, 37, 41, 0.95);
    color: white;
    padding: 15px 0;
    z-index: 9999;
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.1);
    transform: translateY(100%);
    transition: transform 0.3s ease-in-out;
}

.cookie-notification.show {
    transform: translateY(0);
}

.cookie-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.cookie-content p {
    margin: 0;
    font-size: 14px;
}

.cookie-content a {
    color: var(--yellow);
    text-decoration: underline;
}

.cookie-content a:hover {
    color: var(--bright-blue);
}

@media (max-width: 768px) {
    .cookie-content {
        flex-direction: column;
        text-align: center;
        gap: 10px;
        padding: 10px 0;
    }
}