/* CSS Variables */
:root {
    /* Theme Colors */
    --primary-cyan: #00bcd4;
    --primary-green: #4caf50;
    --primary-purple: #9c27b0;
    --primary-orange: #ff9800;
    
    /* Light Theme (default) */
    --bg-primary: #ffffff;
    --bg-secondary: #f5f5f5;
    --text-primary: #333333;
    --text-secondary: #666666;
    --card-bg: #ffffff;
    --shadow-color: rgba(0, 0, 0, 0.1);
}

/* Dark Theme */
:root[data-theme="dark"],
[data-theme="dark"] {
    --bg-primary: #1a1a1a;
    --bg-secondary: #2d2d2d;
    --text-primary: #ffffff;
    --text-secondary: #cccccc;
    --card-bg: #333333;
    --shadow-color: rgba(0, 0, 0, 0.3);
    --overlay-color: rgba(26, 26, 26, 0.97);
}

/* Light Theme */
:root[data-theme="light"],
[data-theme="light"] {
    --overlay-color: rgba(255, 255, 255, 0.97);
}

/* Color Themes */
.cyan-color { --primary-color: var(--primary-cyan); }
.green-color { --primary-color: var(--primary-green); }
.purple-color { --primary-color: var(--primary-purple); }
.orange-color { --primary-color: var(--primary-orange); }

/* Keyframe Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInLeft {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

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

@keyframes pulse {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
    100% {
        transform: scale(1);
    }
}

/* Animation Classes */
.animate {
    opacity: 0;
}

.animate.fade-in-up {
    animation: fadeInUp 0.6s ease forwards;
}

.animate.fade-in-left {
    animation: fadeInLeft 0.6s ease forwards;
}

.animate.fade-in-right {
    animation: fadeInRight 0.6s ease forwards;
}

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

/* Text Animation Keyframes */
@keyframes fadeInSlideUp {
    0% {
        opacity: 0;
        transform: translateY(30px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes gradientText {
    0% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
    100% {
        background-position: 0% 50%;
    }
}

@keyframes typewriter {
    from {
        width: 0;
    }
    to {
        width: 100%;
    }
}

@keyframes blink {
    50% {
        border-color: transparent;
    }
}

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

body {
    font-family: 'Poppins', sans-serif;
    line-height: 1.6;
    background-color: var(--bg-primary);
    color: var(--text-primary);
    transition: all 0.3s ease-in-out;
    overflow-x: hidden;
}

body.menu-open {
    overflow: hidden;
}

/* Ensure theme transitions are smooth */
body * {
    transition: background-color 0.3s ease-in-out, 
                color 0.3s ease-in-out, 
                border-color 0.3s ease-in-out,
                box-shadow 0.3s ease-in-out;
}

/* Header Styles */
header {
    position: fixed;
    top: 0;
    width: 100%;
    height: 90px;
    padding: 0 2rem;
    background-color: var(--bg-primary);
    box-shadow: 0 2px 10px var(--shadow-color);
    z-index: 1000;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: background-color 0.3s ease, box-shadow 0.3s ease;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    height: 100%;
    padding: 12px 0;
}

.logo-img {
    height: 100%;
    width: auto;
    max-height: 65px;
    object-fit: contain;
    transition: transform 0.3s ease;
}

.logo:hover .logo-img {
    transform: scale(1.02);
}

.logo .tagline {
    font-size: 1rem;
    color: var(--text-secondary);
    font-style: italic;
    margin-left: 8px;
    white-space: nowrap;
    display: none;
    transition: color 0.3s ease;
}

@media (min-width: 768px) {
    .logo-img {
        max-height: 70px;
    }
    
    .logo .tagline {
        display: block;
    }
}

@media (max-width: 767px) {
    header {
        height: 70px;
        padding: 0 1rem;
    }
    
    .logo-img {
        max-height: 50px;
    }
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 2.5rem;
    height: 100%;
    align-items: center;
}

.nav-links a {
    color: var(--text-primary);
    text-decoration: none;
    transition: color 0.3s ease;
    font-weight: 500;
    font-size: 0.95rem;
    padding: 5px 0;
    position: relative;
}

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

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

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

/* Hamburger Menu */
.hamburger {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
}

.hamburger span {
    display: block;
    width: 25px;
    height: 3px;
    background-color: var(--text-primary);
    margin: 5px 0;
    transition: 0.3s;
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 2rem;
    background: linear-gradient(rgba(0, 0, 0, 0.75), rgba(0, 0, 0, 0.75)),
                url('https://images.unsplash.com/photo-1486406146926-c627a92ad1ab?auto=format&fit=crop&w=1920&q=90');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    margin-top: 90px;
    color: white;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at center, rgba(37, 180, 120, 0.1) 0%, transparent 70%);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, var(--primary-color) 0%, transparent 100%);
    opacity: 0.3;
    animation: pulse 8s ease-in-out infinite;
}

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

.hero h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
    display: inline-block;
    padding: 0.5rem 2rem;
    background: rgba(0, 0, 0, 0.6);
    border-radius: 10px;
    position: relative;
    overflow: hidden;
}

