/* ==== Reset & Base ==== */

* {
    box-sizing:border-box;
    margin: 0;
    padding: 0;
}


html {
    scroll-behavior: smooth;
}

section {
        scroll-margin-top: 100px;
        padding: 40px 0px;
    }

body { 
    font-family: Arial, Helvetica, sans-serif;
    background-color: var(--color-bg-light);
    color: var(--color-text);
    line-height: 1.6;
}

/* === Colors === */
:root {
    --color-primary: #2FA4CC;
    --color-primary-dark: #1C7FA1;
    --color-structure: #054570;

    --color-text: #000000;
    --color-text-muted: #4B5563;
    --color-text-soft: #6B7280;

    --color-bg-light: #F4F7F9;
    --color-white: #FFFFFF;
    --color-border: #E5E7EB;
}

/* Utility containers */
.container {
    width: 90%;
    max-width: 1100px;
    margin: auto;
}

/* ==== Navigation === */
.navbar {
    background: var(--color-structure);
    color: white;
    position: sticky;
    top: 0;
    z-index: 1000;
    padding: 14px 0;
}

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

.navbar-logo {
    max-width: 150px;
    height: auto;
}

.nav-links {
        display: flex;
        gap: 25px;
    }

.nav-links a {
    color: white;
    text-decoration: none;
    margin-left: 20px;
    font-weight: 500;
}

.nav-links a:hover {
    opacity: 0.8;
}



/* ==== Hero Section ==== */

.hero {
    background: white;
    padding: 60px 0;
    text-align: center;
}

.hero h1 {
    font-size: 2.4rem;
    margin-bottom: 15px;
    color: var(--color-text)
}

.hero p {
    font-size: 1.1rem;
    margin-bottom: 25px;
    color: var(--color-text);
}

/* ==== Buttons ==== */

.btn-primary,
.btn-secondary {
    display: inline-block;
    padding: 10px 20px;
    text-decoration: none;
    border-radius: 5px;
    font-weight: 600;
}

.btn-primary {
    background: #2563eb;
    color: white;
}

.btn-primary:hover {
    background: #111827;
}

.btn-secondary {
    background: #2563eb;
    color: white;
}

.btn-secondary:hover {
    background: #374151;
}

/* ==== Service Section ==== */

.service {
    background: #f9fafb;
    padding: 60px 0;
    text-align: center;
}

.service h2 {
    margin-bottom: 40px;
    font-size: 2rem;
}

#about h1 {
    color: var(--color-primary);
}

.service-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 25px;
}

.service-card {
    background: white;
    padding: 25px;
    border-radius: 8px;
    box-shadow: 0 3px 8px rgba(54, 40, 185, 0.05);
}

#about .service-card:last-child {
    padding: 0;
    background: none;
    box-shadow: none;
}

.service-card h3 {
    margin-bottom: 10px
}

.service-card p {
    font-size: 0.95rem;
    color: var(--color-text-muted);
}

/* ==== Contact Section ==== */

.contact {
    background: #f9fafb;
    padding: 60px 0;
    text-align: center;
}

.contact h2 {
    font-size: 2rem;
    margin-bottom: 30px;
    color: var(--color-primary);
}

.contact-grid {
    display: grid;
    gap: 18px;
    max-width: 500px;
    margin: 0 auto;
    text-align: center;
}

.contact-item {
    display: flex;
    border-bottom: 1px solid #e5e7eb;
    padding-bottom: 8px;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    padding: 8px 0;
}

.contact-item span {
    font-weight: 600;
    color: var(--color-text-muted);
    border-bottom: 1px solid var(--color-border);
}

.contact-item a {
    text-decoration: none;
    color: var(--color-primary);
    word-break: break-word;
}

.contact-item a:hover {
    text-decoration: underline;
    color: var(--color-primary-dark)
}



/* ==== Contact/About Section (set) ==== */

.set {
    background: white;
    padding: 20px 10px;
    text-align: left;
}

.set h1 {
    font-size: 2.0rem;
    margin-bottom: 1px;
    color: var(--color-primary);
}

.set p {
    font-size: 1.1rem;
    margin-bottom: 25px;
    color: var(--color-text-muted);
}

.set-logo {
    max-width: 300px;
    height: auto;
    margin: 20px 0;
}

/* ==== Footer ==== */

footer {
    text-align: center;
    padding: 20px 0;
    background: var(--color-structure);
    color: white;
    font-size: 0.9rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer span,
.footer p {
    flex: 1;
}

.footer p:last-child {
    text-align: right;
}

.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    font-size: 28px;
    color: white;
    cursor: pointer;
}

.menu-toggle span {
    width: 25px;
    height: 3px;
    background: white;
}

/* ==== Tablet Styles ==== */

@media (max-width: 768px) {
    .service-grid {
        grid-template-columns: 1fr 1fr;
    }

    .navbar .container {
        flex-direction: column;
        align-items: flex-start;
    }

    .nav-links {
        margin-top: 10px
    }

    .nav-links a {
        margin-left: 0;
        margin-right: 15px;
    }

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

/* ==== Phone Styles ==== */
@media (max-width: 480px) {
    .container {
        width: 100%;
        padding: 0 20px;
    }
    .service-grid {
        grid-template-columns: 1fr;
    }

    .contact-grid {
        grid-template-columns: 1fr;
    }
     
    .hero {
        padding: 40px 0;
    }

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

    .hero-logo {
        max-width: 150px;
    }

    .navbar .container {
    flex-direction: row;
    align-items: center;
}

.menu-toggle {
    display: flex;
}

.nav-links {
    position: absolute;
    top: 100%;
    right: 0;
    background: var(--color-structure);
    flex-direction: column;
    width: 200px;
    padding: 20px;
    display: none;
}

.nav-links a {
    margin: 10px 0;
}

.nav-links.active {
    display: flex;
}
}