/* Base Styles and Variables */
:root {
    --primary-color: #6d00ff;
    --secondary-color: #00d9ff;
    --primary-gradient: linear-gradient(135deg, #6d00ff, #00d9ff);
    --secondary-gradient: linear-gradient(135deg, #ff00e6, #00d9ff);
    --dark-color: #0f0f1e;
    --darker-color: #080814;
    --text-color: #f0f0f8;
    --text-color-secondary: #a0a0c0;
    --accent-color: #ff00e6;
    --neon-shadow: 0 0 10px rgba(109, 0, 255, 0.7), 0 0 20px rgba(0, 217, 255, 0.5);
    --neon-shadow-soft: 0 0 5px rgba(109, 0, 255, 0.5), 0 0 10px rgba(0, 217, 255, 0.3);
    --neon-glow: 0 0 10px #6d00ff, 0 0 20px #00d9ff;
    --neon-border: 1px solid rgba(109, 0, 255, 0.3);
    --background-pattern: radial-gradient(circle at 50% 50%, rgba(109, 0, 255, 0.05) 0%, transparent 50%);
    --font-main: 'Roboto', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    --font-heading: 'Montserrat', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    --font-mono: 'Consolas', 'Courier New', monospace;
    --border-radius: 8px;
    --transition-speed: 0.3s;
    --section-padding: 80px 0;
    --container-padding: 0 20px;
}

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

body {
    font-family: var(--font-main);
    background-color: var(--darker-color);
    color: var(--text-color);
    line-height: 1.6;
    overflow-x: hidden;
    background-image: var(--background-pattern);
    background-attachment: fixed;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    margin-bottom: 1rem;
    color: #ffffff;
}

h1 {
    font-size: 3rem;
    line-height: 1.2;
    margin-bottom: 1.5rem;
    background: var(--primary-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: 0 0 10px rgba(109, 0, 255, 0.3);
}

h2 {
    font-size: 2.2rem;
    position: relative;
    margin-bottom: 2rem;
}

h3 {
    font-size: 1.5rem;
}

p {
    margin-bottom: 1.5rem;
}

a {
    color: var(--secondary-color);
    text-decoration: none;
    transition: all var(--transition-speed) ease;
    position: relative;
}

a:hover {
    color: var(--primary-color);
    text-shadow: var(--neon-shadow-soft);
}

img {
    max-width: 100%;
    height: auto;
    border-radius: var(--border-radius);
}

ul, ol {
    margin-bottom: 1.5rem;
    padding-left: 1.5rem;
}

pre, code {
    font-family: var(--font-mono);
    background-color: rgba(15, 15, 30, 0.8);
    border-radius: var(--border-radius);
    padding: 1rem;
    margin-bottom: 1.5rem;
    overflow-x: auto;
    border-left: 3px solid var(--primary-color);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: var(--container-padding);
}

.btn {
    display: inline-block;
    padding: 12px 28px;
    background-color: var(--primary-color);
    color: white;
    border: none;
    border-radius: 30px;
    font-weight: 600;
    cursor: pointer;
    transition: all var(--transition-speed) ease;
    text-transform: uppercase;
    letter-spacing: 1px;
    position: relative;
    overflow: hidden;
}

.btn:hover {
    background-color: var(--secondary-color);
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.glow-btn {
    border: 1px solid var(--primary-color);
    background-color: transparent;
    box-shadow: 0 0 5px var(--primary-color), inset 0 0 5px var(--primary-color);
}

.glow-btn:hover {
    box-shadow: 0 0 15px var(--primary-color), inset 0 0 10px var(--primary-color);
    text-shadow: 0 0 5px #fff;
    background-color: rgba(109, 0, 255, 0.2);
}

.read-more {
    font-size: 0.9rem;
    padding: 8px 20px;
    margin-top: 10px;
}

.glowing-line {
    height: 2px;
    width: 60px;
    background: var(--primary-gradient);
    margin-bottom: 2rem;
    position: relative;
    border-radius: 2px;
    box-shadow: var(--neon-shadow-soft);
}

.glowing-line::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 30px;
    height: 100%;
    background: white;
    filter: blur(10px);
    opacity: 0.5;
    animation: glow-line 3s ease-in-out infinite alternate;
}

@keyframes glow-line {
    0% {
        left: 0;
        opacity: 0.5;
    }
    100% {
        left: calc(100% - 30px);
        opacity: 0.8;
    }
}

.section-header {
    text-align: center;
    margin-bottom: 3rem;
}

/* Header & Navigation */
.header {
    background-color: rgba(8, 8, 20, 0.9);
    backdrop-filter: blur(10px);
    position: sticky;
    top: 0;
    z-index: 1000;
    padding: 15px 0;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.4);
    border-bottom: var(--neon-border);
}

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

.logo a {
    display: flex;
    align-items: center;
    color: white;
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 700;
}

.logo img {
    height: 40px;
    width: 40px;
    margin-right: 10px;
    border-radius: 50%;
}

.logo span {
    background: var(--primary-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.navbar ul {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
}

.navbar li {
    margin: 0 15px;
}

.navbar a {
    color: var(--text-color);
    font-weight: 500;
    padding: 8px 15px;
    border-radius: 20px;
    position: relative;
}

.navbar a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 50%;
    width: 0;
    height: 2px;
    background: var(--primary-gradient);
    transition: all 0.3s ease;
    transform: translateX(-50%);
    opacity: 0;
    border-radius: 2px;
    box-shadow: var(--neon-shadow-soft);
}

.navbar a:hover::after,
.navbar a.active::after {
    width: 80%;
    opacity: 1;
}

.navbar a.active {
    color: white;
    text-shadow: var(--neon-shadow-soft);
}

.language-switch button {
    background: transparent;
    border: var(--neon-border);
    color: var(--text-color);
    padding: 5px 10px;
    border-radius: 20px;
    cursor: pointer;
    font-weight: 500;
    transition: all 0.3s ease;
    box-shadow: var(--neon-shadow-soft);
}

.language-switch button:hover {
    background: rgba(109, 0, 255, 0.1);
    transform: translateY(-2px);
}

.menu-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
    z-index: 1001;
}

.menu-toggle span {
    display: block;
    width: 25px;
    height: 2px;
    background-color: var(--text-color);
    margin-bottom: 5px;
    transition: all 0.3s ease;
}

/* Hero Section */
.hero {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: calc(100vh - 80px);
    padding: 80px 20px;
    background: var(--darker-color);
    overflow: hidden;
    position: relative;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at center, rgba(109, 0, 255, 0.1) 0%, transparent 70%);
    z-index: 1;
}

.hero-content {
    max-width: 600px;
    z-index: 2;
    animation: fadeIn 1s ease-out;
}

.hero-content h1 {
    font-size: 4rem;
    margin-bottom: 1.5rem;
    line-height: 1.1;
    text-shadow: 0 0 10px rgba(109, 0, 255, 0.3);
}

.hero-content p {
    font-size: 1.5rem;
    margin-bottom: 2rem;
    color: var(--text-color-secondary);
}

.hero-image {
    position: relative;
    max-width: 50%;
    z-index: 2;
    animation: floatIn 1.5s ease-out;
}

.hero-image img {
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5), 0 0 20px rgba(109, 0, 255, 0.5);
    transform: perspective(800px) rotateY(-15deg);
    transition: transform 0.5s ease;
    border: 1px solid rgba(109, 0, 255, 0.2);
}

