/* Import Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&display=swap');

/* Global Styles */
:root {
    --primary: #FF385C !important;
    --primary-hover: #E31C5F;
    --secondary: #F7F7F7;
    --text: #222222;
}

body {
    font-family: 'Inter', sans-serif;
    color: var(--text);
    padding-top: 76px;
}

.hover-scale {
    transition: transform 0.3s ease;
}
.hover-scale:hover {
    transform: scale(1.05);
}

/* Navbar Styles */
.navbar {
    padding: 1rem 0;
    background-color: white;
}

.navbar-brand {
    font-size: 1.5rem;
    color: var(--text);
    font-weight: bold;
}

.navbar .nav-link {
    color: var(--text);
    font-weight: 500;
    padding: 0.5rem 1rem;
}

.navbar .nav-link.active {
    color: var(--primary);
}

.navbar .nav-link.active {
    color: var(--primary);
}

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

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

/* Override Bootstrap primary color */
.text-primary {
    color: var(--primary) !important;
}

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

.btn-outline-primary {
    border-color: var(--primary) !important;
    background-color: transparent !important;
    color: var(--primary);
}

.btn-outline-primary {
    border-color: var(--primary) !important;
    background-color: transparent !important;
    color: var(--primary);
}

/* Override Bootstrap secondary color */
.text-secondary {
    color: var(--secondary) !important;
}

.btn-secondary {
    background-color: var(--secondary) !important;
    border-color: var(--secondary) !important;
}

.btn-secondary:hover {
    background-color: darken(var(--secondary), 10%) !important;
    border-color: darken(var(--secondary), 10%) !important;
}

.nav-link-active {
    font-weight: bold;
    color: var(--primary) !important;
}

/* Define the muted text color */
.nav-link.text-muted {
    color: #6c757d; /* Bootstrap's muted text color */
}

/* Change the text color on hover */
.nav-link.text-muted:hover {
    color: var(--text) !important; /* Revert to normal text color */
}

/* Change the text color on bold/highlighted parts of text */
strong {
    color: #FF385C; /* Change this to your desired color */
}

/* Timeline Styles - Product Vision Page */
.timeline {
    position: relative;
    padding: 2rem 0;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 1rem;
    top: 0;
    bottom: 0;
    width: 2px;
    background-color: #e5e7eb;
}

.timeline-item {
    position: relative;
    padding-left: 3rem;
    margin-bottom: 2rem;
}

.timeline-badge {
    position: absolute;
    left: 0;
    width: 2rem;
    height: 2rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    z-index: 1;
}

.timeline-content {
    background-color: white;
    padding: 1.5rem;
    border-radius: 0.5rem;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
}

/* Index Page*/

.method-icon {
    width: 3rem;
    height: 3rem;
    background-color: #FFEBEE;
    border-radius: 0.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
}

.methodology-items {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.methodology-item {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.method-card {
    background-color: #ffffff; /* White background */
    border: 1px solid #ddd; /* Light gray border */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); /* Subtle shadow */
    border-radius: 8px; /* Rounded corners */
    padding: 1.5rem; /* Padding inside the box */
    margin-bottom: 1.5rem; /* Space between cards */
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 100%; /* Ensure the cards take up the full height */
    text-align: center; /* Center align text */
    transition: transform 0.3s, box-shadow 0.3s; /* Smooth transition for hover effect */
}

.method-card:hover {
    transform: translateY(-10px); /* Lift the card up */
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2); /* Darker shadow on hover */
}

.hero {
    position: relative;
    background: url('./images/vision.jpg') no-repeat center center;
    background-size: cover;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(255, 255, 255, 0.8); /* White overlay with 80% opacity */
    z-index: 1;
}

.hero .container {
    position: relative;
    z-index: 2;
    padding-top: 10rem;
    padding-bottom: 10rem;
}

/*About Us Page*/

/*Value Icon*/
.value-icon {
    width: 4rem;
    height: 4rem;
    background-color: #FFEBEE;
    opacity: 1;
    border-radius: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
}

.value-icon i {
    font-size: 2rem;
    color: var(--primary);
}


/*Index page - Value Icon method parts*/
.value-card-1 {
    background-color: #ffffff; /* White background */
    border: 1px solid #ddd; /* Light gray border */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); /* Subtle shadow */
    border-radius: 8px; /* Rounded corners */
    padding: 1.5rem; /* Padding inside the box */
    margin-bottom: 1.5rem; /* Space between cards */
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 100%; /* Ensure the cards take up the full height */
    text-align: center; /* Center align text */
    transition: transform 0.3s, box-shadow 0.3s; /* Smooth transition for hover effect */
}

.value-card-1:hover {
    transform: translateY(-10px); /* Lift the card up */
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2); /* Darker shadow on hover */
}

/* Hover effect for path section cards */
.card {
    transition: transform 0.3s, box-shadow 0.3s; /* Smooth transition for hover effect */
}

.card:hover {
    transform: translateY(-10px); /* Lift the card up */
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2); /* Darker shadow on hover */
}

.value-card-1 h3 {
    margin-top: 1rem;
}

