/* Base Variables */
:root {
    --primary-color: #0d213b;
    --secondary-color: #e63946;
    --accent-color: #f1faee;
    --text-color: #333333;
    --light-text: #ffffff;
    --bg-color: #f8f9fa;
    --font-family: 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
}

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

body {
    font-family: var(--font-family);
    color: var(--text-color);
    background-color: var(--bg-color);
    line-height: 1.6;
}

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

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

/* Header & Navigation */
header {
    background-color: var(--primary-color);
    color: var(--light-text);
    padding: 1rem 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}

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

header h1 {
    font-size: 1.8rem;
    font-weight: 700;
}

header h1 a {
    color: var(--light-text);
}

nav ul {
    list-style: none;
    display: flex;
    gap: 20px;
}

nav ul li a {
    font-weight: 500;
    transition: color 0.3s;
}

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

.portal-btn {
    background-color: var(--secondary-color);
    color: #fff !important;
    padding: 5px 15px;
    border-radius: 4px;
    font-weight: 600 !important;
    border: 2px solid var(--secondary-color);
    transition: all 0.3s ease;
}

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

.mobile-menu-btn {
    display: none;
    font-size: 1.5rem;
    cursor: pointer;
}

/* Hero Section */
.hero {
    background: linear-gradient(rgba(13, 33, 59, 0.8), rgba(13, 33, 59, 0.8)), url('https://images.unsplash.com/photo-1550751827-4bd374c3f58b?ixlib=rb-1.2.1&auto=format&fit=crop&w=1920&q=80') center/cover;
    color: var(--light-text);
    text-align: center;
    padding: 120px 0;
}

.hero h2 {
    font-size: 3rem;
    margin-bottom: 20px;
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 30px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 25px;
    background-color: var(--secondary-color);
    color: var(--light-text);
    font-weight: 600;
    border-radius: 5px;
    transition: background 0.3s;
}

.btn:hover {
    background-color: #d62828;
}

.btn-secondary {
    background-color: transparent;
    border: 2px solid var(--light-text);
    margin-left: 10px;
}

.btn-secondary:hover {
    background-color: var(--light-text);
    color: var(--primary-color);
}

/* Sections */
.section {
    padding: 80px 0;
}

.section-alt {
    background-color: #ffffff;
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 50px;
    color: var(--primary-color);
}

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

.card {
    background-color: #ffffff;
    padding: 40px 30px;
    border-radius: 10px;
    box-shadow: 0 10px 20px rgba(0,0,0,0.05);
    text-align: center;
    transition: transform 0.3s, box-shadow 0.3s;
    border-top: 4px solid var(--secondary-color);
}

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

.card h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: var(--primary-color);
}

.card p {
    margin-bottom: 20px;
}

/* Feature Grid */
.feature-list {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
}

.feature-item {
    background: #fff;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.05);
}

.feature-item h3 {
    color: var(--primary-color);
    margin-bottom: 15px;
    border-bottom: 2px solid var(--accent-color);
    padding-bottom: 10px;
}

.feature-item ul {
    list-style-type: none;
}

.feature-item ul li {
    margin-bottom: 10px;
    padding-left: 20px;
    position: relative;
}

.feature-item ul li::before {
    content: '✓';
    color: var(--secondary-color);
    position: absolute;
    left: 0;
    font-weight: bold;
}

/* Call to action Block */
.cta-block {
    background-color: var(--primary-color);
    color: #fff;
    text-align: center;
    padding: 60px 20px;
    border-radius: 10px;
    margin-top: 40px;
}

.cta-block h3 {
    font-size: 2rem;
    margin-bottom: 20px;
}

.phone-large {
    font-size: 2.5rem;
    font-weight: bold;
    color: var(--secondary-color);
    display: block;
    margin: 20px 0;
}

/* Footer */
footer {
    background-color: #0b1a2e;
    color: #ccc;
    padding: 40px 0 20px;
    text-align: center;
}

footer .footer-links {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin-bottom: 20px;
}

footer .footer-links a:hover {
    color: #fff;
}

.image-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 20px;
    margin-top: 40px;
}
.image-gallery img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    object-position: center;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    cursor: pointer;
}
.image-gallery img:hover {
    transform: scale(1.03);
    box-shadow: 0 8px 20px rgba(0,0,0,0.2);
    z-index: 10;
    position: relative;
}

/* Responsive */
@media (max-width: 768px) {
    nav ul {
        display: none;
        flex-direction: column;
        width: 100%;
        background: var(--primary-color);
        position: absolute;
        top: 100%;
        left: 0;
        padding: 20px;
        text-align: center;
    }
    
    nav ul.active {
        display: flex;
    }
    
    .mobile-menu-btn {
        display: block;
    }
    
    .feature-list {
        grid-template-columns: 1fr;
    }

    .hero h2 {
        font-size: 2.2rem;
    }
}
