:root {
    --primary-color: #00DAE6;
    --secondary-color: #222222;
    --text-color: #333333;
    --bg-light: #f8f9fa;
    --white: #ffffff;
    --hero-overlay: rgba(0, 0, 0, 0.4);
    --font-family: 'Outfit', 'Inter', sans-serif;
}

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

html {
    min-height: 100%;
}

body {
    font-family: var(--font-family);
    color: var(--text-color);
    line-height: 1.6;
    overflow-x: hidden;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

main,
.page-content {
    flex: 1;
}

a {
    text-decoration: none;
    color: inherit;
    transition: 0.3s;
}

ul {
    list-style: none;
}

/* =========================================
   Header & Nav
   ========================================= */
header {
    background: transparent;
    padding: 1rem 5%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: none;
    transition: background 0.3s;
}

.logo img {
    height: 90px;
    width: auto;
}

nav ul {
    display: flex;
    gap: 2rem;
    align-items: center;
}

nav ul li {
    position: relative;
}

nav ul li a {
    font-weight: 800;
    color: var(--primary-color);
    text-transform: uppercase;
    font-size: 1.1rem;
}

nav ul li a:hover {
    color: var(--primary-color);
}

/* Hamburger Menu Button */
.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 5px;
    z-index: 1100;
}

.hamburger span {
    width: 28px;
    height: 3px;
    background: var(--secondary-color);
    border-radius: 3px;
    transition: 0.3s;
}

.hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 6px);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -6px);
}

/* Dropdown styling */
.dropdown-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background: var(--white);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    min-width: 250px;
    padding: 1rem 0;
    z-index: 1001;
    border-radius: 8px;
}

nav ul li:hover .dropdown-menu {
    display: block;
}

.dropdown-menu li {
    padding: 0.5rem 1.5rem;
}

.dropdown-menu li a {
    text-transform: none;
    font-weight: 500;
}

.cta-btn {
    background: var(--secondary-color);
    color: var(--white) !important;
    padding: 0.8rem 1.5rem;
    border-radius: 30px;
    font-weight: 600;
    border: 2px solid transparent;
    display: inline-block;
    text-align: center;
}

.cta-btn:hover {
    background: transparent;
    border-color: var(--secondary-color);
    color: var(--secondary-color) !important;
}

.cta-btn-primary {
    background: var(--primary-color);
    color: var(--white) !important;
    padding: 1rem 2.5rem;
    border-radius: 30px;
    font-weight: 700;
    font-size: 1.1rem;
    border: 2px solid transparent;
    display: inline-block;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s;
}

.cta-btn-primary:hover {
    background: #008da5;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 168, 197, 0.3);
}

/* =========================================
   Hero Section (sub-pages)
   ========================================= */
.hero {
    height: 90vh;
    background: linear-gradient(var(--hero-overlay), var(--hero-overlay)), url('../img/hero-default.jpg');
    background-size: cover;
    background-position: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    color: var(--white);
    padding: 0 10%;
    position: relative;
}

.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1;
}

.hero>* {
    position: relative;
    z-index: 2;
}

.hero h1 {
    font-size: 4rem;
    margin-bottom: 1rem;
    font-weight: 800;
}

.hero h1 span {
    color: var(--primary-color);
}

.hero p {
    font-size: 1.2rem;
    max-width: 800px;
    margin-bottom: 2rem;
    color: rgba(255, 255, 255, 0.95) !important;
}

.hero h1,
.hero p {
    text-shadow: 1px 2px 8px rgba(0, 0, 0, 0.6) !important;
}

/* =========================================
   Section Styling
   ========================================= */
section {
    padding: 5rem 10%;
}

.section-title {
    text-align: center;
    margin-bottom: 4rem;
}

.section-title h2 {
    font-size: 2.5rem;
    color: var(--secondary-color);
    margin-bottom: 1rem;
}

.section-title h2 span {
    color: var(--primary-color);
}

.section-title p {
    font-size: 1.15rem;
    color: #666;
    max-width: 700px;
    margin: 0 auto;
}

/* =========================================
   Cards / Grid
   ========================================= */
.grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2.5rem;
}

.card {
    background: var(--white);
    padding: 2.5rem;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    transition: 0.4s;
    text-align: center;
}

.card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.card i {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
}

