/*
Theme Name: BioChem Pro
Theme URI: https://yoursite.com
Author: BioChem Expert
Author URI: https://yoursite.com
Description: A professional WordPress theme designed for bio-chemistry experts to showcase services, software expertise, and research articles. Features custom post types for Services, Software, and Blog posts with Calendly integration for scheduling meetings.
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: biochem-pro
Tags: chemistry, science, professional, business, two-columns, custom-menu, featured-images
*/

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

:root {
    --primary-color: #2c5f8d;
    --secondary-color: #1a8cff;
    --accent-color: #00d4aa;
    --text-color: #333;
    --light-bg: #f8f9fa;
    --white: #ffffff;
    --border-color: #e0e0e0;
    --shadow: 0 2px 10px rgba(0,0,0,0.1);
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background: var(--white);
    position: relative;
    overflow-x: hidden;
}

/* Background Chemistry Icons */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    opacity: 0.03;
    background-image:
        url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><circle cx="20" cy="20" r="3" fill="%232c5f8d"/><circle cx="50" cy="20" r="3" fill="%231a8cff"/><circle cx="80" cy="20" r="3" fill="%2300d4aa"/><line x1="20" y1="20" x2="50" y2="20" stroke="%232c5f8d" stroke-width="1"/><line x1="50" y1="20" x2="80" y2="20" stroke="%231a8cff" stroke-width="1"/></svg>');
    background-repeat: repeat;
    background-size: 200px 200px;
    z-index: -1;
    pointer-events: none;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header Styles */
.site-header {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: var(--white);
    padding: 20px 0;
    box-shadow: var(--shadow);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.site-header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.site-title {
    font-size: 2em;
    font-weight: 700;
    margin: 0;
}

.site-title a {
    color: var(--white);
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 10px;
}

.site-description {
    font-size: 0.9em;
    opacity: 0.9;
    margin-top: 5px;
}

/* Navigation */
.main-navigation {
    display: flex;
    align-items: center;
}

.main-navigation ul {
    list-style: none;
    display: flex;
    gap: 30px;
    margin: 0;
    padding: 0;
}

.main-navigation a {
    color: var(--white);
    text-decoration: none;
    font-weight: 500;
    transition: opacity 0.3s;
    padding: 10px 0;
}

.main-navigation a:hover {
    opacity: 0.8;
    border-bottom: 2px solid var(--accent-color);
}

/* Hide dashicons in front-end menu */
.main-navigation .dashicons,
.main-navigation [class*="dashicons"] {
    display: none !important;
}

.main-navigation a::before {
    display: none !important;
}

/* Hero Section */
.hero-section {
    background: linear-gradient(135deg, rgba(44, 95, 141, 0.95) 0%, rgba(26, 140, 255, 0.95) 100%),
                url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 200 200"><path d="M100 20 L120 60 L160 60 L130 90 L140 130 L100 110 L60 130 L70 90 L40 60 L80 60 Z" fill="white" opacity="0.1"/></svg>');
    color: var(--white);
    padding: 80px 0;
    text-align: center;
    background-size: cover;
    background-position: center;
}

.hero-section h1 {
    font-size: 3em;
    margin-bottom: 20px;
    font-weight: 700;
}

.hero-section p {
    font-size: 1.3em;
    margin-bottom: 30px;
    opacity: 0.95;
}

.btn {
    display: inline-block;
    padding: 12px 30px;
    background: var(--accent-color);
    color: var(--white);
    text-decoration: none;
    border-radius: 5px;
    font-weight: 600;
    transition: all 0.3s;
    border: 2px solid var(--accent-color);
}

.btn:hover {
    background: var(--primary-color);
    color: var(--white);
    border-color: var(--primary-color);
    transform: translateY(-2px);
}

.btn-secondary {
    background: transparent;
    border: 2px solid var(--white);
    margin-left: 15px;
}

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

/* Main Content */
.site-main {
    display: flex;
    gap: 30px;
    margin: 40px auto;
    max-width: 1200px;
    padding: 0 20px;
}

.content-area {
    flex: 1;
}

/* Services Section */
.content-full-width {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin: 40px 0;
}

.service-card {
    background: var(--white);
    padding: 30px;
    border-radius: 10px;
    box-shadow: var(--shadow);
    transition: all 0.3s;
    border-top: 4px solid var(--primary-color);
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, transparent 0%, rgba(26, 140, 255, 0.05) 100%);
    z-index: 0;
}

.service-card > * {
    position: relative;
    z-index: 1;
}

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

