:root {
    /* Color Variables */
    --primary-color: #175e00;
    --secondary-color: #5f0000;
    --primary-light: #f988a48f;
    --primary-gradient: linear-gradient(45deg, #dc3545, #e83e8c);
    --secondary-badge-color: #f39c12;
    --white: #fff;
    --text-dark: #333;
    --text-medium: #495057;
    --border-color: #e9ecef;
    --text-light: #666;
    --text-lighter: #6c757d;
    --border-light: #eee;
    --background-light: #f8f9fa;
    --input-border: #ffe7e8;
    --select-background: #eaf2fc;
    --shadow-color: rgba(0, 175, 255, 0.15);
    --primary-shadow: rgba(220, 53, 69, 0.3);
    --general-shadow: rgba(0, 0, 0, 0.1);

    /* Font Variables */
    --font-size-base: 16px;
    --font-size-lg: 1.3rem;
    --font-size-sm: 1.1rem;
    --font-weight-normal: 500;
    --font-weight-bold: 600;
    --font-weight-bolder: 700;
    --line-height-base: 1;

    /* Spacing Variables */
    --spacing-xs: 5px;
    --spacing-sm: 8px;
    --spacing-md: 10px;
    --spacing-lg: 12px;
    --spacing-xl: 15px;
    --spacing-xxl: 20px;
    --spacing-xxxl: 25px;
    --spacing-xxxxl: 30px;

    /* Border Variables */
    --border-radius-sm: 4px;
    --border-radius-md: 8px;
    --border-radius-lg: 10px;
    --border-radius-xl: 15px;
    --border-radius-xxl: 25px;
    --border-radius-circle: 50%;
    --border-width: 1px;
    --border-width-thick: 2px;
    --border-width-thicker: 5px;

    /* Effect Variables */
    --shadow-sm: 0 2px 8px -1px var(--shadow-color);
    --shadow-md: 0 4px 15px var(--primary-shadow);
    --shadow-lg: 0 5px 15px var(--general-shadow);
    --shadow-xl: 0 6px 20px rgba(220, 53, 69, 0.4);

    /* Transition Variables */
    --transition-base: all 0.3s ease;
    --transition-fast: all 0.2s ease;

    /* Component Sizes */
    --image-size-sm: 180px;
    --image-size-md: 200px;
    --image-size-lg: 220px;
    --image-size-xl: 250px;
}

body h1,
body h2,
body h3,
body h4,
body h5,
body h6,
.work--style2 .work__content h3,
.banner__content h2 {
    color: var(--primary-color);
}


.about-image {
    background: url('../img/about-home-client.jpeg');
    background-size: contain;
    background-position: center;
    min-height: 500px;
    border-radius: 15px;
    background-repeat: no-repeat;
    border-radius: 20px;
}

.shop-single .review .review-nav li.desc {
    background: var(--secondary-color) !important;
}

.shop-single .review .review-nav li.active {
    background-color: var(--secondary-color);
}

.shop-single .review .review-nav li.rev.active {
    background-color: var(--primary-color);
}

.shop-single .review .review-nav li {
    background-color: var(--primary-color);
}

.mainmenu ul li.active > a {
    text-decoration: unset !important;
    color: var(--primary-color);
}

.member__thumb img {
    width: var(--image-size-lg);
    height: var(--image-size-lg);
    object-fit: contain;
    background-position: center;
}

.member__inner {
    box-shadow: rgba(163, 222, 229, 0.45) 0px 0px 0.25em, rgba(234, 207, 207, 0.36) 0px 0.25em 1em;
}

.member__thumb {
    text-align: center;
}

.story__inner:hover .story__content h4 {
    color: var(--primary-color);
    text-decoration: none !important;
}

.select2-container--default .select2-selection--multiple {
    background-color: var(--select-background) !important;
    border: var(--border-width) solid var(--select-background) !important;
}

.form-style {
    border: var(--border-width) solid var(--input-border) !important;
    border-radius: var(--border-radius-md) !important;
}

.dropdown-menu[data-bs-popper] {
    left: 115px !important;
}

.bg-pink,
.header__top {
    background-color: var(--primary-color) !important;
}

.default-btn-custom {
    box-shadow: none;
    cursor: pointer;
    outline: none;
    border: none;
    color: var(--white);
    --font-size: var(--font-size-base);
    --duration: .44s;
    --move-hover: -4px;
    --shadow: var(--shadow-sm);
    --font-shadow: var(--font-size);
    padding: 15px 20px;
    font-weight: var(--font-weight-normal);
    line-height: var(--line-height-base);
    border-radius: var(--border-radius-sm);
    display: inline-block;
    outline: none;
    text-decoration: none;
    font-size: var(--font-size);
    letter-spacing: 0.5px;
    transform: translateY(var(--y)) translateZ(0);
    transition: var(--transition-base);
    background-color: var(--primary-color) !important;
}

.default-btn-custom:hover {
    border-radius: var(--border-radius-xxl);
    letter-spacing: 0.85px;
    box-shadow: var(--shadow);
    color: var(--white);
}

.modal {
    top: 80px !important;
}

.shop-cart .section-wrapper .cart-top table thead tr th:nth-child(3) {
    text-align: start !important;
}

hr.line {
    border: var(--border-width) solid var(--primary-color) !important;
}

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

.toggle-password {
    position: absolute;
    right: var(--spacing-xl);
    top: var(--spacing-md);
    cursor: pointer;
    font-size: 18px;
    user-select: none;
    color: #888;
}

.toggle-password:hover {
    color: #000;
}

@media screen and (max-width: 415px) {
    .work__tablist .nav-link {
        padding: var(--spacing-xs) 0px !important;
    }
}
@media only screen and (min-width: 1000px) and (max-width: 1499px) {
    .header__more .default-btn, .header__more .default-btn-custom {
        padding: 12px 12px;
    }
    .mainmenu ul li a {
        padding: 10px 18px !important;
    }
}

.search-review-nav li {
    cursor: pointer;
    padding: var(--spacing-md) var(--spacing-xl);
    display: inline-block;
}

.search-review-nav li.active {
    background-color: var(--primary-color);
    color: var(--white);
    font-weight: var(--font-weight-bolder);
    border-radius: var(--border-radius-md);
}

.profile-view-profile-container {
    max-width: 1200px;
    margin: 0 auto;
    background: var(--white);
    border-radius: var(--spacing-xl);
    box-shadow: var(--shadow-lg);
}

.profile-view-profile-header {
    background: var(--background-light);
    border-radius: var(--border-radius-lg);
    padding: var(--spacing-xxl);
    margin-bottom: var(--spacing-xxl);
}

.profile-view-profile-image {
    width: var(--image-size-xl);
    height: var(--image-size-xl);
    border-radius: var(--border-radius-circle);
    border: var(--border-width-thicker) solid var(--white);
    box-shadow: var(--shadow-lg);
    margin: 0 auto;
    display: block;
}

.profile-view-profile-info {
    background: var(--white);
    border-radius: var(--border-radius-lg);
    padding: var(--spacing-xxl);
    margin-bottom: var(--spacing-xxl);
}

.profile-view-info-item {
    display: flex;
    justify-content: space-between;
    padding: var(--spacing-md) 0;
    border-bottom: var(--border-width) solid var(--border-light);
}

.profile-view-info-item:last-child {
    border-bottom: none;
}

.profile-view-info-label {
    font-weight: var(--font-weight-bold);
    color: var(--text-dark);
}

.profile-view-info-value {
    color: var(--text-light);
}

.profile-view-btn-view-contact {
    background: var(--primary-gradient);
    border: none;
    color: var(--white);
    padding: var(--spacing-lg) var(--spacing-xxxl);
    border-radius: var(--border-radius-xxl);
    font-weight: var(--font-weight-bold);
    box-shadow: var(--shadow-md);
    transition: var(--transition-base);
    display: block;
    margin: var(--spacing-xxl) auto;
    width: fit-content;
}

.profile-view-btn-view-contact:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-xl);
}

