/*
 * Osvadios - Digital Innovation Solutions
 * Modern, vibrant styling with purple and green color palette
 */

/* Reset and Base Styles */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    /* Color Palette */
    --primary: #6A3EA1;     /* Purple */
    --primary-light: #8B68B1; /* Light Purple */
    --secondary: #2AAA8A;   /* Green */
    --secondary-light: #4FC3A6; /* Light Green */
    --dark: #1E1E2C;        /* Dark Slate */
    --gray: #646478;        /* Medium Gray */
    --light-gray: #F5F5FA;  /* Light Gray */
    --white: #FFFFFF;       /* White */
    
    /* Typography */
    --heading-font: 'Outfit', sans-serif;
    --body-font: 'Inter', sans-serif;
    
    /* Spacing */
    --section-padding: 100px 0;
    --container-padding: 0 20px;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--body-font);
    font-weight: 400;
    line-height: 1.6;
    color: var(--dark);
    background-color: var(--white);
    overflow-x: hidden;
}

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

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--heading-font);
    color: var(--dark);
    line-height: 1.2;
    font-weight: 600;
    margin-bottom: 1rem;
}

h1 {
    font-size: 1.5rem;
    letter-spacing: 0.5px;
}

h2 {
    font-size: 2.8rem;
    margin-bottom: 1.2rem;
}

h3 {
    font-size: 2rem;
    margin-bottom: 1rem;
}

h4 {
    font-size: 1.3rem;
    margin-bottom: 0.6rem;
}

p {
    margin-bottom: 1.5rem;
    color: var(--gray);
}

a {
    color: var(--primary);
    text-decoration: none;
    transition: all 0.3s ease;
}

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

.highlight {
    color: var(--secondary);
    position: relative;
}

.highlight::after {
    content: '';
    position: absolute;
    bottom: 5px;
    left: 0;
    width: 100%;
    height: 8px;
    background-color: rgba(42, 170, 138, 0.2);
    z-index: -1;
}

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

.section-header h2 {
    position: relative;
    display: inline-block;
}

.section-header h2::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, var(--primary), var(--secondary));
    border-radius: 2px;
}

.section-header p {
    max-width: 600px;
    margin: 20px auto 0;
    font-size: 1.2rem;
}

section {
    padding: var(--section-padding);
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 15px 30px;
    font-family: var(--heading-font);
    font-weight: 500;
    font-size: 0.95rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: center;
}

.primary-btn {
    background: var(--primary);
    color: var(--white);
    border: 2px solid var(--primary);
    box-shadow: 0 6px 12px rgba(106, 62, 161, 0.2);
}

.primary-btn:hover {
    background: linear-gradient(to right, var(--primary), var(--primary-light));
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(106, 62, 161, 0.3);
}

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

.secondary-btn:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(255, 255, 255, 0.1);
}

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

.outline-btn:hover {
    background: rgba(106, 62, 161, 0.05);
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(106, 62, 161, 0.1);
}

.text-btn {
    background: none;
    color: var(--primary);
    padding: 0;
    text-transform: none;
    font-weight: 600;
    letter-spacing: 0.5px;
    border-radius: 0;
    display: inline-flex;
    align-items: center;
}

.text-btn::after {
    content: '→';
    margin-left: 8px;
    transition: transform 0.3s ease;
}

.text-btn:hover {
    color: var(--secondary);
}

.text-btn:hover::after {
    transform: translateX(5px);
}

.btn-nav {
    background-color: var(--secondary);
    color: var(--white);
    padding: 10px 20px;
    border-radius: 4px;
    font-size: 0.9rem;
    box-shadow: 0 4px 8px rgba(42, 170, 138, 0.15);
}

.btn-nav:hover {
    background-color: var(--secondary-light);
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(42, 170, 138, 0.25);
}

.btn-block {
    display: block;
    width: 100%;
}

