﻿
html {
    scroll-behavior: smooth;
    overflow-x: hidden;
}

body {
  
    overflow-x: hidden;
    background: var(--white-ivory);
}

/*.hero-section {
    background: linear-gradient(90deg, var(--navy-blue) 0%, var(--navy-blue-dark) 50%, var(--blue) 100%);
    position: relative;
    overflow: hidden;
    min-height: 42vh;
    display: flex;
    align-items: center;
    padding: 50px 0;
    width: 100vw;
    margin-top: -25px;
    margin-left: calc(50% - 50vw);
}

    .hero-section::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><circle cx="20" cy="20" r="2" fill="rgba(255,255,255,0.1)"/><circle cx="80" cy="40" r="1" fill="rgba(255,255,255,0.2)"/><circle cx="40" cy="80" r="1.5" fill="rgba(255,255,255,0.1)"/><circle cx="90" cy="90" r="1" fill="rgba(255,255,255,0.15)"/></svg>');
        animation: sparkle 20s linear infinite;
        will-change: transform;
    }

@keyframes sparkle {
    0% {
        transform: translateY(0) rotate(0deg);
    }

    100% {
        transform: translateY(-100px) rotate(360deg);
    }
}
*/
.animated-heading {
    background: linear-gradient(45deg, var(--white-ivory), var(--white-ivory), var(--teal-accent));
    background-size: 400% 400%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: gradientShift 4s ease-in-out infinite;
    text-shadow: 0 0 30px rgba(255, 255, 255, 0.5);
    line-height: 1.3;
}

@keyframes gradientShift {
    0%, 100% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }
}


.floating-card {
    background: var(--white-ivory);
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(45, 184, 163, 0.1);
}



.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--navy-blue-dark);
    margin-bottom: 20px;
    position: relative;
}

    .section-title::after {
        content: '';
        position: absolute;
        bottom: -10px;
        left: 50%;
        transform: translateX(-50%);
        width: 60px;
        height: 3px;
        background: linear-gradient(45deg, var(--teal-accent), var(--navy-blue-dark));
        border-radius: 2px;
    }

.contact-card {
    background: linear-gradient(135deg, var(--teal-accent) 0%, var(--navy-blue-dark) 100%);
    border-radius: 20px;
    padding: 40px;
    color: var(--white-ivory);
    margin-bottom: 30px;
    position: relative;
    overflow: hidden;
    height: 100%;
}

    .contact-card::before {
        content: '';
        position: absolute;
        top: -50%;
        right: -50%;
        width: 200%;
        height: 200%;
        background: linear-gradient(45deg, transparent, rgba(255,255,255,0.1), transparent);
        transition: all 0.6s;
        opacity: 0;
    }

    .contact-card:hover::before {
        opacity: 1;
    }

.contact-method-card {
    background: var(--white-ivory);
    border-radius: 15px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    border: 2px solid transparent;
    height: 100%;
}

    .contact-method-card:hover {
        border-color: var(--teal-accent);
        box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
    }

.contact-icon {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: linear-gradient(45deg, var(--teal-accent), var(--navy-blue-dark));
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 2rem;
    color: var(--white-ivory);
}

.info-item {
    background: var(--white-ivory);
    border-radius: 15px;
    padding: 25px;
    margin-bottom: 20px;
    border-left: 4px solid var(--teal-accent);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
}

    .info-item:hover {
        box-shadow: 0 10px 25px rgba(0, 0, 0, 0.12);
    }

.info-icon {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: var(--teal-accent);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white-ivory);
    font-size: 1.5rem;
    margin-bottom: 15px;
}

.floating-card {
    background: var(--white-ivory);
    border-radius: 20px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    height: 100%;
}

    .floating-card:hover {
        box-shadow: 0 25px 50px rgba(0, 0, 0, 0.15);
    }

.stats-counter {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--navy-blue-dark);
    margin-bottom: 5px;
}

.equal-height {
    display: flex;
    flex-direction: column;
}

    .equal-height .info-item,
    .equal-height .floating-card {
        flex: 1;
    }

.info-item h6 {
    color: var(--navy-blue-dark);
}

.appointment-card {
    background: var(--white-ivory);
    border-radius: 15px;
    padding: 25px;
    border-left: 4px solid var(--teal-accent);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
}

    .appointment-card:hover {
        box-shadow: 0 10px 25px rgba(0, 0, 0, 0.12);
    }


.btn-custom-new {
    background: linear-gradient(45deg, var(--navy-blue-dark), var(--teal-accent));
    color: var(--white-ivory);
    padding: 8px 20px;
    border-radius: 25px;
    font-weight: 600;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
}

    .btn-custom-new:hover {
        transform: translateY(-2px);
        box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
        color: var(--white-ivory);
    }

