/* CSS Variables */
:root {
    --gradient-1: #667eea;
    --gradient-2: #764ba2;
    --gradient-3: #f093fb;
    --primary: #4f46e5;
    --secondary: #7c3aed;
    --accent: #f59e0b;
    --neutral-dark: #1f2937;
    --neutral-light: #f8fafc;
    --white: #ffffff;
    --glass-bg: rgba(255, 255, 255, 0.1);
    --glass-border: rgba(255, 255, 255, 0.2);
}

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

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    color: var(--neutral-dark);
}

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

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

@keyframes blob {
    0% { border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%; }
    25% { border-radius: 58% 42% 75% 25% / 76% 46% 54% 24%; }
    50% { border-radius: 50% 50% 33% 67% / 55% 27% 73% 45%; }
    75% { border-radius: 33% 67% 58% 42% / 63% 68% 32% 37%; }
    100% { border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%; }
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}

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

.floating-shape {
    position: absolute;
    border-radius: 50%;
    opacity: 0.6;
}

.shape-1 {
    top: 2.5rem;
    left: 2.5rem;
    width: 8rem;
    height: 8rem;
    background: linear-gradient(135deg, var(--gradient-2), var(--gradient-3));
    animation: float 6s ease-in-out infinite, blob 8s infinite;
}

.shape-2 {
    bottom: 5rem;
    right: 5rem;
    width: 6rem;
    height: 6rem;
    background: linear-gradient(135deg, var(--gradient-3), var(--gradient-1));
    animation: pulse 4s ease-in-out infinite;
}

.shape-3 {
    top: 50%;
    left: 25%;
    width: 4rem;
    height: 4rem;
    background: var(--accent);
    animation: bounce 3s infinite;
}

.shape-4, .shape-5, .shape-6, .shape-7, .shape-8, .shape-9, .shape-10, .shape-11, .shape-12, .shape-13 {
    width: 6rem;
    height: 6rem;
    background: linear-gradient(135deg, var(--gradient-1), var(--gradient-2));
    animation: float 8s ease-in-out infinite;
}

/* Navigation */
.navbar {
    background: linear-gradient(135deg, var(--gradient-1) 0%, var(--gradient-2) 50%, var(--gradient-3) 100%);
    backdrop-filter: blur(10px);
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem;
}

.nav-brand {
    display: flex;
    align-items: center;
}

.logo {
    width: 3rem;
    height: 3rem;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-weight: bold;
    font-size: 1.25rem;
    margin-right: 0.75rem;
    animation: float 6s ease-in-out infinite;
    box-shadow: 0 0 20px var(--primary);
}

.brand-text {
    font-size: 1.5rem;
    font-weight: bold;
    color: var(--white);
    text-shadow: 0 0 10px var(--primary);
}

.nav-links {
    display: flex;
    gap: 2rem;
}

.nav-link {
    color: var(--white);
    text-decoration: none;
    font-weight: 600;
    font-size: 1.125rem;
    transition: all 0.3s ease;
    position: relative;
}

.nav-link:hover, .nav-link.active {
    color: var(--accent);
    transform: scale(1.1);
}

.mobile-menu-btn {
    display: none;
    flex-direction: column;
    cursor: pointer;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 0.5rem;
    padding: 0.5rem;
}

.mobile-menu-btn span {
    width: 1.5rem;
    height: 0.125rem;
    background: var(--white);
    margin: 0.125rem 0;
    transition: all 0.3s ease;
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, var(--gradient-1) 0%, var(--gradient-2) 50%, var(--gradient-3) 100%);
    color: var(--white);
    padding: 5rem 0;
    position: relative;
    overflow: hidden;
}

.hero-bg-effects {
    position: absolute;
    inset: 0;
    opacity: 0.2;
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
    position: relative;
    z-index: 10;
}

.hero-title {
    font-size: 3rem;
    font-weight: bold;
    margin-bottom: 1.5rem;
    line-height: 1.2;
    text-shadow: 0 0 10px var(--primary);
}

.hero-subtitle {
    display: block;
    font-size: 2rem;
    margin-top: 0.5rem;
    opacity: 0.9;
}

