/* CSS Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* CSS Variables */
:root {
    --primary-color: #667eea;
    --secondary-color: #764ba2;
    --accent-color: #f093fb;
    --accent-secondary: #f5576c;
    --text-dark: #2d3748;
    --text-light: #718096;
    --bg-light: #f7fafc;
    --bg-white: #ffffff;
    --border-color: #e2e8f0;
    --shadow-light: 0 4px 6px rgba(0, 0, 0, 0.05);
    --shadow-medium: 0 10px 25px rgba(0, 0, 0, 0.1);
    --shadow-heavy: 0 20px 40px rgba(0, 0, 0, 0.15);
    --gradient-primary: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    --gradient-accent: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
    --gradient-blue: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
    --border-radius: 12px;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Base Styles */
body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    background-color: var(--bg-white);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--bg-light);
}

::-webkit-scrollbar-thumb {
    background: var(--primary-color);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--secondary-color);
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: var(--shadow-light);
    z-index: 1000;
    padding: 1rem 0;
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-brand a {
    display: flex;
    align-items: center;
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 600;
    font-size: 1.2rem;
}

.brand-icon {
    width: 1.5rem;
    margin-right: 0.5rem;
}

.nav-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.nav-toggle span {
    width: 25px;
    height: 3px;
    background: var(--text-dark);
    margin: 3px 0;
    transition: var(--transition);
}

.nav-menu {
    display: flex;
    list-style: none;
    align-items: center;
}

.nav-menu li {
    margin-left: 2rem;
    position: relative;
}

.nav-menu a {
    text-decoration: unset!important;
    color: var(--text-dark);
    font-weight: 500;
    transition: var(--transition);
    padding: 0.5rem 0;
    position: relative;
}

.nav-menu a:hover {
    color: var(--primary-color);
}

.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gradient-primary);
    transition: var(--transition);
}

.nav-menu a:hover::after {
    width: 100%;
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background: white;
    box-shadow: var(--shadow-medium);
    border-radius: var(--border-radius);
    padding: 1rem 0;
    min-width: 200px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: var(--transition);
}

.dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-menu li {
    margin: 0;
    display: block;
}

.dropdown-menu a {
    display: block;
    padding: 0.5rem 1rem;
    color: var(--text-dark);
    text-decoration: none;
    transition: var(--transition);
}

.dropdown-menu a:hover {
    background: var(--bg-light);
    color: var(--primary-color);
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    padding: 0.75rem 1.5rem;
    border: none;
    border-radius: var(--border-radius);
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: var(--transition);
}

.btn:hover::before {
    left: 100%;
}

.btn-primary {
    background: var(--gradient-primary);
    color: white;
    box-shadow: var(--shadow-light);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-medium);
}

.btn-outline {
    background: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

.btn-outline:hover {
    background: var(--primary-color);
    color: white;
    transform: translateY(-2px);
}

/* Hero Section */
.hero {
    margin-top: 60px;
    position: relative;
    padding: 60px 0;
    display: flex;
    align-items: center;
    padding: 2rem 0;
    overflow: hidden;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    opacity: 0.05;
}

.hero-shapes {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.shape {
    position: absolute;
    border-radius: 50%;
    background: var(--gradient-primary);
    opacity: 0.1;
    animation: float 6s ease-in-out infinite;
}

.shape-1 {
    width: 300px;
    height: 300px;
    top: 10%;
    right: 10%;
    animation-delay: 0s;
}

.shape-2 {
    width: 200px;
    height: 200px;
    bottom: 20%;
    left: 10%;
    animation-delay: 2s;
}

.shape-3 {
    width: 150px;
    height: 150px;
    top: 50%;
    left: 50%;
    animation-delay: 4s;
}

@keyframes float {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-20px);
    }
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    position: relative;
    z-index: 1;
}

.hero-text h1 {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1rem;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-text h2 {
    font-size: 1.5rem;
    color: var(--text-light);
    margin-bottom: 1.5rem;
}

.hero-text p {
    font-size: 1.1rem;
    color: var(--text-light);
    margin-bottom: 2rem;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
}

.hero-image {
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-card {
    background: white;
    padding: 2rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-heavy);
    transform: perspective(1000px) rotateY(-15deg);
    transition: var(--transition);
}

.hero-card:hover {
    transform: perspective(1000px) rotateY(0deg);
}

.card-content h3 {
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.card-image {
    height: 300px;
    width: 100%;
    object-fit: cover;
}

@media (max-width: 767px) {
    .card-image {
        width: 100%;
        max-width: 100%;
    }
}

/* Services Section */
.services-preview {
    padding: 5rem 0;
    background: var(--bg-light);
}

.section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.section-header h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.section-header p {
    font-size: 1.1rem;
    color: var(--text-light);
    max-width: 600px;
    margin: 0 auto;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
}

.service-card {
    background: white;
    padding: 2rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-light);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--gradient-primary);
    transform: scaleX(0);
    transition: var(--transition);
}