.btn-custom {
    background: linear-gradient(45deg, var(--teal-accent), var(--navy-blue-dark));
    border: none;
    color: var(--white-ivory);
    padding: 8px 20px;
    border-radius: 25px;
    font-weight: 600;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
}

    .btn-custom:hover {
        transform: translateY(-2px);
        box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
        color: var(--white-ivory);
    }

.stats-counter {
    font-size: 3rem;
    font-weight: 700;
    color: var(--teal-accent);
    margin-bottom: 10px;
}

.form-card {
    background: var(--white-ivory);
    border-radius: 20px;
    padding: 40px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(45, 184, 163, 0.1);
}

.form-control {
    border-radius: 10px;
    border: 2px solid #e9ecef;
    padding: 3px 10px;
    transition: border-color 0.3s ease;
}

    .form-control:focus {
        border-color: var(--teal-accent);
        box-shadow: 0 0 0 0.2rem rgba(45, 184, 163, 0.25);
    }

.map-container {
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.social-icons {
    display: flex;
    gap: 15px;
    justify-content: center;
    margin-top: 20px;
}

.social-icon {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: linear-gradient(45deg, var(--teal-accent), var(--navy-blue-dark));
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white-ivory);
    text-decoration: none;
    transition: all 0.3s ease;
}

    .social-icon:hover {
        box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
        color: var(--white-ivory);
    }

@media (max-width: 768px) {
/*    .hero-section {
        min-height: 50vh;
        padding: 60px 0;
    }*/

    .section-title {
        font-size: 2rem;
    }

   
}


/*form css*/


.compact-form {
    padding: 25px 30px;
    max-width: 500px;
    margin: 0 auto;
}

    .compact-form .form-control {
        padding: 6px 12px;
        font-size: 0.9rem;
        height: auto;
    }

    .compact-form .form-check-label {
        font-size: 0.85rem;
    }

    .compact-form .form-check-input {
        margin-top: 0.2rem;
    }

    .compact-form textarea.form-control {
        resize: vertical;
    }

    .compact-form .btn-custom.btn-sm {
        font-size: 0.85rem;
        padding: 6px 20px;
        border-radius: 20px;
    }


/* Full width section styling */
.full-width-section {
    width: 100vw;
    margin-left: calc(-50vw + 50%);
    padding: 40px 0;
    background: linear-gradient(135deg, var(--teal-accent) 0%, var(--navy-blue-dark) 100%);
    position: relative;
    overflow: hidden;
}

    /* Add subtle pattern overlay */
    .full-width-section::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background-image: radial-gradient(circle at 20% 80%, rgba(255,255,255,0.1) 0%, transparent 50%), radial-gradient(circle at 80% 20%, rgba(255,255,255,0.05) 0%, transparent 50%);
        pointer-events: none;
    }

.section-content {
    position: relative;
    z-index: 1;
}

    .section-content h2 {
        font-size: 2.5rem;
        font-weight: 700;
        margin-bottom: 1.5rem;
        text-shadow: 0 2px 4px rgba(0,0,0,0.3);
    }

    .section-content .lead {
        font-size: 1.2rem;
        opacity: 0.9;
        max-width: 600px;
        margin: 0 auto 2rem;
        line-height: 1.6;
    }

/* Form validation styles */
.is-invalid {
    border-color: #dc3545 !important;
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12' width='12' height='12' fill='none' stroke='%23dc3545'%3e%3ccircle cx='6' cy='6' r='4.5'/%3e%3cpath stroke-linejoin='round' d='M5.8 3.6h.4L6 6.5z'/%3e%3ccircle cx='6' cy='8.2' r='.6' fill='%23dc3545' stroke='none'/%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right calc(0.375em + 0.1875rem) center;
    background-size: calc(0.75em + 0.375rem) calc(0.75em + 0.375rem);
    padding-right: calc(1.5em + 0.75rem);
}

    .is-invalid:focus {
        box-shadow: 0 0 0 0.25rem rgba(220, 53, 69, 0.25);
    }

.invalid-feedback {
    display: none;
    width: 100%;
    margin-top: 0.25rem;
    font-size: 0.875em;
    color: #dc3545;
}

.is-invalid ~ .invalid-feedback {
    display: block;
}

.form-success-alert {
    animation: fadeIn 0.3s ease-in;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}



.contact-item i {
    color: #fff;
    filter: drop-shadow(0 2px 4px rgba(0,0,0,0.3));
}

.contact-item h6 {
    color: #fff;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.contact-item p {
    color: rgba(255,255,255,0.9);
    font-size: 1.1rem;
    font-weight: 500;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .full-width-section {
        padding: 60px 0;
    }

    .section-content h2 {
        font-size: 2rem;
    }

    .section-content .lead {
        font-size: 1.1rem;
    }

    .contact-item {
        padding: 1.5rem;
    }
}

/* Demo container to show the effect */
.demo-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 20px;
}

.demo-content {
    background: #f8f9fa;
    padding: 40px;
    border-radius: 10px;
    margin-bottom: 40px;
    text-align: center;
}