.hero-image:hover img {
    transform: perspective(800px) rotateY(-5deg) translateY(-10px);
}

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

@keyframes floatIn {
    from {
        opacity: 0;
        transform: translateX(50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Featured Post Section */
.featured-post {
    padding: var(--section-padding);
    max-width: 1200px;
    margin: 0 auto;
}

.feature-card {
    display: flex;
    flex-direction: row;
    align-items: center;
    background: rgba(15, 15, 30, 0.7);
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    transition: all var(--transition-speed) ease;
    border: var(--neon-border);
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.4), 0 0 20px rgba(109, 0, 255, 0.3);
}

.feature-card .post-image {
    flex: 0 0 50%;
}

.feature-card .post-content {
    flex: 0 0 50%;
    padding: 2.5rem;
}

.feature-card h3 {
    font-size: 2rem;
    margin-bottom: 1rem;
}

.post-meta {
    display: flex;
    gap: 15px;
    margin-bottom: 1rem;
    color: var(--text-color-secondary);
    font-size: 0.9rem;
}

/* Services Section */
.services {
    padding: var(--section-padding);
    background-color: var(--dark-color);
    position: relative;
    overflow: hidden;
}

.services::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at center, rgba(0, 217, 255, 0.1) 0%, transparent 70%);
    z-index: 1;
}

