/* Reset and base styles */
:root {
    --primary-color: #004225;  /* British Racing Green */
    --accent-color: #FFD900;   /* Porsche Racing Yellow */
    --text-color: #222;
    --bg-color: #f9f9f9;
    --card-bg: #ffffff;
    --border-color: #ddd;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--bg-color);
}

.container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* Hero section */
.hero {
    color: white;
    padding: 100px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
    min-height: 600px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.video-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.video-background video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-content {
    position: relative;
    z-index: 3;
    width: 100%;
    padding-left: 240px; /* Space for profile picture */
}

.hero h1 {
    font-size: 3.5rem;
    margin-bottom: 1rem;
    font-weight: 700;
    text-shadow: 
        2px 2px 0 rgba(0,0,0,0.8),
        -2px -2px 0 rgba(0,0,0,0.8),
        2px -2px 0 rgba(0,0,0,0.8),
        -2px 2px 0 rgba(0,0,0,0.8),
        0 0 20px rgba(0,0,0,0.4);
    letter-spacing: 1px;
    -webkit-text-stroke: 0.5px rgba(255,255,255,0.3);
}

.hero .subtitle {
    font-size: 1.25rem;
    margin-bottom: 1rem;
    opacity: 0.95;
    letter-spacing: 0.5px;
    text-shadow: 
        1px 1px 0 rgba(0,0,0,0.8),
        -1px -1px 0 rgba(0,0,0,0.8),
        1px -1px 0 rgba(0,0,0,0.8),
        -1px 1px 0 rgba(0,0,0,0.8),
        0 0 10px rgba(0,0,0,0.4);
}

.hero .intro {
    max-width: 600px;
    margin: 0 auto;
    font-size: 1.1rem;
    text-shadow: 
        1px 1px 0 rgba(0,0,0,0.8),
        -1px -1px 0 rgba(0,0,0,0.8),
        1px -1px 0 rgba(0,0,0,0.8),
        -1px 1px 0 rgba(0,0,0,0.8),
        0 0 10px rgba(0,0,0,0.4);
}

.profile-picture {
    position: absolute;
    left: 40px;
    top: 40px;
    width: 180px;
    height: 180px;
    border-radius: 50%;
    overflow: hidden;
    border: 4px solid var(--accent-color);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    z-index: 4;
}

.profile-picture img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* About section */
.about {
    padding: 80px 0;
    text-align: center;
}

.about h2 {
    color: var(--primary-color);
    font-size: 2rem;
    margin-bottom: 30px;
}

.about p {
    max-width: 800px;
    margin: 0 auto;
    font-size: 1.1rem;
    color: var(--text-color);
}

/* Card Grid Layout */
.card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.card {
    background: var(--card-bg);
    border-radius: 12px;
    padding: 25px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    border: 1px solid rgba(0, 0, 0, 0.1);
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.card h3 {
    color: var(--primary-color);
    margin-bottom: 10px;
    font-size: 1.25rem;
}

.card p {
    color: var(--text-color);
    opacity: 0.8;
}

/* Travel and Golf sections */
.travel, .golf {
    padding: 60px 0;
}

.travel h2, .golf h2 {
    text-align: center;
    color: var(--primary-color);
    font-size: 2rem;
    margin-bottom: 20px;
}

/* Footer */
footer {
    background: var(--primary-color);
    color: white;
    padding: 40px 0;
    text-align: center;
    margin-top: 60px;
}

.social-links {
    margin-bottom: 20px;
    display: flex;
    justify-content: center;
    gap: 20px;
}

.social-links a {
    color: var(--accent-color);
    font-size: 1.75rem;
    transition: all 0.2s ease;
}

.social-links a:hover {
    opacity: 0.8;
    transform: translateY(-2px);
}

.contact {
    margin-bottom: 10px;
}

.contact a {
    color: var(--accent-color);
    text-decoration: none;
    transition: opacity 0.2s ease;
}

.contact a:hover {
    opacity: 0.8;
}

.copyright {
    font-size: 0.9rem;
    opacity: 0.8;
}

/* Mobile responsiveness */
@media (max-width: 1024px) {
    .hero-content {
        padding-left: 0;
    }

    .profile-picture {
        position: relative;
        left: auto;
        top: auto;
        margin: 0 auto 30px;
        width: 150px;
        height: 150px;
    }
    
    .hero {
        padding: 40px 0;
    }

    .hero h1 {
        font-size: 2.8rem;
    }
}

@media (max-width: 768px) {
    .hero {
        padding: 80px 0;
    }

    .hero h1 {
        font-size: 2.5rem;
    }

    .hero .subtitle {
        font-size: 1.1rem;
    }

    .hero .intro {
        font-size: 1rem;
        padding: 0 20px;
    }

    .about, .travel, .golf {
        padding: 40px 0;
    }

    .card-grid {
        gap: 20px;
    }
}

@media (max-width: 480px) {
    .hero h1 {
        font-size: 2rem;
    }

    .hero .subtitle {
        font-size: 1rem;
    }

    .about p {
        font-size: 1rem;
        padding: 0 20px;
    }

    .card {
        padding: 20px;
    }
}

/* Travel Section - Accordion */
#travel {
    padding: 60px 20px;
    max-width: 800px;
    margin: 0 auto;
}

#travel h2, #golf h2 {
    color: var(--primary-color);
    text-align: center;
    margin-bottom: 40px;
    font-size: 2rem;
    font-weight: 600;
}