/* Header and Navigation */
header {
    background-color: var(--white);
    padding: 18px 0;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    position: fixed;
    width: 100%;
    top: 0;
    left: 0;
    z-index: 1000;
    transition: all 0.3s ease;
}

header.scrolled {
    padding: 12px 0;
    background-color: rgba(30, 30, 44, 0.95);
    backdrop-filter: blur(10px);
}

header.scrolled h1,
header.scrolled nav ul li a {
    color: var(--white);
}

header.scrolled .btn-nav {
    background-color: var(--secondary-light);
}

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

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

.logo h1 {
    margin-left: 15px;
    margin-bottom: 0;
    font-weight: 700;
}

.nav-toggle {
    display: none;
}

.nav-toggle-label {
    display: none;
}

nav ul {
    display: flex;
    list-style: none;
    align-items: center;
}

nav ul li {
    margin-left: 30px;
}

nav ul li a {
    color: var(--dark);
    font-weight: 500;
    font-family: var(--heading-font);
    font-size: 0.95rem;
    position: relative;
}

nav ul li a:not(.btn-nav)::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--secondary);
    transition: width 0.3s ease;
}

nav ul li a:hover:not(.btn-nav) {
    color: var(--primary);
}

nav ul li a:hover:not(.btn-nav)::after {
    width: 100%;
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, rgba(30, 30, 44, 0.95) 0%, rgba(106, 62, 161, 0.85) 100%), url('https://via.placeholder.com/1920x1080') center/cover no-repeat;
    color: var(--white);
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: 80px;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: -50px;
    right: -50px;
    width: 300px;
    height: 300px;
    border-radius: 50%;
    background: rgba(42, 170, 138, 0.1);
    z-index: 1;
}

.hero::after {
    content: '';
    position: absolute;
    bottom: -100px;
    left: -100px;
    width: 400px;
    height: 400px;
    border-radius: 50%;
    background: rgba(106, 62, 161, 0.1);
    z-index: 1;
}

.hero .container {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.hero-content {
    max-width: 600px;
}

.hero h2 {
    font-size: 3.5rem;
    margin-bottom: 20px;
    color: var(--white);
    font-weight: 700;
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 40px;
    color: var(--light-gray);
    opacity: 0.9;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    margin-bottom: 50px;
}

.hero-stats {
    display: flex;
    gap: 40px;
}

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

.stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--secondary);
    line-height: 1;
    margin-bottom: 10px;
    font-family: var(--heading-font);
}

.stat-text {
    font-size: 0.9rem;
    color: var(--light-gray);
    opacity: 0.8;
}

.hero-graphic {
    position: relative;
    height: 400px;
}

.hero-shape {
    position: absolute;
    width: 100%;
    height: 100%;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 200 200"><path fill="%232AAA8A" d="M48.9,-58.5C63.2,-46.2,75,-30.8,79.6,-12.8C84.3,5.2,81.8,25.7,71.3,39.7C60.8,53.7,42.3,61.2,23.7,67.5C5,73.8,-13.8,78.8,-31.2,74.3C-48.5,69.8,-64.3,55.8,-73.4,38.2C-82.5,20.6,-84.8,-0.7,-78.5,-18.7C-72.2,-36.7,-57.3,-51.4,-41.2,-63.1C-25,-74.8,-7.5,-83.5,7.7,-81.9C22.9,-80.2,34.7,-70.7,48.9,-58.5Z" transform="translate(100 100)" /></svg>') center/contain no-repeat;
    animation: float 6s ease-in-out infinite;
    opacity: 0.8;
}

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

/* Services Section */
.services {
    background-color: var(--light-gray);
    position: relative;
    overflow: hidden;
}

.services::before {
    content: '';
    position: absolute;
    top: -200px;
    right: -200px;
    width: 400px;
    height: 400px;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(106, 62, 161, 0.05), rgba(42, 170, 138, 0.05));
    z-index: 1;
}

