/* 
 * ParrotLab Landing Page Styles
 * A modern and responsive design for technology services
 */

:root {
    --primary-color: #35b8c4;
    --secondary-color: #1e2938;
    --accent-color: #6b55a3;
    --text-color: #333;
    --light-text: #f5f5f5;
    --light-gray: #f8f9fa;
    --medium-gray: #e9ecef;
    --dark-gray: #495057;
    --border-color: #dee2e6;
    --shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    --transition: all 0.3s ease;
    --background-gradient: linear-gradient(135deg, #1e2938 0%, #252d3b 50%, #35335a 100%);
    --section-padding: 5rem 0;
    --container-width: 1200px;
    --border-radius: 4px;
}

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

html {
    scroll-behavior: smooth;
    overflow-x: hidden;
}

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

a {
    color: var(--primary-color);
    text-decoration: none;
    transition: var(--transition);
}

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

img {
    max-width: 100%;
    height: auto;
    display: block;
}

ul {
    list-style: none;
}

.container {
    max-width: var(--container-width);
    width: 100%;
    margin: 0 auto;
    padding: 0 1.5rem;
    box-sizing: border-box;
}

.section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.section-header h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: var(--secondary-color);
    position: relative;
    display: inline-block;
}

.dark-section .section-header h2 {
    color: var(--light-text);
}

.section-header h2::after {
    content: '';
    display: block;
    width: 50px;
    height: 3px;
    background-color: var(--primary-color);
    margin: 0.5rem auto 0;
}

.section-header p {
    font-size: 1.2rem;
    color: var(--dark-gray);
}

.dark-section .section-header p {
    color: var(--medium-gray);
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 0.8rem 1.5rem;
    border-radius: var(--border-radius);
    font-weight: 500;
    text-align: center;
    cursor: pointer;
    transition: var(--transition);
    border: none;
}

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

.btn-primary:hover {
    background-color: #2da6b2;
    color: white;
}

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

.btn-secondary:hover {
    background-color: #16202b;
    color: white;
}

.btn-outline {
    background-color: transparent;
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
}

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

.dark-section .btn-outline {
    border-color: white;
    color: white;
}

.dark-section .btn-outline:hover {
    background-color: white;
    color: var(--secondary-color);
}

.btn-large {
    padding: 1rem 2rem;
    font-size: 1.1rem;
}

/* Header */
header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background-color: white;
    box-shadow: var(--shadow);
    z-index: 1000;
    padding: 1rem 0;
    transition: var(--transition);
}

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

.logo {
    display: flex;
    align-items: center;
}

.logo a {
    display: flex;
    align-items: center;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--secondary-color);
}

.logo img {
    max-height: 40px;
    margin-right: 0.5rem;
}

.nav-links {
    display: flex;
}

.nav-links li {
    margin: 0 1rem;
}

.nav-links a {
    color: var(--dark-gray);
    font-weight: 500;
    position: relative;
}

.nav-links a:hover {
    color: var(--primary-color);
}

.nav-links a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -5px;
    left: 0;
    background-color: var(--primary-color);
    transition: var(--transition);
}

.nav-links a:hover::after {
    width: 100%;
}

.cta-buttons {
    display: flex;
    gap: 1rem;
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    color: var(--secondary-color);
    cursor: pointer;
}

/* Hero Section */
#hero {
    padding: 10rem 0 5rem;
    position: relative;
}

.hero-content {
    max-width: 600px;
    margin-bottom: 2rem;
}

.hero-content h1 {
    font-size: 3rem;
    line-height: 1.2;
    margin-bottom: 1.5rem;
    color: var(--light-text);
}

.hero-content p {
    font-size: 1.25rem;
    margin-bottom: 2rem;
    color: var(--medium-gray);
}

.hero-cta {
    display: flex;
    gap: 1rem;
}

.hero-image {
    text-align: center;
}

.hero-image img {
    max-width: 100%;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    transition: transform 0.3s ease;
}

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

