/* ========================================
   Sophia Botchway Personal Brand Website
   Main Stylesheet
   ======================================== */

/* CSS Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 100px;
}

body {
    font-family: 'Open Sans', sans-serif;
    line-height: 1.6;
    color: #333333;
    background-color: #ffffff;
    overflow-x: hidden;
}

/* Global Accessibility Standards */
:focus {
    outline: 3px solid #8B0000;
    outline-offset: 2px;
    border-radius: 3px;
}

button:focus,
a:focus,
input:focus,
textarea:focus,
select:focus {
    outline: 3px solid #F08080;
    outline-offset: 2px;
}

/* Reduced Motion Support */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
}

/* Enhanced Typography - World-Class Hierarchy */
h1, h2, h3, h4, h5, h6 {
    font-family: 'Playfair Display', serif;
    font-weight: 600;
    line-height: 1.25;
    margin-bottom: 1rem;
    color: #8B0000;
    letter-spacing: -0.02em;
    font-feature-settings: "liga" 1, "kern" 1;
}

h1 {
    font-size: clamp(2.5rem, 5vw, 3.5rem);
    line-height: 1.15;
    font-weight: 700;
    margin-bottom: 2.5rem;
}

h2 {
    font-size: clamp(2rem, 4vw, 2.8rem);
    line-height: 1.2;
    margin-bottom: 1rem;
}

h3 {
    font-size: clamp(1.4rem, 3vw, 2rem);
    line-height: 1.3;
    margin-bottom: 1.5rem;
}

h4 {
    font-size: clamp(1.2rem, 2.5vw, 1.5rem);
    line-height: 1.4;
    margin-bottom: 1.25rem;
}

p {
    margin-bottom: 1.75rem;
    line-height: 1.75;
    font-size: clamp(1rem, 1.5vw, 1.125rem);
    color: #444;
    font-weight: 400;
}

a {
    text-decoration: none;
    color: #8B0000;
    transition: all 0.3s ease;
}

a:hover {
    color: #DC143C;
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
}

/* Advanced Container System - World-Class Layout */
.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 clamp(1rem, 4vw, 3rem);
    width: 100%;
}

/* Wide Container for Enhanced Layouts */
.container-wide {
    max-width: 1600px;
    margin: 0 auto;
    padding: 0 clamp(1rem, 4vw, 3rem);
    width: 100%;
}

/* Narrow Container for Focused Content */
.container-narrow {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 clamp(1rem, 4vw, 3rem);
    width: 100%;
}

/* Ultra-wide for hero sections */
.container-ultra {
    max-width: 1800px;
    margin: 0 auto;
    padding: 0 clamp(1rem, 4vw, 3rem);
    width: 100%;
}

/* Advanced Section Spacing - Perfect Proportions */
section {
    padding: clamp(2.5rem, 6vw, 5rem) 0;
}

.section-padding {
    padding: clamp(2rem, 5vw, 3.5rem) 0;
}

.section-spacing {
    margin-bottom: clamp(2rem, 5vw, 4rem);
}

.section-tight {
    padding: clamp(1.5rem, 4vw, 2.5rem) 0;
}

.section-hero {
    padding: clamp(4rem, 8vw, 6rem) 0 clamp(2.5rem, 5vw, 3.5rem);
}

/* Content Flow Standards */
.content-block {
    margin-bottom: 1rem;
}

.content-block:last-child {
    margin-bottom: 0;
}

/* Premium Button System */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 1rem 2.5rem;
    border-radius: 12px;
    font-weight: 600;
    text-align: center;
    text-decoration: none;
    border: 2px solid transparent;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    font-size: clamp(0.95rem, 1.5vw, 1.1rem);
    min-width: 160px;
    letter-spacing: 0.025em;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    position: relative;
    overflow: hidden;
    background-clip: padding-box;
    user-select: none;
    -webkit-tap-highlight-color: transparent;
}

.btn:active {
    transform: translateY(-1px) scale(0.98);
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: left 0.5s;
}

.btn:hover::before {
    left: 100%;
}

.btn-primary {
    background-color: #8B0000;
    color: white;
    border: 2px solid #8B0000;
}

.btn-primary:hover {
    background-color: #DC143C;
    border-color: #DC143C;
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 12px 35px rgba(220, 20, 60, 0.4);
    scale: 1.02;
}

.btn-secondary {
    background-color: transparent;
    color: #8B0000;
    border: 2px solid #8B0000;
}

.btn-secondary:hover {
    background-color: #8B0000;
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 12px 35px rgba(139, 0, 0, 0.4);
    scale: 1.02;
}

.btn-outline {
    background-color: transparent;
    color: #8B0000;
    border: 2px solid #F08080;
}

.btn-outline:hover {
    background-color: #F08080;
    color: white;
    border-color: #F08080;
    transform: translateY(-3px);
    box-shadow: 0 12px 35px rgba(240, 128, 128, 0.4);
    scale: 1.02;
}

/* Header and Navigation */
.header {
    background-color: rgba(139, 0, 0, 0.15);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    transition: all 0.3s ease;
    width: 100%;
    backdrop-filter: blur(8px);
}

.header.scrolled {
    background-color: #8B0000 !important;
    background: #8B0000 !important;
    box-shadow: 0 2px 20px rgba(139, 0, 0, 0.3);
    backdrop-filter: none;
}

.header.scrolled .nav-brand h2,
.header.scrolled .nav-link {
    color: white;
}

.header.scrolled .nav-toggle span {
    background-color: white;
}

.header:not(.scrolled) .nav-brand h2,
.header:not(.scrolled) .nav-link {
    color: white;
}

.header:not(.scrolled) .nav-toggle span {
    background-color: white;
}

.nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 2rem 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.header.scrolled .nav {
    padding: 1rem 2rem;
}

.nav-brand {
    display: flex;
    align-items: center;
}

.logo-link {
    display: flex;
    align-items: center;
    text-decoration: none;
    color: inherit;
    transition: opacity 0.3s ease;
}

.logo-link:hover {
    opacity: 0.8;
}

.logo {
    height: 80px;
    width: auto;
    content: url('../img/logo-white.png');
    transition: all 0.3s ease;
}

.header:not(.scrolled) .logo {
    content: url('../img/logo-white.png');
    height: 80px;
}

.header.scrolled .logo {
    content: url('../img/logo-white.png');
    height: 50px;
}

.nav-brand h2 {
    color: white;
    margin-bottom: 0;
    font-size: 1.5rem;
    margin-left: 1rem;
    font-weight: 300;
    letter-spacing: 1px;
}

.header.scrolled .nav-brand h2 {
    color: white;
}

.nav-list {
    display: flex;
    flex-direction: column;
    gap: 0;
    margin: 0;
    padding: 0.5rem 0;
    list-style: none;
}

.nav-link {
    font-size: 1rem;
    font-weight: 500;
    text-decoration: none;
    color: white;
    padding: 1rem 1.5rem;
    display: block;
    transition: all 0.3s ease;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.nav-link:last-child {
    border-bottom: none;
}

.nav-link:hover {
    background-color: rgba(255, 255, 255, 0.1);
    color: #FFD700;
}

.nav-link.active {
    background-color: rgba(255, 255, 255, 0.2);
    color: #FFD700;
}

.nav-menu.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.nav {
    position: relative;
}

/* Desktop Navigation */
@media (min-width: 1025px) {
    .nav-menu {
        display: flex !important;
        position: static !important;
        background: none !important;
        box-shadow: none !important;
        border-radius: 0 !important;
        opacity: 1 !important;
        visibility: visible !important;
        transform: none !important;
        margin-top: 0 !important;
        align-items: center;
    }
    
    .nav-list {
        display: flex !important;
        flex-direction: row !important;
        gap: 2rem !important;
        margin: 0 !important;
        padding: 0 !important;
        list-style: none;
        align-items: center;
    }
    
    .nav-link {
        font-size: 1rem !important;
        font-weight: 500;
        text-decoration: none;
        color: white !important;
        padding: 0.5rem 1rem !important;
        display: block;
        transition: all 0.3s ease;
        border-bottom: none !important;
        position: relative;
        border-radius: 4px;
        background-color: transparent !important;
    }
    
    .nav-link::after {
        content: '';
        position: absolute;
        bottom: 0;
        left: 50%;
        width: 0;
        height: 2px;
        background-color: #DC143C;
        transition: all 0.3s ease;
        transform: translateX(-50%);
    }
    
    .nav-link:hover::after,
    .nav-link.active::after {
        width: 80%;
    }
    
    .nav-link:hover {
        background-color: rgba(255, 255, 255, 0.1);
        color: #F08080;
    }
    
    .nav-link.active {
        background-color: rgba(255, 255, 255, 0.1);
        color: #F08080;
    }
}

/* Navigation Toggle for Dropdown - Hidden by default on larger screens */
.nav-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 4px;
    padding: 0.5rem;
    border-radius: 4px;
    transition: background-color 0.3s ease;
}