.accordion {
    border-radius: 8px;
    overflow: hidden;
}

.accordion-item {
    margin-bottom: 16px;
    border-radius: 8px;
    overflow: hidden;
    background: var(--card-bg);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.accordion-button {
    width: 100%;
    padding: 1.25rem;
    background: var(--primary-color);
    color: white;
    border: none;
    text-align: left;
    font-size: 1.1rem;
    font-weight: 500;
    cursor: pointer;
    display: flex;
    align-items: center;
    transition: all 0.3s ease;
    position: relative;
}

.accordion-button::after {
    content: '+';
    position: absolute;
    right: 1.25rem;
    transition: transform 0.3s ease;
}

.accordion-button.active::after {
    transform: rotate(45deg);
}

.accordion-button:hover {
    background-color: #005731;
}

.accordion-content {
    background: var(--card-bg);
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out;
}

.accordion-content.active {
    padding: 1.25rem;
    max-height: 500px; /* Increased from default to accommodate all content */
}

.accordion-content ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.accordion-content li {
    margin-bottom: 12px;
    color: var(--text-color);
    padding-left: 20px;
    position: relative;
    line-height: 1.5;
}

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

.accordion-content li::before {
    content: '•';
    position: absolute;
    left: 0;
    color: var(--primary-color);
}

.accordion-content strong {
    color: var(--primary-color);
    font-weight: 600;
}

/* Golf Courses Section */
#golf {
    padding: 60px 20px;
    max-width: 1200px;
    margin: 0 auto;
}

.course-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    padding: 20px 0;
}

.course-card {
    background: var(--card-bg);
    border-radius: 12px;
    padding: 25px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    border: 1px solid var(--border-color);
    position: relative;
    overflow: hidden;
}

.course-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
    border-color: var(--primary-color);
}

.course-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--primary-color);
}

.course-name {
    color: var(--primary-color);
    font-size: 1.5rem;
    margin-bottom: 15px;
    font-weight: 600;
}

.course-location, .course-date {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #666;
    margin-bottom: 8px;
    font-size: 0.95rem;
}

.course-location i, .course-date i {
    color: var(--primary-color);
    font-size: 1rem;
}

.course-description {
    margin: 20px 0;
    line-height: 1.6;
    color: var(--text-color);
}

.course-ratings {
    background: #f8f8f8;
    border-radius: 8px;
    padding: 15px;
    margin: 20px 0;
}

.rating-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
    padding-bottom: 10px;
    border-bottom: 1px solid #eee;
}

.rating-item:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}

.rating-label {
    color: #555;
    font-weight: 500;
}

.stars {
    position: relative;
    display: inline-block;
    color: #ddd;
    font-size: 1.2rem;
}

