:root {
    /* Color Palette - Vibrant Modern Theme */
    --primary-color: #0d9488;
    --secondary-color: #4f46e5;
    --accent-color: #f59e0b;
    --dark-text: #1f2937;
    --light-text: #f9fafb;
    --bg-light: #ffffff;
    --bg-off-white: #f8fafc;
    --border-light: #e2e8f0;
    --text-muted: #6b7280;
}

/* Global Styles */
body {
    font-family: 'Inter', sans-serif;
    color: var(--dark-text);
    background-color: var(--bg-off-white);
    line-height: 1.6;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Outfit', sans-serif;
    font-weight: 700;
    color: var(--dark-text);
}

a {
    text-decoration: none;
    transition: all 0.3s ease;
}

ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

img {
    max-width: 100%;
    height: auto;
}

/* Typography Utilities */
.display-3 {
    font-weight: 800;
    letter-spacing: -0.02em;
}

.display-5 {
    font-weight: 800;
    letter-spacing: -0.02em;
}

.lead {
    font-weight: 400;
    color: var(--text-muted);
}

.text-primary {
    color: var(--primary-color) !important;
}

.text-secondary {
    color: var(--secondary-color) !important;
}

.bg-primary {
    background-color: var(--primary-color) !important;
}

.bg-secondary {
    background-color: var(--secondary-color) !important;
}

/* Button Styles */
.btn-custom-primary {
    background-color: var(--secondary-color);
    color: #fff;
    font-weight: 600;
    padding: 12px 35px;
    border-radius: 50px;
    border: none;
    transition: all 0.3s ease;
    display: inline-block;
    box-shadow: 0 4px 6px -1px rgba(79, 70, 229, 0.1), 0 2px 4px -1px rgba(79, 70, 229, 0.06);
}

.btn-custom-primary:hover {
    background-color: #4338ca; /* Darker Indigo */
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 10px 15px -3px rgba(79, 70, 229, 0.3), 0 4px 6px -2px rgba(79, 70, 229, 0.1);
}

.btn-custom-outline {
    background-color: transparent;
    color: var(--primary-color);
    font-weight: 600;
    padding: 10px 30px;
    border-radius: 50px;
    border: 2px solid var(--primary-color);
    transition: all 0.3s ease;
}

.btn-custom-outline:hover {
    background-color: var(--primary-color);
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 4px 6px -1px rgba(13, 148, 136, 0.1), 0 2px 4px -1px rgba(13, 148, 136, 0.06);
}

/* Navbar Styles */
.navbar {
    padding: 1rem 0;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
}

.navbar-brand {
    font-size: 1.5rem;
    color: var(--secondary-color) !important;
}

.nav-link {
    font-weight: 500;
    color: var(--dark-text) !important;
    padding: 0.5rem 1rem !important;
}

.nav-link:hover, .nav-link.active {
    color: var(--primary-color) !important;
}

.dropdown-menu {
    border: none;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    border-radius: 0.75rem;
    padding: 0.5rem;
}

.dropdown-item {
    border-radius: 0.5rem;
    padding: 0.5rem 1rem;
    font-weight: 500;
}

.dropdown-item:hover {
    background-color: var(--primary-color);
    color: #fff;
}

/* Hero Section */
.hero-section {
    position: relative;
    padding: 120px 0;
    background: linear-gradient(rgba(13, 148, 136, 0.9), rgba(79, 70, 229, 0.85)), url('../images/hero-bg.png');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    color: #fff;
}

.hero-section h1 {
    color: #fff;
    margin-bottom: 1.5rem;
}

.hero-section .lead {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.25rem;
    margin-bottom: 2rem;
}

/* About Section */
.about-section {
    padding: 100px 0;
    background-color: var(--bg-light);
}

.eyebrow {
    color: var(--primary-color);
    font-size: 0.875rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    display: block;
    margin-bottom: 0.5rem;
}

.about-image-wrapper {
    position: relative;
    padding: 20px 0 0 20px;
}

.about-image-wrapper img {
    position: relative;
    z-index: 2;
    border-radius: 1rem;
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

.about-image-wrapper::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 4px solid var(--secondary-color);
    border-radius: 1rem;
    z-index: 1;
    transform: translate(-20px, -20px);
}

.about-list li {
    position: relative;
    padding-left: 2rem;
    margin-bottom: 0.75rem;
    color: var(--text-muted);
}

.about-list li i {
    position: absolute;
    left: 0;
    top: 0.25rem;
    color: var(--secondary-color);
    font-size: 1.25rem;
}

/* Counter Section */
.counter-section {
    padding: 80px 0;
    background-color: var(--secondary-color);
    color: #fff;
}

.counter-box {
    text-align: center;
    padding: 2rem;
    transition: transform 0.3s ease;
}

.counter-box:hover {
    transform: translateY(-5px);
}

.counter-number {
    font-size: 3rem;
    font-weight: 800;
    color: var(--accent-color);
    margin-bottom: 0.5rem;
    display: block;
}

.counter-label {
    font-size: 1.1rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.9);
}

/* Features Section */
.features-section {
    padding: 100px 0;
    background-color: var(--bg-off-white);
}

.section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 4rem;
}

