/* --- SkaiMax Core Branding & Variables --- */
:root {
    --navy: #1e2a5e;
    --gold: #c5a059;
    --dark-blue: #161e42;
    --text-main: #333333;
    --text-muted: #666666;
    --white: #ffffff;
    --bg-light: #f9f9f9;
    --transition: all 0.3s ease;
}

/* --- Global Reset --- */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', sans-serif;
    color: var(--text-main);
    line-height: 1.6;
    background-color: var(--white);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* =========================
   HEADER & NAVIGATION
========================= */
.main-header {
    background: var(--white);
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.top-bar {
    background-color: var(--navy);
    color: white;
    padding: 10px 0;
    font-size: 13px;
}

.top-bar > div {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.contact-info a {
    color: white;
    text-decoration: none;
    margin-right: 15px;
}

.nav-bar {
    padding: 15px 0;
}

.nav-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* Logo */
.logo-box {
    display: flex;
    align-items: center;
    gap: 15px;
    text-decoration: none;
}

.logo-box img {
    height: 60px;
}

.logo-text span:nth-child(1) {
    font-size: 26px;
    font-weight: 800;
    color: var(--navy);
    display: block;
}

.logo-text span:nth-child(3) {
    font-size: 11px;
    color: var(--gold);
    font-weight: 600;
    text-transform: uppercase;
}

.logo-text span:last-child {
    font-size: 10px;
    color: var(--text-muted);
}

/* Navigation */
.nav-main {
    display: flex;
    align-items: center;
    gap: 40px;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 25px;
}

.nav-links a {
    text-decoration: none;
    color: var(--navy);
    font-weight: 700;
    font-size: 14px;
    text-transform: uppercase;
}

/* CTA */
.nav-main > a {
    background: var(--gold);
    color: white;
    padding: 12px 25px;
    text-decoration: none;
    border-radius: 4px;
}

/* =========================
   HERO
========================= */
.hero {
    position: relative;
    height: 70vh;
    min-height: 500px;
    background: url('images/hero-bg.jpg') center/cover no-repeat;
    display: flex;
    align-items: center;
}
/* =========================
   MOBILE RESPONSIVE ONLY
   ========================= */

/* Tablets */
@media (max-width: 992px) {

    /* Top bar stack */
    .main-header > div:first-child > div {
        flex-direction: column !important;
        gap: 10px;
        text-align: center;
    }

    /* Navbar layout */
    .main-header > div:last-child > div {
        flex-direction: column !important;
        align-items: flex-start !important;
        gap: 15px;
    }

    /* Logo resize */
    .main-header img {
        width: 200px !important;
        height: auto !important;
    }

    /* Menu wrap */
    .main-header ul {
        flex-wrap: wrap !important;
        gap: 15px !important;
        justify-content: center;
    }

    /* Hero text */
    .hero h1 {
        font-size: 36px !important;
    }

    .hero p {
        font-size: 16px !important;
    }

    .hero {
        height: auto !important;
        padding: 80px 0 !important;
    }
}

/* Mobile phones */
@media (max-width: 600px) {

    /* Top bar */
    .main-header > div:first-child {
        padding: 10px 15px !important;
    }

    .main-header > div:first-child > div {
        flex-direction: column !important;
        text-align: center;
        gap: 8px;
    }

    /* Hide long phone text spacing fix */
    .main-header a {
        font-size: 11px !important;
    }

    /* Navbar */
    .main-header > div:last-child {
        padding: 10px 15px !important;
    }

    .main-header > div:last-child > div {
        flex-direction: column !important;
        align-items: center !important;
        gap: 12px;
    }

    /* Logo smaller */
    .main-header img {
        width: 160px !important;
        height: auto !important;
    }

    /* Menu vertical */
    .main-header ul {
        flex-direction: column !important;
        align-items: center !important;
        gap: 10px !important;
    }

    /* Hero section */
    .hero {
        height: auto !important;
        padding: 100px 15px !important;
        text-align: center;
    }

    .hero h1 {
        font-size: 28px !important;
    }

    .hero p {
        font-size: 15px !important;
    }

    .hero-btns {
        display: flex;
        flex-direction: column;
        gap: 10px;
        align-items: center;
    }

    /* About section */
    .about-grid {
        display: flex !important;
        flex-direction: column !important;
    }

    /* Services cards */
    .services .container > div:last-child {
        display: grid !important;
        grid-template-columns: 1fr !important;
        gap: 20px;
    }

    /* Footer */
    .footer-grid {
        display: grid !important;
        grid-template-columns: 1fr !important;
        gap: 25px;
        text-align: center;
    }

    .footer-contact p {
        justify-content: center;
    }

}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to right, rgba(30,42,94,0.9), rgba(30,42,94,0.4));
}

