/* ===== GLOBAL RESET & BASE ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', Arial, sans-serif;
    background: #f8f9fa;
    color: #222;
    line-height: 1.6;
}

/* ===== CONTAINER ===== */
.container {
    width: 90%;
    max-width: 1100px;
    margin: auto;
}

/* ===== HEADER/NAV ===== */
.site-header {
    background: #0a3d62;
    padding: 12px 0;
    position: absolute;
    top: 20px;
    left: 30px;
    z-index: 10;
}

.header-flex {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    height: 42px;
    color: #fff;
    font-size: 28px;
    font-weight: 800;
}

.menu {
    list-style: none;
    display: flex;
    margin: 0;
    padding: 0;
}

.menu li { margin-left: 20px; }

.menu a {
    color: white;
    text-decoration: none;
    font-weight: bold;
}

.btn-primary, .cta-button {
    background: #38ada9;
    padding: 12px 28px;
    color: white !important;
    text-decoration: none;
    font-weight: 600;
    border-radius: 8px;
    display: inline-block;
    transition: background 0.2s;
}

.btn-primary:hover, .cta-button:hover {
    background: #0b5ed7;
}

/* ===== HERO SECTION ===== */
.hero-section, .hero {
    position: relative;
    height: 75vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    background: url('https://source.unsplash.com/1600x900/?robot,future,technology') center/cover no-repeat;
}

.overlay {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.55);
    z-index: 1;
}

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

.hero-content h1, .hero-content h2 {
    color: #fff;
    font-size: clamp(34px, 5vw, 48px);
    margin-bottom: 12px;
    line-height: 1.2;
}

.hero-content p {
    color: #ddd;
    font-size: 18px;
    margin-bottom: 24px;
}

/* ===== SECTIONS ===== */
.section, .services-section {
    padding: 60px 5%;
    background: #f7f7f7;
}

.section.alt {
    background: #f3f6f7;
}

.section-title, h2 {
    font-size: clamp(28px, 4vw, 36px);
    font-weight: 700;
    text-align: center;
    margin-bottom: 40px;
    color: #0a3d62;
}

/* ===== GRID SYSTEMS ===== */
.card-grid, .grid-3 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 30px;
}

/* ===== CARDS ===== */
.service-card, .card {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0,0,0,0.12);
    transition: transform 0.3s ease;
    min-height: 320px;
}

.service-card:hover, .card:hover {
    transform: translateY(-8px);
}

.service-card img {
    width: 100%;
    height: 210px;
    object-fit: cover;
}

.service-card h3, .card h3 {
    font-size: 22px;
    margin: 18px;
}

.service-card p, .card p {
    margin: 0 18px 22px;
    color: #444;
    line-height: 1.5;
}

/* ===== BULLETS & TABLES ===== */
.bullet-list {
    line-height: 1.8;
}

.pricing-table {
    width: 100%;
    border-collapse: collapse;
    margin: 20px 0;
}

.pricing-table th {
    background: #0a3d62;
    color: white;
    padding: 12px;
}

.pricing-table td {
    padding: 10px;
    border-bottom: 1px solid #ccc;
}

/* ===== CTA SECTION ===== */
.cta {
    background: #0a3d62;
    color: white;
    padding: 50px 5%;
    text-align: center;
}

/* ===== FOOTER ===== */
.footer, .site-footer {
    background: #222;
    color: #ccc;
    padding: 40px 5%;
    text-align: center;
}

.footer-flex {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 20px;
}

.footer-col ul {
    list-style: none;
    padding: 0;
}

.footer-col a { 
    text-decoration: none; 
    color: #38ada9; 
}

.footer-bottom {
    margin-top: 20px;
    color: #777;
}

/* ===== ANIMATIONS ===== */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(25px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes floatUp {
    from { 
        opacity: 0; 
        transform: translateY(35px); 
    }
    to { 
        opacity: 1; 
        transform: translateY(0); 
    }
}

.fade-in-up, .float-up {
    opacity: 0;
    animation: fadeInUp 1.1s ease-out forwards;
}

.delay-1 { animation-delay: 0.3s; }
.delay-2 { animation-delay: 0.6s; }

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
    .hero-section, .hero {
        height: 60vh;
        padding: 20px;
    }
    
    .header-flex {
        flex-direction: column;
        gap: 10px;
    }
    
    .menu {
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .footer-flex {
        flex-direction: column;
        text-align: center;
    }
}

/* HERO CAROUSEL */
.hero-carousel {
    position: relative;
    height: 80vh;
    overflow: hidden;
}

.hero-carousel .slide {
    position: absolute;
    top: 0; left: 0;
    height: 100%;
    width: 100%;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transition: opacity 1.5s ease-in-out;
}

.hero-carousel .slide.active {
    opacity: 1;
}

/* Text overlay */
.carousel-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: white;
    z-index: 10;
    text-align: center;
}