.profile-view-detail-section {
    margin-bottom: var(--spacing-xxxxl);
}

.profile-view-section-title {
    color: var(--primary-color);
    font-size: var(--font-size-lg);
    font-weight: var(--font-weight-bolder);
    margin-bottom: var(--spacing-xxl);
    padding-bottom: var(--spacing-md);
    border-bottom: var(--border-width-thick) solid var(--primary-color);
    display: inline-block;
}

.header__bottom1 {
    background-color: #fff2dd;
}

.marquee-wrapper {
    background: #ffe4a1;
    color: var(--secondary-color);
}

.profile-view-detail-row {
    display: flex;
    align-items: center;
    margin-bottom: var(--spacing-sm);
}

.profile-view-detail-label {
    font-weight: var(--font-weight-bold);
    color: var(--text-medium);
}

.profile-view-detail-value {
    color: var(--text-lighter);
}

.profile-view-profile-photo {
    width: var(--image-size-md);
    height: var(--image-size-md);
    object-fit: cover;
    border-radius: var(--border-radius-lg);
    cursor: pointer;
    border: var(--border-width-thick) solid transparent;
    transition: border-color var(--transition-fast);
}

.profile-view-main-photo {
    border: var(--border-width-thick) solid #ccc;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .profile-view-profile-image {
        max-width: var(--image-size-md);
        margin-bottom: var(--spacing-xxl);
    }

    .profile-view-info-item {
        flex-direction: column;
    }

    .profile-view-info-label,
    .profile-view-info-value {
        width: 100%;
    }

    .profile-view-info-value {
        padding-top: var(--spacing-xs);
    }
}

