* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #2c3e50;
    overflow-x: hidden;
    background: #f0f8ff;
}

header {
    background: linear-gradient(135deg, #1e40af 0%, #3b82f6 50%, #60a5fa 100%);
    color: white;
    padding: 1rem 0;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 15px rgba(37, 99, 235, 0.4);
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.nav-toggle {
    display: none;
    background: none;
    border: 0;
    padding: 0.5rem;
    cursor: pointer;
    flex-direction: column;
    gap: 5px;
}

.nav-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: white;
    border-radius: 2px;
    transition: transform 0.3s, opacity 0.3s;
}

.nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.logo {
    font-size: 1.8rem;
    font-weight: bold;
    letter-spacing: 1px;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-links a {
    color: white;
    text-decoration: none;
    transition: opacity 0.3s;
    font-weight: 500;
}

.nav-links a:hover {
    opacity: 0.8;
}

.hero {
    background: linear-gradient(to bottom, #2563eb 0%, #3b82f6 40%, #60a5fa 70%, #93c5fd 100%);
    color: white;
    padding: 150px 2rem 100px;
    text-align: center;
    margin-top: 60px;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        radial-gradient(circle at 20% 30%, rgba(255, 255, 255, 0.3) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(255, 255, 255, 0.2) 0%, transparent 50%),
        radial-gradient(circle at 40% 70%, rgba(255, 255, 255, 0.15) 0%, transparent 60%);
    animation: clouds 30s ease-in-out infinite;
}

@keyframes clouds {
    0%, 100% { transform: translateX(0); }
    50% { transform: translateX(30px); }
}

.hero-content {
    position: relative;
    z-index: 1;
}

.hero h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
    animation: fadeInUp 1s ease;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.1);
}

.hero p {
    font-size: 1.3rem;
    margin-bottom: 2rem;
    opacity: 0.95;
    animation: fadeInUp 1s ease 0.2s both;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.1);
}

.mythological-symbol {
    font-size: 4rem;
    opacity: 0.15;
    position: absolute;
    animation: float 6s ease-in-out infinite;
    color: white;
    user-select: none;
}

.symbol-1 {
    top: 15%;
    left: 10%;
    animation-delay: 0s;
}

.symbol-2 {
    top: 30%;
    right: 15%;
    animation-delay: 2s;
}

.symbol-3 {
    bottom: 20%;
    left: 20%;
    animation-delay: 4s;
}

@keyframes float {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    50% { transform: translateY(-20px) rotate(5deg); }
}

.cta-button {
    background: white;
    color: #1e40af;
    padding: 1rem 2.5rem;
    border: 2px solid white;
    border-radius: 50px;
    font-size: 1.1rem;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s;
    animation: fadeInUp 1s ease 0.4s both;
}

.cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(255, 255, 255, 0.3);
    background: #f0f9ff;
}

.section {
    padding: 80px 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.section h2 {
    font-size: 2.5rem;
    margin-bottom: 3rem;
    text-align: center;
    color: #4a90e2;
    position: relative;
}

.section h2::after {
    content: "☁️";
    margin-left: 1rem;
    opacity: 0.3;
}

.services {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.service-card {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(74, 144, 226, 0.15);
    transition: all 0.3s;
    /* cursor: pointer; */
    border: 2px solid transparent;
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: "";
    position: absolute;
    top: -50%;
    right: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(135, 206, 235, 0.1) 0%, transparent 70%);
    transition: transform 0.5s;
}

@media (hover: hover) {
    .service-card:hover::before {
        transform: translate(-25%, -25%);
    }

    .service-card:hover {
        transform: translateY(-10px);
        box-shadow: 0 15px 40px rgba(74, 144, 226, 0.3);
        border-color: #87ceeb;
    }
}

.service-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
    position: relative;
    z-index: 1;
}

.service-card h3 {
    color: #4a90e2;
    margin-bottom: 1rem;
    font-size: 1.5rem;
    position: relative;
    z-index: 1;
}

