/* Base Styles */
:root {
    --primary-color: #0a91ca;
    --secondary-color: #00558c;
    --accent-color: #4cc9f0;
    --light-color: #f8f9fa;
    --dark-color: #212529;
    --gray-color: #6c757d;
    --success-color: #4bb543;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', sans-serif;
    line-height: 1.6;
    color: var(--dark-color);
    background-color: #fff;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

/* Header & Navigation */
header {
    background-color: #fff;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 0;
}

.logo {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--dark-color);
}

.logo span {
    color: var(--primary-color);
}

.nav-links {
    display: flex;
    list-style: none;
}

.nav-links li {
    margin-left: 30px;
}

.nav-links a {
    text-decoration: none;
    color: var(--dark-color);
    font-weight: 500;
    transition: color 0.3s;
}

.nav-links a:hover, .nav-links a.active {
    color: var(--primary-color);
}

.burger {
    display: none;
    cursor: pointer;
}

.burger div {
    width: 25px;
    height: 3px;
    background-color: var(--dark-color);
    margin: 5px;
    transition: all 0.3s ease;
}

/* Hero Section */
.hero {
    background: linear-gradient(rgb(18 158 213), rgb(0 81 136)), url(../images/hero-bg.jpg);
    background-size: cover;
    background-position: center;
    height: 80vh;
    display: flex;
    align-items: center;
    text-align: center;
    color: #fff;
    margin-top: 80px;
}