.service-icon {
    font-size: 3em;
    margin-bottom: 15px;
    color: var(--secondary-color);
}

.service-card h3 {
    color: var(--primary-color);
    font-size: 1.5em;
    margin-bottom: 15px;
}

.service-card p {
    line-height: 1.8;
    color: #666;
}

/* Sidebar */
.sidebar {
    width: 300px;
    flex-shrink: 0;
}

.widget {
    background: var(--white);
    padding: 25px;
    margin-bottom: 30px;
    border-radius: 10px;
    box-shadow: var(--shadow);
    border-left: 4px solid var(--accent-color);
}

.widget-title {
    color: var(--primary-color);
    font-size: 1.3em;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--light-bg);
}

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

.software-list li {
    padding: 10px 0;
    border-bottom: 1px solid var(--light-bg);
    display: flex;
    align-items: center;
    gap: 10px;
}

.software-list li:last-child {
    border-bottom: none;
}

.software-list li::before {
    content: '⚛';
    color: var(--secondary-color);
    font-size: 1.2em;
}

.software-category {
    font-weight: 600;
    color: var(--primary-color);
    margin-top: 15px;
    margin-bottom: 5px;
    font-size: 1.1em;
}

/* Blog Posts */
.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 30px;
    margin: 40px 0;
}

.blog-card {
    background: var(--white);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: all 0.3s;
}

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

.blog-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.blog-content {
    padding: 25px;
}

.blog-card h3 {
    color: var(--primary-color);
    margin-bottom: 15px;
    font-size: 1.4em;
}

.blog-meta {
    color: #999;
    font-size: 0.9em;
    margin-bottom: 15px;
}

.blog-card p {
    line-height: 1.8;
    color: #666;
    margin-bottom: 15px;
}

.read-more {
    color: var(--secondary-color);
    text-decoration: none;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.read-more:hover {
    color: var(--primary-color);
}

/* Contact Section */
.contact-section {
    background: var(--light-bg);
    padding: 60px 0;
    margin-top: 40px;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    margin-top: 30px;
}

.contact-info {
    background: var(--white);
    padding: 30px;
    border-radius: 10px;
    box-shadow: var(--shadow);
}

.calendly-embed {
    background: var(--white);
    padding: 30px;
    border-radius: 10px;
    box-shadow: var(--shadow);
    min-height: 600px;
}

/* Footer */
.site-footer {
    background: var(--primary-color);
    color: var(--white);
    padding: 40px 0 20px;
    margin-top: 60px;
}

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

.footer-widget h3 {
    margin-bottom: 20px;
    font-size: 1.2em;
}

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

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

.footer-widget a {
    color: rgba(255,255,255,0.8);
    text-decoration: none;
    transition: color 0.3s;
}

.footer-widget a:hover {
    color: var(--accent-color);
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255,255,255,0.1);
    opacity: 0.8;
}

/* Section Headers */
.section-header {
    text-align: center;
    margin-bottom: 50px;
}

.section-header h2 {
    font-size: 2.5em;
    color: var(--primary-color);
    margin-bottom: 15px;
    position: relative;
    display: inline-block;
}

.section-header h2::after {
    content: '';
    display: block;
    width: 80px;
    height: 4px;
    background: var(--accent-color);
    margin: 15px auto 0;
    border-radius: 2px;
}

.section-header p {
    font-size: 1.1em;
    color: #666;
}

/* Responsive Design */
@media (max-width: 768px) {
    .site-header .container {
        flex-direction: column;
        gap: 20px;
    }

    .main-navigation ul {
        flex-direction: column;
        gap: 10px;
        text-align: center;
    }

    .site-main {
        flex-direction: column;
    }

    .sidebar {
        width: 100%;
    }

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

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

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

    .hero-section h1 {
        font-size: 2em;
    }

    .hero-section p {
        font-size: 1.1em;
    }
}

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

.mt-4 {
    margin-top: 40px;
}

.mb-4 {
    margin-bottom: 40px;
}

.py-5 {
    padding: 50px 0;
}

/* Hero Slider Styles */
.hero-slider {
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
}

.slider-container {
    position: relative;
    width: 100%;
    height: 500px;
}

.slider-wrapper {
    position: relative;
    width: 100%;
    height: 100%;
}

.hero-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.6s ease-in-out;
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, rgba(44, 95, 141, 0.95) 0%, rgba(26, 140, 255, 0.95) 100%);
}

.hero-slide.active {
    opacity: 1;
    z-index: 2;
}

