/* Custom Styles for Sudutkamar */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;600;700&display=swap');

body {
    font-family: 'Poppins', sans-serif;
    background-color: #f8f9fa;
    line-height: 1.8;
}

.hero-section {
    background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url('../images/hero-bg.jpg') no-repeat center center/cover;
    color: white;
    padding: 80px 20px;
    border-radius: 15px;
    margin-bottom: 40px;
}

.hero-section h1 {
    font-weight: 700;
    font-size: 3rem;
    text-shadow: 3px 3px 6px rgba(0, 0, 0, 0.4);
}

.hero-section .btn-primary {
    background-color: #6f42c1;
    border-color: #6f42c1;
    padding: 15px 40px;
    font-size: 1.3rem;
    transition: transform 0.2s, background-color 0.3s;
}

.hero-section .btn-primary:hover {
    background-color: #5a32a3;
    transform: scale(1.1);
}

.card {
    border: none;
    border-radius: 15px;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s;
}

.card:hover {
    transform: translateY(-5px);
}

.testimonial-card {
    min-height: 200px;
    padding: 20px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.testimonial-card:hover {
    transform: scale(1.05);
}

.form-control {
    border-radius: 8px;
    border: 2px solid #6f42c1;
    transition: border-color 0.3s;
}

.form-control:focus {
    border-color: #20c997;
    box-shadow: 0 0 8px rgba(32, 201, 151, 0.3);
}

.btn-primary {
    background-color: #6f42c1;
    border-color: #6f42c1;
    border-radius: 8px;
    padding: 12px;
    font-weight: 600;
}

.btn-primary:hover {
    background-color: #5a32a3;
    border-color: #5a32a3;
}

.btn-outline-primary {
    border-color: #6f42c1;
    color: #6f42c1;
    border-radius: 8px;
    padding: 12px;
}

.btn-outline-primary:hover {
    background-color: #6f42c1;
    color: white;
}

.feature-icon {
    display: block !important;
    width: 100px !important;
    height: 100px !important;
    max-width: 100px !important;
    max-height: 100px !important;
    min-width: 100px !important;
    min-height: 100px !important;
    object-fit: contain !important;
    object-position: center !important;
    border-radius: 10px !important;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1) !important;
    margin: 0 auto !important;
    transition: transform 0.3s !important;
    /* Reset any Bootstrap or external overrides */
    padding: 0 !important;
    border: none !important;
}

.feature-icon:hover {
    transform: rotate(10deg) scale(1.1) !important;
}

@media (max-width: 768px) {
    .feature-icon {
        width: 80px !important;
        height: 80px !important;
        max-width: 80px !important;
        max-height: 80px !important;
        min-width: 80px !important;
        min-height: 80px !important;
    }
}

@media (max-width: 576px) {
    .feature-icon {
        width: 60px !important;
        height: 60px !important;
        max-width: 60px !important;
        max-height: 60px !important;
        min-width: 60px !important;
        min-height: 60px !important;
    }
}

.features-section .col-md-4 {
    padding: 15px;
}

.features-section h5 {
    font-size: 1.2rem;
    margin-bottom: 10px;
    color: #2d2d2d;
}

.features-section p {
    font-size: 0.9rem;
    color: #4a4a4a;
}

section {
    opacity: 0;
    animation: fadeIn 1s forwards;
}

@keyframes fadeIn {
    to {
        opacity: 1;
    }
}

h1, h2, h5 {
    color: #2d2d2d;
    font-weight: 600;
}

p {
    color: #4a4a4a;
    font-weight: 400;
}

/* Sticky CTA */
.sticky-cta {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 1000;
}

.sticky-cta .btn {
    border-radius: 50px;
    padding: 12px 20px;
    font-size: 1rem;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    background-color: #6f42c1;
    border-color: #6f42c1;
}

.sticky-cta .btn:hover {
    background-color: #5a32a3;
    transform: scale(1.1);
}