/* About Section */
#about {
    padding: var(--section-padding);
    background-color: var(--light-gray);
}

.about-content {
    display: flex;
    align-items: center;
    gap: 4rem;
}

.about-text {
    flex: 1;
}

.about-text p {
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
}

.about-image {
    flex: 1;
}

.about-image img {
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
}

/* Services Section */
#services {
    padding: var(--section-padding);
}

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

.service-card {
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: var(--border-radius);
    padding: 2rem;
    text-align: center;
    transition: var(--transition);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.service-card:hover {
    background-color: rgba(255, 255, 255, 0.15);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.service-icon {
    font-size: 3rem;
    margin-bottom: 1.5rem;
    color: var(--primary-color);
}

.service-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--light-text);
}

.service-card p {
    color: var(--medium-gray);
}

/* Approach Section */
#approach {
    padding: var(--section-padding);
    background-color: var(--light-gray);
}

.steps {
    max-width: 800px;
    margin: 0 auto;
}

.step {
    display: flex;
    align-items: center;
    margin-bottom: 3rem;
    position: relative;
}

.step:last-child {
    margin-bottom: 0;
}

.step::after {
    content: '';
    position: absolute;
    top: 3rem;
    left: 2rem;
    width: 2px;
    height: calc(100% + 3rem);
    background-color: var(--primary-color);
    z-index: 0;
}

.step:last-child::after {
    display: none;
}

.step-number {
    width: 4rem;
    height: 4rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--primary-color);
    color: white;
    font-size: 1.5rem;
    font-weight: bold;
    border-radius: 50%;
    margin-right: 2rem;
    z-index: 1;
}

.step-content {
    flex: 1;
}

.step-content h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    color: var(--secondary-color);
}

.step-content p {
    color: var(--dark-gray);
}

/* Technologies Section */
#technologies {
    padding: 4rem 0;
    position: relative;
    overflow: visible;
}

.tech-overview {
    max-width: 800px;
    margin: 0 auto 3rem;
    text-align: center;
}

.tech-intro {
    font-size: 1.1rem;
    line-height: 1.8;
    font-weight: 300;
}

.tech-categories {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
    position: relative;
}

.tech-category {
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 2rem;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    height: 100%;
    display: flex;
    flex-direction: column;
    position: relative;
    overflow: hidden;
}

.tech-category h3 {
    font-size: 1.4rem;
    margin-bottom: 1rem;
    color: var(--primary-color);
    position: relative;
    display: inline-block;
}

.tech-category p {
    margin-bottom: 1.5rem;
    font-size: 0.95rem;
    opacity: 0.9;
    flex-grow: 1;
    color: var(--light-text);
}

.tech-icons-container {
    margin-top: auto;
    position: relative;
    z-index: 10;
}

.tech-icons {
    display: flex;
    flex-wrap: nowrap;
    gap: 1.5rem;
    justify-content: space-around;
    align-items: center;
    width: 100%;
    margin-top: 1rem;
    position: relative;
}

.tech-icon {
    text-align: center;
    position: relative;
    cursor: pointer;
    flex: 1;
    min-width: 0;
    max-width: 80px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    z-index: 20;
}

.tech-icon i {
    font-size: 2.2rem;
    margin-bottom: 0.5rem;
    color: var(--light-text);
    display: block;
}

.tech-icon span {
    display: block;
    font-size: 0.8rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 100%;
    color: var(--light-text);
    font-weight: 500;
}

.tech-icon .tooltip {
    position: absolute;
    bottom: 130%;
    left: 50%;
    transform: translateX(-50%);
    background-color: var(--primary-color);
    color: white;
    padding: 0.7rem 1rem;
    border-radius: 8px;
    font-size: 0.8rem;
    width: 220px;
    text-align: center;
    white-space: normal;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 9999;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
    pointer-events: none;
    font-weight: 500;
    line-height: 1.4;
}