.service-card p {
    position: relative;
    z-index: 1;
}

.about {
    background: linear-gradient(to bottom, #ffffff 0%, #e0f2f7 100%);
    position: relative;
}

.about > * {
    position: relative;
    z-index: 1;
}

.features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.feature-item {
    text-align: center;
    padding: 1.5rem;
    background: white;
    border-radius: 12px;
    box-shadow: 0 3px 15px rgba(74, 144, 226, 0.1);
    transition: transform 0.3s;
}

@media (hover: hover) {
    .feature-item:hover {
        transform: translateY(-5px);
    }
}

.feature-item h4 {
    color: #4a90e2;
    margin: 1rem 0;
    font-size: 1.3rem;
}

.contact {
    background: linear-gradient(135deg, #1e40af 0%, #3b82f6 50%, #60a5fa 100%);
    color: white;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.contact h2 {
    color: white;
}

.contact h2::after {
    color: white;
}

.contact-info {
    display: flex;
    justify-content: center;
    gap: 3rem;
    margin-top: 2rem;
    flex-wrap: wrap;
    position: relative;
    z-index: 1;
}

.contact-item {
    overflow-wrap: anywhere;
    font-size: 1.1rem;
    background: rgba(255, 255, 255, 0.1);
    padding: 1rem 2rem;
    border-radius: 10px;
    backdrop-filter: blur(10px);
}

footer{
    background: linear-gradient(135deg, #3661ed 0%, #6aa3ff 50%, #89b6f3 100%);
    color: white;
    text-align: center;
    width: 100%;
    padding: 1rem;
    /* z-index: 1000;
    box-shadow: 0 2px 15px rgba(37, 99, 235, 0.4); */
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Tablets and below */
@media (max-width: 768px) {
    nav {
        padding: 0 1rem;
        position: relative;
    }

    .logo {
        font-size: 1.3rem;
    }

    .nav-toggle {
        display: flex;
    }

    .nav-links {
        display: none;
        position: absolute;
        top: calc(100% + 1rem);
        left: 0;
        right: 0;
        flex-direction: column;
        gap: 0;
        background: #1e40af;
        box-shadow: 0 8px 15px rgba(37, 99, 235, 0.3);
    }

    .nav-links.open {
        display: flex;
    }

    .nav-links a {
        display: block;
        padding: 1rem 1.5rem;
        border-top: 1px solid rgba(255, 255, 255, 0.15);
    }

    .hero {
        padding: 100px 1.25rem 70px;
    }

    .hero h1 {
        font-size: 2rem;
    }

    .hero p {
        font-size: 1.1rem;
    }

    .section {
        padding: 56px 1.25rem;
    }

    .section h2 {
        font-size: 2rem;
        margin-bottom: 2rem;
    }

    .services {
        margin-top: 1.5rem;
    }

    .contact-info {
        gap: 1rem;
    }

    .mythological-symbol {
        font-size: 2rem;
    }
}

/* Phones */
@media (max-width: 480px) {
    .logo {
        font-size: 1.1rem;
    }

    .hero h1 {
        font-size: 1.6rem;
    }

    .hero p {
        font-size: 1rem;
    }

    .cta-button {
        padding: 0.9rem 2rem;
        font-size: 1rem;
    }

    .section {
        padding: 44px 1rem;
    }

    .section h2 {
        font-size: 1.6rem;
    }

    .service-card {
        padding: 1.5rem;
    }

    .service-card h3 {
        font-size: 1.3rem;
    }

    .contact-item {
        width: 100%;
        padding: 1rem;
        font-size: 1rem;
    }
}

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation: none !important;
        transition: none !important;
    }
}
/* Wide screens: show all four service cards on one row */
@media (min-width: 1200px) {
    .services {
        grid-template-columns: repeat(4, 1fr);
        gap: 1.5rem;
    }

    .service-card {
        padding: 1.5rem;
    }

    .service-card h3 {
        font-size: 1.3rem;
    }
}