.service-card:hover::before {
    transform: scaleX(1);
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-heavy);
}

.service-icon {
    width: 3rem;
    margin-bottom: 1rem;
    display: block;
}

.service-card h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.service-card p {
    color: var(--text-light);
    margin-bottom: 1.5rem;
}

.service-link {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition);
}

.service-link:hover {
    color: var(--secondary-color);
}

/* Features Section */
.features {
    padding: 5rem 0;
    background: white;
}

.features-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.features-text h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 2rem;
    color: var(--text-dark);
}

.feature-list {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.feature-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

.feature-icon {
    font-size: 1.5rem;
    background: var(--gradient-primary);
    color: white;
    width: 3rem;
    height: 3rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.feature-text h4 {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--text-dark);
}

.feature-text p {
    color: var(--text-light);
}

.features-image {
    display: flex;
    justify-content: center;
    align-items: center;
}

.stats-card {
    background: white;
    padding: 2rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-heavy);
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
}

.stat-item {
    text-align: center;
    padding: 1rem;
    border-radius: var(--border-radius);
    background: var(--bg-light);
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.stat-label {
    color: var(--text-light);
    font-weight: 500;
}

/* Testimonials Preview */
.testimonials-preview {
    padding: 5rem 0;
    background: var(--bg-light);
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.testimonial-card {
    background: white;
    padding: 2rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-light);
    transition: var(--transition);
}

.testimonial-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-medium);
}

.testimonial-stars {
    color: #ffd700;
    font-size: 1.2rem;
    margin-bottom: 1rem;
}

.testimonial-content p {
    color: var(--text-light);
    font-style: italic;
    margin-bottom: 1.5rem;
}

.author-info h4 {
    color: var(--text-dark);
    font-weight: 600;
    margin-bottom: 0.25rem;
}

.author-info p {
    color: var(--text-light);
    font-size: 0.9rem;
}

.testimonials-cta {
    text-align: center;
}

/* CTA Section */
.cta-section {
    padding: 5rem 0;
    background: var(--gradient-primary);
    color: white;
    text-align: center;
}

.cta-content h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.cta-content p {
    font-size: 1.1rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

.cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.cta-section .btn-primary {
    background: white;
    color: var(--primary-color);
}

.cta-section .btn-outline {
    border-color: white;
    color: white;
}

.cta-section .btn-outline:hover {
    background: white;
    color: var(--primary-color);
}

/* Newsletter Section */
.newsletter-section {
    padding: 3rem 0;
    background: var(--gradient-primary);
    color: white;
}

.newsletter-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    align-items: center;
}

.newsletter-text h3 {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.newsletter-form .form-group {
    display: flex;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.newsletter-form input {
    flex: 1;
    padding: 0.75rem;
    border: none;
    border-radius: var(--border-radius);
    font-size: 1rem;
}

.newsletter-form button {
    padding: 0.75rem 1.5rem;
    background: white;
    color: #000;
    border: none;
    border-radius: var(--border-radius);
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.newsletter-form button:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-medium);
}

.form-checkbox label {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9rem;
    opacity: 0.9;
    width: fit-content;
}

.form-checkbox input {
    width: auto;
}

.form-checkbox a {
    color: white;
    text-decoration: underline;
}

/* Footer */
.footer {
    background: var(--text-dark);
    color: white;
    padding: 3rem 0 1rem;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section h4,
.footer-section h5 {
    margin-bottom: 1rem;
    color: white;
}

.footer-section p {
    color: #a0aec0;
    margin-bottom: 1rem;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: #a0aec0;
    margin-bottom: 0.5rem;
}

.contact-item p {
    margin: 0;
}

.contact-icon {
    width: 1.2rem;
    height: 1.2rem;
    flex-shrink: 0;
    color: #b171f1;
}

.footer-section ul {
    list-style: none;
}

.footer-section h5{
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: #b171f1;
   
}

.footer-section ul li {
    margin-bottom: 0.5rem;
}

.footer-section ul li a {
    color: #a0aec0;
    text-decoration: none;
    transition: var(--transition);
}

.footer-section ul li a:hover {
    color: white;
}

.footer-bottom {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 1.5rem;
    border-top: 1px solid #4a5568;
}

.footer-bottom p {
    color: #a0aec0;
    margin: 0;
}

/* Cookie Popup */
.cookie-popup {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    background: white;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-heavy);
    padding: 1.5rem;
    max-width: 400px;
    z-index: 10000;
    transform: translateY(100px);
    opacity: 0;
    z-index: -11;
    transition: var(--transition);
}

.cookie-popup.show {
    transform: translateY(0);
    opacity: 1;
    z-index: 111;
}

.cookie-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
}

