/* General Styles */
body {
    font-family: 'Poppins', sans-serif;
    color: #333;
    line-height: 1.6;
    background-color: #f8f9fa;
    overflow-x: hidden;
}

/* Custom Colors */
:root {
    --primary-color: #4CAF50; /* A fresh green */
    --primary-dark: #388E3C; /* Darker green for accents */
    --secondary-color: #f0f0f0; /* Light grey */
    --accent-color: #FFC107; /* Amber for highlights */
    --text-color-dark: #333;
    --text-color-light: #6c757d;
    --bg-light: #f8f9fa;
    --bg-white: #ffffff;
}

.text-primary-dark { color: var(--primary-dark) !important; }
.btn-primary, .custom-btn-gradient {
    background: linear-gradient(45deg, var(--primary-color), var(--primary-dark));
    border: none;
    transition: all 0.3s ease;
}
.btn-primary:hover, .custom-btn-gradient:hover {
    background: linear-gradient(45deg, var(--primary-dark), var(--primary-color));
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}
.btn-outline-primary {
    color: var(--primary-dark);
    border-color: var(--primary-dark);
}
.btn-outline-primary:hover {
    background-color: var(--primary-dark);
    color: white;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-dark);
    position: relative;
    display: inline-block;
    margin-bottom: 2rem;
}
.section-title::after {
    content: '';
    position: absolute;
    left: 50%;
    bottom: -10px;
    transform: translateX(-50%);
    width: 60px;
    height: 4px;
    background-color: var(--accent-color);
    border-radius: 2px;
}

/* Header and Navigation */
.fixed-top {
    z-index: 1030;
}
.navbar-brand .logo-img {
    height: 40px;
    width: auto;
}
.navbar-brand span {
    color: var(--primary-dark);
}
.navbar-nav .nav-link {
    color: var(--text-color-dark);
    font-weight: 500;
    padding: 0.5rem 1rem;
    transition: color 0.3s ease;
}
.navbar-nav .nav-link:hover, .navbar-nav .nav-link.active {
    color: var(--primary-dark);
}
.navbar-toggler {
    border: none;
}
.navbar-toggler:focus {
    box-shadow: none;
}
#cart-count {
    font-size: 0.75rem;
    padding: 0.3em 0.6em;
}

/* Hero Section */
.hero-section {
    background: url('media/pics/modern-home-interior-background.jpg') no-repeat center center/cover;
    color: white;
    position: relative;
    overflow: hidden;
    padding-top: 140px !important; /* Adjust for fixed header */
}
.hero-section .overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 0;
}
.hero-section .hero-title {
    font-size: 3.5rem;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
}
.hero-section .hero-image-style {
    max-height: 400px;
    width: auto;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

/* About Section */
.custom-card {
    background-color: var(--bg-white);
    border-radius: 15px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.custom-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.12);
}
.team-member-photo {
    width: 120px;
    height: 120px;
    object-fit: cover;
    border: 3px solid var(--primary-color);
}
.blockquote {
    border-left: 4px solid var(--primary-color);
    padding-left: 15px;
    margin-top: 1rem;
}

/* Products Section */
.product-card {
    background-color: var(--bg-white);
    border-radius: 15px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.12);
}
.product-image {
    max-height: 180px;
    width: auto;
    object-fit: contain;
}

/* Services Section */
.service-card {
    background-color: var(--bg-white);
    border-radius: 15px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.service-card:hover {
    transform: scale(1.03);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.12);
}
.service-icon {
    width: 80px;
    height: 80px;
    object-fit: contain;
}

/* Features Section */
.feature-phone-card {
    background-color: #2c2c2c;
    border-radius: 30px;
    padding: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    color: white;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 350px;
}
.feature-phone-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border: 3px solid var(--primary-color);
    border-radius: 30px;
    pointer-events: none;
}
.phone-notch {
    width: 100px;
    height: 25px;
    background-color: #1a1a1a;
    border-bottom-left-radius: 15px;
    border-bottom-right-radius: 15px;
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    z-index: 1;
}
.feature-screenshot {
    max-height: 200px;
    width: auto;
    border-radius: 10px;
    margin-top: 20px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}
