/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Roboto', sans-serif;
    line-height: 1.6;
    color: #333;
    overflow-x: hidden;
}
section{
    overflow: hidden;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
    line-height: 1.3;
}

p {
    margin-bottom: 1rem;
}

a {
    text-decoration: none;
    color: inherit;
}

/* Preloader */
.preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #1a1a1a;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    transition: opacity 0.5s ease;
}

.preloader .loader {
    display: flex;
    gap: 15px;
}

.preloader .spinner {
    width: 20px;
    height: 20px;
    background-color: #f39c12;
    border-radius: 50%;
    animation: bounce 1.4s infinite ease-in-out both;
}

.preloader .spinner:nth-child(1) {
    animation-delay: -0.32s;
}

.preloader .spinner:nth-child(2) {
    animation-delay: -0.16s;
}

@keyframes bounce {
    0%, 80%, 100% {
        transform: scale(0);
    }
    40% {
        transform: scale(1);
    }
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background-color: rgba(26, 26, 26, 0.95);
    padding: 20px 0;
    z-index: 1000;
    transition: all 0.3s ease;
}

.navbar.scrolled {
    padding: 15px 0;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-family: 'Poppins', sans-serif;
    font-size: 28px;
    font-weight: 800;
    color: #fff;
}

.logo span {
    color: #f39c12;
}

.nav-menu {
    display: flex;
    list-style: none;
    align-items: center;
}

.nav-link {
    color: #fff;
    margin-left: 30px;
    font-weight: 500;
    transition: color 0.3s ease;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.nav-link:hover {
    color: #f39c12;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: #f39c12;
    transition: width 0.3s ease;
}

.nav-link:hover::after {
    width: 100%;
}

.btn-appointment {
    background-color: #f39c12;
    color: #fff;
    padding: 10px 20px;
    border-radius: 5px;
    transition: all 0.3s ease;
}

.btn-appointment:hover {
    background-color: #e67e22;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(243, 156, 18, 0.3);
}

.menu-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.menu-toggle .bar {
    width: 25px;
    height: 3px;
    background-color: #fff;
    margin: 3px 0;
    transition: 0.3s;
}

/* Hero Section */
.hero {
    padding: 180px 0 100px;
    background: linear-gradient(rgba(26, 26, 26, 0.9), rgba(26, 26, 26, 0.5)), url('../images/head-bg.jpg');
    background-size: cover;
    background-position: center;
    color: #fff;
    position: relative;
}

.hero .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.hero-content {
    flex: 1;
    max-width: 600px;
}

.hero-title {
    font-size: 3.5rem;
    margin-bottom: 20px;
    line-height: 1.2;
}

.highlight {
    color: #f39c12;
}

.hero-subtitle {
    font-size: 1.2rem;
    margin-bottom: 30px;
    opacity: 0.9;
}

.hero-buttons {
    display: flex;
    gap: 20px;
}

.btn {
    display: inline-block;
    padding: 15px 30px;
    border-radius: 5px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    font-size: 1rem;
}

.btn-primary {
    background-color: #f39c12;
    color: #fff;
}

.btn-primary:hover {
    background-color: #e67e22;
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(243, 156, 18, 0.3);
}

.btn-secondary {
    background-color: transparent;
    color: #fff;
    border: 2px solid #fff;
}

.btn-secondary:hover {
    background-color: #fff;
    color: #1a1a1a;
    transform: translateY(-3px);
}

.hero-image {
    flex: 1;
    max-width: 430px;
    animation: float 3s ease-in-out infinite;
}

.hero-image img {
    width: 100%;
    border-radius: 10px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

@keyframes float {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-20px);
    }
}

.scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
}

.mouse {
    width: 30px;
    height: 50px;
    border: 2px solid #fff;
    border-radius: 20px;
    position: relative;
}

.mouse::before {
    content: '';
    position: absolute;
    top: 10px;
    left: 50%;
    transform: translateX(-50%);
    width: 4px;
    height: 10px;
    background-color: #f39c12;
    border-radius: 2px;
    animation: scroll 2s infinite;
}