.hero h1::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, 
        rgba(255, 255, 255, 0.1) 0%,
        rgba(255, 255, 255, 0.05) 50%,
        rgba(255, 255, 255, 0) 100%);
    z-index: 1;
}

.hero h1::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(255, 255, 255, 0.2),
        transparent
    );
    animation: shine 3s infinite;
}

@keyframes shine {
    0% {
        left: -100%;
    }
    20% {
        left: 100%;
    }
    100% {
        left: 100%;
    }
}

.hero h2 {
    font-size: 1.5rem;
    color: white;
    margin-bottom: 2rem;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

/* Button Styles */
.btn {
    display: inline-block;
    padding: 0.8rem 1.5rem;
    border-radius: 30px;
    text-decoration: none;
    border: none;
    cursor: pointer;
    transition: transform 0.3s, background-color 0.3s;
    font-weight: 600;
}

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

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

.btn:hover {
    transform: translateY(-2px);
}

/* Section Styles */
section {
    padding: 5rem 2rem;
    position: relative;
}

section h2 {
    text-align: center;
    margin-bottom: 3rem;
    color: var(--primary-color);
    position: relative;
}

/* About Section Background */
.about {
    background: linear-gradient(rgba(var(--bg-primary), 0.92), rgba(var(--bg-primary), 0.92)),
                url('https://images.unsplash.com/photo-1519389950473-47ba0277781c?auto=format&fit=crop&w=1920&q=80');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    position: relative;
    overflow: hidden;
}

.about::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 50% 50%, var(--primary-color) 0%, transparent 70%);
    opacity: 0.1;
    animation: pulse 8s ease-in-out infinite;
}

.about p {
    position: relative;
    z-index: 1;
    max-width: 800px;
    margin: 0 auto 2rem;
    padding: 2rem;
    background: var(--bg-primary);
    border-radius: 15px;
    box-shadow: 0 5px 15px var(--shadow-color);
    border: 1px solid rgba(var(--primary-color), 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.about p:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px var(--shadow-color);
}

/* Services Cards */
.service-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin: 0 auto;
    max-width: 1200px;
}

.card {
    background-color: var(--card-bg);
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 5px 15px var(--shadow-color);
    text-align: center;
    transition: transform 0.3s;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

/* Service Card Background Images */
.card.web-dev {
    background: linear-gradient(rgba(0, 0, 0, 0.75), rgba(0, 0, 0, 0.75)),
                url('https://images.unsplash.com/photo-1627398242454-45a1465c2479?auto=format&fit=crop&w=800&q=80');
    background-size: cover;
    background-position: center;
    color: white;
}

.card.mobile-dev {
    background: linear-gradient(rgba(0, 0, 0, 0.75), rgba(0, 0, 0, 0.75)),
                url('https://images.unsplash.com/photo-1618761714954-0b8cd0026356?auto=format&fit=crop&w=800&q=80');
    background-size: cover;
    background-position: center;
    color: white;
}

.card.ui-design {
    background: linear-gradient(rgba(0, 0, 0, 0.75), rgba(0, 0, 0, 0.75)),
                url('https://images.unsplash.com/photo-1626785774573-4b799315345d?auto=format&fit=crop&w=800&q=80');
    background-size: cover;
    background-position: center;
    color: white;
}

.card:hover {
    transform: translateY(-10px);
}

.card i {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
    animation: float 3s ease-in-out infinite;
}

.card:hover i {
    animation: pulse 1s ease-in-out infinite;
}

/* Solutions Showcase */
.solutions-showcase {
    background: linear-gradient(135deg, 
                var(--bg-primary) 0%,
                var(--bg-primary) 100%),
                url('https://images.unsplash.com/photo-1497366811353-6870744d04b2?auto=format&fit=crop&w=1920&q=90');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    padding: 5rem 2rem;
    position: relative;
    color: var(--text-primary);
}

.solutions-showcase::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: repeating-linear-gradient(
        45deg,
        rgba(37, 180, 120, 0.03) 0%,
        rgba(37, 180, 120, 0.03) 1px,
        transparent 1px,
        transparent 10px
    );
}