.card h3 {
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

.card p {
    color: #666;
    line-height: 1.7;
}

/* =========================================
   Benefits Section
   ========================================= */
.benefits-section {
    background: var(--bg-light);
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.benefit-item {
    text-align: center;
    padding: 2rem 1.5rem;
}

.benefit-item .benefit-icon {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary-color), #008da5);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
}

.benefit-item .benefit-icon i {
    font-size: 2rem;
    color: white;
}

.benefit-item h3 {
    margin-bottom: 0.8rem;
    font-size: 1.3rem;
    color: var(--secondary-color);
}

.benefit-item p {
    color: #666;
    font-size: 0.95rem;
    line-height: 1.7;
}

/* =========================================
   Services Feature Section
   ========================================= */
.services-features {
    background: var(--white);
}

.service-feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.service-feature-card {
    background: var(--bg-light);
    padding: 2.5rem;
    border-radius: 15px;
    transition: all 0.3s;
    border-left: 4px solid var(--primary-color);
}

.service-feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.08);
}

.service-feature-card i {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.service-feature-card h3 {
    font-size: 1.3rem;
    margin-bottom: 0.8rem;
    color: var(--secondary-color);
}

.service-feature-card p {
    color: #666;
    font-size: 0.95rem;
    line-height: 1.7;
    margin-bottom: 1rem;
}

.service-feature-card a {
    color: var(--primary-color);
    font-weight: 600;
    font-size: 0.95rem;
}

.service-feature-card a:hover {
    text-decoration: underline;
}

/* =========================================
   Testimonials Section
   ========================================= */
.testimonials-section {
    background: linear-gradient(135deg, #0a2540, #1a3a55);
    color: white;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.testimonial-card {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 15px;
    padding: 2.5rem;
    backdrop-filter: blur(10px);
    transition: 0.3s;
}

.testimonial-card:hover {
    background: rgba(255, 255, 255, 0.12);
    transform: translateY(-5px);
}

.testimonial-stars {
    color: #FFD700;
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

.testimonial-card blockquote {
    font-style: italic;
    line-height: 1.8;
    margin-bottom: 1.5rem;
    color: rgba(255, 255, 255, 0.9);
    font-size: 1rem;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.testimonial-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: var(--primary-color);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.2rem;
    color: white;
}

.testimonial-author-info strong {
    display: block;
    color: white;
}

.testimonial-author-info span {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.85rem;
}

/* =========================================
   CTA Section
   ========================================= */
.cta-section {
    background: linear-gradient(135deg, var(--primary-color), #008da5);
    text-align: center;
    color: white;
}

.cta-section h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: white;
}

.cta-section p {
    font-size: 1.2rem;
    max-width: 650px;
    margin: 0 auto 2rem;
    opacity: 0.9;
}

.cta-section .cta-btn {
    background: white;
    color: var(--primary-color) !important;
    font-size: 1.1rem;
    padding: 1rem 2.5rem;
}

.cta-section .cta-btn:hover {
    background: var(--secondary-color);
    color: white !important;
    border-color: var(--secondary-color);
}

/* =========================================
   Side Info Panel (eDocuments)
   ========================================= */
.edocuments {
    position: fixed;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    background: var(--primary-color);
    color: var(--white);
    padding: 1.5rem;
    border-radius: 15px;
    z-index: 999;
}

.edocuments h4 {
    margin-bottom: 1rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.3);
    padding-bottom: 0.5rem;
}

.edocuments ul li {
    margin-bottom: 0.8rem;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 10px;
}

/* =========================================
   Service Detail Section
   ========================================= */
.service-detail {
    background: var(--bg-light);
}

.service-detail .grid {
    align-items: center;
}

.service-detail .content h2 {
    font-size: 2.2rem;
    margin-bottom: 1.5rem;
    color: var(--secondary-color);
}

.service-detail .content p {
    margin-bottom: 1.2rem;
    color: #555;
}

/* =========================================
   Contact Page Styles
   ========================================= */
.contact-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 1rem;
    margin-bottom: 1.5rem;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-family: inherit;
    font-size: 1rem;
}

.contact-form input:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(0, 168, 197, 0.15);
}

.contact-info h3,
.contact-info h2 {
    margin-bottom: 1.5rem;
    font-size: 1.8rem;
}

.contact-info p {
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 15px;
}

.contact-info i {
    color: var(--primary-color);
    font-size: 1.2rem;
}

/* =========================================
   Footer
   ========================================= */
footer {
    background: var(--secondary-color);
    color: var(--white);
    padding: 4rem 10% 2rem;
    margin-top: auto;
    /* Paint the abyss dark without affecting scroll properties */
    box-shadow: 0 50vh 0 50vh var(--secondary-color);
    clip-path: inset(0 -100vw -100vh -100vw);
}

.footer-minimal-top {
    display: flex;
    justify-content: space-between;
    gap: 4rem;
    margin-bottom: 2.5rem;
}

.brand-info {
    flex: 1;
    max-width: 350px;
}

.brand-info h4 {
    color: var(--primary-color);
    font-size: 1.15rem;
    margin-bottom: 1rem;
    font-weight: 700;
}

.brand-info p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.95rem;
    line-height: 1.6;
}

