/* NiveshSakha - Custom CSS */

/* CSS Variables for Material Design Colors */
:root {
    --primary-color: #1e3a8a;
    --secondary-color: #1e40af;
    --accent-color: #3b82f6;
    --text-dark: #1a1a1a;
    --text-light: #666;
    --white: #ffffff;
    --light-bg: #f8f9fa;
    --dark-bg: #0f172a;
    --gradient-primary: linear-gradient(135deg, #1e3a8a 0%, #1e40af 100%);
    --gradient-secondary: linear-gradient(135deg, #3b82f6 0%, #1e3a8a 100%);
    --gradient-text: linear-gradient(135deg, #93c5fd 0%, #dbeafe 100%);
    --box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    --box-shadow-hover: 0 8px 40px rgba(0, 0, 0, 0.15);
    --border-radius: 12px;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Global Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    overflow-x: hidden;
}

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    overflow-x: hidden;
    width: 100%;
    max-width: 100vw;
}

/* Container and Layout Fixes */
.container,
.container-fluid {
    max-width: 100%;
    overflow-x: hidden;
}

.row {
    margin-left: 0;
    margin-right: 0;
}

.col,
[class*="col-"] {
    padding-left: 15px;
    padding-right: 15px;
    word-wrap: break-word;
    overflow-wrap: break-word;
}

/* Prevent horizontal overflow for all sections */
section {
    overflow-x: hidden;
    width: 100%;
    max-width: 100vw;
}

/* Fix for long text content */
h1, h2, h3, h4, h5, h6, p, div, span {
    word-wrap: break-word;
    overflow-wrap: break-word;
    hyphens: auto;
}

/* Fix for images and media */
img, video, iframe {
    max-width: 100%;
    height: auto;
}

/* Fix for tables */
table {
    width: 100%;
    table-layout: fixed;
    word-wrap: break-word;
}

/* Typography */
.section-title {
    font-family: 'Playfair Display', serif;
    font-size: 2.5rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 1rem;
}

.section-description {
    font-size: 1.1rem;
    color: var(--text-light);
    line-height: 1.8;
}

.page-title {
    font-family: 'Playfair Display', serif;
    font-size: 3rem;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 1rem;
}

.page-description {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.8;
}

.text-gradient {
    background: var(--gradient-text);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Loading Animation */
.loader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    transition: opacity 0.5s ease, visibility 0.5s ease;
}

.loader.hidden {
    opacity: 0;
    visibility: hidden;
}

.loader-content {
    text-align: center;
}

.spinner {
    width: 50px;
    height: 50px;
    border: 4px solid #f3f3f3;
    border-top: 4px solid var(--primary-color);
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin: 0 auto 20px;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Navigation */
.custom-navbar {
    padding: 1rem 0;
    transition: var(--transition);
    background: var(--gradient-primary) !important;
    box-shadow: var(--box-shadow);
}

.custom-navbar.scrolled {
    padding: 0.5rem 0;
    background: rgba(30, 58, 138, 0.95) !important;
    backdrop-filter: blur(10px);
}

.navbar-brand {
    text-decoration: none;
}

.logo-container {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.logo-text {
    font-family: 'Playfair Display', serif;
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--white);
    line-height: 1;
}

.logo-tagline {
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.8);
    font-weight: 400;
    margin-top: -2px;
}

.navbar-contact {
    color: var(--white);
    font-weight: 500;
}

.navbar-nav .nav-link {
    color: var(--white) !important;
    font-weight: 500;
    margin: 0 0.5rem;
    transition: var(--transition);
    position: relative;
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active {
    color: rgba(255, 255, 255, 0.8) !important;
}

.navbar-nav .nav-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -5px;
    left: 50%;
    background: var(--white);
    transition: var(--transition);
    transform: translateX(-50%);
}

.navbar-nav .nav-link:hover::after,
.navbar-nav .nav-link.active::after {
    width: 100%;
}

.btn-cta {
    background: var(--white);
    color: var(--primary-color);
    border: none;
    padding: 0.5rem 1.5rem;
    border-radius: 25px;
    font-weight: 600;
    transition: var(--transition);
}

.btn-cta:hover {
    background: rgba(255, 255, 255, 0.9);
    transform: translateY(-2px);
    box-shadow: var(--box-shadow);
}

/* Hero Section */
.hero-section {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    overflow: hidden;
    background: var(--gradient-primary);
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(30, 58, 138, 0.9) 0%, rgba(30, 64, 175, 0.8) 100%);
}

.hero-content {
    position: relative;
    z-index: 2;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    background: rgba(255, 255, 255, 0.2);
    color: var(--white);
    padding: 0.5rem 1rem;
    border-radius: 25px;
    font-size: 0.9rem;
    font-weight: 500;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.hero-title {
    font-family: 'Playfair Display', serif;
    font-size: 3.5rem;
    font-weight: 700;
    color: var(--white);
    line-height: 1.2;
}

.hero-description {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.8;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.cta-button {
    background: var(--accent-color);
    border: none;
    border-radius: 50px;
    padding: 1rem 2rem;
    font-weight: 600;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.cta-button:hover {
    transform: translateY(-3px);
    box-shadow: var(--box-shadow-hover);
}

.cta-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s;
}

.cta-button:hover::before {
    left: 100%;
}

.hero-stats {
    margin-top: 2rem;
}

.stat-item {
    text-align: center;
    color: var(--white);
}

.stat-number {
    font-size: 2rem;
    font-weight: 700;
    color: var(--white);
    display: block;
}

.stat-label {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.8);
    margin-top: 0.25rem;
}

.hero-image {
    position: relative;
}

.floating-card {
    position: absolute;
    bottom: 20px;
    right: 20px;
    background: var(--white);
    padding: 1.5rem;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    backdrop-filter: blur(10px);
}

.card-content {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.card-content i {
    font-size: 2rem;
}

.card-content h6 {
    margin: 0;
    font-weight: 600;
    color: var(--text-dark);
}

.card-content p {
    margin: 0;
    color: var(--text-light);
    font-size: 0.9rem;
}

/* Page Header */
.page-header {
    position: relative;
    padding: 150px 0 100px;
    overflow: hidden;
}

.page-header-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('https://images.unsplash.com/photo-1556742049-0cfed4f6a45d?ixlib=rb-4.0.3&auto=format&fit=crop&w=2000&q=80') center/cover no-repeat;
    background-attachment: fixed;
}

.page-header-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--gradient-primary);
    opacity: 0.9;
}

