/* 
   SwiftAI Solutions - Main Stylesheet
   Modern, responsive design for an AI services company
*/

/* ===== Base Styles ===== */
:root {
    /* Primary Colors */
    --primary-color: #5a6acf;
    --primary-dark: #4a59b8;
    --primary-light: #7a88e6;
    
    /* Secondary Colors */
    --secondary-color: #8e8e8e;
    --secondary-dark: #707070;
    --secondary-light: #a0a0a0;
    
    /* Neutral Colors */
    --dark: #2c2c2c;
    --medium: #404040;
    --light: #f8f9fa;
    
    /* Accent Colors */
    --accent-1: #e0e0e0;
    --accent-2: #c0c0c0;
    --accent-3: #a0a0a0;
    
    /* Typography */
    --heading-font: 'Poppins', sans-serif;
    --body-font: 'Roboto', sans-serif;
    
    /* Spacing */
    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 2rem;
    --spacing-lg: 3rem;
    --spacing-xl: 5rem;
    
    /* Border Radius */
    --border-radius-sm: 4px;
    --border-radius-md: 8px;
    --border-radius-lg: 16px;
    --border-radius-xl: 24px;
    
    /* Shadows */
    --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.1);
    --shadow-md: 0 4px 8px rgba(0, 0, 0, 0.12);
    --shadow-lg: 0 8px 16px rgba(0, 0, 0, 0.15);
    --shadow-xl: 0 12px 24px rgba(0, 0, 0, 0.2);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    font-size: 16px;
    scroll-behavior: smooth;
}

body {
    font-family: var(--body-font);
    line-height: 1.6;
    color: var(--dark);
    background-color: var(--light);
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--heading-font);
    font-weight: 600;
    line-height: 1.3;
    margin-bottom: var(--spacing-sm);
    color: var(--dark);
}

h1 {
    font-size: 3rem;
}

h2 {
    font-size: 2.5rem;
}

h3 {
    font-size: 1.75rem;
}

h4 {
    font-size: 1.5rem;
}

p {
    margin-bottom: var(--spacing-sm);
}

a {
    color: var(--primary-color);
    text-decoration: none;
    transition: all 0.3s ease;
}

a:hover {
    color: var(--primary-dark);
}

img {
    max-width: 100%;
    height: auto;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--spacing-sm);
}

.highlight {
    color: var(--primary-color);
}

.section-header {
    text-align: center;
    margin-bottom: var(--spacing-xl);
    position: relative;
}

.section-header h2 {
    font-size: 2.5rem;
    margin-bottom: var(--spacing-md);
    position: relative;
    display: inline-block;
}

.section-header h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-color), var(--primary-light));
    border-radius: 3px;
}

.section-header p {
    max-width: 700px;
    margin: 0 auto;
    color: #666;
    font-size: 1.1rem;
    line-height: 1.7;
}

/* ===== Buttons ===== */
.btn {
    display: inline-block;
    padding: 0.8rem 1.8rem;
    border-radius: var(--border-radius-md);
    font-weight: 500;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
    font-size: 1rem;
}

.btn-primary {
    background-color: var(--primary-color);
    color: white;
}

.btn-primary:hover {
    background-color: var(--primary-dark);
    color: white;
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
}

.btn-secondary {
    background-color: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

.btn-secondary:hover {
    background-color: var(--primary-color);
    color: white;
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
}

/* ===== Header ===== */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: rgba(255, 255, 255, 0.95);
    box-shadow: var(--shadow-sm);
    padding: 1rem 0;
    z-index: 1000;
    transition: all 0.3s ease;
}

header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo a {
    display: flex;
    align-items: center;
    color: var(--dark);
}

.logo-text {
    font-family: var(--heading-font);
    font-size: 1.8rem;
    font-weight: 700;
}

.nav-links {
    display: flex;
    list-style: none;
}

.nav-links li {
    margin-left: var(--spacing-md);
}

.nav-links a {
    color: var(--dark);
    font-weight: 500;
    position: relative;
}

.nav-links a:after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -5px;
    left: 0;
    background-color: var(--primary-color);
    transition: width 0.3s ease;
}

.nav-links a:hover:after,
.nav-links a.active:after {
    width: 100%;
}

.mobile-menu {
    display: none;
    font-size: 1.5rem;
    cursor: pointer;
}

