/* Base Styles */
:root {
    --primary-color: #111827;
    --primary-hover: #374151;
    --text-color: #111827;
    --text-muted: #6b7280;
    --border-color: #e5e7eb;
    --background-light: #f9fafb;
    --tag-bg: #f3f4f6;
    --tag-text: #374151;
    --badge-bg: #eff6ff;
    --badge-text: #1e40af;
}

/* Blog Posts */
.recent-posts,
.all-posts {
    margin: 3rem 0;
}

.recent-posts h2,
.all-posts h2 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
}

.recent-posts-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
}

.main-post {
    grid-column: 1;
}

.side-posts {
    grid-column: 2;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.post-card {
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.post-card.small .post-image img {
    height: 200px;
}

.post-image {
    position: relative;
    margin-bottom: 1rem;
    border-radius: 0.5rem;
    overflow: hidden;
}

.post-image img {
    width: 100%;
    object-fit: cover;
}

.arrow-icon {
    position: absolute;
    top: 1rem;
    right: 1rem;
    width: 1.5rem;
    height: 1.5rem;
    background-color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.arrow-icon::after {
    content: "";
    display: block;
    width: 0.75rem;
    height: 0.75rem;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cline x1='7' y1='17' x2='17' y2='7'%3E%3C/line%3E%3Cpolyline points='7 7 17 7 17 17'%3E%3C/polyline%3E%3C/svg%3E");
    background-size: contain;
    background-repeat: no-repeat;
}

.post-meta {
    font-size: 0.875rem;
    color: var(--text-muted);
    margin-bottom: 0.5rem;
}

.separator {
    margin: 0 0.25rem;
}

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

.post-title {
    font-size: 1.25rem;
    font-weight: 600;
    color: #1a1a1a;
    margin-bottom: 0.75rem;
    line-height: 1.4;
}

.post-title a {
    color: inherit;
    text-decoration: none;
    transition: color 0.2s ease;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}

.post-title a:hover {
    color: #3b82f6;
}

.post-description {
    color: #6b7280;
    font-size: 0.875rem;
    line-height: 1.6;
    margin-bottom: 1.5rem;
    display: -webkit-box;
    -webkit-line-clamp: 4;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    word-break: break-word;
}

.tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

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

/* Horizontal post card for side posts */
.post-card-horizontal {
    display: flex;
    gap: 1rem;
    margin-bottom: 1rem;
}

.post-card-horizontal .post-image {
    flex: 0 0 auto;
    width: 200px;
    height: 150px;
    margin-bottom: 0;
}

.post-card-horizontal .post-content {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.post-card-horizontal h3 {
    font-size: 1rem;
    margin-bottom: 0.5rem;
}

.post-card-horizontal p {
    font-size: 0.875rem;
}

.post-card-horizontal .tags {
    margin-top: auto;
}

.post-card-horizontal .post-image img {
    height: 100%;
    object-fit: cover;
}

/* Pagination */
.pagination {
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 3rem 0;
}

.pagination a {
    color: black;
}

.pagination-btn {
    display: flex;
    align-items: center;
    padding: 0.375rem;
    border: 1px solid var(--border-color);
    border-radius: 0.375rem;
    background-color: white;
    font-size: 0.875rem;
    font-weight: 500;
    cursor: pointer;
}

.pagination-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.pagination-btn:hover:not(:disabled) {
    background-color: var(--background-light);
}

.arrow-left,
.arrow-right {
    display: inline-block;
    width: 1rem;
    height: 1rem;
}

.arrow-left {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cline x1='19' y1='12' x2='5' y2='12'%3E%3C/line%3E%3Cpolyline points='12 19 5 12 12 5'%3E%3C/polyline%3E%3C/svg%3E");
    background-size: contain;
    background-repeat: no-repeat;
}

.arrow-right {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cline x1='5' y1='12' x2='19' y2='12'%3E%3C/line%3E%3Cpolyline points='12 5 19 12 12 19'%3E%3C/polyline%3E%3C/svg%3E");
    background-size: contain;
    background-repeat: no-repeat;
}

.pagination-numbers {
    display: flex;
    align-items: center;
    margin: 0 1rem;
}

.pagination-numbers a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 2rem;
    height: 2rem;
    margin: 0 0.25rem;
    border: 1px solid var(--border-color);
    border-radius: 0.375rem;
    background-color: white;
    font-size: 0.875rem;
    font-weight: 500;
    cursor: pointer;
}

.pagination-numbers a.active {
    background-color: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
}

.pagination-numbers a:hover:not(.active) {
    background-color: var(--background-light);
}

.pagination-numbers button.ellipsis {
    border: none;
    cursor: default;
}

.pagination-numbers button.ellipsis:hover {
    background-color: transparent;
}

/* Update the subscribe form styles */
.subscribe-form {
    max-width: 28rem;
    margin: 2rem auto 0;
}

.input-group {
    position: relative;
    display: flex;
    align-items: center;
    background-color: white;
    border: 1px solid var(--border-color);
    border-radius: 0.375rem;
    padding: 0.25rem;
}

.input-group input {
    flex-grow: 1;
    border: none;
    padding: 0.625rem 1rem;
    font-size: 0.875rem;
    background: transparent;
}

.input-group input:focus {
    outline: none;
}

.input-group .btn {
    margin-left: auto;
    border-radius: 0.25rem;
}

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

@media (max-width: 768px) {
    .recent-posts-grid {
        grid-template-columns: 1fr;
    }

    .side-posts {
        grid-column: 1;
    }

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

    .post-card-horizontal {
        flex-direction: column;
    }

    .post-card-horizontal .post-image {
        width: 100%;
        height: 200px;
        margin-bottom: 1rem;
    }

    .post-title {
        font-size: 1.125rem;
    }

    .post-description {
        font-size: 0.875rem;
        -webkit-line-clamp: 3;
    }
}

/* All Posts Section */
.all-posts {
    margin-top: 4rem;
}

.all-posts h2 {
    font-size: 2rem;
    font-weight: 600;
    color: #1a1a1a;
    margin-bottom: 2rem;
}

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

.post-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 24px -4px rgba(15, 23, 42, 0.1);
}

.post-image {
    width: 100%;
    aspect-ratio: 16/9;
    border-radius: 8px;
    overflow: hidden;
    margin-bottom: 1.5rem;
}

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

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

.post-meta {
    margin-bottom: 0.75rem;
}

.post-date {
    font-size: 0.875rem;
    color: #6b7280;
    font-weight: 500;
}

.post-title {
    font-size: 1.25rem;
    font-weight: 600;
    color: #1a1a1a;
    margin-bottom: 0.75rem;
    line-height: 1.4;
}

.post-title a {
    color: inherit;
    text-decoration: none;
    transition: color 0.2s ease;
}

.post-title a:hover {
    color: #3b82f6;
}

.post-description {
    color: #6b7280;
    font-size: 0.875rem;
    line-height: 1.6;
    margin-bottom: 1.5rem;
    display: -webkit-box;
    -webkit-line-clamp: 4;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    flex-grow: 1;
    max-height: calc(1.6em * 4);
    word-break: break-word;
    hyphens: auto;
}

.post-description::after,
.post-card:hover .post-description::after {
    display: none;
}

.post-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 1.25rem;
    border-top: 1px solid #e5e7eb;
    margin-top: auto;
}

.post-tags {
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
}


.tag:hover {
    background: #e5e7eb;
}

.tag-icon {
    display: flex;
    align-items: center;
    color: #9ca3af;
    flex-shrink: 0;
}

.read-post-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: #3b82f6;
    font-size: 0.875rem;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.2s ease;
    flex-shrink: 0;
}