.footer-nav {
    display: flex;
    gap: 4rem;
}

.nav-column {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}

.nav-column h5 {
    color: var(--white);
    font-size: 1rem;
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.nav-column a {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.9rem;
    transition: color 0.3s;
}

.nav-column a:hover {
    color: var(--primary-color);
}

.footer-minimal-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.copyright p {
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.85rem;
    margin-bottom: 0;
}

.socials-minimal {
    display: flex;
    gap: 1.2rem;
}

.socials-minimal a {
    color: rgba(255, 255, 255, 0.5);
    font-size: 1.1rem;
    transition: color 0.3s, transform 0.3s;
}

.socials-minimal a:hover {
    color: var(--primary-color);
    transform: translateY(-2px);
}



/* =========================================
   RESPONSIVE — Tablet (max 992px)
   ========================================= */
@media (max-width: 992px) {
    .hamburger {
        display: flex;
    }

    nav {
        position: fixed;
        top: 0;
        right: -100%;
        width: 75%;
        max-width: 350px;
        height: 100vh;
        background: var(--white);
        box-shadow: -5px 0 30px rgba(0, 0, 0, 0.15);
        transition: right 0.3s ease;
        z-index: 1050;
        padding-top: 100px;
    }

    nav.active {
        right: 0;
    }

    nav ul {
        flex-direction: column;
        gap: 0;
        padding: 0 2rem;
    }

    nav ul li {
        border-bottom: 1px solid #eee;
    }

    nav ul li a {
        display: block;
        padding: 1rem 0;
        font-size: 1rem;
    }

    .dropdown-menu {
        position: static;
        box-shadow: none;
        padding: 0 1rem;
        min-width: auto;
        border-radius: 0;
    }

    nav ul li:hover .dropdown-menu {
        display: block;
    }

    .dropdown-menu li {
        padding: 0.4rem 0;
    }

    /* Sub-page hero */
    .hero {
        height: 50vh;
        padding: 0 5%;
    }

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

    /* Sections */
    section {
        padding: 3rem 5%;
    }

    .section-title h2 {
        font-size: 2rem;
    }

    .grid {
        grid-template-columns: 1fr;
    }

    .contact-container {
        grid-template-columns: 1fr;
    }

    .logo img {
        height: 60px;
    }

    footer {
        padding: 3rem 5% 1.5rem;
    }

    .footer-minimal-top {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 3rem;
    }

    .footer-nav {
        flex-wrap: wrap;
        justify-content: center;
        gap: 3rem;
    }

    .nav-column {
        align-items: center;
    }

    .footer-minimal-bottom {
        flex-direction: column;
        text-align: center;
        gap: 1.5rem;
    }
}

/* =========================================
   RESPONSIVE — Mobile (max 600px)
   ========================================= */
@media (max-width: 600px) {
    header {
        padding: 0.8rem 4%;
    }

    .logo img {
        height: 50px;
    }

    .hero {
        height: 40vh;
    }

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

    .hero p {
        font-size: 1rem;
    }

    section {
        padding: 2.5rem 4%;
    }

    .section-title h2 {
        font-size: 1.6rem;
    }

    .section-title p {
        font-size: 1rem;
    }

    .card {
        padding: 2rem;
    }

    .cta-btn,
    .cta-btn-primary {
        padding: 0.8rem 1.5rem;
        font-size: 1rem;
    }

    .benefits-grid {
        grid-template-columns: 1fr;
    }

    .service-feature-grid {
        grid-template-columns: 1fr;
    }

    .testimonials-grid {
        grid-template-columns: 1fr;
    }

    .cta-section h2 {
        font-size: 1.8rem;
    }

    .cta-section p {
        font-size: 1rem;
    }

    footer {
        padding: 2rem 4% 1rem;
    }

    .footer-nav {
        flex-direction: column;
        gap: 2rem;
    }
}