:root {
    --primary: #221e22;
    --accent: #fddb6b;
    --bg-light: #f4f9fc;
}

body {
    font-family: 'Poppins', sans-serif;
    background-color: var(--bg-light);
    margin: 0;
    padding: 0;
}

a {
    text-decoration: none;
}

.topbar {
    background-color: #231e22;
    color: #fff;
    font-size: 14px;
    padding: 8px 0;
}

.topbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.topbar i {
    margin-right: 6px;
}

.navbar .logo {
    width: 70px;
}

.navbar {
    background: rgba(255, 255, 255, 0.6);
    backdrop-filter: blur(12px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.05);
    position: sticky;
    top: 0;
    z-index: 1000;
    padding: 1rem 0;
    transition: all 0.4s ease-in-out;
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}

.navbar-brand {
    font-weight: 800;
    color: var(--primary);
    font-size: 1.8rem;
    position: relative;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.05);
    }

    100% {
        transform: scale(1);
    }
}

.navbar-nav .nav-link {
    color: var(--primary);
    font-weight: 500;
    position: relative;
    margin-left: 20px;
    padding-bottom: 4px;
    transition: all 0.3s ease;
}

.navbar-nav .nav-link::before {
    content: "";
    position: absolute;
    width: 0%;
    height: 2px;
    bottom: 0;
    left: 0;
    background: var(--primary);
    box-shadow: 0 0 8px var(--primary);
    transition: 0.4s ease;
}

.navbar-nav .nav-link:hover::before {
    width: 100%;
}

.navbar-nav .nav-link:hover {
    color: var(--primary);
    text-shadow: 0 0 8px rgba(62, 142, 208, 0.6);
}

.navbar-toggler {
    border: none;
    outline: none;
}

.navbar-toggler:focus {
    box-shadow: none;
}

[data-aos] {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

[data-aos].aos-animate {
    opacity: 1;
    transform: translateY(0);
}

.hero-section {
    position: relative;
    min-height: 75vh;
    background-color: #000;
    font-family: 'Open Sans', sans-serif;
}

.hero-bg-img {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    z-index: 0;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: rgb(36 30 33 / 76%);
    z-index: 1;
}

.hero-content {
    z-index: 2;
    position: relative;
    padding-top: 60px;
    padding-bottom: 60px;
}

.hero-content i {
    color: #fddb6b;
}

.hero-title {
    font-family: 'Righteous', cursive;
    font-size: 3.5rem;
    color: #fff;
    letter-spacing: 1px;
    margin-bottom: 20px;
}

.hero-subtext {
    color: #ccc;
    font-size: 1.1rem;
    margin-bottom: 25px;
}

.hero-btn {
    padding: 12px 28px;
    background: #221e22;
    color: #fff;
    border-radius: 50px;
    font-weight: 600;
    text-decoration: none;
    transition: 0.4s ease;
    box-shadow: 0 0 10px var(--primary);
}

h2 span {
    color: #161416;
}

.hero-btn:hover {
    background: #161416;
    box-shadow: 0 0 18px var(--primary);
}

.btn-outline {
    background: transparent;
    border: 2px solid #fff;
    color: #fff;
    box-shadow: none;
}

.btn-outline:hover {
    background: rgba(255, 255, 255, 0.1);
}

.cursor {
    font-weight: 100;
    color: #fff;
    animation: blink 0.7s infinite;
}

@keyframes blink {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: 0;
    }
}

.bounce {
    animation: bounceDown 2s infinite;
}

@keyframes bounceDown {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(10px);
    }
}

.animated-circle {
    position: absolute;
    width: 140px;
    height: 140px;
    background: rgba(255, 255, 255, 0.04);
    border-radius: 50%;
    top: 40%;
    left: -60px;
    animation: floatCircle 12s linear infinite;
    z-index: 1;
}

.animated-ring {
    position: absolute;
    width: 240px;
    height: 240px;
    border: 3px solid rgba(255, 255, 255, 0.06);
    border-radius: 50%;
    top: 15%;
    right: -100px;
    animation: rotateRing 20s linear infinite;
    z-index: 1;
}

.animated-triangle {
    position: absolute;
    width: 0;
    height: 0;
    border-left: 50px solid transparent;
    border-right: 50px solid transparent;
    border-bottom: 90px solid rgba(255, 255, 255, 0.03);
    bottom: 10%;
    left: 10%;
    animation: floatTriangle 10s ease-in-out infinite;
    z-index: 1;
}

