body {
    font-family: 'Inter', 'Poppins', sans-serif;
    background-color: #f9fafb;
    margin: 0;
    padding: 0;
    overflow-x: hidden;
    line-height: 1.5;
}

.logo {
    display: flex;
    align-items: center;
}

.logo .icon {
    width: 50px;
    height: 50px;
    background: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
    margin-right: 15px;
    transition: transform 0.4s ease, background 0.3s ease;
}

.logo .icon h1 {
    font-size: 1.5rem;
    color: #0052cc;
    margin: 0;
}

.logo:hover .icon {
    transform: rotate(360deg);
    background: #e6f3ff;
}

.logo-text {
    color: #fff;
    font-size: 1.8rem;
    font-weight: 700;
}

.logo-text span {
    color: #00d4d4;
    font-size: 1.1rem;
    display: block;
    font-weight: 400;
}

/* Shared Sidebar Styles */
.sidebar, #betty-aside {
    width: 280px;
    background: linear-gradient(145deg, #1e3a8a 0%, #3b82f6 100%);
    color: #ffffff;
    height: 100vh;
    position: fixed;
    top: 0;
    left: 0;
    padding: 24px;
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 1000;
    box-shadow: 6px 0 20px rgba(0, 0, 0, 0.12);
    backdrop-filter: blur(8px);
}

.sidebar .logo img, #betty-aside .betty-logo img {
    max-width: 180px;
    border-radius: 12px;
    margin-bottom: 32px;
    transition: transform 0.3s ease, filter 0.3s ease;
}

.sidebar .logo img:hover, #betty-aside .betty-logo img:hover {
    transform: scale(1.06);
    filter: brightness(1.1);
}

.sidebar ul, #betty-aside ul {
    list-style: none;
    padding: 0;
}

.sidebar ul li, #betty-aside ul li {
    margin-bottom: 14px;
}

.sidebar ul li a, #betty-aside ul li a {
    color: #ffffff;
    text-decoration: none;
    font-size: 1.05rem;
    font-weight: 500;
    padding: 6px 10px;
    display: flex;
    align-items: center;
    border-radius: 10px;
    transition: background-color 0.3s ease, transform 0.2s ease, box-shadow 0.3s ease;
}

.sidebar ul li a i, #betty-aside ul li a i {
    margin-right: 14px;
    font-size: 1.2rem;
}

.sidebar ul li a:hover, #betty-aside ul li a:hover {
    background-color: rgba(255, 255, 255, 0.1);
    transform: translateX(6px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.sidebar .contact-info {
    margin-top: 30px;
    padding: 12px;
    background-color: rgba(255, 255, 255, 0.2);
    border-radius: 12px;
    font-size: 0.9rem;
    line-height: 1.6;
    backdrop-filter: blur(4px);
}

#betty-aside .js-close-nav {
    color: #ffffff;
    font-size: 1.6rem;
    position: absolute;
    top: 24px;
    right: 24px;
    cursor: pointer;
    transition: color 0.3s ease, transform 0.2s ease;
}

#betty-aside .js-close-nav:hover {
    color: #10b981;
    transform: rotate(90deg);
}

/* Shared Mobile Nav Toggle */
.mobile-nav-toggle, .betty-nav-toggle {
    display: none;
    font-size: 1.9rem;
    color: #1e3a8a;
    cursor: pointer;
    padding: 12px;
    background-color: #ffffff;
    border-radius: 10px;
    margin: 16px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    position: sticky;
    top: 12px;
    z-index: 1100;
    transition: transform 0.2s ease;
}

.mobile-nav-toggle:hover, .betty-nav-toggle:hover {
    transform: scale(1.05);
}

.mobile-nav-head {
    display: none;
    position: sticky;
    top: 12px;
    z-index: 1100;
    background-color: #ffffff;
    padding: 12px;
    margin: 16px;
    border-radius: 10px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* Main Content */
.main-content, #betty-main {
    margin-left: 280px;
    /* padding: 40px; */
    transition: margin-left 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Hero Section */
.hero-section, #betty-hero .carousel-item {
    background: url('https://via.placeholder.com/1200x500?text=Empowering+Women’s+Health') no-repeat center center/cover;
    padding: 100px 24px;
    border-radius: 16px;
    color: #ffffff;
    position: relative;
    margin-bottom: 40px;
    animation: fadeIn 1.4s cubic-bezier(0.4, 0, 0.2, 1);
    height: 520px;
    width: 96%;
    margin-left: 2%;
}