.stars::before {
    content: '★★★★★';
    position: absolute;
    left: 0;
    top: 0;
    width: var(--percent, 0%);
    overflow: hidden;
    color: var(--accent-color);
}

/* Use Porsche Racing Yellow for filled stars */
.stars {
    background: linear-gradient(to right, 
        var(--accent-color) 0%, 
        var(--accent-color) var(--percent), 
        #ddd var(--percent), 
        #ddd 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    --percent: 100%;
}

/* Half-star support */
.stars[data-rating="0.5"] { --percent: 10%; }
.stars[data-rating="1"] { --percent: 20%; }
.stars[data-rating="1.5"] { --percent: 30%; }
.stars[data-rating="2"] { --percent: 40%; }
.stars[data-rating="2.5"] { --percent: 50%; }
.stars[data-rating="3"] { --percent: 60%; }
.stars[data-rating="3.5"] { --percent: 70%; }
.stars[data-rating="4"] { --percent: 80%; }
.stars[data-rating="4.5"] { --percent: 90%; }
.stars[data-rating="5"] { --percent: 100%; }

.course-website {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 20px;
    background: var(--primary-color);
    color: white;
    text-decoration: none;
    border-radius: 6px;
    font-weight: 500;
    transition: all 0.2s ease;
    margin-top: 10px;
}

.course-website:hover {
    background: #005731;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 66, 37, 0.2);
}

.course-website i {
    font-size: 0.9rem;
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
    .course-grid {
        grid-template-columns: 1fr;
        gap: 20px;
        padding: 15px 0;
    }

    .course-card {
        padding: 20px;
    }

    .course-name {
        font-size: 1.3rem;
    }

    .course-location, .course-date {
        font-size: 0.9rem;
    }

    .course-ratings {
        padding: 12px;
    }

    .rating-item {
        margin-bottom: 8px;
        padding-bottom: 8px;
    }

    .course-website {
        width: 100%;
        justify-content: center;
    }
}

/* Course Images and Hover Effects */
.course-image {
    position: relative;
    width: 100%;
    height: 250px;
    margin-bottom: 20px;
    border-radius: 8px;
    overflow: hidden;
}

.image-wrapper {
    position: relative;
    width: 100%;
    height: 0;
    padding-bottom: 75%;
    overflow: hidden;
    border-radius: 8px;
    background-color: #f5f5f5;
}

.image-wrapper::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    animation: pulse 1.5s infinite;
    z-index: 1;
}

.image-wrapper .placeholder {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #f5f5f5;
    color: #666;
    font-size: 1.2rem;
}

.image-wrapper .placeholder i {
    margin-right: 8px;
}

.preview-img, .full-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.preview-img {
    position: absolute;
    top: 0;
    left: 0;
    filter: blur(10px);
    transform: scale(1.1);
    opacity: 1;
}

.full-img {
    position: relative;
    opacity: 0;
}

.full-img.loaded {
    opacity: 1;
}

.full-img.loaded + .preview-img {
    opacity: 0;
}

.image-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 66, 37, 0.85);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.course-image:hover .image-overlay {
    opacity: 1;
}

.course-image:hover .full-img {
    transform: scale(1.1);
}

.course-info {
    padding: 20px;
    text-align: center;
}

.course-info p {
    margin: 10px 0;
    font-size: 0.95rem;
    line-height: 1.4;
}

.course-info strong {
    color: var(--accent-color);
    font-weight: 600;
}

/* Mobile Responsiveness for Course Images */
@media (max-width: 768px) {
    .course-image {
        height: 200px;
    }

    .course-info p {
        font-size: 0.9rem;
        margin: 8px 0;
    }
}

/* Lightbox */
.lightbox {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    z-index: 1000;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.lightbox.show {
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 1;
}

.lightbox img {
    max-width: 90%;
    max-height: 90vh;
    object-fit: contain;
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
}

.close-lightbox {
    position: absolute;
    top: 20px;
    right: 20px;
    background: rgba(255, 255, 255, 0.2);
    color: white;
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
}

.close-lightbox:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: scale(1.1);
}

/* Update course card styles */
.course-card {
    cursor: default;
}