.feature-phone-card h5 {
    color: var(--accent-color);
    margin-top: 1.5rem;
}
.feature-phone-card p {
    color: rgba(255, 255, 255, 0.8);
    text-align: center;
}

/* FAQ Section */
.custom-accordion-item {
    border: none;
    margin-bottom: 10px;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}
.custom-accordion-item .accordion-button {
    background-color: var(--bg-white);
    color: var(--text-color-dark);
    font-weight: 600;
    border-radius: 10px;
    padding: 1rem 1.25rem;
    transition: background-color 0.3s ease;
}
.custom-accordion-item .accordion-button:not(.collapsed) {
    color: var(--primary-dark);
    background-color: var(--bg-light);
    box-shadow: inset 0 -1px 0 rgba(0,0,0,.125);
}
.custom-accordion-item .accordion-button:focus {
    box-shadow: none;
    border-color: transparent;
}
.custom-accordion-item .accordion-body {
    padding: 1rem 1.25rem;
    background-color: var(--bg-white);
    border-bottom-left-radius: 10px;
    border-bottom-right-radius: 10px;
    border-top: 1px solid rgba(0,0,0,.125);
}

/* Team Section */
.team-carousel-photo {
    width: 180px;
    height: 180px;
    object-fit: cover;
    border: 5px solid var(--primary-color);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}
.carousel-control-prev-icon, .carousel-control-next-icon {
    background-color: var(--primary-dark);
    border-radius: 50%;
    padding: 1.5rem;
}
.carousel-control-prev, .carousel-control-next {
    width: 5%;
}

/* Reviews Section */
.review-card {
    background-color: var(--bg-white);
    border-radius: 15px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.review-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.12);
}
.review-avatar {
    width: 60px;
    height: 60px;
    object-fit: cover;
    border: 2px solid var(--accent-color);
}

/* Footer Section */
.custom-footer-sticky {
    position: relative;
    width: 100%;
    padding-bottom: 70px; /* Space for FABs */
}
.custom-footer-sticky a {
    color: rgba(255, 255, 255, 0.7);
    transition: color 0.3s ease;
}
.custom-footer-sticky a:hover {
    color: var(--primary-color);
}
.custom-footer-sticky .logo-img {
    height: 30px;
    width: auto;
}

/* Floating Action Buttons (FABs) */
.fab-container {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 1000;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 10px;
}
.fab-btn {
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: white;
    text-decoration: none;
    animation: pulse 2s infinite;
}
.fab-btn-lang {
    animation-delay: 0.2s;
}
.fab-btn-whatsapp {
    animation-delay: 0.4s;
}
@keyframes pulse {
    0% { transform: scale(1); box-shadow: 0 0 0 0 rgba(var(--primary-color-rgb, 76, 175, 80), 0.7); }
    70% { transform: scale(1.05); box-shadow: 0 0 0 10px rgba(var(--primary-color-rgb, 76, 175, 80), 0); }
    100% { transform: scale(1); box-shadow: 0 0 0 0 rgba(var(--primary-color-rgb, 76, 175, 80), 0); }
}
.fab-btn-whatsapp {
    background-color: #25D366;
}
.fab-btn-whatsapp:hover {
    background-color: #1DA851;
}
#back-to-top {
    display: none; /* Hidden by default */
}

/* Cart Modal */
#cartModal .modal-header, #checkoutModal .modal-header {
    background-color: var(--primary-dark);
}
#cart-items-container .cart-item {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
    padding-bottom: 15px;
    border-bottom: 1px solid #eee;
}
#cart-items-container .cart-item:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}
.cart-item-image {
    width: 80px;
    height: 80px;
    object-fit: cover;
    border-radius: 8px;
    margin-right: 15px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}
.cart-item-details {
    flex-grow: 1;
}
.cart-item-details h6 {
    margin-bottom: 5px;
    font-weight: 600;
}
.cart-item-details .text-muted {
    font-size: 0.9rem;
}
.cart-item-actions {
    display: flex;
    align-items: center;
    gap: 10px;
}
.cart-item-actions select {
    width: 60px;
}
.cart-item-subtotal {
    min-width: 80px;
    text-align: right;
    font-weight: 600;
}
.btn-remove-item {
    color: #dc3545;
    background: none;
    border: none;
    padding: 0;
    font-size: 1.2rem;
    transition: color 0.2s ease;
}
.btn-remove-item:hover {
    color: #c82333;
}