.hero-section .overlay, #betty-hero .overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(145deg, rgba(30, 64, 175, 0.75), rgba(59, 130, 246, 0.65));
    border-radius: 16px;
}

.hero-section .content, #betty-hero .carousel-caption {
    /* position: relative; */
    z-index: 1;
    text-align: center;
    top: 50%;
    transform: translateY(-50%);
}

.hero-section .content h1, #betty-hero .carousel-caption h1 {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 18px;
    text-shadow: 0 3px 6px rgba(0, 0, 0, 0.25);
    letter-spacing: -0.025em;
}

.hero-section .content p {
    font-size: 1.3rem;
    font-weight: 400;
    /*margin-bottom: 24px;*/
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.hero-section .content .cta-button, #betty-hero .carousel-caption .btn-contact a {
    background-color: #10b981;
    color: #ffffff;
    padding: 14px 36px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    transition: background-color 0.3s ease, transform 0.2s ease, box-shadow 0.3s ease;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.hero-section .content .cta-button:hover, #betty-hero .carousel-caption .btn-contact a:hover {
    background-color: #059669;
    transform: scale(1.06);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.2);
}

/* About and Services Sections */
.about-section, .betty-home-services {
    background-color: #ffffff;
    padding: 48px 24px;
    border-radius: 16px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
    margin-bottom: 115px;
    backdrop-filter: blur(4px);
}

.about-section .header, .betty-home-services .betty-heading {
    color: #1e3a8a;
    font-size: 2.25rem;
    font-weight: 700;
    margin-bottom: 24px;
    text-align: center;
    animation: slideIn 1.2s cubic-bezier(0.4, 0, 0.2, 1);
}

.betty-home-services .img-fluid {
    border-radius: 16px;
    /*margin-bottom: 32px;*/
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.betty-home-services .img-fluid:hover {
    transform: scale(1.03);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.1);
}

.betty-home-services iframe {
    border-radius: 16px;
    margin-bottom: 32px;
    width: 100%;
    border: none;
}

/* Doctor and Cancer Info Cards */
.doctor-grid, .cancer-info {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
    margin-top: 24px;
}

.doctor-card, .cancer-info .card {
    background: #ffffff;
    border-radius: 16px;
    padding: 24px;
    text-align: center;
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.doctor-card:hover, .cancer-info .card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 28px rgba(0, 0, 0, 0.12);
}

.doctor-card img {
    max-width: 100%;
    height: 262px;
    object-fit: cover;
    border: 6px solid #3b82f6;
    border-radius: 2%;
    margin-bottom: 16px;
    transition: transform 0.3s ease, border-color 0.3s ease;
}

.doctor-card img:hover {
    transform: scale(1.1);
    border-color: #1e3a8a;
}

.doctor-card h3, .cancer-info .card h3 {
    color: #1e3a8a;
    font-size: 1.75rem;
    font-weight: 600;
    margin-bottom: 10px;
}

.doctor-card p, .cancer-info .card p {
    color: #4b5563;
    font-size: 1.05rem;
    line-height: 1.7;
}

.cancer-info .card p b {
    color: #dc2626;
}

.cancer-info .card p b.green {
    color: #059669;
}

