:root {
    --primary-color: #4c6fff;
    --primary-rgb: 76, 111, 255;
    --secondary-color: #7f45ff;
    --dark-color: #1d1d1d;
    --light-color: #f8f9fa;
    --white-color: #ffffff; /* Added missing white-color variable */
    --accent-color: #ff6b6b;
    --text-color: #333333;
    --grey-color: #f0f0f0;
    --transition: all 0.3s ease;
    --shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    --border-radius: 8px;
    --container-padding: 15px;
    --transition-smooth: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --card-hover-y: -8px;
    --section-spacing: 80px;
}

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

body {
    font-family: 'Poppins', sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    overflow-x: hidden;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding-left: var(--container-padding);
    padding-right: var(--container-padding);
}

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

ul {
    list-style: none;
}

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

/* Header Styles */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background-color: var(--white-color);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.header .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 15px;
    padding-bottom: 15px;
}

.logo a {
    text-decoration: none;
    color: var(--dark-color);
    font-weight: 700;
    font-size: 1.8rem;
}

.logo span {
    color: var(--primary-color);
}

.main-nav ul {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
    align-items: center;
}

.main-nav li {
    margin-left: 30px;
}

.main-nav a {
    text-decoration: none;
    color: var(--dark-color);
    font-weight: 500;
    transition: var(--transition);
    position: relative;
    padding-bottom: 5px;
}

.main-nav a:hover, .main-nav a.active {
    color: var(--primary-color);
}

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

.main-nav a:hover::after, .main-nav a.active::after {
    width: 100%;
}

.menu-toggle {
    display: none;
    font-size: 1.5rem;
    cursor: pointer;
}

@media screen and (max-width: 768px) {
    .menu-toggle {
        display: block;
        width: 40px;
        height: 40px;
        border-radius: 50%;
        background-color: var(--white-color);
        box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
        display: flex;
        align-items: center;
        justify-content: center;
        position: relative;
        z-index: 1010;
    }
    
    .main-nav {
        position: fixed;
        top: 70px;
        left: 0;
        width: 100%;
        height: calc(100vh - 70px);
        background-color: var(--white-color); /* Now using the properly defined variable */
        box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
        transform: translateX(100%);
        transition: transform 0.3s ease;
        overflow-y: auto;
        padding-bottom: 50px;
        z-index: 1000; /* Ensure proper stacking */
    }
    
    .main-nav.active {
        transform: translateX(0);
    }
    
    .main-nav ul {
        flex-direction: column;
        padding: 20px 0;
    }
    
    .main-nav li {
        margin: 0;
        width: 100%;
        text-align: center;
    }
    
    .main-nav a {
        display: block;
        padding: 15px;
        font-size: 1.1rem;
    }
    
    .main-nav a::after {
        display: none;
    }
    
    .btn-contact {
        margin-top: 20px;
    }
    
    .btn-contact a {
        display: inline-block;
        background-color: var(--primary-color);
        color: white !important;
        padding: 10px 25px;
        border-radius: 25px;
    }
    
    body.menu-open {
        overflow: hidden; /* Prevent background scrolling */
    }
}

/* Hero Section */
.hero {
    padding: 150px 0 100px;
    background-color: white;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    background: radial-gradient(circle at top right, rgba(76, 111, 255, 0.1), transparent 70%);
    z-index: 0;
}

.hero .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: relative;
    z-index: 1;
}

.hero-content {
    flex: 1;
    max-width: 550px;
}

.hero-image {
    flex: 1;
    text-align: right;
    margin-left: 30px;
}

.hero h1 {
    font-size: 3.5rem;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 20px;
    color: var(--dark-color);
}

.hero h1 span {
    color: var(--primary-color);
    position: relative;
    display: inline-block;
}

.hero h1 span::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 6px;
    background-color: rgba(76, 111, 255, 0.3);
    bottom: 5px;
    left: 0;
    z-index: -1;
}

.hero p {
    font-size: 1.1rem;
    margin-bottom: 30px;
    color: #555;
}

.hero-buttons {
    display: flex;
    gap: 15px;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 28px;
    border-radius: 30px;
    font-weight: 500;
    cursor: pointer;
    transition: var(--transition);
    border: none;
    font-size: 1rem;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, var(--primary-color), var(--secondary-color));
    z-index: -1;
    transition: var(--transition-smooth);
    opacity: 0;
}

.btn:hover::before {
    opacity: 1;
}

.btn-primary {
    background: linear-gradient(45deg, var(--primary-color), var(--secondary-color));
    color: white;
    box-shadow: var(--shadow);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
}

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

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

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

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

/* Improved Section Headers */
.section-header {
    max-width: 800px;
    margin: 0 auto 50px;
    text-align: center;
}

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