.hero-content {
    width: 100%;
    text-align: center;
    color: var(--white);
    padding: 40px 20px;
}

.hero-title {
    font-size: 3.5em;
    margin-bottom: 20px;
    font-weight: 700;
    animation: fadeInDown 0.8s;
}

.hero-subtitle {
    font-size: 1.4em;
    margin-bottom: 30px;
    opacity: 0.95;
    animation: fadeInUp 0.8s;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
    animation: fadeIn 1s;
}

/* Slider Navigation */
.slider-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.3);
    color: var(--white);
    border: none;
    font-size: 2em;
    padding: 15px 20px;
    cursor: pointer;
    z-index: 10;
    transition: all 0.3s;
    border-radius: 5px;
}

.slider-nav:hover {
    background: rgba(255, 255, 255, 0.5);
}

.slider-prev {
    left: 20px;
}

.slider-next {
    right: 20px;
}

/* Slider Dots */
.slider-dots {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 15px;
    z-index: 10;
}

.dot {
    width: 15px;
    height: 15px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: all 0.3s;
}

.dot:hover,
.dot.active {
    background: var(--white);
    transform: scale(1.2);
}

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

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

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

/* Updated Service Card Styles - Clickable with Images */
.service-card-link {
    text-decoration: none;
    color: inherit;
    display: block;
    height: 100%;
}

.service-card {
    background: var(--white);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: all 0.3s;
    border-top: none;
    height: 100%;
    display: flex;
    flex-direction: column;
}

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

.service-image {
    width: 100%;
    height: 220px;
    overflow: hidden;
    position: relative;
}

.service-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s;
}

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

.service-placeholder {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
}

.service-icon-large {
    font-size: 5em;
    filter: drop-shadow(0 2px 4px rgba(0,0,0,0.2));
}