.page-header-content {
    position: relative;
    z-index: 2;
    text-align: center;
}

.breadcrumb {
    background: none;
    padding: 0;
    margin-top: 1rem;
}

.breadcrumb-item a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
}

.breadcrumb-item.active {
    color: var(--white);
}

/* Services Section */
.services-section {
    padding: 100px 0;
}

.service-card {
    background: var(--white);
    padding: 2.5rem;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    transition: var(--transition);
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--box-shadow-hover);
}

.service-icon {
    width: 80px;
    height: 80px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    transition: var(--transition);
}

.service-icon i {
    font-size: 2rem;
    color: var(--white);
}

.service-card:hover .service-icon {
    transform: scale(1.1) rotate(5deg);
}

.service-card h4 {
    font-family: 'Playfair Display', serif;
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 1rem;
}

.service-card p {
    color: var(--text-light);
    margin-bottom: 1.5rem;
    line-height: 1.7;
}

.service-features ul {
    list-style: none;
    padding: 0;
    margin-bottom: 1.5rem;
}

.service-features li {
    padding: 0.5rem 0;
    color: var(--text-light);
    position: relative;
    padding-left: 1.5rem;
}

.service-features li:before {
    content: '\f00c';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    color: var(--primary-color);
    position: absolute;
    left: 0;
    top: 0.5rem;
}

.service-link {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.service-link:hover {
    color: var(--secondary-color);
    transform: translateX(5px);
}

/* Services Detail */
.services-detail {
    padding: 50px 0;
}

.service-detail-card {
    background: var(--white);
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--box-shadow);
    margin-bottom: 3rem;
}

.service-content {
    padding: 3rem;
}

.service-icon-large {
    width: 100px;
    height: 100px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.service-icon-large i {
    font-size: 2.5rem;
    color: var(--white);
}

.service-title {
    font-family: 'Playfair Display', serif;
    font-size: 2.2rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 1rem;
}

.service-description {
    font-size: 1.1rem;
    color: var(--text-light);
    line-height: 1.8;
    margin-bottom: 2rem;
}

.service-features-detailed {
    margin-bottom: 2rem;
}

.feature-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.feature-item i {
    color: var(--primary-color);
    font-size: 1.2rem;
    margin-top: 0.25rem;
}

.feature-item h5 {
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 0.5rem;
}

.feature-item p {
    color: var(--text-light);
    margin: 0;
    line-height: 1.6;
}

.service-image img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    border-radius: var(--border-radius);
}

/* Process Section */
.process-section {
    background: var(--light-bg);
}

.process-step {
    position: relative;
    padding: 2rem;
}

.process-number {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 30px;
    height: 30px;
    background: var(--primary-color);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.9rem;
}

.process-icon {
    width: 80px;
    height: 80px;
    background: var(--white);
    border: 3px solid var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
}

.process-icon i {
    font-size: 1.8rem;
    color: var(--primary-color);
}

.process-step h4 {
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 1rem;
}

.process-step p {
    color: var(--text-light);
    line-height: 1.6;
}

/* Statistics Section */
.stats-section {
    background: var(--gradient-primary);
    color: var(--white);
    padding: 80px 0;
}

