/*
* Medical Negligence Litigation Workshops Template
* Main CSS file
*/

/* Root Variables and Color Scheme */
:root {
    --primary-color: #a3c9d9;     /* Soft Blue */
    --secondary-color: #d5c5c8;   /* Pastel Pink */
    --accent-color: #f2e2cd;      /* Cream */
    --dark-color: #7a6c7e;        /* Muted Purple */
    --light-color: #e8f3f1;       /* Mint White */
    
    --primary-light: #cce0e8;
    --primary-dark: #6b9db5;
    --secondary-light: #e9e0e2;
    --secondary-dark: #ac9da1;
    --accent-light: #faf5eb;
    --accent-dark: #d9c7a9;
    --dark-light: #9e919f;
    --dark-dark: #594a5c;

    --body-font: 'Roboto', sans-serif;
    --heading-font: 'Playfair Display', serif;
    --transition: all 0.3s ease;
    --box-shadow: 0 5px 15px rgba(0,0,0,0.08);
    --border-radius: 8px;
    --section-padding: 80px 0;
}

/* Base Styles */
html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--body-font);
    color: #333;
    line-height: 1.7;
    background-color: #fff;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--heading-font);
    font-weight: 700;
    color: var(--dark-dark);
    margin-bottom: 20px;
}

p {
    margin-bottom: 20px;
}

a {
    color: var(--primary-dark);
    text-decoration: none;
    transition: var(--transition);
}

a:hover {
    color: var(--dark-color);
}

img {
    max-width: 100%;
    height: auto;
}

section {
    padding: var(--section-padding);
    position: relative;
}

.btn {
    padding: 12px 30px;
    border-radius: var(--border-radius);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: var(--transition);
    border: none;
}

.btn-primary {
    background-color: var(--primary-color);
    color: #fff;
}

.btn-primary:hover {
    background-color: var(--primary-dark);
    transform: translateY(-3px);
    box-shadow: var(--box-shadow);
}

.btn-secondary {
    background-color: var(--secondary-color);
    color: #fff;
}

.btn-secondary:hover {
    background-color: var(--secondary-dark);
    transform: translateY(-3px);
    box-shadow: var(--box-shadow);
}

.section-title {
    margin-bottom: 50px;
}

.section-title h2 {
    color: var(--dark-dark);
    font-size: 16px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 2px;
    display: inline-block;
    position: relative;
    margin-bottom: 15px;
}

.section-title h3 {
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 20px;
}

.section-title p {
    color: #777;
}

/* Header Styles */
.header {
    padding: 20px 0;
    background-color: #fff;
    box-shadow: 0 2px 15px rgba(0,0,0,0.05);
    position: fixed;
    width: 100%;
    top: 0;
    left: 0;
    z-index: 1000;
    transition: var(--transition);
}

.header.scrolled {
    padding: 15px 0;
    background-color: rgba(255, 255, 255, 0.95);
}

.navbar-brand {
    font-family: var(--heading-font);
    font-size: 24px;
    font-weight: 700;
    color: var(--dark-dark);
}

.navbar-nav .nav-link {
    color: var(--dark-color);
    font-weight: 500;
    padding: 10px 15px;
    position: relative;
}

.navbar-nav .nav-link:hover {
    color: var(--primary-dark);
}

.navbar-nav .nav-link::after {
    content: '';
    position: absolute;
    bottom: 5px;
    left: 50%;
    width: 0;
    height: 2px;
    background-color: var(--primary-color);
    transition: var(--transition);
    transform: translateX(-50%);
}

.navbar-nav .nav-link:hover::after {
    width: 30px;
}

/* Hero Section */
.hero {
    height: 100vh;
    min-height: 600px;
    padding-top: 100px;
    overflow: hidden;
}

.hero-slide {
    position: relative;
    height: 100vh;
    min-height: 600px;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.hero-slide::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.5);
}

.slide-content {
    position: relative;
    z-index: 2;
    color: #fff;
    display: flex;
    flex-direction: column;
    justify-content: center;
    height: 100%;
    text-align: center;
}

.slide-content h1 {
    font-size: 52px;
    color: #fff;
    margin-bottom: 20px;
    animation: fadeInUp 1s both;
}

.slide-content h2 {
    font-size: 24px;
    color: rgba(255,255,255,0.9);
    margin-bottom: 30px;
    animation: fadeInUp 1s 0.2s both;
}

.slide-content p {
    max-width: 600px;
    margin: 0 auto 40px;
    animation: fadeInUp 1s 0.4s both;
}

.hero .swiper-pagination-bullet {
    width: 12px;
    height: 12px;
    background-color: #fff;
    opacity: 0.5;
}

.hero .swiper-pagination-bullet-active {
    opacity: 1;
    background-color: var(--primary-color);
}

.hero .swiper-button-next,
.hero .swiper-button-prev {
    color: #fff;
}

/* About Section */
.about {
    background-color: var(--light-color);
}

