/*
Theme Name: WaselIT Theme
Theme URI: https://waselit.com
Author: WaselIT
Description: Custom coded WordPress theme for WaselIT IT services startup.
Version: 1.0
Text Domain: waselit
*/

body {
    margin: 0;
    font-family: 'Inter', Arial, sans-serif;
    background: #f5f7fb;
    color: #1a1a1a;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: auto;
}

.site-header {
    background: white;
    padding: 18px 0;
    box-shadow: 0 2px 15px rgba(0,0,0,0.06);
    position: sticky;
    top: 0;
    z-index: 999;
}

.site-header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo h2 {
    margin: 0;
    color: #0077ff;
}

.nav-menu a {
    margin-left: 28px;
    text-decoration: none;
    color: #1a1a1a;
    font-weight: 600;
}

.nav-menu a:hover {
    color: #0077ff;
}

.hero {
    padding: 80px 0;
}

.hero-content {
    display: flex;
    align-items: center;
    gap: 50px;
}

.hero-text,
.hero-image {
    flex: 1;
}

.hero-text h1 {
    font-size: 52px;
    line-height: 1.2;
    margin-bottom: 25px;
}

.hero-text p {
    font-size: 18px;
    line-height: 1.7;
    margin-bottom: 30px;
}

.hero-buttons a,
.btn-primary,
.btn-secondary {
    display: inline-block;
    padding: 14px 28px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    margin-right: 15px;
}

.btn-primary {
    background: #0077ff;
    color: white;
    border: none;
}

.btn-secondary {
    border: 2px solid #0077ff;
    color: #0077ff;
}

.hero-image img {
    width: 100%;
    border-radius: 20px;
}

.services-section,
.why-section,
.contact-page {
    padding: 80px 0;
}

.services-section {
    background: white;
}

.why-section {
    background: #f5f7fb;
}

.section-title {
    text-align: center;
    font-size: 38px;
    margin-bottom: 45px;
}

.services-grid,
.why-grid,
.contact-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
}

.contact-grid {
    grid-template-columns: 1fr 1fr;
    margin-top: 50px;
}

.service-card,
.why-grid div,
.contact-form form {
    background: white;
    padding: 35px;
    border-radius: 18px;
    box-shadow: 0 8px 25px rgba(0,0,0,0.05);
}

.service-card {
    background: #f5f7fb;
}

.contact-info h3 {
    color: #0077ff;
    margin-bottom: 10px;
}

.contact-info p {
    margin-bottom: 30px;
    line-height: 1.7;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 15px;
    margin-bottom: 20px;
    border: 1px solid #dcdcdc;
    border-radius: 10px;
    font-size: 16px;
    box-sizing: border-box;
}

.contact-form textarea {
    height: 160px;
}

.cta-section {
    padding: 90px 0;
    background: #0077ff;
    color: white;
    text-align: center;
}

.cta-content h2 {
    font-size: 42px;
    margin-bottom: 20px;
}

.cta-content p {
    font-size: 18px;
    max-width: 700px;
    margin: 0 auto 35px;
    line-height: 1.7;
}

.cta-section .btn-primary {
    background: white;
    color: #0077ff;
}

.site-footer {
    background: #111827;
    color: white;
    text-align: center;
    padding: 25px 0;
}

@media (max-width: 768px) {

    .hero-content {
        flex-direction: column;
    }

    .hero-text h1 {
        font-size: 36px;
    }

    .services-grid,
    .why-grid,
    .contact-grid {
        grid-template-columns: 1fr;
    }

    .site-header .container {
        flex-direction: column;
        gap: 20px;
    }

    .nav-menu a {
        margin: 0 10px;
    }
}

.contact-form form {
    background: white;
    padding: 35px;
    border-radius: 18px;
    box-shadow: 0 8px 25px rgba(0,0,0,0.05);
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 15px;
    margin-bottom: 20px;
    border: 1px solid #dcdcdc;
    border-radius: 10px;
    font-size: 16px;
    box-sizing: border-box;
}

.contact-form textarea {
    height: 160px;
}

.contact-form button {
    border: none;
    cursor: pointer;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: start;
}

@media (max-width: 768px) {
    .contact-grid {
        grid-template-columns: 1fr;
    }
}

.success-message {
    background: #e8f7ee;
    color: #166534;
    padding: 15px 20px;
    border-radius: 10px;
    text-align: center;
    margin-bottom: 30px;
    font-weight: 600;
}

.services-page {
    padding: 90px 0;
}

.services-page .services-grid {
    margin-top: 50px;
}

.service-card,
.why-grid div,
.contact-form form {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-card:hover,
.why-grid div:hover,
.contact-form form:hover {
    transform: translateY(-6px);
    box-shadow: 0 14px 35px rgba(0,0,0,0.08);
}

.btn-primary,
.btn-secondary {
    transition: all 0.3s ease;
}

.btn-primary:hover {
    background: #005fcc;
    color: white;
}

.btn-secondary:hover {
    background: #0077ff;
    color: white;
}

.hero-slider {
    flex: 1;
    position: relative;
    height: 360px;
    border-radius: 20px;
    overflow: hidden;
}

.hero-slider .slide {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    transform: scale(1);
    transform-origin: center;
    animation: heroSlide 12s infinite;
}

.hero-slider .slide:nth-child(1) {
    animation-delay: 0s;
}

.hero-slider .slide:nth-child(2) {
    animation-delay: 4s;
}

.hero-slider .slide:nth-child(3) {
    animation-delay: 8s;
}

@keyframes heroSlide {
    0% {
        opacity: 0;
        transform: scale(1);
    }

    10% {
        opacity: 1;
        transform: scale(1.03);
    }

    35% {
        opacity: 1;
        transform: scale(1.08);
    }

    45% {
        opacity: 0;
        transform: scale(1.1);
    }

    100% {
        opacity: 0;
        transform: scale(1);
    }
}

.menu-toggle {
    display: none;
    background: #0077ff;
    color: white;
    border: none;
    font-size: 24px;
    padding: 10px 14px;
    border-radius: 8px;
    cursor: pointer;
}

@media (max-width: 768px) {

    .menu-toggle {
        display: block;
    }

    .nav-menu {
        display: none;
        width: 100%;
        text-align: center;
    }

    .menu-open .nav-menu {
        display: block;
    }

    .nav-menu a {
        display: block;
        margin: 15px 0;
    }
}