.services .container {
    position: relative;
    z-index: 2;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.service-card {
    background-color: var(--white);
    padding: 40px 30px;
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 5px;
    height: 0;
    background: linear-gradient(to bottom, var(--primary), var(--secondary));
    transition: all 0.5s ease;
    z-index: -1;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.service-card:hover::before {
    height: 100%;
}

.service-icon {
    width: 70px;
    height: 70px;
    margin-bottom: 25px;
    border-radius: 8px;
    background-color: rgba(106, 62, 161, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    position: relative;
}

.service-card:hover .service-icon {
    background-color: rgba(42, 170, 138, 0.1);
}

.service-icon::before {
    content: '';
    width: 35px;
    height: 35px;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    transition: all 0.3s ease;
}

.service-icon-1::before {
    background-image: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path fill="%236A3EA1" d="M12 2L2 7l10 5 10-5-10-5zM2 17l10 5 10-5M2 12l10 5 10-5"/></svg>');
}

.service-icon-2::before {
    background-image: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path fill="%236A3EA1" d="M12 22a10 10 0 1 1 0-20 10 10 0 0 1 0 20zm0-2a8 8 0 1 0 0-16 8 8 0 0 0 0 16zm-3.54-4.46a1 1 0 0 1 1.42-1.42 3 3 0 0 0 4.24 0 1 1 0 0 1 1.42 1.42 5 5 0 0 1-7.08 0zM9 11a1 1 0 1 1 0-2 1 1 0 0 1 0 2zm6 0a1 1 0 1 1 0-2 1 1 0 0 1 0 2z"/></svg>');
}

.service-icon-3::before {
    background-image: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path fill="%236A3EA1" d="M20 4H4a2 2 0 0 0-2 2v12a2 2 0 0 0 2 2h16a2 2 0 0 0 2-2V6a2 2 0 0 0-2-2zm0 2v2H4V6h16zm0 4v8H4v-8h16z"/></svg>');
}

.service-icon-4::before {
    background-image: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path fill="%236A3EA1" d="M17 2H7a2 2 0 0 0-2 2v16a2 2 0 0 0 2 2h10a2 2 0 0 0 2-2V4a2 2 0 0 0-2-2zm0 18H7V4h10v16zm-7-3h4a1 1 0 0 0 0-2h-4a1 1 0 0 0 0 2z"/></svg>');
}

.service-icon-5::before {
    background-image: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path fill="%236A3EA1" d="M3 12h4v1H3v-1zM3 16h4v1H3v-1zM3 8h4v1H3V8zM9 8h12v1H9V8zM9 12h12v1H9v-1zM9 16h12v1H9v-1z"/></svg>');
}

.service-icon-6::before {
    background-image: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path fill="%236A3EA1" d="M12 3c-4.97 0-9 4.03-9 9s4.03 9 9 9 9-4.03 9-9-4.03-9-9-9zm0 16c-3.86 0-7-3.14-7-7s3.14-7 7-7 7 3.14 7 7-3.14 7-7 7z"/><path fill="%236A3EA1" d="M10 12a2 2 0 1 1-4 0 2 2 0 0 1 4 0zm8 0a2 2 0 1 1-4 0 2 2 0 0 1 4 0z"/></svg>');
}

.service-card:hover .service-icon-1::before,
.service-card:hover .service-icon-2::before,
.service-card:hover .service-icon-3::before,
.service-card:hover .service-icon-4::before,
.service-card:hover .service-icon-5::before,
.service-card:hover .service-icon-6::before {
    background-image: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path fill="%232AAA8A" d="M12 2L2 7l10 5 10-5-10-5zM2 17l10 5 10-5M2 12l10 5 10-5"/></svg>');
    transform: scale(1.1);
}

.service-card h3 {
    margin-bottom: 15px;
    transition: color 0.3s ease;
}

.service-card:hover h3 {
    color: var(--primary);
}

.service-card p {
    margin-bottom: 25px;
    font-size: 0.95rem;
    line-height: 1.7;
}

/* Solutions Section */
.solutions {
    background-color: var(--white);
    position: relative;
    overflow: hidden;
}

.solution-item {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
    margin-bottom: 80px;
    padding: 20px;
}

.solution-item:last-child {
    margin-bottom: 0;
}

.solution-item.reverse {
    direction: rtl;
}

.solution-content {
    direction: ltr;
}

.solution-content h3 {
    margin-bottom: 15px;
    color: var(--primary);
    font-size: 2.2rem;
}

.solution-content p {
    margin-bottom: 25px;
    font-size: 1rem;
    line-height: 1.7;
}

.solution-features {
    list-style: none;
    margin-bottom: 30px;
}

.solution-features li {
    position: relative;
    padding-left: 30px;
    margin-bottom: 12px;
    color: var(--gray);
}

.solution-features li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 20px;
    height: 20px;
    background-image: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path fill="%232AAA8A" d="M12 2c5.52 0 10 4.48 10 10s-4.48 10-10 10S2 17.52 2 12 6.48 2 12 2zm0 2c-4.42 0-8 3.58-8 8s3.58 8 8 8 8-3.58 8-8-3.58-8-8-8zm3.54 4.54l-5.04 5.04-2.54-2.54-1.42 1.42 3.96 3.96 6.46-6.46-1.42-1.42z"/></svg>');
    background-size: contain;
    background-repeat: no-repeat;
}

.solution-image {
    height: 400px;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    position: relative;
    direction: ltr;
}

.solution-image::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, rgba(106, 62, 161, 0.4), rgba(42, 170, 138, 0.4));
    opacity: 0.5;
}