@media (max-width: 576px) {
    .profile-view-profile-image {
        max-width: var(--image-size-sm);
    }

    .profile-view-section-title {
        font-size: var(--font-size-sm);
    }
}

.log-reg .log-reg-inner .main-content .form-group .my-form-control {
    padding: var(--spacing-lg) var(--spacing-xxxxl) !important;
}

.horo-box {
    max-width: 150px;
    height: 50px;
    border: 1px solid rgba(59, 54, 140, 0.1);
    background-color: #eaf2fc
}

/* service page */

.services-section {
    max-width: 1200px;
    margin: 0 auto;
    padding: 60px 20px;
}

.services-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
}

.service-card {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    height: 100%;
    position: relative;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

.service-image {
    height: 270px;
    overflow: hidden;
    position: relative;
}

.service-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition: transform 0.5s ease;
}

.service-card:hover .service-image img {
    transform: scale(1.05);
}

.whatsapp-icon {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 50px;
    height: 50px;
    background: #25D366;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 24px;
    box-shadow: 0 5px 15px rgba(37, 211, 102, 0.4);
    transition: all 0.3s ease;
    z-index: 2;
}

.whatsapp-icon:hover {
    transform: scale(1.1);
    background: #128C7E;
}

.service-content {
    padding: 25px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.service-name {
    font-size: 22px;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 15px;
}

.service-description {
    font-size: 16px;
    color: #64748b;
    margin-bottom: 20px;
    flex-grow: 1;
}
.register-btn, #moreoption{
    background: #3b3b3b !important;
}

.service-actions {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: auto;
}

.btn-whatsapp {
    background: #25D366;
    color: white;
    display: flex;
    align-items: center;
    gap: 8px;
}

.btn-whatsapp:hover {
    background: #128C7E;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(37, 211, 102, 0.3);
}

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

    .service-actions {
        flex-direction: column;
        gap: 15px;
        align-items: flex-start;
    }
}

@media (min-width: 992px) {
    .front-service.padding-bottom {
        padding-bottom: 50px;
    }

    .front-service.padding-top {
        padding-bottom: 30px;
    }
}



.profile-card {
    background: white;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    margin-bottom: 20px;
}

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

.profile-header {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-color));
    color: white;
    padding: 15px 20px;
    position: relative;
}

.profile-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    display: flex;
    gap: 8px;
}

.profile-image-container {
    text-align: center;
    padding: 20px 15px;
    border-right: 1px solid var(--border-color);
}

