/* ============================================
   VISERV - Main Stylesheet
   ============================================ */

/* --- Reset & Base --- */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Open Sans', Arial, sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: #333333;
    background: #ffffff;
}

a {
    color: inherit;
    text-decoration: none;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

ul {
    list-style: none;
}

/* --- Typography --- */
h1, h2, h3, h4, h5, h6 {
    font-family: 'Open Sans', Arial, sans-serif;
    font-weight: 700;
    line-height: 1.3;
}

/* --- Container --- */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 30px;
}

/* ============================================
   HEADER & NAVIGATION
   ============================================ */
#header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.97);
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
}

#header .header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 80px;
}

#header .logo img {
    height: 50px;
    width: auto;
}

#header .logo-text {
    font-size: 26px;
    font-weight: 800;
    color: #105378;
    letter-spacing: 2px;
}

/* Navigation */
nav.main-nav ul {
    display: flex;
    align-items: center;
    gap: 10px;
}

nav.main-nav ul li a {
    display: block;
    padding: 8px 18px;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: #333333;
    transition: color 0.3s;
    border-radius: 3px;
}

nav.main-nav ul li a:hover,
nav.main-nav ul li a.active {
    color: #2ca2e6;
}

.nav-login a {
    background: #105378;
    color: #ffffff !important;
    padding: 8px 20px !important;
    border-radius: 3px;
    transition: background 0.3s !important;
}

.nav-login a:hover {
    background: #0091e5 !important;
    color: #ffffff !important;
}

/* Mobile hamburger */
.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    padding: 5px;
}

.hamburger span {
    display: block;
    width: 25px;
    height: 2px;
    background: #333;
    transition: all 0.3s;
}

/* ============================================
   HERO SECTION
   ============================================ */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, #0a1628 0%, #105378 50%, #1a3a5c 100%);
    overflow: hidden;
    padding-top: 80px;
}

.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: url('../images/hero-bg.jpg') center/cover no-repeat;
    opacity: 0.15;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 700px;
}

.hero-content .hero-label {
    display: inline-block;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: #2ca2e6;
    margin-bottom: 20px;
}

.hero-content h1 {
    font-size: 52px;
    font-weight: 800;
    color: #ffffff;
    text-transform: uppercase;
    letter-spacing: 2px;
    line-height: 1.1;
    margin-bottom: 25px;
}

.hero-content h1 span {
    color: #2ca2e6;
}

.hero-content p {
    font-size: 18px;
    color: rgba(255,255,255,0.8);
    margin-bottom: 40px;
    max-width: 550px;
}

.btn {
    display: inline-block;
    padding: 16px 40px;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    border-radius: 3px;
    transition: all 0.3s ease;
    cursor: pointer;
    border: 2px solid transparent;
}

.btn-primary {
    background: #2ca2e6;
    color: #ffffff;
    border-color: #2ca2e6;
}

.btn-primary:hover {
    background: #0091e5;
    border-color: #0091e5;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(44, 162, 230, 0.4);
}

.btn-outline {
    background: transparent;
    color: #ffffff;
    border-color: #ffffff;
    margin-left: 15px;
}

.btn-outline:hover {
    background: #ffffff;
    color: #105378;
}

/* ============================================
   FEATURES SECTION (3 pillars)
   ============================================ */
.features-section {
    padding: 90px 0;
    background: #f8f9fb;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-header h2 {
    font-size: 36px;
    color: #105378;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 15px;
}

.section-header p {
    font-size: 17px;
    color: #666;
    max-width: 600px;
    margin: 0 auto;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 35px;
}

.feature-card {
    background: #ffffff;
    border-radius: 8px;
    padding: 45px 35px;
    text-align: center;
    box-shadow: 0 4px 20px rgba(0,0,0,0.06);
    transition: transform 0.3s, box-shadow 0.3s;
}

.feature-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 40px rgba(0,0,0,0.12);
}

.feature-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, #2ca2e6, #105378);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px;
}

.feature-icon svg {
    width: 32px;
    height: 32px;
    fill: #ffffff;
}

.feature-card h3 {
    font-size: 16px;
    font-weight: 800;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: #105378;
    margin-bottom: 15px;
}

.feature-card p {
    font-size: 15px;
    color: #666;
    line-height: 1.7;
}

/* ============================================
   DARK CTA SECTION
   ============================================ */