.course-details {
    cursor: default;
}

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

    #travel, #golf {
        padding: 40px 15px;
    }

    .accordion-button {
        padding: 1rem;
        font-size: 1rem;
    }

    .accordion-content.active {
        padding: 1rem;
    }

    .course-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .course-card {
        padding: 1.25rem;
    }

    .course-image {
        height: 180px;
    }

    .expand-image {
        opacity: 1;
        width: 32px;
        height: 32px;
    }
}

@media (max-width: 480px) {
    .accordion-content p {
        font-size: 0.9rem;
    }

    .course-card h3 {
        font-size: 1.2rem;
    }

    .course-details a {
        width: 100%;
        text-align: center;
    }
}

/* Email Modal Styles */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 1000;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.modal.show {
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 1;
}

.modal-content {
    background-color: var(--card-bg);
    padding: 2rem;
    border-radius: 12px;
    max-width: 400px;
    width: 90%;
    text-align: center;
    position: relative;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
    transform: translateY(20px);
    transition: transform 0.3s ease;
}

.modal.show .modal-content {
    transform: translateY(0);
}

.modal-content h2 {
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-size: 1.8rem;
}

.modal-content p {
    color: var(--text-color);
    margin-bottom: 1.5rem;
    font-size: 1rem;
}

#emailInput {
    width: 100%;
    padding: 12px;
    margin-bottom: 1rem;
    border: 2px solid #e0e0e0;
    border-radius: 6px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

#emailInput:focus {
    outline: none;
    border-color: var(--primary-color);
}

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

.submit-btn, .decline-btn {
    padding: 10px 20px;
    border: none;
    border-radius: 6px;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.2s ease;
}

.submit-btn {
    background-color: var(--primary-color);
    color: white;
}

.submit-btn:hover {
    background-color: #005731;
    transform: translateY(-2px);
}

.decline-btn {
    background-color: #e0e0e0;
    color: var(--text-color);
}

.decline-btn:hover {
    background-color: #d0d0d0;
    transform: translateY(-2px);
}

@media (max-width: 480px) {
    .modal-content {
        padding: 1.5rem;
    }

    .modal-buttons {
        flex-direction: column;
    }

    .submit-btn, .decline-btn {
        width: 100%;
    }
}

/* Navigation */
.nav-links {
    background: var(--bg-color);
    padding: 20px 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
    margin-bottom: 40px;
}

.nav-links .container {
    display: flex;
    justify-content: center;
    gap: 30px;
}

.nav-links a {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 500;
    padding: 10px 20px;
    border-radius: 8px;
    transition: all 0.2s ease;
}

.nav-links a:hover {
    background: rgba(0, 66, 37, 0.1);
    transform: translateY(-2px);
}

/* Back Navigation */
.back-nav {
    padding: 20px 0;
    background: var(--bg-color);
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
    margin-bottom: 40px;
}

.back-nav a {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    transition: transform 0.2s ease;
}

.back-nav a:hover {
    transform: translateX(-5px);
}

/* Page Headers */
main h1 {
    color: var(--primary-color);
    font-size: 2.5rem;
    margin-bottom: 40px;
    text-align: center;
}

/* Update mobile styles */
@media (max-width: 768px) {
    .nav-links .container {
        flex-direction: column;
        align-items: center;
        gap: 15px;
    }

    .nav-links a {
        width: 100%;
        text-align: center;
    }

    main h1 {
        font-size: 2rem;
        margin-bottom: 30px;
    }
}

/* Blog Styles */
.blog-section {
    padding: 40px 0;
}