.stat-card {
    background: rgba(255, 255, 255, 0.1);
    padding: 2rem;
    border-radius: var(--border-radius);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: var(--transition);
}

.stat-card:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.15);
}

.stat-card .stat-icon {
    width: 60px;
    height: 60px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
}

.stat-card .stat-icon i {
    font-size: 1.5rem;
    color: var(--white);
}

.stat-card .stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--white);
    display: block;
    margin-bottom: 0.5rem;
}

.stat-suffix {
    font-size: 1.5rem;
    color: var(--white);
    display: inline;
}

.stat-card .stat-label {
    color: rgba(255, 255, 255, 0.9);
    font-weight: 500;
}

/* Testimonials Section */
.testimonials-section {
    padding: 100px 0;
    background: var(--light-bg);
}

.testimonial-card {
    background: var(--white);
    padding: 2rem;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    height: 100%;
    transition: var(--transition);
}

.testimonial-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--box-shadow-hover);
}

.testimonial-content {
    margin-bottom: 1.5rem;
}

.stars {
    color: #ffc107;
}

.stars i {
    margin-right: 0.25rem;
}

.testimonial-content p {
    color: var(--text-light);
    font-style: italic;
    line-height: 1.7;
    margin-bottom: 0;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.author-image {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    object-fit: cover;
}

.author-info h6 {
    font-weight: 600;
    color: var(--text-dark);
    margin: 0;
}

.author-info span {
    color: var(--text-light);
    font-size: 0.9rem;
}

.carousel-controls {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-top: 2rem;
}

.carousel-control-prev,
.carousel-control-next {
    position: relative;
    width: 50px;
    height: 50px;
    background: var(--primary-color);
    border: none;
    border-radius: 50%;
    color: var(--white);
    transition: var(--transition);
    opacity: 1;
}

.carousel-control-prev:hover,
.carousel-control-next:hover {
    background: var(--secondary-color);
    transform: scale(1.1);
}

/* Contact Section */
.contact-section {
    padding: 100px 0;
}

.contact-info {
    padding-right: 2rem;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.5rem 0;
    border-bottom: 1px solid #eee;
}

.contact-item:last-child {
    border-bottom: none;
}

.contact-icon {
    width: 50px;
    height: 50px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.contact-icon i {
    font-size: 1.2rem;
    color: var(--white);
}

.contact-details h5 {
    font-weight: 600;
    color: var(--text-dark);
    margin: 0 0 0.25rem;
}

.contact-details p {
    color: var(--text-light);
    margin: 0;
}

.contact-details a {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 500;
}

.contact-details a:hover {
    color: var(--secondary-color);
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-link {
    width: 40px;
    height: 40px;
    background: var(--light-bg);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-light);
    text-decoration: none;
    transition: var(--transition);
}

.social-link:hover {
    background: var(--primary-color);
    color: var(--white);
    transform: translateY(-2px);
}

/* Contact Form */
.contact-form-wrapper {
    background: var(--white);
    padding: 2.5rem;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
}

.form-section {
    border-bottom: 1px solid #eee;
    padding-bottom: 1.5rem;
}

.form-section:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.form-section-title {
    color: var(--text-dark);
    font-weight: 600;
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid var(--primary-color);
    display: inline-block;
}

.form-control,
.form-select {
    border: 2px solid #eee;
    border-radius: 8px;
    padding: 0.75rem 1rem;
    transition: var(--transition);
    font-size: 1rem;
}

.form-control:focus,
.form-select:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.2rem rgba(2, 166, 107, 0.25);
}

.form-label {
    font-weight: 500;
    color: var(--text-dark);
    margin-bottom: 0.5rem;
}

.form-check-input:checked {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
}

.form-check-label {
    color: var(--text-light);
    cursor: pointer;
}

/* Contact Info Cards */
.contact-info-section {
    padding: 50px 0;
    background: var(--light-bg);
}

.contact-info-card {
    background: var(--white);
    padding: 2rem;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    transition: var(--transition);
    height: 100%;
}

.contact-info-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--box-shadow-hover);
}

.contact-info-icon {
    width: 80px;
    height: 80px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
}

.contact-info-icon i {
    font-size: 2rem;
    color: var(--white);
}

.contact-info-card h4 {
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 1rem;
}

.contact-info-card p {
    color: var(--text-light);
    margin-bottom: 1rem;
}

.contact-link {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
}

.contact-link:hover {
    color: var(--secondary-color);
}

/* Contact Sidebar */
.contact-sidebar {
    position: sticky;
    top: 100px;
}

.sidebar-card {
    background: var(--white);
    padding: 2rem;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
}

.sidebar-title {
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 1.5rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid var(--primary-color);
}

.quick-contact-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem 0;
    border-bottom: 1px solid #eee;
}

.quick-contact-item:last-child {
    border-bottom: none;
}

.quick-contact-item i {
    width: 40px;
    height: 40px;
    background: var(--light-bg);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-color);
}