.value-card-1 p {
    margin-top: auto; /* Push paragraph to the bottom */
}
.value-icon-1 {
    width: 4rem;
    height: 4rem;
    background-color: #FFEBEE;
    opacity: 1;
    border-radius: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem auto; /* Center icon and add bottom margin */
}

/* Responsive Styles */
@media (max-width: 768px) {
    .timeline::before {
        left: 0.75rem;
    }
    
    .timeline-item {
        padding-left: 2.5rem;
    }
    
    .timeline-badge {
        width: 1.5rem;
        height: 1.5rem;
        font-size: 0.875rem;
    }
}

/*Carousel*/
.carousel-control-prev-icon,
.carousel-control-next-icon {
    background-color: none; /* Change this to your desired color */
    background-image: none; /* Remove the default arrow icon */
}

.carousel-control-prev-icon::after,
.carousel-control-next-icon::after {
    content: '';
    display: inline-block;
    width: 20px;
    height: 20px;
    border: solid black; /* Change this to your desired arrow color */
    border-width: 0 3px 3px 0;
}

.carousel-control-prev-icon::after {
    transform: rotate(135deg);
    margin-left: -2px;
}

.carousel-control-next-icon::after {
    transform: rotate(-45deg);
    margin-right: -2px;
}

.text-box {
    background-color: #ffffff; /* White background */
    border: 1px solid #ddd; /* Light gray border */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); /* Subtle shadow */
    border-radius: 8px; /* Rounded corners */
    padding: 1.5rem; /* Padding inside the box */
}

/* Utility Classes - Index and About Us Page*/
.aspect-ratio-16x9 {
    aspect-ratio: 16/12;
    background-color: #f3f4f6;
}

body .text-primary {
    color: var(--primary);
}

body .text-primary {
    color: var(--primary);
}

/* FAQ */
/* Custom styles for accordion items */
.accordion-item {
    background-color: #f8f9fa; /* Background color for accordion item */
    border: 1px solid #ddd; /* Border color for accordion item */
    margin-bottom: 1rem; /* Space between accordion items */
}

/* Custom styles for accordion headers */
.accordion-header .accordion-button {
    background-color: #FF385C; /* Background color for accordion header */
    color:#f8f9fa ; /* Text color for accordion header */
    font-weight: bold; /* Bold text for accordion header */
    border: none; /* Remove border for accordion header */
    opacity: 0.85; /* Slightly transparent accordion header */
}

/* Custom styles for accordion bodies */
.accordion-body {
    background-color: #fff; /* Background color for accordion body */
    color: #333; /* Text color for accordion body */
    border-top: 1px solid #ddd; /* Border color for top of accordion body */
}


 /* Previous styles remain the same */
 body {
    background: #f5f5f5;
    margin: 0;
    padding: 0px;
}

/* Custom styles for survey buttons */
.btn-outline-primary:hover, 
.btn-outline-primary:focus, 
.btn-outline-primary:active, 
.btn-outline-primary.active, 
.input-group .btn-outline-primary:checked + label {
    background-color: #FF385C !important; /* Custom fill color on hover/select */
    border-color: #FF385C !important; /* Match the border color */
}


 /* Blog Page - Substack Api style */

   /* Previous styles remain the same */
        body {
            background: #f5f5f5;
            margin: 0;
            padding: 0px;
        }

        .blog-container {
            max-width: 900px;
            margin: 0 auto;
            padding: 30px;
            background: white;
            border-radius: 10px;
            box-shadow: 0 2px 15px rgba(0, 0, 0, 0.1);
        }
        
        .post {
            margin-bottom: 40px;
            padding: 20px;
            border: 1px solid #eee;
            border-radius: 8px;
            display: grid;
            grid-template-columns: 200px 1fr;
            gap: 20px;
            transition: transform 0.2s;
        }

        .post:hover {
            transform: translateY(-2px);
            box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
        }
        
        .post-image {
            width: 200px;
            height: 150px;
            object-fit: cover;
            border-radius: 6px;
        }

        .post-content-wrapper {
            display: flex;
            flex-direction: column;
        }
        
        .post-title {
            font-size: 24px;
            margin: 0 0 10px 0;
            line-height: 1.3;
        }
        
        .post-title a {
            color: #333;
            text-decoration: none;
        }
        
        .post-title a:hover {
            color: #FF385C;
        }
        
        .post-date {
            color: #666;
            margin-bottom: 15px;
            font-size: 0.9em;
        }
        
        .post-excerpt {
            color: #444;
            line-height: 1.6;
            margin-bottom: 15px;
            display: -webkit-box;
            -webkit-line-clamp: 3;
            line-clamp: 3;
            -webkit-box-orient: vertical;
            overflow: hidden;
        }

        .read-more {
            color: #FF385C;
            text-decoration: none;
            font-weight: 500;
            margin-top: auto;
        }

        .read-more:hover {
            text-decoration: underline;
        }
        
        .loading {
            text-align: center;
            padding: 40px;
            color: #666;
        }

        @media (max-width: 768px) {
            .post {
                grid-template-columns: 1fr;
            }

            .post-image {
                width: 100%;
                height: 200px;
            }
        }


/* Results Page */

   /*Icons*/
  