/* ========================================
   VARIABLES ET RESET
   ======================================== */

:root {
    --primary-color: #2563eb;
    --primary-dark: #1e40af;
    --secondary-color: #64748b;
    --text-dark: #1e293b;
    --text-light: #475569;
    --bg-light: #f8fafc;
    --bg-white: #ffffff;
    --border-color: #e2e8f0;
    --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.1);
    --shadow-md: 0 4px 6px rgba(0, 0, 0, 0.07);
    --shadow-lg: 0 10px 25px rgba(0, 0, 0, 0.1);
    --transition: all 0.3s ease;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    background-color: var(--bg-white);
}

/* ========================================
   UTILITIES
   ======================================== */

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

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 15px;
}

.title-underline {
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--primary-dark));
    margin: 0 auto 20px;
    border-radius: 2px;
}

.section-subtitle {
    font-size: 1.1rem;
    color: var(--text-light);
    max-width: 600px;
    margin: 0 auto;
}

/* ========================================
   BOUTONS
   ======================================== */

.btn {
    display: inline-block;
    padding: 14px 32px;
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;
    border-radius: 8px;
    transition: var(--transition);
    border: 2px solid transparent;
    cursor: pointer;
}

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

.btn-primary:hover {
    background-color: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.btn-secondary {
    background-color: transparent;
    color: var(--primary-color);
    border-color: var(--primary-color);
}

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

/* Bouton en cours d'envoi */
.btn:disabled {
    opacity: 0.7;
    cursor: not-allowed;
}

.btn-loading {
    display: inline-block;
}

.btn-loading::after {
    content: '';
    display: inline-block;
    width: 12px;
    height: 12px;
    margin-left: 8px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-top-color: white;
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* ========================================
   NAVIGATION
   ======================================== */

.navbar {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.08);
    position: sticky;
    top: 0;
    z-index: 2000;
    border-bottom: 1px solid rgba(255, 255, 255, 0.3);
}

.nav-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 0;
    position: relative;
}

.logo {
    display: flex;
    align-items: center;
    position: relative;
    z-index: 2002;
}

.logo img {
    max-height: 50px;
    width: auto;
    display: block;
    transition: var(--transition);
}

.logo img:hover {
    transform: scale(1.05);
}

.logo-text {
    font-size: 1.8rem;
    font-weight: 700;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    transition: var(--transition);
}

.logo-text:hover {
    transform: scale(1.05);
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 15px;
    align-items: center;
    margin: 0;
    padding: 0;
}

.nav-menu li {
    position: relative;
}

.nav-menu a {
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 600;
    font-size: 0.95rem;
    padding: 10px 20px;
    border-radius: 25px;
    transition: var(--transition);
    position: relative;
    display: block;
    overflow: hidden;
}

/* Effet de fond au survol */
.nav-menu a::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    transition: left 0.4s ease;
    z-index: -1;
    border-radius: 25px;
}

.nav-menu a:hover::before {
    left: 0;
}

.nav-menu a:hover {
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(102, 126, 234, 0.3);
}

/* Indicateur actif */
.nav-menu a.active {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    box-shadow: 0 5px 15px rgba(102, 126, 234, 0.4);
}

/* Bouton menu mobile */
.menu-toggle {
    display: none;
    flex-direction: column;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border: none;
    cursor: pointer;
    gap: 5px;
    padding: 12px;
    border-radius: 8px;
    transition: var(--transition);
    position: relative;
    z-index: 2003;
    -webkit-tap-highlight-color: transparent;
    touch-action: manipulation;
}

.menu-toggle:hover {
    transform: scale(1.1);
    box-shadow: 0 5px 15px rgba(102, 126, 234, 0.4);
}

.menu-toggle span {
    width: 25px;
    height: 3px;
    background-color: white;
    transition: all 0.3s ease;
    border-radius: 2px;
    display: block;
    pointer-events: none;
}

