:root {
    --primary-color: #e11d48; /* vibrant rose-red */
    --primary-light: #fecdd3; /* light pink for subtle highlights */
    --primary-dark: #9f1239; /* darker red for hover states */
    --background-light: #ffffff;
    --background-dark: #0f172a;
    --text-light: #1e293b;
    --text-dark: #f8fafc;
    --card-light: #ffffff;
    --card-dark: #1e293b;
    --accent-color: #f43f5e; /* rose-500 */
    --accent-secondary: #fb7185; /* rose-400 */
    --gray-100: #f1f5f9;
    --gray-200: #e2e8f0;
    --gray-300: #cbd5e1;
    --gray-800: #1e293b;
    --success: #10b981; /* emerald-500 */
    --warning: #f59e0b; /* amber-500 */
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.1);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -2px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -4px rgba(0, 0, 0, 0.1);
    --font-sans: 'Inter', system-ui, -apple-system, sans-serif;
    --radius-sm: 0.375rem;
    --radius-md: 0.75rem;
    --radius-lg: 1rem;
    --radius-full: 9999px;
}

[data-theme="dark"] {
    --primary-color: #fb7185; /* rose-400 for better visibility in dark mode */
    --primary-light: #7f1d1d; /* dark red with low opacity */
    --primary-dark: #fda4af; /* lighter version for hover in dark mode */
    --background: var(--background-dark);
    --text-color: var(--text-dark);
    --card-bg: var(--card-dark);
}

/* Loader styles */
#loader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--background);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000;
}

.loader-content {
    text-align: center;
    color: var(--primary-color);
}

.loader-content i {
    font-size: 3rem;
    margin-bottom: 1rem;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-sans);
    background: var(--background-light);
    color: var(--text-light);
    line-height: 1.6;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    background: url('C:\Users\anubh\Desktop\HTML\AngshuX\assets\abc.jpg') center center fixed;
    background-size: cover;
}

/* Header styling improvements */
header {
    background: rgba(225, 29, 72, 0.95);
    backdrop-filter: blur(8px);
    border-bottom: 1px solid rgba(159, 18, 57, 0.15);
    padding: 0.5rem 2rem;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 100;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 3.5rem;
    box-sizing: border-box;
    box-shadow: 0 1px 10px rgba(0, 0, 0, 0.1);
}

/* Update header text colors for better contrast */
header .logo span,
nav a,
.theme-toggle {
    color: white;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.logo svg {
    width: 1.75rem;
    height: 1.75rem;
    transition: transform 0.3s ease;
}

.logo span {
    font-weight: 700;
    letter-spacing: -0.01em;
    font-size: 1.25rem;
}

.logo:hover svg {
    transform: rotate(-10deg);
}

.header-right {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-left: 0; /* Remove auto margin */
    position: static; /* Remove positioning */
}

.theme-toggle {
    background: none;
    border: none;
    color: var(--text-dark);
    cursor: pointer;
    font-size: 1rem; /* smaller icon size */
    padding: 0.3rem; /* reduced padding */
}

.login-btn {
    background: var(--primary-color);
    color: white;
    padding: 0.4rem 1rem; /* reduced padding */
    border-radius: 9999px;
    font-weight: 500;
    letter-spacing: 0.025em;
    box-shadow: var(--shadow-sm);
    text-decoration: none;
    transition: var(--transition);
    font-size: 0.9rem; /* smaller font size */
}

.login-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(255, 68, 68, 0.3);
}

/* Navigation styling */
nav {
    margin: 0 auto; /* Center the navigation */
    flex: 1; /* Allow nav to take available space */
}

nav ul {
    list-style: none;
    padding: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 2.5rem;
}

nav li {
    display: inline;
    margin-right: 20px;
    font-size: 0.9rem; /* smaller font size */
}

nav a {
    text-decoration: none;
    color: var(--gray-100);
    font-weight: 500;
    position: relative;
    padding-bottom: 0.25rem;
}

nav a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -2px;
    left: 0;
    background-color: var(--gray-100);
    transition: width 0.3s ease;
}

nav a:hover::after,
nav a.active::after {
    width: 100%;
}