.hero-content {
    position: relative;
    z-index: 2;
    color: white;
    max-width: 700px;
}

.hero h1 {
    font-size: clamp(28px, 5vw, 55px);
    line-height: 1.2;
}

/* =========================
   ABOUT
========================= */
.about {
    padding: 100px 0;
}

.about-grid {
    display: flex;
    gap: 60px;
    align-items: center;
}

.about-image img {
    width: 100%;
    border-radius: 8px;
}

/* =========================
   SERVICES
========================= */
.services {
    background: var(--bg-light);
    padding: 100px 0;
}

.services > .container > div:last-child {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.card {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid #eee;
    transition: var(--transition);
}

.card:hover {
    transform: translateY(-10px);
}

/* =========================
   CONSULTATION FORM (FIXED ONCE)
========================= */
#consultation-form {
    padding: 100px 0;
    background: #f0f4f8;
}

.form-header {
    text-align: center;
    margin-bottom: 40px;
}

#consultForm {
    max-width: 800px;
    margin: auto;
    background: white;
    padding: 40px;
    border-radius: 12px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 25px;
}

/* Full width fields */
#consultForm div:nth-child(1),
#consultForm div:nth-child(4),
.btn-container {
    grid-column: span 2;
}

#consultForm input,
#consultForm select,
#consultForm textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #e0e0e0;
    border-radius: 6px;
}

/* Buttons */
.btn-container {
    display: flex;
    gap: 15px;
}

.btn-container button {
    flex: 1;
    padding: 15px;
    border: none;
    font-weight: 700;
    cursor: pointer;
}

#emailBtn {
    background: var(--navy);
    color: white;
}

#whatsappBtn {
    background: #25D366;
    color: white;
}

/* =========================
   FOOTER
========================= */
.main-footer {
    background: var(--dark-blue);
    color: white;
    padding: 80px 0 20px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 50px;
}

/* =========================
   RESPONSIVE DESIGN
========================= */