/* Vision Text */
.vision-text {
    color: #1e3a8a;
    font-size: 1.4rem;
    font-weight: 600;
    text-align: center;
    margin: 40px 0;
    animation: fadeIn 1.4s cubic-bezier(0.4, 0, 0.2, 1);
    line-height: 1.7;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

/* Footer */
.footer {
    background: linear-gradient(145deg, #1e3a8a, #3b82f6);
    color: #ffffff;
    padding: 40px 24px;
    margin-left: 280px;
    transition: margin-left 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.footer .logo img {
    max-width: 180px;
    border-radius: 12px;
    margin-bottom: 24px;
}

.footer h4 {
    color: #10b981;
    font-size: 1.4rem;
    font-weight: 600;
    margin-bottom: 24px;
}

.footer ul {
    list-style: none;
    padding: 0;
}

.footer ul li a {
    color: #ffffff;
    text-decoration: none;
    font-size: 1rem;
    font-weight: 400;
    transition: color 0.3s ease, padding-left 0.3s ease;
}

.footer ul li a:hover {
    color: #10b981;
    padding-left: 8px;
}

.footer .social-icons a {
    font-size: 1.5rem;
    margin-right: 16px;
    color: #ffffff;
    transition: color 0.3s ease, transform 0.2s ease;
}

.footer .social-icons a:hover {
    color: #10b981;
    transform: scale(1.25);
}

.newsletter input {
    padding: 12px;
    border-radius: 30px;
    border: none;
    width: 70%;
    margin-right: 12px;
    font-size: 1rem;
    background-color: #f3f4f6;
}

.newsletter button {
    padding: 12px 24px;
    background-color: #10b981;
    color: #ffffff;
    border: none;
    border-radius: 30px;
    cursor: pointer;
    font-size: 1rem;
    font-weight: 600;
    transition: background-color 0.3s ease, transform 0.2s ease;
}

.newsletter button:hover {
    background-color: #059669;
    transform: scale(1.05);
}

/* Enquiry Form Styles */
.betty-contact {
    background-color: #ffffff;
    padding: 48px 24px;
    border-radius: 16px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
    margin-bottom: 40px;
    backdrop-filter: blur(4px);
}

.betty-contact .betty-heading {
    color: #1e3a8a;
    font-size: 2.25rem;
    font-weight: 700;
    margin-bottom: 12px;
    text-align: center;
    animation: slideIn 1.2s cubic-bezier(0.4, 0, 0.2, 1);
}

.betty-contact .heading-meta {
    color: #4b5563;
    font-size: 1.1rem;
    font-weight: 400;
    text-align: center;
    margin-bottom: 32px;
    display: block;
}

.betty-contact .form-group {
    margin-bottom: 24px;
}

.betty-contact .radio-inline {
    font-size: 1rem;
    font-weight: 500;
    color: #1e3a8a;
    margin-right: 24px;
    cursor: pointer;
    transition: color 0.3s ease;
}

.betty-contact .radio-inline input[type="radio"] {
    margin-right: 8px;
    accent-color: #3b82f6;
    width: 18px;
    height: 18px;
    vertical-align: middle;
}

.betty-contact .radio-inline:hover {
    color: #10b981;
}

.betty-contact .form-control {
    background-color: #f3f4f6;
    border: none;
    border-radius: 12px;
    padding: 14px 20px;
    font-size: 1rem;
    color: #1e3a8a;
    width: 100%;
    transition: background-color 0.3s ease, box-shadow 0.3s ease, transform 0.2s ease;
}

.betty-contact .form-control:focus {
    background-color: #ffffff;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    outline: none;
    transform: translateY(-2px);
}

.betty-contact .form-control::placeholder {
    color: #6b7280;
    opacity: 0.7;
}

.betty-contact textarea.form-control {
    resize: vertical;
    min-height: 120px;
}

.betty-contact .btn-contact {
    background-color: #10b981;
    color: #ffffff;
    padding: 14px 36px;
    border-radius: 30px;
    border: none;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    display: inline-block;
    transition: background-color 0.3s ease, transform 0.2s ease, box-shadow 0.3s ease;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.betty-contact .btn-contact:hover {
    background-color: #059669;
    transform: scale(1.06);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.2);
}

#infoMessage, .success_message {
    color: #1e3a8a;
    font-size: 1rem;
    font-weight: 500;
    margin-bottom: 24px;
    text-align: center;
    animation: fadeIn 0.8s ease-in-out;
}

#infoMessage.alert-danger {
    color: #dc2626;
}

.success_message.alert-info {
    background-color: #dbeafe;
    padding: 12px;
    border-radius: 12px;
}

.success_message.alert-success {
    background-color: #d1fae5;
    padding: 12px;
    border-radius: 12px;
}

.enquiry-img-bg {
    background: linear-gradient(145deg, #f9fafb, #e5e7eb);
    padding: 40px 24px;
    border-radius: 16px;
    margin-bottom: 40px;
}

.enquiry-img img {
    max-width: 100%;
    border-radius: 16px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease;
}

.enquiry-img img:hover {
    transform: scale(1.03);
}

/* Refer & Earn Form Styles */
.refer_earn {
    background-color: #ffffff;
    padding: 48px 24px;
    border-radius: 16px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
    margin-bottom: 40px;
    backdrop-filter: blur(4px);
}

.refer_earn .page-header {
    text-align: center;
    margin-bottom: 32px;
}

.refer_earn .page-title {
    color: #1e3a8a;
    font-size: 2.25rem;
    font-weight: 700;
    margin-bottom: 12px;
    animation: slideIn 1.2s cubic-bezier(0.4, 0, 0.2, 1);
}

.refer_earn .form-group {
    margin-bottom: 24px;
}

.refer_earn label {
    color: #1e3a8a;
    font-size: 1.05rem;
    font-weight: 500;
    margin-bottom: 8px;
    display: block;
}

.refer_earn label b {
    font-size: 1.1rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: #10b981;
}

.refer_earn a b {
    font-size: 1rem;
    font-weight: 600;
    color: #3b82f6;
    text-decoration: underline;
    transition: color 0.3s ease;
}

.refer_earn a:hover b {
    color: #10b981;
}

.refer_earn .form-control {
    background-color: #f3f4f6;
    border: none;
    border-radius: 12px;
    padding: 14px 20px;
    font-size: 1rem;
    color: #1e3a8a;
    width: 100%;
    transition: background-color 0.3s ease, box-shadow 0.3s ease, transform 0.2s ease;
}

.refer_earn .form-control[readonly] {
    background-color: #e5e7eb;
    opacity: 0.9;
    cursor: not-allowed;
}

.refer_earn .form-control:focus {
    background-color: #ffffff;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    outline: none;
    transform: translateY(-2px);
}

.refer_earn .form-control::placeholder {
    color: #6b7280;
    opacity: 0.7;
}

.refer_earn .input-height {
    height: 48px;
}

.refer_earn .btn-primary {
    background-color: #10b981;
    color: #ffffff;
    padding: 14px 36px;
    border-radius: 30px;
    border: none;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    display: block;
    width: 100%;
    text-align: center;
    transition: background-color 0.3s ease, transform 0.2s ease, box-shadow 0.3s ease;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.refer_earn .btn-primary:hover {
    background-color: #059669;
    transform: scale(1.06);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.2);
}

.refer_earn .femi {
    margin-bottom: 16px;
}

.refer_earn .row {
    margin-bottom: 24px;
}

.refer_earn .fa-inr {
    color: #1e3a8a;
    font-size: 1.2rem;
}

.refer_earn .input-group-text {
    background-color: #f3f4f6;
    border: none;
    border-radius: 12px 0 0 12px;
    padding: 14px;
}

.refer_earn .error {
    color: #dc2626;
    font-size: 0.9rem;
    margin-top: 4px;
    min-height: 20px;
}

.refer_earn .error-highlight {
    border: 2px solid #dc2626;
}

/* Profile Form Styles */
.profile-mobile-view .card {
    background-color: #ffffff;
    border-radius: 16px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
    margin-bottom: 40px;
    backdrop-filter: blur(4px);
    overflow: hidden;
}

.profile-mobile-view .card-header {
    background: linear-gradient(145deg, #1e3a8a, #3b82f6);
    color: #ffffff;
    padding: 32px;
    border-radius: 16px 16px 0 0;
}

.profile-mobile-view .profile-pic-container {
    position: relative;
    width: 120px;
    height: 120px;
    margin: 0 auto 16px;
}

.profile-mobile-view .profile-pic {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
    border: 4px solid #ffffff;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease;
}

.profile-mobile-view .profile-pic:hover {
    transform: scale(1.05);
}

.profile-mobile-view .profile-name {
    font-size: 1.75rem;
    font-weight: 700;
    margin-bottom: 8px;
}

.profile-mobile-view .profile-referral {
    font-size: 1rem;
    font-weight: 400;
    margin-bottom: 16px;
}

.profile-mobile-view .profile-referral strong {
    color: #10b981;
}

.profile-mobile-view .share-link {
    font-size: 1rem;
    font-weight: 600;
    color: #ffffff;
    text-decoration: none;
    padding: 10px 20px;
    border-radius: 20px;
    background-color: #10b981;
    transition: background-color 0.3s ease, transform 0.2s ease;
    display: inline-flex;
    align-items: center;
}

.profile-mobile-view .share-link i {
    margin-right: 8px;
}

.profile-mobile-view .share-link:hover {
    background-color: #059669;
    transform: scale(1.05);
}

.profile-mobile-view .card-body {
    padding: 32px;
}

.profile-mobile-view .page-header {
    text-align: center;
    margin-bottom: 32px;
}

.profile-mobile-view .page-title {
    color: #1e3a8a;
    font-size: 2.25rem;
    font-weight: 700;
    margin-bottom: 12px;
    animation: slideIn 1.2s cubic-bezier(0.4, 0, 0.2, 1);
}

.profile-mobile-view .breadcrumb {
    justify-content: center;
    background: none;
    padding: 0;
}

.profile-mobile-view .breadcrumb-item a {
    color: #3b82f6;
    text-decoration: none;
    transition: color 0.3s ease;
}

.profile-mobile-view .breadcrumb-item a:hover {
    color: #10b981;
}

.profile-mobile-view .breadcrumb-item.active {
    color: #1e3a8a;
    font-weight: 500;
}

.profile-mobile-view .form-group {
    margin-bottom: 24px;
}

.profile-mobile-view .form-label {
    color: #1e3a8a;
    font-size: 1.05rem;
    font-weight: 500;
    margin-bottom: 8px;
    display: block;
}

.profile-mobile-view .form-control {
    background-color: #f3f4f6;
    border: none;
    border-radius: 12px;
    padding: 14px 20px;
    font-size: 1rem;
    color: #1e3a8a;
    width: 100%;
    transition: background-color 0.3s ease, box-shadow 0.3s ease, transform 0.2s ease;
}

.profile-mobile-view .form-control[readonly] {
    background-color: #e5e7eb;
    opacity: 0.9;
    cursor: not-allowed;
}

.profile-mobile-view .form-control:focus {
    background-color: #ffffff;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    outline: none;
    transform: translateY(-2px);
}

.profile-mobile-view .form-control::placeholder {
    color: #6b7280;
    opacity: 0.7;
}

.profile-mobile-view textarea.form-control {
    resize: vertical;
    min-height: 120px;
}

.profile-mobile-view .input-group .btn-outline-secondary {
    border: none;
    background-color: #f3f4f6;
    border-radius: 0 12px 12px 0;
    color: #1e3a8a;
    transition: background-color 0.3s ease;
}

.profile-mobile-view .input-group .btn-outline-secondary:hover {
    background-color: #e5e7eb;
}

.profile-mobile-view .btn-primary {
    background-color: #10b981;
    color: #ffffff;
    padding: 14px 36px;
    border-radius: 30px;
    border: none;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    display: block;
    width: 100%;
    text-align: center;
    transition: background-color 0.3s ease, transform 0.2s ease, box-shadow 0.3s ease;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.profile-mobile-view .btn-primary:hover {
    background-color: #059669;
    transform: scale(1.06);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.2);
}

.profile-mobile-view .preview-img {
    max-width: 150px;
    height: auto;
    border-radius: 8px;
    margin-top: 12px;
    display: block;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease;
}

.profile-mobile-view .preview-img:hover {
    transform: scale(1.05);
}

.profile-mobile-view .error {
    color: #dc2626;
    font-size: 0.9rem;
    margin-top: 4px;
    min-height: 20px;
}

.profile-mobile-view .error-highlight {
    border: 2px solid #dc2626;
}

.profile-mobile-view .progress {
    height: 8px;
    border-radius: 4px;
    background-color: #e5e7eb;
}

.profile-mobile-view .progress-bar {
    background-color: #10b981;
    transition: width 0.3s ease;
}

/* Animations */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes slideIn {
    from { transform: translateY(30px); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}

/* Responsive Design */
@media (max-width: 768px) {
    .sidebar, #betty-aside {
        transform: translateX(-280px);
    }

    .sidebar.active, #betty-aside.active {
        transform: translateX(0);
    }

    .main-content, #betty-main, .footer {
        margin-left: 0;
        margin-top: -110px;
    }

    .mobile-nav-toggle, .mobile-nav-head {
        display: flex;
    }

    .hero-section, #betty-hero .carousel-item {
        padding: 60px 16px;
        height: 360px;
    }

    .hero-section .content h1, #betty-hero .carousel-caption h1 {
        font-size: 2.25rem;
    }

    .hero-section .content p {
        font-size: 1.1rem;
    }

    .hero-section .content .cta-button, #betty-hero .carousel-caption .btn-contact a {
        padding: 12px 24px;
        font-size: 0.95rem;
    }

    .about-section, .betty-home-services, .betty-contact, .refer_earn, .profile-mobile-view .card {
        padding: 10px 2px;
    }

    .betty-home-services .betty-heading, .betty-contact .betty-heading, .refer_earn .page-title, .profile-mobile-view .page-title {
        font-size: 1.75rem;
    }

    .betty-home-services iframe {
        height: 180px;
    }

    .doctor-card img {
        max-width: 160px;
        height: 160px;
    }

    .doctor-card h3, .cancer-info .card h3 {
        font-size: 1.5rem;
    }

    .doctor-card p, .cancer-info .card p {
        font-size: 0.95rem;
    }

    .vision-text {
        font-size: 1.2rem;
    }

    .footer .row > div {
        text-align: center;
    }

    .footer .social-icons, .newsletter {
        justify-content: center;
        text-align: center;
    }

    .newsletter input {
        width: 100%;
        margin-bottom: 12px;
    }

    .profile-mobile-view .form-group {
        margin-bottom: 16px;
    }

    .profile-mobile-view .btn-primary {
        padding: 12px;
    }

    .profile-mobile-view .preview-img {
        max-width: 100px;
    }

    .profile-mobile-view .profile-pic-container {
        width: 100px;
        height: 100px;
    }

    .profile-mobile-view .profile-name {
        font-size: 1.5rem;
    }

    .profile-mobile-view .profile-referral {
        font-size: 0.9rem;
    }

    .profile-mobile-view .share-link {
        padding: 8px 16px;
        font-size: 0.9rem;
    }
}