.service-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

.service-card {
    background: rgba(15, 15, 30, 0.7);
    padding: 2rem;
    border-radius: var(--border-radius);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
    transition: all var(--transition-speed) ease;
    border: var(--neon-border);
    position: relative;
    overflow: hidden;
    height: 100%;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: var(--primary-gradient);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.5s ease;
    box-shadow: var(--neon-shadow-soft);
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3), 0 0 15px rgba(109, 0, 255, 0.2);
}

.service-card:hover::before {
    transform: scaleX(1);
}

.service-icon {
    color: var(--secondary-color);
    margin-bottom: 1.5rem;
    filter: drop-shadow(0 0 8px rgba(0, 217, 255, 0.5));
}

.service-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: white;
}

.service-card p {
    color: var(--text-color-secondary);
}

/* Latest Posts Section */
.latest-posts {
    padding: var(--section-padding);
    max-width: 1200px;
    margin: 0 auto;
}

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

.post-card {
    background: rgba(15, 15, 30, 0.7);
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
    transition: all var(--transition-speed) ease;
    border: var(--neon-border);
    display: flex;
    flex-direction: column;
    height: 100%;
}

.post-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3), 0 0 15px rgba(109, 0, 255, 0.2);
}

.post-card .post-image {
    height: 200px;
    overflow: hidden;
}

.post-card .post-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.post-card:hover .post-image img {
    transform: scale(1.05);
}

.post-card .post-content {
    padding: 1.5rem;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.post-card h3 {
    font-size: 1.3rem;
    margin-bottom: 0.75rem;
    transition: color var(--transition-speed) ease;
}

.post-card:hover h3 {
    color: var(--secondary-color);
}

.post-card .read-more {
    margin-top: auto;
    align-self: flex-start;
}

/* Footer */
.footer {
    background-color: var(--dark-color);
    padding: 60px 0 20px;
    border-top: var(--neon-border);
    position: relative;
    overflow: hidden;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at center, rgba(109, 0, 255, 0.07) 0%, transparent 70%);
    z-index: 1;
}

.footer-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 3rem;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    position: relative;
    z-index: 2;
}

.footer-logo {
    text-align: center;
}

.footer-logo img {
    width: 60px;
    height: 60px;
    margin-bottom: 15px;
    border-radius: 50%;
}

.footer-logo h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    background: var(--primary-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.footer-logo p {
    color: var(--text-color-secondary);
    font-size: 0.9rem;
}

.footer-links h4, .footer-contact h4 {
    font-size: 1.2rem;
    margin-bottom: 1.5rem;
    position: relative;
    display: inline-block;
}

.footer-links h4::after, .footer-contact h4::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 40px;
    height: 2px;
    background: var(--primary-gradient);
    border-radius: 2px;
    box-shadow: var(--neon-shadow-soft);
}

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

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a {
    color: var(--text-color-secondary);
    transition: all var(--transition-speed) ease;
    font-size: 0.95rem;
    display: inline-block;
    position: relative;
}

.footer-links a:hover {
    color: var(--secondary-color);
    transform: translateX(5px);
}

.footer-contact p {
    margin-bottom: 10px;
    color: var(--text-color-secondary);
    font-size: 0.95rem;
    display: flex;
    align-items: center;
    gap: 8px;
}

.footer-contact i {
    color: var(--secondary-color);
    font-size: 1.1rem;
}

.social-icons {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}