/* Mobile/Tablet Navigation */
@media (max-width: 1024px) {
    .nav-toggle {
        display: flex !important;
    }
    
    .nav-menu {
        display: block;
        position: absolute;
        top: 100%;
        right: 0;
        background-color: #8B0000;
        min-width: 200px;
        box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
        border-radius: 8px;
        opacity: 0;
        visibility: hidden;
        transform: translateY(-10px);
        transition: all 0.3s ease;
        z-index: 10001;
        margin-top: 0.5rem;
    }
}

.nav-toggle:hover {
    background-color: rgba(255, 255, 255, 0.1);
}

.nav-toggle span {
    width: 25px;
    height: 3px;
    background-color: #8B0000;
    transition: all 0.3s ease;
}

.nav-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.nav-toggle.active span:nth-child(2) {
    opacity: 0;
}

.nav-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -6px);
}

/* Premium Hero Section */
.hero {
    background: 
        radial-gradient(circle at 20% 50%, rgba(240, 128, 128, 0.3) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(220, 20, 60, 0.4) 0%, transparent 50%),
        linear-gradient(135deg, #8B0000 0%, #DC143C 100%);
    color: white;
    padding: clamp(120px, 18vh, 160px) 0 clamp(60px, 8vh, 80px);
    min-height: 85vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.hero * {
    color: white !important;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.1);
    pointer-events: none;
}

.hero-content {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: clamp(3rem, 8vw, 6rem);
    align-items: center;
    position: relative;
    z-index: 2;
    max-width: 1500px;
    margin: 0 auto;
    animation: fadeInUp 1.2s cubic-bezier(0.4, 0, 0.2, 1) 0.3s both;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(60px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-title {
    font-size: clamp(2.5rem, 6vw, 4rem);
    color: white !important;
    margin: 2rem;
    line-height: 1.1;
    font-weight: 700;
    letter-spacing: -0.02em;
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    animation: fadeInUp 1.2s cubic-bezier(0.4, 0, 0.2, 1) 0.6s both;
}

.hero-description {
    font-size: clamp(1.1rem, 2.5vw, 1.35rem);
    margin-bottom: 3rem;
    line-height: 1.6;
    opacity: 0.95;
    font-weight: 400;
    color: white !important;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
    animation: fadeInUp 1.2s cubic-bezier(0.4, 0, 0.2, 1) 0.9s both;
}

.hero-buttons {
    display: flex;
    gap: 1.5rem;
    flex-wrap: nowrap;
    animation: fadeInUp 1.2s cubic-bezier(0.4, 0, 0.2, 1) 1.2s both;
}

/* Ensure buttons stay side by side on mobile */
@media (max-width: 480px) {
    .hero-buttons {
        flex-direction: row;
        justify-content: flex-start;
        flex-wrap: nowrap;
    }
    
    .hero-buttons .btn {
        flex: 1;
        min-width: 0;
        padding: 0.75rem 1rem;
        font-size: 0.9rem;
    }
}

.hero .btn-primary {
    background-color: transparent;
    color: #8B0000;
    border-color: #8B0000;
}

.hero .btn-primary:hover {
    background-color: #8B0000;
    color: white;
    border-color: #8B0000;
}

.hero .btn-secondary {
    background-color: transparent;
    color: white;
    border-color: white;
}

.hero .btn-secondary:hover {
    background-color: white;
    color: #8B0000;
}

/* Images */
.hero-portrait, .about-portrait, .featured-blog-image, .blog-post-image, .gallery-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 10px;
}

.hero-portrait {
    max-height: 480px;
    width: 100%;
    object-fit: cover;
    border-radius: 20px;
    box-shadow: 
        0 25px 60px rgba(139, 0, 0, 0.4),
        0 10px 30px rgba(0, 0, 0, 0.2);
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    animation: fadeInUp 1.2s cubic-bezier(0.4, 0, 0.2, 1) 1.5s both;
}

.hero-portrait:hover {
    transform: scale(1.05) translateY(-10px);
    box-shadow: 
        0 35px 80px rgba(139, 0, 0, 0.5),
        0 15px 40px rgba(0, 0, 0, 0.3);
}

.about-portrait {
    max-height: 520px;
    width: 100%;
    object-fit: cover;
    border-radius: 20px;
    box-shadow: 
        0 20px 60px rgba(0, 0, 0, 0.15),
        0 8px 25px rgba(139, 0, 0, 0.1);
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    border: 3px solid rgba(255, 255, 255, 0.8);
}

.about-portrait:hover {
    transform: scale(1.05) translateY(-8px);
    box-shadow: 
        0 30px 80px rgba(0, 0, 0, 0.2),
        0 12px 35px rgba(139, 0, 0, 0.15);
    border-color: rgba(255, 255, 255, 1);
}

.featured-blog-image {
    max-height: 300px;
}

.blog-post-image {
    height: 200px;
    border-radius: 10px 10px 0 0;
}

.gallery-image {
    height: 200px;
    border-radius: 10px 10px 0 0;
}

/* Image Placeholders (Fallback) */
.image-placeholder {
    background-color: #f8f9fa;
    border: 2px dashed #F08080;
    border-radius: 10px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    text-align: center;
    min-height: 200px;
}

.image-placeholder.large {
    min-height: 300px;
}

.image-placeholder i {
    font-size: 3rem;
    color: #F08080;
    margin-bottom: 1rem;
}

.image-placeholder p {
    color: #666;
    margin-bottom: 0;
    font-weight: 500;
}

/* Enhanced Page Hero */
.page-hero {
    background: 
        radial-gradient(ellipse at center top, rgba(220, 20, 60, 0.4) 0%, transparent 60%),
        linear-gradient(135deg, #8B0000 0%, #DC143C 100%);
    color: white;
    text-align: center;
    padding: clamp(120px, 18vh, 160px) 0 clamp(60px, 10vh, 100px);
    position: relative;
    overflow: hidden;
}

.page-hero * {
    color: white !important;
}

.page-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.1);
    pointer-events: none;
}

.page-hero .container {
    position: relative;
    z-index: 2;
}

.page-title {
    font-size: clamp(2.5rem, 6vw, 3.8rem);
    color: white !important;
    margin-bottom: 1rem;
    font-weight: 700;
    line-height: 1.15;
    letter-spacing: -0.02em;
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
    animation: fadeInUp 1s cubic-bezier(0.4, 0, 0.2, 1) 0.2s both;
}

.page-subtitle {
    font-size: clamp(1.1rem, 2.5vw, 1.5rem);
    opacity: 0.95;
    margin-bottom: 0;
    font-weight: 400;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.5;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
    animation: fadeInUp 1s cubic-bezier(0.4, 0, 0.2, 1) 0.4s both;
    color: white !important;
}

/* Section Styling */
.section-title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: #8B0000;
    position: relative;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -1rem;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, #8B0000, #DC143C);
    border-radius: 2px;
}

section {
    padding: 100px 0;
}