.quick-contact-item h6 {
    margin: 0 0 0.25rem;
    font-weight: 600;
    color: var(--text-dark);
}

.quick-contact-item a {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 500;
}

.why-choose-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 0.75rem 0;
    color: var(--text-light);
}

.why-choose-item i {
    color: var(--primary-color);
    width: 20px;
}

.office-hours {
    margin-bottom: 1rem;
}

.hours-item {
    display: flex;
    justify-content: space-between;
    padding: 0.5rem 0;
    border-bottom: 1px solid #eee;
}

.hours-item:last-child {
    border-bottom: none;
}

.hours-note {
    color: var(--text-light);
    font-size: 0.9rem;
    margin: 0;
}

/* FAQ Section */
.faq-section {
    padding: 80px 0;
}

.accordion-item {
    border: none;
    margin-bottom: 1rem;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--box-shadow);
}

.accordion-header {
    border: none;
}

.accordion-button {
    background: var(--white);
    color: var(--text-dark);
    font-weight: 600;
    padding: 1.5rem;
    border: none;
    transition: var(--transition);
}

.accordion-button:not(.collapsed) {
    background: var(--primary-color);
    color: var(--white);
}

.accordion-button:focus {
    box-shadow: none;
    border: none;
}

.accordion-body {
    padding: 1.5rem;
    background: var(--white);
    color: var(--text-light);
    line-height: 1.7;
}

/* CTA Section */
.cta-section {
    background: var(--gradient-primary);
    color: var(--white);
    padding: 80px 0;
}

.cta-title {
    font-family: 'Playfair Display', serif;
    font-size: 2.5rem;
    font-weight: 600;
    color: var(--white);
}

.cta-description {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.8;
}

.cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* Footer */
.footer {
    background: var(--dark-bg);
    color: var(--white);
}

.footer-brand h4 {
    font-family: 'Playfair Display', serif;
    font-weight: 600;
    color: var(--white);
    margin-bottom: 1rem;
}

.footer-brand p {
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.7;
}

.footer-title {
    font-weight: 600;
    color: var(--white);
    margin-bottom: 1rem;
}

.footer-links {
    list-style: none;
    padding: 0;
}

.footer-links li {
    margin-bottom: 0.5rem;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: var(--transition);
}

.footer-links a:hover {
    color: var(--primary-color);
}

.footer-divider {
    border-color: rgba(255, 255, 255, 0.2);
    margin: 2rem 0;
}

.copyright {
    color: rgba(255, 255, 255, 0.8);
}

/* WhatsApp Float Button */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    left: 30px;
    z-index: 1000;
}

.whatsapp-link,
.whatsapp-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    background: #25d366;
    border-radius: 50%;
    color: var(--white) !important;
    font-size: 1.8rem;
    text-decoration: none;
    box-shadow: var(--box-shadow);
    transition: var(--transition);
    animation: pulse 2s infinite;
}

.whatsapp-link:hover,
.whatsapp-btn:hover {
    background: #128c7e;
    color: var(--white) !important;
    transform: scale(1.1);
}

@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7);
    }
    70% {
        box-shadow: 0 0 0 10px rgba(37, 211, 102, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
    }
}

/* Back to Top Button */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: var(--primary-color);
    color: var(--white);
    border: none;
    border-radius: 50%;
    font-size: 1.2rem;
    cursor: pointer;
    transition: var(--transition);
    opacity: 0;
    visibility: hidden;
    z-index: 1000;
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    background: var(--secondary-color);
    transform: translateY(-3px);
}

/* Buttons */
.btn-primary {
    background: var(--primary-color);
    border-color: var(--primary-color);
    border-radius: 50px;
    padding: 0.75rem 2rem;
    font-weight: 600;
    transition: var(--transition);
}

.btn-primary:hover {
    background: var(--secondary-color);
    border-color: var(--secondary-color);
    transform: translateY(-2px);
    box-shadow: var(--box-shadow);
}

.btn-outline-light {
    border: 2px solid var(--white);
    border-radius: 50px;
    padding: 0.75rem 2rem;
    font-weight: 600;
    transition: var(--transition);
}

.btn-outline-light:hover {
    background: var(--white);
    color: var(--primary-color);
    transform: translateY(-2px);
}

/* Pricing Section */
.pricing-section {
    padding: 100px 0;
    background: var(--light-bg);
}

.pricing-card {
    background: var(--white);
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    transition: var(--transition);
    overflow: hidden;
    position: relative;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.pricing-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--box-shadow-hover);
}

.pricing-card.featured {
    border: 3px solid var(--primary-color);
    transform: scale(1.05);
}

.pricing-card.featured:hover {
    transform: scale(1.05) translateY(-10px);
}