.hero-description {
    font-size: 1.25rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

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

.hero-image {
    position: relative;
}

.hero-image::before {
    content: '';
    position: absolute;
    inset: -1rem;
    background: linear-gradient(135deg, var(--gradient-3), var(--gradient-1));
    border-radius: 1rem;
    opacity: 0.3;
    animation: pulse 4s ease-in-out infinite;
    border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
    animation: blob 8s infinite;
}

.hero-img {
    position: relative;
    width: 100%;
    height: auto;
    border-radius: 1rem;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    transition: transform 0.5s ease;
}

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

/* Buttons */
.btn {
    display: inline-block;
    padding: 1rem 2rem;
    font-size: 1.125rem;
    font-weight: 600;
    text-decoration: none;
    border-radius: 0.75rem;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    text-align: center;
}

.btn-primary {
    background: var(--accent);
    color: var(--neutral-dark);
    box-shadow: 0 0 20px var(--accent);
}

.btn-primary:hover {
    background: #fbbf24;
    transform: scale(1.05);
}

.btn-secondary {
    background: var(--glass-bg);
    color: var(--white);
    border: 2px solid var(--white);
    backdrop-filter: blur(10px);
}

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

.btn-full {
    width: 100%;
}

.btn-small {
    padding: 0.5rem 1rem;
    font-size: 0.875rem;
}

/* Services Section */
.services {
    padding: 5rem 0;
    background: linear-gradient(135deg, var(--gradient-2) 0%, var(--gradient-3) 100%);
    position: relative;
    overflow: hidden;
}

.services-bg-effects {
    position: absolute;
    inset: 0;
    opacity: 0.1;
}

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

.section-title {
    font-size: 2.5rem;
    font-weight: bold;
    margin-bottom: 1.5rem;
    color: var(--white);
    text-shadow: 0 0 10px var(--primary);
}

.section-description {
    font-size: 1.25rem;
    color: var(--white);
    opacity: 0.9;
    max-width: 48rem;
    margin: 0 auto;
}

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

.service-card {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 1.5rem;
    padding: 2rem;
    text-align: center;
    transition: all 0.5s ease;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
}

.service-card:hover {
    transform: scale(1.05) translateY(-0.5rem);
    box-shadow: 0 0 20px var(--primary);
}

.service-icon {
    font-size: 3rem;
    margin-bottom: 1.5rem;
    display: inline-block;
    animation: float 6s ease-in-out infinite;
}

.service-title {
    font-size: 1.5rem;
    font-weight: bold;
    margin-bottom: 1rem;
    color: var(--primary);
}

.service-description {
    color: var(--neutral-dark);
    margin-bottom: 1.5rem;
    opacity: 0.8;
}

.service-link {
    color: var(--primary);
    text-decoration: none;
    font-weight: bold;
    font-size: 1.125rem;
    transition: all 0.3s ease;
}

.service-link:hover {
    color: var(--secondary);
}

/* Why Choose Us Section */
.why-choose-us {
    padding: 5rem 0;
    background: linear-gradient(135deg, var(--gradient-3) 0%, var(--gradient-1) 100%);
    position: relative;
    overflow: hidden;
}

.why-bg-effects {
    position: absolute;
    inset: 0;
    opacity: 0.15;
}

.why-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
    position: relative;
    z-index: 10;
}

.why-image {
    position: relative;
}

.why-image::before {
    content: '';
    position: absolute;
    inset: -1.5rem;
    background: linear-gradient(135deg, var(--gradient-1), var(--gradient-2));
    border-radius: 1rem;
    opacity: 0.3;
    animation: pulse 4s ease-in-out infinite;
    border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
    animation: blob 8s infinite;
}

.why-img {
    position: relative;
    width: 100%;
    height: auto;
    border-radius: 1.5rem;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    transition: transform 0.5s ease;
}

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

.why-title {
    font-size: 2.5rem;
    font-weight: bold;
    margin-bottom: 2rem;
    color: var(--neutral-dark);
    text-shadow: 0 0 10px var(--primary);
}

.why-features {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.feature-item {
    display: flex;
    align-items: flex-start;
    background: var(--glass-bg);
    backdrop-filter: blur(10px);
    border: 1px solid var(--glass-border);
    border-radius: 1.5rem;
    padding: 1.5rem;
    transition: all 0.3s ease;
}

.feature-item:hover {
    transform: scale(1.05);
}

.feature-icon {
    width: 3rem;
    height: 3rem;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 1.25rem;
    font-weight: bold;
    margin-right: 1.5rem;
    flex-shrink: 0;
    animation: float 6s ease-in-out infinite;
}

.feature-content {
    flex: 1;
}

.feature-title {
    font-size: 1.25rem;
    font-weight: bold;
    margin-bottom: 0.75rem;
    color: var(--neutral-dark);
}

.feature-description {
    color: var(--neutral-dark);
    opacity: 0.8;
}

/* Contact Section */
.contact-section {
    padding: 5rem 0;
    background: linear-gradient(135deg, var(--gradient-1) 0%, var(--gradient-2) 100%);
    position: relative;
    overflow: hidden;
}

.contact-bg-effects {
    position: absolute;
    inset: 0;
    opacity: 0.1;
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    position: relative;
    z-index: 10;
}

.contact-form-wrapper {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 1.5rem;
    padding: 0.5rem;
}

.contact-form {
    background: var(--white);
    border-radius: 1rem;
    padding: 2rem;
}

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

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: var(--neutral-dark);
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 0.75rem;
    border: 2px solid #e5e7eb;
    border-radius: 0.5rem;
    font-size: 1rem;
    transition: border-color 0.3s ease;
    background: var(--white);
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--primary);
}

.contact-info {
    color: var(--white);
}