.solution-image-1 {
    background: url('https://via.placeholder.com/600x400?text=Enterprise+Systems') center/cover no-repeat;
}

.solution-image-2 {
    background: url('https://via.placeholder.com/600x400?text=E-Commerce+Platforms') center/cover no-repeat;
}

.solution-image-3 {
    background: url('https://via.placeholder.com/600x400?text=Digital+Transformation') center/cover no-repeat;
}

/* Projects Section */
.projects {
    background-color: var(--dark);
    color: var(--white);
    position: relative;
    overflow: hidden;
}

.projects::before {
    content: '';
    position: absolute;
    top: -100px;
    right: -100px;
    width: 300px;
    height: 300px;
    border-radius: 50%;
    background: rgba(42, 170, 138, 0.1);
    z-index: 1;
}

.projects .container {
    position: relative;
    z-index: 2;
}

.projects .section-header h2 {
    color: var(--white);
}

.projects .section-header p {
    color: var(--light-gray);
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}

.project-card {
    position: relative;
    height: 350px;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
    transition: all 0.5s ease;
    cursor: pointer;
}

.project-card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.project-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    transition: transform 0.5s ease;
}

.project-card:hover .project-image {
    transform: scale(1.1);
}

.project-image-1 {
    background-image: url('https://via.placeholder.com/600x350?text=FinTech+Project');
}

.project-image-2 {
    background-image: url('https://via.placeholder.com/600x350?text=Healthcare+Platform');
}

.project-image-3 {
    background-image: url('https://via.placeholder.com/600x350?text=E-commerce+Project');
}

.project-image-4 {
    background-image: url('https://via.placeholder.com/600x350?text=Smart+City+Project');
}

.project-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, rgba(30, 30, 44, 0.95) 20%, transparent 80%);
    padding: 30px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    opacity: 0.8;
    transition: all 0.3s ease;
}

.project-card:hover .project-overlay {
    opacity: 0.9;
    background: linear-gradient(to top, rgba(30, 30, 44, 0.95) 40%, transparent 90%);
}