@keyframes scroll {
    0% {
        top: 10px;
        opacity: 1;
    }
    100% {
        top: 30px;
        opacity: 0;
    }
}

/* Sections Common Styles */
section {
    padding: 100px 0;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-title {
    font-size: 2.5rem;
    margin-bottom: 15px;
    color: #1a1a1a;
}

.section-title span {
    color: #f39c12;
}

.section-subtitle {
    font-size: 1.1rem;
    color: #666;
    max-width: 700px;
    margin: 0 auto;
}

/* Services Section */
.services {
    background-color: #f9f9f9;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.service-card {
    background-color: #fff;
    border-radius: 10px;
    padding: 30px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, #f39c12, #e67e22);
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: -1;
}

.service-card:hover::before {
    opacity: 1;
}

.service-card:hover .service-icon,
.service-card:hover .service-title,
.service-card:hover .service-description {
    color: #fff;
}

.service-icon {
    font-size: 3rem;
    color: #f39c12;
    margin-bottom: 20px;
    transition: color 0.3s ease;
}

.service-title {
    font-size: 1.5rem;
    margin-bottom: 15px;
    transition: color 0.3s ease;
}

.service-description {
    color: #666;
    transition: color 0.3s ease;
}

.service-hover {
    position: absolute;
    bottom: -60px;
    left: 0;
    width: 100%;
    padding: 20px;
    background-color: #fff;
    transition: bottom 0.3s ease;
}

.service-card:hover .service-hover {
    bottom: 0;
}

.btn-service {
    display: block;
    background-color: #f39c12;
    color: #fff;
    text-align: center;
    padding: 10px;
    border-radius: 5px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-service:hover {
    background-color: #e67e22;
    transform: translateY(-3px);
}

/* About Section */
.about-content {
    display: flex;
    align-items: center;
    gap: 60px;
    margin-bottom: 60px;
}

.about-text {
    flex: 1;
}

.about-image {
    flex: 1;
}

.about-image img {
    width: 100%;
    border-radius: 10px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.features {
    margin-top: 30px;
}

.feature {
    display: flex;
    align-items: flex-start;
    margin-bottom: 25px;
}

.feature i {
    color: #f39c12;
    font-size: 1.5rem;
    margin-right: 15px;
    margin-top: 5px;
}

.feature-text h4 {
    font-size: 1.2rem;
    margin-bottom: 5px;
}

.stats {
    display: flex;
    justify-content: space-around;
    text-align: center;
    background-color: #1a1a1a;
    color: #fff;
    padding: 40px 20px;
    border-radius: 10px;
}

.stat-item {
    flex: 1;
    position: relative;
}


.stat-number {
    font-size: 3rem;
    font-weight: 800;
    color: #f39c12;
    margin-bottom: 10px;
    position: relative;
}

.stat-text {
    font-size: 1.1rem;
    opacity: 0.9;
}

/* Appointment Section */
.appointment {
    background-color: #f9f9f9;
}

.appointment-content {
    display: flex;
    gap: 60px;
}

.appointment-form {
    flex: 1;
    background-color: #fff;
    padding: 40px;
    border-radius: 10px;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.form-group {
    margin-bottom: 20px;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 15px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-family: 'Roboto', sans-serif;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}
.form-group input::placeholder,
.form-group textarea::placeholder{
    color: #000 !important;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: #f39c12;
    outline: none;
}

.form-row {
    display: flex;
    gap: 20px;
}

.form-row .form-group {
    flex: 1;
}

.btn-block {
    width: 100%;
    padding: 18px;
    font-size: 1.1rem;
}

.appointment-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 30px;
}
.appointment-info-custom{
    font-weight: 700;
    font-size: 21px;
}

.info-card {
    background-color: #fff;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.05);
}

.info-card h3 {
    color: #f39c12;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.hours-list,
.contact-list,
.features-list {
    list-style: none;
}

.hours-list li,
.contact-list li,
.features-list li {
    padding: 8px 0;
    border-bottom: 1px solid #f0f0f0;
}

.hours-list li:last-child,
.contact-list li:last-child,
.features-list li:last-child {
    border-bottom: none;
}

.hours-list span {
    float: right;
    font-weight: 600;
}

.contact-list i {
    color: #f39c12;
    margin-right: 10px;
    width: 20px;
}

.features-list li {
    position: relative;
    padding-left: 25px;
}

.features-list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: #f39c12;
    font-weight: bold;
}

/* Testimonials Section */
.testimonials-slider {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
}

.testimonial-slide {
    display: none;
    animation: fadeIn 1s ease;
}

.testimonial-slide.active {
    display: block;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.testimonial-content {
    background-color: #fff;
    padding: 40px;
    border-radius: 10px;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
    position: relative;
}

.testimonial-content::before {
    content: '"';
    position: absolute;
    top: 20px;
    left: 30px;
    font-size: 5rem;
    color: #f39c12;
    opacity: 0.2;
    font-family: serif;
}

.testimonial-text {
    font-size: 1.2rem;
    font-style: italic;
    margin-bottom: 30px;
    position: relative;
    z-index: 1;
}

.testimonial-author {
    display: flex;
    align-items: center;
}

.author-img {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    overflow: hidden;
    margin-right: 20px;
}

.author-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.author-info h4 {
    margin-bottom: 5px;
}

.author-info span {
    color: #f39c12;
    font-weight: 600;
}

.slider-controls {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 30px;
}

.slider-btn {
    background-color: #f39c12;
    color: #fff;
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 1.2rem;
    transition: all 0.3s ease;
}

.slider-btn:hover {
    background-color: #e67e22;
    transform: scale(1.1);
}

.slider-dots {
    display: flex;
    gap: 10px;
}

.dot {
    width: 12px;
    height: 12px;
    background-color: #ddd;
    border-radius: 50%;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.dot.active {
    background-color: #f39c12;
}

/* Gallery Section */
.gallery {
    background-color: #f9f9f9;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
}

.gallery-item {
    position: relative;
    border-radius: 10px;
    overflow: hidden;
    height: 250px;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.gallery-item:hover img {
    transform: scale(1.1);
}

.gallery-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    background: linear-gradient(transparent, rgba(26, 26, 26, 0.9));
    color: #fff;
    padding: 20px;
    transform: translateY(100%);
    transition: transform 0.5s ease;
}

.gallery-item:hover .gallery-overlay {
    transform: translateY(0);
}

.gallery-overlay h4 {
    font-size: 1.3rem;
}

/* Contact Section */
.contact-content {
    display: flex;
    gap: 60px;
}

.contact-info {
    flex: 1;
}

.contact-form {
    flex: 1;
    background-color: #fff;
    padding: 40px;
    border-radius: 10px;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.contact-details {
    margin: 30px 0;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 25px;
}

.contact-item i {
    color: #f39c12;
    font-size: 1.5rem;
    margin-right: 15px;
    margin-top: 5px;
}

.social-links {
    display: flex;
    gap: 15px;
    margin-top: 30px;

}

.social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background-color: #1a1a1a;
    color: #fff;
    border-radius: 50%;
    transition: all 0.3s ease;
    border: 1px solid #fff;
}

.social-links a:hover {
    background-color: #f39c12;
    transform: translateY(-5px);
}

/* Footer */
.footer {
    background-color: #1a1a1a;
    color: #fff;
    padding: 80px 0 20px;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    margin-bottom: 40px;
}

.footer-section p {
    opacity: 0.8;
    margin-top: 15px;
    max-width: 300px;
}

.footer-links {
    list-style: none;
    margin-top: 15px;
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a {
    opacity: 0.8;
    transition: opacity 0.3s ease;
}

.footer-links a:hover {
    opacity: 1;
    color: #f39c12;
}

.newsletter-form {
    display: flex;
    margin-top: 15px;
}

.newsletter-form input {
    flex: 1;
    padding: 12px 15px;
    border: none;
    border-radius: 5px 0 0 5px;
    font-family: 'Roboto', sans-serif;
}

.newsletter-form button {
    background-color: #f39c12;
    color: #fff;
    border: none;
    padding: 0 20px;
    border-radius: 0 5px 5px 0;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.newsletter-form button:hover {
    background-color: #e67e22;
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid #333;
    opacity: 0.7;
}

.footer-bottom i {
    color: #f39c12;
    margin: 0 5px;
}

/* Modal */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    z-index: 2000;
    justify-content: center;
    align-items: center;
}

.modal.active {
    display: flex;
    animation: modalFadeIn 0.3s ease;
}

@keyframes modalFadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.modal-content {
    background-color: #fff;
    width: 90%;
    max-width: 500px;
    border-radius: 10px;
    overflow: hidden;
    animation: modalSlideIn 0.5s ease;
}

@keyframes modalSlideIn {
    from { transform: translateY(-100px); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 30px;
    background-color: #1a1a1a;
    color: #fff;
}

.modal-header h2 {
    margin: 0;
    color: #fff;
}

.modal-close {
    background: none;
    border: none;
    color: #fff;
    font-size: 2rem;
    cursor: pointer;
    line-height: 1;
    transition: color 0.3s ease;
}

.modal-close:hover {
    color: #f39c12;
}

.modal-body {
    padding: 40px 30px;
    text-align: center;
}

.success-icon {
    font-size: 5rem;
    color: #4CAF50;
    margin-bottom: 20px;
}

.modal-body h3 {
    margin-bottom: 15px;
}

.modal-footer {
    padding: 20px 30px;
    background-color: #f9f9f9;
    text-align: center;
}

/* Scroll to Top Button */
.scroll-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background-color: #f39c12;
    color: #fff;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    font-size: 1.2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 100;
}

.scroll-top.visible {
    opacity: 1;
    visibility: visible;
}

.scroll-top:hover {
    background-color: #e67e22;
    transform: translateY(-5px);
}

/* Responsive Styles */
@media (max-width: 992px) {
    .hero .container {
        flex-direction: column;
        text-align: center;
    }
    
    .hero-content {
        margin-bottom: 50px;
    }
    
    .hero-buttons{
        justify-content: center;
    }
    .hero-title {
        font-size: 2.8rem;
    }
    
    .about-content {
        flex-direction: column;
    }
    
    .appointment-content {
        flex-direction: column;
    }
    
    .contact-content {
        flex-direction: column;
    }
    .nav-link{
        margin-left: 10px;
    }
    .logo{
        font-size: 20px;
    }
    .service-card{
        padding-bottom: 80px;
    }
    .service-hover{
        bottom: 20px;
        padding: 0 20px;
        background: transparent;
    }
    .service-card:hover .service-hover {
        bottom: 20px;
    }
    .btn-service{
        border: 1px solid #fff;
    }
    .section-subtitle{
        max-width: 100%;
    }

}

@media (max-width: 768px) {
    .menu-toggle {
        display: flex;
    }
    
    .nav-menu {
        position: fixed;
        top: 50px;
        left: -100%;
        width: 100%;
        flex-direction: column;
        background-color: #1a1a1a;
        padding: 20px 0;
        transition: left 0.5s ease;
        min-height: 100vh;
    }
    .nav-menu li{
        width: 100%;
        text-align: center;

    }
    
    .nav-menu.active {
        left: 0;
    }
    .nav-menu li+li{
        margin-top: 10px;
    }
    
    .nav-link {
        margin: 5px 0;
        font-size: 1.2rem;
        padding: 10px;
    }
    .nav-link.btn-appointment{
        width: 240px;
        margin-left: auto;
        margin-right: auto;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .stats {
        flex-direction: column;
        gap: 30px;
    }
    .footer{
        text-align: center;
    }
    .footer-content{
        flex-wrap: wrap;
    }
    .footer-section{
        width: 100%;
    }
    .footer-section+.footer-section{
        margin-top: 20px;
    }
    
    .form-row {
        flex-direction: column;
        gap: 0;
    }
    .footer-section p{
        margin-left: auto;
        margin-right: auto;
        max-width: 400px;
    }
    .social-links{
        justify-content: center;
    }

}

@media (max-width: 576px) {
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-buttons {
        flex-direction: column;
    }
    
    .btn {
        width: 100%;
        text-align: center;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    .gallery-grid {
        grid-template-columns: 1fr;
    }
}