/* Refer & Earn Form Styles */
.refer-earn-card {
    background-color: #ffffff;
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    margin-bottom: 40px;
    backdrop-filter: blur(8px);
    transform: translateZ(0);
    transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.refer-earn-card:hover {
    transform: translateZ(20px) rotateX(2deg) rotateY(2deg);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.2);
}

.refer-earn-card .card-header {
    background: linear-gradient(145deg, #1e3a8a, #3b82f6);
    color: #ffffff;
    padding: 32px;
    border-radius: 16px 16px 0 0;
    transform: translateZ(10px);
    position: relative;
}

.refer-earn-card .card-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(145deg, rgba(30, 64, 175, 0.2), rgba(59, 130, 246, 0.2));
    border-radius: 16px 16px 0 0;
    transform: translateZ(-5px);
    z-index: -1;
}

.refer-earn-card .refer-title {
    font-size: 1.75rem;
    font-weight: 700;
    margin-bottom: 16px;
    transform: translateZ(10px);
}

.refer-earn-card .referral-code-section {
    transform: translateZ(5px);
}

.refer-earn-card .referral-code {
    font-size: 1rem;
    font-weight: 400;
    margin-bottom: 16px;
}

.refer-earn-card .referral-code strong {
    color: #10b981;
}

.refer-earn-card .share-link {
    font-size: 1rem;
    font-weight: 600;
    color: #ffffff;
    text-decoration: none;
    padding: 10px 20px;
    border-radius: 20px;
    background-color: #10b981;
    transition: background-color 0.3s ease, transform 0.2s ease, box-shadow 0.3s ease;
    display: inline-flex;
    align-items: center;
    transform: translateZ(0);
}