.cta-section {
    padding: 90px 0;
    background: linear-gradient(135deg, #0a1628 0%, #105378 100%);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -10%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(44,162,230,0.15) 0%, transparent 70%);
}

.cta-section h2 {
    font-size: 40px;
    color: #ffffff;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 20px;
}

.cta-section p {
    font-size: 18px;
    color: rgba(255,255,255,0.75);
    margin-bottom: 40px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* ============================================
   CLIENTS / PARTNERS SECTION
   ============================================ */
.clients-section {
    padding: 70px 0;
    background: #ffffff;
    border-top: 1px solid #eee;
}

.clients-section .section-header h2 {
    font-size: 14px;
    letter-spacing: 3px;
    color: #999;
}

.clients-grid {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 50px;
}

.client-logo {
    opacity: 0.5;
    transition: opacity 0.3s;
    filter: grayscale(100%);
}

.client-logo:hover {
    opacity: 1;
    filter: none;
}

.client-logo img {
    height: 45px;
    width: auto;
}

.client-logo-text {
    font-size: 20px;
    font-weight: 700;
    color: #333;
    letter-spacing: 1px;
}

/* ============================================
   PAGE HERO (inner pages)
   ============================================ */
.page-hero {
    position: relative;
    min-height: 350px;
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, #0a1628 0%, #105378 100%);
    margin-top: 80px;
    overflow: hidden;
}

.page-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: url('../images/titlebar.jpg') center/cover no-repeat;
    opacity: 0.2;
}

.page-hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    width: 100%;
}

.page-hero-content h1 {
    font-size: 44px;
    color: #ffffff;
    text-transform: uppercase;
    letter-spacing: 3px;
}

.page-hero-content .breadcrumb {
    margin-top: 15px;
    font-size: 14px;
    color: rgba(255,255,255,0.6);
}

.page-hero-content .breadcrumb a {
    color: rgba(255,255,255,0.6);
    transition: color 0.3s;
}

.page-hero-content .breadcrumb a:hover {
    color: #2ca2e6;
}

.page-hero-content .breadcrumb span {
    color: #2ca2e6;
}

/* ============================================
   SERVICE PAGE - Content
   ============================================ */
.service-intro {
    padding: 90px 0;
    background: #ffffff;
}

.service-intro-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.service-intro-text h2 {
    font-size: 32px;
    color: #105378;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 20px;
}

.service-intro-text p {
    font-size: 16px;
    color: #555;
    line-height: 1.8;
    margin-bottom: 20px;
}

.service-intro-image img {
    border-radius: 8px;
    box-shadow: 0 15px 50px rgba(0,0,0,0.15);
    width: 100%;
}

.service-benefits {
    padding: 80px 0;
    background: #f8f9fb;
}

.benefits-list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 25px;
    margin-top: 40px;
}

.benefit-item {
    display: flex;
    gap: 20px;
    align-items: flex-start;
    background: #fff;
    padding: 25px;
    border-radius: 8px;
    box-shadow: 0 2px 15px rgba(0,0,0,0.05);
}

.benefit-icon {
    width: 44px;
    height: 44px;
    background: linear-gradient(135deg, #2ca2e6, #105378);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.benefit-icon svg {
    width: 20px;
    height: 20px;
    fill: white;
}

.benefit-item h4 {
    font-size: 14px;
    font-weight: 700;
    color: #105378;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 8px;
}

.benefit-item p {
    font-size: 14px;
    color: #666;
    line-height: 1.6;
}

/* ============================================
   COMPANY / CONTACT PAGE
   ============================================ */
.company-section {
    padding: 90px 0;
    background: #ffffff;
}

.company-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: start;
}

.company-info h2 {
    font-size: 32px;
    color: #105378;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 30px;
}

.contact-details {
    margin-top: 30px;
}

.contact-item {
    display: flex;
    gap: 18px;
    align-items: flex-start;
    padding: 20px 0;
    border-bottom: 1px solid #eee;
}

.contact-item:last-child {
    border-bottom: none;
}

.contact-item-icon {
    width: 44px;
    height: 44px;
    background: linear-gradient(135deg, #2ca2e6, #105378);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.contact-item-icon svg {
    width: 20px;
    height: 20px;
    fill: white;
}

.contact-item h4 {
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: #999;
    margin-bottom: 5px;
}

.contact-item a,
.contact-item p {
    font-size: 16px;
    color: #333;
    font-weight: 600;
    transition: color 0.3s;
}

.contact-item a:hover {
    color: #2ca2e6;
}

.company-logo-img {
    border-radius: 8px;
    box-shadow: 0 15px 50px rgba(0,0,0,0.12);
    margin-bottom: 30px;
}

.company-reg {
    background: #f8f9fb;
    padding: 25px;
    border-radius: 8px;
    font-size: 15px;
    color: #555;
    line-height: 1.8;
}

.company-reg strong {
    color: #105378;
}

/* ============================================
   PRIVACY POLICY PAGE
   ============================================ */
.policy-section {
    padding: 80px 0;
    background: #ffffff;
}

.policy-content {
    max-width: 860px;
    margin: 0 auto;
}

.policy-content h2 {
    font-size: 28px;
    color: #105378;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin: 40px 0 15px;
    padding-top: 20px;
    border-top: 2px solid #eee;
}

.policy-content h2:first-child {
    border-top: none;
    margin-top: 0;
}

.policy-content p {
    font-size: 15px;
    color: #555;
    line-height: 1.9;
    margin-bottom: 18px;
}

.policy-content ul {
    list-style: disc;
    padding-left: 25px;
    margin-bottom: 18px;
}

.policy-content ul li {
    font-size: 15px;
    color: #555;
    line-height: 1.8;
    margin-bottom: 8px;
}

.policy-meta {
    font-size: 13px;
    color: #999;
    margin-bottom: 40px;
    padding-bottom: 30px;
    border-bottom: 2px solid #eee;
}

/* ============================================
   FOOTER
   ============================================ */
#footer {
    background: #0a1628;
    color: rgba(255,255,255,0.7);
    padding: 60px 0 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 50px;
    margin-bottom: 50px;
}