.hero h1 {
    font-size: 3rem;
    margin-bottom: 20px;
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 30px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

/* Buttons */
.btn {
    display: inline-block;
    background-color: var(--primary-color);
    color: #fff;
    padding: 12px 30px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s;
    border: none;
    cursor: pointer;
}

.btn:hover {
    background-color: var(--secondary-color);
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.btn-outline {
    display: inline-block;
    background-color: transparent;
    color: var(--primary-color);
    padding: 10px 25px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s;
    border: 2px solid var(--primary-color);
    margin-right: 10px;
}

.btn-outline:hover {
    background-color: var(--primary-color);
    color: #fff;
}

/* Features Section */
.features {
    padding: 80px 0;
    text-align: center;
}

.features h2 {
    font-size: 2.5rem;
    margin-bottom: 50px;
    color: var(--dark-color);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.feature {
    background-color: #fff;
    padding: 40px 30px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s;
}

.feature:hover {
    transform: translateY(-10px);
}

.feature i {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.feature h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
}

/* Providers Page */
.providers-search {
    padding: 100px 0 50px;
    text-align: center;
}

.providers-search h2 {
    font-size: 2.5rem;
    margin-bottom: 30px;
}

.search-box {
    display: flex;
    max-width: 600px;
    margin: 0 auto 30px;
}

.search-box input {
    flex: 1;
    padding: 15px 20px;
    border: 1px solid #ddd;
    border-radius: 50px 0 0 50px;
    font-size: 1rem;
    outline: none;
}

.search-box button {
    padding: 0 25px;
    background-color: var(--primary-color);
    color: #fff;
    border: none;
    border-radius: 0 50px 50px 0;
    cursor: pointer;
    font-size: 1.2rem;
}

.filter-options {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-bottom: 30px;
}

.filter-options select {
    padding: 10px 15px;
    border-radius: 5px;
    border: 1px solid #ddd;
    background-color: #fff;
}

/* .providers-list {
    padding: 50px 0;
}

.provider-card {
    background-color: #fff;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    border: none;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.provider-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.provider-card .card-header {
    background-color: transparent;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    padding: 1.5rem;
}

.provider-card .card-body {
    padding: 1.5rem;
}

.provider-card .card-footer {
    padding: 1.5rem;
    border-top: 1px solid rgba(0, 0, 0, 0.05);
}

.provider-info img {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    object-fit: cover;
    margin-right: 20px;
}

.provider-info h3 {
    font-size: 1.2rem;
    margin-bottom: 10px;
}

.rating {
    color: #ffc107;
    margin-bottom: 10px;
}

.rating span {
    color: #6c757d;
    font-size: 0.9rem;
    margin-left: 5px;
} */


/* .container {
      padding-top: 40px;
    } */

    h4 {
      text-align: center;
      margin-bottom: 30px;
      color: #333;
    }

    .card-grid {
      display: grid;
      grid-template-columns: repeat(auto-fill, minmax(170px, 1fr));
      gap: 1.5rem;
    }

    .user-card {
      background: white;
      border-radius: 20px;
      padding: 1.2rem;
      text-align: center;
      box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
      transition: transform 0.3s ease, box-shadow 0.3s ease;
    }

    .user-card:hover {
      transform: translateY(-5px);
      box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
    }

    .user-img {
      width: 80px;
      height: 80px;
      border-radius: 50%;
      object-fit: cover;
      margin-bottom: 0.75rem;
      border: 3px solid #139fd6;
    }

    .user-name {
      font-weight: bold;
      font-size: 1.1rem;
      color: #222;
      margin-bottom: 4px;
    }

    .user-service {
      font-size: 0.9rem;
      color: #666;
      margin-bottom: 10px;
    }

    .call-btn {
      background: linear-gradient(45deg, #139fd6, #1c7ed6);
      color: white;
      padding: 8px 16px;
      border-radius: 30px;
      font-size: 0.9rem;
      font-weight: 500;
      border: none;
      text-decoration: none;
      transition: background 0.3s ease;
    }

    .call-btn:hover {
      background: linear-gradient(45deg, #1864ab, #1c7ed6);
    }

/* Responsive adjustments */
/* @media (max-width: 575.98px) {
    .provider-card .card-header {
        padding: 1rem;
    }
    
    .provider-card .card-body,
    .provider-card .card-footer {
        padding: 1rem;
    }
    
    .provider-card .btn {
        padding: 0.375rem 0.5rem;
        font-size: 0.8rem;
    }
} */

/* Contact Page */
.contact-hero {
    background: linear-gradient(rgb(18 158 213), rgb(0 81 136)), url(../images/hero-bg.jpg);
    background-size: cover;
    background-position: center;
    height: 300px;
    display: flex;
    align-items: center;
    text-align: center;
    color: #fff;
    margin-top: 80px;
}

.text-primary{
    color:rgb(14 141 196) !important;
}



.contact-hero h1 {
    font-size: 3rem;
    margin-bottom: 20px;
}

.contact-content {
    padding: 80px 0;
}

.contact-form {
    background-color: #fff;
    padding: 40px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    margin-bottom: 40px;
}

.contact-form h2 {
    font-size: 2rem;
    margin-bottom: 30px;
    color: var(--dark-color);
}

.form-group {
    margin-bottom: 20px;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 15px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-family: 'Poppins', sans-serif;
    font-size: 1rem;
}

.form-group textarea {
    resize: vertical;
}

.contact-info {
    background-color: #fff;
    padding: 40px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.contact-info h2 {
    font-size: 2rem;
    margin-bottom: 30px;
    color: var(--dark-color);
}

.info-item {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
}

.info-item i {
    font-size: 1.5rem;
    color: var(--primary-color);
    margin-right: 15px;
    width: 30px;
    text-align: center;
}

.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: var(--primary-color);
    color: #fff;
    border-radius: 50%;
    transition: all 0.3s;
}

.social-links a:hover {
    background-color: var(--secondary-color);
    transform: translateY(-3px);
}

/* Footer */
footer {
    background-color: var(--dark-color);
    color: #fff;
    text-align: center;
    padding: 20px 0;
    margin-top: 50px;
}

/* Responsive Design */
@media screen and (max-width: 768px) {
    .nav-links {
        position: fixed;
        right: -100%;
        top: 80px;
        background-color: #fff;
        width: 50%;
        height: calc(100vh - 80px);
        flex-direction: column;
        align-items: center;
        justify-content: flex-start;
        padding-top: 40px;
        transition: right 0.5s ease;
        box-shadow: -5px 0 10px rgba(0, 0, 0, 0.1);
    }

    .nav-links.active {
        right: 0;
    }

    .nav-links li {
        margin: 15px 0;
    }

    .burger {
        display: block;
    }

    .hero h1 {
        font-size: 2.5rem;
    }

    .provider-card {
        flex-direction: column;
        text-align: center;
    }

    .provider-info {
        flex-direction: column;
        margin-bottom: 20px;
    }

    .provider-info img {
        margin-right: 0;
        margin-bottom: 15px;
    }

    .provider-contact {
        width: 100%;
        display: flex;
        justify-content: center;
    }

    .contact-content .container {
        flex-direction: column;
    }
}

@media screen and (min-width: 992px) {
    .contact-content .container {
        display: flex;
        gap: 30px;
    }

    .contact-form {
        flex: 2;
        margin-bottom: 0;
    }

    .contact-info {
        flex: 1;
        height: fit-content;
    }
}


/* ======================
   ANIMATIONS & TRANSITIONS
   ====================== */

/* Fade-in animation for page load */
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

body {
    animation: fadeIn 0.8s ease-out;
}

/* Button hover animation */
.btn {
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.btn::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--secondary-color);
    z-index: -1;
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 0.4s ease;
}

.btn:hover::after {
    transform: scaleX(1);
    transform-origin: left;
}

/* Card hover animation */
.provider-card, .feature {
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.provider-card:hover {
    box-shadow: 0 14px 28px rgba(0,0,0,0.1), 0 10px 10px rgba(0,0,0,0.08);
    transform: translateY(-5px);
}

/* Input focus animation */
.form-group input:focus, 
.form-group textarea:focus,
.search-box input:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 2px rgba(67, 97, 238, 0.2);
    transition: all 0.3s ease;
}

/* Loading spinner for search */
@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.spinner {
    display: none;
    width: 20px;
    height: 20px;
    border: 3px solid rgba(255,255,255,0.3);
    border-radius: 50%;
    border-top-color: #fff;
    animation: spin 1s ease-in-out infinite;
    margin-left: 10px;
}

.search-box button.active .spinner {
    display: inline-block;
}

/* Scroll animations */
.reveal {
    position: relative;
    transform: translateY(30px);
    opacity: 0;
    transition: all 0.8s ease;
}

.reveal.active {
    transform: translateY(0);
    opacity: 1;
}

/* Pulse animation for important elements */
@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.05); }
    100% { transform: scale(1); }
}

.pulse {
    animation: pulse 2s infinite;
}

/* Floating animation for hero elements */
@keyframes float {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
    100% { transform: translateY(0px); }
}

.floating {
    animation: float 3s ease-in-out infinite;
}

/* Ripple effect for buttons */
.ripple {
    position: relative;
    overflow: hidden;
    width: max-content;
}

.ripple:after {
    content: "";
    display: block;
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    pointer-events: none;
    background-image: radial-gradient(circle, #fff 10%, transparent 10.01%);
    background-repeat: no-repeat;
    background-position: 50%;
    transform: scale(10,10);
    opacity: 0;
    transition: transform .5s, opacity 1s;
}

.ripple:active:after {
    transform: scale(0,0);
    opacity: 0.3;
    transition: 0s;
}


/* Provider Card Enhancements */
.provider-card {
    display: flex;
    flex-direction: column;
    background: #fff;
    border-radius: 40px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
    margin-bottom: 30px;
}

.provider-header {
    display: flex;
    padding: 20px;
    background: linear-gradient(135deg, #4361ee 0%, #3a0ca3 100%);
    color: white;
}

.provider-photo {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid white;
    margin-right: 20px;
    box-shadow: 0 3px 10px rgba(0,0,0,0.2);
}

.provider-basic-info {
    flex: 1;
}

.provider-basic-info h3 {
    margin: 0 0 5px 0;
    font-size: 1.5rem;
}

.service-tag {
    display: inline-block;
    background: rgba(255,255,255,0.2);
    padding: 3px 10px;
    border-radius: 20px;
    font-size: 0.8rem;
    margin-top: 5px;
}

.provider-details {
    padding: 20px;
}

.detail-item {
    display: flex;
    margin-bottom: 12px;
    align-items: flex-start;
}

.detail-item i {
    color: #0a91ca;
    margin-right: 10px;
    margin-top: 3px;
    min-width: 20px;
    text-align: center;
}

.provider-actions {
    display: flex;
    border-top: 1px solid #eee;
    padding: 15px 20px;
}

.btn-action {
    flex: 1;
    text-align: center;
    padding: 10px;
    margin: 0 5px;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s;
}

.btn-action.call {
    background: #25D366;
    color: white;
}

.btn-action.email {
    background: #0a91ca;
    color: white;
}

.btn-action.whatsapp {
    background: #075E54;
    color: white;
}

.btn-action:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 10px rgba(0,0,0,0.1);
}

.provider-map {
    height: 200px;
    width: 100%;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .provider-header {
        flex-direction: column;
        text-align: center;
    }
    
    .provider-photo {
        margin: 0 auto 15px auto;
    }
    
    .provider-actions {
        flex-direction: column;
    }
    
    .btn-action {
        margin: 5px 0;
    }
}


.alert {
    padding: 15px;
    margin-bottom: 20px;
    border: 1px solid transparent;
    border-radius: 4px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.alert-success {
    color: #3c763d;
    background-color: #dff0d8;
    border-color: #d6e9c6;
}

.alert-danger {
    color: #a94442;
    background-color: #f2dede;
    border-color: #ebccd1;
}

.alert ul {
    margin-bottom: 0;
    padding-left: 20px;
}











   