section {
    padding: 40px;
}

footer {
    display: block;
    background: var(--background-dark);
    color: var(--text-dark);
    padding: 3rem 1.5rem 1.5rem;
    position: relative;
}

footer {
    display: none; /* Hide the footer since socials are moved */
}

.social-links {
    position: fixed;
    left: 20px;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
    gap: 2rem;
    z-index: 99;
}

.social-links a {
    background: var(--primary-color);
    color: white;
    width: 3rem;
    height: 3rem;
    border-radius: 0.75rem;
    font-size: 1.25rem;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
}

social-links a:hover {
    color: var(--primary-color);
    transform: translateX(5px);
    background: rgba(51, 51, 51, 0.95);
}

form {
    display: flex;
    flex-direction: column;
    max-width: 300px;
    margin: auto;
}

label {
    margin-bottom: 8px;
}

input {
    padding: 8px;
    margin-bottom: 16px;
}

button {
    background: var(--primary-color);
    color: white;
    border: none;
    border-radius: 25px;
    padding: 0.8rem 1.5rem;
    cursor: pointer;
    transition: var(--transition);
}

button:hover {
    background: #ff6b6b;
    transform: translateY(-2px);
}

.blog-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    width: 100%;
    max-width: 1200px;
    margin: 2rem auto;
}

.blog-card {
    display: flex;
    flex-direction: column;
    background: rgba(255, 255, 255, 0.9);
    border-radius: var(--radius-lg);
    padding: 2rem;
    box-shadow: var(--shadow-md);
    border: 1px solid var(--primary-light);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    height: 100%;
}

.blog-card::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 0.25rem;
    height: 100%;
    background: linear-gradient(to bottom, var(--primary-color), var(--accent-secondary));
}

.blog-card h3 {
    margin-top: 0;
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--primary-color);
}

.blog-card p {
    margin: 0 0 1.5rem;
    color: var(--gray-800);
    line-height: 1.6;
}

.blog-card .read-more {
    margin-top: auto;
    display: inline-flex;
    align-items: center;
    color: var(--primary-color);
    font-weight: 600;
    text-decoration: none;
    padding-bottom: 0.25rem;
    border-bottom: 2px solid transparent;
    transition: var(--transition);
}

.blog-card .read-more:hover {
    border-bottom-color: var(--primary-color);
}

.blog-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

/* Article styles */
.article-container {
    max-width: 800px;
    margin: 2rem auto;
    width: 100%;
}

.article {
    background: rgba(255, 255, 255, 0.9);
    border-radius: var(--radius-lg);
    padding: 2.5rem;
    box-shadow: var(--shadow-md);
    border: 1px solid var(--primary-light);
    margin-bottom: 2rem;
    transition: var(--transition);
    text-align: left;
    position: relative;
}

.article::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 0.25rem;
    background: linear-gradient(90deg, var(--primary-color), var(--accent-secondary));
    opacity: 0;
    transition: var(--transition);
}

.article:hover::after {
    opacity: 1;
}

.article h3 {
    margin-top: 0;
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.article p {
    color: var(--gray-800);
    line-height: 1.7;
    margin-bottom: 1.5rem;
}

.article .read-more {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--primary-color);
    font-weight: 600;
    text-decoration: none;
    padding: 0.5rem 1rem;
    border-radius: var(--radius-full);
    border: 1px solid var(--primary-color);
    transition: var(--transition);
}

.article .read-more:hover {
    background-color: var(--primary-color);
    color: white;
}

/* Dark mode adjustments */
[data-theme="dark"] .blog-card,
[data-theme="dark"] .article {
    background: rgba(30, 41, 59, 0.9);
    border-color: var(--primary-light);
}

[data-theme="dark"] .blog-card h3,
[data-theme="dark"] .article h3 {
    color: var(--primary-light);
}

[data-theme="dark"] .blog-card p,
[data-theme="dark"] .article p {
    color: var(--gray-300);
}

[data-theme="dark"] .blog-card .read-more,
[data-theme="dark"] .article .read-more {
    color: var(--primary-light);
}

