/* Patient Safety Policy Drafting Clinic - Main Styles */

:root {
    /* Primary Colors - Pastel Palette */
    --primary-color-1: #e7f5ff; /* Soft Sky Blue */
    --primary-color-2: #fff3e0; /* Warm Cream */
    --primary-color-3: #e6f4ea; /* Mint Green */
    --primary-color-4: #f9ebff; /* Lavender */
    --primary-color-5: #ffeaea; /* Blush Pink */
    
    /* Light/Dark Shades */
    --primary-color-1-dark: #a8d4f2;
    --primary-color-2-dark: #ffd7a6;
    --primary-color-3-dark: #b5dfbd;
    --primary-color-4-dark: #e2cbf7;
    --primary-color-5-dark: #ffcdcd;
    
    /* Text Colors */
    --text-dark: #2c3e50;
    --text-medium: #546e7a;
    --text-light: #78909c;
    
    /* Background Colors */
    --bg-light: #ffffff;
    --bg-off-white: #f9fafc;
    --bg-accent: #f5f9ff;
    
    /* Spacing */
    --section-padding: 100px 0;
    --container-padding: 0 15px;
}

/* Base Styles */
html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Poppins', sans-serif;
    color: var(--text-dark);
    background-color: var(--bg-light);
    line-height: 1.6;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    margin-bottom: 1.5rem;
    line-height: 1.3;
}

p {
    margin-bottom: 1.5rem;
    color: var(--text-medium);
}

a {
    color: var(--primary-color-3-dark);
    text-decoration: none;
    transition: all 0.3s ease;
}

a:hover {
    color: var(--primary-color-3);
}

section {
    padding: var(--section-padding);
    position: relative;
}

.btn {
    padding: 12px 30px;
    border-radius: 50px;
    font-weight: 600;
    transition: all 0.3s ease;
    border: none;
}

.btn-primary {
    background-color: var(--primary-color-3-dark);
    color: white;
}

.btn-primary:hover {
    background-color: var(--primary-color-3);
    color: var(--text-dark);
    box-shadow: 0 10px 15px rgba(0, 0, 0, 0.05);
    transform: translateY(-3px);
}

.section-title {
    margin-bottom: 60px;
    text-align: center;
}

.section-title h2 {
    font-size: 2.5rem;
    margin-bottom: 15px;
    position: relative;
    display: inline-block;
}

.section-title h2:after {
    content: '';
    position: absolute;
    width: 60px;
    height: 3px;
    background-color: var(--primary-color-3-dark);
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
}

.section-title p {
    max-width: 700px;
    margin: 0 auto;
}

/* Shape Elements */
.shape-element {
    position: absolute;
    z-index: -1;
}

.shape-top-right {
    top: 0;
    right: 0;
}

.shape-bottom-left {
    bottom: 0;
    left: 0;
}

/* Animation */
.animate-in {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.5s ease-out;
}

.animate-in.show {
    opacity: 1;
    transform: translateY(0);
}

/* Header Styles */
header {
    padding: 20px 0;
    background-color: var(--bg-light);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.03);
    position: fixed;
    width: 100%;
    z-index: 999;
    transition: all 0.3s ease;
}

header.scrolled {
    padding: 15px 0;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.navbar-brand {
    font-weight: 700;
    font-size: 1rem;
}

.navbar-nav .nav-link {
    font-weight: 600;
    padding: 0.5rem 1rem;
    margin: 0 5px;
    position: relative;
}

.navbar-nav .nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 2px;
    background-color: var(--primary-color-3-dark);
    transition: width 0.3s ease;
}

.navbar-nav .nav-link:hover::after,
.navbar-nav .nav-link.active::after {
    width: 80%;
}

/* Hero Section */
.hero-section {
    padding-top: 150px;
    padding-bottom: 100px;
    background-color: var(--primary-color-1);
    overflow: hidden;
    position: relative;
}

.hero-section .swiper {
    height: 600px;
}

.hero-slide {
    display: flex;
    align-items: center;
    height: 100%;
}

.hero-content {
    z-index: 2;
}

.hero-content h1 {
    font-size: 3.2rem;
    font-weight: 800;
    margin-bottom: 20px;
}

.hero-content p {
    font-size: 1.1rem;
    margin-bottom: 30px;
    max-width: 600px;
}

.hero-image {
    position: relative;
    height: 100%;
}

.hero-image img {
    height: 100%;
    object-fit: cover;
    border-radius: 20px;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to right, rgba(0,0,0,0.6), rgba(0,0,0,0));
    border-radius: 20px;
}

/* About Section */
.about-section {
    background-color: var(--bg-light);
}

.about-img img {
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.05);
}