.project-overlay h3 {
    color: var(--white);
    margin-bottom: 10px;
    font-size: 1.5rem;
    transform: translateY(10px);
    opacity: 0.9;
    transition: all 0.3s ease;
}

.project-card:hover .project-overlay h3 {
    transform: translateY(0);
    opacity: 1;
}

.project-overlay p {
    color: var(--light-gray);
    margin-bottom: 15px;
    font-size: 0.9rem;
    transform: translateY(10px);
    opacity: 0.7;
    transition: all 0.3s ease 0.1s;
}

.project-card:hover .project-overlay p {
    transform: translateY(0);
    opacity: 0.9;
}

.project-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 20px;
    transform: translateY(20px);
    opacity: 0;
    transition: all 0.3s ease 0.2s;
}

.project-card:hover .project-tags {
    transform: translateY(0);
    opacity: 1;
}

.project-tags span {
    background-color: rgba(42, 170, 138, 0.2);
    color: var(--secondary-light);
    padding: 5px 10px;
    border-radius: 4px;
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.project-overlay .btn {
    transform: translateY(20px);
    opacity: 0;
    transition: all 0.3s ease 0.3s;
    color: var(--secondary);
    padding-left: 0;
}

.project-card:hover .project-overlay .btn {
    transform: translateY(0);
    opacity: 1;
}

.projects-cta {
    margin-top: 50px;
    text-align: center;
}

/* Innovation Section */
.innovation {
    background-color: var(--light-gray);
    position: relative;
    overflow: hidden;
}

.innovation-content {
    display: grid;
    grid-template-columns: 3fr 2fr;
    gap: 50px;
    align-items: center;
}

.innovation-text h3 {
    color: var(--primary);
    margin-bottom: 20px;
    font-size: 2.2rem;
}

.innovation-text p {
    margin-bottom: 30px;
    font-size: 1rem;
    line-height: 1.7;
    color: var(--gray);
}

.innovation-features {
    display: flex;
    flex-direction: column;
    gap: 25px;
    margin-bottom: 40px;
}

.innovation-feature {
    display: flex;
    gap: 20px;
    align-items: flex-start;
}

.feature-icon {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background-color: rgba(106, 62, 161, 0.1);
    position: relative;
    flex-shrink: 0;
    transition: all 0.3s ease;
}

.innovation-feature:hover .feature-icon {
    background-color: var(--primary);
    transform: scale(1.1) rotate(10deg);
}

.feature-icon::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 30px;
    height: 30px;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    transition: all 0.3s ease;
}

.feature-icon-1::before {
    background-image: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path fill="%236A3EA1" d="M13 3a9 9 0 0 0-9 9H1l3.89 3.89.07.14L9 12H6c0-3.87 3.13-7 7-7s7 3.13 7 7-3.13 7-7 7c-1.93 0-3.68-.79-4.94-2.06l-1.42 1.42A8.954 8.954 0 0 0 13 21a9 9 0 0 0 0-18zm-1 5v5l4.28 2.54.72-1.21-3.5-2.08V8H12z"/></svg>');
}

.feature-icon-2::before {
    background-image: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path fill="%236A3EA1" d="M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm0 18c-4.41 0-8-3.59-8-8s3.59-8 8-8 8 3.59 8 8-3.59 8-8 8zm-5-5h10v2H7v-2zm0-4h10v2H7v-2zm0-4h7v2H7V7z"/></svg>');
}

.feature-icon-3::before {
    background-image: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path fill="%236A3EA1" d="M12 3C7.03 3 3 7.03 3 12s4.03 9 9 9 9-4.03 9-9-4.03-9-9-9zm0 16c-3.87 0-7-3.13-7-7s3.13-7 7-7 7 3.13 7 7-3.13 7-7 7zm1-11h-2v3H8v2h3v3h2v-3h3v-2h-3V8z"/></svg>');
}