.tech-icon .tooltip::after {
    content: "";
    position: absolute;
    top: 100%;
    left: 50%;
    margin-left: -8px;
    border-width: 8px;
    border-style: solid;
    border-color: var(--primary-color) transparent transparent transparent;
}

.tech-icon:hover .tooltip {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(-5px);
}

.tech-benefits {
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 2.5rem;
    margin-top: 3rem;
}

.tech-benefits h3 {
    text-align: center;
    margin-bottom: 2rem;
    font-size: 1.6rem;
    color: var(--primary-color);
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 2rem;
}

.benefit-item {
    text-align: center;
    padding: 1.5rem;
    border-radius: 8px;
    background-color: rgba(255, 255, 255, 0.05);
}

.benefit-item i {
    font-size: 2.5rem;
    color: var(--accent-color);
    margin-bottom: 1rem;
    display: block;
}

.benefit-item h4 {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
    color: var(--light-text);
}

.benefit-item p {
    font-size: 0.9rem;
    opacity: 0.8;
    color: var(--light-text);
}

/* Blog Section */
#blog {
    padding: var(--section-padding);
    background-color: var(--light-gray);
}

.blog-intro {
    max-width: 800px;
    margin: 0 auto 3rem;
    text-align: center;
    font-size: 1.1rem;
    line-height: 1.7;
    color: var(--dark-gray);
}

.blog-featured {
    margin-bottom: 3rem;
}

.blog-categories {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 4rem;
}

.blog-category {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    border: 1px solid rgba(53, 184, 196, 0.1);
    position: relative;
    overflow: hidden;
}

.blog-category::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
    border-radius: 12px 12px 0 0;
}

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

.category-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    color: white;
    font-size: 2rem;
}

.blog-category h3 {
    font-size: 1.4rem;
    margin-bottom: 1rem;
    color: var(--secondary-color);
}

.blog-category p {
    color: var(--dark-gray);
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.category-stats {
    margin-top: auto;
}

.category-stats span {
    background: var(--light-gray);
    color: var(--primary-color);
    padding: 0.4rem 1rem;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
}

.blog-recent h3 {
    text-align: center;
    margin-bottom: 2rem;
    font-size: 1.8rem;
    color: var(--secondary-color);
}

.blog-posts {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
}

.blog-post {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    border: 1px solid rgba(53, 184, 196, 0.1);
}

.blog-post:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
}

.post-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
}

.post-category {
    background: var(--primary-color);
    color: white;
    padding: 0.3rem 0.8rem;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.post-date {
    color: var(--dark-gray);
    font-size: 0.9rem;
}

.blog-post h4 {
    margin-bottom: 1rem;
    line-height: 1.4;
}

.blog-post h4 a {
    color: var(--secondary-color);
    text-decoration: none;
    transition: color 0.3s ease;
}

.blog-post h4 a:hover {
    color: var(--primary-color);
}

.blog-post p {
    color: var(--dark-gray);
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

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

.tag {
    background: var(--light-gray);
    color: var(--dark-gray);
    padding: 0.3rem 0.8rem;
    border-radius: 15px;
    font-size: 0.8rem;
    border: 1px solid var(--border-color);
}

.blog-cta {
    text-align: center;
    padding: 3rem 2rem;
    background: white;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(53, 184, 196, 0.1);
    position: relative;
    overflow: hidden;
}

.blog-cta::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
    border-radius: 16px 16px 0 0;
}

.blog-cta p {
    margin-top: 1rem;
    color: var(--dark-gray);
    font-style: italic;
}

/* Contact Section */
#contact {
    padding: 5rem 0;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    position: relative;
}

/* Contact Methods */
.contact-methods {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin: 3rem 0 4rem;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.contact-method {
    background: white;
    padding: 2rem;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    text-align: center;
    border: 1px solid rgba(53, 184, 196, 0.1);
    position: relative;
    overflow: hidden;
}

.contact-method::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
    border-radius: 16px 16px 0 0;
}

.method-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    color: white;
    font-size: 2rem;
}