/* ===== Hero Section ===== */
.hero {
    padding: 10rem 0 6rem;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    position: relative;
    overflow: hidden;
}

.hero .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--spacing-lg);
}

.hero-content {
    flex: 1;
    max-width: 550px;
    z-index: 2;
}

.hero-content h1 {
    margin-bottom: var(--spacing-md);
    font-size: 3.2rem;
    font-weight: 700;
    line-height: 1.2;
}

.hero-content p {
    font-size: 1.15rem;
    margin-bottom: var(--spacing-md);
    color: #555;
    line-height: 1.7;
}

.hero-buttons {
    display: flex;
    gap: var(--spacing-sm);
}

.hero-image {
    flex: 1;
    display: flex;
    justify-content: flex-end;
    max-width: 600px;
    z-index: 2;
}

.hero-tech-image {
    filter: drop-shadow(0 10px 15px rgba(0, 0, 0, 0.1));
    transition: transform 0.5s ease, filter 0.5s ease;
}

.hero-tech-image:hover {
    transform: translateY(-10px) scale(1.02);
    filter: drop-shadow(0 15px 20px rgba(0, 0, 0, 0.15));
}

.hero-wave {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    line-height: 0;
    z-index: 1;
}

/* Add subtle background pattern */
.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: radial-gradient(circle at 10% 20%, rgba(90, 106, 207, 0.03) 0%, transparent 20%),
                      radial-gradient(circle at 90% 80%, rgba(90, 106, 207, 0.03) 0%, transparent 20%),
                      radial-gradient(circle at 50% 50%, rgba(90, 106, 207, 0.03) 0%, transparent 30%);
    z-index: 0;
}

/* ===== Services Section ===== */
.services {
    padding: var(--spacing-xl) 0;
    background-color: white;
    position: relative;
}

.services::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: radial-gradient(circle at 90% 10%, rgba(90, 106, 207, 0.03) 0%, transparent 20%),
                      radial-gradient(circle at 10% 90%, rgba(90, 106, 207, 0.03) 0%, transparent 20%);
    z-index: 0;
}

.services .container {
    position: relative;
    z-index: 1;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: var(--spacing-lg);
}

.service-card {
    background-color: white;
    border-radius: var(--border-radius-lg);
    padding: var(--spacing-lg);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    text-align: center;
    border: 1px solid rgba(0, 0, 0, 0.03);
    position: relative;
    overflow: hidden;
}

.service-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--primary-light));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s ease;
}

.service-card:hover {
    transform: translateY(-15px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
}

.service-card:hover::after {
    transform: scaleX(1);
}

.service-icon {
    width: 80px;
    height: 80px;
    background-color: rgba(90, 106, 207, 0.1);
    color: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto var(--spacing-md);
    font-size: 2rem;
    transition: all 0.3s ease;
}

.service-card:hover .service-icon {
    background-color: var(--primary-color);
    color: white;
    transform: scale(1.1);
}

.service-card h3 {
    margin-bottom: var(--spacing-sm);
    font-weight: 600;
    transition: color 0.3s ease;
}

.service-card:hover h3 {
    color: var(--primary-color);
}

.service-card p {
    color: #666;
    line-height: 1.7;
}

/* ===== Technologies Section ===== */
.technologies {
    padding: var(--spacing-xl) 0;
    background-color: #f8f9fa;
    position: relative;
}

.technologies::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: radial-gradient(circle at 20% 30%, rgba(90, 106, 207, 0.03) 0%, transparent 25%),
                      radial-gradient(circle at 80% 70%, rgba(90, 106, 207, 0.03) 0%, transparent 25%);
    z-index: 0;
}

.technologies .container {
    position: relative;
    z-index: 1;
}

.technologies-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: var(--spacing-lg);
}

.technology-card {
    background-color: white;
    border-radius: var(--border-radius-lg);
    padding: var(--spacing-lg);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.05);
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    text-align: center;
    border: 1px solid rgba(0, 0, 0, 0.03);
    position: relative;
    overflow: hidden;
}

