/* ============================================
   KLIFF INFRASTRUCTURE & TECHNOLOGY COMPANY
   Main Stylesheet
   ============================================ */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.5;
    color: #1a1a2e;
    background-color: #fefefe;
}

/* Color Variables */
:root {
    --primary-blue: #0a2647;
    --primary-dark: #1a3a5f;
    --accent-gold: #e8b931;
    --accent-gold-dark: #d4a017;
    --success-green: #2e7d32;
    --light-bg: #f5f7fa;
    --text-dark: #1e2a3e;
    --text-gray: #546e7a;
    --border-light: #e2e8f0;
    --white: #ffffff;
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 8px 24px rgba(0, 0, 0, 0.08);
    --shadow-lg: 0 16px 40px rgba(0, 0, 0, 0.12);
}

.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 24px;
}

/* Typography */
h1, h2, h3, h4 {
    font-weight: 700;
    line-height: 1.2;
}

.section {
    padding: 80px 0;
}

.section-title {
    font-size: 2.2rem;
    text-align: center;
    margin-bottom: 12px;
    color: var(--primary-blue);
}

.section-title span {
    color: var(--accent-gold);
}

.section-subtitle {
    text-align: center;
    color: var(--text-gray);
    margin-bottom: 48px;
    font-size: 1.1rem;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 28px;
    border-radius: 40px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.25s ease;
    font-size: 0.95rem;
    cursor: pointer;
    border: none;
    font-family: inherit;
}

.btn-primary {
    background: var(--accent-gold);
    color: var(--primary-blue);
    box-shadow: var(--shadow-sm);
}

.btn-primary:hover {
    background: var(--accent-gold-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.btn-outline {
    background: transparent;
    border: 2px solid var(--accent-gold);
    color: var(--primary-blue);
}

.btn-outline:hover {
    background: var(--accent-gold);
    color: var(--primary-blue);
    transform: translateY(-2px);
}

/* Navigation */
.navbar {
    background: var(--white);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    box-shadow: var(--shadow-sm);
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 24px;
}

.logo {
    font-size: 1.6rem;
    font-weight: 800;
    text-decoration: none;
    letter-spacing: -0.5px;
}

.logo .klif {
    color: var(--primary-blue);
}

.logo .ftc {
    color: var(--accent-gold);
}

.nav-links {
    display: flex;
    gap: 32px;
    list-style: none;
    align-items: center;
}

.nav-links li {
    position: relative;
}

.nav-links a {
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 500;
    transition: color 0.2s ease;
    font-size: 0.95rem;
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--accent-gold);
}

/* Dropdown Menu */
.dropdown {
    position: relative;
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background: var(--white);
    min-width: 220px;
    border-radius: 12px;
    box-shadow: var(--shadow-lg);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.25s ease;
    z-index: 100;
    padding: 10px 0;
}

.dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-menu li {
    display: block;
}

.dropdown-menu a {
    display: block;
    padding: 10px 20px;
    font-size: 0.85rem;
    transition: all 0.2s;
}

.dropdown-menu a:hover {
    background: var(--light-bg);
    color: var(--accent-gold);
}

.nav-cta {
    background: var(--accent-gold);
    padding: 8px 20px;
    border-radius: 40px;
    color: var(--primary-blue) !important;
}

.nav-cta:hover {
    background: var(--accent-gold-dark);
}

.menu-toggle {
    display: none;
    font-size: 1.6rem;
    cursor: pointer;
    color: var(--primary-blue);
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, #f8f9fc 0%, #eef2f8 100%);
    padding: 140px 0 80px;
    position: relative;
    overflow: hidden;
}

.hero .container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.hero-tag {
    display: inline-block;
    background: var(--accent-gold);
    color: var(--primary-blue);
    font-size: 0.8rem;
    font-weight: 600;
    padding: 4px 12px;
    border-radius: 40px;
    margin-bottom: 20px;
}

.hero-content h1 {
    font-size: 3rem;
    margin-bottom: 20px;
    color: var(--primary-blue);
}

.hero-content h1 .highlight {
    color: var(--accent-gold);
}

.hero-content p {
    color: var(--text-gray);
    font-size: 1.05rem;
    margin-bottom: 24px;
}

.hero-badges {
    display: flex;
    gap: 12px;
    margin: 24px 0;
    flex-wrap: wrap;
}

.badge {
    background: var(--white);
    border-radius: 40px;
    padding: 6px 16px;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--primary-blue);
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-light);
}

.badge i {
    color: var(--accent-gold);
    margin-right: 6px;
}