/* Checkout Modal */
#checkout-form label {
    font-weight: 500;
    color: var(--text-color-dark);
}
#checkout-form .form-control, #checkout-form .form-select {
    border-radius: 8px;
    border: 1px solid #ddd;
    padding: 0.75rem 1rem;
}
#checkout-form .form-control:focus, #checkout-form .form-select:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.25rem rgba(var(--primary-color-rgb, 76, 175, 80), 0.25);
}

/* Order Confirmation Modal */
#orderConfirmationModal .modal-header {
    background-color: #28a745; /* Success green */
}

/* Cookie Banner */
.cookie-banner {
    position: fixed;
    bottom: 20px;
    right: 20px;
    max-width: 350px;
    background-color: var(--bg-white);
    border-radius: 15px;
    z-index: 1050;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
    display: none; /* Hidden by default, shown by JS */
}
.cookie-banner .card-body {
    padding: 1.5rem;
}
.cookie-banner .btn-link {
    color: var(--primary-dark);
}
.cookie-banner .btn-link:hover {
    text-decoration: underline !important;
}

/* Cookie Settings Modal */
#cookieSettingsModal .modal-header {
    background-color: var(--primary-dark);
}
.form-check-input:checked {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
}
.form-check-input:focus {
    box-shadow: 0 0 0 0.25rem rgba(var(--primary-color-rgb, 76, 175, 80), 0.25);
}

/* Responsive Adjustments */
@media (max-width: 991.98px) {
    .hero-section .hero-title {
        font-size: 2.5rem;
    }
    .hero-section .hero-image-style {
        max-height: 300px;
    }
    .navbar-collapse {
        text-align: center;
        padding-bottom: 1rem;
    }
    .navbar-nav .nav-item {
        margin-bottom: 0.5rem;
    }
    .navbar-nav .nav-link {
        padding: 0.5rem;
    }

    .custom-footer-sticky {
        padding-bottom: 90px; /* More space for horizontal FABs */
    }
}

@media (max-width: 767.98px) {
    .section-title {
        font-size: 2rem;
    }
    .hero-section {
        text-align: center;
    }
    .hero-section .hero-image-style {
        max-height: 250px;
        margin-top: 2rem;
    }
    .custom-footer-sticky .text-md-start {
        text-align: center !important;
    }
    .custom-footer-sticky .navbar-brand {
        justify-content: center !important;
    }

    .fab-btn {
        width: 50px;
        height: 50px;
        font-size: 1.3rem;
    }
}
/* Styles for the main content wrapper */
.rightsCloudWrap {
    padding-top: 80px; /* Top padding for the section */
    padding-bottom: 80px; /* Bottom padding for the section */
    padding-left: 20px; /* Left padding for content */
    padding-right: 20px; /* Right padding for content */
    max-width: 1200px; /* Maximum width for content inside the wrapper */
    margin-left: auto; /* Center the wrapper horizontally */
    margin-right: auto; /* Center the wrapper horizontally */
}