.service-card-content {
    padding: 25px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.service-card-content h3 {
    color: var(--primary-color);
    font-size: 1.5em;
    margin-bottom: 15px;
    transition: color 0.3s;
}

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

.service-excerpt {
    line-height: 1.8;
    color: #666;
    margin-bottom: 20px;
    flex: 1;
}

.btn-view-detail {
    display: inline-block;
    padding: 12px 25px;
    background: var(--accent-color);
    color: var(--white);
    border-radius: 5px;
    font-weight: 600;
    transition: all 0.3s;
    text-align: center;
    align-self: flex-start;
}

.service-card:hover .btn-view-detail {
    background: var(--secondary-color);
    transform: translateX(5px);
}

/* Software Widget Improvements */
.software-widget {
    position: sticky;
    top: 100px;
}

.software-list a {
    color: var(--text-color);
    text-decoration: none;
    transition: all 0.3s;
}

.software-list a:hover {
    color: var(--secondary-color);
    padding-left: 5px;
}

/* Responsive Updates */
@media (max-width: 768px) {
    .hero-title {
        font-size: 2em;
    }

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

    .slider-container {
        height: 400px;
    }

    .slider-nav {
        font-size: 1.5em;
        padding: 10px 15px;
    }

    .slider-prev {
        left: 10px;
    }

    .slider-next {
        right: 10px;
    }

    .service-image {
        height: 180px;
    }
}

/* Publications Styles */
.publications-list {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.publication-card {
    background: var(--white);
    border-radius: 10px;
    padding: 30px;
    box-shadow: var(--shadow);
    display: flex;
    gap: 25px;
    transition: all 0.3s;
    border-left: 4px solid var(--primary-color);
}

.publication-card:hover {
    transform: translateX(5px);
    box-shadow: 0 5px 20px rgba(0,0,0,0.15);
}

.publication-thumbnail {
    flex-shrink: 0;
}

.publication-thumbnail img {
    width: 120px;
    height: 160px;
    object-fit: cover;
    border-radius: 5px;
}

.publication-content {
    flex: 1;
}

.publication-title {
    font-size: 1.5em;
    margin-bottom: 15px;
    line-height: 1.3;
}

.publication-title a {
    color: var(--primary-color);
    text-decoration: none;
    transition: color 0.3s;
}

.publication-title a:hover {
    color: var(--secondary-color);
}

.publication-authors {
    color: #666;
    margin-bottom: 10px;
    font-size: 0.95em;
}

.publication-meta {
    color: #666;
    margin-bottom: 15px;
    font-size: 0.95em;
}

.publication-meta .journal {
    margin-right: 5px;
}

.publication-excerpt {
    line-height: 1.7;
    color: #555;
    margin-bottom: 20px;
}

.publication-actions {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.btn-publication {
    display: inline-block;
    padding: 10px 20px;
    background: var(--accent-color);
    color: var(--white);
    text-decoration: none;
    border-radius: 5px;
    font-size: 0.9em;
    font-weight: 600;
    transition: all 0.3s;
    border: 2px solid var(--accent-color);
}

.btn-publication:hover {
    background: var(--primary-color);
    border-color: var(--primary-color);
    transform: translateY(-2px);
}

.btn-pdf {
    background: #dc3545;
}

.btn-pdf:hover {
    background: #c82333;
}

.btn-doi {
    background: #6c757d;
}

.btn-doi:hover {
    background: #5a6268;
}

/* Single Publication */
.publication-meta-box {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    background: var(--light-bg);
    padding: 30px;
    border-radius: 10px;
    margin-bottom: 30px;
}

.meta-item h3 {
    color: var(--primary-color);
    font-size: 0.9em;
    text-transform: uppercase;
    margin-bottom: 8px;
    letter-spacing: 0.5px;
}

.meta-item p {
    margin: 0;
    font-size: 1em;
}

.meta-item a {
    color: var(--secondary-color);
    text-decoration: none;
    word-break: break-all;
}

.meta-item a:hover {
    text-decoration: underline;
}

.publication-actions-single {
    margin-top: 40px;
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.btn-large {
    padding: 15px 30px;
    font-size: 1.1em;
}

.category-link {
    display: inline-block;
    padding: 5px 12px;
    background: var(--light-bg);
    color: var(--primary-color);
    text-decoration: none;
    border-radius: 5px;
    margin-right: 10px;
    font-size: 0.9em;
    transition: all 0.3s;
}

.category-link:hover {
    background: var(--primary-color);
    color: var(--white);
}

/* Lectures Styles */
.lectures-content {
    max-width: 100%;
}

.lectures-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-bottom: 40px;
}

.lecture-card {
    background: var(--white);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: all 0.3s;
    display: flex;
    flex-direction: column;
}

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

.lecture-video {
    position: relative;
    width: 100%;
    background: #000;
}

.video-wrapper {
    position: relative;
    padding-bottom: 56.25%;
    height: 0;
    overflow: hidden;
}

.video-wrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.lecture-placeholder {
    height: 250px;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
}

.video-icon {
    font-size: 4em;
    opacity: 0.7;
}

.lecture-content {
    padding: 25px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.lecture-title {
    font-size: 1.3em;
    margin-bottom: 15px;
    line-height: 1.3;
}

.lecture-title a {
    color: var(--primary-color);
    text-decoration: none;
    transition: color 0.3s;
}

.lecture-title a:hover {
    color: var(--secondary-color);
}

.lecture-categories {
    margin-bottom: 15px;
}

.lecture-category-badge {
    display: inline-block;
    padding: 5px 12px;
    background: var(--light-bg);
    color: var(--primary-color);
    border-radius: 15px;
    font-size: 0.85em;
    margin-right: 8px;
    margin-bottom: 5px;
}

.lecture-description {
    line-height: 1.7;
    color: #666;
    margin-bottom: 20px;
    flex: 1;
}

.lecture-actions {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin-bottom: 15px;
}

.btn-lecture {
    display: inline-block;
    padding: 10px 20px;
    background: var(--accent-color);
    color: var(--white);
    text-decoration: none;
    border-radius: 5px;
    font-size: 0.9em;
    font-weight: 600;
    transition: all 0.3s;
    border: 2px solid var(--accent-color);
}

.btn-lecture:hover {
    background: var(--primary-color);
    border-color: var(--primary-color);
    transform: translateY(-2px);
}

.btn-youtube {
    background: #dc3545;
}

.btn-youtube:hover {
    background: #c82333;
}

.lecture-meta {
    padding-top: 15px;
    border-top: 1px solid var(--border-color);
}

.lecture-date {
    color: #999;
    font-size: 0.9em;
}

/* Single Lecture */
.lecture-video-single {
    margin-bottom: 40px;
}

.video-container {
    position: relative;
    padding-bottom: 56.25%;
    height: 0;
    overflow: hidden;
    border-radius: 10px;
    background: #000;
}

.video-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.lecture-meta-info {
    line-height: 1.8;
}

.lecture-meta-info h3 {
    color: var(--primary-color);
}

/* Responsive for Publications and Lectures */
@media (max-width: 768px) {
    .publication-card {
        flex-direction: column;
    }

    .publication-thumbnail img {
        width: 100%;
        height: auto;
        max-height: 250px;
    }

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

    .lecture-placeholder {
        height: 200px;
    }

    .video-icon {
        font-size: 3em;
    }

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

    .software-slider-track {
        gap: 15px;
    }

    .software-slider-card {
        min-width: 140px;
    }
}

/* Software Horizontal Slider */
.software-slider-section {
    background: var(--light-bg);
    padding: 60px 0;
}

.software-slider-container {
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 60px;
}

.software-slider-wrapper {
    overflow: hidden;
    position: relative;
}

.software-slider-track {
    display: flex;
    gap: 20px;
    transition: transform 0.5s ease;
}

.software-slider-card {
    min-width: 180px;
    flex-shrink: 0;
    background: var(--white);
    border-radius: 10px;
    padding: 25px;
    text-align: center;
    box-shadow: var(--shadow);
    transition: all 0.3s;
}

.software-slider-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 20px rgba(0,0,0,0.15);
}

.software-card-link {
    text-decoration: none;
    color: inherit;
    display: block;
}

.software-card-image {
    width: 80px;
    height: 80px;
    margin: 0 auto 15px;
    border-radius: 10px;
    overflow: hidden;
}

.software-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.software-card-icon {
    font-size: 3.5em;
    margin-bottom: 10px;
    color: var(--secondary-color);
}

.software-slider-card h4 {
    color: var(--primary-color);
    font-size: 1em;
    margin: 0;
    line-height: 1.3;
}

.software-slider-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: var(--primary-color);
    color: var(--white);
    border: none;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    font-size: 1.5em;
    cursor: pointer;
    z-index: 10;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
}

.software-slider-nav:hover {
    background: var(--secondary-color);
    transform: translateY(-50%) scale(1.1);
}

.software-prev {
    left: 10px;
}

.software-next {
    right: 10px;
}

/* Footer Social Icons */
.footer-social {
    text-align: center;
    padding: 30px 0;
    border-top: 1px solid rgba(255,255,255,0.1);
    margin-top: 30px;
}

.footer-social h3 {
    margin-bottom: 20px;
    font-size: 1.3em;
}

.social-icons {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.social-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    background: rgba(255,255,255,0.1);
    border-radius: 50%;
    text-decoration: none;
    transition: all 0.3s;
}

.social-icon:hover {
    background: var(--accent-color);
    transform: translateY(-3px);
}

.social-emoji {
    font-size: 1.8em;
}

/* Contact Form 7 Styling */
.wpcf7 {
    background: var(--white);
    padding: 30px;
    border-radius: 10px;
    box-shadow: var(--shadow);
}

.wpcf7-form p {
    margin-bottom: 20px;
}

.wpcf7-form label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: var(--primary-color);
}

.wpcf7-form input[type="text"],
.wpcf7-form input[type="email"],
.wpcf7-form input[type="tel"],
.wpcf7-form input[type="url"],
.wpcf7-form textarea,
.wpcf7-form select {
    width: 100%;
    padding: 12px;
    border: 1px solid var(--border-color);
    border-radius: 5px;
    font-size: 1em;
    font-family: inherit;
    transition: border-color 0.3s;
}

.wpcf7-form input:focus,
.wpcf7-form textarea:focus,
.wpcf7-form select:focus {
    outline: none;
    border-color: var(--secondary-color);
}

.wpcf7-form textarea {
    min-height: 150px;
    resize: vertical;
}

.wpcf7-form input[type="submit"] {
    background: var(--secondary-color);
    color: var(--white);
    padding: 15px 40px;
    border: none;
    border-radius: 5px;
    font-size: 1.1em;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
}

.wpcf7-form input[type="submit"]:hover {
    background: var(--primary-color);
    transform: translateY(-2px);
}

.wpcf7-not-valid-tip {
    color: #dc3545;
    font-size: 0.9em;
    margin-top: 5px;
}

.wpcf7-response-output {
    border: 2px solid;
    padding: 15px;
    margin-top: 20px;
    border-radius: 5px;
}

.wpcf7-mail-sent-ok {
    border-color: #28a745;
    color: #28a745;
    background: #d4edda;
}

.wpcf7-mail-sent-ng,
.wpcf7-validation-errors {
    border-color: #dc3545;
    color: #dc3545;
    background: #f8d7da;
}

/* Additional Responsive */
@media (max-width: 992px) {
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .lectures-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .software-slider-container {
        padding: 0 50px;
    }

    .software-slider-nav {
        width: 35px;
        height: 35px;
        font-size: 1.2em;
    }
}