.solutions-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    max-width: 1400px;
    margin: 0 auto;
}

.solution-card {
    position: relative;
    border-radius: 15px;
    overflow: hidden;
    min-height: 300px;
    transition: transform 0.3s ease;
}

.solution-card:hover {
    transform: translateY(-10px);
}

/* Solution Card Backgrounds */
.solution-card:nth-child(1) {
    background: linear-gradient(rgba(0, 0, 0, 0.8), rgba(0, 0, 0, 0.8)),
                url('https://images.unsplash.com/photo-1633419461186-7d40a38105ec?auto=format&fit=crop&w=800&q=80');
    background-size: cover;
    background-position: center;
}

.solution-card:nth-child(2) {
    background: linear-gradient(rgba(0, 0, 0, 0.8), rgba(0, 0, 0, 0.8)),
                url('https://images.unsplash.com/photo-1620712943543-bcc4688e7485?auto=format&fit=crop&w=800&q=80');
    background-size: cover;
    background-position: center;
}

.solution-card:nth-child(3) {
    background: linear-gradient(rgba(0, 0, 0, 0.8), rgba(0, 0, 0, 0.8)),
                url('https://images.unsplash.com/photo-1563986768494-4dee2763ff3f?auto=format&fit=crop&w=800&q=80');
    background-size: cover;
    background-position: center;
}

.solution-card:nth-child(4) {
    background: linear-gradient(rgba(0, 0, 0, 0.8), rgba(0, 0, 0, 0.8)),
                url('https://images.unsplash.com/photo-1606761568499-6d2451b23c66?auto=format&fit=crop&w=800&q=80');
    background-size: cover;
    background-position: center;
}

.solution-card:nth-child(5) {
    background: linear-gradient(rgba(0, 0, 0, 0.8), rgba(0, 0, 0, 0.8)),
                url('https://images.unsplash.com/photo-1454165804606-c3d57bc86b40?auto=format&fit=crop&w=800&q=80');
    background-size: cover;
    background-position: center;
}

.solution-card:nth-child(6) {
    background: linear-gradient(rgba(0, 0, 0, 0.8), rgba(0, 0, 0, 0.8)),
                url('https://images.unsplash.com/photo-1552566626-52f8b828add9?auto=format&fit=crop&w=800&q=80');
    background-size: cover;
    background-position: center;
}

.solution-content {
    position: relative;
    padding: 2rem;
    color: white;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    background: linear-gradient(135deg, rgba(var(--primary-color), 0.2) 0%, rgba(0, 0, 0, 0.8) 100%);
    transition: background 0.3s ease;
}

.solution-card:hover .solution-content {
    background: linear-gradient(135deg, rgba(var(--primary-color), 0.3) 0%, rgba(0, 0, 0, 0.9) 100%);
}

.solution-content i {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
    transition: transform 0.3s ease;
}

.solution-card:hover i {
    transform: scale(1.2);
}

.solution-content h3 {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: white;
    position: relative;
    padding-bottom: 10px;
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInSlideUp 0.6s ease forwards;
}

.solution-content h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 2px;
    background: var(--primary-color);
    transition: width 0.3s ease;
}

.solution-card:hover .solution-content h3::after {
    width: 60px;
}

.solution-content p {
    font-family: 'Poppins', sans-serif;
    font-weight: 300;
    line-height: 1.6;
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInSlideUp 0.6s ease forwards 0.2s;
}

.solution-content ul li {
    font-family: 'Poppins', sans-serif;
    font-weight: 300;
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInSlideUp 0.6s ease forwards 0.4s;
}

.solution-content p {
    margin-bottom: 1.5rem;
    color: rgba(255, 255, 255, 0.9);
}

.solution-content ul {
    list-style: none;
    padding: 0;
}

.solution-content ul li {
    margin-bottom: 0.5rem;
    padding-left: 1.5rem;
    position: relative;
    color: rgba(255, 255, 255, 0.8);
}

