/* Global Styles */
:root {
    --primary-color: #ff6b6b;
    --secondary-color: #6b5b95;
    --accent-color: #feb236;
    --light-color: #f9f7f7;
    --dark-color: #2b2b2b;
    --font-primary: 'Montserrat', sans-serif;
    --font-secondary: 'Playfair Display', serif;
}

body {
    font-family: var(--font-primary);
    color: var(--dark-color);
    background-color: #fff;
    line-height: 1.6;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-secondary);
    font-weight: 700;
}

a {
    color: var(--secondary-color);
    text-decoration: none;
    transition: all 0.3s ease;
}

a:hover {
    color: var(--primary-color);
}

.btn-primary {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    padding: 10px 25px;
    border-radius: 30px;
    font-weight: 600;
    transition: all 0.3s ease;
}

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

.btn-outline-primary {
    color: var(--primary-color);
    border-color: var(--primary-color);
    padding: 10px 25px;
    border-radius: 30px;
    font-weight: 600;
    transition: all 0.3s ease;
}

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

.section-title {
    position: relative;
    margin-bottom: 40px;
    text-align: center;
}

.section-title:after {
    content: '';
    display: block;
    width: 50px;
    height: 3px;
    background-color: var(--primary-color);
    margin: 15px auto 0;
}

/* Navbar Styles */
.navbar {
    background-color: transparent; /* Remove background from original navbar */
    box-shadow: none; /* Remove shadow from original navbar */
    padding: 0; /* Remove padding from original navbar */
}

.navbar-brand {
    font-family: var(--font-secondary);
    font-weight: 700;
    font-size: 1.8rem;
}