@keyframes floatCircle {
    0% {
        transform: translateY(0) rotate(0);
    }

    50% {
        transform: translateY(-10px) rotate(180deg);
    }

    100% {
        transform: translateY(0) rotate(360deg);
    }
}

@keyframes rotateRing {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

@keyframes floatTriangle {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(10px);
    }
}

.about-creative-section {
    background: linear-gradient(120deg, #f4f9fc 0%, #e8f4fd 100%);
    position: relative;
    z-index: 1;
}

.about-img-wrapper {
    transition: transform 0.5s ease;
    border-radius: 20px;
    overflow: hidden;
    height: auto;
}

.glass-card {
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(12px);
    border-left: 4px solid #241f22;
    border-radius: 16px;
}

.about-title {
    font-family: 'Righteous', cursive;
    font-size: 2.5rem;
    color: #454545;
}

ul li i {
    color: #fddb6b;
}

.theme-color {
    color: #231e22;
}

.section-shapes {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    pointer-events: none;
    z-index: 0;
}

.about-shape-circle {
    position: absolute;
    width: 180px;
    height: 180px;
    background: rgba(62, 142, 208, 0.05);
    border-radius: 50%;
    top: -60px;
    left: -60px;
    animation: floatCircle 20s infinite linear;
    z-index: 0;
}

.about-shape-bone {
    position: absolute;
    bottom: -80px;
    right: -40px;
    width: 120px;
    height: 120px;
    background-image: url('https://cdn-icons-png.flaticon.com/512/2936/2936637.png');
    background-size: contain;
    background-repeat: no-repeat;
    opacity: 0.05;
    animation: floatBone 10s ease-in-out infinite;
    z-index: 0;
}

.about-glow-ring {
    position: absolute;
    width: 280px;
    height: 280px;
    border-radius: 50%;
    border: 3px solid rgba(62, 142, 208, 0.2);
    top: 50%;
    left: -100px;
    animation: rotateRing 25s linear infinite;
    z-index: 0;
    transform: translateY(-50%);
}

@keyframes floatCircle {
    0% {
        transform: translateY(0) rotate(0);
    }

    50% {
        transform: translateY(20px) rotate(180deg);
    }

    100% {
        transform: translateY(0) rotate(360deg);
    }
}

@keyframes rotateRing {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

@keyframes floatBone {

    0%,
    100% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-10px);
    }
}

.btn-primary {
    background-color: #3e8ed0;
    border: none;
}

.btn-primary:hover {
    background-color: #1a4e7b;
    box-shadow: 0 0 14px rgba(62, 142, 208, 0.6);
}

.section-heading {
    font-family: 'Righteous', cursive;
    font-size: 2.4rem;
    color: #292929;
}

.service-card-box {
    background: #fff;
    border-radius: 16px;
    transition: all 0.4s ease;
    overflow: hidden;
    position: relative;
    z-index: 1;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}

.service-card-box:hover {
    transform: translateY(-8px);
    box-shadow: 0 10px 30px rgba(62, 142, 208, 0.2);
}

.service-card-box .service-img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 12px;
    transition: transform 0.4s ease;
}

.service-card-box:hover .service-img {
    transform: scale(1.03);
}

.card-title {
    font-size: 1.3rem;
    font-weight: 600;
    color: #221d21;
    margin-bottom: 10px;
}

.card-glow {
    content: '';
    position: absolute;
    top: -20%;
    left: -20%;
    width: 140%;
    height: 140%;
    background: radial-gradient(circle, rgba(62, 142, 208, 0.1), transparent 60%);
    z-index: 0;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.service-card-box:hover .card-glow {
    opacity: 1;
}

.row.g-5 .col-lg-4 {
    display: flex;
}

.section-heading {
    font-family: 'Righteous', cursive;
    font-size: 2.4rem;
    color: #313131;
}

.doctor-card {
    background: #fdfdfd;
    border-radius: 16px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.05);
    padding-bottom: 15px;
    transition: transform 0.4s ease;
    overflow: hidden;
}

.doctor-card:hover {
    transform: translateY(-10px);
}

.doctor-img {
    position: relative;
    overflow: hidden;
    border-top-left-radius: 16px;
    border-top-right-radius: 16px;
}

.doctor-img img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.doctor-card:hover img {
    transform: scale(1.05);
}

