/* Import Fonts */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700&family=Inter:wght@400;500;600&display=swap');

/* Root Variables */
:root {
    /* Colors */
    --primary: #2A4365;
    --primary-light: #3B82F6;
    --secondary: #805AD5;
    --accent: #F6AD55;
    --text-primary: #1A202C;
    --text-secondary: #4A5568;
    --bg-light: #F7FAFC;
    --bg-white: #FFFFFF;

    /* Spacing */
    --space-xs: 0.5rem;
    --space-sm: 1rem;
    --space-md: 1.5rem;
    --space-lg: 2rem;
    --space-xl: 3rem;
}

/* Global Styles */
body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    color: var(--text-primary);
    background-color: var(--bg-white);
}

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

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    line-height: 1.3;
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background-color: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    transition: all 0.3s ease;
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 80px;
}

.logo {
    height: 40px;
    width: auto;
}

.navbar__menu {
    list-style: none;
    display: flex;
    gap: 30px;
  }
  
  .navbar__menu li a {
    text-decoration: none;
    color: #333;
    font-weight: 500;
    transition: color 0.3s ease;
  }
  
  .navbar__menu li a:hover {
    color: #007bff;
  }

/* Hero Section */
.hero {
    position: relative;
    padding: 160px 0 80px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    color: var(--bg-white);
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url('https://res.cloudinary.com/dsf2qupc6/image/upload/v1730973971/smartwork_nue70b.jpg');
    background-size: cover;
    background-position: center;
    opacity: 0.2;
}

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

.hero__title {
    font-size: 3.5rem;
    margin-bottom: var(--space-md);
    color: var(--bg-white);
}

.hero__text {
    font-size: 1.25rem;
    color: rgba(255, 255, 255, 0.9);
}

/* Services Section */
.services {
    padding: var(--space-xl) 0;
    background: linear-gradient(135deg, #FFF3E0 0%, #FFE0B2 100%);
    position: relative;
    overflow: hidden;
}

.services::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%232A4365' fill-opacity='0.05'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    opacity: 0.5;
}

.services__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--space-lg);
    margin-top: var(--space-lg);
    position: relative;
    z-index: 1;
}

.service-card {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-radius: 16px;
    padding: var(--space-lg);
    box-shadow:
        0 4px 20px rgba(0, 0, 0, 0.1),
        inset 0 0 0 1px rgba(255, 255, 255, 0.5);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.2);
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary) 0%, var(--secondary) 100%);
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow:
        0 8px 30px rgba(0, 0, 0, 0.12),
        inset 0 0 0 1px rgba(255, 255, 255, 0.5);
}

.service-card__title {
    font-size: 1.5rem;
    color: var(--primary);
    margin-bottom: var(--space-md);
    padding-bottom: var(--space-sm);
    border-bottom: 3px solid var(--secondary);
}

.service-card__text {
    color: var(--text-secondary);
    margin-bottom: var(--space-md);
}

.service-card__list {
    list-style: none;
}

.service-card__list-item {
    position: relative;
    padding-left: 1.5rem;
    margin-bottom: var(--space-xs);
    color: var(--text-secondary);
}

.service-card__list-item::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0.75rem;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background-color: var(--secondary);
}

/* Experience Section */
.experience {
    position: relative;
    padding: var(--space-xl) 0;
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    color: var(--bg-white);
}

.experience::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url('https://res.cloudinary.com/dsf2qupc6/image/upload/v1730973973/sales_yrygka.jpg');
    background-size: cover;
    background-position: center;
    opacity: 0.1;
    background-attachment: fixed;
}

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

.experience h2 {
    font-size: 2.5rem;
    margin-bottom: var(--space-lg);
    color: var(--bg-white);
}