.read-post-link:hover {
    color: #2563eb;
}

.read-post-link svg {
    transition: transform 0.2s ease;
}

.read-post-link:hover svg {
    transform: translateX(4px);
}

.post-preview {
    width: 200px;
    position: relative;
    background: #f3f4f6;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.post-preview img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.8;
    transition: opacity 0.2s ease;
}

.post-card:hover .post-preview img {
    opacity: 1;
}

.post-tech-stack {
    position: absolute;
    top: 1rem;
    right: 1rem;
    display: flex;
    gap: 0.5rem;
}

.tech-icon {
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: white;
    border-radius: 6px;
    padding: 0.25rem;
    box-shadow: 0 2px 4px rgba(15, 23, 42, 0.06);
}

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

    .post-card {
        height: 480px;
    }
}

@media (max-width: 768px) {
    .posts-grid {
        grid-template-columns: 1fr;
    }

    .post-card {
        height: auto;
        min-height: 450px;
    }

    .post-footer {
        flex-direction: column;
        gap: 1rem;
        align-items: flex-start;
    }

    .post-tags {
        width: 100%;
        margin-bottom: 0.5rem;
    }

    .read-post-link {
        width: 100%;
        justify-content: center;
        padding: 0.75rem;
        background: #f3f4f6;
        border-radius: 6px;
    }
}

@media (max-width: 640px) {
    .post-footer {
        flex-direction: column;
        gap: 1rem;
        align-items: flex-start;
    }

    .post-tags {
        width: 100%;
    }

    .read-post-link {
        width: 100%;
        justify-content: center;
        padding: 0.75rem;
        background: #f3f4f6;
        border-radius: 6px;
    }
}

/* Recent/Latest Posts Section */
.recent-posts {
    margin: 4rem 0;
}

.recent-posts h2 {
    font-size: 2rem;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 2rem;
}