.about-content {
    padding-left: 30px;
}

.about-feature {
    margin-bottom: 30px;
    padding: 25px;
    border-radius: 15px;
    background-color: var(--bg-off-white);
    transition: all 0.3s ease;
}

.about-feature:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.05);
}

.about-feature i {
    font-size: 2.5rem;
    margin-bottom: 15px;
    color: var(--primary-color-3-dark);
}

.about-feature h3 {
    font-size: 1.3rem;
    margin-bottom: 10px;
}

/* Services Section */
.services-section {
    background-color: var(--bg-off-white);
}

.service-item {
    margin-bottom: 30px;
    padding: 30px;
    border-radius: 15px;
    background-color: var(--bg-light);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    height: 100%;
}

.service-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
}

.service-icon {
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--primary-color-1);
    border-radius: 50%;
    margin-bottom: 25px;
}

.service-icon i {
    font-size: 2rem;
    color: var(--primary-color-3-dark);
}

.service-item h3 {
    font-size: 1rem;
    margin-bottom: 15px;
}

.service-price {
    font-size: 1rem;
    font-weight: 700;
    color: var(--primary-color-3-dark);
    margin: 15px 0;
}

.service-features {
    margin-top: 15px;
    padding-top: 15px;
    border-top: 1px solid var(--primary-color-1);
}

.service-features li {
    margin-bottom: 8px;
    position: relative;
    padding-left: 25px;
}

.service-features li:before {
    content: "\f00c";
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    position: absolute;
    left: 0;
    color: var(--primary-color-3-dark);
}

/* Features Section */
.features-section {
    background-color: var(--bg-light);
}

.feature-box {
    padding: 40px 30px;
    border-radius: 15px;
    margin-bottom: 30px;
    transition: all 0.3s ease;
    background-color: var(--bg-off-white);
    height: 100%;
}

.feature-box:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.05);
}

.feature-icon {
    margin-bottom: 25px;
    font-size: 3rem;
    color: var(--primary-color-4-dark);
}

.feature-box h3 {
    font-size: 1rem;
    margin-bottom: 15px;
}

/* Price Plan Section */
.pricing-section {
    background-color: var(--primary-color-1);
}

.pricing-table {
    padding: 40px;
    border-radius: 15px;
    background-color: var(--bg-light);
    margin-bottom: 30px;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    height: 100%;
}

.pricing-table:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.pricing-table.featured:before {
    content: "Popular";
    position: absolute;
    top: 20px;
    right: -35px;
    background-color: var(--primary-color-3-dark);
    color: white;
    padding: 5px 40px;
    transform: rotate(45deg);
    font-size: 0.8rem;
    font-weight: 600;
}

.pricing-header {
    text-align: center;
    margin-bottom: 30px;
    padding-bottom: 30px;
    border-bottom: 1px solid var(--primary-color-1);
}

.pricing-name {
    font-size: 1rem;
    margin-bottom: 10px;
}

.pricing-price {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--primary-color-3-dark);
    margin-bottom: 15px;
}

.pricing-features {
    margin-bottom: 30px;
}

.pricing-features li {
    margin-bottom: 10px;
    position: relative;
    padding-left: 30px;
}

.pricing-features li:before {
    content: "\f00c";
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    position: absolute;
    left: 0;
    color: var(--primary-color-3-dark);
}

/* Team Section */
.team-section {
    background-color: var(--bg-off-white);
}

.team-member {
    margin-bottom: 30px;
    border-radius: 15px;
    overflow: hidden;
    background-color: var(--bg-light);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.team-member:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.team-image {
    position: relative;
    overflow: hidden;
}

.team-image img {
    width: 100%;
    transition: all 0.5s ease;
}

.team-member:hover .team-image img {
    transform: scale(1.05);
}

.team-info {
    padding: 25px;
    text-align: center;
}

.team-info h3 {
    font-size: 1rem;
    margin-bottom: 5px;
}

.team-info p {
    color: var(--text-light);
    margin-bottom: 15px;
}

/* Reviews Section */
.reviews-section {
    background-color: var(--primary-color-4);
}

.reviews-slider .swiper-slide {
    padding: 20px;
}

.review-item {
    background-color: var(--bg-light);
    border-radius: 15px;
    padding: 30px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.05);
    position: relative;
}

.review-item:before {
    content: "\f10d";
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    position: absolute;
    top: 20px;
    left: 20px;
    font-size: 2rem;
    color: var(--primary-color-4-dark);
    opacity: 0.2;
}

.review-text {
    font-style: italic;
    margin-bottom: 20px;
    position: relative;
    z-index: 1;
    padding-top: 15px;
}