.section-header p {
    color: #666;
    font-size: 1.1rem;
    line-height: 1.6;
}

/* Services Preview Section */
.services-preview {
    padding: 100px 0;
    background-color: var(--light-color);
}

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

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

.section-header h2::after {
    content: '';
    position: absolute;
    width: 70px;
    height: 3px;
    background: var(--primary-color);
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
}

.section-header p {
    color: #666;
    font-size: 1.1rem;
}

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

.service-card {
    background-color: white;
    border-radius: var(--border-radius);
    padding: 30px;
    text-align: center;
    box-shadow: var(--shadow);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.service-card::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 0;
    background: linear-gradient(45deg, var(--primary-color), var(--secondary-color));
    left: 0;
    bottom: 0;
    z-index: -1;
    transition: var(--transition);
    opacity: 0;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

.service-card:hover::before {
    height: 5px;
    opacity: 1;
}

.service-icon {
    font-size: 2.5rem;
    margin-bottom: 20px;
    color: var(--primary-color);
    transition: var(--transition);
}

.service-card:hover .service-icon {
    transform: scale(1.1);
}

.service-card h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: var(--dark-color);
}

.service-card p {
    color: #666;
}

.services-more {
    text-align: center;
}

/* Aggiunta per migliorare l'interazione con i link della pagina servizi */
.service-actions .btn {
    padding: 10px 20px;
    transition: all 0.3s ease;
}

.service-actions .btn-primary:hover {
    background: linear-gradient(-45deg, var(--primary-color), var(--secondary-color));
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(76, 111, 255, 0.3);
}

.service-actions .btn-outline:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(76, 111, 255, 0.2);
}

/* CTA Section */
.cta {
    padding: 80px 0;
    background: linear-gradient(45deg, var(--primary-color), var(--secondary-color));
    color: white;
    text-align: center;
}

.cta-content h2 {
    font-size: 2.5rem;
    margin-bottom: 15px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.cta-content p {
    font-size: 1.1rem;
    margin-bottom: 30px;
    opacity: 0.9;
}

/* Footer Styles */
.footer {
    background-color: var(--dark-color);
    color: white;
    padding: 70px 0 20px;
}

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

.footer-logo a {
    font-size: 1.8rem;
    font-weight: 700;
    color: white;
    margin-bottom: 10px;
    display: block;
}

.footer-logo span {
    color: var(--primary-color);
}

.footer-logo p {
    color: #aaa;
    font-size: 0.9rem;
}

.footer h4 {
    margin-bottom: 20px;
    font-size: 1.2rem;
    position: relative;
    padding-bottom: 10px;
}

.footer h4::after {
    content: '';
    position: absolute;
    width: 40px;
    height: 2px;
    background-color: var(--primary-color);
    bottom: 0;
    left: 0;
}

.footer-links ul li,
.footer-contact ul li {
    margin-bottom: 10px;
}

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

.footer-contact ul li i {
    margin-right: 10px;
    color: var(--primary-color);
}

.social-icons {
    display: flex;
    gap: 15px;
}

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

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

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 0.9rem;
    color: #aaa;
}

/* FAQ Styles - Refactoring completo */
.faq-section {
    padding: 80px 0;
    background-color: var(--light-color);
}

.faq-container {
    max-width: 800px;
    margin: 50px auto 0;
}

.faq-item {
    margin-bottom: 20px;
    border-radius: var(--border-radius);
    background-color: white;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    overflow: hidden;
    transition: all 0.3s ease;
    border-left: 3px solid #e6e6e6;
    position: relative;
}

.faq-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
    border-left: 3px solid var(--secondary-color);
}

.faq-item.active {
    border-left: 3px solid var(--primary-color);
}

.faq-question {
    padding: 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    background-color: white;
    cursor: pointer;
    font-weight: 600;
    color: var(--dark-color);
    transition: all 0.3s ease;
    position: relative;
    border-bottom: 1px solid transparent;
}

.faq-question:hover {
    background-color: #f9f9f9;
    color: var(--primary-color);
}

.faq-question i {
    transition: transform 0.3s ease, color 0.3s ease;
    color: var(--primary-color);
    font-size: 1rem;
    opacity: 0.7;
    background-color: rgba(var(--primary-rgb), 0.1);
    width: 24px;
    height: 24px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.faq-question:hover i {
    opacity: 1;
    transform: scale(1.1);
}

@keyframes pulse {
    0% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(var(--primary-rgb), 0.4);
    }
    70% {
        transform: scale(1.05);
        box-shadow: 0 0 0 6px rgba(var(--primary-rgb), 0);
    }
    100% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(var(--primary-rgb), 0);
    }
}

.faq-answer {
    background-color: white;
    overflow: hidden;
    max-height: 0;
    transition: max-height 0.5s cubic-bezier(0, 1, 0, 1);
}