.refer-earn-card .share-link i {
    margin-right: 8px;
}

.refer-earn-card .share-link:hover {
    background-color: #059669;
    transform: translateZ(10px) scale(1.05);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.refer-earn-card .card-body {
    padding: 32px;
    transform: translateZ(5px);
}

.refer-earn-card .section-title {
    color: #1e3a8a;
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 16px;
    transform: translateZ(5px);
}

.refer-earn-card .form-group {
    margin-bottom: 24px;
    transform: translateZ(0);
}

.refer-earn-card .form-label {
    color: #1e3a8a;
    font-size: 1.05rem;
    font-weight: 500;
    margin-bottom: 8px;
    display: block;
    transform: translateZ(0);
}

.refer-earn-card .form-control {
    background-color: #f3f4f6;
    border: none;
    border-radius: 12px;
    padding: 14px 20px;
    font-size: 1rem;
    color: #1e3a8a;
    width: 100%;
    transition: background-color 0.3s ease, box-shadow 0.3s ease, transform 0.2s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    transform: translateZ(0);
}

.refer-earn-card .form-control[readonly] {
    background-color: #e5e7eb;
    opacity: 0.9;
    cursor: not-allowed;
}

.refer-earn-card .form-control:focus {
    background-color: #ffffff;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    outline: none;
    transform: translateZ(10px);
}

.refer-earn-card .form-control::placeholder {
    color: #6b7280;
    opacity: 0.7;
}

.refer-earn-card .input-height {
    height: 48px;
}

.refer-earn-card .input-group-text {
    background-color: #f3f4f6;
    border: none;
    border-radius: 12px 0 0 12px;
    padding: 14px;
    color: #1e3a8a;
    transform: translateZ(0);
}

.refer-earn-card .input-group-text i {
    font-size: 1.2rem;
}

.refer-earn-card .btn-primary {
    background-color: #10b981;
    color: #ffffff;
    padding: 14px 36px;
    border-radius: 30px;
    border: none;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    display: block;
    width: 100%;
    text-align: center;
    transition: background-color 0.3s ease, transform 0.2s ease, box-shadow 0.3s ease;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    transform: translateZ(0);
}

.refer-earn-card .btn-primary:hover {
    background-color: #059669;
    transform: translateZ(15px) scale(1.06);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.2);
}