.brand-text {
    background: linear-gradient(45deg, var(--primary-color), var(--secondary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.nav-link {
    font-weight: 500;
    padding: 10px 15px !important;
    margin: 0 5px;
    position: relative;
}

.nav-link:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background-color: var(--primary-color);
    transition: all 0.3s ease;
    transform: translateX(-50%);
}

.nav-link:hover:after {
    width: 70%;
}

/* Hero Section */
.hero {
    padding: 40px 0; /* Keep some outer padding for spacing from other sections */
    position: relative;
    overflow: hidden;
}

.unified-hero-container {
    position: relative;
    background: linear-gradient(135deg, rgba(255, 107, 107, 0.1), rgba(107, 91, 149, 0.1)); /* Original hero background */
    border-radius: 20px;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
    padding: 0; /* Remove ALL padding */
    overflow: hidden; /* Ensure no content spills out */
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    padding: 40px; /* Add padding inside the content area only */
    height: 100%; /* Make content fill the height */
    display: flex;
    flex-direction: column;
    justify-content: center; /* Vertically center content */
}

.hero h1 {
    font-size: 3.5rem;
    margin-bottom: 20px;
    color: var(--dark-color);
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 30px;
    color: #555;
}

.hero-image {
    position: relative;
    z-index: 2;
    padding: 0; /* No padding */
    height: 100%; /* Full height */
}

.hero-image img {
    height: 100%; /* Full height */
    width: 100%; /* Full width */
    object-fit: cover; /* Maintain aspect ratio while filling */
    border-radius: 0 20px 20px 0; /* Round only the right corners */
    vertical-align: middle; /* Eliminate any bottom spacing */
    
}

/* Connector Elements */
.connector-element {
    position: absolute;
    background-color: var(--primary-color); /* Use primary color for connectors */
    opacity: 0.1;
    border-radius: 50%;
    filter: blur(20px); /* Soft blur for blending */
    z-index: 0;
}

.connector-1 {
    width: 150px;
    height: 150px;
    top: 20%;
    left: -5%;
}

.connector-2 {
    width: 100px;
    height: 100px;
    bottom: 15%;
    right: -3%;
}

.learn-more {
    margin-top: 1rem;
    font-size: 0.95rem;
  
}

.learn-more a{
    color:var(--primary-color);
    text-decoration: none;
    font-weight: 500;
}

.btn-signup {
    background: none;
    border-color: var(--primary-color);
    padding: 10px 25px;
    border-radius: 30px;
    font-weight: 200;
    transition: all 0.3s ease;
    color: var(--primary-color);
}

.btn-signup:hover {
    background: none;
    border-color: var(--secondary-color);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    color: var(--secondary-color);
}


/* Responsive adjustments for hero section */
@media (max-width: 991px) {
    .unified-hero-container {
        padding: 40px 20px;
    }

    .hero-content, .hero-image {
        padding-right: 0;
        padding-left: 0;
        text-align: center;
    }

    .hero-image {
        margin-top: 40px; /* Space between text and image on mobile */
    }

    .hero-image img {
        height: auto; /* Allow image to scale naturally */
        max-width: 100%; /* Ensure image doesn't overflow */
        object-fit: contain; /* Ensure the entire image is visible */
    }

    .connector-1, .connector-2 {
        display: none; /* Hide connectors on small screens for simplicity */
    }
}

@media (max-width: 767px) {
    .hero h1 {
        font-size: 2.5rem; /* Smaller font for mobile */
    }
    .hero p {
        font-size: 1rem;
    }
}

/* Features Section */
.features {
    padding: 80px 0;
}

.feature-box {
    text-align: center;
    padding: 30px 20px;
    margin-bottom: 30px;
    border-radius: 10px;
    transition: all 0.3s ease;
}

.feature-box:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.feature-icon {
    font-size: 3rem;
    margin-bottom: 20px;
    color: var(--primary-color);
}

.feature-title {
    font-size: 1.5rem;
    margin-bottom: 15px;
}

/* How It Works Section */
.how-it-works {
    padding: 40px 0; /* Adjust padding to match hero section */
    position: relative;
    overflow: hidden;
}

.unified-works-container {
    position: relative;
    background-color: #f9f9f9; /* Retain original background color */
    border-radius: 20px; /* Match hero container's border-radius */
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1); /* Match hero container's box-shadow */
    padding: 40px; /* Add padding inside the container */
    overflow: hidden;
    z-index: 1;
}

.unified-works-container .section-title {
    margin-bottom: 40px; /* Adjust margin for consistency */
}

.unified-works-container .row {
    margin-bottom: 30px; /* Add some space below the steps */
}

.connector-3 {
    width: 120px;
    height: 120px;
    top: 10%;
    right: -5%;
}

.connector-4 {
    width: 80px;
    height: 80px;
    bottom: 5%;
    left: -3%;
}

@media (max-width: 991px) {
    .unified-works-container {
        padding: 40px 20px; /* Adjust padding for mobile */
    }
    .connector-3, .connector-4 {
        display: none; /* Hide connectors on small screens */
    }
}

@media (max-width: 767px) {
    .unified-works-container {
        padding: 30px 20px; /* Further adjust padding for smaller mobile screens */
    }
}

.step-box {
    text-align: center;
    padding: 30px 20px;
    position: relative;
}

.step-number {
    display: inline-block;
    width: 50px;
    height: 50px;
    line-height: 50px;
    border-radius: 50%;
    background-color: var(--primary-color);
    color: white;
    font-weight: 700;
    margin-bottom: 20px;
}

.step-title {
    font-size: 1.5rem;
    margin-bottom: 15px;
}

.step-box:not(:last-child):after {
    content: '';
    position: absolute;
    top: 50px;
    right: -50px;
    width: 100px;
    height: 2px;
    background-color: var(--primary-color);
    display: none;
}

@media (min-width: 768px) {
    .step-box:not(:last-child):after {
        display: block;
    }
}

/* Testimonials Section */
.testimonials {
    padding: 80px 0;
}

.testimonial-box {
    background-color: white;
    border-radius: 10px;
    padding: 30px;
    margin-bottom: 30px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    position: relative;
}

.testimonial-box:before {
    content: '\201C';
    font-family: Georgia, serif;
    position: absolute;
    top: 10px;
    left: 20px;
    font-size: 5rem;
    color: rgba(107, 91, 149, 0.1);
    line-height: 1;
}

.testimonial-content {
    font-style: italic;
    margin-bottom: 20px;
}

.testimonial-author {
    display: flex;
    align-items: center;
}

.testimonial-author img {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    margin-right: 15px;
}

.testimonial-author-info h5 {
    margin-bottom: 0;
    font-size: 1.1rem;
}

.testimonial-author-info p {
    margin-bottom: 0;
    color: #777;
    font-size: 0.9rem;
}

/* Upload Section */
.upload-section {
    padding: 80px 0;
    background-color: #f9f9f9;
}

.upload-container {
    background-color: white;
    border-radius: 10px;
    padding: 40px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.upload-title {
    text-align: center;
    margin-bottom: 30px;
}

.upload-area {
    border: 2px dashed #ddd;
    border-radius: 10px;
    padding: 50px 20px;
    text-align: center;
    margin-bottom: 30px;
    transition: all 0.3s ease;
    cursor: pointer;
}

.upload-area:hover, .upload-area.highlight {
    border-color: var(--primary-color);
    background-color: rgba(255, 107, 107, 0.05);
}

.upload-icon {
    font-size: 3rem;
    color: #ddd;
    margin-bottom: 20px;
    transition: all 0.3s ease;
}

.upload-area:hover .upload-icon {
    color: var(--primary-color);
}

.upload-text {
    margin-bottom: 0;
}

.file-input {
    display: none;
}

.upload-preview {
    margin-top: 30px;
    text-align: center;
}

.preview-image {
    max-width: 100%;
    max-height: 300px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

/* Results Section */
.results-section {
    padding: 80px 0;
}

.results-container {
    background-color: white;
    border-radius: 10px;
    padding: 40px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.results-title {
    text-align: center;
    margin-bottom: 30px;
}

.results-image {
    text-align: center;
    margin-bottom: 30px;
}

.results-image img {
    max-width: 100%;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.season-result {
    text-align: center;
    margin-bottom: 30px;
}

.season-title {
    font-size: 2.5rem;
    margin-bottom: 10px;
    color: var(--secondary-color);
}

.season-description {
    margin-bottom: 20px;
}

.color-palette {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    margin-bottom: 30px;
    gap: 15px;
}

.color-swatch {
    width: 70px;
    height: 70px;
    margin: 5px;
    border-radius: 50%;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    cursor: pointer;
}

.color-swatch:hover {
    transform: scale(1.1);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.metrics-container {
    margin-bottom: 30px;
}

.metric-box {
    background-color: #f9f9f9;
    border-radius: 10px;
    padding: 20px;
    margin-bottom: 20px;
    text-align: center;
}

.metric-title {
    font-size: 1.2rem;
    margin-bottom: 10px;
}

.metric-value {
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary-color);
}

/* Feature Importance Styles */
.feature-importance {
    margin-bottom: 20px;
}

.feature-item .progress {
    height: 10px;
    border-radius: 5px;
    background-color: #e9ecef;
}

.feature-item .progress-bar {
    border-radius: 5px;
}

.bg-olive {
    background-color: #708238;
}

.recommendations {
    margin-bottom: 30px;
}

.recommendation-title {
    font-size: 1.5rem;
    margin-bottom: 20px;
    text-align: center;
}

.recommendation-list {
    list-style-type: none;
    padding-left: 0;
}

.recommendation-list li {
    padding: 10px 0;
    border-bottom: 1px solid #eee;
}

.recommendation-list li:last-child {
    border-bottom: none;
}

/* About Section */
.about-section {
    padding: 80px 0;
}

.about-image {
    text-align: center;
    margin-bottom: 30px;
}

.about-image img {
    max-width: 100%;
    border-radius: 10px;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.about-content {
    margin-bottom: 30px;
}

.about-title {
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.about-text {
    margin-bottom: 20px;
}

/* Footer */
.footer {
    background-color: transparent; /* Remove background from original footer */
    color: #555;
    padding: 0; /* Remove padding from original footer */
}

.footer h5 {
    color: var(--dark-color);
    margin-bottom: 20px;
}

.footer a {
    color: #555;
    transition: all 0.3s ease;
}

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

.social-icons {
    display: flex;
    gap: 15px;
}

.social-icons a {
    display: inline-block;
    width: 40px;
    height: 40px;
    line-height: 40px;
    text-align: center;
    background-color: white;
    border-radius: 50%;
    color: var(--dark-color);
    transition: all 0.3s ease;
}

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

/* Responsive Styles */
@media (max-width: 991px) {
    .hero h1 {
        font-size: 2.5rem;
    }
    
    .hero-image {
        margin-top: 30px;
    }
}

@media (max-width: 767px) {
    .hero h1 {
        font-size: 2rem;
    }
    
    .section-title {
        margin-bottom: 30px;
    }
    
    .feature-box, .step-box, .testimonial-box {
        margin-bottom: 20px;
    }

    .hero {
        padding: 40px 0; /* Keep some outer padding for spacing from other sections */
        position: relative;
        overflow: hidden;
    }

    .unified-hero-container {
        padding: 0; /* Remove ALL padding */
        overflow: hidden; /* Ensure no content spills out */
    }

    .hero-content {
        padding: 30px 20px; /* Slightly reduced padding on mobile */
        height: auto; /* Allow height to adjust */
    }

    .hero-image {
        margin-top: 0; /* Remove margin between text and image */
        height: auto; /* Allow height to adjust */
    }

    .hero-image img {
        height: auto; /* Allow image to scale naturally */
        max-width: 100%; /* Ensure image doesn't overflow */
        object-fit: contain; /* Ensure the entire image is visible */
        border-radius: 0 0 20px 20px; /* Round bottom corners on mobile */
    }
}

/* Animation Classes */
.fade-in {
    animation: fadeIn 1s ease-in-out;
}

.slide-up {
    animation: slideUp 1s ease-in-out;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes slideUp {
    from {
        transform: translateY(50px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

/* New styles for Recommendations Section */
.recommendations-section {
    margin-top: 60px;
    padding: 40px;
    background-color: #f8f9fa;
    border-radius: 15px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
}

.recommendation-title {
    font-size: 2.2rem;
    color: var(--dark-color);
    margin-bottom: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-secondary);
}

.recommendation-title .fas {
    color: var(--primary-color);
    font-size: 2.5rem;
    margin-right: 15px;
}

.recommendation-card {
    background-color: white;
    border-radius: 12px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    overflow: hidden;
    transition: all 0.3s ease;
    height: 100%; /* Ensure cards in a row have equal height */
    display: flex;
    flex-direction: column;
    border: 2px solid transparent; /* Default border */
}

.recommendation-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 25px rgba(0, 0, 0, 0.15);
}

.recommendation-card .card-header {
    background-color: var(--primary-color);
    color: white;
    padding: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-bottom: 2px solid rgba(0,0,0,0.1);
}

.recommendation-card .card-icon {
    font-size: 2rem;
    margin-right: 15px;
}

.recommendation-card .card-title {
    margin-bottom: 0;
    font-size: 1.6rem;
    font-family: var(--font-secondary);
}

.recommendation-card .card-body {
    padding: 25px;
    flex-grow: 1; /* Allows body to expand and fill space */
}

.recommendation-list {
    list-style-type: none;
    padding-left: 0;
    margin-bottom: 0;
}

.recommendation-list li {
    padding: 10px 0;
    border-bottom: 1px dashed #eee;
    font-size: 1.05rem;
    line-height: 1.5;
}

.recommendation-list li:last-child {
    border-bottom: none;
}

.color-swatch-inline {
    display: inline-block;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    vertical-align: middle;
    margin-right: 5px;
    border: 1px solid rgba(0,0,0,0.1);
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
}

/* Responsive adjustments for recommendation cards */
@media (max-width: 767.98px) {
    .recommendations-section {
        padding: 20px;
    }
    .recommendation-card {
        margin-bottom: 20px; /* Add space between cards on small screens */
    }
}

/* Ensure loading overlay is hidden by default */
#loading-overlay {
    display: none;
}

#loading-overlay.active {
    display: flex;
}
/* CTA Section */
.cta-section {
    padding: 40px 0; /* Adjust padding to match hero section */
    position: relative;
    overflow: hidden;
}

.unified-cta-container {
    position: relative;
    background-color: #f8f9fa; /* Retain original background color */
    border-radius: 20px; /* Match hero container's border-radius */
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1); /* Match hero container's box-shadow */
    padding: 40px; /* Add padding inside the container */
    overflow: hidden;
    z-index: 1;
    text-align: center; /* Center content */
}

.connector-5 {
    width: 100px;
    height: 100px;
    top: 15%;
    left: -3%;
}

.connector-6 {
    width: 150px;
    height: 150px;
    bottom: 20%;
    right: -5%;
}

@media (max-width: 991px) {
    .unified-cta-container {
        padding: 40px 20px; /* Adjust padding for mobile */
    }
    .connector-5, .connector-6 {
        display: none; /* Hide connectors on small screens */
    }
}

@media (max-width: 767px) {
    .unified-cta-container {
        padding: 30px 20px; /* Further adjust padding for smaller mobile screens */
    }
}

/* Navbar Styles */
.navbar {
    background-color: transparent; /* Remove background from original navbar */
    box-shadow: none; /* Remove shadow from original navbar */
    padding: 0; /* Remove padding from original navbar */
}

.unified-nav-container {
    position: relative;
    background-color: white; /* Retain original background color */
    border-radius: 0; /* Make border invisible */
    box-shadow: none; /* Remove shadow */
    padding: 15px 40px; /* Adjust padding to match original navbar and add horizontal padding */
    overflow: visible; /* Allow dropdown to overflow */
    z-index: 1030; /* Higher than hero section (z-index: 1) and Bootstrap's default modal z-index (1050) */
    width: 100%; /* Ensure it takes full width */
}

.unified-nav-container .navbar-brand {
    font-family: var(--font-secondary);
    font-weight: 700;
    font-size: 1.8rem;
}

.unified-nav-container .brand-text {
    background: linear-gradient(45deg, var(--primary-color), var(--secondary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.unified-nav-container .nav-link {
    font-weight: 500;
    padding: 10px 15px !important;
    margin: 0 5px;
    position: relative;
}

.unified-nav-container .nav-link:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background-color: var(--primary-color);
    transition: all 0.3s ease;
    transform: translateX(-50%);
}

.unified-nav-container .nav-link:hover:after {
    width: 70%;
}

/* Ensure dropdown menu is visible */
.navbar-nav .dropdown-menu {
    z-index: 1040; /* Higher than unified-nav-container and hero section */
    margin-top: 0; /* Adjust if needed to align with navbar */
    border-radius: 0 0 10px 10px; /* Slightly round bottom corners */
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.connector-7 {
    width: 80px;
    height: 80px;
    top: -20px;
    left: 10%;
}

.connector-8 {
    width: 60px;
    height: 60px;
    bottom: -10px;
    right: 15%;
}

@media (max-width: 991px) {
    .unified-nav-container {
        padding: 15px 20px; /* Adjust padding for mobile */
    }
    .connector-7, .connector-8 {
        display: none; /* Hide connectors on small screens */
    }
}

/* Footer */
.footer {
    background-color: transparent; /* Make background invisible */
    color: #555;
    padding: 0; /* Remove padding */
    margin: 0; /* Remove margin */
}

.unified-footer-container {
    position: relative;
    background-color: #f9f9f9; /* Retain original background color */
    border-radius: 20px; /* Match hero container's border-radius */
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1); /* Match hero container's box-shadow */
    padding: 40px; /* Add padding inside the container */
    overflow: hidden;
    z-index: 1;
    width: 100%; /* Ensure it takes full width */
}

.unified-footer-container h5 {
    color: var(--dark-color);
    margin-bottom: 20px;
}

.unified-footer-container a {
    color: #555;
    transition: all 0.3s ease;
}

.unified-footer-container a:hover {
    color: var(--primary-color);
}

.unified-footer-container .social-icons {
    display: flex;
    gap: 15px;
}

.unified-footer-container .social-icons a {
    display: inline-block;
    width: 40px;
    height: 40px;
    line-height: 40px;
    text-align: center;
    background-color: white;
    border-radius: 50%;
    color: var(--dark-color);
    transition: all 0.3s ease;
}

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

.connector-9 {
    width: 100px;
    height: 100px;
    top: 10%;
    left: -5%;
}

.connector-10 {
    width: 120px;
    height: 120px;
    bottom: 15%;
    right: -3%;
}

@media (max-width: 991px) {
    .unified-footer-container {
        padding: 40px 20px; /* Adjust padding for mobile */
    }
    .connector-9, .connector-10 {
        display: none; /* Hide connectors on small screens */
    }
}

/* About Page Specific Styles */
.unified-about-section-container {
    position: relative;
    background-color: white; /* Default background for about sections */
    border-radius: 20px;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
    padding: 40px;
    overflow: hidden;
    z-index: 1;
}

.unified-about-section-container .section-title {
    margin-bottom: 40px;
}

.unified-about-section-container .lead {
    max-width: 800px;
    margin: 0 auto 40px;
}

.unified-about-section-container .img-fluid {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.connector-11 {
    width: 100px;
    height: 100px;
    top: 10%;
    left: -5%;
}

.connector-12 {
    width: 120px;
    height: 120px;
    bottom: 15%;
    right: -3%;
}

.connector-13 {
    width: 80px;
    height: 80px;
    top: 5%;
    right: -2%;
}

.connector-14 {
    width: 110px;
    height: 110px;
    bottom: 10%;
    left: -4%;
}

.connector-15 {
    width: 90px;
    height: 90px;
    top: 12%;
    left: -3%;
}

.connector-16 {
    width: 130px;
    height: 130px;
    bottom: 8%;
    right: -4%;
}

.connector-17 {
    width: 110px;
    height: 110px;
    top: 18%;
    right: -5%;
}

.connector-18 {
    width: 90px;
    height: 90px;
    bottom: 12%;
    left: -2%;
}

.connector-19 {
    width: 140px;
    height: 140px;
    top: 25%;
    left: -6%;
}

.connector-20 {
    width: 100px;
    height: 100px;
    bottom: 20%;
    right: -4%;
}

/* Adjustments for cards within unified containers */
.unified-about-section-container .visual-card {
    box-shadow: none; /* Remove individual card shadows to avoid double shadows */
    border: none; /* Remove individual card borders */
    background-color: transparent; /* Make card backgrounds transparent */
    padding: 0; /* Remove individual card padding */
}

.unified-about-section-container .visual-card:hover {
    transform: none; /* Remove hover transform */
    box-shadow: none; /* Remove hover shadow */
}

/* Specific styles for theory cards to restore original look */
.theory-card {
    background-color: white;
    border-radius: 15px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
    padding: 30px;
    text-align: center;
    transition: all 0.3s ease;
    height: 100%; /* Ensure cards in a row have equal height */
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
}

.theory-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 25px rgba(0, 0, 0, 0.15);
}

.theory-icon {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 20px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.theory-icon i {
    font-size: 3.5rem;
    color: white;
}

.hue-icon {
    background: linear-gradient(45deg, #FF6B6B, #4ECDC4);
}

.value-icon {
    background: linear-gradient(45deg, #6B5B95, #FEB236);
}

.chroma-icon {
    background: linear-gradient(45deg, #FF6B6B, #6B5B95);
}

.color-theory-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-bottom: 50px;
}

@media (max-width: 767px) {
    .color-theory-grid {
        grid-template-columns: 1fr;
    }
}

/* Specific styles for subtype cards and season content to restore original look */
.subtype-card {
    background-color: white;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    padding: 20px;
    margin-bottom: 20px;
    transition: all 0.3s ease;
    border-left: 5px solid var(--primary-color); /* Example border, adjust as needed */
}

.subtype-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

.season-content {
    background-color: white;
    border-radius: 15px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
    padding: 40px;
    margin-top: 30px;
}

.color-palette-mini {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 15px;
}

.color-dot {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(0,0,0,0.1);
}

.subtypes-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
    margin-top: 30px;
}

/* Specific styles for theory cards to restore original look */
.theory-card {
    background-color: white;
    border-radius: 15px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
    padding: 30px;
    text-align: center;
    transition: all 0.3s ease;
    height: 100%; /* Ensure cards in a row have equal height */
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
}

.theory-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 25px rgba(0, 0, 0, 0.15);
}

.theory-icon {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 20px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.theory-icon i {
    font-size: 3.5rem;
    color: white;
}

.hue-icon {
    background: linear-gradient(45deg, #FF6B6B, #4ECDC4);
}

.value-icon {
    background: linear-gradient(45deg, #6B5B95, #FEB236);
}

.chroma-icon {
    background: linear-gradient(45deg, #FF6B6B, #6B5B95);
}

.color-theory-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-bottom: 50px;
}

@media (max-width: 767px) {
    .color-theory-grid {
        grid-template-columns: 1fr;
    }
}

/* Specific adjustments for elements that had inline styles */
.unified-about-section-container .hero-infographic {
    padding: 0;
    box-sizing: border-box;
}

.unified-about-section-container .img-fluid[style] {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    object-fit: contain;
    border-radius: 10px;
    margin: 0 auto;
    display: block;
}

/* Responsive adjustments for unified about sections */
@media (max-width: 991px) {
    .unified-about-section-container {
        padding: 30px 20px;
    }
    .connector-11, .connector-12, .connector-13, .connector-14,
    .connector-15, .connector-16, .connector-17, .connector-18,
    .connector-19, .connector-20 {
        display: none; /* Hide connectors on small screens */
    }
}

@media (max-width: 767px) {
    .unified-about-section-container {
        padding: 20px 15px;
    }
}

/* Styles for The Four Seasons nav links */
.seasons-tabs .nav-link {
    border: none;
    background-color: transparent; /* Make background transparent */
    color: #888; /* Muted color for inactive */
    border-radius: 30px;
    padding: 10px 25px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.seasons-tabs .nav-link:hover {
    background-color: rgba(255, 107, 107, 0.1); /* Light primary color background on hover */
    color: var(--primary-color);
}

.seasons-tabs .nav-link.active {
    background-color: var(--primary-color);
    color: white;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);

    
    
}

.seasons-tabs .nav-link.active:hover {
    background-color: var(--primary-color);
    color: white;
}

/* Styles for How Beauty Advisor Works section */
.process-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-bottom: 50px;
}

.process-step {
    text-align: center;
    padding: 30px;
    background-color: white;
    border-radius: 15px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
}

.process-step:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 25px rgba(0, 0, 0, 0.15);
}

.process-step .step-icon {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 20px;
    position: relative;
    background: linear-gradient(45deg, var(--primary-color), var(--secondary-color)); /* Gradient background */
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.process-step .step-icon i {
    font-size: 3.5rem;
    color: white;
}

.process-step .step-number {
    position: absolute;
    top: -10px;
    right: -10px;
    width: 35px;
    height: 35px;
    border-radius: 50%;
    background-color: var(--accent-color); /* Orange color for number */
    color: white;
    display: flex;
    justify-content: center;
    align-items: center;
    font-weight: 700;
    font-size: 0.9rem;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

@media (max-width: 767px) {
    .process-steps {
        grid-template-columns: 1fr;
    }
}

/* Confidence Analysis Styles */
.confidence-analysis {
    background: #f8f9fa;
    border-radius: 12px;
    padding: 20px;
    border: 1px solid #e9ecef;
}

.confidence-main {
    background: white;
    border-radius: 8px;
    padding: 15px;
    border: 1px solid #dee2e6;
}

.confidence-breakdown {
    margin-top: 15px;
}

.confidence-metric {
    background: white;
    border-radius: 6px;
    padding: 12px;
    border: 1px solid #e9ecef;
    height: 100%;
}

.metric-name {
    font-weight: 500;
    color: #495057;
    font-size: 0.9rem;
}

.metric-value {
    font-weight: 600;
    color: #212529;
    font-size: 0.9rem;
}

.confidence-insights {
    background: #f8f9fa;
    border-radius: 6px;
    padding: 12px;
    border: 1px solid #e9ecef;
}

.insight-item {
    display: flex;
    align-items: center;
    margin-bottom: 8px;
}

.insight-item:last-child {
    margin-bottom: 0;
}

/* Color swatch styles */
.color-swatch-inline {
    display: inline-block;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    border: 1px solid #ddd;
    vertical-align: middle;
    margin: 0 2px;
}

/* Blog Unified Design System */
.blog-section {
    padding: 40px 0;
    position: relative;
    overflow: hidden;
}

.unified-blog-container {
    position: relative;
    background-color: white;
    border-radius: 20px;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
    padding: 40px;
    overflow: hidden;
    z-index: 1;
}

.unified-blog-header {
    position: relative;
    background: linear-gradient(135deg, rgba(255, 107, 107, 0.1), rgba(107, 91, 149, 0.1));
    border-radius: 20px;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
    padding: 40px;
    overflow: hidden;
    z-index: 1;
    text-align: center;
    margin-bottom: 40px;
}

.unified-blog-sidebar {
    position: relative;
    background-color: #f9f9f9;
    border-radius: 20px;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
    padding: 30px;
    overflow: hidden;
    z-index: 1;
    height: fit-content;
}

.unified-blog-post-card {
    background-color: white;
    border-radius: 15px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    border: none;
}

.unified-blog-post-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 25px rgba(0, 0, 0, 0.15);
}

.unified-featured-post {
    background: linear-gradient(135deg, rgba(255, 107, 107, 0.05), rgba(107, 91, 149, 0.05));
    border-radius: 20px;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
    padding: 0;
    overflow: hidden;
    margin-bottom: 40px;
    border: none;
}

.unified-blog-widget {
    background-color: white;
    border-radius: 15px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
    padding: 25px;
    margin-bottom: 25px;
    border: none;
}

.unified-blog-widget .widget-title {
    font-family: var(--font-secondary);
    color: var(--dark-color);
    margin-bottom: 20px;
    display: flex;
    align-items: center;
}

.unified-blog-widget .widget-title i {
    color: var(--primary-color);
    margin-right: 10px;
}

.unified-blog-cta {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    border-radius: 15px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
    padding: 25px;
    text-align: center;
    border: none;
}

.unified-blog-cta .btn {
    background-color: white;
    color: var(--primary-color);
    border: none;
    font-weight: 600;
    padding: 10px 20px;
    border-radius: 25px;
    transition: all 0.3s ease;
}

.unified-blog-cta .btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    background-color: white;
    color: var(--primary-color);
}

/* Blog connector elements */
.connector-blog-1 {
    width: 120px;
    height: 120px;
    top: 15%;
    left: -5%;
}

.connector-blog-2 {
    width: 100px;
    height: 100px;
    bottom: 20%;
    right: -3%;
}

.connector-blog-3 {
    width: 80px;
    height: 80px;
    top: 25%;
    right: -2%;
}

.connector-blog-4 {
    width: 110px;
    height: 110px;
    bottom: 10%;
    left: -4%;
}

/* Blog post content styling */
.unified-blog-post-content {
    background-color: white;
    border-radius: 20px;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
    padding: 40px;
    overflow: hidden;
    z-index: 1;
}

.blog-breadcrumb {
    background: linear-gradient(135deg, rgba(255, 107, 107, 0.05), rgba(107, 91, 149, 0.05));
    border-radius: 15px;
    padding: 15px 25px;
    margin-bottom: 30px;
    border: none;
}

.blog-breadcrumb .breadcrumb {
    margin-bottom: 0;
    background: transparent;
    padding: 0;
}

.blog-breadcrumb .breadcrumb-item a {
    color: var(--secondary-color);
    text-decoration: none;
    transition: color 0.3s ease;
}

.blog-breadcrumb .breadcrumb-item a:hover {
    color: var(--primary-color);
}

/* Enhanced blog cards */
.blog-post-meta {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    margin-bottom: 15px;
}

.blog-badge {
    background-color: var(--primary-color);
    color: white;
    border-radius: 20px;
    padding: 5px 12px;
    font-size: 0.8rem;
    font-weight: 500;
    margin-right: 8px;
    margin-bottom: 5px;
}

.blog-badge-secondary {
    background-color: var(--secondary-color);
}

.blog-badge-warning {
    background-color: var(--accent-color);
    color: var(--dark-color);
}

/* Blog navigation */
.blog-pagination .page-link {
    color: var(--secondary-color);
    border-color: #dee2e6;
    transition: all 0.3s ease;
}

.blog-pagination .page-link:hover {
    color: var(--primary-color);
    background-color: rgba(255, 107, 107, 0.1);
    border-color: var(--primary-color);
}

.blog-pagination .page-item.active .page-link {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
}

/* Responsive blog styles */
@media (max-width: 991px) {
    .unified-blog-container,
    .unified-blog-header,
    .unified-blog-sidebar,
    .unified-blog-post-content {
        padding: 30px 20px;
    }
    
    .connector-blog-1, .connector-blog-2, 
    .connector-blog-3, .connector-blog-4 {
        display: none;
    }
}

@media (max-width: 767px) {
    .unified-blog-container,
    .unified-blog-header,
    .unified-blog-sidebar,
    .unified-blog-post-content {
        padding: 20px 15px;
    }
    
    .blog-section {
        padding: 20px 0;
    }
}