.popular-badge {
    position: absolute;
    top: 20px;
    right: -35px;
    background: var(--accent-color);
    color: var(--white);
    padding: 0.5rem 3rem;
    font-size: 0.8rem;
    font-weight: 600;
    transform: rotate(45deg);
    z-index: 2;
}

.pricing-header {
    padding: 2rem 2rem 1rem;
    text-align: center;
    background: linear-gradient(135deg, rgba(2, 166, 107, 0.05) 0%, rgba(63, 74, 70, 0.05) 100%);
}

.pricing-icon {
    width: 80px;
    height: 80px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    transition: var(--transition);
}

.pricing-icon i {
    font-size: 2rem;
    color: var(--white);
}

.pricing-card:hover .pricing-icon {
    transform: scale(1.1) rotate(5deg);
}

.plan-name {
    font-family: 'Playfair Display', serif;
    font-size: 1.8rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 0.5rem;
}

.plan-subtitle {
    color: var(--text-light);
    font-size: 1rem;
    margin: 0;
}

.pricing-body {
    padding: 1rem 2rem 2rem;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.price {
    text-align: center;
    margin-bottom: 1rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid #eee;
}

.currency {
    font-size: 1.5rem;
    color: var(--text-light);
    vertical-align: top;
    margin-right: 0.25rem;
}

.amount {
    font-size: 3rem;
    font-weight: 700;
    color: var(--primary-color);
    line-height: 1;
}

.period {
    font-size: 1rem;
    color: var(--text-light);
    margin-left: 0.25rem;
}

.price-note {
    text-align: center;
    font-size: 0.85rem;
    color: var(--text-light);
    margin-bottom: 1.5rem;
    font-style: italic;
}

.features-list {
    list-style: none;
    padding: 0;
    margin-bottom: 2rem;
    flex-grow: 1;
}

.features-list li {
    padding: 0.75rem 0;
    border-bottom: 1px solid #f0f0f0;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: var(--text-light);
    transition: var(--transition);
}

.features-list li:last-child {
    border-bottom: none;
}

.features-list li:hover {
    color: var(--text-dark);
    padding-left: 0.5rem;
}

.features-list li i {
    color: var(--primary-color);
    font-size: 0.9rem;
    width: 16px;
    flex-shrink: 0;
}

.pricing-footer {
    padding: 0 2rem 2rem;
}

.pricing-footer .btn {
    border-radius: 50px;
    padding: 1rem 2rem;
    font-weight: 600;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.pricing-footer .btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s;
}

.pricing-footer .btn:hover::before {
    left: 100%;
}

.pricing-note {
    background: var(--white);
    padding: 3rem 2rem;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    margin-top: 2rem;
}

.note-icon {
    width: 60px;
    height: 60px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
}

.note-icon i {
    font-size: 1.5rem;
    color: var(--white);
}

.pricing-note h5 {
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 1rem;
}

.pricing-note p {
    color: var(--text-light);
    margin: 0;
    line-height: 1.6;
}

/* Updated Pricing Section Styles */
.text-from {
    font-size: 1rem;
    color: var(--text-light);
    margin-right: 0.25rem;
}

.amount-text {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--primary-color);
    text-align: center;
    display: block;
}

.special-service {
    background: linear-gradient(135deg, rgba(2, 166, 107, 0.05) 0%, rgba(63, 74, 70, 0.05) 100%);
    border: 2px solid var(--primary-color);
}

.special-service .pricing-header {
    background: var(--gradient-primary);
    color: var(--white);
}

.special-service .plan-name,
.special-service .plan-subtitle {
    color: var(--white);
}

.service-description {
    margin: 1.5rem 0;
    padding: 1rem;
    background: rgba(2, 166, 107, 0.05);
    border-radius: 8px;
    border-left: 4px solid var(--primary-color);
}

.service-description p {
    margin: 0;
    color: var(--text-light);
    line-height: 1.7;
    font-style: italic;
}

.popular-badge {
    background: var(--primary-color);
}

/* Responsive adjustments for new layout */
@media (max-width: 991px) {
    .pricing-section .col-lg-6 {
        margin-bottom: 2rem;
    }
    
    .special-service {
        margin-top: 2rem;
    }
}

@media (max-width: 767px) {
    .amount-text {
        font-size: 1.5rem;
    }
    
    .service-description {
        margin: 1rem 0;
        padding: 0.75rem;
    }
    
    .text-from {
        font-size: 0.9rem;
    }
}

/* Responsive Design */

/* Large tablets and small laptops */
@media (max-width: 1199px) {
    .pricing-card {
        margin-bottom: 2rem;
    }
    
    .service-card {
        margin-bottom: 2rem;
    }
    
    .contact-sidebar {
        position: static;
        margin-top: 2rem;
    }
}