.doctor-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.45);
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.doctor-card:hover .doctor-overlay {
    opacity: 1;
}

.doctor-overlay a {
    color: #fff;
    font-size: 1.2rem;
    background: rgba(62, 142, 208, 0.9);
    padding: 8px;
    border-radius: 50%;
    transition: background 0.3s;
}

.doctor-overlay a:hover {
    background: #1a4e7b;
}

.doctor-info h5 {
    font-weight: 600;
    color: #3e8ed0;
}

.doctor-info p {
    font-size: 0.95rem;
}

.form-title {
    font-family: 'Righteous', cursive;
    font-size: 2rem;
    color: #666666;
}

.appointment-form {
    background-color: #fff;
    border-radius: 16px;
    transition: all 0.3s ease;
}

.form-control-custom,
.form-select {
    border-radius: 10px;
    border: 1px solid #cfdfe8;
    transition: all 0.3s ease;
    box-shadow: none;
}

.form-control-custom:focus,
.form-select:focus {
    border-color: #3e8ed0;
    box-shadow: 0 0 0 0.2rem rgba(62, 142, 208, 0.25);
}

.btn-primary {
    background-color: #3e8ed0;
    border: none;
    border-radius: 10px;
    padding: 10px 0;
    font-weight: 600;
    transition: background 0.3s ease;
}

.btn-primary:hover {
    background-color: #1a4e7b;
}

.bg-overlay {
    background: rgb(36 31 35 / 85%);
    z-index: 0;
}

footer .logo {
    width: 80px;
}

.text-block {
    z-index: 1;
    position: relative;
}

.stylish-heading {
    font-family: 'Righteous', cursive;
    color: #ffffff;
    animation: fadeSlide 1.5s ease forwards;
}

.text-accent {
    color: #fcda6c;
}

.text-block ul {
    list-style: none;
    padding-left: 0;
}

.text-block li {
    margin-bottom: 10px;
    font-size: 1rem;
    font-weight: 500;
}

.appointment-form {
    background-color: #fff;
    border-radius: 16px;
    transition: all 0.3s ease;
    z-index: 2;
    position: relative;
}

.form-title {
    font-family: 'Righteous', cursive;
    font-size: 2rem;
    color: #666666;
}

.form-control-custom,
.form-select {
    border-radius: 10px;
    border: 1px solid #cfdfe8;
    transition: all 0.3s ease;
}

.form-control-custom:focus,
.form-select:focus {
    border-color: #3e8ed0;
    box-shadow: 0 0 0 0.2rem rgba(62, 142, 208, 0.25);
}

.btn-primary {
    background-color: #3e8ed0;
    border: none;
    border-radius: 10px;
    padding: 10px 0;
    font-weight: 600;
    transition: background 0.3s ease;
}

.btn-primary:hover {
    background-color: #1a4e7b;
}

@keyframes fadeSlide {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.appointment-float-btn {
    position: fixed;
    bottom: 25px;
    right: 25px;
    z-index: 1000;
    display: flex;
    align-items: center;
    gap: 10px;
    background: #1e2502;
    color: #fff;
    padding: 12px 18px;
    font-size: 16px;
    font-weight: 600;
    border-radius: 50px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
    text-decoration: none;
    transition: all 0.3s ease;
}

.appointment-float-btn i {
    font-size: 18px;
}

.appointment-float-btn:hover {
    background: #32312f;
    transform: translateY(-3px);
}

.call-btn {
    position: fixed;
    bottom: 3px;
    left: 25px;
    z-index: 1000;
    display: flex;
    align-items: center;
    gap: 10px;
    background: #1e2502;
    color: #fff;
    padding: 12px 18px;
    font-size: 16px;
    font-weight: 600;
    border-radius: 50px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
    text-decoration: none;
    transition: all 0.3s ease;
}

.call-btn i {
    font-size: 18px;
}

.call-btn:hover {
    background: #32312f;
    transform: translateY(-3px);
}

.whatsapp-btn {
    position: fixed;
    bottom: 50px;
    left: 25px;
    z-index: 1000;
    display: flex;
    align-items: center;
    gap: 10px;
    background: #007e0c;
    color: #fff;
    padding: 12px 18px;
    font-size: 16px;
    font-weight: 600;
    border-radius: 50px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
    text-decoration: none;
    transition: all 0.3s ease;
}

.whatsapp-btn i {
    font-size: 18px;
}

.whatsapp-btn:hover {
    background: #32312f;
    transform: translateY(-3px);
}

.theme-btn {
    background-color: #221d21;
    color: #fff;
    border: none;
    border-radius: 10px;
    padding: 10px 0;
    font-weight: 600;
    transition: background 0.3s ease;
}

.theme-btn:hover {
    background-color: transparent;
    color: #221d21;
    border: 2px solid #221d21;
    border-radius: 10px;
    padding: 10px 0;
    font-weight: 600;
    transition: background 0.3s ease;
}

.section-heading {
    font-family: 'Righteous', cursive;
    font-size: 2.4rem;
    color: #343434;
}

.gallery-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
}