.technology-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(90, 106, 207, 0.05) 0%, transparent 100%);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.technology-card:hover {
    transform: translateY(-12px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
}

.technology-card:hover::before {
    opacity: 1;
}

.technology-icon {
    width: 75px;
    height: 75px;
    background-color: rgba(142, 142, 142, 0.1);
    color: var(--secondary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto var(--spacing-md);
    font-size: 1.9rem;
    transition: all 0.3s ease;
}

.technology-card:hover .technology-icon {
    background-color: var(--secondary-color);
    color: white;
    transform: scale(1.1) rotate(5deg);
}

.technology-card h3 {
    margin-bottom: var(--spacing-sm);
    font-weight: 600;
    transition: color 0.3s ease;
}

.technology-card:hover h3 {
    color: var(--secondary-color);
}

.technology-card p {
    color: #666;
    line-height: 1.7;
}

/* ===== About Section ===== */
.about {
    padding: var(--spacing-xl) 0;
    background-color: white;
}

.about-content {
    display: flex;
    align-items: center;
    gap: var(--spacing-lg);
}

.about-text {
    flex: 1;
}

.about-text p {
    color: #555;
    margin-bottom: var(--spacing-sm);
}

.about-image {
    flex: 1;
    display: flex;
    justify-content: center;
}

/* Co-founders styling */
.co-founders {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    gap: var(--spacing-lg);
    width: 100%;
}

.co-founder {
    text-align: center;
    transition: all 0.3s ease;
}

.co-founder:hover {
    transform: translateY(-10px);
}

.co-founder-image {
    width: 150px;         /*  Adjust to your needs */
    height: 150px;        /*  Adjust to match the width for a perfect circle */
    margin-bottom: var(--spacing-sm);
    border-radius: 50%;  /* Make it a circle */
    overflow: hidden;       /* Clip the image to the circle */
    box-shadow: var(--shadow-md);
    transition: all 0.3s ease;
    /* Ensure that the image always fills the circle */
    display: flex;
    align-items: center;
    justify-content: center;
}

.co-founder-image:hover {
    box-shadow: var(--shadow-lg);
}

.co-founder-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;     /* Important: Maintains aspect ratio and fills the circle */
    border-radius: 50%;   /* Ensure the image inside is also a circle */
    display: block;
}

.co-founder h4 {
    color: var(--dark);
    margin-bottom: 5px;
    font-weight: 600;
}

.co-founder p {
    color: var(--primary-color);
    font-weight: 500;
    margin-bottom: 0;
}

.about-stats {
    display: flex;
    justify-content: space-between;
    margin-top: var(--spacing-md);
}

.stat {
    text-align: center;
}

.stat h3 {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 0;
}

.stat p {
    font-weight: 500;
    margin-bottom: 0;
}

/* ===== Testimonials Section ===== */
.testimonials {
    padding: var(--spacing-xl) 0;
    background-color: #f8f9fa;
    position: relative;
}

.testimonials::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: radial-gradient(circle at 30% 20%, rgba(90, 106, 207, 0.03) 0%, transparent 25%),
                      radial-gradient(circle at 70% 80%, rgba(90, 106, 207, 0.03) 0%, transparent 25%);
    z-index: 0;
}

.testimonials .container {
    position: relative;
    z-index: 1;
}

.testimonials-slider {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
    overflow: hidden;
}

.testimonial {
    background-color: white;
    border-radius: var(--border-radius-lg);
    padding: var(--spacing-lg);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    margin: 0 auto;
    border: 1px solid rgba(0, 0, 0, 0.03);
    position: relative;
    transition: all 0.3s ease;
}

.testimonial::before {
    content: '"';
    position: absolute;
    top: 20px;
    left: 20px;
    font-size: 5rem;
    font-family: Georgia, serif;
    color: rgba(90, 106, 207, 0.1);
    line-height: 1;
}

.testimonial-content {
    margin-bottom: var(--spacing-md);
    position: relative;
    z-index: 1;
}

.testimonial-content p {
    font-style: italic;
    color: #555;
    font-size: 1.1rem;
    line-height: 1.8;
    padding-left: var(--spacing-md);
}

.testimonial-author {
    display: flex;
    align-items: center;
    border-top: 1px solid rgba(0, 0, 0, 0.05);
    padding-top: var(--spacing-md);
}

.testimonial-author img {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
    margin-right: var(--spacing-sm);
}

.author-info h4 {
    margin-bottom: 0;
    font-weight: 600;
    color: var(--dark);
}

.author-info p {
    margin-bottom: 0;
    color: #777;
    font-size: 0.9rem;
}