.blog-card {
    background: var(--card-bg);
    border-radius: 12px;
    padding: 25px;
    margin-bottom: 30px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.blog-image {
    width: 100%;
    height: 300px;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 20px;
}

.blog-date {
    color: #666;
    font-size: 0.9rem;
    margin-bottom: 15px;
}

.blog-excerpt {
    margin-bottom: 20px;
}

.read-more-btn {
    background: var(--primary-color);
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 6px;
    cursor: pointer;
    transition: background-color 0.2s ease;
}

.read-more-btn:hover {
    background: #003319;
}

.full-post {
    display: none;
    background: var(--card-bg);
    border-radius: 12px;
    padding: 30px;
    margin-top: 30px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.full-post.show {
    display: block;
}

.blog-content {
    margin: 20px 0;
    line-height: 1.8;
}

/* Comment Section Styles */
.comment-section {
    margin-top: 40px;
    padding-top: 30px;
    border-top: 1px solid var(--border-color);
}

.comment-form {
    margin-bottom: 30px;
}

.comment-input {
    width: 100%;
    margin-bottom: 15px;
    padding: 12px;
    border: 1px solid var(--border-color);
    border-radius: 6px;
    font-family: inherit;
}

textarea.comment-input {
    min-height: 100px;
    resize: vertical;
}

.comments-list {
    margin-top: 30px;
}

.comment {
    background: #f5f5f5;
    border-radius: 8px;
    padding: 20px;
    margin-bottom: 15px;
}

.comment-header {
    display: flex;
    justify-content: space-between;
    margin-bottom: 10px;
}

.comment-author {
    font-weight: 600;
    color: var(--primary-color);
}

.comment-date {
    color: #666;
    font-size: 0.9rem;
}

.comment-text {
    line-height: 1.6;
}

@media (max-width: 768px) {
    .blog-card,
    .full-post {
        padding: 20px;
    }

    .blog-image {
        height: 200px;
    }
}

/* Enhanced Golf Course Images */
.image-wrapper {
    position: relative;
    width: 100%;
    height: 100%;
    background: #f0f0f0;
    overflow: hidden;
}

.preview-img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    filter: blur(10px);
    transform: scale(1.1);
    transition: opacity 0.3s ease;
}

.full-img {
    position: relative;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.full-img.loaded {
    opacity: 1;
}

.full-img.loaded + .preview-img {
    opacity: 0;
}

.image-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(0, 66, 37, 0.8);
    color: white;
    padding: 8px 12px;
    font-size: 0.9rem;
    transform: translateY(100%);
    transition: transform 0.3s ease;
}

.course-image:hover .image-caption {
    transform: translateY(0);
}

/* Course Metadata */
.course-metadata {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin: 10px 0;
    font-size: 0.9rem;
}

.course-metadata span {
    background: #f5f5f5;
    padding: 4px 10px;
    border-radius: 4px;
    color: var(--primary-color);
}

/* Course Highlights */
.course-highlights {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 15px 0;
}

.highlight {
    background: var(--accent-color);
    color: var(--primary-color);
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 500;
}

/* Enhanced Lightbox */
.lightbox-caption {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(0, 0, 0, 0.8);
    color: white;
    padding: 10px 20px;
    border-radius: 20px;
    font-size: 1rem;
    max-width: 80%;
    text-align: center;
}

/* Loading Animation */
@keyframes pulse {
    0% { opacity: 0.6; }
    50% { opacity: 0.8; }
    100% { opacity: 0.6; }
}

.image-wrapper::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 30px;
    height: 30px;
    border: 3px solid var(--primary-color);
    border-top-color: transparent;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    100% { transform: translate(-50%, -50%) rotate(360deg); }
}

/* Mobile Optimizations */
@media (max-width: 768px) {
    .course-metadata {
        font-size: 0.8rem;
    }

    .highlight {
        font-size: 0.8rem;
        padding: 3px 10px;
    }

    .image-caption {
        font-size: 0.8rem;
        padding: 6px 10px;
    }

    .lightbox-caption {
        font-size: 0.9rem;
        padding: 8px 16px;
    }
}

/* Enhanced About Section */
.about-content {
    max-width: 1000px;
    margin: 0 auto;
}

.interests {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin: 40px 0;
}

