/* Font Setup */
@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700;800&family=Playfair+Display:ital,wght@0,600;1,600&display=swap');

:root {
    /* User Palette */
    --yale-blue: #0b4f6c;
    --bright-sky: #01baef;
    --ghost-white: #fbfbff;
    --ink-black: #040f16;

    /* Functional Mappings */
    --primary-bg: var(--ink-black);
    --secondary-bg: #071a26;
    /* Slightly lighter version of Ink Black for contrast */
    --card-bg: rgba(11, 79, 108, 0.3);
    /* Yale Blue Glass */

    --accent-color: var(--bright-sky);
    --brand-color: var(--yale-blue);

    --text-main: var(--ghost-white);
    --text-muted: rgba(251, 251, 255, 0.6);
    --white: #ffffff;

    --transition: all 0.3s cubic-bezier(0.645, 0.045, 0.355, 1);
}

body {
    font-family: 'Outfit', sans-serif;
    color: var(--text-main);
    background-color: var(--primary-bg);
    overflow-x: hidden;
    line-height: 1.6;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: 'Outfit', sans-serif;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 20px;
}

.font-serif {
    font-family: 'Playfair Display', serif;
    color: var(--accent-color);
}

/* Glassmorphism Utilities */
.glass-panel {
    background: var(--card-bg);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(1, 186, 239, 0.2);
    box-shadow: 0 10px 30px -10px rgba(4, 15, 22, 0.8);
}

/* Navbar */
.navbar {
    background-color: rgba(4, 15, 22, 0.9);
    backdrop-filter: blur(10px);
    padding: 1.2rem 0;
    border-bottom: 1px solid rgba(1, 186, 239, 0.1);
    transition: var(--transition);
}

.navbar-brand {
    font-weight: 800;
    font-size: 1.8rem;
    color: var(--white) !important;
    letter-spacing: 1px;
}

.navbar-brand span {
    color: var(--accent-color);
}

.nav-link {
    color: var(--text-main) !important;
    font-weight: 500;
    font-size: 0.95rem;
    margin: 0 12px;
    position: relative;
    transition: var(--transition);
}

.nav-link:hover,
.nav-link.active {
    color: var(--accent-color) !important;
}

.nav-link::before {
    content: '//';
    color: transparent;
    margin-right: 5px;
    transition: var(--transition);
}

.nav-link:hover::before,
.nav-link.active::before {
    color: var(--accent-color);
}

/* Hero Section */
.hero-section {
    background: linear-gradient(rgba(4, 15, 22, 0.85), rgba(4, 15, 22, 0.7)), url('https://images.unsplash.com/photo-1562564055-71e051d33c19?auto=format&fit=crop&w=1920&q=80');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    padding: 200px 0 150px;
    position: relative;
    margin-top: -110px;
    /* Pull back up behind transparent navbar if desired, BUT wait, user said content NOT VISIBLE. */
    /* If content is not visible, it's likely hidden. */
    /* If I pull it up, it goes behind navbar. */
    /* The spacer pushes it down. */
    /* If spacer pushes it down 110px. Navbar is 110px. */
    /* Visual: Navbar background is 0.9 opacity. */
    /* If the Spacer exists, the Hero background image starts 110px down the screen. This looks ugly (white gap?). */
    /* Ah! The Spacer creates a GAP of body background color (Ink Black). */
    /* The Hero Section SHOULD ideally go BEHIND the navbar for the translucent effect. */
    /* So usually: No Spacer for Home Page Hero? */
    /* Current Header has Spacer. */
    /* If Spacer exists, content starts below navbar. */
    /* "Content not visible" -> Maybe it's pushed TOO far down? No. */
    /* Maybe it's BEHIND the navbar because spacer is too small? YES. */
}

/* Fix for sub-page heros to ensure text isn't cut off */
.page-header {
    padding-top: 150px !important;
    padding-bottom: 80px;
}

.hero-title {
    font-size: 4.5rem;
    font-weight: 800;
    line-height: 1.1;
    text-shadow: 0 5px 15px rgba(0, 0, 0, 0.5);
}