.about-image {
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--box-shadow);
}

.feature-box {
    background-color: #fff;
    padding: 25px;
    border-radius: var(--border-radius);
    margin-bottom: 30px;
    box-shadow: var(--box-shadow);
    transition: var(--transition);
}

.feature-box:hover {
    transform: translateY(-5px);
}

.feature-box i {
    font-size: 40px;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.feature-box h4 {
    font-size: 20px;
    margin-bottom: 15px;
}

/* Services Section */
.services {
    background-color: #fff;
}

.service-box {
    background-color: var(--light-color);
    padding: 30px;
    border-radius: var(--border-radius);
    margin-bottom: 30px;
    transition: var(--transition);
    text-align: center;
    box-shadow: var(--box-shadow);
    height: 100%;
}

.service-box:hover {
    transform: translateY(-10px);
}

.service-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 80px;
    height: 80px;
    background-color: var(--accent-light);
    border-radius: 50%;
    margin-bottom: 25px;
}

.service-icon i {
    font-size: 36px;
    color: var(--primary-dark);
}

.service-box h4 {
    font-size: 22px;
    margin-bottom: 15px;
}

.service-box ul {
    padding-left: 20px;
    margin-bottom: 20px;
    text-align: left;
}

.service-box ul li {
    margin-bottom: 10px;
}

.price {
    font-size: 24px;
    font-weight: 700;
    color: var(--dark-color);
    margin-top: 15px;
}

/* Features Section */
.features {
    background-color: var(--accent-light);
}

.feature-item {
    background-color: #fff;
    padding: 30px;
    border-radius: var(--border-radius);
    margin-bottom: 30px;
    text-align: center;
    box-shadow: var(--box-shadow);
    transition: var(--transition);
    height: 100%;
}

.feature-item:hover {
    transform: translateY(-5px);
}

.feature-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 70px;
    height: 70px;
    background-color: var(--primary-light);
    border-radius: 50%;
    margin-bottom: 20px;
}

.feature-icon i {
    font-size: 30px;
    color: var(--primary-dark);
}

.feature-item h4 {
    font-size: 20px;
    margin-bottom: 15px;
}

/* Price Plan Section */
.priceplan {
    background-color: #fff;
}

.price-box {
    background-color: var(--light-color);
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--box-shadow);
    margin-bottom: 30px;
    transition: var(--transition);
    height: 100%;
}

.price-box:hover {
    transform: translateY(-10px);
}

.price-box.featured {
    background-color: var(--secondary-light);
    transform: scale(1.05);
    position: relative;
    z-index: 1;
}

.price-box.featured:hover {
    transform: scale(1.05) translateY(-10px);
}

.price-header {
    padding: 30px;
    text-align: center;
    background-color: var(--primary-light);
    position: relative;
}

.price-box.featured .price-header {
    background-color: var(--primary-color);
    color: #fff;
}

.price-header h4 {
    font-size: 24px;
    margin-bottom: 15px;
    color: var(--dark-dark);
}

.price-box.featured .price-header h4 {
    color: #fff;
}

.price-amount {
    font-size: 36px;
    font-weight: 700;
    color: var(--primary-dark);
}

.price-box.featured .price-amount {
    color: #fff;
}

.price-body {
    padding: 30px;
    text-align: center;
}

.price-body p {
    margin-bottom: 25px;
}

.price-body ul {
    list-style-type: none;
    padding: 0;
    margin-bottom: 30px;
    text-align: left;
}

.price-body ul li {
    padding: 10px 0;
    border-bottom: 1px dashed #ddd;
    position: relative;
    padding-left: 30px;
}

.price-body ul li::before {
    content: '\f00c';
    font-family: 'Font Awesome 5 Free';
    font-weight: 900;
    color: var(--primary-color);
    position: absolute;
    left: 0;
    top: 10px;
}

/* Team Section */
.team {
    background-color: var(--light-color);
}

.team-member {
    background-color: #fff;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--box-shadow);
    margin-bottom: 30px;
    transition: var(--transition);
}

.team-member:hover {
    transform: translateY(-10px);
}

.member-img {
    position: relative;
    overflow: hidden;
}

.member-img img {
    width: 100%;
    transition: var(--transition);
}

.team-member:hover .member-img img {
    transform: scale(1.1);
}

.member-info {
    padding: 25px;
    text-align: center;
}

.member-info h4 {
    font-size: 22px;
    margin-bottom: 5px;
}

.member-info span {
    display: block;
    font-size: 14px;
    color: var(--primary-dark);
    margin-bottom: 15px;
}

/* Reviews Section */
.reviews {
    background-color: var(--accent-light);
}

.reviewsSwiper {
    padding-bottom: 70px;
}

.review-item {
    background-color: #fff;
    padding: 30px;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    text-align: center;
    position: relative;
    margin: 20px 10px;
}