/* Tablets */
@media (max-width: 991px) {
    .hero-title {
        font-size: 2.5rem;
        line-height: 1.3;
    }
    
    .section-title {
        font-size: 2rem;
        text-align: center;
    }
    
    .page-title {
        font-size: 2.5rem;
        line-height: 1.3;
    }
    
    .hero-buttons {
        justify-content: center;
        text-align: center;
        gap: 1rem;
        flex-wrap: wrap;
    }
    
    .contact-info {
        padding-right: 0;
        margin-bottom: 2rem;
    }
    
    .service-content {
        padding: 2rem;
    }
    
    .navbar-contact {
        display: none !important;
    }
    
    .whatsapp-float {
        bottom: 20px;
        left: 20px;
    }
    
    .back-to-top {
        bottom: 20px;
        right: 20px;
    }
    
    .footer .row > div {
        margin-bottom: 2rem;
        text-align: center;
    }
    
    .footer .col-md-6.text-md-end {
        text-align: center !important;
    }
    
    .process-step {
        margin-bottom: 2rem;
    }
    
    .stat-card {
        margin-bottom: 2rem;
    }
    
    /* Enhanced navigation for tablets */
    .navbar-nav {
        text-align: center;
        padding: 1rem 0;
    }
    
    .navbar-nav .nav-item {
        margin: 0.5rem 0;
    }
}