/* Animation d'apparition au scroll */
@keyframes slideDown {
    from {
        transform: translateY(-100%);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.navbar {
    animation: slideDown 0.5s ease-out;
}

/* ========================================
   HERO SECTION
   ======================================== */

.hero {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: var(--bg-white);
    padding: 120px 0;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg width="60" height="60" xmlns="http://www.w3.org/2000/svg"><circle cx="30" cy="30" r="1" fill="white" opacity="0.1"/></svg>');
    opacity: 0.3;
}

.hero-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
    position: relative;
    z-index: 1;
}

.hero-title {
    font-size: 3.2rem;
    font-weight: 700;
    margin-bottom: 25px;
    line-height: 1.2;
}

.hero-subtitle {
    font-size: 1.25rem;
    margin-bottom: 40px;
    opacity: 0.95;
    line-height: 1.7;
}

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

/* ========================================
   SECTION À PROPOS
   ======================================== */

.about {
    padding: 100px 0;
    background-color: var(--bg-white);
}

.about-content {
    max-width: 900px;
    margin: 0 auto;
}

.about-text p {
    font-size: 1.1rem;
    color: var(--text-light);
    margin-bottom: 25px;
    line-height: 1.8;
}

.about-intro {
    font-size: 1.25rem;
    color: var(--text-dark);
    font-weight: 500;
}

.values {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.value-item {
    padding: 30px;
    background-color: var(--bg-light);
    border-radius: 12px;
    transition: var(--transition);
}

.value-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}

.value-item h3 {
    font-size: 1.4rem;
    color: var(--primary-color);
    margin-bottom: 12px;
}

.value-item p {
    font-size: 0.95rem;
    color: var(--text-light);
}

/* ========================================
   SECTION SERVICES
   ======================================== */

.services {
    padding: 100px 0;
    background-color: var(--bg-light);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
}

.service-card {
    background-color: var(--bg-white);
    padding: 40px 30px;
    border-radius: 12px;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    text-align: center;
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
}

.service-icon {
    width: 100px;
    height: 100px;
    margin: 0 auto 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    border-radius: 20px;
    color: var(--bg-white);
    position: relative;
    transition: var(--transition);
    box-shadow: 0 8px 20px rgba(37, 99, 235, 0.3);
}

.service-icon::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(135deg, #667eea, #764ba2);
    border-radius: 22px;
    z-index: -1;
    opacity: 0;
    transition: var(--transition);
}

.service-card:hover .service-icon {
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 12px 30px rgba(37, 99, 235, 0.4);
}

.service-card:hover .service-icon::before {
    opacity: 0.3;
    animation: pulse 2s ease-in-out infinite;
}

.service-icon svg {
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.2));
    transition: transform 0.3s ease, filter 0.3s ease;
}

.service-card:hover .service-icon svg {
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.3));
}

/* Styles spécifiques pour chaque icône avec animations subtiles */
.service-icon-web svg {
    animation: floatWeb 3s ease-in-out infinite;
}

.service-icon-app svg {
    animation: floatApp 3s ease-in-out infinite 0.5s;
}

.service-icon-auto svg {
    animation: floatAuto 3s ease-in-out infinite 1s;
}

.service-card:hover .service-icon-web svg {
    animation: floatWebHover 3s ease-in-out infinite;
}

.service-card:hover .service-icon-app svg {
    animation: floatAppHover 3s ease-in-out infinite 0.5s;
}

.service-card:hover .service-icon-auto svg {
    animation: floatAutoHover 3s ease-in-out infinite 1s;
}

@keyframes floatWeb {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-6px);
    }
}

@keyframes floatApp {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-6px);
    }
}

@keyframes floatAuto {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-6px);
    }
}

@keyframes floatWebHover {
    0%, 100% {
        transform: translateY(0) rotate(0deg) scale(1.05);
    }
    50% {
        transform: translateY(-8px) rotate(3deg) scale(1.05);
    }
}

@keyframes floatAppHover {
    0%, 100% {
        transform: translateY(0) rotate(0deg) scale(1.05);
    }
    50% {
        transform: translateY(-8px) rotate(-3deg) scale(1.05);
    }
}

@keyframes floatAutoHover {
    0%, 100% {
        transform: translateY(0) rotate(0deg) scale(1.05);
    }
    50% {
        transform: translateY(-8px) rotate(5deg) scale(1.05);
    }
}

@keyframes float {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-8px);
    }
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
        opacity: 0.3;
    }
    50% {
        transform: scale(1.05);
        opacity: 0.5;
    }
}

.service-title {
    font-size: 1.5rem;
    color: var(--text-dark);
    margin-bottom: 15px;
    font-weight: 600;
}

.service-description {
    font-size: 1rem;
    color: var(--text-light);
    line-height: 1.7;
}

/* ========================================
   SECTION PROJETS
   ======================================== */

.projects {
    padding: 100px 0;
    background-color: var(--bg-white);
    overflow: hidden;
}

.projects-carousel-wrapper {
    position: relative;
    overflow-x: auto;
    overflow-y: hidden;
    margin: 0 auto;
    max-width: 100%;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.projects-carousel-wrapper::-webkit-scrollbar {
    display: none;
}

.projects-grid {
    display: flex;
    gap: 35px;
    transition: transform 0.8s ease-in-out;
    padding: 10px 20px;
}

.project-card {
    min-width: 350px;
    max-width: 350px;
    flex-shrink: 0;
    background-color: var(--bg-white);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
    scroll-snap-align: center;
}

.project-card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: var(--shadow-lg);
}

.project-image {
    width: 100%;
    height: 220px;
    object-fit: cover;
    background-color: var(--bg-light);
}

.project-content {
    padding: 25px;
}