.footer-brand .logo-text {
    font-size: 24px;
    font-weight: 800;
    color: #ffffff;
    letter-spacing: 2px;
    margin-bottom: 15px;
}

.footer-brand p {
    font-size: 14px;
    line-height: 1.8;
    max-width: 300px;
}

.footer-col h4 {
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: #2ca2e6;
    margin-bottom: 20px;
}

.footer-col ul li {
    margin-bottom: 10px;
}

.footer-col ul li a {
    font-size: 14px;
    color: rgba(255,255,255,0.6);
    transition: color 0.3s;
}

.footer-col ul li a:hover {
    color: #2ca2e6;
}

.footer-col .contact-line {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 12px;
    font-size: 14px;
}

.footer-col .contact-line svg {
    width: 16px;
    height: 16px;
    fill: #2ca2e6;
    flex-shrink: 0;
}

.footer-col .contact-line a {
    color: rgba(255,255,255,0.6);
    transition: color 0.3s;
}

.footer-col .contact-line a:hover {
    color: #2ca2e6;
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.08);
    padding: 20px 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 13px;
}

.footer-bottom a {
    color: rgba(255,255,255,0.5);
    transition: color 0.3s;
}

.footer-bottom a:hover {
    color: #2ca2e6;
}

/* ============================================
   COOKIE BANNER
   ============================================ */
#cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: #0a1628;
    color: rgba(255,255,255,0.85);
    padding: 20px 30px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    z-index: 9999;
    box-shadow: 0 -4px 20px rgba(0,0,0,0.3);
    transform: translateY(0);
    transition: transform 0.4s ease;
}

#cookie-banner.hidden {
    transform: translateY(100%);
}

#cookie-banner p {
    font-size: 14px;
    line-height: 1.6;
}

#cookie-banner a {
    color: #2ca2e6;
    text-decoration: underline;
}

#cookie-banner .cookie-buttons {
    display: flex;
    gap: 10px;
    flex-shrink: 0;
}

.btn-cookie-accept {
    background: #2ca2e6;
    color: #fff;
    border: none;
    padding: 10px 24px;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    border-radius: 3px;
    cursor: pointer;
    transition: background 0.3s;
}

.btn-cookie-accept:hover {
    background: #0091e5;
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 992px) {
    .features-grid {
        grid-template-columns: 1fr;
        max-width: 480px;
        margin: 0 auto;
    }

    .service-intro-grid,
    .company-grid {
        grid-template-columns: 1fr;
    }

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

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

    .hero-content h1 {
        font-size: 38px;
    }
}

@media (max-width: 768px) {
    nav.main-nav {
        display: none;
        position: absolute;
        top: 80px;
        left: 0;
        right: 0;
        background: #fff;
        box-shadow: 0 10px 30px rgba(0,0,0,0.1);
        padding: 20px;
    }

    nav.main-nav.open {
        display: block;
    }

    nav.main-nav ul {
        flex-direction: column;
        align-items: flex-start;
        gap: 5px;
    }

    nav.main-nav ul li a {
        font-size: 15px;
        padding: 10px 15px;
        display: block;
        width: 100%;
    }

    .hamburger {
        display: flex;
    }

    .hero-content h1 {
        font-size: 30px;
    }

    .hero-content p {
        font-size: 16px;
    }

    .btn-outline {
        margin-left: 0;
        margin-top: 10px;
    }

    .section-header h2 {
        font-size: 26px;
    }

    .cta-section h2 {
        font-size: 28px;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .footer-bottom {
        flex-direction: column;
        text-align: center;
        gap: 10px;
    }

    #cookie-banner {
        flex-direction: column;
        text-align: center;
    }

    .page-hero-content h1 {
        font-size: 28px;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 20px;
    }

    .hero {
        min-height: 80vh;
    }

    .hero-content h1 {
        font-size: 24px;
    }
}