.social-icons a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    color: var(--text-color);
    background-color: rgba(109, 0, 255, 0.1);
    transition: all var(--transition-speed) ease;
    border: var(--neon-border);
}

.social-icons a:hover {
    background-color: var(--primary-color);
    color: white;
    box-shadow: 0 0 15px rgba(109, 0, 255, 0.6);
    transform: translateY(-5px);
}

.footer-bottom {
    text-align: center;
    margin-top: 50px;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    position: relative;
    z-index: 2;
}

.footer-bottom p {
    color: var(--text-color-secondary);
    font-size: 0.9rem;
}

/* Summary Section */
.summary {
    padding: 60px 0;
    background-color: rgba(15, 15, 30, 0.7);
    border-top: var(--neon-border);
    border-bottom: var(--neon-border);
}

.summary-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
    padding: 0 20px;
}

.summary-content h2 {
    font-size: 2rem;
    margin-bottom: 1.5rem;
    color: white;
}

.summary-content p {
    color: var(--text-color-secondary);
    font-size: 1.1rem;
    line-height: 1.7;
}

/* Cookie Banner */
.cookie-banner {
    position: fixed;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    width: 90%;
    max-width: 800px;
    background-color: rgba(15, 15, 30, 0.95);
    backdrop-filter: blur(10px);
    border-radius: var(--border-radius);
    padding: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5), 0 0 15px rgba(109, 0, 255, 0.3);
    z-index: 9999;
    border: var(--neon-border);
    display: none;
}

.cookie-content {
    text-align: center;
}

.cookie-content p {
    margin-bottom: 15px;
    color: var(--text-color);
}

.cookie-buttons {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-bottom: 15px;
}

.cookie-buttons button {
    padding: 8px 20px;
    border: none;
    border-radius: 20px;
    font-weight: 600;
    cursor: pointer;
    transition: all var(--transition-speed) ease;
}

#acceptCookies {
    background-color: var(--primary-color);
    color: white;
}

#customizeCookies {
    background-color: transparent;
    border: 1px solid var(--secondary-color);
    color: var(--secondary-color);
}

#rejectCookies {
    background-color: transparent;
    color: var(--text-color-secondary);
}

.cookie-content a {
    color: var(--secondary-color);
    text-decoration: underline;
}

/* Page Header */
.page-header {
    padding: 100px 0 60px;
    background-color: var(--dark-color);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.page-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at center, rgba(109, 0, 255, 0.1) 0%, transparent 70%);
    z-index: 1;
}

.page-header-content {
    position: relative;
    z-index: 2;
}

.page-header h1 {
    font-size: 3.5rem;
    margin-bottom: 1rem;
}

.page-header p {
    font-size: 1.5rem;
    color: var(--text-color-secondary);
    max-width: 700px;
    margin: 0 auto;
}

/* Blog Page */
.blog-container {
    display: grid;
    grid-template-columns: 1fr 350px;
    gap: 2.5rem;
    max-width: 1200px;
    margin: 0 auto;
    padding: 60px 20px;
}

.sidebar {
    position: sticky;
    top: 100px;
    align-self: start;
}

.sidebar-widget {
    background: rgba(15, 15, 30, 0.7);
    border-radius: var(--border-radius);
    padding: 1.5rem;
    margin-bottom: 2rem;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    border: var(--neon-border);
}

.sidebar-widget h3 {
    font-size: 1.3rem;
    margin-bottom: 1.5rem;
    position: relative;
    display: inline-block;
}

.sidebar-widget h3::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 40px;
    height: 2px;
    background: var(--primary-gradient);
    border-radius: 2px;
    box-shadow: var(--neon-shadow-soft);
}

.category-list {
    list-style: none;
    padding: 0;
}

.category-list li {
    margin-bottom: 10px;
}

.category-list a {
    display: flex;
    justify-content: space-between;
    color: var(--text-color-secondary);
    padding: 5px 0;
    transition: all var(--transition-speed) ease;
}

.category-list a:hover {
    color: var(--secondary-color);
    transform: translateX(5px);
}