.testimonial-dots {
    display: flex;
    justify-content: center;
    margin-top: var(--spacing-lg);
}

.dot {
    width: 10px;
    height: 10px;
    background-color: #ddd;
    border-radius: 50%;
    margin: 0 6px;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
}

.dot::after {
    content: '';
    position: absolute;
    top: -5px;
    left: -5px;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    border: 1px solid transparent;
    transition: all 0.3s ease;
}

.dot.active {
    background-color: var(--primary-color);
}

.dot.active::after {
    border-color: var(--primary-color);
}

.dot:hover {
    background-color: var(--primary-light);
}

/* ===== Contact Section ===== */
.contact {
    padding: var(--spacing-xl) 0;
    background-color: white;
    position: relative;
}

.contact::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: radial-gradient(circle at 10% 30%, rgba(90, 106, 207, 0.03) 0%, transparent 25%),
                      radial-gradient(circle at 90% 70%, rgba(90, 106, 207, 0.03) 0%, transparent 25%);
    z-index: 0;
}

.contact .container {
    position: relative;
    z-index: 1;
}

.contact-content {
    display: flex;
    gap: var(--spacing-xl);
    align-items: flex-start;
}

.contact-info {
    flex: 1;
    background-color: white;
    border-radius: var(--border-radius-lg);
    padding: var(--spacing-lg);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    border: 1px solid rgba(0, 0, 0, 0.03);
}

.contact-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: var(--spacing-md);
    transition: all 0.3s ease;
    padding: var(--spacing-sm);
    border-radius: var(--border-radius-md);
}

.contact-item:hover {
    background-color: rgba(90, 106, 207, 0.03);
}

.contact-item i {
    font-size: 1.5rem;
    color: var(--primary-color);
    margin-right: var(--spacing-md);
    margin-top: 5px;
    transition: all 0.3s ease;
}

.contact-item:hover i {
    transform: scale(1.2);
}

.contact-item h3 {
    margin-bottom: 5px;
    font-weight: 600;
    color: var(--dark);
}

.contact-item p {
    color: #555;
    margin-bottom: 0;
}

.social-links {
    display: flex;
    gap: var(--spacing-sm);
    margin-top: var(--spacing-lg);
    justify-content: center;
}

.social-link {
    width: 45px;
    height: 45px;
    background-color: rgba(90, 106, 207, 0.1);
    color: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    font-size: 1.2rem;
}

.social-link:hover {
    background-color: var(--primary-color);
    color: white;
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(90, 106, 207, 0.3);
}

.contact-form {
    flex: 1;
    background-color: white;
    border-radius: var(--border-radius-lg);
    padding: var(--spacing-lg);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    border: 1px solid rgba(0, 0, 0, 0.03);
}

.form-group {
    margin-bottom: var(--spacing-md);
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 15px;
    border: 1px solid #eee;
    border-radius: var(--border-radius-md);
    font-family: var(--body-font);
    font-size: 1rem;
    transition: all 0.3s ease;
    background-color: #f9f9f9;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(90, 106, 207, 0.1);
    background-color: white;
}

.form-group textarea {
    min-height: 150px;
    resize: vertical;
}

.contact-form .btn-primary {
    width: 100%;
    padding: 15px;
    font-size: 1.1rem;
    margin-top: var(--spacing-sm);
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.contact-form .btn-primary:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(90, 106, 207, 0.2);
}

/* Success message styling */
.success-message {
    text-align: center;
    padding: var(--spacing-lg);
}

.success-message i {
    font-size: 4rem;
    color: #4ade80;
    margin-bottom: var(--spacing-md);
}

.success-message h3 {
    color: var(--dark);
    margin-bottom: var(--spacing-sm);
}

.success-message p {
    color: #666;
}

/* ===== Footer ===== */
footer {
    background-color: #2d3748;
    color: white;
    padding: var(--spacing-xl) 0 var(--spacing-sm);
    position: relative;
    overflow: hidden;
}

footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: radial-gradient(circle at 10% 10%, rgba(255, 255, 255, 0.03) 0%, transparent 30%),
                      radial-gradient(circle at 90% 90%, rgba(255, 255, 255, 0.03) 0%, transparent 30%);
    z-index: 0;
}