/* Tablets */
@media (max-width: 992px) {

    .nav-main {
        display: none;
    }

    .about-grid {
        flex-direction: column;
        text-align: center;
    }

    .services > .container > div:last-child {
        grid-template-columns: 1fr 1fr;
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
}
/* --- SkaiMax Core Branding & Variables --- */
:root {
    --navy: #1e2a5e;
    --gold: #c5a059;
    --dark-blue: #161e42;
    --text-main: #333333;
    --text-muted: #666666;
    --white: #ffffff;
    --bg-light: #f9f9f9;
    --transition: all 0.3s ease;
}

/* --- Global Reset --- */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', sans-serif;
    color: var(--text-main);
    line-height: 1.6;
    background-color: var(--white);
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* --- Header & Navigation --- */
.main-header {
    background: var(--white);
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.top-bar {
    background-color: var(--navy);
    color: white;
    padding: 10px 0;
    font-size: 13px;
}

.top-bar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.contact-info a, .top-socials a {
    color: white;
    text-decoration: none;
    margin-right: 15px;
    transition: var(--transition);
}

.top-socials a:hover { color: var(--gold); }

/* Logo Specific Styling */
.logo-box {
    display: flex;
    align-items: center;
    text-decoration: none;
    gap: 15px;
}

.logo-box img { height: 60px; }

.logo-text span:nth-child(1) {
    display: block;
    font-size: 26px;
    font-weight: 800;
    color: var(--navy);
    line-height: 1;
}

.logo-text span:nth-child(3) {
    font-size: 11px;
    color: var(--gold);
    text-transform: uppercase;
    font-weight: 600;
    display: block;
}

.logo-text span:last-child {
    font-size: 10px;
    color: var(--text-muted);
    display: block;
}

.nav-bar { padding: 15px 0; }
.nav-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-main {
    display: flex;
    align-items: center;
    gap: 40px;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 25px;
}

.nav-links a {
    text-decoration: none;
    color: var(--navy);
    font-weight: 700;
    font-size: 14px;
    text-transform: uppercase;
    transition: var(--transition);
}

.nav-links a:hover { color: var(--gold); }

.nav-main > a {
    background: var(--gold);
    color: white;
    padding: 12px 25px;
    text-decoration: none;
    border-radius: 4px;
    font-weight: 700;
    font-size: 14px;
    transition: var(--transition);
}

/* --- Hero Section --- */
.hero {
    position: relative;
    height: 70vh;
    min-height: 500px;
    background: url('images/hero-bg.jpg') center/cover no-repeat;
    display: flex;
    align-items: center;
}

.hero-overlay {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: linear-gradient(to right, rgba(30, 42, 94, 0.9), rgba(30, 42, 94, 0.4));
}

.hero-content {
    position: relative;
    z-index: 2;
    color: white;
    max-width: 700px;
}

.hero h1 {
    font-size: clamp(32px, 5vw, 55px);
    line-height: 1.2;
    margin-bottom: 20px;
    font-weight: 900;
}

.hero-btns {
    display: flex;
    gap: 15px;
    margin-top: 30px;
}

.btn {
    padding: 15px 30px;
    text-decoration: none;
    font-weight: 700;
    border-radius: 4px;
    transition: var(--transition);
    display: inline-block;
}

.btn-gold { background: var(--gold); color: white; }
.btn-outline { border: 2px solid white; color: white; }
.btn:hover { transform: translateY(-3px); opacity: 0.9; }

/* --- About Section --- */
.about { padding: 100px 0; }
.about-grid {
    display: flex;
    align-items: center;
    gap: 60px;
}
.about-image { flex: 1.2; }
.about-image img {
    width: 100%;
    border-radius: 8px;
    box-shadow: 20px 20px 0 var(--gold);
}
.about-text { flex: 1; }
.about-text .tag {
    color: var(--gold);
    font-weight: 800;
    text-transform: uppercase;
    font-size: 13px;
    letter-spacing: 2px;
    margin-bottom: 10px;
}
.about-text h2 {
    color: var(--navy);
    font-size: 36px;
    margin-bottom: 25px;
}

/* --- Services Grid --- */
.services {
    background-color: var(--bg-light);
    padding: 100px 0;
}

.section-title {
    text-align: center;
    margin-bottom: 60px;
}

/* Updated Responsive Grid */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.card {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid #eee;
    transition: var(--transition);
    display: flex;
    flex-direction: column;
}

.card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.1);
}

.card img {
    width: 100%;
    height: 220px;
    object-fit: cover;
}