.section-header h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.feature-card {
    background: #fff;
    padding: 2.5rem 2rem;
    border-radius: 1rem;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
    height: 100%;
    transition: all 0.3s ease;
    text-align: center;
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
}

.feature-icon {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background-color: rgba(13, 148, 136, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    color: var(--primary-color);
    font-size: 2rem;
    transition: all 0.3s ease;
}

.feature-card:hover .feature-icon {
    background-color: var(--primary-color);
    color: #fff;
}

/* Blog Section */
.blog-section {
    padding: 100px 0;
    background-color: #f3f4f6;
}

.blog-card {
    background: #fff;
    border-radius: 1rem;
    overflow: hidden;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    height: 100%;
    border: none;
}

.blog-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
}

.blog-card-img-wrapper {
    height: 250px;
    overflow: hidden;
}

.blog-card-img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.blog-card:hover .blog-card-img-wrapper img {
    transform: scale(1.05);
}

.blog-card-body {
    padding: 1.5rem;
}

.badge-custom {
    background-color: rgba(13, 148, 136, 0.1);
    color: var(--primary-color);
    padding: 0.5rem 1rem;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.75rem;
    text-transform: uppercase;
    display: inline-block;
    margin-bottom: 1rem;
}

.blog-title {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
    line-height: 1.4;
}

.blog-title a {
    color: var(--dark-text);
}

.blog-card:hover .blog-title a {
    color: var(--primary-color);
}

.read-more-link {
    display: inline-flex;
    align-items: center;
    color: var(--primary-color);
    font-weight: 600;
    margin-top: 1rem;
}

.read-more-link i {
    margin-left: 0.5rem;
    transition: transform 0.3s ease;
}

.blog-card:hover .read-more-link i {
    transform: translateX(5px);
}

/* CTA Section */
.cta-section {
    padding: 100px 0;
    background-color: #111827;
    color: #fff;
    text-align: center;
}

.cta-section h2 {
    color: #fff;
    margin-bottom: 1.5rem;
}

.cta-section p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 1.25rem;
    max-width: 700px;
    margin: 0 auto 2.5rem;
}

/* Footer */
.footer {
    background-color: #1f2937;
    color: #fff;
    padding-top: 5rem;
    padding-bottom: 2rem;
}

.footer h5 {
    color: #fff;
    margin-bottom: 1.5rem;
}

.footer a {
    color: rgba(255, 255, 255, 0.7);
    transition: all 0.3s ease;
    display: block;
    margin-bottom: 0.5rem;
    text-decoration: none;
}

.footer a:hover {
    color: var(--primary-color);
    transform: translateX(5px);
}

.social-links a {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    margin-right: 0.75rem;
    color: #fff;
}

.social-links a:hover {
    background-color: var(--primary-color);
    transform: translateY(-3px);
}

/* Page Headers (About, Contact) */
.page-header {
    background-color: var(--primary-color);
    padding: 80px 0;
    text-align: center;
    color: #fff;
}

.page-header h1 {
    color: #fff;
    font-size: 3rem;
    margin-bottom: 1rem;
}

.page-header .lead {
    color: rgba(255, 255, 255, 0.9);
}

/* Contact Form */
.contact-form-container {
    background: #fff;
    padding: 3rem;
    border-radius: 1rem;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
}

.form-control {
    padding: 0.75rem 1rem;
    border-radius: 0.5rem;
    border: 1px solid var(--border-light);
}

.form-control:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 4px rgba(13, 148, 136, 0.1);
}

.form-label {
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--dark-text);
}

/* Blog Post Specifics */
.blog-post-header {
    position: relative;
    height: 400px;
    background-size: cover;
    background-position: center;
}

.blog-post-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
}

.blog-content-card {
    background: #fff;
    border-radius: 1rem;
    padding: 3rem;
    margin-top: -100px;
    position: relative;
    z-index: 10;
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
}

.blog-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
    margin: 1.5rem 0;
    color: var(--text-muted);
    font-size: 0.9rem;
}

.blog-meta i {
    color: var(--primary-color);
    margin-right: 0.5rem;
}

.article-body h2 {
    margin-top: 2.5rem;
    margin-bottom: 1rem;
}

.article-body h3 {
    margin-top: 2rem;
    margin-bottom: 1rem;
}

.article-body p {
    margin-bottom: 1.5rem;
    color: #4b5563;
}

.alert-custom {
    background-color: rgba(13, 148, 136, 0.05);
    border-left: 4px solid var(--primary-color);
    padding: 1.5rem;
    border-radius: 0.5rem;
    margin: 2rem 0;
}

/* Call to Action Box in Blog */
.cta-box {
    background-color: var(--bg-off-white);
    padding: 2.5rem;
    border-radius: 1rem;
    text-align: center;
    margin-top: 3rem;
    border: 1px solid var(--border-light);
}

@media (max-width: 991.98px) {
    .about-image-wrapper {
        margin-bottom: 3rem;
        padding: 0;
    }
    
    .about-image-wrapper::after {
        display: none;
    }
    
    .blog-content-card {
        padding: 2rem;
        margin-top: -50px;
    }
}

@media (max-width: 767.98px) {
    .display-3 {
        font-size: 2.5rem;
    }
    
    .hero-section {
        padding: 80px 0;
    }
    
    .counter-number {
        font-size: 2.5rem;
    }
}