/* Contact form additional styling from contact.html */
#contactForm {
    max-width: 500px;
    width: 90%;
    margin: 2rem auto;
    background: rgba(220, 38, 38, 0.1); /* Light red background */
    border-radius: 1.5rem;
    padding: 2.5rem;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
    border: 1px solid rgba(220, 38, 38, 0.2);
}

.contact-content {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

#contactForm label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: var(--text-light);
}

#contactForm input,
#contactForm textarea,
#contactForm select {
    width: 100%;
    padding: 0.75rem 1rem;
    background: white;
    border: 1px solid rgba(220, 38, 38, 0.2);
    border-radius: 0.75rem;
    color: var(--text-light);
    margin-bottom: 1.5rem;
    transition: var(--transition);
}

#contactForm button {
    width: 100%;
    padding: 1rem;
    background: #000000; /* Black background */
    color: white;
    border: none;
    border-radius: 0.75rem;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: var(--transition);
}

#contactForm button:hover {
    background: #333333; /* Darker black on hover */
    transform: translateY(-2px);
}

/* Dark theme specific styles */
[data-theme="dark"] #contactForm {
    background: rgba(220, 38, 38, 0.05);
    border-color: rgba(220, 38, 38, 0.3);
}

[data-theme="dark"] #contactForm label {
    color: var(--text-dark);
}

[data-theme="dark"] #contactForm input,
[data-theme="dark"] #contactForm textarea,
[data-theme="dark"] #contactForm select {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(220, 38, 38, 0.2);
    color: var(--text-dark);
}

[data-theme="dark"] #contactForm input::placeholder,
[data-theme="dark"] #contactForm textarea::placeholder {
    color: rgba(255, 255, 255, 0.5);
}

[data-theme="dark"] #contactForm input:focus,
[data-theme="dark"] #contactForm textarea:focus,
[data-theme="dark"] #contactForm select:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 2px rgba(220, 38, 38, 0.2);
}

/* Section divider improvements */
.section-divider {
    min-height: 100vh;
    background: var(--background);
    color: var(--text-color);
    padding-top: 6rem; /* increased padding-top to accommodate header */
    display: flex;
    flex-direction: column;
    justify-content: flex-start; /* changed from center to flex-start */
    align-items: center;
    text-align: center;
    padding: 7rem 2rem 4rem;
    background-color: rgba(255, 255, 255, 0.95);
    margin: 0; /* Remove margin */
    animation: fadeIn 1s ease-out;
    padding-left: 80px;
    position: relative; /* Add position relative */
}

/* Remove margin from last section */
.section-divider:last-child {
    margin-bottom: 0;
}

/* Hero section improvements */
.hero-container {
    position: relative;
    margin-top: 0;
    padding: 8rem 2rem 4rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 1.5rem;
    max-width: 1200px;
    margin: 0 auto;
}

.hero-title {
    margin-top: 3rem;
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1.1;
    background: linear-gradient(90deg, var(--primary-color), var(--accent-secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: none;
    letter-spacing: -0.02em;
    margin-bottom: 1rem;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--gray-800);
    max-width: 600px;
    margin: 0 auto 2rem;
    line-height: 1.6;
}

.cta-button {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: var(--primary-color);
    color: white;
    padding: 0.75rem 1.5rem;
    border-radius: var(--radius-full);
    font-weight: 600;
    letter-spacing: 0.01em;
    text-decoration: none;
    transition: var(--transition);
    box-shadow: 0 4px 15px rgba(225, 29, 72, 0.3);
}

.cta-button:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(225, 29, 72, 0.4);
}

.cta-button i {
    font-size: 0.9em;
}

[data-theme="dark"] .hero-subtitle {
    color: var(--gray-300);
}

input, textarea, select {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 1px solid rgba(229, 231, 235, 0.5);
    border-radius: 0.5rem;
    transition: var(--transition);
    outline: none;
}

input:focus, textarea:focus, select:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(220, 38, 38, 0.1); /* changed from rgba(99, 102, 241, 0.1) */
}