.project-title {
    font-size: 1.4rem;
    color: var(--text-dark);
    margin-bottom: 12px;
    font-weight: 600;
}

.project-description {
    font-size: 0.95rem;
    color: var(--text-light);
    line-height: 1.6;
    margin-bottom: 20px;
}

.project-link {
    display: inline-flex;
    align-items: center;
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    transition: var(--transition);
}

.project-link:hover {
    color: var(--primary-dark);
    gap: 8px;
}

.project-link::after {
    content: '→';
    margin-left: 5px;
    transition: var(--transition);
}

/* ========================================
   SECTION BLOG
   ======================================== */

.blog {
    padding: 100px 0;
    background-color: var(--bg-light);
    overflow: hidden;
}

.blog-carousel-wrapper {
    position: relative;
    overflow-x: auto;
    overflow-y: hidden;
    margin: 0 auto;
    max-width: 100%;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.blog-carousel-wrapper::-webkit-scrollbar {
    display: none;
}

.blog-grid {
    display: flex;
    gap: 35px;
    transition: transform 0.8s ease-in-out;
    padding: 10px 20px;
}

.blog-card {
    min-width: 350px;
    max-width: 350px;
    flex-shrink: 0;
    background-color: var(--bg-white);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
    scroll-snap-align: center;
}

.blog-card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: var(--shadow-lg);
}

.blog-image {
    width: 100%;
    height: 220px;
    object-fit: cover;
    background-color: var(--bg-light);
}

.blog-content {
    padding: 25px;
}

.blog-category {
    display: inline-block;
    padding: 5px 12px;
    background-color: var(--primary-color);
    color: white;
    font-size: 0.8rem;
    border-radius: 4px;
    margin-bottom: 12px;
    font-weight: 600;
}

.blog-title {
    font-size: 1.3rem;
    color: var(--text-dark);
    margin-bottom: 12px;
    font-weight: 600;
    line-height: 1.4;
}

.blog-excerpt {
    font-size: 0.95rem;
    color: var(--text-light);
    line-height: 1.6;
    margin-bottom: 15px;
}

.blog-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.85rem;
    color: var(--secondary-color);
    padding-top: 15px;
    border-top: 1px solid var(--border-color);
}

.blog-link {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition);
}

.blog-link:hover {
    color: var(--primary-dark);
}

.carousel-dots {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 30px;
}

.carousel-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: var(--border-color);
    cursor: pointer;
    transition: var(--transition);
}

.carousel-dot.active {
    background-color: var(--primary-color);
    width: 30px;
    border-radius: 6px;
}

.carousel-controls {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-top: 30px;
}

.carousel-btn {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background-color: var(--primary-color);
    color: white;
    border: none;
    font-size: 1.2rem;
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
}

.carousel-btn:hover {
    background-color: var(--primary-dark);
    transform: scale(1.1);
}

.carousel-btn:disabled {
    background-color: var(--border-color);
    cursor: not-allowed;
    transform: scale(1);
}

/* ========================================
   SECTION CONTACT
   ======================================== */

.contact {
    padding: 100px 0;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    position: relative;
    overflow: hidden;
}

.contact::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg width="100" height="100" xmlns="http://www.w3.org/2000/svg"><circle cx="50" cy="50" r="2" fill="white" opacity="0.1"/></svg>');
    animation: float 20s linear infinite;
}

@keyframes float {
    from {
        transform: translateY(0);
    }
    to {
        transform: translateY(-100px);
    }
}

.contact .section-header h2,
.contact .section-subtitle {
    color: white;
}

.contact .title-underline {
    background: linear-gradient(90deg, rgba(255, 255, 255, 0.8), white);
}

.contact-content {
    max-width: 700px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.contact-form {
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    padding: 50px 40px;
    border-radius: 24px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: var(--transition);
}

.contact-form:hover {
    box-shadow: 0 12px 48px rgba(0, 0, 0, 0.3);
    transform: translateY(-5px);
}

.form-group {
    margin-bottom: 30px;
    position: relative;
}

.form-group label {
    display: block;
    font-weight: 600;
    color: white;
    margin-bottom: 10px;
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: var(--transition);
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 16px 20px;
    background: rgba(255, 255, 255, 0.9);
    border: 2px solid transparent;
    border-radius: 12px;
    font-size: 1rem;
    font-family: inherit;
    transition: var(--transition);
    color: var(--text-dark);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: rgba(30, 41, 59, 0.5);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    background: white;
    border-color: rgba(255, 255, 255, 0.8);
    box-shadow: 0 0 0 4px rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
}

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

.contact-form .btn-primary {
    width: 100%;
    padding: 18px 40px;
    font-size: 1.1rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    background: white;
    color: #667eea;
    border: none;
    border-radius: 12px;
    cursor: pointer;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
}

.contact-form .btn-primary::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 0;
    height: 0;
    border-radius: 50%;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    transition: width 0.6s ease, height 0.6s ease;
    z-index: -1;
}

