/* =========================
   GLOBAL STYLES
========================= */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Segoe UI", system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
}

body {
    background: #ffffff;
    color: #333;
    line-height: 1.6;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: auto;
}

.section-padding {
    padding: 80px 0;
}

.bg-light-grey {
    background: #f8f9fc;
}

.bg-dark-blue {
    background: linear-gradient(135deg, #0f172a, #1e293b);
}

/* =========================
   NAVBAR
========================= */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 25px 0;
}

.logo {
    font-size: 22px;
    font-weight: 800;
    color: #fff;
    text-decoration: none;
}

.nav-links {
    list-style: none;
    display: flex;
    gap: 30px;
}

.nav-links a {
    color: #e5e7eb;
    text-decoration: none;
    font-weight: 500;
}

.nav-links a:hover {
    color: #38bdf8;
}

.cta-link {
    background: #38bdf8;
    color: #000 !important;
    padding: 8px 16px;
    border-radius: 20px;
    font-weight: 600;
}

/* =========================
   HERO SECTION
========================= */
#hero-section {
    background: linear-gradient(135deg, #020617, #0f172a);
    color: white;
    padding-bottom: 100px;
}

.hero-content {
    margin-top: 90px;
    max-width: 700px;
}

.hero-content h1 {
    font-size: 42px;
    font-weight: 900;
    margin-bottom: 20px;
}

.hero-content p {
    font-size: 18px;
    color: #cbd5f5;
    margin-bottom: 30px;
}

/* =========================
   BUTTONS
========================= */
.cta-button {
    display: inline-block;
    padding: 14px 28px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 700;
    border: none;
    cursor: pointer;
}

.cta-button.primary {
    background: linear-gradient(135deg, #38bdf8, #22d3ee);
    color: #000;
}

.cta-button.secondary {
    background: #22d3ee;
    color: #000;
    width: 100%;
}

/* =========================
   SECTION HEADINGS
========================= */
section h2 {
    font-size: 32px;
    font-weight: 800;
    margin-bottom: 15px;
    text-align: center;
}

.section-subtitle {
    text-align: center;
    max-width: 600px;
    margin: 0 auto 50px;
    color: #666;
}

/* =========================
   SERVICES
========================= */
.service-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.service-card {
    background: white;
    border-radius: 20px;
    padding: 35px;
    box-shadow: 0 15px 40px rgba(0,0,0,0.08);
    transition: transform .3s;
}

.service-card:hover {
    transform: translateY(-8px);
}

.service-card .icon {
    font-size: 40px;
}

.service-card h3 {
    margin: 15px 0;
    font-size: 20px;
}

.service-card ul {
    margin-top: 15px;
    padding-left: 18px;
}

.service-card li {
    margin-bottom: 8px;
}

/* =========================
   PORTFOLIO
========================= */
.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
}

.project-card {
    background: #fff;
    padding: 30px;
    border-radius: 18px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
}

/* =========================
   TESTIMONIALS
========================= */
.testimonial-box {
    max-width: 700px;
    margin: 30px auto;
    background: white;
    padding: 30px;
    border-radius: 20px;
    box-shadow: 0 15px 35px rgba(0,0,0,0.08);
    font-style: italic;
}

/* =========================
   CONTACT FORM
========================= */
.contact-form {
    max-width: 550px;
    margin: auto;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
    width: 100%;
    padding: 14px;
    margin-bottom: 15px;
    border-radius: 10px;
    border: none;
    outline: none;
}

.contact-form button {
    margin-top: 10px;
}

/* =========================
   MESSAGES
========================= */
.success-msg {
    background: #22c55e;
    color: #fff;
    padding: 12px;
    border-radius: 8px;
    margin-bottom: 15px;
}

.error-msg {
    background: #ef4444;
    color: #fff;
    padding: 12px;
    border-radius: 8px;
    margin-bottom: 15px;
}

/* =========================
   FOOTER
========================= */
footer {
    background: #020617;
    color: #9ca3af;
    text-align: center;
    padding: 25px 0;
}

footer a {
    color: #38bdf8;
    text-decoration: none;
}

/* =========================
   RESPONSIVE
========================= */
@media (max-width: 768px) {
    .hero-content h1 {
        font-size: 32px;
    }

    .nav-links {
        display: none;
    }
}