.method-content h4 {
    font-size: 1.4rem;
    margin-bottom: 0.5rem;
    color: var(--secondary-color);
}

.method-content p {
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
    color: var(--text-color);
}

.method-content p a {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
}

.method-content p a:hover {
    text-decoration: underline;
}

.method-content span {
    font-size: 0.9rem;
    color: var(--dark-gray);
    font-style: italic;
}

/* Contact Form Section */
.contact-form-section {
    max-width: 800px;
    margin: 0 auto;
    background: white;
    padding: 3rem;
    border-radius: 20px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
    position: relative;
    overflow: hidden;
}

.contact-form-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 6px;
    background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
    border-radius: 20px 20px 0 0;
}

.form-intro {
    text-align: center;
    margin-bottom: 2.5rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid #e9ecef;
}

.form-intro h3 {
    font-size: 1.8rem;
    color: var(--secondary-color);
    margin-bottom: 0.5rem;
    font-weight: 700;
}

.form-intro p {
    font-size: 1.1rem;
    color: var(--dark-gray);
    line-height: 1.6;
}

/* Form Grid Layout */
.form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.form-group-full {
    grid-column: 1 / -1;
}



.social-links {
    display: flex;
    gap: 1rem;
    margin-top: 2rem;
}

.social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 2.5rem;
    height: 2.5rem;
    background-color: var(--light-gray);
    color: var(--primary-color);
    border-radius: 50%;
    transition: var(--transition);
}

.social-links a:hover {
    background-color: var(--primary-color);
    color: white;
}

/* Form Styling */
.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.8rem;
    font-weight: 600;
    color: var(--secondary-color);
    font-size: 0.95rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 1rem 1.2rem;
    border: 2px solid #e9ecef;
    border-radius: 12px;
    background: #f8f9fa;
    color: var(--text-color);
    font-size: 1rem;
    font-family: inherit;
    transition: all 0.3s ease;
    box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.02);
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--primary-color);
    background: white;
    box-shadow: 0 0 0 3px rgba(53, 184, 196, 0.1), inset 0 2px 4px rgba(0, 0, 0, 0.02);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: #6c757d;
    font-style: italic;
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
    font-family: inherit;
}

.form-group select {
    appearance: none;
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 20 20'%3e%3cpath stroke='%236b7280' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.5' d='m6 8 4 4 4-4'/%3e%3c/svg%3e");
    background-position: right 1rem center;
    background-repeat: no-repeat;
    background-size: 1.5em 1.5em;
    padding-right: 3rem;
}

.error-message {
    display: block;
    color: #dc3545;
    font-size: 0.85rem;
    margin-top: 0.5rem;
    min-height: 1.2rem;
    font-weight: 500;
}

.char-counter {
    text-align: right;
    font-size: 0.8rem;
    color: #6c757d;
    margin-top: 0.5rem;
    font-weight: 500;
}

.form-group.error input,
.form-group.error textarea,
.form-group.error select {
    border-color: #dc3545;
    background: #fff5f5;
    box-shadow: 0 0 0 3px rgba(220, 53, 69, 0.1);
}

.form-group.success input,
.form-group.success textarea,
.form-group.success select {
    border-color: #28a745;
    background: #f8fff9;
    box-shadow: 0 0 0 3px rgba(40, 167, 69, 0.1);
}

/* Form Actions */
.form-actions {
    text-align: center;
    margin-top: 2rem;
}

.btn-submit {
    width: 100%;
    max-width: 400px;
    position: relative;
    overflow: hidden;
    padding: 1.2rem 2rem;
    font-size: 1.1rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    border: none;
    border-radius: 12px;
    color: white;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(53, 184, 196, 0.3);
}

.btn-submit:disabled {
    opacity: 0.7;
    cursor: not-allowed;
}

