/*
Theme Name: Trionyx Core
Author: Trionyx
Version: 2.0
*/

/* =========================================
   GOOGLE FONT
========================================= */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&display=swap');


/* =========================================
   DESIGN SYSTEM
========================================= */

:root {

    --primary: #0f2741;
    --secondary: #104e90;
    --accent: #1d75d1;

    --heading: #0f2741;
    --text: #4b5563;

    --white: #ffffff;
    --light-bg: #f8fafc;
    --border: #e5e7eb;

    --radius: 10px;

    --shadow:
        0 10px 30px rgba(0,0,0,.06);

    --shadow-hover:
        0 20px 40px rgba(0,0,0,.10);

}


/* =========================================
   RESET
========================================= */

* {

    margin: 0;
    padding: 0;
    box-sizing: border-box;

}

html {

    scroll-behavior: smooth;

}

body {

    font-family: 'Inter', sans-serif;
    color: var(--text);
    background: var(--white);
    line-height: 1.7;
    font-size: 16px;

}


/* =========================================
   TYPOGRAPHY
========================================= */

h1,
h2,
h3,
h4,
h5,
h6 {

    color: var(--heading);
    line-height: 1.2;
    font-weight: 700;

}

h1 {

    font-size: 60px;

}

h2 {

    font-size: 42px;

}

h3 {

    font-size: 24px;

}

p {

    margin-bottom: 15px;

}

a {

    text-decoration: none;
    transition: .3s ease;

}

img {

    max-width: 100%;
    height: auto;

}


/* =========================================
   GLOBAL
========================================= */

section {

    padding: 100px 0;

}

.container {

    width: 90%;
    max-width: 1200px;
    margin: 0 auto;

}

.section-title {

    text-align: center;
    margin-bottom: 60px;

}

.section-title p {

    max-width: 700px;
    margin: 20px auto 0;

}


/* =========================================
   HEADER
========================================= */

.site-header {

    background: var(--primary);
    padding: 20px 0;
    position: sticky;
    top: 0;
    z-index: 999;

}

.header-container {

    display: flex;
    justify-content: space-between;
    align-items: center;

}

.site-logo a {

    color: #fff;
    font-size: 28px;
    font-weight: 800;

}

.nav-menu {

    display: flex;
    gap: 30px;
    list-style: none;

}

.nav-menu a {

    color: #fff;
    font-weight: 500;

}

.nav-menu a:hover {

    opacity: .8;

}


/* =========================================
   BUTTONS
========================================= */

.primary-button {

    display: inline-flex;
    align-items: center;
    justify-content: center;

    padding: 15px 32px;

    background: var(--secondary);
    color: #fff;

    border-radius: var(--radius);

    font-weight: 600;

    transition: .3s ease;

}

.primary-button:hover {

    background: var(--primary);
    transform: translateY(-2px);

}

.secondary-button {

    display: inline-flex;
    align-items: center;
    justify-content: center;

    padding: 15px 32px;

    border: 2px solid #fff;
    color: #fff;

    border-radius: var(--radius);

}

.secondary-button:hover {

    background: rgba(255,255,255,.15);

}


/* =========================================
   HERO
========================================= */

.hero-section {

    background:
        linear-gradient(
            rgba(15,39,65,.90),
            rgba(15,39,65,.90)
        );

    min-height: 700px;

    display: flex;
    align-items: center;
    text-align: center;

}

.hero-content {

    max-width: 850px;
    margin: auto;

}

.hero-badge {

    display: inline-block;

    padding: 8px 18px;

    border-radius: 30px;

    background: rgba(255,255,255,.15);

    color: #fff;

    margin-bottom: 25px;

    font-size: 14px;
    font-weight: 600;

}

.hero-content h1 {

    color: #fff;
    margin-bottom: 25px;

}

.hero-content p {

    color: rgba(255,255,255,.90);

    max-width: 700px;
    margin: auto auto 40px;

    font-size: 18px;

}

.hero-buttons {

    display: flex;
    justify-content: center;
    gap: 20px;

}


/* =========================================
   SERVICES
========================================= */

.services-grid {

    display: grid;

    grid-template-columns:
        repeat(
            auto-fit,
            minmax(280px,1fr)
        );

    gap: 30px;

}