.review-author {
    font-weight: 700;
    font-size: 1.1rem;
    margin-bottom: 5px;
}

.review-stars {
    color: #ffca28;
    margin-bottom: 10px;
}

/* Core Info Section */
.coreinfo-section {
    background-color: var(--bg-light);
}

.info-card {
    padding: 30px;
    border-radius: 15px;
    background-color: var(--bg-off-white);
    margin-bottom: 30px;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.03);
    transition: all 0.3s ease;
    height: 100%;
}

.info-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.05);
}

.info-card h3 {
    font-size: 1.4rem;
    margin-bottom: 15px;
}

.info-icon {
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--primary-color-2);
    border-radius: 10px;
    margin-bottom: 20px;
}

.info-icon i {
    font-size: 1rem;
    color: var(--primary-color-2-dark);
}

/* Contact Section */
.contact-section {
    background-color: var(--bg-off-white);
}

.contact-form {
    background-color: var(--bg-light);
    padding: 40px;
    border-radius: 15px;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.05);
}

.form-control {
    height: 54px;
    padding: 0.75rem 1.25rem;
    border-radius: 8px;
    border: 1px solid #e9ecef;
    margin-bottom: 20px;
}

textarea.form-control {
    height: auto;
    min-height: 150px;
}

.contact-info {
    padding: 30px;
    background-color: var(--primary-color-3);
    border-radius: 15px;
    height: 100%;
}

.contact-info-item {
    margin-bottom: 25px;
}

.contact-info-item i {
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--bg-light);
    border-radius: 50%;
    margin-right: 15px;
    color: var(--primary-color-3-dark);
    float: left;
}

.contact-info-content {
    overflow: hidden;
}

.contact-info-content h5 {
    font-size: 1.1rem;
    margin-bottom: 5px;
}

/* Blog Section */
.blog-section {
    background-color: var(--bg-light);
}

.blog-card {
    margin-bottom: 30px;
    border-radius: 15px;
    overflow: hidden;
    background-color: var(--bg-light);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.blog-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.blog-image {
    position: relative;
    overflow: hidden;
}

.blog-image img {
    width: 100%;
    transition: all 0.5s ease;
}

.blog-card:hover .blog-image img {
    transform: scale(1.05);
}

.blog-content {
    padding: 25px;
}

.blog-date {
    display: inline-block;
    background-color: var(--primary-color-3-dark);
    color: white;
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.8rem;
    margin-bottom: 15px;
}

.blog-title {
    font-size: 1.4rem;
    margin-bottom: 15px;
}

.blog-excerpt {
    margin-bottom: 20px;
}

.blog-link {
    font-weight: 600;
    position: relative;
    display: inline-block;
}

.blog-link:after {
    content: '';
    position: absolute;
    bottom: -3px;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: var(--primary-color-3-dark);
    transition: width 0.3s ease;
}

.blog-link:hover:after {
    width: 50%;
}

/* Footer */
footer {
    background-color: var(--text-dark);
    color: white;
    padding: 70px 0 20px;
}

.footer-widget {
    margin-bottom: 40px;
}

.footer-widget h4 {
    position: relative;
    font-size: 1.4rem;
    margin-bottom: 25px;
    padding-bottom: 15px;
    color: white;
}

.footer-widget h4:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 2px;
    background-color: var(--primary-color-3-dark);
}

.footer-widget p {
    color: #ccc;
}

.footer-widget ul li {
    margin-bottom: 10px;
}

.footer-widget ul li a {
    color: #ccc;
    transition: all 0.3s ease;
}

.footer-widget ul li a:hover {
    color: var(--primary-color-3-dark);
    padding-left: 5px;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 20px;
    margin-top: 30px;
}

.footer-bottom p {
    color: #ccc;
    margin-bottom: 0;
}

/* Responsive styles */
@media (max-width: 991px) {
    .navbar-collapse {
        background-color: var(--bg-light);
        padding: 15px;
        border-radius: 10px;
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
        margin-top: 10px;
    }
    
    .hero-content h1 {
        font-size: 2.5rem;
    }
}

@media (max-width: 767px) {
    :root {
        --section-padding: 70px 0;
    }
    
    .section-title h2 {
        font-size: 2rem;
    }
    
    .hero-section .swiper {
        height: 450px;
    }
    
    .hero-content h1 {
        font-size: 2rem;
    }
}

@media (max-width: 575px) {
    :root {
        --section-padding: 50px 0;
    }
    
    .hero-section .swiper {
        height: 350px;
    }
    
    .hero-content h1 {
        font-size: 1rem;
    }
    
    .btn {
        padding: 10px 25px;
    }
}

/* Space Page Specific */
#space {
    min-height: 500px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--bg-light);
} 