.cookie-header h3 {
    color: var(--text-dark);
    font-size: 1.2rem;
}

.cookie-close {
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--text-light);
}

.cookie-options {
    margin: 1rem 0;
}

.cookie-option {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.5rem;
    cursor: pointer;
}

.cookie-option input {
    margin: 0;
}

.cookie-buttons {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.cookie-buttons .btn {
    padding: 0.5rem 1rem;
    font-size: 0.9rem;
}

/* Responsive Design */
@media (max-width: 768px) {
    .nav-toggle {
        display: flex;
    }
    
    .nav-menu {
        position: fixed;
        top: 100%;
        left: 0;
        width: 100%;
        background: white;
        flex-direction: column;
        padding: 1rem 0;
        box-shadow: var(--shadow-medium);
        transform: translateY(-100%);
        opacity: 0;
        visibility: hidden;
        transition: var(--transition);
    }
    
    .nav-menu.active {
        transform: translateY(0);
        opacity: 1;
        visibility: visible;
    }
    
    .nav-menu li {
        margin: 0.5rem 0;
    }
    
    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .hero-text h1 {
        font-size: 2rem;
    }
    
    .features-content {
        grid-template-columns: 1fr;
    }
    
    .newsletter-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
    }
    
    .footer-bottom {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    .testimonials-grid {
        grid-template-columns: 1fr;
    }
    
    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .cookie-popup {
        bottom: 1rem;
        right: 1rem;
        left: 1rem;
        max-width: none;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }
    
    .hero-text h1 {
        font-size: 1.8rem;
    }
    
    .section-header h2 {
        font-size: 2rem;
    }
    
    .newsletter-form .form-group {
        flex-direction: column;
    }
}

/* ======== Hero Section ======== */
.service-hero.crm-hero {
    background: linear-gradient(135deg, #f0f7ff, #ffffff);
    padding: 60px 0;
}

.crm-content {
    padding: 30px 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
    flex-wrap: wrap;
}

.crm-text {
    flex: 1 1 450px;
}

.crm-text .service-category {
    font-size: 14px;
    font-weight: bold;
    color: #005bbb;
    text-transform: uppercase;
    margin-bottom: 10px;
}

.crm-text h1 {
    font-size: 2.5rem;
    margin: 0 0 15px;
}

.crm-text p {
    font-size: 1.1rem;
    margin-bottom: 25px;
}

.crm-benefits {
    display: flex;
    gap: 20px;
    margin-bottom: 25px;
}

.benefit-item {
    display: flex;
    align-items: center;
    gap: 10px;
}

.benefit-icon {
    width: 32px;
    height: 32px;
}

.btn.btn-primary {
    display: inline-block;
    background-color: #005bbb;
    color: #fff;
    padding: 12px 24px;
    border-radius: 6px;
    font-weight: 500;
    transition: background 0.3s;
}

.btn.btn-primary:hover {
    background-color: #004499;
}

/* ======== Dashboard Styles ======== */
.crm-dashboard {
    flex: 1 1 500px;
}

.dashboard-mockup {
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    overflow: hidden;
}

.dashboard-header {
    display: flex;
    border-bottom: 1px solid #eee;
    background: #f8f9fa;
}

.header-item {
    flex: 1;
    text-align: center;
    padding: 12px;
    cursor: pointer;
    font-weight: 500;
    color: #555;
    transition: background 0.3s, color 0.3s;
}

.header-item.active {
    background: #005bbb;
    color: #fff;
}

.dashboard-content {
    display: none;
    padding: 20px;
}

.dashboard-content.active {
    display: block;
}

.customer-card {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 12px;
    background: #f9f9f9;
    border-radius: 8px;
    margin-bottom: 20px;
}

.customer-avatar {
    width: 40px;
    height: 40px;
    background: #005bbb;
    color: #fff;
    font-weight: bold;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.customer-info .customer-name {
    font-weight: 600;
}

.customer-status {
    font-size: 0.85rem;
    color: #28a745;
}

.metrics-row {
    display: flex;
    justify-content: space-between;
    gap: 20px;
}

.metric {
    flex: 1;
    background: #f5f8ff;
    border-radius: 8px;
    padding: 12px;
    text-align: center;
}

.metric-value {
    font-weight: bold;
    font-size: 1.3rem;
    color: #005bbb;
}

.metric-label {
    font-size: 0.9rem;
    color: #555;
}

.report-image {
    width: 100%;
    border-radius: 8px;
}

/* ======== Modules Section ======== */
.crm-modules {
    padding: 60px 0;
    background: #f9f9f9;
}

.modules-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 25px;
    margin-top: 30px;
}

.module-card {
    background: #fff;
    padding: 25px;
    border-radius: 10px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.05);
    text-align: center;
    transition: transform 0.3s;
}

.module-card:hover {
    transform: translateY(-4px);
}

.module-icon {
    width: 50px;
    height: 50px;
    margin-bottom: 15px;
}

/* ======== Responsive ======== */
@media (max-width: 992px) {
    .crm-content {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .crm-text {
        flex: 1 1 100%;
    }

    .crm-dashboard {
        flex: 1 1 100%;
        width: 100%;
    }

    .crm-benefits {
        justify-content: center;
    }
}

@media (max-width: 600px) {
    .crm-text h1 {
        font-size: 1.8rem;
    }

    .crm-benefits {
        flex-direction: column;
        gap: 10px;
    }

    .metrics-row {
        flex-direction: column;
    }

    .module-card {
        padding: 20px;
    }
}

/* === Training Hero Section === */
.training-hero {
    padding: 60px 0;
    background: #f9fafc;
}

.training-content {
    padding: 30px 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
    flex-wrap: wrap;
}

.training-text {
    flex: 1 1 500px;
}

.training-text h1 {
    font-size: 2.2rem;
    margin-bottom: 15px;
    color: #1a1a1a;
}

.training-text p {
    font-size: 1.1rem;
    margin-bottom: 25px;
    color: #555;
}

.training-benefits {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    margin-bottom: 25px;
}

.training-benefits .benefit-item {
    display: flex;
    align-items: center;
    gap: 10px;
    background: #fff;
    border-radius: 12px;
    padding: 10px 15px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

.benefit-item img.benefit-icon {
    width: 32px;
    height: 32px;
}

.training-image {
    flex: 1 1 400px;
    display: flex;
    justify-content: center;
}

.training-image img {
    max-width: 100%;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

/* === Modules Section === */
.training-modules {
    padding: 60px 0;
    background: #ffffff;
}

.training-modules h2 {
    font-size: 1.8rem;
    margin-bottom: 30px;
    text-align: center;
}

.modules-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 25px;
}

.module-card {
    background: #f9fafc;
    padding: 25px;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.module-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.module-card img.module-icon {
    width: 50px;
    height: 50px;
    margin-bottom: 15px;
}

.module-card h3 {
    font-size: 1.2rem;
    margin-bottom: 10px;
}

.module-card p {
    font-size: 0.95rem;
    color: #555;
}

/* === Buttons === */
.btn-primary {
    background: #0077ff;
    color: #fff;
    padding: 10px 20px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    display: inline-block;
    transition: background 0.2s ease;
}

.btn-primary:hover {
    background: #005ecc;
}

/* === Responsive === */
@media (max-width: 992px) {
    .training-content {
        flex-direction: column;
        text-align: center;
    }

    .training-text, .training-image {
        flex: 1 1 100%;
    }

    .training-benefits {
        justify-content: center;
    }
}

@media (max-width: 600px) {
    .training-text h1 {
        font-size: 1.6rem;
    }

    .training-benefits .benefit-item {
        flex: 1 1 100%;
        justify-content: center;
    }
}

/* Form Messages */
.form-message {
    position: fixed;
    top: 20px;
    right: 20px;
    max-width: 400px;
    z-index: 10000;
    transform: translateX(100%);
    opacity: 0;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.form-message.show {
    transform: translateX(0);
    opacity: 1;
}

.message-content {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px 20px;
    border-radius: 12px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
    backdrop-filter: blur(10px);
}

.form-message-success .message-content {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    color: white;
}

.form-message-error .message-content {
    background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
    color: white;
}

.message-icon {
    font-size: 20px;
    flex-shrink: 0;
}

.message-text {
    flex: 1;
    font-weight: 500;
    line-height: 1.4;
}

.message-close {
    background: none;
    border: none;
    color: white;
    font-size: 20px;
    cursor: pointer;
    padding: 0;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: background-color 0.2s;
}

.message-close:hover {
    background-color: rgba(255, 255, 255, 0.2);
}

/* Newsletter Loader */
.newsletter-loader {
    display: inline-block;
    width: 16px;
    height: 16px;
    border: 2px solid rgba(0, 0, 0, 0.3);
    border-top: 2px solid currentColor;
    border-radius: 50%;
    animation: newsletter-spin 1s linear infinite;
}

@keyframes newsletter-spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Mobile adjustments for messages */
@media (max-width: 768px) {
    .form-message {
        top: 10px;
        right: 10px;
        left: 10px;
        max-width: none;
        transform: translateY(-100%);
    }
    
    .form-message.show {
        transform: translateY(0);
    }
    
    .message-content {
        padding: 14px 16px;
    }
}
.page-header h1{
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 12px;
  
}