.service-card {

    background: #fff;

    padding: 35px;

    border-radius: var(--radius);

    box-shadow: var(--shadow);

    transition: .3s ease;

}

.service-card:hover {

    transform: translateY(-8px);

    box-shadow: var(--shadow-hover);

}

.service-card h3 {

    margin-bottom: 15px;

}


/* =========================================
   ABOUT
========================================= */

.about-section {

    background: var(--light-bg);

}

.about-content {

    max-width: 850px;
    margin: auto;
    text-align: center;

}

.feature-list {

    list-style: none;

    margin: 35px 0;

}

.feature-list li {

    padding: 12px 0;

    border-bottom:
        1px solid var(--border);

}


/* =========================================
   SOLUTIONS
========================================= */

.solutions-section {

    background: #fff;

}


/* =========================================
   BLOG
========================================= */

.blog-grid {

    display: grid;

    grid-template-columns:
        repeat(
            auto-fit,
            minmax(320px,1fr)
        );

    gap: 30px;

}

.blog-card {

    background: #fff;

    padding: 30px;

    border-radius: var(--radius);

    box-shadow: var(--shadow);

    transition: .3s ease;

}

.blog-card:hover {

    transform: translateY(-8px);

    box-shadow: var(--shadow-hover);

}

.blog-card h3 {

    margin-bottom: 15px;

}

.blog-card a {

    color: var(--secondary);
    font-weight: 600;

}


/* =========================================
   CONTACT
========================================= */

.contact-section {

    background: var(--primary);

    text-align: center;

}

.contact-section h2,
.contact-section p {

    color: #fff;

}

.contact-container {

    max-width: 900px;
    margin: auto;

}


/* =========================================
   FORM
========================================= */

.contact-form {

    margin-top: 40px;

}

.form-grid {

    display: grid;

    grid-template-columns:
        repeat(2,1fr);

    gap: 20px;

    margin-bottom: 20px;

}

.contact-form input,
.contact-form select,
.contact-form textarea {

    width: 100%;

    padding: 16px;

    border: 1px solid var(--border);

    border-radius: var(--radius);

    font-family: inherit;
    font-size: 16px;

}

.contact-form textarea {

    resize: vertical;
    min-height: 180px;

}

.contact-form button {

    border: none;
    cursor: pointer;

}


/* =========================================
   ALERTS
========================================= */

.success-message {

    background: #ecfdf5;

    border-left: 4px solid #10b981;

    color: #065f46;

    padding: 15px 20px;

    border-radius: 6px;

    margin-bottom: 20px;

}

.error-message {

    background: #fef2f2;

    border-left: 4px solid #ef4444;

    color: #991b1b;

    padding: 15px 20px;

    border-radius: 6px;

    margin-bottom: 20px;

}


/* =========================================
   FOOTER
========================================= */

.site-footer {

    background: #081a2d;

    color: #fff;

    padding-top: 80px;

}

.footer-container {

    display: grid;

    grid-template-columns:
        repeat(
            auto-fit,
            minmax(220px,1fr)
        );

    gap: 40px;

    padding-bottom: 50px;

}

.footer-column h3,
.footer-column h4 {

    color: #fff;
    margin-bottom: 20px;

}

.footer-column ul {

    list-style: none;

}

.footer-column a,
.footer-column p {

    color: rgba(255,255,255,.80);

}

.footer-bottom {

    border-top:
        1px solid rgba(255,255,255,.10);

    padding: 20px 0;

    text-align: center;

}


/* =========================================
   MOBILE
========================================= */

@media (max-width: 991px) {

    section {

        padding: 70px 0;

    }

    h1 {

        font-size: 42px;

    }

    h2 {

        font-size: 32px;

    }

    .hero-buttons {

        flex-direction: column;

    }

    .form-grid {

        grid-template-columns: 1fr;

    }

    .header-container {

        flex-direction: column;
        gap: 20px;

    }

    .nav-menu {

        flex-direction: column;
        align-items: center;

    }

}

@media (max-width: 576px) {

    h1 {

        font-size: 34px;

    }

    .container {

        width: 92%;

    }

}