/* Modern animations */
@keyframes slideUp {
    from { transform: translateY(20px); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}

.feature-card, .blog-card, .article {
    animation: slideUp 0.5s ease-out forwards;
}

[data-theme="dark"] .section-divider {
    background-color: rgba(15, 23, 42, 0.95);
}

[data-theme="dark"] .feature-card,
[data-theme="dark"] .blog-card,
[data-theme="dark"] .article {
    background: rgba(220, 38, 38, 0.15);
    border-color: rgba(220, 38, 38, 0.3);
    box-shadow: 0 5px 15px rgba(220, 38, 38, 0.1);
}

[data-theme="dark"] .feature-card:hover,
[data-theme="dark"] .blog-card:hover,
[data-theme="dark"] .article:hover {
    background: rgba(220, 38, 38, 0.2);
    box-shadow: 0 8px 25px rgba(220, 38, 38, 0.15);
}

/* Mobile Menu Styles */
.mobile-menu-toggle {
    display: none;
    font-size: 1.5rem;
    background: none;
    border: none;
    color: white;
    cursor: pointer;
}

/* Modern Scrollbar Styles */
::-webkit-scrollbar {
    width: 6px;
}

::-webkit-scrollbar-track {
    background: transparent;
}

::-webkit-scrollbar-thumb {
    background: var(--primary-color);
    border-radius: 3px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--primary-dark);
}

/* For Firefox */
* {
    scrollbar-width: thin;
    scrollbar-color: var(--primary-color) transparent;
}

/* Responsive Design */
@media screen and (max-width: 768px) {
    header {
        padding: 0.5rem 1rem;
        gap: 1rem;
    }

    .mobile-menu-toggle {
        display: block;
        margin-left: auto; /* Push toggle to right */
    }

    .header-right {
        display: none; /* Hide buttons from header in mobile view */
    }

    nav {
        position: fixed;
        top: 3rem;
        left: -100%; /* Ensure it's completely off screen */
        width: 100%;
        height: calc(100vh - 3rem);
        background: rgba(220, 38, 38, 0.95);
        backdrop-filter: blur(12px);
        transition: all 0.3s ease;
        padding: 2rem;
        margin: 0;
        box-sizing: border-box; /* Add box-sizing */
        overflow-y: auto; /* Handle overflow content */
        z-index: 9999; /* ensure panel appears on top */
        display: flex;
        flex-direction: column;
    }

    nav.active {
        left: 0;
    }

    /* Fix any potential overflow issues */
    body.menu-open {
        overflow: hidden;
    }

    nav ul {
        flex-direction: column;
        gap: 2rem;
    }

    nav li {
        display: block;
        margin: 1rem 0;
        font-size: 1.2rem;
    }

    .mobile-buttons {
        display: flex;
        flex-direction: column;
        gap: 1rem;
        margin-top: 2rem;
        width: 100%;
    }

    .mobile-buttons .theme-toggle,
    .mobile-buttons .login-btn {
        width: 100%;
        padding: 1rem;
        text-align: center;
        border-radius: 0.75rem;
        margin: 0;
    }

    .mobile-buttons .theme-toggle {
        background: rgba(255, 255, 255, 0.1);
    }

    .header-right {
        margin-right: 0;
        left: 0;
    }

    .section-divider {
        padding: 4rem 1rem 2rem;
        margin: 0;
    }

    .hero-title {
        font-size: 2rem;
    }

    .features-grid {
        grid-template-columns: 1fr;
    }

    .blog-container {
        grid-template-columns: 1fr;
    }

    .social-links {
        bottom: 1rem;
        top: auto;
        left: 50%;
        transform: translateX(-50%);
        flex-direction: row;
        gap: 1rem;
    }

    #contactForm {
        padding: 1rem;
        margin: 0; /* Remove margin */
    }

    /* Add header buttons to mobile menu */
    nav .header-right {
        display: flex;
        flex-direction: column;
        gap: 1rem;
        margin-top: 2rem;
        width: 100%;
    }

    nav .header-right .theme-toggle,
    nav .header-right .login-btn {
        width: 100%;
        padding: 1rem;
        text-align: center;
        border-radius: 0.75rem;
    }

    nav .header-right .theme-toggle {
        background: rgba(255, 255, 255, 0.1);
    }

    /* Hide desktop header buttons on mobile */
    header > .header-right {
        display: none;
    }
}