.profile-image {
    width: 180px;
    height: 200px;
    object-fit: cover;
    border-radius: 8px;
    border: 3px solid white;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.profile-id {
    font-size: 0.85rem;
    color: var(--text-light);
    margin-top: 10px;
}

.profile-details {
    padding: 20px;
}

.detail-row {
    display: flex;
    margin-bottom: 12px;
    align-items: flex-start;
}

.detail-label {
    flex: 0 0 40%;
    font-weight: 600;
    color: var(--text-dark);
}

.detail-value {
    flex: 0 0 60%;
    color: var(--text-light);
}

.action-buttons {
    display: flex;
    gap: 10px;
    margin-top: 20px;
}

.btn-primary-custom {
    background-color: var(--primary-color);
    border: none;
    color: white;
    padding: 8px 20px;
    border-radius: 6px;
    font-weight: 500;
    transition: background-color 0.3s;
}

.btn-primary-custom:hover {
    background-color: var(--secondary-color);
    color: white;
}


.verified-badge {
    background-color: var(--secondary-color);
    color: white;
    padding: 3px 8px;
    border-radius: 4px;
    font-size: 0.75rem;
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.premium-badge {
    background-color: var(--secondary-badge-color);
    color: white;
    padding: 3px 8px;
    border-radius: 4px;
    font-size: 0.75rem;
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.profile-name {
    font-size: 1.4rem;
    font-weight: 600;
    margin-bottom: 5px;
}

@media (max-width: 768px) {
    .profile-image-container {
        border-right: none;
        border-bottom: 1px solid var(--border-color);
    }

    .detail-label,
    .detail-value {
        flex: 0 0 50%;
    }

    .action-buttons {
        flex-direction: column;
    }
}


.section-title {
    position: relative;
    padding-bottom: 15px;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 80px;
    height: 3px;
    background-color: var(--primary-color);
}

.service-icon {
    width: 70px;
    height: 70px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.timeline {
    position: relative;
    padding-left: 30px;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 3px;
    background-color: var(--secondary-color);
}

.timeline-item {
    position: relative;
    margin-bottom: 30px;
}

.timeline-item::before {
    content: '';
    position: absolute;
    left: -36px;
    top: 5px;
    width: 15px;
    height: 15px;
    border-radius: 50%;
    background-color: var(--secondary-color);
}

.bg-primary-red {
    background-color: var(--primary-color) !important;
    color: var(--white);
}

.bg-secondary-red {
    background-color: var(--secondary-color) !important;
}

.bg-light-bg {
    background-color: var(--light-bg) !important;
}

.text-gold {
    color: var(--accent-gold) !important;
}

.border-gold {
    border-color: var(--accent-gold) !important;
}

.bg-gold {
    background-color: #fbe3b0 !important
}

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

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

/* Custom text color for better contrast on red background */
.text-white-90 {
    color: rgba(255, 255, 255, 0.9) !important;
}

/* Custom underline for section titles */
.title-underline {
    position: relative;
    padding-bottom: 15px;
}

.title-underline::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px;
    height: 3px;
    background-color: var(--secondary-color);
}

.text-center.title-underline::after {
    left: 50%;
    transform: translateX(-50%);
}

/* Divine image overlay */
.divine-img-overlay {
    background: linear-gradient(to top, rgba(139, 0, 0, 0.85), transparent);
}

.community-card {
    height: 60px;
    border-radius: 12px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    color: white;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    margin-bottom: 20px;
    text-align: center;
    padding: 20px;
}

/* Color definitions */
.iyer-boys {
    background-color: #8b0000;
}

/* Deep Maroon */
.iyer-girls {
    background-color: #a52a2a;
}

/* Maroon Lighter */
.iyengar-boys {
    background-color: #006400;
}

/* Deep Green */
.iyengar-girls {
    background-color: #228B22;
}

/* Green Lighter */
.other-boys {
    background-color: #654321;
}

/* Dark Brown */
.other-girls {
    background-color: #8B4513;
}

/* Green Lighter */
.remarriage-boys {
    background-color: #52aa00;
}

/* Dark Brown */
.remarriage-girls {
    background-color: #78d421;
}


/* Brown Lighter */
.community-title {
    font-size: 1rem;
    font-weight: bold;
    margin-bottom: 5px;
}

.nav-logo {
    width: 650px !important;
}

@media (min-width: 991px) {
    .nav-logo {
        width: 480px !important;
    }
}