/* Contact Section */
.contact {
    padding: var(--space-xl) 0;
    background: linear-gradient(135deg, #FFF3E0 0%, #FFE0B2 100%);
    position: relative;
    overflow: hidden;
}

.contact::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url("data:image/svg+xml,%3Csvg width='100' height='100' viewBox='0 0 100 100' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='%23805AD5' fill-opacity='0.05'%3E%3Cpath d='M11 18c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7zm48 25c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7zm-43-7c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zm63 31c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3z'%3E%3C/path%3E%3C/g%3E%3C/svg%3E");
    opacity: 0.5;
}

.contact__form {
    position: relative;
    max-width: 600px;
    margin: 0 auto;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    padding: var(--space-xl);
    border-radius: 16px;
    box-shadow:
        0 4px 20px rgba(0, 0, 0, 0.1),
        inset 0 0 0 1px rgba(255, 255, 255, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.contact__form::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--secondary) 0%, var(--primary) 100%);
}

.form-group {
    margin-bottom: var(--space-md);
}

.form-label {
    display: block;
    margin-bottom: var(--space-xs);
    color: var(--text-primary);
    font-weight: 500;
}

.form-input {
    width: 100%;
    padding: 0.75rem 1rem;
    background: rgba(255, 255, 255, 0.9);
    border: 2px solid rgba(203, 213, 224, 0.5);
    border-radius: 10px;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.form-input:hover {
    background: rgba(255, 255, 255, 1);
    border-color: rgba(203, 213, 224, 0.8);
}

.form-input:focus {
    outline: none;
    border-color: var(--primary-light);
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
    background: white;
}

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

.btn {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    border: none;
    border-radius: 10px;
    font-size: 1rem;
    font-weight: 500;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn--primary {
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    color: white;
    width: 100%;
    position: relative;
    overflow: hidden;
}

.btn--primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(42, 67, 101, 0.15);
}

/* Footer */
.footer {
    background: var(--text-primary);
    color: var(--bg-white);
    padding: var(--space-lg) 0;
    text-align: center;
}

/* Add these to your existing CSS file */

/* Form validation styles */
.form-input.error {
    border-color: #FC8181;
}

.error-message {
    display: block;
    color: #E53E3E;
    font-size: 0.875rem;
    margin-top: 0.25rem;
}

/* Notification styles */
.notification {
    position: fixed;
    bottom: 20px;
    right: 20px;
    padding: 1rem 1.5rem;
    border-radius: 8px;
    background: white;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    display: flex;
    align-items: center;
    justify-content: space-between;
    transform: translateY(100px);
    opacity: 0;
    transition: all 0.3s ease;
    z-index: 1000;
    max-width: 90%;
    width: 400px;
}

.notification.show {
    transform: translateY(0);
    opacity: 1;
}

.notification.success {
    background: #48BB78;
    color: white;
}

.notification.error {
    background: #F56565;
    color: white;
}

.close-notification {
    background: none;
    border: none;
    color: inherit;
    font-size: 1.25rem;
    padding: 0.25rem;
    margin-left: 1rem;
    cursor: pointer;
    opacity: 0.8;
}

.close-notification:hover {
    opacity: 1;
}

/* Loading spinner */
.spinner {
    display: inline-block;
    width: 1rem;
    height: 1rem;
    border: 2px solid rgba(255,255,255,0.3);
    border-radius: 50%;
    border-top-color: white;
    animation: spin 0.8s linear infinite;
    margin-right: 0.5rem;
}

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

/* Responsive Design */
@media (max-width: 768px) {
    .hero {
        padding: 120px 0 60px;
    }

    .hero__title {
        font-size: 2.5rem;
    }

    .hero__text {
        font-size: 1.125rem;
    }

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

    .experience h2 {
        font-size: 2rem;
    }

    .contact__form {
        padding: var(--space-lg);
        margin: 0 var(--space-md);
    }
}

@media (max-width: 480px) {
    .hero__title {
        font-size: 2rem;
    }

    .service-card {
        padding: var(--space-md);
    }

    .navbar .container {
        height: 60px;
    }

    .logo {
        height: 30px;
    }
}