/* Enhanced Loading States */
.loading-spinner {
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 3px solid #f3f3f3;
    border-top: 3px solid #8B0000;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

/* Page Loading Skeleton */
.skeleton {
    background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
    background-size: 200% 100%;
    animation: loading 1.5s infinite;
}

@keyframes loading {
    0% { background-position: 200% 0; }
    100% { background-position: -200% 0; }
}

/* Share Button Styling */
.share-btn {
    background-color: transparent;
    border: 2px solid #8B0000;
    color: #8B0000;
    gap: 0.5rem;
}

.share-btn:hover {
    background-color: #8B0000;
    color: white;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Enhanced Animations */
.fade-in {
    animation: fadeIn 0.8s ease-out;
}

@keyframes slideInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.slide-in-up {
    animation: slideInUp 0.8s ease-out;
}

/* Page Transition Effects */
.page-transition {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.page-transition.loaded {
    opacity: 1;
    transform: translateY(0);
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Smooth Scroll Enhancement */
html {
    scroll-behavior: smooth;
    scroll-padding-top: 100px;
}

/* Accessibility Improvements */
.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* Focus indicators */
*:focus-visible {
    outline: 2px solid #8B0000;
    outline-offset: 2px;
    border-radius: 4px;
}

/* Skip to content link */
.skip-link {
    position: absolute;
    top: -40px;
    left: 6px;
    background: #8B0000;
    color: white;
    padding: 8px;
    text-decoration: none;
    transition: top 0.3s;
    z-index: 10000;
}

.skip-link:focus {
    top: 6px;
}

/* Enhanced Performance Optimizations */
img {
    loading: lazy;
    height: auto;
    transition: opacity 0.3s ease;
}

img[loading="eager"] {
    loading: eager;
}

/* WebP Support */
picture {
    display: block;
    width: 100%;
}

/* Slow Connection Optimizations */
.slow-connection * {
    animation-duration: 0.1s !important;
    transition-duration: 0.1s !important;
}

/* Touch Device Optimizations */
.touch-device .btn:hover {
    transform: none;
}

.touch-device .service-card:hover {
    transform: none;
}

.touch-device .venture-card:hover {
    transform: none;
}

/* Reduced motion preference */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
}

/* Services Overview */
.services-overview {
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
    position: relative;
    padding: 100px 0;
}

.services-overview::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, #8B0000, transparent);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 1.5rem;
    max-width: 1600px;
    margin: 0 auto;
    padding: 0;
}

.service-card {
    background: linear-gradient(145deg, #ffffff 0%, #fafafa 100%);
    padding: 2rem 1.8rem;
    border-radius: 20px;
    text-align: center;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.08);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: 380px;
    border: 2px solid rgba(139, 0, 0, 0.1);
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, #8B0000, #DC143C);
    transition: left 0.4s ease;
}

.service-card:hover::before {
    left: 0;
}

.service-card:hover {
    transform: translateY(-15px) scale(1.05);
    box-shadow: 0 35px 80px rgba(0, 0, 0, 0.15), 0 15px 35px rgba(139, 0, 0, 0.1);
    border-color: rgba(139, 0, 0, 0.25);
    background: linear-gradient(145deg, #ffffff 0%, #f8f9fa 100%);
}

.service-icon {
    margin-bottom: 1.5rem;
}

.service-card .service-icon i {
    font-size: clamp(3rem, 6vw, 4rem);
    color: #DC143C;
    margin-bottom: 1.5rem;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    display: inline-block;
    background: linear-gradient(135deg, #DC143C, #8B0000);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    filter: drop-shadow(0 2px 4px rgba(139, 0, 0, 0.2));
}

.service-card:hover .service-icon i {
    transform: scale(1.15) rotate(5deg);
    filter: drop-shadow(0 4px 8px rgba(139, 0, 0, 0.3));
}

.service-card h3 {
    font-size: clamp(1.3rem, 2.5vw, 1.7rem);
    margin-bottom: 1.75rem;
    color: #8B0000;
    font-weight: 600;
    line-height: 1.3;
    letter-spacing: -0.01em;
}

.service-card p {
    flex-grow: 1;
    margin-bottom: 2.5rem;
    line-height: 1.75;
    color: #555;
    font-size: clamp(0.95rem, 1.5vw, 1.05rem);
}

.service-btn {
    margin-top: auto;
    align-self: center;
    min-width: 150px;
}



/* Qualifications Grid */
.qualifications {
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
    position: relative;
}

.qualifications::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, #8B0000, transparent);
}

.qualifications-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
}

.qualification {
    text-align: center;
    padding: 2.5rem 2rem;
    background: white;
    border: 1px solid rgba(139, 0, 0, 0.1);
    border-radius: 15px;
    transition: all 0.4s ease;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    position: relative;
    overflow: hidden;
}

.qualification::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, #8B0000, #DC143C);
    transition: left 0.4s ease;
}

.qualification:hover::before {
    left: 0;
}

.qualification:hover {
    border-color: rgba(139, 0, 0, 0.3);
    background-color: #ffffff;
    transform: translateY(-8px);
    box-shadow: 0 15px 35px rgba(139, 0, 0, 0.15);
}

.qualification h4 {
    color: #8B0000;
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

.qualification p {
    color: #666;
    line-height: 1.7;
}

/* Enhanced About Page Styles */
.about-content {
    padding: clamp(2.5rem, 6vw, 4rem) 0;
}

.about-grid {
    display: grid;
    grid-template-columns: 0.8fr 1.2fr;
    gap: clamp(3rem, 8vw, 7rem);
    align-items: start;
    margin-bottom: clamp(3rem, 6vw, 5rem);
    max-width: 1600px;
    margin-left: auto;
    margin-right: auto;
}

.about-text h2 {
    margin-bottom: 2.5rem;
    font-size: clamp(1.8rem, 4vw, 2.5rem);
    position: relative;
    font-weight: 700;
    letter-spacing: -0.01em;
}

.about-text h2::after {
    content: '';
    position: absolute;
    bottom: -0.5rem;
    left: 0;
    width: 50px;
    height: 3px;
    background: linear-gradient(90deg, #8B0000, #DC143C);
    border-radius: 2px;
}

.about-text p {
    font-size: clamp(1.05rem, 2vw, 1.2rem);
    margin-bottom: 2.25rem;
    line-height: 1.75;
    color: #444;
    font-weight: 400;
}

.about-text p:last-child {
    margin-bottom: 0;
}

/* Enhanced Timeline Styles */
.career-highlights {
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
    position: relative;
    overflow: hidden;
}

.career-highlights::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(139, 0, 0, 0.2), transparent);
}

.timeline {
    max-width: 900px;
    margin: 0 auto;
    position: relative;
    padding: 2rem 0;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 3px;
    background: linear-gradient(180deg, #8B0000, #DC143C, #8B0000);
    transform: translateX(-50%);
    border-radius: 2px;
    box-shadow: 0 0 10px rgba(139, 0, 0, 0.3);
}

.timeline-item {
    display: flex;
    align-items: center;
    margin-bottom: 4rem;
    position: relative;
    animation: fadeInUp 0.8s ease-out;
}

.timeline-item:nth-child(odd) {
    flex-direction: row-reverse;
}

.timeline-marker {
    width: 24px;
    height: 24px;
    background: radial-gradient(circle, #DC143C 0%, #8B0000 100%);
    border-radius: 50%;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
    border: 4px solid white;
    box-shadow: 0 4px 15px rgba(139, 0, 0, 0.4);
    transition: all 0.3s ease;
}

.timeline-marker:hover {
    transform: translateX(-50%) scale(1.2);
    box-shadow: 0 6px 25px rgba(139, 0, 0, 0.5);
}

.timeline-content {
    background: linear-gradient(145deg, #ffffff 0%, #fafafa 100%);
    padding: 2.5rem;
    border-radius: 16px;
    box-shadow: 
        0 15px 35px rgba(0, 0, 0, 0.08),
        0 5px 15px rgba(139, 0, 0, 0.05);
    width: 45%;
    border: 2px solid rgba(139, 0, 0, 0.05);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    backdrop-filter: blur(10px);
}

.timeline-content:hover {
    transform: translateY(-5px);
    box-shadow: 
        0 25px 50px rgba(0, 0, 0, 0.12),
        0 10px 25px rgba(139, 0, 0, 0.1);
    border-color: rgba(139, 0, 0, 0.15);
}

.timeline-item:nth-child(odd) .timeline-content {
    margin-right: 55%;
}

.timeline-item:nth-child(even) .timeline-content {
    margin-left: 55%;
}

/* Qualifications Detailed */
.qualifications-detailed {
    background-color: white;
}

.qualifications-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
}

.qualifications-list {
    list-style: none;
}

.qualifications-list li {
    display: flex;
    align-items: center;
    padding: 1rem 0;
    border-bottom: 1px solid #f0f0f0;
}

.qualifications-list i {
    color: #DC143C;
    margin-right: 1rem;
    font-size: 1.2rem;
}

/* Values Grid */
.values {
    background-color: #f8f9fa;
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.value-card {
    background-color: white;
    padding: 2rem;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.value-card:hover {
    transform: translateY(-5px);
}

.value-card i {
    font-size: 3rem;
    color: #DC143C;
    margin-bottom: 1rem;
}

/* Enhanced Ventures Page Styles */
.main-venture {
    padding: clamp(2.5rem, 5vw, 3.5rem) 0;
    background: linear-gradient(135deg, #ffffff 0%, #fafafa 100%);
}

.venture-content {
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
    animation: fadeInUp 0.8s ease-out;
}

.venture-logo i {
    font-size: clamp(3.5rem, 8vw, 5rem);
    color: #DC143C;
    margin-bottom: 1.5rem;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    display: inline-block;
    background: linear-gradient(135deg, #DC143C, #8B0000);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    filter: drop-shadow(0 4px 10px rgba(139, 0, 0, 0.3));
}

.venture-logo:hover i {
    transform: scale(1.1) rotate(5deg);
    filter: drop-shadow(0 8px 20px rgba(139, 0, 0, 0.4));
}

.venture-role {
    font-size: clamp(1.1rem, 2.5vw, 1.3rem);
    color: #555;
    font-weight: 600;
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    opacity: 0.9;
}

.venture-description {
    font-size: clamp(1.05rem, 2vw, 1.2rem);
    margin-bottom: 2.5rem;
    line-height: 1.75;
    color: #444;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.venture-services {
    background: linear-gradient(145deg, #f8f9fa 0%, #ffffff 100%);
    padding: 2.5rem;
    border-radius: 16px;
    margin-bottom: 2.5rem;
    text-align: left;
    border: 2px solid rgba(139, 0, 0, 0.08);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.venture-services:hover {
    border-color: rgba(139, 0, 0, 0.15);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.08);
    transform: translateY(-2px);
}

.venture-services h3 {
    margin-bottom: 1rem;
    color: #8B0000;
}

.venture-services ul {
    list-style: disc;
    margin-left: 2rem;
}

.venture-services li {
    margin-bottom: 0.5rem;
    color: #333;
}

/* Other Ventures */
.other-ventures {
    background-color: #f8f9fa;
}

.ventures-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: clamp(2rem, 4vw, 3rem);
    padding: 2rem 0;
}

.venture-card {
    background: linear-gradient(145deg, #ffffff 0%, #fafafa 100%);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 
        0 15px 35px rgba(0, 0, 0, 0.08),
        0 5px 15px rgba(139, 0, 0, 0.05);
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    flex-direction: column;
    border: 2px solid rgba(139, 0, 0, 0.05);
    position: relative;
    overflow: hidden;
}

.venture-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, #8B0000, #DC143C);
    transition: left 0.4s ease;
}

.venture-card:hover::before {
    left: 0;
}

.venture-card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 
        0 25px 60px rgba(0, 0, 0, 0.12),
        0 10px 30px rgba(139, 0, 0, 0.1);
    border-color: rgba(139, 0, 0, 0.15);
}

.venture-card-header {
    padding: 2.5rem 2.5rem 1.5rem;
    text-align: center;
    position: relative;
    z-index: 2;
}

.venture-icon i {
    font-size: clamp(2.5rem, 5vw, 3.5rem);
    color: #DC143C;
    margin-bottom: 1.5rem;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    display: inline-block;
    background: linear-gradient(135deg, #DC143C, #8B0000);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    filter: drop-shadow(0 2px 6px rgba(139, 0, 0, 0.2));
}

.venture-card:hover .venture-icon i {
    transform: scale(1.15) rotate(5deg);
    filter: drop-shadow(0 4px 12px rgba(139, 0, 0, 0.3));
}

.venture-card-content {
    padding: 0 2rem;
    flex-grow: 1;
}

.venture-benefits {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: 1rem;
}

.benefit-tag {
    background-color: #F08080;
    color: white;
    padding: 0.3rem 0.8rem;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: 500;
}

.venture-card-footer {
    padding: 1rem 2rem 2rem;
    text-align: center;
}

/* Ventures CTA */
.ventures-cta {
    background-color: #8B0000;
    color: white;
    text-align: center;
}

.ventures-cta * {
    color: white;
}

.cta-content h2 {
    color: white;
    margin-bottom: 1rem;
}

.cta-content p {
    font-size: 1.1rem;
    margin-bottom: 1rem;
    opacity: 0.9;
    color: white;
}

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
}

/* Services Page Styles */
.services-detailed {
    padding: 100px 0;
}

.service-section {
    margin-bottom: 4rem;
    padding-bottom: 3rem;
    border-bottom: 1px solid rgba(139, 0, 0, 0.1);
}

.service-section:last-child {
    border-bottom: none;
    margin-bottom: 0;
}

.service-header {
    display: flex;
    align-items: center;
    margin-bottom: 3rem;
    gap: 2rem;
}

.service-icon {
    background-color: #F08080;
    color: white;
    width: 80px;
    height: 80px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.service-icon i {
    font-size: 1.6rem;
}

.service-title-content h2 {
    margin-bottom: 0.5rem;
    color: #8B0000;
}

.service-title-content p {
    color: #666;
    font-size: 1.1rem;
    margin-bottom: 0;
}

.service-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
}

.service-detail {
    background-color: #f8f9fa;
    padding: 2rem;
    border-radius: 10px;
    border-left: 4px solid #DC143C;
}

.service-detail h3 {
    color: #8B0000;
    margin-bottom: 1rem;
}

.service-detail ul {
    list-style: disc;
    margin-left: 2rem;
    margin-top: 1rem;
}

.service-detail li {
    margin-bottom: 0.5rem;
    color: #333;
}

/* Services CTA */
.services-cta {
    background-color: #8B0000;
    color: white;
    text-align: center;
}

.services-cta h2 {
    color: white;
    margin-bottom: 1rem;
}

.services-cta p {
    font-size: 1.1rem;
    margin-bottom: 1rem;
    opacity: 0.9;
}

.services-cta .btn-secondary {
    background-color: transparent;
    color: white;
    border-color: white;
}

.services-cta .btn-secondary:hover {
    background-color: white;
    color: #8B0000;
    border-color: white;
}

/* Media Page Styles */
.speaking-topics {
    padding: 80px 0;
}

.topics-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.topic-card {
    background-color: white;
    padding: 2rem;
    border-radius: 10px;
    border: 2px solid #f0f0f0;
    text-align: center;
    transition: all 0.3s ease;
}

.topic-card:hover {
    border-color: #F08080;
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.topic-icon i {
    font-size: 3rem;
    color: #DC143C;
    margin-bottom: 1rem;
}

.topic-card h3 {
    margin-bottom: 1rem;
    color: #8B0000;
}

/* Past Engagements */
.past-engagements {
    background-color: #f8f9fa;
}

.engagements-timeline {
    max-width: 800px;
    margin: 0 auto;
}

.engagement-item {
    display: flex;
    gap: 2rem;
    margin-bottom: 3rem;
    background-color: white;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.engagement-date {
    text-align: center;
    background-color: #8B0000;
    color: white;
    padding: 1rem;
    border-radius: 10px;
    min-width: 80px;
    height: fit-content;
}

.engagement-date .month {
    display: block;
    font-size: 1.2rem;
    font-weight: bold;
}

.engagement-date .year {
    display: block;
    font-size: 1rem;
    opacity: 0.8;
}

.engagement-content h3 {
    color: #8B0000;
    margin-bottom: 0.5rem;
}

.engagement-location {
    color: #666;
    margin-bottom: 0.5rem;
}

.engagement-location i {
    color: #DC143C;
    margin-right: 0.5rem;
}

.engagement-topic {
    font-weight: 600;
    color: #333;
    margin-bottom: 1rem;
}

.engagement-description {
    color: #666;
    line-height: 1.6;
}

/* Event Gallery */
.event-gallery {
    padding: 80px 0;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.gallery-item {
    background-color: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.gallery-item:hover {
    transform: translateY(-5px);
}

.gallery-caption {
    padding: 1.5rem;
}

.gallery-caption h4 {
    color: #8B0000;
    margin-bottom: 0.5rem;
}

.gallery-caption p {
    color: #666;
    margin-bottom: 0;
    font-size: 0.9rem;
}

/* Booking Form Section */
.booking-form-section {
    background-color: #f8f9fa;
    padding: 80px 0;
}

.booking-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: start;
}

.booking-info h2 {
    margin-bottom: 1rem;
}

.booking-benefits {
    margin-top: 2rem;
}

.benefit-item {
    display: flex;
    align-items: center;
    margin-bottom: 1rem;
}

.benefit-item i {
    color: #DC143C;
    margin-right: 1rem;
    font-size: 1.1rem;
}

/* Blog Page Styles */
.featured-post {
    padding: 80px 0;
    background-color: #f8f9fa;
}

.featured-article {
    background-color: white;
    border-radius: 15px;
    padding: 3rem;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.featured-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 3rem;
    align-items: center;
}

.post-category {
    background-color: #DC143C;
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
    display: inline-block;
    margin-bottom: 1rem;
}

.featured-title {
    font-size: 2.2rem;
    color: #8B0000;
    margin-bottom: 1rem;
    line-height: 1.2;
}

.featured-excerpt {
    font-size: 1.1rem;
    line-height: 1.7;
    margin-bottom: 1rem;
    color: #333;
}

.post-meta {
    display: flex;
    gap: 2rem;
    margin-bottom: 1rem;
    flex-wrap: wrap;
}

.post-meta span {
    color: #666;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.post-meta i {
    color: #DC143C;
}

/* Blog Posts Grid */
.blog-posts {
    padding: 80px 0;
}

.posts-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
}

.blog-card {
    background-color: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.blog-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(139, 0, 0, 0.15);
}

.blog-image {
    position: relative;
}

.blog-image .post-category {
    position: absolute;
    top: 1rem;
    left: 1rem;
    font-size: 0.8rem;
    padding: 0.4rem 0.8rem;
}

.blog-content {
    padding: 1.5rem;
}

.blog-title {
    color: #8B0000;
    margin-bottom: 1rem;
    font-size: 1.3rem;
    line-height: 1.3;
}

.blog-excerpt {
    color: #666;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.blog-meta {
    display: flex;
    gap: 1rem;
    margin-bottom: 1.5rem;
    flex-wrap: wrap;
}

.blog-meta span {
    color: #999;
    font-size: 0.85rem;
    display: flex;
    align-items: center;
    gap: 0.3rem;
}

.read-more {
    color: #DC143C;
    font-weight: 600;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
}

.read-more:hover {
    color: #8B0000;
    transform: translateX(5px);
}

/* Newsletter Signup */
.newsletter-signup {
    background-color: #8B0000;
    color: white;
    text-align: center;
    padding: 80px 0;
}

.newsletter-content h2 {
    color: white;
    margin-bottom: 1rem;
}

.newsletter-content p {
    font-size: 1.1rem;
    opacity: 0.9;
    margin-bottom: 1rem;
}

.newsletter-form {
    max-width: 500px;
    margin: 0 auto;
}

.newsletter-input {
    display: flex;
    gap: 1rem;
    margin-bottom: 1rem;
}

.newsletter-input input {
    flex: 1;
    padding: 12px 16px;
    border: none;
    border-radius: 5px;
    font-size: 1rem;
}

.newsletter-disclaimer {
    font-size: 0.9rem;
    opacity: 0.8;
    margin-bottom: 0;
}

/* Contact Page Styles */
.contact-content {
    padding: 80px 0;
}

/* Altcha Widget Styling */
altcha-widget {
    display: block;
    width: 100%;
    max-width: 100%;
    margin: 1rem 0;
}

altcha-widget iframe {
    width: 100% !important;
    max-width: 100% !important;
    border-radius: 8px;
    border: 2px solid #e0e0e0;
    transition: border-color 0.3s ease;
}

altcha-widget:focus-within iframe {
    border-color: #DC143C;
    outline: none;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 5rem;
    max-width: 1300px;
    margin: 0 auto;
    align-items: start;
}

.contact-form-section h2 {
    margin-bottom: 1rem;
}

.contact-form-section > p {
    margin-bottom: 1rem;
    color: #666;
    line-height: 1.6;
}

/* Form Styles */
.contact-form {
    background-color: #f8f9fa;
    padding: 2rem;
    border-radius: 15px;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: #333;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    font-size: 1rem;
    font-family: inherit;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #DC143C;
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.checkbox-group {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.checkbox-group input {
    width: auto;
}

.checkbox-group label {
    margin-bottom: 0;
    font-weight: 400;
    cursor: pointer;
}

/* Contact Info Section */
.contact-info-section h2 {
    margin-bottom: 1rem;
}

.contact-info {
    margin-bottom: 3rem;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 1rem;
    padding: 1.5rem;
    background-color: #f8f9fa;
    border-radius: 10px;
}

.contact-icon {
    background-color: #DC143C;
    color: white;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.contact-details h3 {
    margin-bottom: 0.5rem;
    color: #8B0000;
}

.contact-details p {
    margin-bottom: 0.3rem;
    font-weight: 600;
    color: #333;
}

.contact-details span {
    color: #666;
    font-size: 0.9rem;
}

/* Social Contact */
.social-contact {
    margin-bottom: 3rem;
    text-align: center;
}

.social-contact h3 {
    margin-bottom: 1rem;
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin: 1rem;
}

.social-links.large a {
    width: 50px;
    height: 50px;
    font-size: 1.5rem;
}

.social-links a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 45px;
    height: 45px;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.05));
    border-radius: 12px;
    text-decoration: none;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    font-size: 1.3rem;
    position: relative;
    overflow: hidden;
}

.social-links a::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s ease;
}

.social-links a:hover::before {
    left: 100%;
}

.social-links a:hover {
    background: linear-gradient(135deg, #8B0000, #DC143C);
    transform: translateY(-4px) scale(1.05);
    box-shadow: 0 8px 25px rgba(139, 0, 0, 0.4);
    color: white;
}

/* Response Times */
.response-times {
    background-color: #f8f9fa;
    padding: 1.5rem;
    border-radius: 10px;
}

.response-times h3 {
    margin-bottom: 1rem;
}

.response-times ul {
    list-style: none;
}

.response-times li {
    display: flex;
    align-items: center;
    margin-bottom: 0.8rem;
    color: #333;
}

.response-times i {
    color: #DC143C;
    margin-right: 0.8rem;
}

/* Contact Services CTA */
.contact-services-cta {
    background-color: #f8f9fa;
    padding: 60px 0;
    text-align: center;
}

.contact-services-cta h2 {
    margin-bottom: 1rem;
}

.services-quick-links {
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
}

.service-quick-link {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    padding: 1.5rem;
    background-color: white;
    border-radius: 10px;
    text-decoration: none;
    color: #333;
    transition: all 0.3s ease;
    min-width: 120px;
}

.service-quick-link:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(139, 0, 0, 0.15);
    color: #8B0000;
}

.service-quick-link i {
    font-size: 1.6rem;
    color: #DC143C;
}

/* FAQ Section */
.contact-faq {
    padding: 80px 0;
}

.faq-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.faq-item {
    background-color: #f8f9fa;
    padding: 2rem;
    border-radius: 10px;
    border-left: 4px solid #DC143C;
}

.faq-item h3 {
    color: #8B0000;
    margin-bottom: 1rem;
    font-size: 1.2rem;
}

.faq-item p {
    color: #666;
    line-height: 1.6;
    margin-bottom: 0;
}

/* Footer */
.footer {
    background: linear-gradient(135deg, #2c2c2c 0%, #1a1a1a 100%);
    color: white;
    padding: 0.1875rem 0 0.125rem;
    position: relative;
    overflow: hidden;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #8B0000, #DC143C, #8B0000);
    box-shadow: 0 2px 10px rgba(139, 0, 0, 0.3);
}

.footer::after {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 40%;
    height: 200%;
    background: radial-gradient(ellipse at center, rgba(139, 0, 0, 0.1) 0%, transparent 70%);
    pointer-events: none;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 0.5rem;
    margin-bottom: 0.25rem;
    align-items: start;
}

@media (max-width: 1200px) {
    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
}

.footer-info {
    padding-right: 2rem;
}

.footer-info h3 {
    color: white;
    margin-bottom: 0.5rem;
    font-size: 1.6rem;
    font-weight: 600;
    position: relative;
}

.footer-info h3::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, #8B0000, #DC143C);
    border-radius: 2px;
}

.footer-info p {
    color: #bbb;
    margin-bottom: 0.75rem;
    font-size: 1.1rem;
    line-height: 1.6;
}

.footer-info .tagline {
    color: #ccc;
    font-style: italic;
    font-size: 1rem;
    margin-top: 1rem;
}

.footer-links h4,
.footer-contact h4,
.footer-social h4 {
    color: white;
    margin-bottom: 1.5rem;
    font-size: 1.2rem;
    font-weight: 600;
    position: relative;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.footer-links h4::after,
.footer-contact h4::after,
.footer-social h4::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 30px;
    height: 2px;
    background: #8B0000;
    border-radius: 1px;
}

.footer-links ul {
    list-style: none;
}

.footer-links li {
    margin-bottom: 0.5rem;
}

.footer-links a {
    color: #ccc;
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    padding: 0.25rem 0;
    position: relative;
}

.footer-links a::before {
    content: '→';
    opacity: 0;
    margin-right: 0.5rem;
    transition: all 0.3s ease;
    transform: translateX(-10px);
}

.footer-links a:hover {
    color: #F08080;
    transform: translateX(8px);
}

.footer-links a:hover::before {
    opacity: 1;
    transform: translateX(0);
}

.footer-contact p {
    color: #ccc;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    transition: all 0.3s ease;
    padding: 0.5rem 0;
}

.footer-contact p:hover {
    color: white;
    transform: translateX(5px);
}

.footer-contact i {
    color: #F08080;
    background: rgba(240, 128, 128, 0.1);
    padding: 0.5rem;
    border-radius: 50%;
    width: 35px;
    height: 35px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.footer-contact p:hover i {
    background: rgba(240, 128, 128, 0.2);
    transform: scale(1.1);
}

.footer-bottom {
    border-top: 1px solid #444;
    padding-top: 2.5rem;
    text-align: center;
    position: relative;
}

.footer-bottom::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 1px;
    background: linear-gradient(90deg, transparent, #8B0000, transparent);
}

.footer-bottom p {
    color: #999;
    margin-bottom: 0;
    font-size: 0.95rem;
    font-weight: 300;
}

/* Desktop Footer Menu Hidden */
.mobile-footer-menu {
    display: none;
}

/* Section Spacing Balance - Global Best Practices */
.services-overview,
.qualifications,
.career-highlights,
.about-content,
.contact-content,
.ventures-content,
.media-content,
.blog-content,
.services-detailed {
    padding: 100px 0;
}

/* Enhanced Visual Rhythm */
.section-title {
    margin-bottom: 3.5rem;
}

.page-title {
    margin-bottom: 1rem;
}

.page-subtitle {
    margin-bottom: 0;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

/* Alternating Section Background Pattern */
.services-overview,
.career-highlights,
.ventures-content,
.blog-content {
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
    position: relative;
}

.qualifications,
.about-content,
.contact-content,
.media-content {
    background: #ffffff;
    position: relative;
}

/* Section Dividers */
.services-overview::before,
.qualifications::before,
.career-highlights::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 3px;
    background: linear-gradient(90deg, transparent, #8B0000, transparent);
}

/* Component Spacing Standards */
.card-grid {
    display: grid;
    gap: 2rem;
    margin: 3rem 0;
}

.text-block {
    margin-bottom: 1rem;
}

.text-block:last-child {
    margin-bottom: 0;
}

/* Interactive Element Standards */
.interactive-element {
    min-height: 44px;
    min-width: 44px;
    padding: 0.75rem 1.5rem;
}

/* Consistent Card Spacing */
.service-card,
.business-card,
.qualification,
.timeline-content,
.blog-post,
.media-item {
    margin-bottom: 1rem;
}

/* Visual Harmony */
.section-title,
.page-title {
    margin-bottom: 3rem;
}

.hero-buttons,
.action-buttons {
    margin-top: 2.5rem;
    gap: 1.5rem;
}

/* Tablet Layout - Medium Screens */
@media (max-width: 1024px) and (min-width: 769px) {
    .hero-content {
        grid-template-columns: 1fr;
        gap: 3rem;
        text-align: center;
    }

    .about-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
        text-align: center;
    }

    .contact-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .services-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .timeline::before {
        left: 20px;
    }

    .timeline-marker {
        left: 20px;
        transform: translateX(-50%);
    }

    .timeline-content {
        margin-left: 60px;
        width: calc(100% - 80px);
    }

    .timeline-item:nth-child(odd) .timeline-content,
    .timeline-item:nth-child(even) .timeline-content {
        margin-left: 60px;
        margin-right: 0;
    }
}

/* Responsive Design */

.nav-menu.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.nav-list {
    flex-direction: column;
    gap: 0;
    margin: 0;
    padding: 0.5rem 0;
    list-style: none;
}

.nav-link {
    font-size: 1rem;
    font-weight: 500;
    text-decoration: none;
    color: white;
    padding: 1rem 1.5rem;
    display: block;
    transition: all 0.3s ease;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.nav-link:last-child {
    border-bottom: none;
}

.nav-link:hover {
    background-color: rgba(255, 255, 255, 0.1);
    color: #FFD700;
}

.nav-link.active {
    background-color: rgba(255, 255, 255, 0.2);
    color: #FFD700;
}

.nav {
    position: relative;
}

@media (max-width: 768px) {
    .container {
        padding: 0 1.5rem;
    }

    .container-wide,
    .container-narrow {
        padding: 0 1.5rem;
    }

    /* Header and Navigation Mobile Optimization */
    .nav {
        padding: 1rem 1.5rem;
        flex-direction: row;
        justify-content: space-between;
    }

    .header:not(.scrolled) .nav {
        padding: 1.5rem 1rem;
    }

    .header.scrolled .nav {
        padding: 0.8rem 1rem;
    }

    .nav-brand {
        z-index: 10002;
    }

    .nav-brand h2 {
        font-size: 1.2rem;
        margin-left: 0.5rem;
    }

    .logo {
        height: 60px;
    }

    .header.scrolled .logo {
        height: 40px;
    }

    .nav-menu {
        right: 1rem;
        min-width: 250px;
    }

    /* Typography */
    h1 {
        font-size: 2.2rem;
        line-height: 1.2;
    }

    h2 {
        font-size: 1.9rem;
        line-height: 1.25;
    }

    h3 {
        font-size: 1.4rem;
        line-height: 1.3;
    }

    p {
        font-size: 1rem;
        line-height: 1.7;
        margin-bottom: 1.25rem;
    }

    .hero-title {
        font-size: 2.4rem;
        line-height: 1.15;
        margin-bottom: 1.5rem;
    }

    .page-title {
        font-size: 2.2rem;
        line-height: 1.2;
        margin-bottom: 1.5rem;
    }

    .section-title {
        font-size: 1.6rem;
        line-height: 1.25;
        margin-bottom: 1rem;
    }

    /* Hero Section Mobile Optimization */
    .hero {
        padding: 140px 0 80px;
        min-height: 85vh;
    }

    .hero-content {
        grid-template-columns: 1fr;
        gap: 3rem;
        text-align: center;
    }

    .hero-description {
        font-size: 1.15rem;
        line-height: 1.8;
        margin-bottom: 1rem;
    }

    .hero-buttons {
        justify-content: center;
        flex-direction: column;
        align-items: center;
        gap: 1.5rem;
    }

    .btn {
        width: 100%;
        max-width: 300px;
        padding: 1.2rem 2rem;
        font-size: 1.05rem;
        border-radius: 10px;
    }

    /* About Grid */
    .about-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
        text-align: center;
    }

    .about-text h2::after {
        left: 50%;
        transform: translateX(-50%);
    }

    /* Timeline */
    .timeline::before {
        left: 20px;
    }

    .timeline-item {
        flex-direction: row;
        align-items: flex-start;
    }

    .timeline-item:nth-child(odd),
    .timeline-item:nth-child(even) {
        flex-direction: row;
    }

    .timeline-marker {
        left: 20px;
        transform: translateX(-50%);
        width: 20px;
        height: 20px;
    }

    .timeline-content {
        width: auto;
        margin-left: 60px;
        padding: 2rem 1.5rem;
    }

    .timeline-item:nth-child(odd) .timeline-content,
    .timeline-item:nth-child(even) .timeline-content {
        margin-right: 0;
        margin-left: 60px;
        width: calc(100% - 80px);
    }

    /* Qualifications Content */
    .qualifications-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    /* Service Header */
    .service-header {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }

    /* Services Grid Mobile Optimization */
    .services-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        max-width: 100%;
        margin: 0 auto;
    }

    .service-card {
        padding: 2.5rem 2rem;
        border-radius: 15px;
        box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
        background: white;
        transition: all 0.3s ease;
        min-height: auto;
    }

    .service-card:hover {
        transform: translateY(-5px);
        box-shadow: 0 12px 35px rgba(0, 0, 0, 0.15);
    }

    .service-card h3 {
        font-size: 1.4rem;
        margin-bottom: 1rem;
    }

    .service-card p {
        line-height: 1.8;
        margin-bottom: 1.5rem;
    }

    .service-icon {
        margin-bottom: 1.5rem;
    }

    .service-icon i {
        font-size: 2.5rem;
        color: #8B0000;
    }

    /* Contact Form Mobile Optimization */
    .contact-form {
        padding: 2.5rem 2rem;
        border-radius: 15px;
        box-shadow: 0 10px 35px rgba(0, 0, 0, 0.08);
        margin: 1rem 0;
    }

    .form-group {
        margin-bottom: 1.5rem;
    }

    .form-row {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .form-control {
        padding: 1rem;
        border-radius: 8px;
        border: 2px solid #e9ecef;
        font-size: 1rem;
        transition: all 0.3s ease;
    }

    .form-control:focus {
        border-color: #8B0000;
        box-shadow: 0 0 0 3px rgba(139, 0, 0, 0.1);
        outline: none;
    }

    .form-control.error {
        border-color: #DC143C;
        background-color: #fef2f2;
    }

    .error-message {
        color: #DC143C;
        font-size: 0.875rem;
        margin-top: 0.5rem;
        display: block;
    }

    select.form-control {
        background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 20 20'%3e%3cpath stroke='%236b7280' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.5' d='m6 8 4 4 4-4'/%3e%3c/svg%3e");
        background-position: right 0.5rem center;
        background-repeat: no-repeat;
        background-size: 1.5em 1.5em;
        padding-right: 2.5rem;
        appearance: none;
    }

    textarea.form-control {
        min-height: 120px;
        resize: vertical;
    }

    /* Business Cards Mobile */
    .business-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .business-card {
        padding: 2rem 1.5rem;
        text-align: center;
    }

    /* Footer Mobile */
    .footer {
        padding: 0.15rem 0 0.1rem;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        text-align: center;
    }

    .footer h3::after, .footer h4::after {
        left: 50%;
        transform: translateX(-50%);
    }

    .footer-info,
    .footer-links,
    .footer-contact,
    .footer-social {
        text-align: center;
    }

    .footer-links ul {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        gap: 1rem;
    }

    .social-links {
        justify-content: center;
        gap: 1.5rem;
    }

    .social-links a {
        padding: 0.8rem;
        border-radius: 10px;
        background: rgba(139, 0, 0, 0.1);
        transition: all 0.3s ease;
    }

    .social-links a:hover {
        background: #8B0000;
        color: white;
        transform: translateY(-2px);
    }

    /* Mobile Footer Menu */
    .mobile-footer-menu {
        display: block;
        position: fixed;
        bottom: 0;
        left: 0;
        right: 0;
        background: linear-gradient(135deg, #8B0000 0%, #DC143C 100%);
        z-index: 1000;
        padding: 0.5rem 0;
        box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.3);
    }
    
    /* Hide footer quick links on mobile since we have mobile footer menu */
    .footer-links {
        display: none;
    }

    .mobile-footer-nav {
        display: flex;
        justify-content: space-around;
        align-items: center;
        max-width: 100%;
        margin: 0 auto;
    }

    .mobile-footer-item {
        display: flex;
        flex-direction: column;
        align-items: center;
        text-decoration: none;
        color: white;
        padding: 0.5rem 0.25rem;
        border-radius: 8px;
        transition: all 0.3s ease;
        flex: 1;
        min-width: 0;
    }

    .mobile-footer-item:hover,
    .mobile-footer-item.active {
        background: rgba(255, 255, 255, 0.2);
        color: white;
        transform: translateY(-2px);
    }

    .mobile-footer-item i {
        font-size: 1.2rem;
        margin-bottom: 0.25rem;
    }

    .mobile-footer-item span {
        font-size: 0.7rem;
        font-weight: 500;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
        max-width: 100%;
    }

    /* Adjust body padding for mobile footer */
    body {
        padding-bottom: 90px;
    }

    /* Scroll to top button positioning for mobile */
    .back-to-top {
        bottom: 9rem !important;
        right: 1rem !important;
        width: 40px !important;
        height: 40px !important;
        font-size: 0.9rem !important;
        box-shadow: 0 4px 12px rgba(139, 0, 0, 0.3);
    }
    }

    .footer {
        padding: 0.125rem 0 0.0625rem;
    }

    /* Service Grid */
    .service-grid {
        grid-template-columns: 1fr;
    }

    /* Featured Content */
    .featured-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    /* Booking Content */
    .booking-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    /* Contact Grid */
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    /* Form Row */
    .form-row {
        grid-template-columns: 1fr;
    }

    /* Newsletter Input */
    .newsletter-input {
        flex-direction: column;
    }

    /* Services Quick Links */
    .services-quick-links {
        grid-template-columns: repeat(auto-fit, minmax(100px, 1fr));
        gap: 1rem;
    }

    /* Footer Content */
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 2rem;
    }

    /* Mobile Layout Standards */
    .container {
        padding: 0 1.5rem;
    }

    .container-wide,
    .container-narrow {
        padding: 0 1.5rem;
    }

    /* Mobile Section Padding - Balanced for all content */
    section {
        padding: 50px 0;
    }

    .services-overview,
    .qualifications,
    .career-highlights,
    .about-content,
    .contact-content,
    .ventures-content,
    .media-content,
    .blog-content,
    .services-detailed {
        padding: 60px 0;
    }

    /* Enhanced mobile content spacing */
    .section-title {
        margin-bottom: 2.5rem;
        font-size: 1.6rem;
    }

    .page-title {
        margin-bottom: 1.5rem;
        font-size: 2.2rem;
    }

    .page-subtitle {
        margin-bottom: 0;
        font-size: 1.1rem;
        line-height: 1.6;
    }

    /* Enhanced Mobile Touch Targets */
    .btn, 
    .nav-link, 
    .mobile-footer-item {
        min-height: 44px;
        min-width: 44px;
        padding: 1rem 1.5rem;
    }

    .section-padding {
        padding: 40px 0;
    }

    /* Hero Padding - Mobile Optimized */
    .hero {
        padding: 120px 0 50px;
    }

    /* Page Hero Padding - Mobile Optimized */
    .page-hero {
        padding: 150px 0 40px;
    }

    /* Content Spacing for Mobile */
    .content-block {
        margin-bottom: 1.5rem;
    }

    /* Text readability improvements */
    p {
        font-size: 1rem;
        line-height: 1.7;
        margin-bottom: 1.5rem;
    }

    h1 {
        font-size: 2.2rem;
        line-height: 1.2;
    }

    h2 {
        font-size: 1.8rem;
        line-height: 1.3;
    }

    h3 {
        font-size: 1.4rem;
        line-height: 1.3;
    }

    /* Engagement Item */
    .engagement-item {
        flex-direction: column;
        gap: 1rem;
    }

    .engagement-date {
        align-self: flex-start;
    }

    /* CTA Buttons */
    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }

    /* Additional Mobile Spacing */
    .section {
        padding: 40px 0;
    }

    .page-header {
        padding: 120px 0 40px;
    }

    /* Text Readability */
    p, li {
        font-size: 1rem;
        line-height: 1.7;
    }

    /* Touch-friendly buttons */
    .btn, .nav-link, .service-card {
        min-height: 44px;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    /* Improved spacing for cards */
    .info-card, .timeline-content, .achievement-card {
        padding: 1.5rem;
        margin-bottom: 1rem;
    }
}

/* Thank You Page Styles */
.thank-you-content {
    text-align: center;
    max-width: 600px;
    margin: 0 auto;
}

.thank-you-icon {
    font-size: 4rem;
    color: #28a745;
    margin-bottom: 1rem;
}

.thank-you-details {
    max-width: 1000px;
    margin: 0 auto;
}

.thank-you-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    margin-bottom: 3rem;
}

.next-steps {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.step {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

.step-number {
    background-color: #8B0000;
    color: white;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    flex-shrink: 0;
}

.step-content h3 {
    color: #8B0000;
    margin-bottom: 0.5rem;
    font-size: 1.2rem;
}

.step-content p {
    color: #666;
    line-height: 1.6;
    margin: 0;
}

.urgent-contact {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.contact-option {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    background-color: #f8f9fa;
    border-radius: 8px;
    border-left: 4px solid #8B0000;
}

.contact-option i {
    font-size: 1.5rem;
    color: #8B0000;
    width: 30px;
    text-align: center;
}

.contact-option h4 {
    color: #8B0000;
    margin: 0 0 0.25rem 0;
    font-size: 1.1rem;
}

.contact-option p {
    font-weight: 600;
    margin: 0 0 0.25rem 0;
    color: #333;
}

.contact-option span {
    font-size: 0.9rem;
    color: #666;
}

.thank-you-actions {
    text-align: center;
    padding: 2rem;
    background-color: #f8f9fa;
    border-radius: 10px;
}

.action-buttons {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
    margin-top: 1.5rem;
}

@media (max-width: 768px) {
    .thank-you-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .action-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .action-buttons .btn {
        width: 100%;
        max-width: 250px;
    }
}

@media (max-width: 480px) {
    /* Further mobile optimizations */
    .hero-title {
        font-size: 1.8rem;
    }

    .page-title {
        font-size: 1.8rem;
    }

    .btn {
        width: 100%;
        max-width: 300px;
    }

    .services-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .service-card {
        padding: 2rem;
        min-height: 350px;
    }

    .service-card .service-icon i {
        font-size: 2.5rem;
    }

    .ventures-grid {
        grid-template-columns: 1fr;
    }

    .topics-grid {
        grid-template-columns: 1fr;
    }

    .posts-grid {
        grid-template-columns: 1fr;
    }

    .values-grid {
        grid-template-columns: 1fr;
    }

    .qualifications-grid {
        grid-template-columns: 1fr;
    }

    .gallery-grid {
        grid-template-columns: 1fr;
    }

    .faq-grid {
        grid-template-columns: 1fr;
    }
}

/* Utility Classes */
.text-center {
    text-align: center;
}

.text-left {
    text-align: left;
}

.text-right {
    text-align: right;
}

.mb-0 {
    margin-bottom: 0;
}

.mb-1 {
    margin-bottom: 1rem;
}

.mb-2 {
    margin-bottom: 1rem;
}

.mt-0 {
    margin-top: 0;
}

.mt-1 {
    margin-top: 1rem;
}

.mt-2 {
    margin-top: 2rem;
}

/* Animation Classes */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in-up {
    animation: fadeInUp 0.6s ease forwards;
}

/* Floating Book Now Button */
.floating-book-btn {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    background: linear-gradient(135deg, #8B0000, #DC143C);
    color: white;
    padding: 1rem 1.5rem;
    border-radius: 50px;
    box-shadow: 0 4px 20px rgba(139, 0, 0, 0.3);
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 600;
    z-index: 9999;
    transition: all 0.3s ease;
    transform: translateY(0);
    opacity: 0.95;
}

.floating-book-btn:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(139, 0, 0, 0.4);
    opacity: 1;
    color: white;
}

.floating-book-btn i {
    font-size: 1.1rem;
}

.floating-book-btn span {
    font-size: 0.95rem;
    letter-spacing: 0.5px;
}

@media (max-width: 768px) {
    .floating-book-btn {
        bottom: 5rem;
        right: 1.5rem;
        padding: 0.8rem 1.2rem;
        border-radius: 40px;
    }
    
    .floating-book-btn span {
        font-size: 0.9rem;
    }
}

@media (max-width: 480px) {
    .floating-book-btn {
        bottom: 5.5rem;
        right: 1rem;
        padding: 0.7rem 1rem;
    }
    
    .floating-book-btn span {
        display: none;
    }
    
    .floating-book-btn {
        width: 50px;
        height: 50px;
        border-radius: 50%;
        justify-content: center;
        padding: 0;
    }
}

/* Print Styles */
@media print {
    .header,
    .footer,
    .nav-toggle,
    .btn,
    .cta-buttons,
    .hero-buttons,
    .floating-book-btn {
        display: none;
    }

    body {
        font-size: 12pt;
        line-height: 1.4;
    }

    .container {
        max-width: 100%;
        padding: 0;
    }

    .page-hero {
        padding: 2rem 0;
        background: none;
        color: #333;
    }

    .page-title {
        color: #333;
    }
}

/* Desktop Layout Optimization for Better Space Utilization */
@media (min-width: 1440px) {
    .services-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 3rem;
        max-width: 1800px;
    }
    
    .service-card {
        padding: 3rem 2.5rem;
        min-height: 420px;
    }
    
    .about-grid {
        grid-template-columns: 1fr 2fr;
        gap: 6rem;
        max-width: 1800px;
    }
    
    .about-text {
        font-size: 1.1rem;
        line-height: 1.7;
    }
    
    .timeline {
        max-width: 900px;
        position: relative;
        padding: 2rem 0;
    }
    
    .timeline-item {
        display: flex;
        align-items: center;
        margin-bottom: 4rem;
        position: relative;
    }
    
    .timeline-item:nth-child(odd) {
        flex-direction: row-reverse;
    }
    
    .timeline::before {
        content: '';
        position: absolute;
        left: 50%;
        top: 0;
        bottom: 0;
        width: 3px;
        background: linear-gradient(180deg, #8B0000, #DC143C, #8B0000);
        transform: translateX(-50%);
        border-radius: 2px;
        box-shadow: 0 0 10px rgba(139, 0, 0, 0.3);
    }
    
    .timeline-marker {
        left: 50%;
        transform: translateX(-50%);
    }
    
    .ventures-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 3rem;
        max-width: 1600px;
    }
    
    .hero-content {
        max-width: 1800px;
    }
    
    .hero-grid {
        grid-template-columns: 1.2fr 1fr;
        gap: 6rem;
    }
    
    .contact-grid {
        grid-template-columns: 1.2fr 1fr;
        gap: 4rem;
        max-width: 1600px;
    }
    
    .qualifications-content {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 4rem;
        max-width: 1600px;
    }
    
    .ventures-content {
        max-width: 1600px;
    }
    
    .engagement-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 3rem;
        max-width: 1600px;
    }
}

/* Ultra-wide Desktop Optimization */
@media (min-width: 1600px) {
    .container {
        max-width: 1600px;
    }
    
    .container-wide {
        max-width: 1800px;
    }
    
    .container-ultra {
        max-width: 2000px;
    }
    
    .services-grid {
        grid-template-columns: repeat(4, 1fr);
        max-width: 2000px;
    }
    
    .timeline {
        grid-template-columns: repeat(3, 1fr);
        max-width: 1800px;
    }
    
    .ventures-grid {
        grid-template-columns: repeat(3, 1fr);
        max-width: 1800px;
    }
}