.contact-info-title {
    font-size: 1.875rem;
    font-weight: bold;
    margin-bottom: 2rem;
    text-shadow: 0 0 10px var(--primary);
}

.contact-items {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    background: var(--glass-bg);
    backdrop-filter: blur(10px);
    border: 1px solid var(--glass-border);
    border-radius: 1rem;
    padding: 1rem;
    transition: all 0.3s ease;
}

.contact-item:hover {
    transform: scale(1.05);
}

.contact-item-icon {
    width: 3rem;
    height: 3rem;
    background: linear-gradient(135deg, var(--secondary), var(--accent));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    margin-right: 1rem;
    flex-shrink: 0;
    animation: float 6s ease-in-out infinite;
}

.contact-item-content h4 {
    font-size: 1.125rem;
    font-weight: bold;
    margin-bottom: 0.25rem;
}

.contact-item-content p {
    opacity: 0.8;
}

.azerbaijan-card {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 1.5rem;
    padding: 1.5rem;
    transition: all 0.5s ease;
}

.azerbaijan-card:hover {
    transform: scale(1.05);
    box-shadow: 0 0 20px var(--primary);
}

.azerbaijan-img {
    width: 100%;
    height: 12rem;
    object-fit: cover;
    border-radius: 0.75rem;
    margin-bottom: 1rem;
}

.azerbaijan-title {
    font-size: 1.25rem;
    font-weight: bold;
    margin-bottom: 0.75rem;
    color: var(--primary);
}

.azerbaijan-description {
    color: var(--neutral-dark);
    opacity: 0.8;
}

/* Footer */
.footer {
    background: linear-gradient(135deg, var(--gradient-1) 0%, var(--gradient-2) 100%);
    color: var(--white);
    padding: 3rem 0;
    position: relative;
    overflow: hidden;
}

.footer-bg-effects {
    position: absolute;
    inset: 0;
    opacity: 0.1;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
    position: relative;
    z-index: 10;
}

.footer-brand {
    max-width: 300px;
}

.footer-logo {
    display: flex;
    align-items: center;
    margin-bottom: 1.5rem;
}

.footer-logo .logo {
    background: linear-gradient(135deg, var(--accent), var(--secondary));
    box-shadow: 0 0 20px var(--accent);
}

.footer-description {
    margin-bottom: 1rem;
    opacity: 0.9;
}

.footer-registration {
    font-size: 0.875rem;
    opacity: 0.7;
}

.footer-title {
    font-size: 1.25rem;
    font-weight: bold;
    margin-bottom: 1.5rem;
    text-shadow: 0 0 10px var(--accent);
}

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

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

.footer-links a {
    color: var(--white);
    text-decoration: none;
    opacity: 0.8;
    font-weight: 600;
    transition: all 0.3s ease;
}

.footer-links a:hover {
    opacity: 1;
    color: var(--accent);
    transform: scale(1.05);
}

.footer-email {
    font-size: 1.125rem;
    font-weight: 600;
    margin-bottom: 1rem;
    opacity: 0.9;
}

.footer-address {
    opacity: 0.8;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    padding-top: 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
    position: relative;
    z-index: 10;
}

.footer-copyright {
    font-size: 1.125rem;
    font-weight: 600;
}

.footer-legal {
    display: flex;
    gap: 1.5rem;
}

.footer-legal a {
    color: var(--white);
    text-decoration: none;
    opacity: 0.8;
    font-size: 1.125rem;
    font-weight: 600;
    transition: all 0.3s ease;
}

.footer-legal a:hover {
    opacity: 1;
    color: var(--accent);
    transform: scale(1.05);
}

/* Cookie Banner */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(135deg, var(--gradient-1), var(--gradient-2));
    color: var(--white);
    padding: 1rem;
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.1);
    z-index: 1001;
    transform: translateY(100%);
    transition: transform 0.3s ease;
}

.cookie-banner.show {
    transform: translateY(0);
}

.cookie-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.cookie-text {
    flex: 1;
    margin-right: 1rem;
}

.cookie-link {
    color: var(--accent);
    text-decoration: underline;
}

.cookie-buttons {
    display: flex;
    gap: 0.5rem;
}

/* Responsive Design */
@media (max-width: 768px) {
    .container {
        padding: 0 1rem;
    }
    
    .nav-links {
        display: none;
    }
    
    .mobile-menu-btn {
        display: flex;
    }
    
    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-subtitle {
        font-size: 1.5rem;
    }
    
    .why-content {
        grid-template-columns: 1fr;
    }
    
    .contact-content {
        grid-template-columns: 1fr;
    }
    
    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }
    
    .cookie-content {
        flex-direction: column;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .hero {
        padding: 3rem 0;
    }
    
    .services, .why-choose-us, .contact-section {
        padding: 3rem 0;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .hero-title {
        font-size: 1.75rem;
    }
    
    .why-title {
        font-size: 2rem;
    }
}