.hero-subtitle {
    font-size: 1.4rem;
    color: var(--text-main);
    max-width: 700px;
    margin: 25px auto 40px;
    font-weight: 300;
}

/* Utilities */
.text-accent {
    color: var(--accent-color) !important;
}

.border-accent {
    border-color: var(--accent-color) !important;
}

.bg-accent {
    background-color: var(--accent-color) !important;
}

/* Buttons */
.btn-premium {
    background: transparent;
    border: 2px solid var(--accent-color);
    color: var(--accent-color);
    padding: 14px 35px;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    font-size: 0.9rem;
    border-radius: 4px;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.btn-premium::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 0%;
    height: 100%;
    background: var(--accent-color);
    z-index: -1;
    transition: var(--transition);
}

.btn-premium:hover {
    color: var(--link-black);
}

.btn-premium:hover::before {
    width: 100%;
}

.btn-outline-light-custom {
    border: 2px solid rgba(251, 251, 255, 0.2);
    color: var(--ghost-white);
    padding: 14px 35px;
    font-weight: 600;
    border-radius: 4px;
    text-transform: uppercase;
    font-size: 0.9rem;
    transition: var(--transition);
    margin-left: 15px;
}

.btn-outline-light-custom:hover {
    border-color: var(--ghost-white);
    background: rgba(251, 251, 255, 0.1);
}

/* Services */
.section-padding {
    padding: 100px 0;
}

.section-title h2 {
    font-size: 3rem;
    color: var(--white);
    position: relative;
    display: inline-block;
}

.section-title h2::after {
    content: '';
    display: block;
    width: 60px;
    height: 4px;
    background: var(--accent-color);
    margin: 15px auto 0;
    border-radius: 2px;
}

.service-card {
    background: rgba(11, 79, 108, 0.15);
    /* Low opacity Yale Blue */
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 8px;
    overflow: hidden;
    transition: var(--transition);
}

.service-card:hover {
    transform: translateY(-10px);
    border-color: var(--accent-color);
    background: rgba(11, 79, 108, 0.25);
    box-shadow: 0 20px 40px -15px rgba(1, 186, 239, 0.15);
}

.service-img {
    height: 220px;
    background-size: cover;
    background-position: center;
    position: relative;
}

.service-img::after {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(4, 15, 22, 0.4);
    transition: var(--transition);
}

.service-card:hover .service-img::after {
    background: rgba(1, 186, 239, 0.1);
}

.service-body {
    padding: 30px;
}

.service-title {
    color: var(--white);
    font-size: 1.4rem;
    margin-bottom: 12px;
}

/* Feature Box, Cards, etc */
.feature-box {
    background: var(--secondary-bg);
    padding: 40px 20px;
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: var(--transition);
}

.feature-box:hover {
    transform: translateY(-5px);
    background: var(--card-bg);
    border-color: var(--accent-color);
}

.feature-icon {
    font-size: 3rem;
    color: var(--accent-color);
    margin-bottom: 25px;
}

/* Footer */
footer {
    background: #02080c;
    /* Very dark, almost black */
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding: 80px 0 40px;
    color: var(--text-muted);
}

footer h5 {
    color: var(--white);
    letter-spacing: 1px;
}

footer a {
    color: var(--text-muted);
    text-decoration: none;
    transition: var(--transition);
}

footer a:hover {
    color: var(--accent-color);
    padding-left: 5px;
}

/* Floating Buttons */
.floating-container {
    bottom: 40px;
    right: 40px;
}

.float-btn {
    width: 55px;
    height: 55px;
    border-radius: 50%;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.whatsapp-float {
    background-color: #25d366;
}

.phone-float {
    background-color: var(--accent-color);
}

/* Animations */
.animate-up {
    animation: fadeInUp 1s cubic-bezier(0.645, 0.045, 0.355, 1) forwards;
    opacity: 0;
    transform: translateY(30px);
}

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}