/*
Theme Name: Nirja Theme
Theme URI: http://example.com/nirja-theme
Author: Antigravity
Author URI: http://example.com
Description: Custom Elementor theme for Dr. Karan Porwal
Version: 1.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: nirja-theme
*/
.btn btn-primary{
margin: 0; padding: 12px 24px; font-size: 15px; border-radius: 5px; font-weight: 700; color: #fff; background-color: var(--red); border: none; text-decoration: none; box-shadow: 0 4px 10px rgba(238, 52, 78, 0.3);
}
:root {
            --red:#a70101;
            --navy:#002c6d;
            --text:#666666;
            --heading:#1b2336;
            --font-heading: 'Inter', sans-serif;
            --font-body: 'Inter', sans-serif;
            --grey-bg:#f9f9f9;
        }

        body {
            font-family: var(--font-body);
            color: var(--text);
            overflow-x: hidden;
            background-color: #ffffff;
            margin: 0;
            padding: 0;
        }

        h1, h2, h3, h4, h5, h6 {
            font-family: var(--font-heading);
            color: var(--heading);
            font-weight: 800;
        }

        a {
            text-decoration: none;
            transition: all 0.3s ease;
        }

        /* --- Top Bar --- */
        .top-bar {
            background-color: #f7f7f7;
            border-bottom: 1px solid #eeeeee;
            padding: 8px 0;
            font-size: 13px;
            font-weight: 600;
            color: #444;
        }
        .top-bar i {
            color: var(--red);
            margin-right: 5px;
        }
        .top-bar .social-icons a {
            color: #444;
            margin-left: 15px;
        }
        .top-bar .social-icons a:hover {
            color: var(--red);
        }

        /* --- Navbar --- */
     
        .navbar-brand {
            display: flex;
            align-items: center;
            font-family: var(--font-heading);
            font-weight: 900;
            font-size: 26px;
            color: var(--navy);
        }
        .navbar-brand img {
            height: 35px;
            margin-right: 10px;
        }
        .nav-link {
            font-family: var(--font-heading);
            font-weight: 700;
            color: var(--navy) !important;
            font-size: 15px;
            text-transform: uppercase;
            padding: 10px 15px !important;
        }
        .nav-link.active, .nav-link:hover {
            color: var(--red) !important;
        }
        .nav-icons {
            display: flex;
            align-items: center;
        }
        .nav-icons a {
            color: var(--navy);
            font-size: 18px;
            margin-right: 20px;
            position: relative;
        }
        .nav-icons a:hover {
            color: var(--red);
        }
        .cart-count {
            position: absolute;
            top: -8px;
            right: -8px;
            background: var(--red);
            color: #fff;
            font-size: 10px;
            width: 16px;
            height: 16px;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            font-weight: bold;
        }
        .btn-appointment {
            background-color: var(--navy);
            color: #fff;
            font-family: var(--font-heading);
            font-weight: 700;
            font-size: 14px;
            padding: 12px 25px;
            border-radius: 4px;
            transition: all 0.3s;
        }
        .btn-appointment:hover {
            background-color: var(--red);
            color: #fff;
        }

        /* --- Hero Section --- */
        .hero-section {
            position: relative;
            background-image: url('https://cardioly-demo.pbminfotech.com/demo-04/wp-content/uploads/sites/9/2021/08/slider-01.jpg'); /* Need placeholder */
            background-size: cover;
            background-position: center right;
            padding: 140px 0 250px;
            background-color: #fcebeb; /* Fallback if image fails */
        }
        .hero-content {
            max-width: 600px;
        }
        .play-btn-wrapper {
            display: flex;
            align-items: center;
            margin-bottom: 20px;
        }
        .play-btn {
            width: 50px;
            height: 50px;
            background: #fff;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            color: var(--red);
            font-size: 14px;
            box-shadow: 0 5px 15px rgba(0,0,0,0.1);
            margin-right: 15px;
        }
        .play-text {
            font-family: var(--font-heading);
            font-weight: 700;
            color: var(--navy);
            font-size: 14px;
            text-transform: uppercase;
            letter-spacing: 1px;
        }
        .hero-title {
            font-size: 65px;
            line-height: 1.1;
            color: var(--navy);
            margin-bottom: 30px;
            font-weight: 900;
        }
        .hero-title span {
            color: white;
        }
        .btn-discover {
            background-color: var(--red);
            color: #fff;
            font-family: var(--font-heading);
            font-weight: 700;
            font-size: 14px;
            padding: 15px 35px;
            border-radius: 4px;
            transition: background 0.3s;
            text-transform: uppercase;
            letter-spacing: 1px;
        }
        .btn-discover:hover {
            background-color: var(--navy);
            color: #fff;
        }

        /* --- Overlapping Feature Cards --- */
        .features-wrapper {
            position: relative;
            margin-top: -100px;
            z-index: 10;
        }
        .feature-card {
            background: #fff;
            padding: 30px 20px;
            text-align: center;
            box-shadow: 0 10px 30px rgba(0,0,0,0.08);
            border-radius: 5px;
            position: relative;
            height: 100%;
        }
        .feature-card img {
            width: 50px;
            margin-bottom: 20px;
        }
        .feature-card h4 {
            font-size: 18px;
            color: var(--navy);
            font-weight: 800;
            margin-bottom: 0;
            line-height: 1.3;
        }
        .feature-card-btn {
            position: absolute;
            bottom: -20px;
            left: 50%;
            transform: translateX(-50%);
            width: 40px;
            height: 40px;
            background: var(--red);
            color: #fff;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 18px;
            box-shadow: 0 5px 15px rgba(238, 52, 78, 0.4);
            transition: all 0.3s;
        }
        .feature-card-btn:hover {
            background: var(--navy);
            color: #fff;
        }
        
        /* --- About Section (Dark Blue) --- */
        .about-section {
            background-color: var(--navy);
            padding: 120px 0;
            color: #fff;
            margin-top: 50px;
        }
        .about-image-wrap {
            position: relative;
            display: inline-block;
        }
        .about-image-wrap img.main-img {
            border-radius: 5px;
            max-width: 100%;
        }
        .award-badge {
            position: absolute;
            bottom: -30px;
            left: -30px;
            background: #fff;
            padding: 20px 30px;
            border-radius: 5px;
            display: flex;
            align-items: center;
            box-shadow: 0 10px 30px rgba(0,0,0,0.2);
        }
        .award-badge .circle-border {
            width: 50px;
            height: 50px;
            border: 2px solid var(--red);
            border-radius: 50%;
            margin-right: 15px;
        }
        .award-badge h4 {
            color: var(--navy);
            font-size: 20px;
            margin: 0;
            font-weight: 800;
        }
        .award-badge span {
            color: var(--text);
            font-size: 14px;
        }
        .about-content {
            padding-left: 40px;
        }
        .section-subtitle {
            color: var(--red);
            font-family: var(--font-heading);
            font-weight: 800;
            text-transform: uppercase;
            font-size: 14px;
            letter-spacing: 1px;
            margin-bottom: 15px;
            display: inline-block;
        }
        .section-title {
            color: #fff;
            font-size: 40px;
            line-height: 1.2;
            margin-bottom: 25px;
        }
        .about-desc {
            color: #b0b5c1;
            font-size: 15px;
            line-height: 1.8;
            margin-bottom: 30px;
        }
        .about-list {
            list-style: none;
            padding: 0;
            margin-bottom: 40px;
            display: flex;
            flex-wrap: wrap;
        }
        .about-list li {
            width: 50%;
            color: #fff;
            font-weight: 600;
            margin-bottom: 15px;
            display: flex;
            align-items: center;
        }
        .about-list li i {
            color: var(--red);
            margin-right: 10px;
        }
        .author-block {
            display: flex;
            align-items: center;
            border-top: 1px solid rgba(255,255,255,0.1);
            padding-top: 30px;
        }
        .author-img {
            width: 60px;
            height: 60px;
            border-radius: 50%;
            object-fit: cover;
            margin-right: 20px;
        }
        .author-info {
            margin-right: 40px;
        }
        .author-info h5 {
            color: #fff;
            margin: 0 0 5px;
            font-size: 18px;
        }
        .author-info span {
            color: #b0b5c1;
            font-size: 13px;
        }
        .signature-img {
            max-width: 120px;
        }

        /* --- Services Section --- */
        .services-section {
            padding: 100px 0;
            background: #fff;
        }
        .section-header {
            text-align: center;
            max-width: 600px;
            margin: 0 auto 60px;
        }
        .section-header .section-title {
            color: var(--navy);
            margin-bottom: 20px;
        }
        .section-header p {
            color: var(--text);
            font-size: 15px;
        }
        .service-card {
            border: 1px solid #eeeeee;
            border-radius: 5px;
            overflow: hidden;
            position: relative;
            background: #fff;
        }
        .service-img {
            position: relative;
        }
        .service-img img {
            width: 100%;
        }
        .service-number {
            position: absolute;
            bottom: -25px;
            right: 30px;
            width: 50px;
            height: 50px;
            background: var(--red);
            color: #fff;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            font-family: var(--font-heading);
            font-weight: 800;
            font-size: 20px;
            border: 3px solid #fff;
            z-index: 2;
        }
        .service-content {
            padding: 40px 30px 30px;
        }
        .service-content h3 {
            font-size: 22px;
            margin-bottom: 15px;
            color: var(--navy);
            font-weight: 800;
        }
        .service-content p {
            font-size: 14px;
            color: var(--text);
            margin-bottom: 20px;
            line-height: 1.7;
        }
        .btn-readmore {
            color: var(--navy);
            font-weight: 700;
            font-size: 14px;
            display: inline-flex;
            align-items: center;
        }
        .btn-readmore i {
            color: var(--red);
            margin-right: 8px;
        }
        .btn-readmore:hover {
            color: var(--red);
        }

        /* --- Appointment Section --- */
        .appointment-wrapper {
            display: flex;
            flex-wrap: wrap;
            background: var(--red);
        }
        .appointment-img {
            width: 50%;
            background-image: url('https://images.unsplash.com/photo-1622253692010-333f2da6031d?q=80&w=1000&auto=format&fit=crop');
            background-size: cover;
            background-position: center;
            min-height: 500px;
        }
        .appointment-content {
            width: 50%;
            padding: 80px 10%;
            color: #fff;
            position: relative;
        }
        .appointment-content-inner {
            position: relative;
            z-index: 2;
        }
        .appointment-content .section-subtitle {
            color: #fff;
            border-bottom: 1px solid rgba(255,255,255,0.3);
            display: inline-block;
            margin-bottom: 20px;
            padding-bottom: 5px;
        }
        .appointment-content .section-title {
            color: #fff;
            font-size: 35px;
            margin-bottom: 20px;
        }
        .contact-feature {
            display: flex;
            align-items: center;
            margin-bottom: 25px;
        }
        .contact-feature-icon {
            width: 50px;
            height: 50px;
            background: rgba(0,0,0,0.2);
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            margin-right: 20px;
            font-size: 20px;
        }
        .contact-feature-text p {
            margin: 0;
            font-weight: 700;
            font-size: 15px;
        }
        .contact-feature-text span {
            font-size: 13px;
            color: rgba(255,255,255,0.8);
        }
        
        .appointment-form {
            position: absolute;
            right: 10%;
            top: 50%;
            transform: translateY(-50%);
            background: #fff;
            padding: 40px;
            border-radius: 5px;
            width: 350px;
            box-shadow: 0 10px 40px rgba(0,0,0,0.15);
            z-index: 3;
        }
        .appointment-form .form-control {
            border: 1px solid #eee;
            border-radius: 0;
            padding: 12px 15px;
            margin-bottom: 15px;
            font-size: 14px;
            background: #fafafa;
        }
        .btn-submit {
            background: var(--navy);
            color: #fff;
            width: 100%;
            padding: 15px;
            font-weight: 700;
            font-family: var(--font-heading);
            border: none;
            border-radius: 4px;
            transition: background 0.3s;
        }
        .btn-submit:hover {
            background: #111520;
        }
        @media (max-width: 991px) {
            .appointment-img, .appointment-content { width: 100%; }
            .appointment-form { position: relative; right: auto; top: auto; transform: none; width: 100%; margin-top: 40px; }
        }

        /* --- Testimonials --- */
        .testimonials-section {
            padding: 100px 0;
            background-color: var(--grey-bg);
            background-image: radial-gradient(#e0e0e0 1px, transparent 1px); /* Dotted bg */
            background-size: 20px 20px;
        }
        .testimonial-card {
            background: #fff;
            padding: 40px;
            border-radius: 5px;
            box-shadow: 0 10px 30px rgba(0,0,0,0.05);
            margin-top: 30px;
            position: relative;
        }
        .testimonial-header {
            display: flex;
            align-items: center;
            margin-bottom: 20px;
        }
        .testimonial-header img {
            width: 60px;
            height: 60px;
            border-radius: 50%;
            margin-right: 20px;
        }
        .testimonial-header h4 {
            font-size: 18px;
            margin: 0 0 5px;
            color: var(--navy);
        }
        .testimonial-header .stars i {
            color: #ffb800;
            font-size: 12px;
        }
        .quote-icon {
            position: absolute;
            top: 40px;
            right: 40px;
            font-size: 40px;
            color: #f1f1f1;
        }
        .testimonial-text {
            color: var(--text);
            font-size: 15px;
            line-height: 1.8;
            font-style: italic;
        }

        /* --- Home Service / FAQ --- */
        .faq-section {
            padding: 100px 0;
        }
        .faq-accordion .accordion-item {
            border: none;
            margin-bottom: 15px;
        }
        .faq-accordion .accordion-button {
            background: #fff;
            border: 1px solid #eee;
            color: var(--navy);
            font-weight: 700;
            padding: 20px;
            border-radius: 5px !important;
            box-shadow: none;
        }
        .faq-accordion .accordion-button:not(.collapsed) {
            color: var(--red);
            background: #fff;
            border-color: var(--red);
        }
        .faq-accordion .accordion-button::after {
            background-image: none;
            content: '\f067'; /* FontAwesome Plus */
            font-family: 'Font Awesome 6 Free';
            font-weight: 900;
            color: var(--red);
        }
        .faq-accordion .accordion-button:not(.collapsed)::after {
            content: '\f068'; /* FontAwesome Minus */
        }
        .faq-accordion .accordion-body {
            padding: 20px;
            color: var(--text);
            border: 1px solid #eee;
            border-top: none;
            border-bottom-left-radius: 5px;
            border-bottom-right-radius: 5px;
        }
        .faq-img {
            border-radius: 5px;
            width: 100%;
        }

        /* --- Counters --- */
        .counter-section {
            background-color: var(--navy);
            padding: 60px 0;
            background-image: url('https://cardioly-demo.pbminfotech.com/demo-04/wp-content/uploads/sites/9/2021/08/bg-heart.png');
            background-size: cover;
            background-blend-mode: overlay;
        }
        .counter-box {
            text-align: center;
            color: #fff;
        }
        .counter-icon {
            font-size: 45px;
            color: var(--red);
            margin-bottom: 20px;
        }
        .counter-num {
            font-size: 40px;
            font-family: var(--font-heading);
            font-weight: 800;
            margin-bottom: 5px;
        }
        .counter-text {
            font-size: 15px;
            color: rgba(255,255,255,0.7);
        }

        /* --- Blog Section --- */
        .blog-section {
            padding: 100px 0;
            background: #fff;
        }
        .blog-card {
            border-radius: 5px;
            overflow: hidden;
            box-shadow: 0 5px 20px rgba(0,0,0,0.05);
            background: #fff;
            position: relative;
        }
        .blog-img {
            position: relative;
        }
        .blog-img img {
            width: 100%;
            height: 220px;
            object-fit: cover;
        }
        .blog-date {
            position: absolute;
            bottom: -15px;
            left: 50%;
            transform: translateX(-50%);
            background: var(--red);
            color: #fff;
            padding: 5px 20px;
            border-radius: 30px;
            font-size: 13px;
            font-weight: 700;
            white-space: nowrap;
        }
        .blog-content {
            padding: 40px 30px 30px;
            text-align: center;
        }
        .blog-meta {
            color: var(--red);
            font-size: 13px;
            font-weight: 600;
            margin-bottom: 10px;
        }
        .blog-meta i {
            margin-right: 5px;
        }
        .blog-content h4 {
            font-size: 20px;
            color: var(--navy);
            margin-bottom: 15px;
            line-height: 1.4;
        }
        .blog-content p {
            color: var(--text);
            font-size: 14px;
            margin-bottom: 20px;
        }
        .blog-readmore {
            color: var(--navy);
            font-weight: 700;
            font-size: 14px;
        }
        .blog-readmore i {
            color: var(--red);
            margin-right: 5px;
        }
        .blog-readmore:hover {
            color: var(--red);
        }

        /* --- Footer --- */
        .footer-top {
            background: #fff;
            padding: 40px 0;
            border-top: 1px solid #eee;
            border-bottom: 1px solid #eee;
        }
        .footer-contact-block {
            display: flex;
            align-items: center;
        }
        .footer-contact-block i {
            width: 40px;
            height: 40px;
            background: var(--red);
            color: #fff;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 16px;
            margin-right: 15px;
        }
        .footer-contact-block p {
            margin: 0;
            font-weight: 700;
            color: var(--navy);
            font-size: 15px;
        }
        .footer-contact-block span {
            color: var(--text);
            font-size: 13px;
        }
        
        .footer-main {
            padding: 80px 0;
            background: #fff;
        }
        .footer-widget h4 {
            font-size: 18px;
            color: var(--navy);
            margin-bottom: 25px;
            position: relative;
            padding-bottom: 15px;
        }
        .footer-widget h4::after {
            content: '';
            position: absolute;
            bottom: 0; left: 0;
            width: 40px; height: 2px;
            background: var(--red);
        }
        .footer-links {
            list-style: none;
            padding: 0;
        }
        .footer-links li {
            margin-bottom: 12px;
        }
        .footer-links a {
            color: var(--text);
            font-size: 14px;
        }
        .footer-links a:hover {
            color: var(--red);
        }
        
        .recent-post {
            display: flex;
            margin-bottom: 15px;
        }
        .recent-post img {
            width: 60px;
            height: 60px;
            border-radius: 5px;
            object-fit: cover;
            margin-right: 15px;
        }
        .recent-post h6 {
            font-size: 14px;
            margin: 0 0 5px;
            line-height: 1.4;
        }
        .recent-post h6 a {
            color: var(--navy);
        }
        .recent-post h6 a:hover {
            color: var(--red);
        }
        .recent-post span {
            font-size: 12px;
            color: var(--red);
        }

        .footer-bottom {
            background: var(--red);
            padding: 20px 0;
            text-align: center;
            color: #fff;
            font-size: 14px;
        }
        .footer-bottom a {
            color: #fff;
            font-weight: 700;
        }
/* Legacy Grid Support */
.grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}
.section { padding: 80px 0; }
.section-light { background-color: #ffffff; }
.section-dark { background-color: var(--navy); color: #fff; }
.card { background: #fff; padding: 2rem; border-radius: 8px; box-shadow: 0 5px 15px rgba(0,0,0,0.05); }
.btn-primary { background: var(--red); color: #fff; padding: 12px 25px; border-radius: 4px; display: inline-block; font-weight: bold; }
.btn-secondary { background: transparent; border: 2px solid var(--navy); color: var(--navy); padding: 10px 23px; border-radius: 4px; display: inline-block; font-weight: bold; }
.content-body h2 { margin-top: 2rem; margin-bottom: 1rem; color: var(--navy); font-weight: 800; }
.content-body h3 { margin-top: 1.5rem; color: var(--navy); font-weight: 700; }
.content-body p { margin-bottom: 1rem; line-height: 1.7; color: var(--text); }
.sidebar { background: #f9f9f9; padding: 2rem; border-radius: 8px; border: 1px solid #eee; }
.callout { padding: 1.5rem; border-left: 4px solid var(--red); border-radius: 4px; }

/* --- Quick Links Widget --- */
.quick-links-widget {
    background: linear-gradient(135deg, var(--navy) 0%, #2a3754 100%);
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
    color: #fff;
}
.quick-links-widget h3 {
    color: #fff;
    border-bottom: 2px solid rgba(255,255,255,0.1);
    padding-bottom: 15px;
    margin-bottom: 20px;
    font-weight: 800;
}
.quick-links-list {
    list-style: none;
    padding: 0;
    margin: 0;
}
.quick-links-list li {
    margin-bottom: 10px;
}
.quick-links-list a {
    display: flex;
    align-items: center;
    color: #e1e8ed;
    padding: 12px 15px;
    background: rgba(255,255,255,0.05);
    border-radius: 6px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
}
.quick-links-list a i {
    color: var(--red);
    margin-right: 12px;
    font-size: 14px;
    transition: transform 0.3s ease;
}
.quick-links-list a:hover {
    background: var(--red);
    color: #fff;
    transform: translateX(5px);
}
.quick-links-list a:hover i {
    color: #fff;
    transform: translateX(3px);
}

/* --- Hero Slider --- */
.hero-slider {
    position: relative;
    height: 90vh;
    min-height: 600px;
}
.hero-slider .swiper {
    width: 100%;
    height: 100%;
}
.hero-slider .swiper-slide {
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    display: flex;
    align-items: center;
}
.hero-slider .hero-content {
    max-width: 800px;
    color: #fff;
    padding: 2rem 0;
}
.hero-slider .hero-tagline {
    display: inline-block;
    color: var(--red);
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 2px;
}
.hero-slider h1 {
    font-size: 4rem;
    font-weight: 900;
    margin-bottom: 1.5rem;
    color: #fff;
    line-height: 1.1;
}
.hero-slider p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    opacity: 0.9;
    color: #fff;
    max-width: 600px;
}
.swiper-button-next, .swiper-button-prev {
    color: #fff !important;
    background: rgba(0,0,0,0.3);
    width: 50px !important;
    height: 50px !important;
    border-radius: 50%;
}
.swiper-button-next:after, .swiper-button-prev:after {
    font-size: 20px !important;
}
.swiper-button-next:hover, .swiper-button-prev:hover {
    background: var(--red);
}
.swiper-pagination-bullet {
    background: #fff !important;
    opacity: 0.5 !important;
}
.swiper-pagination-bullet-active {
    background: var(--red) !important;
    opacity: 1 !important;
}

/* --- Slider Animations --- */
@keyframes zoomInRightToLeft {
    0% {
        opacity: 0;
        transform: scale(1.1) translateX(50px);
    }
    100% {
        opacity: 1;
        transform: scale(1) translateX(0);
    }
}

.hero-slider .hero-tagline,
.hero-slider h1,
.hero-slider p,
.hero-slider .hero-content > div {
    opacity: 0;
}

.swiper-slide-active .hero-tagline {
    animation: zoomInRightToLeft 0.8s cubic-bezier(0.2, 0.8, 0.2, 1) forwards;
    animation-delay: 0.3s;
}
.swiper-slide-active h1 {
    animation: zoomInRightToLeft 0.8s cubic-bezier(0.2, 0.8, 0.2, 1) forwards;
    animation-delay: 0.5s;
}
.swiper-slide-active p {
    animation: zoomInRightToLeft 0.8s cubic-bezier(0.2, 0.8, 0.2, 1) forwards;
    animation-delay: 0.7s;
}
.swiper-slide-active .hero-content > div {
    animation: zoomInRightToLeft 0.8s cubic-bezier(0.2, 0.8, 0.2, 1) forwards;
    animation-delay: 0.9s;
}

/* --- Mobile Responsiveness --- */
@media (max-width: 768px) {
    .hero-slider {
        height: 420px !important;
        min-height: 420px !important;
    }
    .hero-slider .hero-content {
        padding: 1rem 0;
    }
    .hero-slider h1 {
        font-size: 2.2rem;
        margin-bottom: 0.8rem;
    }
    .hero-slider p {
        font-size: 0.95rem;
        margin-bottom: 1rem;
    }
    .hero-slider .hero-tagline {
        }
        .footer-bottom a {
            color: #fff;
            font-weight: 700;
        }
/* Legacy Grid Support */
.grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}
.section { padding: 80px 0; }
.section-light { background-color: #ffffff; }
.section-dark { background-color: var(--navy); color: #fff; }
.card { background: #fff; padding: 2rem; border-radius: 8px; box-shadow: 0 5px 15px rgba(0,0,0,0.05); }
.btn-primary { background: var(--red); color: #fff; padding: 12px 25px; border-radius: 4px; display: inline-block; font-weight: bold; }
.btn-secondary { background: transparent; border: 2px solid var(--navy); color: var(--navy); padding: 10px 23px; border-radius: 4px; display: inline-block; font-weight: bold; }
.content-body h2 { margin-top: 2rem; margin-bottom: 1rem; color: var(--navy); font-weight: 800; }
.content-body h3 { margin-top: 1.5rem; color: var(--navy); font-weight: 700; }
.content-body p { margin-bottom: 1rem; line-height: 1.7; color: var(--text); }
.sidebar { background: #f9f9f9; padding: 2rem; border-radius: 8px; border: 1px solid #eee; }
.callout { padding: 1.5rem; border-left: 4px solid var(--red); border-radius: 4px; }

/* --- Quick Links Widget --- */
.quick-links-widget {
    background: linear-gradient(135deg, var(--navy) 0%, #2a3754 100%);
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
    color: #fff;
}
.quick-links-widget h3 {
    color: #fff;
    border-bottom: 2px solid rgba(255,255,255,0.1);
    padding-bottom: 15px;
    margin-bottom: 20px;
    font-weight: 800;
}
.quick-links-list {
    list-style: none;
    padding: 0;
    margin: 0;
}
.quick-links-list li {
    margin-bottom: 10px;
}
.quick-links-list a {
    display: flex;
    align-items: center;
    color: #e1e8ed;
    padding: 12px 15px;
    background: rgba(255,255,255,0.05);
    border-radius: 6px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
}
.quick-links-list a i {
    color: var(--red);
    margin-right: 12px;
    font-size: 14px;
    transition: transform 0.3s ease;
}
.quick-links-list a:hover {
    background: var(--red);
    color: #fff;
    transform: translateX(5px);
}
.quick-links-list a:hover i {
    color: #fff;
    transform: translateX(3px);
}

/* --- Hero Slider --- */
.hero-slider {
    position: relative;
    height: 90vh;
    min-height: 600px;
}
.hero-slider .swiper {
    width: 100%;
    height: 100%;
}
.hero-slider .swiper-slide {
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    display: flex;
    align-items: center;
}
.hero-slider .hero-content {
    max-width: 800px;
    color: #fff;
    padding: 2rem 0;
}
.hero-slider .hero-tagline {
    display: inline-block;
    color: var(--red);
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 2px;
}
.hero-slider h1 {
    font-size: 4rem;
    font-weight: 900;
    margin-bottom: 1.5rem;
    color: #fff;
    line-height: 1.1;
}
.hero-slider p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    opacity: 0.9;
    color: #fff;
    max-width: 600px;
}
.swiper-button-next, .swiper-button-prev {
    color: #fff !important;
    background: rgba(0,0,0,0.3);
    width: 50px !important;
    height: 50px !important;
    border-radius: 50%;
}
.swiper-button-next:after, .swiper-button-prev:after {
    font-size: 20px !important;
}
.swiper-button-next:hover, .swiper-button-prev:hover {
    background: var(--red);
}
.swiper-pagination-bullet {
    background: #fff !important;
    opacity: 0.5 !important;
}
.swiper-pagination-bullet-active {
    background: var(--red) !important;
    opacity: 1 !important;
}

/* --- Slider Animations --- */
@keyframes zoomInRightToLeft {
    0% {
        opacity: 0;
        transform: scale(1.1) translateX(50px);
    }
    100% {
        opacity: 1;
        transform: scale(1) translateX(0);
    }
}

.hero-slider .hero-tagline,
.hero-slider h1,
.hero-slider p,
.hero-slider .hero-content > div {
    opacity: 0;
}

.swiper-slide-active .hero-tagline {
    animation: zoomInRightToLeft 0.8s cubic-bezier(0.2, 0.8, 0.2, 1) forwards;
    animation-delay: 0.3s;
}
.swiper-slide-active h1 {
    animation: zoomInRightToLeft 0.8s cubic-bezier(0.2, 0.8, 0.2, 1) forwards;
    animation-delay: 0.5s;
}
.swiper-slide-active p {
    animation: zoomInRightToLeft 0.8s cubic-bezier(0.2, 0.8, 0.2, 1) forwards;
    animation-delay: 0.7s;
}
.swiper-slide-active .hero-content > div {
    animation: zoomInRightToLeft 0.8s cubic-bezier(0.2, 0.8, 0.2, 1) forwards;
    animation-delay: 0.9s;
}

/* --- Mobile Responsiveness --- */
@media (max-width: 768px) {
    .hero-slider {
        height: 420px !important;
        min-height: 420px !important;
    }
    .hero-slider .hero-content {
        padding: 1rem 0;
    }
    .hero-slider h1 {
        font-size: 2.2rem;
        margin-bottom: 0.8rem;
    }
    .hero-slider p {
        font-size: 0.95rem;
        margin-bottom: 1rem;
    }
    .hero-slider .hero-tagline {
        font-size: 0.9rem;
        margin-bottom: 0.5rem;
    }
}

/* --- Contact Us Widget --- */
.nirja-contact-us-widget {
    position: relative;
    padding: 0;
    margin-bottom: 80px;
}
.nirja-contact-map {
    position: relative;
    z-index: 1;
}
.nirja-contact-map iframe {
    display: block;
    width: 100%;
}
.nirja-contact-box-container {
    position: relative;
    z-index: 2;
    margin-top: -200px; /* More overlap to match image */
}
.nirja-contact-box {
    box-shadow: 0 10px 50px rgba(0,0,0,0.15); /* Stronger shadow */
    border-radius: 5px; /* Slight rounding for the whole box */
    overflow: hidden;
}
.nirja-contact-left {
    background: #ffffff;
    padding: 70px 60px; /* More padding */
}
.nirja-contact-title {
    color: #11253a;
    font-size: 32px;
    font-weight: 800;
    margin-bottom: 40px;
}
.nirja-contact-item {
    margin-bottom: 30px;
    display: flex;
    align-items: flex-start;
}
.nirja-contact-icon {
    width: 30px;
    margin-right: 15px;
    display: flex;
    justify-content: flex-start;
    color: #e83e60; /* Red color matching the image */
    font-size: 24px;
    margin-top: 5px;
}
.nirja-contact-text h4 {
    font-size: 18px;
    color: #11253a;
    margin-bottom: 5px;
    font-weight: 800;
}
.nirja-contact-text .content {
    color: #666666;
    font-size: 15px;
    line-height: 1.6;
    white-space: pre-line;
}
.nirja-contact-social {
    display: flex;
    gap: 12px;
    margin-top: 40px;
}
.nirja-social-link {
    width: 40px;
    height: 40px;
    background: #e83e60;
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%; /* Circle */
    font-size: 16px;
    transition: all 0.3s ease;
}
.nirja-social-link:hover {
    background: #11253a;
    color: #ffffff;
}

/* Right Side Form */
.nirja-contact-right {
    background: #101e2c; /* Darker navy matching image */
    padding: 70px 60px;
    color: #ffffff;
}
.nirja-contact-title-white {
    color: #ffffff;
    font-size: 32px;
    font-weight: 800;
    margin-bottom: 15px;
}
.nirja-contact-desc {
    color: #a0a6b1;
    font-size: 15px;
    margin-bottom: 35px;
}

/* Contact Form 7 Styling within widget */
.nirja-cf7-wrapper form {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
}
.nirja-cf7-wrapper .wpcf7-form-control-wrap {
    width: 100%;
}
.nirja-cf7-wrapper .wpcf7-form-control-wrap.name,
.nirja-cf7-wrapper .wpcf7-form-control-wrap.email,
.nirja-cf7-wrapper .wpcf7-form-control-wrap.phone,
.nirja-cf7-wrapper .wpcf7-form-control-wrap.subject {
    width: calc(50% - 10px);
}
.nirja-cf7-wrapper input[type="text"],
.nirja-cf7-wrapper input[type="email"],
.nirja-cf7-wrapper input[type="tel"],
.nirja-cf7-wrapper textarea {
    width: 100%;
    padding: 15px 20px;
    border-radius: 5px; /* Matches slightly rounded rect in image */
    border: none;
    background: #fdfdfd;
    color: #333333;
    font-size: 15px;
    outline: none;
}
.nirja-cf7-wrapper textarea {
    min-height: 140px;
    resize: vertical;
}
.nirja-cf7-wrapper input::placeholder,
.nirja-cf7-wrapper textarea::placeholder {
    color: #888888;
}
.nirja-cf7-wrapper .wpcf7-submit {
    background: #e83e60; /* Red submit button */
    color: #ffffff;
    padding: 15px 30px;
    border: none;
    border-radius: 5px; /* Matches slightly rounded rect */
    font-weight: 700;
    font-size: 14px;
    text-transform: uppercase;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 10px;
}
.nirja-cf7-wrapper .wpcf7-submit:hover {
    background: #ffffff;
    color: #e83e60;
}

@media (max-width: 991px) {
    .nirja-cf7-wrapper .wpcf7-form-control-wrap.name,
    .nirja-cf7-wrapper .wpcf7-form-control-wrap.email,
    .nirja-cf7-wrapper .wpcf7-form-control-wrap.phone,
    .nirja-cf7-wrapper .wpcf7-form-control-wrap.subject {
        width: 100%;
    }
    .nirja-contact-box-container {
        margin-top: -50px;
        padding: 0 15px;
    }
    .nirja-contact-left, .nirja-contact-right {
        padding: 40px 30px;
    }
}

/* Nirja CTA 2 Styles */
.nirja-cta2-icon,
.nirja-cta2-icon i,
.nirja-cta2-icon svg,
.nirja-cta2-icon img {
    color: #ffffff !important;
    fill: #ffffff !important;
}

.nirja-cta2-icon .title,
.nirja-cta2-icon h1,
.nirja-cta2-icon h2,
.nirja-cta2-icon h3,
.nirja-cta2-icon h4,
.nirja-cta2-icon h5,
.nirja-cta2-icon h6 {
    color: #ffffff !important;
}