footer .container {
    position: relative;
    z-index: 1;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    margin-bottom: var(--spacing-xl);
    gap: var(--spacing-lg);
}

.footer-logo {
    flex: 1.2;
}

.footer-logo .logo-text {
    color: white;
    margin-bottom: var(--spacing-md);
    display: inline-block;
    font-size: 2rem;
}

.footer-logo p {
    color: #a0aec0;
    line-height: 1.7;
    margin-bottom: var(--spacing-md);
    max-width: 300px;
}

.footer-links {
    flex: 2;
    display: flex;
    justify-content: space-around;
    gap: var(--spacing-lg);
}

.footer-column h3 {
    color: white;
    margin-bottom: var(--spacing-md);
    font-size: 1.2rem;
    position: relative;
    padding-bottom: 10px;
}

.footer-column h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 30px;
    height: 2px;
    background-color: var(--primary-color);
}

.footer-column ul {
    list-style: none;
}

.footer-column ul li {
    margin-bottom: 12px;
}

.footer-column ul li a {
    color: #a0aec0;
    transition: all 0.3s ease;
    display: inline-block;
    position: relative;
}

.footer-column ul li a::before {
    content: '›';
    position: absolute;
    left: -15px;
    opacity: 0;
    transition: all 0.3s ease;
}

.footer-column ul li a:hover {
    color: white;
    padding-left: 15px;
}

.footer-column ul li a:hover::before {
    opacity: 1;
}

.footer-bottom {
    text-align: center;
    padding-top: var(--spacing-md);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-bottom p {
    margin-bottom: 0;
    color: #a0aec0;
    font-size: 0.9rem;
}

/* ===== Responsive Styles ===== */
@media (max-width: 992px) {
    h1 {
        font-size: 2.5rem;
    }
    
    h2 {
        font-size: 2rem;
    }
    
    .hero .container {
        flex-direction: column;
        text-align: center;
    }
    
    .hero-content {
        margin-bottom: var(--spacing-lg);
    }
    
    .hero-buttons {
        justify-content: center;
    }
    
    .about-content {
        flex-direction: column;
    }
    
    .about-text {
        margin-bottom: var(--spacing-lg);
    }
    
    .contact-content {
        flex-direction: column;
    }
    
    .contact-info {
        margin-bottom: var(--spacing-lg);
    }
    
    .footer-content {
        flex-direction: column;
    }
    
    .footer-logo {
        margin-bottom: var(--spacing-lg);
        text-align: center;
    }
    
    .footer-links {
        flex-direction: column;
        gap: var(--spacing-md);
    }
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
    }
    
    .mobile-menu {
        display: block;
    }
    
    .services-grid,
    .technologies-grid {
        grid-template-columns: 1fr;
    }
    
    .about-stats {
        flex-direction: column;
        gap: var(--spacing-md);
    }
}

/* Mobile Menu Animation */
.mobile-nav {
    position: fixed;
    top: 0;
    right: -100%;
    width: 70%;
    height: 100vh;
    background-color: white;
    z-index: 1001;
    padding: var(--spacing-lg) var(--spacing-md);
    box-shadow: var(--shadow-lg);
    transition: right 0.3s ease;
}

.mobile-nav.active {
    right: 0;
}

.mobile-nav-close {
    position: absolute;
    top: 20px;
    right: 20px;
    font-size: 1.5rem;
    cursor: pointer;
}

.mobile-nav ul {
    list-style: none;
    margin-top: var(--spacing-lg);
}

.mobile-nav ul li {
    margin-bottom: var(--spacing-sm);
}

.mobile-nav ul li a {
    color: var(--dark);
    font-size: 1.2rem;
    font-weight: 500;
    display: block;
    padding: 10px 0;
}

.overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.overlay.active {
    opacity: 1;
    visibility: visible;
}

/* Animation Classes */
.fade-in {
    animation: fadeIn 1s ease forwards;
}

.slide-in-left {
    animation: slideInLeft 1s ease forwards;
}

.slide-in-right {
    animation: slideInRight 1s ease forwards;
}

.slide-in-bottom {
    animation: slideInBottom 1s ease forwards;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes slideInLeft {
    from {
        transform: translateX(-50px);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

@keyframes slideInRight {
    from {
        transform: translateX(50px);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

@keyframes slideInBottom {
    from {
        transform: translateY(50px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}