.contact-form .btn-primary:hover::before {
    width: 400px;
    height: 400px;
}

.contact-form .btn-primary:hover {
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.3);
}

.contact-form .btn-primary:active {
    transform: translateY(-1px);
}

/* ========================================
   FOOTER
   ======================================== */

.footer {
    background-color: var(--text-dark);
    color: var(--bg-white);
    padding: 40px 0;
    text-align: center;
}

.footer-content p {
    font-size: 0.95rem;
    opacity: 0.9;
}

/* ========================================
   MESSAGE DE SUCCÈS
   ======================================== */

.success-message {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: var(--bg-white);
    padding: 50px 40px;
    border-radius: 12px;
    text-align: center;
    box-shadow: var(--shadow-lg);
    animation: slideIn 0.5s ease-out;
}

.success-icon {
    width: 80px;
    height: 80px;
    background-color: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    margin: 0 auto 25px;
    animation: scaleIn 0.6s ease-out 0.2s both;
}

.success-message h3 {
    font-size: 1.8rem;
    margin-bottom: 15px;
    font-weight: 600;
}

.success-message p {
    font-size: 1.1rem;
    opacity: 0.95;
    line-height: 1.6;
}

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

@keyframes scaleIn {
    from {
        transform: scale(0);
    }
    to {
        transform: scale(1);
    }
}

/* ========================================
   RESPONSIVE - UNE SEULE SECTION ICI !
   ======================================== */

@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        top: 0;
        left: -100%;
        flex-direction: column;
        background: rgba(255, 255, 255, 0.98);
        backdrop-filter: blur(20px);
        -webkit-backdrop-filter: blur(20px);
        width: 100%;
        padding: 30px;
        padding-top: 90px;
        box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
        transition: left 0.4s ease;
        gap: 20px;
        z-index: 1999;
        max-height: 100vh;
        overflow-y: auto;
        border-radius: 0;
        margin: 0;
        height: 100vh;
    }

    .nav-menu.active {
        left: 0 !important;
    }

    .menu-toggle {
        display: flex !important;
        position: relative;
        z-index: 2002;
    }
    
    .menu-toggle.active span:nth-child(1) {
        transform: rotate(45deg) translate(8px, 8px);
    }

    .menu-toggle.active span:nth-child(2) {
        opacity: 0;
    }

    .menu-toggle.active span:nth-child(3) {
        transform: rotate(-45deg) translate(8px, -8px);
    }
    
    .nav-menu a {
        width: 100%;
        padding: 15px 20px;
        text-align: center;
        display: block;
        border-radius: 8px;
    }
    
    .nav-menu a::before {
        display: none;
    }
    
    .nav-menu a:hover {
        background-color: var(--bg-light);
    }

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

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

    .section-title {
        font-size: 2rem;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: stretch;
    }

    .services-grid {
        grid-template-columns: 1fr;
    }
    
    .projects-grid {
        padding: 10px 10px;
        gap: 20px;
    }
    
    .project-card {
        min-width: calc(100vw - 60px);
        max-width: calc(100vw - 60px);
    }
    
    .projects-carousel-wrapper {
        padding: 0 30px;
    }

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

    .contact-form {
        padding: 35px 25px;
    }
    
    .blog-grid {
        padding: 10px 10px;
        gap: 20px;
    }
    
    .blog-card {
        min-width: calc(100vw - 60px);
        max-width: calc(100vw - 60px);
    }
    
    .blog-carousel-wrapper {
        padding: 0 30px;
    }
}

@media (max-width: 480px) {
    .hero {
        padding: 80px 0;
    }

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

    .section-title {
        font-size: 1.7rem;
    }

    .about,
    .services,
    .projects,
    .blog,
    .contact {
        padding: 60px 0;
    }
    
    .logo img {
        max-height: 40px;
    }
    
    .blog-card {
        min-width: calc(100vw - 40px);
        max-width: calc(100vw - 40px);
    }
    
    .blog-carousel-wrapper {
        padding: 0 20px;
    }
    
    .project-card {
        min-width: calc(100vw - 40px);
        max-width: calc(100vw - 40px);
    }
    
    .projects-carousel-wrapper {
        padding: 0 20px;
    }
    
    .projects-grid {
        gap: 15px;
    }
    
    .blog-grid {
        gap: 15px;
    }
    
    .success-message {
        padding: 40px 25px;
    }
    
    .success-icon {
        width: 60px;
        height: 60px;
        font-size: 2rem;
    }
    
    .success-message h3 {
        font-size: 1.5rem;
    }
    
    .success-message p {
        font-size: 1rem;
    }
    
    .contact-form .btn-primary {
        font-size: 1rem;
        padding: 16px 32px;
    }
}