.refer-earn-card .error {
    color: #dc2626;
    font-size: 0.9rem;
    margin-top: 4px;
    min-height: 20px;
    transform: translateZ(0);
}

.refer-earn-card .error-highlight {
    border: 2px solid #dc2626;
    transform: translateZ(0);
}

.refer-earn-card .progress {
    height: 10px;
    border-radius: 5px;
    background-color: #e5e7eb;
    box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.1);
    transform: translateZ(0);
}

.refer-earn-card .progress-bar {
    background-color: #10b981;
    transition: width 0.3s ease;
    transform: translateZ(5px);
}

.refer-earn-card .success_message.alert-info {
    background-color: #dbeafe;
    padding: 12px;
    border-radius: 12px;
    transform: translateZ(5px);
}

.refer-earn-card .success_message.alert-success {
    background-color: #d1fae5;
    padding: 12px;
    border-radius: 12px;
    transform: translateZ(5px);
}

/* Animations */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px) translateZ(0); }
    to { opacity: 1; transform: translateY(0) translateZ(0); }
}

@keyframes slideIn {
    from { transform: translateY(30px) translateZ(0); opacity: 0; }
    to { transform: translateY(0) translateZ(10px); opacity: 1; }
}

/* Responsive Design */
@media (max-width: 768px) {
    .sidebar, #betty-aside {
        transform: translateX(-280px);
    }

    .sidebar.active, #betty-aside.active {
        transform: translateX(0);
    }

    .main-content, #betty-main {
        margin-left: 0;
    }

    .mobile-nav-toggle, .mobile-nav-head {
        display: flex;
    }

    .profile-mobile-view .page-title {
        font-size: 1.75rem;
    }

    .refer-earn-card {
        padding: 24px 16px;
    }

    .refer-earn-card .card-header {
        padding: 24px 16px;
    }

    .refer-earn-card .card-body {
        padding: 24px 16px;
    }

    .refer-earn-card .refer-title {
        font-size: 1.5rem;
    }

    .refer-earn-card .referral-code {
        font-size: 0.9rem;
    }

    .refer-earn-card .share-link {
        padding: 8px 16px;
        font-size: 0.9rem;
    }

    .refer-earn-card .form-group {
        margin-bottom: 16px;
    }

    .refer-earn-card .btn-primary {
        padding: 12px;
    }

    .refer-earn-card .row > div {
        margin-bottom: 16px;
    }

    .refer-earn-card:hover {
        transform: translateZ(10px) rotateX(1deg) rotateY(1deg);
    }
}