.recent-posts-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 2.5rem;
}

/* Main featured post */
.main-post {
    display: flex;
    flex-direction: column;
    background: #ffffff;
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.main-post .post-image {
    width: 100%;
    aspect-ratio: 16/9;
    position: relative;
    margin-bottom: 0;
}

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

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

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

.main-post .post-meta {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.75rem;
}

.main-post .post-date {
    font-size: 0.875rem;
    color: #6b7280;
}

.main-post .post-title {
    font-size: 1.5rem;
    font-weight: 600;
    color: #1a1a1a;
    margin-bottom: 0.75rem;
    line-height: 1.4;
}

.main-post .post-title a {
    text-decoration: none;
    color: inherit;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.main-post .post-description {
    color: #6b7280;
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 1rem;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* Side posts */
.side-posts {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.post-card-horizontal {
    display: flex;
    gap: 1.5rem;
    background: #ffffff;
    transition: all 0.3s ease;
}

.post-card-horizontal .post-image {
    width: 180px;
    height: 180px;
    border-radius: 8px;
    overflow: hidden;
    margin-bottom: 0;
    flex-shrink: 0;
}

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

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

.post-card-horizontal .post-content {
    flex: 1;
    padding: 0;
    display: flex;
    flex-direction: column;
    min-width: 0;
    /* Prevent content from overflowing */
}

.post-card-horizontal .post-meta {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.5rem;
}

.post-card-horizontal .post-date {
    font-size: 0.875rem;
    color: #6b7280;
}

.post-card-horizontal .post-title {
    font-size: 1.125rem;
    font-weight: 600;
    color: #1a1a1a;
    margin-bottom: 0.5rem;
    line-height: 1.4;
}

.post-card-horizontal .post-title a {
    text-decoration: none;
    color: inherit;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.post-card-horizontal .post-description {
    color: #6b7280;
    font-size: 0.875rem;
    line-height: 1.6;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    margin-bottom: 0.5rem;
}

.post-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: auto;
}

.tag {
    align-items: center;
    padding: 0.25rem 0.75rem;
    background: #f3f4f6;
    border-radius: 9999px;
    font-size: 0.75rem;
    color: #4b5563;
    font-weight: 500;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 70px;
}

/* Hover effects */
.main-post:hover,
.post-card-horizontal:hover {
    transform: translateY(-4px);
}

/* Responsive styles */
@media (max-width: 1024px) {
    .recent-posts-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
}

@media (max-width: 768px) {
    .recent-posts h2 {
        font-size: 1.75rem;
    }

    .post-card-horizontal {
        flex-direction: column;
        gap: 1rem;
    }

    .post-card-horizontal .post-image {
        width: 100%;
        height: auto;
        aspect-ratio: 16/9;
    }

    .post-card-horizontal .post-content {
        padding: 0.5rem 0;
    }

    .post-card-horizontal .post-description {
        -webkit-line-clamp: 3;
    }
}

@media (max-width: 640px) {
    .main-post .post-title {
        font-size: 1.25rem;
    }

    .post-card-horizontal .post-title {
        font-size: 1rem;
    }
}

/* Hero section - split screen layout */
.hero {
    display: grid;
    grid-template-columns: 1fr 1fr;
    height: auto;
    width: 100%;
}

/* Left content side */
.hero-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 5rem;
    position: relative;
}

/* Decorative elements */
.hero-content::before {
    content: "";
    position: absolute;
    top: 0px;
    left: 5rem;
    width: 50px;
    height: 50px;
    border-top: 4px solid #333;
    border-left: 4px solid #333;
}

.hero-content::after {
    content: "";
    position: absolute;
    bottom: 0px;
    right: 5rem;
    width: 50px;
    height: 50px;
    border-bottom: 4px solid #333;
    border-right: 4px solid #333;
}

/* Right image side */
.hero-image {
    background-image: url('https://images.unsplash.com/photo-1579546929518-9e396f3cc809?ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D&auto=format&fit=crop&w=1920&q=80');
    background-size: cover;
    background-position: center;
    position: relative;
}

/* Overlay for image side */
.hero-image::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.3);
}

/* Typography */
.hero-eyebrow {
    text-transform: uppercase;
    letter-spacing: 3px;
    font-size: 0.9rem;
    font-weight: 600;
    color: #555;
    margin-bottom: 1.5rem;
    position: relative;
    padding-left: 3rem;
}

.hero-eyebrow::before {
    content: "";
    position: absolute;
    left: 0;
    top: 50%;
    width: 2rem;
    height: 1px;
    background-color: #555;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    color: #222;
}

.hero-subtitle {
    font-size: 1.1rem;
    color: #666;
    max-width: 500px;
    margin-bottom: 2.5rem;
}

/* Button */
.cta-container {
    display: flex;
    gap: 1rem;
}

.cta-button {
    display: inline-block;
    padding: 0.8rem 2rem;
    font-size: 0.9rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    border: none;
    position: relative;
    overflow: hidden;
    z-index: 1;
    cursor: pointer;
    border-radius: 4px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

/* Primary button with gradient */
.cta-button:not(.cta-secondary) {
    background: linear-gradient(135deg, #6a11cb 0%, #2575fc 100%);
    color: white;
    border: none;
}

.cta-button:not(.cta-secondary):hover {
    box-shadow: 0 6px 15px rgba(37, 117, 252, 0.3);
    transform: translateY(-2px);
}

/* Secondary button with gradient border */
.cta-secondary {
    background: white;
    color: #333;
    position: relative;
    z-index: 1;
}

.cta-secondary::before {
    content: "";
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(135deg, #6a11cb 0%, #2575fc 100%);
    z-index: -2;
    border-radius: 6px;
}

.cta-secondary::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: white;
    z-index: -1;
    border-radius: 4px;
    transition: all 0.3s ease;
}

.cta-secondary:hover::after {
    top: 2px;
    left: 2px;
    right: 2px;
    bottom: 2px;
}

.cta-secondary:hover {
    box-shadow: 0 6px 15px rgba(106, 17, 203, 0.3);
    transform: translateY(-2px);
}

/* Stats section */
.stats {
    display: flex;
    gap: 3rem;
    margin-top: 4rem;
}

.stat-item {
    display: flex;
    flex-direction: column;
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: #222;
    line-height: 1;
}

.stat-label {
    font-size: 0.9rem;
    color: #666;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Modal styles */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    backdrop-filter: blur(5px);
}

.modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

.modal {
    background-color: white;
    border-radius: 8px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.2);
    max-width: 500px;
    width: 90%;
    position: relative;
    transform: translateY(20px);
    transition: transform 0.3s ease;
    overflow: hidden;
}

.modal-overlay.active .modal {
    transform: translateY(0);
}

.modal-header {
    position: relative;
    padding: 2.5rem 2.5rem 0;
}

.modal-close {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: #666;
    transition: color 0.3s ease;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
}

.modal-close:hover {
    color: #333;
    background-color: rgba(0, 0, 0, 0.05);
}

.modal-body {
    padding: 1.5rem 2.5rem 2.5rem;
}

.modal-title {
    font-size: 1.8rem;
    margin-bottom: 0.5rem;
    color: #222;
    position: relative;
    display: inline-block;
}

.modal-title::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -5px;
    width: 40px;
    height: 3px;
    background: linear-gradient(135deg, #6a11cb 0%, #2575fc 100%);
    border-radius: 3px;
}

.modal-description {
    margin-bottom: 2rem;
    color: #666;
}

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

.form-label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: #333;
    font-size: 0.9rem;
}

.form-input {
    width: 100%;
    padding: 0.9rem 1rem;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-size: 1rem;
    transition: all 0.3s ease;
    background-color: #f8f9fa;
}

.form-input:focus {
    outline: none;
    border-color: #2575fc;
    box-shadow: 0 0 0 3px rgba(37, 117, 252, 0.1);
    background-color: white;
}

.form-submit {
    width: 100%;
    padding: 0.9rem;
    background: linear-gradient(135deg, #6a11cb 0%, #2575fc 100%);
    color: white;
    border: none;
    border-radius: 6px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 10px rgba(37, 117, 252, 0.2);
}

.form-submit:hover {
    box-shadow: 0 6px 15px rgba(37, 117, 252, 0.3);
    transform: translateY(-2px);
}

.form-error {
    color: #e74c3c;
    font-size: 0.85rem;
    margin-top: 0.5rem;
    display: none;
    padding-left: 0.5rem;
}

.form-success {
    padding: 2.5rem;
    text-align: center;
    display: none;
}

.form-success-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, #6a11cb 0%, #2575fc 100%);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    margin: 0 auto 1.5rem;
}

.form-success h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: #222;
}

.form-success p {
    color: #666;
}

/* Responsive styles */
@media (max-width: 1024px) {
    .hero-content {
        padding: 3rem;
    }

    .hero-title {
        font-size: 3rem;
    }

    .hero-content::before,
    .hero-content::after {
        display: none;
    }
}

@media (max-width: 768px) {
    .hero {
        grid-template-columns: 1fr;
        grid-template-rows: 1fr 1fr;
    }

    .hero-image {
        order: -1;
    }

    .hero-content {
        padding: 2rem;
    }

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

    .stats {
        gap: 2rem;
    }
}

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

    .stats {
        flex-direction: column;
        gap: 1rem;
    }

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

    .modal-header,
    .modal-body {
        padding: 1.5rem;
    }
}