.popular-posts {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.popular-post {
    display: flex;
    gap: 15px;
}

.popular-post img {
    width: 70px;
    height: 70px;
    object-fit: cover;
}

.popular-post h4 {
    font-size: 1rem;
    margin-bottom: 5px;
}

.popular-post h4 a {
    color: var(--text-color);
    transition: all var(--transition-speed) ease;
}

.popular-post h4 a:hover {
    color: var(--secondary-color);
}

.popular-post .date {
    font-size: 0.8rem;
    color: var(--text-color-secondary);
}

.newsletter-form {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.newsletter-form input {
    padding: 10px;
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background-color: rgba(15, 15, 30, 0.5);
    color: var(--text-color);
}

.newsletter-form button {
    padding: 10px;
}

.main-content .full-width {
    grid-column: 1 / -1;
    flex-direction: column;
}

.main-content .full-width .post-image {
    height: 400px;
}

/* About Page */
.about-intro {
    padding: 60px 20px;
}

.about-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    max-width: 1200px;
    margin: 0 auto;
    align-items: center;
}

.about-image img {
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3), 0 0 20px rgba(109, 0, 255, 0.3);
    border: var(--neon-border);
    transition: all var(--transition-speed) ease;
}

.about-image:hover img {
    transform: scale(1.02);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.4), 0 0 30px rgba(109, 0, 255, 0.4);
}

.about-values {
    padding: 60px 20px;
    background-color: var(--dark-color);
    position: relative;
}

.values-container {
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
}

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

.value-card {
    background: rgba(15, 15, 30, 0.7);
    padding: 2rem;
    border-radius: var(--border-radius);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    border: var(--neon-border);
    transition: all var(--transition-speed) ease;
}

.value-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.3), 0 0 20px rgba(109, 0, 255, 0.3);
}

.value-icon {
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    filter: drop-shadow(0 0 8px rgba(109, 0, 255, 0.5));
}

.team-section {
    padding: 60px 20px;
}

.team-container {
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 2.5rem;
    margin-top: 3rem;
}

.team-card {
    background: rgba(15, 15, 30, 0.7);
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    border: var(--neon-border);
    transition: all var(--transition-speed) ease;
    position: relative;
}

.team-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.3), 0 0 20px rgba(109, 0, 255, 0.3);
}

.team-card img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    border-radius: var(--border-radius) var(--border-radius) 0 0;
    transition: all var(--transition-speed) ease;
}

.team-card:hover img {
    transform: scale(1.05);
}

.team-card h3 {
    margin: 15px 0 5px;
    font-size: 1.5rem;
}

.team-card p {
    margin: 5px 0 15px;
    padding: 0 15px;
}

.team-card p:first-of-type {
    color: var(--secondary-color);
    font-weight: 600;
}

.team-card p:last-of-type {
    color: var(--text-color-secondary);
    font-size: 0.9rem;
    margin-bottom: 20px;
}

/* Contact Page */
.contact-section {
    padding: 60px 20px;
}

.contact-container {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 3rem;
    max-width: 1200px;
    margin: 0 auto;
}

.contact-info {
    background: rgba(15, 15, 30, 0.7);
    padding: 2.5rem;
    border-radius: var(--border-radius);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
    border: var(--neon-border);
}

.info-item {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.info-icon {
    color: var(--secondary-color);
    filter: drop-shadow(0 0 5px rgba(0, 217, 255, 0.5));
}

.info-item h3 {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
}

.info-item p {
    color: var(--text-color-secondary);
    margin-bottom: 0.5rem;
}

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

.contact-form-container {
    background: rgba(15, 15, 30, 0.7);
    padding: 2.5rem;
    border-radius: var(--border-radius);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
    border: var(--neon-border);
}

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

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

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px;
    border-radius: var(--border-radius);
    border: 1px solid rgba(255, 255, 255, 0.1);
    background-color: rgba(15, 15, 30, 0.5);
    color: var(--text-color);
    font-family: var(--font-main);
    transition: all var(--transition-speed) ease;
}

.form-group input:focus,
.form-group textarea:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 2px rgba(109, 0, 255, 0.2);
    outline: none;
}

.checkbox-group {
    display: flex;
    align-items: flex-start;
    gap: 10px;
}

