/* boilerplate.css */
:root {
    /* Primary Color (Brand Color) */
    --primary-color: #6A1B9A; /* Example: Indigo, conveys elegance and trust */

    /* Secondary Color (Accent Color) */
    --secondary-color: #ff007f; /* Example: Deep Orange, adds vibrancy */

    /* Neutral Colors (Backgrounds and Text) */
    --background-color: #FFFFFF; /* White, clean background */
    --text-color: #333333; /* Dark grey for readability */
    --light-neutral: #F5F5F5; /* Light grey for sections, card backgrounds, etc. */
    --dark-neutral: #666666; /* Medium grey for subdued text or secondary info */

    /* Optional Highlight Color */
    --highlight-color: #FFD700; /* Goldish color for special highlights or notifications */
}

/* Reset styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Example usage */
body {
    background-color: var(--background-color);
    color: var(--text-color);
}

.header, .footer {
    background-color: var(--primary-color);
}

.button-primary {
    background-color: var(--primary-color);
    color: var(--background-color);
}

.button-accent {
    background-color: var(--secondary-color);
    color: var(--background-color);
}

.card-background {
    background-color: var(--light-neutral);
}

.highlight {
    color: var(--highlight-color);
}

  /* home page css */
 
        /* General styles */


/* Top banner */
.top-banner {
    background-color: #ff007f;
    color: white;
    text-align: right;
    padding: 5px 20px;
    font-size: 14px;
}

/* Navbar */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    /* background-color: #5d0a33;  */
    /* background-color: #6A1B9A;  */
    background-color: var(--primary-color);
    padding: 10px 20px;
}

.logo {
    display: flex;
    align-items: center;
}

.logo img {
    height: 40px;
    margin-right: 10px;
}

.logo span {
    color: white;
    font-size: 24px;
    font-weight: bold;
}

.nav-links {
    list-style: none;
    display: flex;
    margin: 0;
    padding: 0;
}

.nav-links li {
    margin: 0 10px;
}

.nav-links a {
    color: white;
    text-decoration: none;
    font-size: 16px;
}

.nav-links a:hover {
    border-bottom: 2px solid pink;
}

.nav-buttons {
    display: flex;
}

.signup-btn, .login-btn {
    background-color: white;
    color: #ff007f;
    border: none;
    padding: 10px 20px;
    margin-left: 10px;
    cursor: pointer;
    font-size: 16px;
    border-radius: 5px;
}

.signup-btn {
    background-color: #ff007f;
    color: white;
}

.signup-btn:hover, .login-btn:hover {
    opacity: 0.8;
}

/* Hero Section */
.hero {
    background-image: url('background.jpg');
    background-size: cover;
    background-position: center;
    /* height: 20vh; */
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    color: white;
    bottom: 150px;
}

.hero-overlay {
    background-color: rgba(0, 0, 0, 0.5);
    padding: 20px;
    text-align: center;
    border-radius: 10px;
}

.hero h1 {
    font-size: 36px;
    margin-bottom: 20px;
}

.hero-actions {
    display: flex;
    justify-content: center;
    margin-bottom: 20px;
}

.action {
    margin: 0 10px;
    text-align: center;
}

.action i {
    font-size: 24px;
    margin-bottom: 5px;
}

.search-form {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    background-color: #6a1b9a;
    padding: 25px;
    border-radius: 10px;
}

.search-form label {
    margin: 10px;
    color: white;
}

.search-form select, .search-form button {
    margin: 10px;
    padding: 10px;
    border: none;
    border-radius: 5px;
}

.search-form select {
    width: 150px;
}

.search-form button {
    background-color: #ff007f;
    color: white;
    cursor: pointer;
    font-size: 16px;
}

.search-form button:hover {
    opacity: 0.8;
}

/* Responsive Styles */
@media (max-width: 768px) {
    .nav-links {
        display: none;
    }
    .navbar {
        flex-direction: column;
    }
    .nav-buttons {
        margin-top: 10px;
    }
    .hero h1 {
        font-size: 28px;
    }
    .search-form {
        flex-direction: column;
    }
    .search-form select, .search-form button {
        width: 100%;
    }
}

.carousel-inner {
    height: 60vh;
}

  /* matches css start */