.card-body {
    padding: 25px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.card-body h3 {
    color: var(--navy);
    font-size: 19px;
    margin-bottom: 15px;
    min-height: 50px;
}

.card-body p {
    font-size: 14px;
    color: var(--text-muted);
    margin-bottom: 20px;
}

.card-body div {
    margin-top: auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.consult-btn {
    background: var(--navy);
    color: white !important;
    padding: 10px 20px;
    text-decoration: none;
    font-weight: 700;
    font-size: 13px;
    border-radius: 4px;
}

/* --- Consultation Form --- */
#consultation-form {
    padding: 100px 0;
    background-color: #f0f4f8;
    display: flex;
    justify-content: center;
}

.form-container {
    width: 100%;
    max-width: 950px;
    padding: 0 20px;
}

.form-header {
    text-align: center;
    margin-bottom: 30px;
}

.form-header div {
    color: var(--gold);
    font-weight: 800;
    text-transform: uppercase;
    font-size: clamp(24px, 4vw, 42px);
    letter-spacing: 3px;
    margin-bottom: 8px;
}

.form-header h2 {
    color: var(--navy);
    font-size: clamp(26px, 4vw, 38px);
    font-weight: 900;
    margin-bottom: 10px;
}

#consultForm fieldset {
    border: 2px solid #e2e8f0;
    border-radius: 15px;
    padding: 40px;
    background: #ffffff;
    box-shadow: 0 20px 50px rgba(30, 42, 94, 0.05);
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 25px;
}

#consultForm legend {
    background-color: var(--navy);
    color: white;
    padding: 8px 25px;
    border-radius: 50px;
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 20px;
}

.full-width { grid-column: span 2; }

#consultForm label {
    display: block;
    font-weight: 700;
    color: var(--navy);
    margin-bottom: 10px;
    font-size: 13px;
    text-transform: uppercase;
}

#consultForm input, #consultForm select, #consultForm textarea {
    width: 100%;
    padding: 15px;
    border: 1px solid #cbd5e1;
    border-radius: 8px;
    background-color: #fcfcfc;
    transition: all 0.3s ease;
    font-family: inherit;
}

/* Premium Buttons Styling */
.btn-container {
    display: flex;
    gap: 20px;
    margin-top: 10px;
    grid-column: span 2;
}

.btn-container button {
    flex: 1;
    padding: 18px;
    border: none;
    border-radius: 8px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1px;
    cursor: pointer;
    transition: all 0.3s ease;
}

#emailBtn { background: var(--navy); color: white; }
#whatsappBtn { background: #25D366; color: white; }

#emailBtn:hover, #whatsappBtn:hover {
    filter: brightness(1.1);
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}

/* --- Footer --- */
.main-footer {
    background-color: var(--dark-blue);
    color: #ecf0f1;
    padding: 80px 0 20px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 50px;
    margin-bottom: 50px;
}

/* --- RESPONSIVE OVERRIDES --- */

@media (max-width: 992px) {
    .nav-main { display: none; } /* Mobile menu toggle needed here */
    .footer-grid { grid-template-columns: 1fr 1fr; }
    .about-grid { flex-direction: column; text-align: center; }
}

@media (max-width: 768px) {
    #consultForm fieldset {
        grid-template-columns: 1fr;
        padding: 20px;
    }
    .full-width, .btn-container { grid-column: span 1; }
    .btn-container { flex-direction: column; }
    
    .hero { height: auto; padding: 100px 0; }
    .hero-content { text-align: center; }
    .hero-btns { justify-content: center; flex-direction: column; }
}

@media (max-width: 600px) {
    .top-bar .container { flex-direction: column; gap: 10px; }
    .footer-grid { grid-template-columns: 1fr; text-align: center; }
    .logo-box img { height: 45px; }
    .logo-text span:nth-child(1) { font-size: 20px; }
}

/* Mobile */
@media (max-width: 600px) {

    .hero {
        text-align: center;
        height: auto;
        padding: 120px 0;
    }

    .hero-btns {
        flex-direction: column;
    }

    .services > .container > div:last-child {
        grid-template-columns: 1fr;
    }

    #consultForm {
        grid-template-columns: 1fr;
        padding: 20px;
    }

    .btn-container {
        flex-direction: column;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .logo-box img {
        height: 45px;
    }

    .hero h1 {
        font-size: 26px;
    }
}

/* Small phones */
@media (max-width: 400px) {

    .hero h1 {
        font-size: 22px;
    }

    .btn {
        width: 100%;
    }
}