/* Small screens */
@media screen and (max-width: 480px) {
    .hero-title {
        font-size: 1.75rem;
    }

    .feature-card, .blog-card, .article {
        padding: 1.5rem;
    }

    .login-btn {
        padding: 0.3rem 0.8rem;
        font-size: 0.8rem;
    }
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
    width: 100%;
    max-width: 1200px;
}

.feature-card {
    display: flex;
    flex-direction: column;
    background: rgba(255, 255, 255, 0.9);
    border-radius: var(--radius-lg);
    padding: 2rem;
    box-shadow: var(--shadow-md);
    border: 1px solid var(--primary-light);
    transition: var(--transition);
    text-align: left;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 0.25rem;
    background: linear-gradient(90deg, var(--primary-color), var(--accent-secondary));
    z-index: -1;
}

.feature-card h3 {
    margin-top: 0;
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--primary-color);
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.feature-card h3 i {
    background: var(--primary-light);
    color: var(--primary-color);
    width: 2.5rem;
    height: 2.5rem;
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
}

.feature-card p {
    margin-top: 0;
    margin-bottom: 1.5rem;
    color: var (--gray-800);
    line-height: 1.6;
}

.feature-card a {
    margin-top: auto;
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.feature-card a i {
    transition: transform 0.2s ease;
}

.feature-card a:hover i {
    transform: translateX(3px);
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary-color);
}

/* Dark mode adjustments */
[data-theme="dark"] .feature-card {
    background: rgba(30, 41, 59, 0.9);
    border-color: var(--primary-light);
}

[data-theme="dark"] .feature-card h3 {
    color: var(--primary-light);
}

[data-theme="dark"] .feature-card p {
    color: var(--gray-300);
}

[data-theme="dark"] .feature-card h3 i {
    background: rgba(225, 29, 72, 0.2);
    color: var(--primary-light);
}