/* Matches Section CSS */
#matches {
    overflow: hidden;
    position: relative;
}

#matches h2 {
    font-size: 2rem;
    margin-bottom: 1.5rem;
    font-weight: bold;
    color: #333;
}

.card-container {
    display: flex;
    flex-wrap: nowrap;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
}

.card {
    position: relative;
    overflow: hidden;
    margin: 0 15px;
    flex: 0 0 auto;
    scroll-snap-align: start;
    transition: transform 0.4s, box-shadow 0.4s;
    border: none;
    border-radius: 10px;
    background: #ffffff;
}

.card:hover {
    transform: scale(1.05);
    box-shadow: 0 6px 30px rgba(0, 0, 0, 0.15);
}

.card img {
    border-radius: 10px 10px 0 0;
    transition: transform 0.3s ease-in-out;
}

.card:hover img {
    transform: scale(1.1);
}

.icon-overlay {
    position: absolute;
    top: 20%;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    opacity: 0;
    transition: opacity 0.4s ease-in-out;
}

.card:hover .icon-overlay {
    opacity: 1;
}

.icon-overlay i {
    font-size: 20px;
    color: #fff;
    background-color: rgba(0, 0, 0, 0.8);
    padding: 8px;
    border-radius: 50%;
    transition: transform 0.3s, background-color 0.3s;
}

.icon-overlay i:hover {
    transform: scale(1.2);
    background-color: #ff8c00;
}

.card-body {
    padding: 1rem;
    text-align: center;
}

.card-title {
    font-size: 1.2rem;
    font-weight: bold;
    color: #444;
}

.card-text {
    font-size: 0.9rem;
    color: #666;
}

.express-interest {
    margin-top: 10px;
    font-size: 0.9rem;
    padding: 8px 12px;
    background-color: #ff007f;
    border: none;
    color: #fff;
    border-radius: 5px;
    transition: background-color 0.3s;
}

.express-interest:hover {
    opacity: 0.8;
}

/* Smooth Scroll */
.card-container::-webkit-scrollbar {
    display: none;
}

 /* matches css end */

    /* About Us Section Styling */
  /* About Us Section Background Animation */
#about-us {
    position: relative;
    padding: 50px 20px;
    overflow: hidden;
    background: linear-gradient(135deg, #FFDEE9, #B5FFFC); /* Base gradient colors */
    background-size: 200% 200%;
    animation: backgroundTransition 12s ease-in-out infinite; /* Smooth gradient animation */
    color: #333; /* Ensure text color contrasts with background */
    clip-path: polygon(0 0%, 100% 0, 90% 100%, 1% 100%);
}

/* Keyframes for the gradient background animation */
@keyframes backgroundTransition {
    0% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
    100% {
        background-position: 0% 50%;
    }
}

/* Overlay animated shapes */
#about-us::before {
    content: "";
    position: absolute;
    top: 0;
    left: 50%;
    width: 300px;
    height: 300px;
    background: rgba(255, 255, 255, 0.2); /* Soft white, semi-transparent overlay */
    border-radius: 50%; /* Circular shape */
    filter: blur(60px); /* Soft blur effect */
    transform: translateX(-50%) translateY(-20px);
    animation: float 6s ease-in-out infinite; /* Floating animation */
    background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1440 320"><path fill="%23FFDEE9" fill-opacity="1" d="M0,160L60,170.7C120,181,240,203,360,224C480,245,600,267,720,256C840,245,960,203,1080,165.3C1200,128,1320,96,1380,80L1440,64L1440,0L1380,0C1320,0,1200,0,1080,0C960,0,840,0,720,0C600,0,480,0,360,0C240,0,120,0,60,0L0,0Z"></path></svg>');
    background-size: cover;
    background-repeat: no-repeat;
    background-position: top;
}

/* Floating effect keyframes */
@keyframes float {
    0%, 100% {
        transform: translateX(-50%) translateY(-20px);
    }
    50% {
        transform: translateX(-50%) translateY(20px);
    }
}


/* Keyframes for the gradient background animation */
@keyframes backgroundTransition {
    0% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
    100% {
        background-position: 0% 50%;
    }
}

#about-us h6 {
    color: #FF007F; /* About Us heading color */
}