.solution-content ul li::before {
    content: "→";
    position: absolute;
    left: 0;
    color: var(--primary-color);
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .solutions-grid {
        grid-template-columns: 1fr;
    }
    
    .solution-card {
        min-height: 250px;
    }
}

/* Contact Section */
.contact {
    background: linear-gradient(rgba(var(--bg-primary), 0.95), rgba(var(--bg-primary), 0.95)),
                url('https://images.unsplash.com/photo-1486406146926-c627a92ad1ab?auto=format&fit=crop&w=1920&q=80');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
}

.contact-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 300px 1fr;
    gap: 2rem;
    padding: 2rem;
    background-color: rgba(var(--card-bg), 0.8);
    backdrop-filter: blur(10px);
    border-radius: 15px;
    box-shadow: 0 5px 15px var(--shadow-color);
}

@media (max-width: 768px) {
    .contact-container {
        grid-template-columns: 1fr;
        padding: 1.5rem;
    }
}

.contact-info {
    padding: 2rem;
    background: linear-gradient(135deg, 
        var(--primary-color) 0%, 
        color-mix(in srgb, var(--primary-color) 90%, black) 100%
    );
    border-radius: 10px;
    box-shadow: 0 5px 15px var(--shadow-color);
    border: 1px solid rgba(255, 255, 255, 0.1);
    position: relative;
    z-index: 1;
}

.contact-info::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.2);
    border-radius: 10px;
    z-index: -1;
}

.info-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 1.5rem;
    animation: float 3s ease-in-out infinite;
    background: rgba(255, 255, 255, 0.1);
    padding: 1rem;
    border-radius: 8px;
    backdrop-filter: blur(5px);
}

@media (max-width: 480px) {
    .info-item {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
    
    .info-item i {
        margin-right: 0;
        margin-bottom: 0.5rem;
    }
}

.info-item i {
    font-size: 1.5rem;
    margin-right: 1rem;
    color: #ffffff;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.info-item p {
    color: #ffffff;
    font-size: 1rem;
    margin: 0;
    font-weight: 500;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
    letter-spacing: 0.5px;
}

/* Contact Form */
.contact form {
    width: 100%;
    padding: 2rem;
}

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

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    color: var(--text-secondary);
    font-weight: 500;
    transition: color 0.3s;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 1rem;
    border: 2px solid var(--text-secondary);
    border-radius: 8px;
    background-color: var(--bg-primary);
    color: var(--text-primary);
    transition: all 0.3s;
}

@media (max-width: 768px) {
    .form-group input,
    .form-group textarea,
    .contact form .btn {
        font-size: 16px; /* Prevent zoom on iOS */
        padding: 12px;
        min-height: 44px; /* Minimum touch target size */
    }
}

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

.form-group input:focus + label,
.form-group textarea:focus + label {
    color: var(--primary-color);
}

.form-group textarea {
    min-height: 150px;
    resize: vertical;
}

.error-message {
    color: #ff4444;
    font-size: 0.875rem;
    margin-top: 0.5rem;
    display: none;
}

.success-message {
    background-color: #4CAF50;
    color: white;
    padding: 1rem;
    border-radius: 8px;
    margin-top: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    animation: fadeInUp 0.5s ease forwards;
}

/* Submit Button */
.contact form .btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 1rem 2rem;
    width: 100%;
    font-size: 1.1rem;
    position: relative;
    overflow: hidden;
}

.contact form .btn i {
    transition: transform 0.3s ease;
}

.contact form .btn:hover i {
    transform: translateX(3px);
}

/* Loading State */
.contact form .btn.loading {
    pointer-events: none;
    opacity: 0.8;
}

.contact form .btn.loading .btn-text {
    visibility: hidden;
}