/* Color Preview for Dropdown */
.color-select {
    width: 100%;
}

.color-preview {
    width: 20px;
    height: 20px;
    border: 1px solid #ccc;
    border-radius: 4px;
}

/* Navigation Styling */
.navbar-nav {
    display: flex;
    justify-content: flex-end;
    flex-wrap: wrap-reverse;
    gap: 10px;
}

.navbar-nav .nav-link {
    padding: 8px 12px;
    transition: background-color 0.3s, transform 0.2s;
    color: white !important;
    font-size: 1rem;
    border-radius: 5px;
}

.navbar-nav .nav-link:hover {
    background-color: #5a32a3;
    transform: scale(1.05);
}

.navbar-nav .bi {
    margin-right: 5px;
}

.navbar-dark .navbar-nav .nav-item {
    margin: 0 5px;
}

@media (max-width: 768px) {
    .navbar-nav {
        background-color: #6f42c1;
        border-radius: 10px;
        padding: 10px;
        flex-direction: column;
        align-items: center;
    }
    .navbar-nav .nav-link {
        font-size: 1rem;
        padding: 8px 10px;
    }
    .navbar-dark .navbar-nav .nav-item {
        margin: 5px 0;
    }
}

/* Footer Styling */
footer .nav {
    display: flex;
    justify-content: flex-end;
    flex-wrap: wrap-reverse;
    gap: 10px;
}

footer .nav-link {
    padding: 8px 12px;
    transition: background-color 0.3s, transform 0.2s;
    color: white !important;
    border-radius: 5px;
}

footer .nav-link:hover {
    background-color: #5a32a3;
    transform: scale(1.05);
}

footer .nav-item {
    margin: 0 5px;
}

@media (max-width: 768px) {
    footer .nav {
        flex-direction: column;
        align-items: center;
    }
    footer .nav-item {
        margin: 5px 0;
    }
}

/* Cross-Promotion Cards */
.cross-promotion .card {
    transition: transform 0.3s;
}

.cross-promotion .card:hover {
    transform: scale(1.05);
}

.cross-promotion .card h5 {
    font-size: 1.1rem;
    margin-bottom: 10px;
}

.cross-promotion .card p {
    font-size: 0.9rem;
    color: #4a4a4a;
}

.cross-promotion .btn-primary {
    padding: 8px 20px;
    font-size: 0.9rem;
}

/* Mobile Optimizations */
@media (max-width: 768px) {
    .hero-section {
        padding: 40px 15px;
        background-position: center;
        border-radius: 10px;
    }

    .hero-section h1 {
        font-size: 2rem;
    }

    .hero-section .lead {
        font-size: 1rem;
    }

    .hero-section .btn-lg {
        padding: 10px 20px;
        font-size: 1rem;
    }

    .card {
        padding: 15px;
    }

    .testimonial-card {
        min-height: 180px;
        padding: 15px;
    }

    .form-control {
        font-size: 0.9rem;
        padding: 8px;
    }

    .features-section .col-md-4 {
        padding: 10px;
    }

    .features-section h5 {
        font-size: 1rem;
    }

    .features-section p {
        font-size: 0.85rem;
    }

    .sticky-cta {
        bottom: 15px;
        right: 15px;
    }

    .sticky-cta .btn {
        padding: 8px 15px;
        font-size: 0.8rem;
    }

    .color-preview {
        margin-left: 10px;
    }
}

@media (max-width: 576px) {
    .hero-section {
        padding: 30px 10px;
    }

    .hero-section h1 {
        font-size: 1.8rem;
    }

    .hero-section .lead {
        font-size: 0.9rem;
    }

    .card {
        padding: 10px;
    }

    .testimonial-card {
        min-height: 160px;
        padding: 10px;
    }

    .features-section h5 {
        font-size: 0.9rem;
    }

    .features-section p {
        font-size: 0.8rem;
    }
}