/* Contact Section Improvements */
.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    max-width: 1000px;
    margin: 2rem auto;
    width: 100%;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.contact-method {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

.contact-method i {
    font-size: 1.5rem;
    color: var(--primary-color);
    background: var(--primary-light);
    width: 3rem;
    height: 3rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.contact-method h4 {
    margin: 0 0 0.5rem 0;
    font-size: 1.25rem;
    font-weight: 600;
}

.contact-method p {
    margin: 0;
    color: var(--gray-800);
}

/* Section Containers and Headers */
.section-container {
    max-width: 1200px;
    width: 100%;
    margin: 0 auto;
    padding: 0 1rem;
}

.section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.section-header h2 {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 1rem;
}

.section-header p {
    font-size: 1.1rem;
    color: var(--gray-800);
    max-width: 600px;
    margin: 0 auto;
}

.section-footer {
    text-align: center;
    margin-top: 2rem;
}

/* Text gradient for highlights */
.text-gradient {
    background: linear-gradient(90deg, var(--primary-color), var(--accent-secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Hero section actions and stats */
.hero-actions {
    display: flex;
    gap: 1rem;
    margin: 1rem 0 2rem;
    flex-wrap: wrap;
    justify-content: center;
}

.secondary-cta {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--primary-color);
    font-weight: 600;
    padding: 0.75rem 1.5rem;
    border: 2px solid var(--primary-color);
    border-radius: var(--radius-full);
    text-decoration: none;
    transition: var(--transition);
}

.secondary-cta:hover {
    background: rgba(225, 29, 72, 0.1);
    transform: translateY(-2px);
}

.stats-container {
    display: flex;
    justify-content: center;
    gap: 3rem;
    margin: 3rem 0;
    flex-wrap: wrap;
}

.stat {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--primary-color);
}

.stat-label {
    color: var(--gray-800);
    font-size: 1rem;
}

/* Card badge for featured content */
.card-badge {
    position: absolute;
    top: -0.75rem;
    left: 1.5rem;
    background: var(--primary-color);
    color: white;
    padding: 0.25rem 0.75rem;
    border-radius: var(--radius-full);
    font-size: 0.8rem;
    font-weight: 600;
}

/* Card meta information */
.card-meta {
    display: flex;
    gap: 1rem;
    margin-bottom: 1rem;
    color: var(--gray-800);
    font-size: 0.9rem;
}

.card-meta i {
    margin-right: 0.25rem;
}

/* Tag styling */
.tag-list {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
    margin: 1rem 0;
}

.tag {
    background: var(--primary-light);
    color: var(--primary-color);
    padding: 0.25rem 0.75rem;
    border-radius: var(--radius-full);
    font-size: 0.8rem;
    font-weight: 500;
}

/* Outline button */
.outline-button {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--primary-color);
    font-weight: 600;
    padding: 0.75rem 1.5rem;
    border: 2px solid var(--primary-color);
    border-radius: var(--radius-full);
    text-decoration: none;
    transition: var(--transition);
}

.outline-button:hover {
    background: rgba(225, 29, 72, 0.1);
}

.outline-button i {
    transition: transform 0.2s ease;
}

.outline-button:hover i {
    transform: translateX(3px);
}

/* Footer styling */
.footer-container {
    display: grid;
    grid-template-columns: 1.5fr repeat(2, 1fr);
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.footer-logo {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.footer-logo p {
    color: var(--gray-300);
    line-height: 1.6;
}

.footer-column h4 {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: white;
}

.footer-column ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-column ul li {
    margin-bottom: 0.75rem;
}

.footer-column a {
    color: var(--gray-300);
    text-decoration: none;
    transition: color 0.2s ease;
}

.footer-column a:hover {
    color: white;
    text-decoration: underline;
}

.footer-bottom {
    margin-top: 3rem;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}

.footer-bottom p {
    margin: 0;
    color: var(--gray-300);
    font-size: 0.9rem;
}

.social-icons {
    display: flex;
    gap: 1rem;
}

.social-icons a {
    color: var(--gray-300);
    font-size: 1.2rem;
    transition: color 0.2s ease;
}

.social-icons a:hover {
    color: white;
}

/* Scroll to top button */
.scroll-to-top {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    z-index: 99;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.scroll-to-top.visible {
    opacity: 1;
    visibility: visible;
}

.scroll-to-top button {
    width: 3rem;
    height: 3rem;
    border-radius: 50%;
    background: var(--primary-color);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    border: none;
    cursor: pointer;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

/* Dark mode adjustments */
[data-theme="dark"] .contact-method p,
[data-theme="dark"] .section-header p,
[data-theme="dark"] .stat-label {
    color: var(--gray-300);
}

[data-theme="dark"] .stat-number {
    color: var(--primary-light);
}

/* Responsive adjustments */
@media screen and (max-width: 768px) {
    .contact-content {
        grid-template-columns: 1fr;
    }
    
    .stats-container {
        gap: 2rem;
    }
    
    .footer-container {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .footer-bottom {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
    
    .section-header h2 {
        font-size: 2rem;
    }
}

@media screen and (max-width: 480px) {
    .hero-actions {
        flex-direction: column;
        width: 100%;
    }
    
    .cta-button, .secondary-cta {
        width: 100%;
        text-align: center;
        justify-content: center;
    }
}

/* Animation styles */
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.fade-in {
    opacity: 0;
    animation: fadeIn 0.8s forwards ease-out;
}

@keyframes slideUp {
    from { transform: translateY(30px); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}

.show {
    animation: slideUp 0.6s forwards ease-out;
}

/* Form validation styling */
.input-error {
    border-color: #ef4444 !important;
    background-color: rgba(239, 68, 68, 0.05) !important;
}

.error {
    color: #ef4444;
    font-size: 0.875rem;
    margin-top: -1rem;
    margin-bottom: 1rem;
    display: block;
}

.success-message {
    background-color: #10b981;
    color: white;
    padding: 1rem;
    border-radius: var(--radius-md);
    margin-top: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    opacity: 0;
    transform: translateY(-10px);
    transition: all 0.3s ease;
}

.success-message.show {
    opacity: 1;
    transform: translateY(0);
}

.success-message i {
    font-size: 1.2rem;
}