.contact form .btn.loading::after {
    content: "";
    position: absolute;
    width: 20px;
    height: 20px;
    border: 3px solid transparent;
    border-top-color: #ffffff;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

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

/* Theme Controls */
.theme-controls {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    z-index: 1000;
}

@media (max-width: 768px) {
    .theme-controls {
        bottom: 1.5rem;
        right: 1.5rem;
    }
    
    .theme-controls .btn,
    .color-btn {
        width: 44px; /* Minimum touch target size */
        height: 44px;
    }
}

.color-options {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.color-btn {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    border: none;
    cursor: pointer;
    transition: transform 0.3s;
}

.color-btn:hover {
    transform: scale(1.2);
}

.color-btn.cyan { background-color: var(--primary-cyan); }
.color-btn.green { background-color: var(--primary-green); }
.color-btn.purple { background-color: var(--primary-purple); }
.color-btn.orange { background-color: var(--primary-orange); }

/* Footer */
footer {
    background-color: var(--bg-secondary);
    padding: 2rem;
    text-align: center;
}

.social-links {
    margin-top: 1rem;
}

.social-links a {
    color: var(--text-primary);
    font-size: 1.5rem;
    margin: 0 0.5rem;
    transition: color 0.3s;
}

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

/* Vacancies Section */
.vacancies {
    background: linear-gradient(135deg, 
        var(--bg-primary) 0%,
        var(--bg-primary) 100%),
        url('https://images.unsplash.com/photo-1497366216548-37526070297c?auto=format&fit=crop&w=1920&q=80');
    background-size: cover;
    background-position: center;
    padding: 5rem 2rem;
    position: relative;
    color: var(--text-primary);
}

.vacancies::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: repeating-linear-gradient(
        45deg,
        rgba(37, 180, 120, 0.03) 0%,
        rgba(37, 180, 120, 0.03) 1px,
        transparent 1px,
        transparent 10px
    );
}

.vacancies-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    position: relative;
    z-index: 1;
}

.vacancy-card {
    background: var(--bg-primary);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid rgba(37, 180, 120, 0.1);
}

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