/* Mobile devices */
@media (max-width: 767px) {
    /* Prevent horizontal overflow */
    html, body {
        overflow-x: hidden;
        width: 100%;
        max-width: 100vw;
    }
    
    .container {
        max-width: 100%;
        padding-left: 15px;
        padding-right: 15px;
        overflow-x: hidden;
    }
    
    .row {
        margin-left: 0;
        margin-right: 0;
        overflow-x: hidden;
    }
    
    /* Enhanced navbar mobile fixes */
    .navbar {
        padding: 0.5rem 0;
    }
    
    .navbar .container {
        padding-left: 10px;
        padding-right: 10px;
    }
    
    .navbar-brand {
        max-width: 55%;
        flex-shrink: 1;
        overflow: hidden;
    }
    
    .logo-text {
        font-size: 1.5rem;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }
    
    .logo-tagline {
        font-size: 0.7rem;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }
    
    .d-flex.align-items-center.order-lg-3 {
        flex-shrink: 0;
        max-width: 45%;
        justify-content: flex-end;
    }
    
    .btn-cta {
        font-size: 0.85rem;
        padding: 0.6rem 1rem;
        white-space: nowrap;
    }
    
    .navbar-toggler {
        padding: 0.25rem 0.5rem;
        font-size: 1rem;
        border: none;
        margin-left: 0.5rem;
    }
    
    [class*="col-"] {
        padding-left: 10px;
        padding-right: 10px;
        overflow-x: hidden;
        word-wrap: break-word;
        overflow-wrap: break-word;
    }
    
    /* Typography fixes */
    .hero-title {
        font-size: 2rem;
        line-height: 1.2;
        word-wrap: break-word;
        overflow-wrap: break-word;
        hyphens: auto;
    }
    
    .page-title {
        font-size: 2rem;
        line-height: 1.2;
        word-wrap: break-word;
        overflow-wrap: break-word;
        hyphens: auto;
    }
    
    .section-title {
        font-size: 1.8rem;
        line-height: 1.3;
        word-wrap: break-word;
        overflow-wrap: break-word;
        hyphens: auto;
    }
    
    .hero-description,
    .page-description {
        font-size: 1rem;
        line-height: 1.6;
        word-wrap: break-word;
        overflow-wrap: break-word;
        hyphens: auto;
    }
      .section-description {
        font-size: 1rem;
        line-height: 1.7;
        word-wrap: break-word;
        overflow-wrap: break-word;
        hyphens: auto;
    }
    
    /* Button and navigation fixes */
    .hero-buttons {
        flex-direction: column;
        align-items: center;
        gap: 1rem;
        width: 100%;
        overflow-x: hidden;
    }
    
    .hero-buttons .btn {
        width: 100%;
        max-width: 280px;
        padding: 1rem 2rem;
        word-wrap: break-word;
        overflow-wrap: break-word;
        white-space: normal;
    }
    
    /* Form and content fixes */
    .contact-form-wrapper {
        padding: 1.5rem;
        overflow-x: hidden;
    }
    
    .service-detail-card .service-content {
        padding: 1.5rem;
        overflow-x: hidden;
    }
    
    /* Table and list fixes */
    table {
        width: 100%;
        table-layout: fixed;
        word-wrap: break-word;
        overflow-x: auto;
        display: block;
        white-space: nowrap;
    }
    
    table thead,
    table tbody,
    table tr {
        display: table;
        width: 100%;
    }
    
    ul, ol {
        padding-left: 1.5rem;
        overflow-x: hidden;
    }
    
    li {
        word-wrap: break-word;
        overflow-wrap: break-word;
        hyphens: auto;
    }
    
    /* Policy content fixes */
    .policy-section {
        overflow-x: hidden;
    }
    
    .policy-section h3,
    .policy-section h4,
    .policy-section h5 {
        word-wrap: break-word;
        overflow-wrap: break-word;
        hyphens: auto;
    }
    
    .policy-section p {
        word-wrap: break-word;
        overflow-wrap: break-word;
        hyphens: auto;
    }
    
    .policy-section ul,
    .policy-section ol {
        overflow-x: hidden;
        padding-left: 1.2rem;
    }
    
    /* Service policy and content boxes */
    .service-policy {
        overflow-x: hidden;
        padding: 0.5rem;
    }
    
    .contact-info {
        overflow-x: hidden;
    }
    
    .company-info {
        overflow-x: hidden;
    }
    
    .stat-card .stat-number {
        font-size: 2rem;
    }
    
    .whatsapp-link,
    .whatsapp-btn {
        width: 50px;
        height: 50px;
        font-size: 1.5rem;
    }
      /* Enhanced mobile navigation */
    .navbar-toggler {
        border: none;
        padding: 0.25rem 0.5rem;
    }
    
    .navbar-toggler:focus {
        box-shadow: none;
    }
    
    .navbar-collapse {
        background: rgba(30, 58, 138, 0.98);
        margin: 1rem 0 0;
        padding: 1rem;
        border-radius: 0 0 15px 15px;
        width: 100%;
        overflow-x: hidden;
    }
    
    .navbar-brand {
        max-width: 60%;
        overflow: hidden;
    }
    
    .logo-text {
        font-size: 1.4rem;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }
    
    .logo-tagline {
        font-size: 0.65rem;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }
    
    .navbar-nav {
        width: 100%;
        overflow-x: hidden;
    }
    
    .navbar-nav .nav-link {
        padding: 0.75rem 1rem;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }
    
    /* Enhanced service cards for mobile */
    .service-card {
        padding: 2rem 1.5rem;
        margin-bottom: 1.5rem;
    }
    
    .service-icon {
        width: 70px;
        height: 70px;
        margin-bottom: 1.5rem;
    }
    
    .service-icon i {
        font-size: 1.8rem;
    }
    
    /* Pricing cards mobile optimization */
    .pricing-card {
        margin-bottom: 2rem;
        transform: none !important;
    }
    
    .pricing-card.featured {
        transform: none !important;
        border: 2px solid var(--primary-color);
    }
    
    .amount {
        font-size: 2.5rem;
    }
    
    .currency {
        font-size: 1.2rem;
    }
    
    /* Footer mobile optimization */
    .footer .container > .row > div {
        text-align: center;
        margin-bottom: 2rem;
    }
    
    .footer-links {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        gap: 1rem;
    }
    
    .footer-links li {
        margin-bottom: 0;
    }
    
    .social-links {
        justify-content: center;
    }
    
    /* Contact page mobile optimization */
    .contact-item {
        flex-direction: column;
        text-align: center;
        padding: 2rem 0;
    }
    
    .contact-icon {
        margin-bottom: 1rem;
    }
    
    /* Form optimization */
    .form-control {
        padding: 1rem;
        font-size: 1rem;
    }
    
    .btn {
        padding: 1rem 2rem;
        font-size: 1rem;
    }
    
    /* Process section mobile */
    .process-step {
        text-align: center;
        padding: 1.5rem;
    }
    
    .process-number {
        position: static;
        transform: none;
        margin: 0 auto 1rem;
    }
    
    /* Stats section mobile */
    .stats-section {
        padding: 60px 0;
    }
    
    .stat-card {
        padding: 1.5rem;
    }
    
    /* Hero section mobile spacing */
    .hero-section {
        padding: 2rem 0;
        min-height: 90vh;
    }
    
    .hero-stats {
        margin-top: 3rem;
    }
    
    .stat-item {
        margin-bottom: 1.5rem;
    }
}