.faq-answer-inner {
    padding: 0 20px 20px;
    opacity: 0;
    transform: translateY(10px);
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.faq-answer p {
    color: #555;
    line-height: 1.6;
    margin: 0;
}

.faq-item.active .faq-question {
    background-color: var(--light-color);
    color: var(--primary-color);
    border-bottom: 1px solid rgba(var(--primary-rgb), 0.2);
}

.faq-item.active .faq-question i {
    transform: rotate(180deg);
    color: white;
    background-color: var(--primary-color);
    opacity: 1;
}

.faq-item.active .faq-answer {
    max-height: 1000px;
    transition: max-height 1s ease-in-out;
}

.faq-item.active .faq-answer-inner {
    opacity: 1;
    transform: translateY(0);
    transition-delay: 0.2s;
}

/* Authorized Reseller Section Styles */
.authorized-reseller-section {
    padding: 80px 0;
    background-color: white;
}

.authorized-reseller-section .section-title {
    font-size: 2.5rem;
    color: var(--dark-color);
    margin-bottom: 40px;
    text-align: center;
    position: relative;
}

.authorized-reseller-section .section-title::after {
    content: '';
    position: absolute;
    width: 70px;
    height: 3px;
    background: var(--primary-color);
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
}

.reseller-partners {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.partner-card {
    background-color: var(--light-color);
    border-radius: var(--border-radius);
    padding: 30px;
    box-shadow: var(--shadow);
    transition: var(--transition);
    text-align: center;
    border-top: 4px solid var(--primary-color);
}

.partner-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.partner-card h3 {
    color: var(--primary-color);
    font-size: 1.8rem;
    margin-bottom: 15px;
}

.partner-card p {
    color: var(--dark-color);
    font-weight: 500;
    margin-bottom: 15px;
}

.partner-card ul {
    text-align: left;
    margin: 0 auto;
    display: inline-block;
}

.partner-card ul li {
    margin-bottom: 8px;
    position: relative;
    padding-left: 25px;
}

.partner-card ul li:before {
    content: "\f00c";
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    color: var(--primary-color);
    position: absolute;
    left: 0;
    top: 2px;
}

.partner-card .partner-logo {
    height: 80px;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.partner-card .partner-logo img {
    max-height: 100%;
    max-width: 80%;
    object-fit: contain;
    transition: var(--transition);
}

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

/* Responsive adjustments for authorized reseller section */
@media screen and (max-width: 768px) {
    .authorized-reseller-section .section-title {
        font-size: 2rem;
    }
    .reseller-partners {
        grid-template-columns: 1fr;
        max-width: 400px;
        margin-left: auto;
        margin-right: auto;
    }
}

/* Partner Services Pages Styles */
.service-hero {
    padding: 150px 0 80px;
    background-color: var(--light-color);
    position: relative;
}

.service-hero::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    background: radial-gradient(circle at top right, rgba(76, 111, 255, 0.1), transparent 70%);
    z-index: 0;
}

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

.service-partner-logo {
    height: 90px;
    margin-bottom: 30px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.service-partner-logo img {
    max-height: 100%;
    max-width: 200px;
    object-fit: contain;
}

.service-hero h1 {
    font-size: 3rem;
    margin-bottom: 20px;
    color: var(--dark-color);
}

.service-hero h1 span {
    color: var(--primary-color);
    position: relative;
    display: inline-block;
}

.service-hero h1 span::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 4px;
    background-color: rgba(76, 111, 255, 0.3);
    bottom: 5px;
    left: 0;
    z-index: -1;
}

.service-hero p {
    font-size: 1.2rem;
    color: #666;
    max-width: 700px;
    margin: 0 auto;
    line-height: 1.8;
}

.service-benefits {
    padding: 80px 0;
    background-color: white;
}

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

.benefit-card {
    background-color: var(--light-color);
    padding: 30px;
    border-radius: var(--border-radius);
    text-align: center;
    transition: var(--transition);
    box-shadow: var(--shadow);
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.benefit-card::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 0;
    background: linear-gradient(45deg, var(--primary-color), var(--secondary-color));
    left: 0;
    bottom: 0;
    z-index: -1;
    transition: var(--transition);
    opacity: 0;
}

.benefit-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.benefit-card:hover::before {
    height: 5px;
    opacity: 1;
}

.benefit-icon {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 20px;
    transition: var(--transition);
}

.benefit-card:hover .benefit-icon {
    transform: scale(1.1);
}

.benefit-card h3 {
    margin-bottom: 15px;
    color: var(--dark-color);
    font-size: 1.4rem;
}

.benefit-card p {
    color: #666;
    line-height: 1.6;
}

.service-details {
    padding: 80px 0;
}

.services-detailed-list {
    margin-top: 50px;
}

.service-detailed-item {
    display: flex;
    margin-bottom: 50px;
    background-color: white;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    overflow: hidden;
    transition: var(--transition);
}

.service-detailed-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.service-detailed-icon {
    flex: 0 0 120px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    font-size: 3rem;
    transition: var(--transition);
}

.service-detailed-item:hover .service-detailed-icon {
    background: linear-gradient(315deg, var(--primary-color), var(--secondary-color));
}

.service-detailed-content {
    flex: 1;
    padding: 30px;
}

.service-detailed-content h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: var(--dark-color);
}

.service-detailed-content p {
    margin-bottom: 15px;
    color: #666;
    line-height: 1.6;
}

.service-detailed-content ul {
    padding-left: 20px;
}

.service-detailed-content ul li {
    margin-bottom: 8px;
    position: relative;
    padding-left: 25px;
    list-style-type: none;
    color: #555;
    line-height: 1.6;
}

.service-detailed-content ul li:before {
    content: "\f00c";
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    color: var(--primary-color);
    position: absolute;
    left: 0;
    top: 2px;
}

.partner-card .partner-action {
    margin-top: 25px;
}

.partner-card .btn {
    padding: 10px 20px;
}

/* Call To Action Section customized for service pages */
.service-pages .cta {
    margin-top: 0;
}

/* Responsive adjustments for partner services pages */
@media screen and (max-width: 768px) {
    .service-hero h1 {
        font-size: 2.5rem;
    }
    
    .service-detailed-item {
        flex-direction: column;
    }
    
    .service-detailed-icon {
        padding: 30px 0;
        flex: 0 0 auto;
    }
}

/* Responsive Styles */
@media screen and (max-width: 992px) {
    .hero .container {
        flex-direction: column;
        text-align: center;
    }
    .hero-content {
        max-width: 100%;
        margin-bottom: 50px;
    }
    .hero-buttons {
        justify-content: center;
        gap: 20px; /* Reduced from 50px for better mobile spacing */
    }
    .hero-image {
        margin-left: 0;
        max-width: 80%; /* Limit image size on smaller screens */
    }
    .hero h1 {
        font-size: 2.8rem;
    }
}

@media screen and (max-width: 768px) {
    .hero h1 {
        font-size: 2.5rem;
    }
    .hero-buttons {
        flex-direction: column;
        gap: 15px;
        width: 100%; /* Full width buttons */
        max-width: 300px; /* Limit width for better appearance */
        margin: 0 auto;
    }
    .hero-buttons .btn {
        width: 100%;
        text-align: center;
    }
    .service-grid {
        max-width: 600px;
        margin-left: auto;
        margin-right: auto;
        grid-template-columns: 1fr;
        gap: 30px; /* Increased gap for better separation */
    }
    
    /* Better header responsive behavior */
    .header {
        padding: 15px 0;
    }
    .logo {
        font-size: 1.5rem; /* Smaller logo on mobile */
    }
    
    /* Partner and feature cards improvement */
    .partner-card, .feature-card {
        padding: 20px 15px; /* Adjusted padding */
    }
    
    /* Services and features responsive improvements */
    .service-item {
        padding: 20px 15px;
    }
}

@media screen and (max-width: 576px) {
    .hero h1 {
        font-size: 2rem;
    }
    .hero p {
        font-size: 1rem;
    }
    .blob{ 
        display: none;
    }
    
    /* Better spacing for feature cards */
    .feature-card {
        margin-bottom: 20px;
    }
    
    /* Section spacing adjustments */
    section {
        padding: 40px 0; /* Reduced padding on smallest screens */
    }
    
    /* Better button sizing for small screens */
    .btn {
        padding: 10px 20px;
        font-size: 0.9rem;
    }
}

/* Fix feature grid responsiveness */
.features-grid, .benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
}

/* Common Section Styles */
section {
    padding: var(--section-spacing) 0;
}

/* Improved Card Interactions */
.service-card, .partner-card, .portfolio-item, .benefit-card {
    transition: var(--transition-smooth);
}

.service-card:hover, .partner-card:hover, .portfolio-item:hover, .benefit-card:hover {
    transform: translateY(var(--card-hover-y));
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.12);
}

/* Consistent Grid Layouts */
.grid-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin: 0 auto;
}

/* Improved Form Elements */
input, textarea, select {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid #e1e1e1;
    border-radius: var(--border-radius);
    transition: var(--transition-smooth);
}

input:focus, textarea:focus, select:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(var(--primary-rgb), 0.1);
    outline: none;
}

@media screen and (max-width: 768px) {
    .section-header h2 {
        font-size: 2rem;
    }
    
    .btn {
        padding: 10px 24px;
        font-size: 0.95rem;
    }
    
    section {
        padding: calc(var(--section-spacing) * 0.75) 0;
    }
}