.vacancy-header {
    background: linear-gradient(135deg, var(--primary-color) 0%, rgba(37, 180, 120, 0.8) 100%);
    padding: 2rem;
    color: white;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.vacancy-header i {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    opacity: 0.9;
}

.vacancy-header h3 {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.job-type {
    display: inline-block;
    padding: 0.3rem 1rem;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 500;
}

.vacancy-content {
    padding: 2rem;
}

.vacancy-content h4 {
    font-family: 'Montserrat', sans-serif;
    color: var(--text-primary);
    margin-bottom: 1rem;
    font-size: 1.1rem;
    font-weight: 600;
}

.vacancy-content ul {
    list-style: none;
    margin-bottom: 2rem;
}

.vacancy-content ul li {
    position: relative;
    padding-left: 1.5rem;
    margin-bottom: 0.8rem;
    color: var(--text-secondary);
    font-size: 0.95rem;
}

.vacancy-content ul li::before {
    content: '→';
    position: absolute;
    left: 0;
    color: var(--primary-color);
}

.apply-btn {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 1rem;
    font-weight: 600;
    transition: all 0.3s ease;
}

.apply-btn i {
    transition: transform 0.3s ease;
}

.apply-btn:hover i {
    transform: translateX(5px);
}

/* Media Queries */
@media (max-width: 768px) {
    .vacancies {
        padding: 3rem 1rem;
    }

    .vacancies-container {
        grid-template-columns: 1fr;
    }

    .vacancy-card {
        max-width: 100%;
    }

    .hamburger {
        display: block;
        z-index: 1100;
    }

    .nav-links {
        display: none;
        position: fixed;
        top: 70px;
        left: 0;
        right: 0;
        background-color: var(--bg-primary);
        flex-direction: column;
        padding: 1.5rem;
        text-align: center;
        box-shadow: 0 5px 15px var(--shadow-color);
        border-radius: 0 0 10px 10px;
        z-index: 1000;
        max-height: calc(100vh - 70px);
        overflow-y: auto;
        width: 100%;
    }

    .nav-links.active {
        display: flex;
    }
    
    .nav-links li {
        margin: 0.8rem 0;
    }
    
    .nav-links a {
        display: block;
        padding: 0.8rem 0;
        font-size: 1.1rem;
    }

    .hero h1 {
        font-size: 2rem;
    }

    .hero h2 {
        font-size: 1.2rem;
    }
    
    /* Improve section spacing */
    section {
        padding: 3rem 1.5rem;
    }
    
    /* Adjust service cards */
    .service-cards {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    /* Adjust solutions grid */
    .solutions-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    /* Adjust team container */
    .team-container {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    /* Adjust contact container */
    .contact-container {
        flex-direction: column;
    }
    
    .contact-info {
        margin-bottom: 2rem;
    }
    
    /* Adjust theme controls */
    .theme-controls {
        bottom: 1rem;
        right: 1rem;
    }
}

/* Additional Media Query for Extra Small Devices */
@media (max-width: 480px) {
    .hero h1 {
        font-size: 1.8rem;
        padding: 0.5rem 1rem;
    }
    
    .hero h2 {
        font-size: 1rem;
    }
    
    .cta-buttons {
        flex-direction: column;
        gap: 1rem;
    }
    
    .cta-buttons .btn {
        width: 100%;
    }
    
    section h2 {
        font-size: 1.8rem;
    }
    
    .contact-form .form-group {
        margin-bottom: 1.2rem;
    }
    
    .contact-info {
        padding: 1.5rem;
    }
    
    .contact form {
        padding: 1.5rem 1rem;
    }
    
    .form-group input,
    .form-group textarea {
        padding: 0.8rem;
        font-size: 0.9rem;
    }
    
    .footer-content {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }
}

/* Team Section */
.team {
    background: linear-gradient(135deg, 
        var(--bg-primary) 0%,
        var(--bg-primary) 100%),
        url('https://images.unsplash.com/photo-1522071820081-009f0129c71c?auto=format&fit=crop&w=1920&q=80');
    background-size: cover;
    background-position: center;
    padding: 5rem 2rem;
    position: relative;
    overflow: hidden;
}

.team::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: repeating-linear-gradient(
        45deg,
        rgba(var(--primary-color), 0.03) 0%,
        rgba(var(--primary-color), 0.03) 1px,
        transparent 1px,
        transparent 10px
    );
}

.team-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    position: relative;
    z-index: 1;
}

.team-member {
    background: var(--bg-primary);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 15px var(--shadow-color);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.team-member:hover {
    transform: translateY(-10px);
    box-shadow: 0 8px 25px var(--shadow-color);
}

.member-image {
    position: relative;
    overflow: hidden;
    aspect-ratio: 1;
}

.member-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.team-member:hover .member-image img {
    transform: scale(1.1);
}

.member-social {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 1rem;
    background: linear-gradient(to top, rgba(0,0,0,0.8), transparent);
    display: flex;
    gap: 1rem;
    justify-content: center;
    transform: translateY(100%);
    transition: transform 0.3s ease;
}

.team-member:hover .member-social {
    transform: translateY(0);
}

.member-social a {
    color: white;
    font-size: 1.2rem;
    transition: color 0.3s ease;
}

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

.member-info {
    padding: 1.5rem;
    text-align: center;
}

.member-info h3 {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    color: var(--text-primary);
}

.member-info .position {
    display: inline-block;
    padding: 0.3rem 1rem;
    background: var(--primary-color);
    color: white;
    border-radius: 20px;
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

.member-info p {
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.6;
}

/* Enhanced Service Cards */
.service-cards .card {
    border: 1px solid rgba(var(--primary-color), 0.1);
    backdrop-filter: blur(10px);
}

.service-cards .card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    background: var(--primary-color);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.3s ease;
}

.service-cards .card:hover::before {
    transform: scaleX(1);
}

/* Enhanced Solution Cards */
.solution-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, var(--primary-color) 0%, transparent 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.solution-card:hover::before {
    opacity: 0.1;
}

/* Enhanced Vacancy Cards */
.vacancy-card::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 3px;
    background: var(--primary-color);
    transition: width 0.3s ease, left 0.3s ease;
}

.vacancy-card:hover::after {
    width: 100%;
    left: 0;
}

/* Enhanced Contact Form */
.form-group input,
.form-group textarea {
    background: var(--bg-secondary);
    border: 2px solid transparent;
}

.form-group input:focus,
.form-group textarea:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 4px rgba(var(--primary-color), 0.1);
}

.contact-info {
    position: relative;
    overflow: hidden;
}

.contact-info::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(
        45deg,
        transparent 0%,
        rgba(255, 255, 255, 0.1) 50%,
        transparent 100%
    );
    animation: shine 3s infinite;
}

@keyframes shine {
    0% {
        transform: translateX(-100%) rotate(45deg);
    }
    100% {
        transform: translateX(100%) rotate(45deg);
    }
}

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

@keyframes float-horizontal {
    0%, 100% { transform: translateX(0); }
    50% { transform: translateX(10px); }
}

.info-item i {
    animation: float-vertical 3s ease-in-out infinite;
}

.vacancy-card .vacancy-header i {
    animation: float-horizontal 3s ease-in-out infinite;
}

/* Accessibility */
:focus {
    outline: 3px solid var(--primary-color);
    outline-offset: 2px;
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    border: 0;
}