.innovation-feature:hover .feature-icon-1::before,
.innovation-feature:hover .feature-icon-2::before,
.innovation-feature:hover .feature-icon-3::before {
    background-image: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path fill="%23FFFFFF" d="M13 3a9 9 0 0 0-9 9H1l3.89 3.89.07.14L9 12H6c0-3.87 3.13-7 7-7s7 3.13 7 7-3.13 7-7 7c-1.93 0-3.68-.79-4.94-2.06l-1.42 1.42A8.954 8.954 0 0 0 13 21a9 9 0 0 0 0-18zm-1 5v5l4.28 2.54.72-1.21-3.5-2.08V8H12z"/></svg>');
}

.feature-text h4 {
    margin-bottom: 10px;
    color: var(--dark);
    font-size: 1.2rem;
}

.feature-text p {
    color: var(--gray);
    font-size: 0.9rem;
    margin-bottom: 0;
    line-height: 1.6;
}

.innovation-graphic {
    position: relative;
    height: 400px;
}

.innovation-shape {
    position: absolute;
    width: 100%;
    height: 100%;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 200 200"><path fill="%236A3EA1" d="M37.6,-52.2C47.2,-40.3,52.7,-26.6,58.4,-10.9C64.2,4.9,70.3,22.6,65.4,36.4C60.6,50.2,44.9,60.1,28.5,65.2C12.1,70.3,-5,70.7,-22.9,67.2C-40.8,63.7,-59.5,56.3,-67.2,42.7C-75,29,-71.7,9.2,-66.7,-8.3C-61.7,-25.7,-54.9,-40.8,-43.6,-52.6C-32.4,-64.3,-16.2,-72.8,-0.4,-72.3C15.5,-71.7,30.9,-62.2,37.6,-52.2Z" transform="translate(100 100)" /></svg>') center/contain no-repeat;
    animation: float 8s ease-in-out infinite;
    opacity: 0.8;
}

/* Resources Section */
.resources {
    background-color: var(--white);
    position: relative;
    overflow: hidden;
}

.resource-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 20px;
}