/* Heading H1 styles */
.rightsCloudWrap h1 {
    font-size: 2.4rem; /* Font size for H1 */
    font-weight: 700; /* Bold font weight */
    line-height: 1.2; /* Line height for readability */
    margin-top: 2rem; /* Top margin for H1 */
    margin-bottom: 1.5rem; /* Bottom margin for H1 */
    color: var(--primary-dark, #388E3C); /* Use primary dark color, with fallback */
}

/* Heading H2 styles */
.rightsCloudWrap h2 {
    font-size: 2rem; /* Font size for H2 */
    font-weight: 600; /* Semi-bold font weight */
    line-height: 1.3; /* Line height for readability */
    margin-top: 1.8rem; /* Top margin for H2 */
    margin-bottom: 1.2rem; /* Bottom margin for H2 */
    color: var(--text-color-dark, #333); /* Use dark text color, with fallback */
}

/* Heading H3 styles */
.rightsCloudWrap h3 {
    font-size: 1.75rem; /* Font size for H3 */
    font-weight: 600; /* Semi-bold font weight */
    line-height: 1.4; /* Line height for readability */
    margin-top: 1.6rem; /* Top margin for H3 */
    margin-bottom: 1rem; /* Bottom margin for H3 */
    color: var(--text-color-dark, #333); /* Use dark text color, with fallback */
}

/* Heading H4 styles */
.rightsCloudWrap h4 {
    font-size: 1.5rem; /* Font size for H4 */
    font-weight: 500; /* Medium font weight */
    line-height: 1.5; /* Line height for readability */
    margin-top: 1.4rem; /* Top margin for H4 */
    margin-bottom: 0.8rem; /* Bottom margin for H4 */
    color: var(--text-color-dark, #333); /* Use dark text color, with fallback */
}

/* Heading H5 styles */
.rightsCloudWrap h5 {
    font-size: 1.25rem; /* Font size for H5 */
    font-weight: 500; /* Medium font weight */
    line-height: 1.6; /* Line height for readability */
    margin-top: 1.2rem; /* Top margin for H5 */
    margin-bottom: 0.6rem; /* Bottom margin for H5 */
    color: var(--text-color-dark, #333); /* Use dark text color, with fallback */
}

/* Paragraph styles */
.rightsCloudWrap p {
    font-size: 1.1rem; /* Base font size for paragraphs */
    line-height: 1.7; /* Line height for readability */
    margin-bottom: 1rem; /* Bottom margin for paragraphs */
    color: var(--text-color-light, #6c757d); /* Use light text color, with fallback */
}

/* Unordered list styles */
.rightsCloudWrap ul {
    list-style: disc; /* Default disc bullet style */
    padding-left: 25px; /* Indentation for list items */
    margin-bottom: 1.5rem; /* Bottom margin for the list */
    color: var(--text-color-light, #6c757d); /* Use light text color, with fallback */
}

/* List item styles */
.rightsCloudWrap ul li {
    font-size: 1.05rem; /* Font size for list items */
    line-height: 1.8; /* Line height for readability */
    margin-bottom: 0.5rem; /* Bottom margin between list items */
}

/* Responsive adjustments for smaller screens */
@media (max-width: 767.98px) {
    .rightsCloudWrap {
        padding-top: 50px; /* Adjust top padding for smaller screens */
        padding-bottom: 50px; /* Adjust bottom padding for smaller screens */
        padding-left: 15px; /* Adjust side padding for smaller screens */
        padding-right: 15px; /* Adjust side padding for smaller screens */
    }

    .rightsCloudWrap h1 {
        font-size: 2rem; /* Smaller H1 for mobile */
        margin-bottom: 1rem;
    }

    .rightsCloudWrap h2 {
        font-size: 1.7rem; /* Smaller H2 for mobile */
        margin-bottom: 0.9rem;
    }

    .rightsCloudWrap h3 {
        font-size: 1.4rem; /* Smaller H3 for mobile */
        margin-bottom: 0.7rem;
    }

    .rightsCloudWrap h4 {
        font-size: 1.2rem; /* Smaller H4 for mobile */
        margin-bottom: 0.6rem;
    }

    .rightsCloudWrap h5 {
        font-size: 1.1rem; /* Smaller H5 for mobile */
        margin-bottom: 0.5rem;
    }

    .rightsCloudWrap p {
        font-size: 1rem; /* Smaller paragraph text for mobile */
        margin-bottom: 0.8rem;
    }

    .rightsCloudWrap ul {
        padding-left: 20px; /* Adjust list indentation for mobile */
        margin-bottom: 1rem;
    }

    .rightsCloudWrap ul li {
        font-size: 0.95rem; /* Smaller list item text for mobile */
        margin-bottom: 0.4rem;
    }
}


#features{
    .text-muted{
        color: #fff !important;
    }
}

footer{
    .text-muted{
        color: #fff !important;
    }
}

@media (max-width: 767px){
    .carousel-control-prev, .carousel-control-next{
        display: none;
    }
}

#cookie-banner{
    .d-flex.justify-content-between.align-items-center.mt-3{
        flex-direction: column;
        gap: 14px;

        & > div{
            display: flex;
            flex-direction: row;
            flex-wrap: wrap;
            align-items: center;
            justify-content: center;
            gap: 10px;
        }
    }

    button{
        padding: 15px !important;
        margin: 0 !important;
    }
}