.btn-loading {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.form-disclaimer {
    margin-top: 1rem;
    font-size: 0.9rem;
    color: var(--dark-gray);
    font-style: italic;
    max-width: 400px;
    margin-left: auto;
    margin-right: auto;
}

.form-message {
    margin-top: 2rem;
    padding: 1.2rem 1.5rem;
    border-radius: 12px;
    font-weight: 500;
    text-align: center;
    display: none;
}

.form-message.success {
    background: linear-gradient(135deg, #d4edda, #c3e6cb);
    border: 2px solid #28a745;
    color: #155724;
    display: block;
}

.form-message.error {
    background: linear-gradient(135deg, #f8d7da, #f1aeb5);
    border: 2px solid #dc3545;
    color: #721c24;
    display: block;
}

/* Footer */
footer {
    padding: 4rem 0 2rem;
}

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

.footer-logo {
    margin-bottom: 1.5rem;
}

.footer-logo img {
    max-width: 150px;
    margin-bottom: 1rem;
}

.footer-links h3,
.footer-social h3 {
    font-size: 1.2rem;
    margin-bottom: 1.5rem;
    color: var(--light-text);
}

.footer-links ul li {
    margin-bottom: 0.8rem;
}

.footer-links ul li a {
    color: var(--medium-gray);
}

.footer-links ul li a:hover {
    color: var(--primary-color);
}

.social-icons {
    display: flex;
    gap: 1rem;
}

.social-icons a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 2.5rem;
    height: 2.5rem;
    background-color: rgba(255, 255, 255, 0.1);
    color: var(--light-text);
    border-radius: 50%;
    transition: var(--transition);
}

.social-icons a:hover {
    background-color: var(--primary-color);
}

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

.footer-bottom p {
    color: var(--medium-gray);
}

/* Dark Section */
.dark-section {
    background: var(--background-gradient);
    color: var(--light-text);
}

/* Prevent horizontal scroll on all elements */
.container,
.showcase-wrapper,
.software-carousel,
.tech-icons,
.benefits-grid {
    overflow-x: hidden;
}

/* Responsive Styles */
@media (max-width: 991px) {
    .section-header h2 {
        font-size: 2rem;
    }
    
    .hero-content h1 {
        font-size: 2.5rem;
    }
    
    .about-content {
        flex-direction: column;
        gap: 2rem;
    }
    
    .contact-methods {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        margin: 2rem 0 3rem;
    }
    
    .contact-form-section {
        padding: 2rem;
    }
    
    .form-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
}

/* Medium devices - tablets */
@media (max-width: 992px) {
    .showcase-text {
        padding: 2rem;
    }
    
    .showcase-text h3 {
        font-size: 1.6rem;
    }
    
    .video-wrapper {
        padding-bottom: 50%;
    }
}

@media (min-width: 769px) and (max-width: 1024px) {
    .tech-categories {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }
    
    .tech-category {
        min-height: 270px;
    }
    
    .tech-icon {
        max-width: 75px;
    }
    
    .blog-categories {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }
    
    .blog-posts {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
}

@media (min-width: 1025px) {
    .tech-categories {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    }
    
    .tech-category {
        min-height: 280px;
    }
}

@media (max-width: 768px) {
    .nav-links, .cta-buttons {
        display: none;
    }
    
    .nav-links.active {
        display: flex;
        flex-direction: column;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: white;
        border-top: 1px solid #e9ecef;
        box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
        padding: 1rem 0;
        z-index: 1001;
        border-radius: 0 0 12px 12px;
    }
    
    .nav-links.active li {
        margin: 0;
        border-bottom: 1px solid #f8f9fa;
    }
    
    .nav-links.active li:last-child {
        border-bottom: none;
    }
    
    .nav-links.active a {
        display: block;
        padding: 1rem 2rem;
        color: var(--secondary-color);
        text-decoration: none;
        transition: background-color 0.3s ease;
    }
    
    .nav-links.active a:hover {
        background-color: #f8f9fa;
        color: var(--primary-color);
    }
    
    .nav-links.active a::after {
        display: none;
    }
    
    .mobile-menu-btn {
        display: block;
    }
    
    #hero {
        padding: 8rem 0 3rem;
    }
    
    .hero-content {
        text-align: center;
        margin: 0 auto 2rem;
    }
    
    .hero-cta {
        justify-content: center;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    .step {
        flex-direction: column;
        text-align: center;
    }
    
    .step-number {
        margin: 0 0 1rem 0;
    }
    
    .step::after {
        display: none;
    }
    
    .tech-icons {
        gap: 2rem;
    }
    
    .tech-categories {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .tech-category {
        padding: 1.5rem;
        min-height: 250px;
    }
    
    .tech-icon {
        max-width: 70px;
    }
    
    .tech-icon i {
        font-size: 1.8rem;
    }
    
    .tech-icon span {
        font-size: 0.75rem;
    }
    
    .tech-icon .tooltip {
        width: 180px;
        font-size: 0.75rem;
        padding: 0.5rem;
    }
    
    .benefits-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .blog-categories {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        margin-bottom: 3rem;
    }
    
    .blog-posts {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .blog-post {
        padding: 1.5rem;
    }
    
    .blog-cta {
        padding: 2rem 1.5rem;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .footer-logo {
        margin: 0 auto 1.5rem;
    }
    
    .social-icons {
        justify-content: center;
    }
}

@media (max-width: 576px) {
    .container {
        padding: 0 1rem;
    }
    
    .section-header h2 {
        font-size: 1.75rem;
    }
    
    .hero-content h1 {
        font-size: 2rem;
    }
    
    .btn {
        padding: 0.7rem 1.2rem;
        font-size: 0.9rem;
    }
    
    .btn-large {
        padding: 0.8rem 1.5rem;
        font-size: 1rem;
    }
    
    .hero-cta {
        flex-direction: column;
        gap: 1rem;
    }
    
    /* Step lines fix for mobile */
    .step::after {
        display: none;
    }
    
    /* Services grid improvements */
    .service-card {
        padding: 1.5rem;
        margin-bottom: 1rem;
    }
    
    .service-card h3 {
        font-size: 1.3rem;
    }
    
    .service-card p {
        font-size: 0.9rem;
    }
    
    /* Tech icons responsive */
    .tech-icons {
        gap: 1.5rem;
        justify-content: center;
    }
    
    .tech-icon {
        flex-direction: column;
        text-align: center;
        gap: 0.5rem;
    }
    
    .tech-icon span {
        font-size: 0.8rem;
    }
    
    /* Contact section improvements */
    .contact-methods {
        grid-template-columns: 1fr;
        gap: 1rem;
        margin: 2rem 0;
    }
    
    .contact-method {
        padding: 1.5rem;
    }
    
    .method-icon {
        width: 60px;
        height: 60px;
        font-size: 1.5rem;
        margin-bottom: 1rem;
    }
    
    .method-content h4 {
        font-size: 1.2rem;
    }
    
    .method-content p {
        font-size: 1rem;
    }

    .contact-form-section {
        padding: 1.5rem;
    }
    
    .form-intro h3 {
        font-size: 1.5rem;
    }
    
    .form-intro p {
        font-size: 1rem;
    }

    .form-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .form-group {
        margin-bottom: 1rem;
    }

    .form-group input,
    .form-group textarea,
    .form-group select {
        padding: 0.9rem 1rem;
        font-size: 0.95rem;
    }
    
    .btn-submit {
        padding: 1rem 1.5rem;
        font-size: 1rem;
    }
    
    /* Hero section mobile improvements */
    .hero-features {
        margin: 1.5rem 0;
    }
    
    .hero-features li {
        font-size: 0.9rem;
        margin-bottom: 0.5rem;
    }
    
    /* About section mobile */
    .about-text p {
        font-size: 0.95rem;
        margin-bottom: 1rem;
    }
}

/* Extra small devices - phones in portrait */
@media (max-width: 480px) {
    .container {
        padding: 0 0.75rem;
    }
    
    .section-header h2 {
        font-size: 1.5rem;
        line-height: 1.3;
    }
    
    .section-header p {
        font-size: 1rem;
    }
    
    .hero-content h1 {
        font-size: 1.75rem;
        line-height: 1.3;
    }
    
    .hero-content p {
        font-size: 1.1rem;
    }
    
    .btn {
        padding: 0.6rem 1rem;
        font-size: 0.85rem;
        width: 100%;
        text-align: center;
    }
    
    .btn-large {
        padding: 0.75rem 1.25rem;
        font-size: 0.95rem;
    }
    
    /* Services cards for small screens */
    .service-card {
        padding: 1.25rem;
    }
    
    .service-card h3 {
        font-size: 1.2rem;
    }
    
    .service-card p {
        font-size: 0.85rem;
        line-height: 1.5;
    }
    
    /* Tech categories spacing */
    .tech-category {
        padding: 1rem;
        margin-bottom: 1.5rem;
    }
    
    .tech-category h3 {
        font-size: 1.1rem;
    }
    
    .tech-category p {
        font-size: 0.85rem;
    }
    
    /* Steps mobile optimization */
    .step {
        margin-bottom: 2rem;
        padding: 1rem;
        background: rgba(255, 255, 255, 0.05);
        border-radius: 8px;
    }
    
    .step-content h3 {
        font-size: 1.1rem;
    }
    
    .step-content p {
        font-size: 0.85rem;
    }
    
    /* Benefits grid mobile */
    .benefit-item {
        padding: 1rem;
        text-align: center;
    }
    
    .benefit-item h4 {
        font-size: 1rem;
    }
    
    .benefit-item p {
        font-size: 0.85rem;
    }
}

/* Small phones and devices */
@media (max-width: 414px) {
    .container {
        padding: 0 1rem;
    }
    
    /* Showcase/Infisium Section Optimizations */
    .showcase-wrapper {
        overflow: visible;
        margin: 1rem 0;
    }
    
    .showcase-content {
        flex-direction: column;
    }
    
    .showcase-text,
    .showcase-video {
        min-width: auto;
        width: 100%;
        padding: 1.5rem;
        box-sizing: border-box;
        word-wrap: break-word;
        overflow-wrap: break-word;
    }
    
    .showcase-text h3 {
        font-size: 1.5rem;
        line-height: 1.3;
        word-wrap: break-word;
        overflow-wrap: break-word;
        hyphens: auto;
    }
    
    .showcase-description {
        font-size: 1rem;
        margin-bottom: 1.2rem;
        line-height: 1.5;
        word-wrap: break-word;
        overflow-wrap: break-word;
    }
    
    .showcase-features {
        margin-bottom: 1.5rem;
    }
    
    .showcase-features li {
        font-size: 0.95rem;
        margin-bottom: 0.6rem;
        padding-left: 1.2rem;
        padding-right: 0.5rem;
        word-wrap: break-word;
        overflow-wrap: break-word;
    }
    
    .showcase-stats {
        flex-direction: column;
        gap: 1rem;
        margin-bottom: 1.5rem;
    }
    
    .stat {
        text-align: center;
    }
    
    .stat-number {
        font-size: 1.8rem;
    }
    
    .stat-text {
        font-size: 0.8rem;
        word-wrap: break-word;
        overflow-wrap: break-word;
    }
    
    .showcase-cta {
        flex-direction: column;
        gap: 0.8rem;
    }
    
    .showcase-cta .btn {
        width: 100%;
        text-align: center;
        padding: 0.8rem 1rem;
        font-size: 0.9rem;
        word-wrap: break-word;
        overflow-wrap: break-word;
        white-space: normal;
        box-sizing: border-box;
    }
    
    /* Carousel adjustments for small screens */
    .carousel-track {
        height: 220px;
    }
    
    .slide-content {
        padding: 1rem;
    }
    
    .slide-content h4 {
        font-size: 1rem;
    }
    
    .slide-content p {
        font-size: 0.85rem;
        margin-top: 0.8rem;
    }
    
    .slide-badge {
        font-size: 0.65rem;
        padding: 0.25rem 0.5rem;
    }
    
    .carousel-thumbnails {
        padding: 0.5rem;
        gap: 0.3rem;
    }
    
    .thumbnail {
        width: 35px;
        height: 25px;
    }
    
    .carousel-prev,
    .carousel-next {
        width: 35px;
        height: 35px;
    }
    
    .carousel-prev i,
    .carousel-next i {
        font-size: 1rem;
    }
    
    /* Video wrapper adjustments */
    .video-wrapper {
        margin-bottom: 1rem;
    }
    
    /* Device mockups - hide on very small screens */
    .device-mockups {
        display: none;
    }
}

/* Very small devices */
@media (max-width: 360px) {
    .container {
        padding: 0 0.5rem;
    }
    
    .section-header h2 {
        font-size: 1.3rem;
    }
    
    .hero-content h1 {
        font-size: 1.5rem;
    }
    
    .btn {
        padding: 0.5rem 0.8rem;
        font-size: 0.8rem;
    }
    
    /* Extra small optimizations */
    .service-card {
        padding: 1rem;
    }
    
    .service-card h3 {
        font-size: 1.1rem;
    }
    
    .service-card p {
        font-size: 0.8rem;
    }
    
    .tech-category {
        padding: 0.75rem;
    }
    
    .tech-icon span {
        font-size: 0.7rem;
    }
    
    .step {
        padding: 0.75rem;
        margin-bottom: 1.5rem;
    }
    
    .step-number {
        width: 3rem;
        height: 3rem;
        font-size: 1.2rem;
    }
    
    .contact-form-section {
        padding: 1rem;
    }
    
    .method-icon {
        width: 50px;
        height: 50px;
        font-size: 1.2rem;
    }
    
    .method-content h4 {
        font-size: 1.1rem;
    }
    
    .form-intro h3 {
        font-size: 1.3rem;
    }
    
    .form-group input,
    .form-group textarea,
    .form-group select {
        font-size: 0.9rem;
        padding: 0.8rem;
    }
    
    .btn-submit {
        padding: 0.9rem 1.2rem;
        font-size: 0.95rem;
    }
    
    /* Additional Infisium optimizations for very small screens */
    .showcase-wrapper {
        overflow: visible;
        margin: 0.5rem 0;
    }
    
    .showcase-text,
    .showcase-video {
        min-width: auto;
        width: 100%;
        padding: 1rem;
    }
    
    .showcase-text h3 {
        font-size: 1.3rem;
        word-wrap: break-word;
        overflow-wrap: break-word;
        hyphens: auto;
    }
    
    .showcase-description {
        font-size: 0.9rem;
        word-wrap: break-word;
        overflow-wrap: break-word;
    }
    
    .showcase-features li {
        font-size: 0.85rem;
        word-wrap: break-word;
        overflow-wrap: break-word;
        padding-right: 0.3rem;
    }
    
    .carousel-track {
        height: 200px;
    }
    
    .slide-content h4 {
        font-size: 0.9rem;
    }
    
    .slide-content p {
        font-size: 0.8rem;
    }
}

/* Animations - Disabled to prevent scroll jumping */
.animate-fadeIn {
    opacity: 1;
}

/* Software Carousel Styles - Effetto satinato */
.slide-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to bottom, rgba(30, 41, 56, 0.6), rgba(30, 41, 56, 0.8));
    backdrop-filter: blur(3px);
    -webkit-backdrop-filter: blur(3px);
    z-index: 1;
    mix-blend-mode: multiply;
}

.slide-image-container {
    overflow: hidden;
}

.slide-image {
    filter: saturate(0.9) contrast(1.1);
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.carousel-slide.active .slide-image {
    /* Animation disabled to prevent scroll jumping */
}

.carousel-slide::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255, 255, 255, 0.05);
    z-index: 2;
    pointer-events: none;
}

/* zoomEffect keyframe removed to prevent scroll jumping */