.gallery-grid .col-sm-6 {
    flex: 1 1 calc(33.333% - 1rem);
}

.gallery-img {
    aspect-ratio: 4 / 3;
    width: 100%;
    height: auto;
    object-fit: cover;
    border-radius: 16px;
    transition: transform 0.4s ease, box-shadow 0.4s ease;
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.05);
}

.gallery-img:hover {
    transform: scale(1.07);
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.12);
    z-index: 2;
}

.section-heading {
    font-family: 'Righteous', cursive;
    font-size: 2.4rem;
    color: #3b3b3b;
}

.blog-box:hover .blog-img {
    transform: scale(1.1);
}

.blog-box {
    display: flex;
    flex-direction: column;
    height: 100%;
}

.blog-img-wrap {
    height: 220px;
    overflow: hidden;
    border-radius: 16px 16px 0 0;
}

.blog-img {
    height: 100%;
    object-fit: cover;
    width: 100%;
    transition: transform 0.4s ease;
}

.blog-content {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 24px;
    background: #fff;
    border-radius: 0 0 16px 16px;
}

.blog-box:hover .blog-content {
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

.blog-title {
    font-weight: 700;
    font-size: 1.2rem;
    color: #1a4e7b;
    font-family: 'Righteous', cursive;
}

.blog-desc {
    font-size: 0.95rem;
    color: #444;
    margin-top: 10px;
}

.blog-read {
    display: inline-block;
    margin-top: 15px;
    color: #3e8ed0;
    font-weight: 600;
    transition: color 0.3s ease;
    text-decoration: none;
}

.blog-read:hover {
    color: #1a4e7b;
}

.section-heading {
    font-family: 'Righteous', cursive;
    font-size: 2.4rem;
    color: #414141;
}

.contact-section {
    position: relative;
}

.contact-bg-image {
    background-size: cover;
    background-position: center;
    position: relative;
    z-index: 1;
}

.contact-overlay {
    background: rgba(0, 33, 71, 0.75);
}

.section-heading {
    font-family: 'Righteous', cursive;
    font-size: 2.4rem;
    color: #2e2e2e;
}

.text-accent {
    color: #fcda6c;
}

.contact-form {
    border-radius: 16px;
    min-height: 400px;
}

.contact-form input,
.contact-form textarea {
    border-radius: 10px;
    border: 1px solid #ccc;
}

.contact-form button {
    border-radius: 10px;
    background-color: #3e8ed0;
    border: none;
    transition: background 0.3s ease;
}

.contact-form button:hover {
    background-color: #1a4e7b;
}

.map-responsive {
    position: relative;
    padding-top: 56.25%;
    height: 0;
    overflow: hidden;
    border-radius: 12px;
}

.map-responsive iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 0;
    border-radius: 12px;
}

.footer-section {
    background: #221d21;
    font-size: 0.95rem;
    position: relative;
    overflow: hidden;
}

.footer-title {
    font-size: 1.5rem;
    font-family: 'Righteous', cursive;
    margin-bottom: 10px;
}

.footer-subtitle {
    font-size: 1.1rem;
    font-weight: 600;
    color: #ffffff;
    margin-bottom: 15px;
}

.footer-text {
    color: #d0d0d0;
    line-height: 1.6;
}

.footer-links {
    list-style: none;
    padding: 0;
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a {
    color: #d0d0d0;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: #6ac6d9;
}

.social-icons a {
    display: inline-block;
    color: #fff;
    background: #fdd96c;
    margin-right: 10px;
    padding: 10px;
    border-radius: 50%;
    transition: transform 0.3s, background 0.3s;
}

.social-icons a:hover {
    background: #bd982a;
    transform: translateY(-4px);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: #bbb;
    font-size: 0.85rem;
}