.resource-column {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.resource-column a {
    padding: 15px;
    background-color: var(--light-gray);
    border-radius: 6px;
    text-align: center;
    transition: all 0.3s ease;
    font-size: 0.9rem;
    color: var(--gray);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.resource-column a::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 0;
    background: linear-gradient(to bottom, var(--primary-light), transparent);
    opacity: 0.1;
    transition: all 0.3s ease;
    z-index: -1;
}

.resource-column a:hover {
    transform: translateY(-5px);
    color: var(--primary);
    box-shadow: 0 10px 20px rgba(106, 62, 161, 0.1);
}

.resource-column a:hover::before {
    height: 100%;
}

/* Contact Section */
.contact {
    background-color: var(--light-gray);
    position: relative;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
}

.contact-info h3 {
    margin-bottom: 20px;
    color: var(--primary);
}

.contact-details {
    margin: 30px 0;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 20px;
}

.contact-icon {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background-color: rgba(106, 62, 161, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    transition: all 0.3s ease;
}

.contact-item:hover .contact-icon {
    background-color: var(--primary);
    transform: scale(1.1);
}

.contact-icon::before {
    content: '';
    width: 24px;
    height: 24px;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    transition: all 0.3s ease;
}

.contact-icon-1::before {
    background-image: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path fill="%236A3EA1" d="M20 4H4c-1.1 0-1.99.9-1.99 2L2 18c0 1.1.9 2 2 2h16c1.1 0 2-.9 2-2V6c0-1.1-.9-2-2-2zm0 4l-8 5-8-5V6l8 5 8-5v2z"/></svg>');
}

.contact-icon-2::before {
    background-image: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path fill="%236A3EA1" d="M6.62 10.79c1.44 2.83 3.76 5.14 6.59 6.59l2.2-2.2c.27-.27.67-.36 1.02-.24 1.12.37 2.33.57 3.57.57.55 0 1 .45 1 1V20c0 .55-.45 1-1 1-9.39 0-17-7.61-17-17 0-.55.45-1 1-1h3.5c.55 0 1 .45 1 1 0 1.25.2 2.45.57 3.57.11.35.03.74-.25 1.02l-2.2 2.2z"/></svg>');
}

.contact-icon-3::before {
    background-image: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path fill="%236A3EA1" d="M12 2C8.13 2 5 5.13 5 9c0 5.25 7 13 7 13s7-7.75 7-13c0-3.87-3.13-7-7-7zm0 9.5c-1.38 0-2.5-1.12-2.5-2.5s1.12-2.5 2.5-2.5 2.5 1.12 2.5 2.5-1.12 2.5-2.5 2.5z"/></svg>');
}

.contact-item:hover .contact-icon-1::before,
.contact-item:hover .contact-icon-2::before,
.contact-item:hover .contact-icon-3::before {
    background-image: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path fill="%23FFFFFF" d="M20 4H4c-1.1 0-1.99.9-1.99 2L2 18c0 1.1.9 2 2 2h16c1.1 0 2-.9 2-2V6c0-1.1-.9-2-2-2zm0 4l-8 5-8-5V6l8 5 8-5v2z"/></svg>');
}

.contact-item h4 {
    margin-bottom: 5px;
    font-size: 1.1rem;
}

.contact-item p {
    margin-bottom: 0;
    color: var(--gray);
}

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

.social-link {
    background-color: var(--primary);
    color: var(--white);
    padding: 10px 15px;
    border-radius: 4px;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    box-shadow: 0 5px 10px rgba(106, 62, 161, 0.2);
}

.social-link:hover {
    background-color: var(--secondary);
    color: var(--white);
    transform: translateY(-3px);
    box-shadow: 0 8px 15px rgba(42, 170, 138, 0.3);
}

.contact-form {
    background-color: var(--white);
    padding: 40px;
    border-radius: 8px;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.form-group {
    margin-bottom: 20px;
}

label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: var(--dark);
}

input[type="text"],
input[type="email"],
select,
textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid rgba(0, 0, 0, 0.1);
    border-radius: 4px;
    font-family: var(--body-font);
    font-size: 0.95rem;
    transition: all 0.3s ease;
}

input[type="text"]:focus,
input[type="email"]:focus,
select:focus,
textarea:focus {
    border-color: var(--primary);
    outline: none;
    box-shadow: 0 0 0 3px rgba(106, 62, 161, 0.1);
}

textarea {
    resize: vertical;
    min-height: 120px;
}

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

.footer-top {
    display: grid;
    grid-template-columns: 1fr 3fr;
    gap: 50px;
    margin-bottom: 50px;
}

.footer-logo {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.footer-logo svg {
    margin-bottom: 20px;
}

.footer-logo p {
    margin-bottom: 5px;
    color: var(--white);
    font-family: var(--heading-font);
    font-size: 1.5rem;
    font-weight: 600;
}

.footer-logo .tagline {
    color: var(--secondary);
    font-size: 0.9rem;
    font-weight: 400;
}

.footer-links {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.footer-column h3 {
    color: var(--secondary);
    font-size: 1.1rem;
    margin-bottom: 25px;
    position: relative;
}

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

.footer-column ul {
    list-style: none;
}

.footer-column ul li {
    margin-bottom: 12px;
}

.footer-column ul li a {
    color: var(--light-gray);
    transition: all 0.3s ease;
    font-size: 0.9rem;
    opacity: 0.8;
}

.footer-column ul li a:hover {
    color: var(--secondary);
    opacity: 1;
    padding-left: 5px;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-bottom p {
    font-size: 0.85rem;
    color: var(--light-gray);
    opacity: 0.7;
    margin-bottom: 0;
}

.legal-links {
    display: flex;
    gap: 25px;
}

.legal-links a {
    color: var(--light-gray);
    font-size: 0.85rem;
    opacity: 0.7;
    transition: all 0.3s ease;
}

.legal-links a:hover {
    color: var(--secondary);
    opacity: 1;
}

/* Responsive Styles */
@media (max-width: 1200px) {
    .hero h2 {
        font-size: 3.2rem;
    }
    
    .services-grid,
    .projects-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .solution-item {
        gap: 30px;
    }
    
    .resource-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 992px) {
    :root {
        --section-padding: 80px 0;
    }
    
    h2 {
        font-size: 2.5rem;
    }
    
    .hero .container,
    .solution-item,
    .innovation-content,
    .contact-grid {
        grid-template-columns: 1fr;
    }
    
    .hero-content {
        max-width: 100%;
        text-align: center;
        margin-bottom: 40px;
    }
    
    .hero-buttons {
        justify-content: center;
    }
    
    .hero-stats {
        justify-content: center;
    }
    
    .hero-graphic {
        height: 300px;
    }
    
    .solution-image {
        order: -1;
    }
    
    .solution-item.reverse .solution-image {
        order: -1;
    }
    
    .innovation-graphic {
        height: 300px;
        margin-top: 30px;
    }
    
    .footer-top {
        grid-template-columns: 1fr;
    }
    
    .footer-logo {
        text-align: center;
        align-items: center;
        margin-bottom: 20px;
    }
}

@media (max-width: 768px) {
    :root {
        --section-padding: 60px 0;
    }
    
    .nav-toggle-label {
        display: block;
        cursor: pointer;
    }
    
    .nav-toggle-label span,
    .nav-toggle-label span::before,
    .nav-toggle-label span::after {
        display: block;
        width: 30px;
        height: 2px;
        background-color: var(--dark);
        position: relative;
        transition: all 0.3s ease;
    }
    
    .nav-toggle-label span::before,
    .nav-toggle-label span::after {
        content: '';
        position: absolute;
    }
    
    .nav-toggle-label span::before {
        bottom: 8px;
    }
    
    .nav-toggle-label span::after {
        top: 8px;
    }
    
    header.scrolled .nav-toggle-label span,
    header.scrolled .nav-toggle-label span::before,
    header.scrolled .nav-toggle-label span::after {
        background-color: var(--white);
    }
    
    .nav-toggle:checked + .nav-toggle-label span {
        background-color: transparent;
    }
    
    .nav-toggle:checked + .nav-toggle-label span::before {
        bottom: 0;
        transform: rotate(-45deg);
    }
    
    .nav-toggle:checked + .nav-toggle-label span::after {
        top: 0;
        transform: rotate(45deg);
    }
    
    nav {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background-color: var(--white);
        text-align: center;
        height: 0;
        overflow: hidden;
        transition: height 0.3s ease;
        box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    }
    
    header.scrolled nav {
        background-color: var(--dark);
    }
    
    nav ul {
        display: block;
        padding: 0;
    }
    
    nav ul li {
        margin: 15px 0;
    }
    
    .nav-toggle:checked ~ nav {
        height: auto;
        padding: 20px 0;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    .projects-grid {
        grid-template-columns: 1fr;
    }
    
    .resource-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .footer-links {
        grid-template-columns: repeat(2, 1fr);
        gap: 30px 15px;
    }
    
    .footer-bottom {
        flex-direction: column;
        text-align: center;
        gap: 15px;
    }
}

@media (max-width: 576px) {
    h2 {
        font-size: 2rem;
    }
    
    .hero h2 {
        font-size: 2.2rem;
    }
    
    .hero-stats {
        flex-direction: column;
        gap: 20px;
    }
    
    .resource-grid {
        grid-template-columns: 1fr;
    }
    
    .contact-form {
        padding: 30px 20px;
    }
    
    .social-links {
        flex-wrap: wrap;
    }
    
    .footer-links {
        grid-template-columns: 1fr;
    }
}