.section-subtitle {
        font-size: 1.1rem;
        font-weight: 300;
        color: #4b5563;
        text-align: center;
        /* margin-bottom: 10px; */
        position: relative;
        z-index: 2;
    }
    .terms-content {
        padding: 40px 0;
    }
    .terms-card {
        background: #fff;
        border-radius: 15px;
        box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08);
        padding: 30px;
        margin-bottom: 30px;
        transition: transform 0.3s ease, box-shadow 0.3s ease;
    }
    .terms-card:hover {
        transform: translateY(-5px);
        box-shadow: 0 10px 25px rgba(0, 0, 0, 0.12);
    }
    .card-title {
        font-size: 1.8rem;
        font-weight: 600;
        color: #1e3a8a;
        margin-bottom: 20px;
    }
    .terms-list {
        list-style-type: disc;
        padding-left: 20px;
        margin-bottom: 20px;
    }
    .terms-list li {
        font-size: 1rem;
        color: #4b5563;
        line-height: 1.8;
        margin-bottom: 10px;
    }
    @media (max-width: 991px) {
        .betty-contact {
            margin-left: 5%;
            padding: 40px 0;
        }
        .betty-heading {
            font-size: 2rem;
        }
        .section-subtitle {
            font-size: 1rem;
        }
        .terms-card {
            padding: 20px;
        }
    }
    @media (max-width: 768px) {
        .betty-heading {
            font-size: 1.8rem;
        }
        .card-title {
            font-size: 1.6rem;
        }
        .terms-list li, p {
            font-size: 0.95rem;
        }
    }
    @media (max-width: 576px) {
        .betty-contact {
            padding: 30px 0;
        }
        .terms-card {
            padding: 15px;
        }
        .card-title {
            font-size: 1.4rem;
        }
        .terms-list li, p {
            font-size: 0.9rem;
        }
    }

    .section-subtitle {
        font-size: 1.1rem;
        font-weight: 300;
        color: #4b5563;
        text-align: center;
        margin-bottom: 30px;
        position: relative;
        z-index: 2;
    }
    .privacy-content {
        padding: 40px 0;
    }
    .privacy-card {
        background: #fff;
        border-radius: 15px;
        box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08);
        padding: 30px;
        margin-bottom: 30px;
        transition: transform 0.3s ease, box-shadow 0.3s ease;
    }
    .privacy-card:hover {
        transform: translateY(-5px);
        box-shadow: 0 10px 25px rgba(0, 0, 0, 0.12);
    }
    .card-title {
        font-size: 1.8rem;
        font-weight: 600;
        color: #1e3a8a;
        margin-bottom: 20px;
    }
    .privacy-list {
        list-style-type: disc;
        padding-left: 20px;
        margin-bottom: 20px;
    }
    .privacy-list li {
        font-size: 1rem;
        color: #4b5563;
        line-height: 1.8;
        margin-bottom: 10px;
    }
    
    @media (max-width: 991px) {
        .betty-contact {
            margin-left: 5%;
            padding: 40px 0;
        }
        .betty-heading {
            font-size: 2rem;
        }
        .section-subtitle {
            font-size: 1rem;
        }
        .privacy-card {
            padding: 20px;
        }
    }
    @media (max-width: 768px) {
        .betty-heading {
            font-size: 1.8rem;
        }
        .card-title {
            font-size: 1.6rem;
        }
        .privacy-list li, p {
            font-size: 0.95rem;
        }
    }
    @media (max-width: 576px) {
        .betty-contact {
            padding: 30px 0;
        }
        .privacy-card {
            padding: 15px;
        }
        .card-title {
            font-size: 1.4rem;
        }
        .privacy-list li, p {
            font-size: 0.9rem;
        }
    }