.interest-item {
    background: var(--card-bg);
    padding: 30px;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.interest-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.interest-item i {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 15px;
}

.interest-item h3 {
    color: var(--primary-color);
    font-size: 1.4rem;
    margin-bottom: 10px;
}

.interest-item p {
    color: var(--text-color);
    font-size: 1rem;
    line-height: 1.6;
}

/* CTA Buttons */
.cta-buttons {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
    margin-top: 40px;
}

.cta-button {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 15px 25px;
    background: var(--primary-color);
    color: white;
    text-decoration: none;
    border-radius: 8px;
    font-weight: 500;
    transition: all 0.2s ease;
}

.cta-button:hover {
    transform: translateY(-2px);
    background: #005731;
    box-shadow: 0 4px 12px rgba(0, 66, 37, 0.2);
}

.cta-button i {
    font-size: 1.2rem;
}

/* Mobile Responsiveness Updates */
@media (max-width: 768px) {
    .interests {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .interest-item {
        padding: 20px;
    }

    .interest-item i {
        font-size: 2rem;
    }

    .interest-item h3 {
        font-size: 1.2rem;
    }

    .cta-buttons {
        flex-direction: column;
    }

    .cta-button {
        width: 100%;
        justify-content: center;
    }
}

/* Blog Image Placeholder */
.blog-image.placeholder {
    background: linear-gradient(135deg, var(--primary-color), #006837);
    height: 300px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 2rem;
    font-weight: 600;
    text-align: center;
    padding: 20px;
    position: relative;
    overflow: hidden;
}

.blog-image.placeholder::before {
    content: '[DS]';
    position: absolute;
    font-size: 8rem;
    opacity: 0.1;
    transform: rotate(-30deg);
}

/* DS Logo with Fade Animation */
.ds-logo {
    position: fixed;
    top: 20px;
    left: 20px;
    z-index: 1000;
    font-family: 'Inter', sans-serif;
    font-weight: 700;
    opacity: 0;
    transform: translateY(-10px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.ds-logo.fade-in {
    opacity: 1;
    transform: translateY(0);
}

.ds-logo a {
    color: white;
    text-decoration: none;
    font-size: 24px;
    background: var(--primary-color);
    padding: 5px 10px;
    border-radius: 4px;
    display: block;
    transition: all 0.3s ease;
    box-shadow: 0 2px 4px rgba(0,0,0,0.2);
}

.ds-logo a:hover {
    transform: scale(1.05);
    box-shadow: 0 4px 8px rgba(0,0,0,0.3);
}

/* Music Player */
.music-player {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background: var(--primary-color);
    padding: 10px 15px;
    border-radius: 50px;
    display: flex;
    align-items: center;
    gap: 10px;
    color: white;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
    opacity: 1; /* Start visible */
}

.music-player:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.music-player .play-btn {
    background: none;
    border: none;
    color: white;
    cursor: pointer;
    font-size: 1.2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 5px;
    transition: transform 0.2s ease;
}

.music-player .play-btn:hover {
    transform: scale(1.1);
}

.music-player .song-info {
    font-size: 0.9rem;
    margin-right: 5px;
}

.music-player .volume-control {
    width: 60px;
    margin: 0 10px;
}

.music-player input[type="range"] {
    -webkit-appearance: none;
    width: 100%;
    height: 4px;
    border-radius: 2px;
    background: rgba(255, 255, 255, 0.3);
    outline: none;
}

.music-player input[type="range"]::-webkit-slider-thumb {
    -webkit-appearance: none;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--accent-color);
    cursor: pointer;
    transition: all 0.2s ease;
}

.music-player input[type="range"]::-webkit-slider-thumb:hover {
    transform: scale(1.2);
}

@media (max-width: 768px) {
    .music-player {
        bottom: 10px;
        right: 10px;
        padding: 8px 12px;
    }

    .music-player .song-info {
        display: none;
    }

    .music-player .volume-control {
        width: 40px;
    }
}

/* Email Form Status Messages */
.status-message {
    padding: 10px;
    margin-bottom: 15px;
    border-radius: 6px;
    font-size: 0.9rem;
    text-align: center;
}

.status-message.error {
    background-color: #fee2e2;
    color: #991b1b;
    border: 1px solid #fecaca;
}

.status-message.success {
    background-color: #dcfce7;
    color: #166534;
    border: 1px solid #bbf7d0;
}

.status-message.info {
    background-color: #dbeafe;
    color: #1e40af;
    border: 1px solid #bfdbfe;
} 