#about-us h2 {
    font-size: 4rem;
    color: #4B0082; /* Customize this as needed */
    font-weight: bold;
}

#about-us p {
    color: #666666;
}

#about-us ul {
    padding-left: 0;
    list-style: none;
}

#about-us li {
    font-size: 1rem;
    margin-bottom: 0.5rem;
}

#about-us i {
    margin-right: 8px;
}

#about-us .btn-danger {
    background-color: #FF007F; /* Customize button color */
    border: none;
}

/* Right Column Image Styling */
#about-us .image-container {
    position: relative;
    max-width: 400px;
}

#about-us img {
    border: 8px solid #ffffff;
}

/* Decorative Dots Styling */
#about-us .decorative-dots {
    width: 80px;
    height: 80px;
    background-image: radial-gradient(circle, #8B008B 3px, transparent 1px);
    background-size: 10px 10px;
    top: 200px;
    left: -90px;
    opacity: 1;
    transform: rotate(0deg);
    /* font-weight: bold; */

}

/* Responsive Adjustments */
@media (max-width: 768px) {
    #about-us .text-md-left {
        text-align: center !important;
    }

    #about-us .image-container {
        max-width: 250px;
    }

    #about-us .decorative-dots {
        display: none; /* Hide dots on smaller screens */
    }
}

/* Heading Animation */
h2 {
    font-size: 2rem;
    font-weight: bold;
    background: linear-gradient(120deg, #4B0082, #FFD700, #8B008B);
    background-size: 200%;
    -webkit-background-clip: text;
    color: transparent;
    animation: colorShift 3s linear infinite;
}

@keyframes colorShift {
    0% {
        background-position: 0%;
    }
    100% {
        background-position: 100%;
    }
}

/* Heading Animation */
@keyframes colorTransition {
    0% {
        color: #4B0082; /* Start color */
    }
    50% {
        color: #FF8C00; /* Goldish color */
    }
    100% {
        color: #4B0082; /* End color (same as start) */
    }
}

.animated-heading {
    font-weight: bold;
  
    animation: colorTransition 3s ease-in-out infinite;
    background-clip: text;
    text-fill-color: transparent; /* Safari only */
}

/* feature section css satrt */
.feature-section {
    text-align: center;
    padding: 50px 0;
}
.feature-section h2 {
    font-weight: bold;
}
.feature-box {
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    border-radius: 8px;
    padding: 20px;
    background-color: white;
    transition: transform 0.3s ease;
}
.feature-box:hover {
    transform: translateY(-10px);
}
.feature-icon {
    font-size: 2rem;
    color: #6A1B9A;
}
.feature-title {
    font-weight: bold;
    margin-top: 10px;
    margin-bottom: 10px;
}
.feature-description {
    color: #6c757d;
}

  /* feature css end */

  .happy-stories-section {
    padding: 50px 0;
    background-color: #f9f9f9;
}
.happy-stories-section h2 {
    font-weight: bold;
    text-align: center;
    margin-bottom: 30px;
}
.happy-story-card {
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    border-radius: 8px;
    overflow: hidden;
    background-color: white;
    transition: transform 0.3s ease;
}
.happy-story-card:hover {
    transform: translateY(-10px);
}
.happy-story-card img {
    width: 100%;
    height: auto;
}
.happy-story-content {
    padding: 20px;
}
.happy-story-content h4 {
    font-weight: bold;
}
.happy-story-content p {
    margin: 10px 0;
}
.happy-story-icon {
    font-size: 1.5rem;
    color: #f76b1c;
}

/* happy story css end */

/* footer css start */

.footer {
    background-color: var(--primary-color);
    color: white;
    padding: 40px 0;
}
.footer a {
    color: #f76b1c;
}
.footer a:hover {
    text-decoration: none;
    color: #ff9a3c;
}
.footer .logo {
    font-size: 1.5rem;
    font-weight: bold;
}
.footer .logo span {
    color: #f76b1c;
}
.footer .social-icons a {
    color: white;
    margin-right: 10px;
}
.footer .social-icons a:hover {
    color: #f76b1c;
}
.footer .contact-info i {
    margin-right: 10px;
    color: #f76b1c;
}
.footer .quick-links li {
    margin-bottom: 10px;
}

/* footer css end */