.checkbox-group input {
    width: auto;
    margin-top: 5px;
}

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

.map-section {
    margin-top: 60px;
}

.map-container {
    height: 450px;
    overflow: hidden;
    border-radius: var(--border-radius);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
}

.map-container iframe {
    border: none;
}

.thank-you-modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(5px);
}

.modal-content {
    background: var(--dark-color);
    border-radius: var(--border-radius);
    border: var(--neon-border);
    width: 90%;
    max-width: 500px;
    margin: 15% auto;
    box-shadow: 0 0 30px rgba(109, 0, 255, 0.5);
    position: relative;
    animation: modal-in 0.5s ease-out;
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.modal-header h3 {
    margin: 0;
    color: white;
}

.close-modal {
    color: var(--text-color-secondary);
    font-size: 1.5rem;
    cursor: pointer;
    transition: all var(--transition-speed) ease;
}

.close-modal:hover {
    color: var(--primary-color);
}

.modal-body {
    padding: 1.5rem;
    text-align: center;
}

@keyframes modal-in {
    from {
        opacity: 0;
        transform: translateY(-50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Blog Post Page */
.post-main {
    max-width: 1000px;
    margin: 0 auto;
    padding: 60px 20px;
}

.post-article {
    background: rgba(15, 15, 30, 0.7);
    border-radius: var(--border-radius);
    box-shadow: 0 5px 30px rgba(0, 0, 0, 0.2);
    border: var(--neon-border);
    overflow: hidden;
}

.post-header {
    text-align: center;
    padding: 2.5rem 2.5rem 0;
}

.post-header h1 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.post-header .post-meta {
    justify-content: center;
    margin-bottom: 2rem;
}

.post-featured-image {
    margin-bottom: 2.5rem;
}

.post-featured-image img {
    width: 100%;
    max-height: 500px;
    object-fit: cover;
}

.post-content {
    padding: 0 2.5rem 2.5rem;
    line-height: 1.8;
}

.post-content h2 {
    font-size: 2rem;
    margin: 2.5rem 0 1.5rem;
    color: white;
}

.post-content h3 {
    font-size: 1.5rem;
    margin: 2rem 0 1rem;
    color: white;
}

.post-content ul, .post-content ol {
    margin-left: 1.5rem;
    margin-bottom: 1.5rem;
}

.post-content li {
    margin-bottom: 0.5rem;
}

.post-image-container {
    margin: 2rem 0;
    text-align: center;
}

.image-caption {
    font-size: 0.9rem;
    color: var(--text-color-secondary);
    text-align: center;
    margin-top: 0.5rem;
}

.post-conclusion {
    margin-top: 3rem;
    padding: 2rem;
    background: rgba(109, 0, 255, 0.1);
    border-radius: var(--border-radius);
    border-left: 3px solid var(--primary-color);
}

.post-tags {
    margin-top: 3rem;
    padding: 1.5rem 2.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    align-items: center;
}

.post-tags span {
    color: var(--text-color-secondary);
    font-weight: 600;
}

.post-tags a {
    display: inline-block;
    padding: 5px 12px;
    background: rgba(109, 0, 255, 0.1);
    color: var(--secondary-color);
    border-radius: 20px;
    font-size: 0.9rem;
    transition: all var(--transition-speed) ease;
}

.post-tags a:hover {
    background: rgba(109, 0, 255, 0.2);
    transform: translateY(-3px);
}

.post-share {
    padding: 1.5rem 2.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    gap: 15px;
}

.post-share span {
    color: var(--text-color-secondary);
    font-weight: 600;
}

.share-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(109, 0, 255, 0.1);
    color: var(--text-color);
    transition: all var(--transition-speed) ease;
}

.share-link:hover {
    background: var(--primary-color);
    color: white;
    transform: translateY(-3px);
}

.author-bio {
    display: flex;
    gap: 1.5rem;
    padding: 2.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.author-image {
    flex: 0 0 100px;
}

.author-image img {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid var(--primary-color);
    box-shadow: 0 0 15px rgba(109, 0, 255, 0.5);
}

.author-info h3 {
    font-size: 1.2rem;
    color: var(--text-color-secondary);
    margin-bottom: 0.5rem;
}

.author-info h4 {
    font-size: 1.4rem;
    margin-bottom: 1rem;
}

.author-social {
    display: flex;
    gap: 10px;
    margin-top: 1rem;
}

.author-social a {
    color: var(--text-color-secondary);
}

.author-social a:hover {
    color: var(--secondary-color);
}

.related-posts {
    padding: 2.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.related-posts h3 {
    margin-bottom: 1.5rem;
    text-align: center;
}

.related-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.related-card {
    background: rgba(15, 15, 30, 0.5);
    border-radius: var(--border-radius);
    overflow: hidden;
    transition: all var(--transition-speed) ease;
}

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

.related-image {
    height: 150px;
    overflow: hidden;
}

.related-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-speed) ease;
}

.related-card:hover .related-image img {
    transform: scale(1.05);
}

.related-content {
    padding: 1rem;
}

.related-content h4 {
    font-size: 1rem;
    margin-bottom: 0.5rem;
}

.related-content .date {
    font-size: 0.8rem;
    color: var(--text-color-secondary);
}

/* Responsive Design */
@media (max-width: 1200px) {
    .hero-content h1 {
        font-size: 3.5rem;
    }
    
    .feature-card {
        flex-direction: column;
    }
    
    .feature-card .post-image,
    .feature-card .post-content {
        flex: 0 0 100%;
    }
    
    .feature-card .post-image {
        height: 300px;
    }
    
    .feature-card h3 {
        font-size: 1.8rem;
    }
}

@media (max-width: 992px) {
    .blog-container {
        grid-template-columns: 1fr;
    }
    
    .sidebar {
        position: static;
    }
    
    .about-container {
        grid-template-columns: 1fr;
    }
    
    .about-image {
        order: -1;
        margin-bottom: 2rem;
    }
    
    .contact-container {
        grid-template-columns: 1fr;
    }
    
    .related-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .hero {
        flex-direction: column;
        padding: 50px 20px;
    }
    
    .hero-content {
        max-width: 100%;
        text-align: center;
        margin-bottom: 3rem;
    }
    
    .hero-image {
        max-width: 100%;
    }
    
    .hero-content h1 {
        font-size: 3rem;
    }
    
    .navbar {
        position: fixed;
        top: 0;
        right: -100%;
        height: 100vh;
        width: 250px;
        background-color: rgba(15, 15, 30, 0.98);
        backdrop-filter: blur(10px);
        padding: 80px 20px 0;
        transition: right 0.3s ease;
        z-index: 999;
        box-shadow: -5px 0 20px rgba(0, 0, 0, 0.3);
        border-left: var(--neon-border);
    }
    
    .navbar.active {
        right: 0;
    }
    
    .navbar ul {
        flex-direction: column;
        gap: 20px;
    }
    
    .menu-toggle {
        display: flex;
        z-index: 1000;
    }
    
    .menu-toggle.active span:nth-child(1) {
        transform: translateY(7px) rotate(45deg);
    }
    
    .menu-toggle.active span:nth-child(2) {
        opacity: 0;
    }
    
    .menu-toggle.active span:nth-child(3) {
        transform: translateY(-7px) rotate(-45deg);
    }
    
    .service-grid {
        grid-template-columns: 1fr;
    }
    
    .author-bio {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
    
    .author-social {
        justify-content: center;
    }
}

@media (max-width: 576px) {
    h1 {
        font-size: 2.5rem;
    }
    
    h2 {
        font-size: 2rem;
    }
    
    .hero-content h1 {
        font-size: 2.5rem;
    }
    
    .hero-content p {
        font-size: 1.2rem;
    }
    
    .post-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-container {
        grid-template-columns: 1fr;
    }
    
    .post-header h1 {
        font-size: 2rem;
    }
    
    .contact-form .form-row {
        grid-template-columns: 1fr;
    }
    
    .post-tags, .post-share {
        justify-content: center;
    }
    
    .post-meta {
        flex-direction: column;
        gap: 5px;
        align-items: center;
    }
}