.hero-stats {
    display: flex;
    gap: 32px;
    margin: 32px 0;
}

.stat h3 {
    font-size: 1.8rem;
    color: var(--primary-blue);
}

.stat p {
    font-size: 0.85rem;
    color: var(--text-gray);
}

.hero-image {
    background: var(--primary-blue);
    border-radius: 24px;
    padding: 48px 32px;
    text-align: center;
    box-shadow: var(--shadow-lg);
    position: relative;
    overflow: hidden;
}

.hero-icons {
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
    position: relative;
    z-index: 1;
}

.hero-icons i {
    font-size: 3.5rem;
    color: var(--accent-gold);
}

.hero-image p {
    color: rgba(255,255,255,0.7);
    margin-top: 24px;
}

/* Features Banner */
.features-banner {
    background: var(--primary-blue);
    color: white;
    text-align: center;
    padding: 40px 0;
}

.features-banner .container {
    display: flex;
    justify-content: center;
    gap: 48px;
    flex-wrap: wrap;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 12px;
}

.feature-item i {
    font-size: 1.8rem;
    color: var(--accent-gold);
}

/* Services Grid */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
}

.service-card {
    background: var(--white);
    border-radius: 20px;
    padding: 30px;
    text-align: center;
    transition: all 0.3s ease;
    border: 1px solid var(--border-light);
    box-shadow: var(--shadow-sm);
    text-decoration: none;
    color: inherit;
    display: block;
}

.service-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
    border-color: var(--accent-gold);
}

.service-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, var(--primary-blue), var(--primary-dark));
    border-radius: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}

.service-icon svg {
    width: 38px;
    height: 38px;
}

.service-card h3 {
    font-size: 1.3rem;
    margin-bottom: 12px;
    color: var(--primary-blue);
}

.service-card p {
    color: var(--text-gray);
    font-size: 0.9rem;
    margin-bottom: 16px;
}

.service-features {
    list-style: none;
    text-align: left;
    margin-top: 16px;
    padding-top: 16px;
    border-top: 1px solid var(--border-light);
}

.service-features li {
    font-size: 0.85rem;
    padding: 6px 0;
    color: var(--text-gray);
}

.service-features li i {
    color: var(--accent-gold);
    margin-right: 8px;
}

/* Footer */
.footer {
    background: var(--primary-blue);
    color: #a0b4c8;
    padding: 60px 0 24px;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-col h4 {
    color: white;
    margin-bottom: 20px;
    font-size: 1.1rem;
}

.footer-col a {
    color: #a0b4c8;
    text-decoration: none;
    display: block;
    margin: 10px 0;
    font-size: 0.9rem;
    transition: color 0.2s;
}

.footer-col a:hover {
    color: var(--accent-gold);
}

.footer-bottom {
    text-align: center;
    padding-top: 24px;
    border-top: 1px solid rgba(255,255,255,0.1);
    font-size: 0.85rem;
}

/* Floating Contact */
.floating-contact {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 999;
}

.floating-contact a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 56px;
    height: 56px;
    background: var(--accent-gold);
    color: var(--primary-blue);
    border-radius: 50%;
    text-decoration: none;
    box-shadow: var(--shadow-lg);
    transition: all 0.25s ease;
}

.floating-contact a:hover {
    transform: scale(1.1);
}

/* Modal */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    z-index: 2000;
    justify-content: center;
    align-items: center;
}

.modal-content {
    background: white;
    padding: 32px;
    border-radius: 24px;
    max-width: 450px;
    width: 90%;
    text-align: center;
}

.modal-content i {
    font-size: 3.5rem;
    color: var(--accent-gold);
    margin-bottom: 16px;
}

/* Responsive */
@media (max-width: 768px) {
    .menu-toggle {
        display: block;
    }

    .nav-links {
        display: none;
        position: absolute;
        top: 70px;
        left: 0;
        right: 0;
        background: var(--white);
        flex-direction: column;
        padding: 20px;
        text-align: center;
        gap: 16px;
        box-shadow: var(--shadow-md);
    }

    .nav-links.active {
        display: flex;
    }

    .dropdown-menu {
        position: static;
        box-shadow: none;
        padding-left: 20px;
        opacity: 1;
        visibility: visible;
        transform: none;
        display: none;
    }

    .dropdown:hover .dropdown-menu {
        display: block;
    }

    .hero .container {
        grid-template-columns: 1fr;
    }

    .hero-content h1 {
        font-size: 2rem;
    }

    .section-title {
        font-size: 1.8rem;
    }

    .features-banner .container {
        gap: 20px;
    }
}