/* Small mobile devices */
@media (max-width: 575px) {
    /* Enhanced container fixes */
    .container {
        padding-left: 10px;
        padding-right: 10px;
        max-width: 100%;
        overflow-x: hidden;
    }
    
    [class*="col-"] {
        padding-left: 5px;
        padding-right: 5px;
        overflow-x: hidden;
    }
    
    /* Typography for very small screens */
    .hero-title {
        font-size: 1.8rem;
        word-wrap: break-word;
        overflow-wrap: break-word;
        hyphens: auto;
    }
    
    .page-title {
        font-size: 1.8rem;
        word-wrap: break-word;
        overflow-wrap: break-word;
        hyphens: auto;
    }
    
    .section-title {
        font-size: 1.6rem;
        word-wrap: break-word;
        overflow-wrap: break-word;
        hyphens: auto;
    }
    
    /* Content fixes */
    .service-card {
        padding: 1.5rem 1rem;
        overflow-x: hidden;
    }
    
    .pricing-card {
        margin: 0 auto 2rem;
        max-width: 100%;
        overflow-x: hidden;
    }
    
    .contact-form-wrapper {
        padding: 1rem;
        overflow-x: hidden;
    }
    
    /* Navigation fixes for very small screens */
    .navbar-brand {
        max-width: 50%;
    }
    
    .logo-text {
        font-size: 1.2rem;
    }
    
    .logo-tagline {
        font-size: 0.6rem;
    }
    
    /* Button fixes */
    .btn {
        font-size: 0.9rem;
        padding: 0.8rem 1.5rem;
        word-wrap: break-word;
        overflow-wrap: break-word;
        white-space: normal;
    }
    
    /* Table responsiveness for small screens */
    table {
        font-size: 0.8rem;
    }
    
    /* Policy content for small screens */
    .policy-section h3 {
        font-size: 1.3rem;
    }
    
    .policy-section h4 {
        font-size: 1.1rem;
    }
    
    .policy-section h5 {
        font-size: 1rem;
    }
    
    /* Footer fixes */
    .footer {
        overflow-x: hidden;
    }
    
    .footer .container {
        overflow-x: hidden;
    }
    
    .footer .row {
        overflow-x: hidden;
    }
    
    .footer [class*="col-"] {
        overflow-x: hidden;
    }
    
    .whatsapp-float {
        bottom: 15px;
        left: 15px;
    }
    
    .btn-cta {
        padding: 0.75rem 1.25rem;
        font-size: 0.9rem;
    }
    
    /* Enhanced touch targets */
    .nav-link {
        padding: 1rem;
        font-size: 1.1rem;
    }
    
    .footer-links a {
        padding: 0.5rem;
    }
    
    .social-link {
        width: 45px;
        height: 45px;
        font-size: 1.2rem;
    }
    
    /* Typography adjustments for small screens */
    .policy-section h3 {
        font-size: 1.4rem;
        margin-bottom: 1rem;
    }
    
    .policy-section h4 {
        font-size: 1.2rem;
        margin-bottom: 0.75rem;
    }
    
    .policy-section h5 {
        font-size: 1.1rem;
        margin-bottom: 0.5rem;
    }
    
    /* Table responsiveness */
    .table-responsive {
        font-size: 0.9rem;
    }
    
    /* Accordion mobile optimization */
    .accordion-button {
        padding: 1rem;
        font-size: 1rem;
    }
    
    .accordion-body {
        padding: 1rem;
    }
}

/* Extra small devices */
@media (max-width: 375px) {
    .hero-title {
        font-size: 1.6rem;
    }
    
    .page-title {
        font-size: 1.6rem;
    }
    
    .section-title {
        font-size: 1.4rem;
    }
    
    .hero-buttons .btn {
        padding: 0.875rem 1.5rem;
        font-size: 0.95rem;
    }
    
    .service-card {
        padding: 1.25rem 0.75rem;
    }
    
    .pricing-card .pricing-header {
        padding: 1.5rem 1rem;
    }
    
    .pricing-card .pricing-body {
        padding: 1rem;
    }
    
    .amount {
        font-size: 2rem;
    }
    
    .whatsapp-link,
    .whatsapp-btn {
        width: 45px;
        height: 45px;
        font-size: 1.3rem;
    }
}

/* Long words and technical terms */
.technical-term,
.url,
.email,
.phone-number {
    word-wrap: break-word !important;
    overflow-wrap: break-word !important;
    hyphens: auto !important;
}

/* FINAL MOBILE OVERRIDES - Highest Priority Fixes */
@media (max-width: 768px) {    /* CRITICAL: WhatsApp button positioned on bottom-left */
    .whatsapp-float {
        position: fixed !important;
        bottom: 20px !important;
        left: 20px !important;
        right: auto !important;
        z-index: 9999 !important;
    }
    
    /* CRITICAL: Remove ALL vertical scrollbars from content sections */
    .policy-content,
    .policy-document, 
    .policy-section,
    .policy-header,
    .service-policy,
    .contact-info,
    .company-info,
    section,
    .container,
    .row,
    [class*="col-"] {
        overflow-y: visible !important;
        overflow-x: hidden !important;
        height: auto !important;
        max-height: none !important;
    }
    
    /* CRITICAL: Hero section spacing fix */
    .page-header {
        padding: 120px 0 60px !important;
        min-height: auto !important;
    }
    
    /* CRITICAL: Prevent horizontal scrolling */
    html, body {
        overflow-x: hidden !important;
        max-width: 100vw !important;
        position: relative !important;
    }
}

/* Smaller screens - maintain WhatsApp button on right */
@media (max-width: 576px) {
    .whatsapp-float {
        bottom: 15px !important;
        right: 15px !important;
        left: auto !important;
    }
}

@media (max-width: 375px) {
    .whatsapp-float {
        bottom: 10px !important;
        right: 10px !important;
        left: auto !important;
    }
}