.review-item::before {
    content: '\f10d';
    font-family: 'Font Awesome 5 Free';
    font-weight: 900;
    font-size: 30px;
    color: var(--primary-light);
    position: absolute;
    top: 10px;
    left: 20px;
    opacity: 0.3;
}

.review-content {
    margin-bottom: 20px;
}

.review-author h5 {
    font-size: 18px;
    color: var(--dark-dark);
    margin-bottom: 5px;
}

.reviews .swiper-pagination-bullet {
    width: 10px;
    height: 10px;
    background-color: var(--primary-color);
    opacity: 0.5;
}

.reviews .swiper-pagination-bullet-active {
    opacity: 1;
    background-color: var(--primary-dark);
}

/* Core Info Section */
.coreinfo {
    background-color: #fff;
}

.info-box {
    background-color: var(--light-color);
    padding: 30px;
    border-radius: var(--border-radius);
    margin-bottom: 30px;
    text-align: center;
    box-shadow: var(--box-shadow);
    transition: var(--transition);
    height: 100%;
}

.info-box:hover {
    transform: translateY(-5px);
}

.info-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 70px;
    height: 70px;
    background-color: var(--primary-light);
    border-radius: 50%;
    margin-bottom: 20px;
}

.info-icon i {
    font-size: 30px;
    color: var(--primary-dark);
}

.info-box h4 {
    font-size: 20px;
    margin-bottom: 15px;
}

/* Contact Section */
.contact {
    background-color: var(--light-color);
}

.contact-image {
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--box-shadow);
}

.contact-form-wrapper {
    background-color: #fff;
    padding: 40px;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
}

.form-control {
    height: 54px;
    padding: 10px 20px;
    font-size: 16px;
    border: 1px solid #eee;
    border-radius: var(--border-radius);
    background-color: #fafafa;
    margin-bottom: 20px;
}

.form-control:focus {
    box-shadow: none;
    border-color: var(--primary-color);
}

textarea.form-control {
    height: auto;
}

/* Blog Section */
.blog {
    background-color: #fff;
}

.blog-item {
    background-color: var(--light-color);
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--box-shadow);
    margin-bottom: 30px;
    transition: var(--transition);
}

.blog-item:hover {
    transform: translateY(-10px);
}

.blog-image {
    position: relative;
    overflow: hidden;
}

.blog-image img {
    width: 100%;
    transition: var(--transition);
}

.blog-item:hover .blog-image img {
    transform: scale(1.1);
}

.blog-content {
    padding: 25px;
}

.blog-content h4 {
    font-size: 22px;
    margin-bottom: 15px;
}

.blog-content p {
    margin-bottom: 20px;
}

.blog-content a {
    color: var(--primary-dark);
    font-weight: 600;
    transition: var(--transition);
}

.blog-content a:hover {
    color: var(--dark-color);
}

/* Footer */
.footer {
    background-color: var(--dark-dark);
    color: #fff;
    padding: 70px 0 20px;
}

.footer-info h3 {
    color: #fff;
    font-size: 28px;
    margin-bottom: 20px;
}

.footer-info p {
    color: rgba(255,255,255,0.7);
    margin-bottom: 30px;
}

.footer-links h4 {
    color: #fff;
    font-size: 20px;
    margin-bottom: 25px;
}

.footer-links ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links ul li {
    margin-bottom: 15px;
}

.footer-links ul li a {
    color: rgba(255,255,255,0.7);
    transition: var(--transition);
}

.footer-links ul li a:hover {
    color: var(--primary-color);
    padding-left: 5px;
}

.footer-contact h4 {
    color: #fff;
    font-size: 20px;
    margin-bottom: 25px;
}

.footer-contact p {
    color: rgba(255,255,255,0.7);
    margin-bottom: 15px;
    position: relative;
    padding-left: 30px;
}

.footer-contact p::before {
    font-family: 'Font Awesome 5 Free';
    font-weight: 900;
    position: absolute;
    left: 0;
    top: 0;
    color: var(--primary-color);
}

#contact-info-phone::before {
    content: '\f095';
}

#contact-info-email::before {
    content: '\f0e0';
}

#contact-info-address::before {
    content: '\f3c5';
}

.copyright {
    text-align: center;
    margin-top: 50px;
    padding-top: 30px;
    border-top: 1px solid rgba(255,255,255,0.1);
}

.copyright p {
    color: rgba(255,255,255,0.7);
    margin-bottom: 10px;
}

.copyright small {
    color: rgba(255,255,255,0.5);
}

/* Custom Shapes */
.shape-divider {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    overflow: hidden;
    line-height: 0;
}

.shape-divider svg {
    display: block;
    width: calc(100% + 1.3px);
    height: 70px;
}

.shape-divider .shape-fill {
    fill: #FFFFFF;
}

/* Animation */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translate3d(0, 40px, 0);
    }
    to {
        opacity: 1;
        transform: translate3d(0, 0, 0);
    }
} 