/* =========================================
   GLOBAL VARIABLES & RESET
   ========================================= */
:root {
    /* Core Colors */
    --text-dark: #1a1a1a;
    --text-light: #ffffff;
    --brand-orange: #ff7a00;
    --brand-blue: #35a8e0; /* YOUR BRANDING BLUE */
    --bg-light: #ffffff;
    --bg-dark: #000000;
    
    /* Part 2 Variables */
    --subtle-text-color-p2: #666666;
    --bg-color-p2: transparent;
    --card-bg-color-p2: rgba(255,255,255,0.7);
    --text-color-p2: #1a1a1a;
    --border-color-p2: #e0e0e0;
    --accent-color-p2: #35a8e0;
    --dot-color-p2: #d9d9d9;
    --active-dot-color-p2: #a0a0a0;
    --gap: 24px;
    --card-width: 350px;
    --scroll-duration: 5000ms;

    /* Part 3 Variables */
    --bg-color-p3: transparent;
    --card-bg-color-p3: rgba(255,255,255,0.8);
    --primary-text-color-p3: #111827;
    --secondary-text-color-p3: #6b7280;
    --border-color-p3: #e5e7eb;
    --accent-color-p3: #2563eb;
    --green-status-color-p3: #10b981;
    --gap-p3: 5rem;
    --scroll-duration-p3: 50s; 
}

* { margin: 0; padding: 0; box-sizing: border-box; }

body { 
    font-family: 'Source Sans Pro', sans-serif; 
    /* GLOBAL BEAUTIFUL BACKGROUND */
    background: linear-gradient(135deg, #f0f9ff 0%, #ffffff 50%, #fff7ed 100%);
    background-attachment: fixed;
    color: var(--text-dark); 
    overflow-x: hidden; 
}

a { text-decoration: none; color: inherit; }

.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* Unified Heading Font */
h1, h2, h3, h4, h5, h6 { font-family: 'Titillium Web', sans-serif; }

/* =========================================
   HEADER SECTION
   ========================================= */
.site-header {
    background-color: var(--bg-dark);
    color: var(--text-light);
    padding: 1.25rem 0;
    position: relative; 
    z-index: 1000; 
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    width: 100px;
    height: auto;
    display: flex;
    align-items: center;
    justify-content: center;
}

.logo img { max-width: 100%; height: auto; }

/* Desktop Nav */
.main-nav { display: flex; gap: 2rem; list-style: none; }
.main-nav a { font-size: 0.95rem; transition: color 0.2s ease; }

/* --- UPDATED: HOVER COLOR IS NOW BRAND BLUE --- */
.main-nav a:hover { color: var(--brand-blue); }

.header-actions { display: flex; align-items: center; gap: 1.5rem; }

.btn-demo {
    font-family: 'Source Sans Pro', sans-serif;
    background-color: transparent;
    color: var(--text-light);
    border: 1.5px solid var(--text-light);
    padding: 0.6rem 1.2rem;
    border-radius: 6px;
    cursor: pointer;
    font-weight: 500;
    transition: all 0.2s ease;
    font-size: 0.95rem;
    z-index: 1002;
}

.btn-demo a { color: inherit; text-decoration: none; }

.btn-demo:hover {
    background-color: var(--text-light);
    color: var(--text-dark);
}

/* HAMBURGER ICON */
.hamburger {
    display: none;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 10px;
    z-index: 1002;
}
.hamburger span {
    display: block;
    width: 25px;
    height: 3px;
    background-color: white;
    margin: 5px 0;
    transition: 0.3s;
}

/* MOBILE MENU */
.mobile-menu-overlay {
    position: fixed;
    top: 0; left: 0; width: 100%; height: 100vh;
    background: rgba(0,0,0,0.9);
    backdrop-filter: blur(10px);
    z-index: 1001;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.mobile-menu-overlay.active {
    opacity: 1;
    pointer-events: all;
}

.mobile-nav-list { list-style: none; text-align: center; padding: 0; }
.mobile-nav-list li { margin: 25px 0; }
.mobile-nav-list a {
    font-size: 1.5rem;
    font-weight: 700;
    color: white;
    font-family: 'Titillium Web', sans-serif;
}
.mobile-nav-list a:hover { color: var(--brand-blue); }

.hamburger.active span:nth-child(1) { transform: rotate(-45deg) translate(-5px, 6px); }
.hamburger.active span:nth-child(2) { opacity: 0; }
.hamburger.active span:nth-child(3) { transform: rotate(45deg) translate(-5px, -6px); }

@media (max-width: 1024px) {
    .main-nav { display: none; }
    .hamburger { display: block; }
    .header-content { gap: 10px; }
}

@media (max-width: 480px) {
    .btn-demo { display: none; }
}

/* =========================================
   FOOTER SECTION
   ========================================= */
.site-footer {
    background-color: #0f172a; /* Dark Navy/Black */
    color: #e2e8f0;
    padding: 80px 20px 20px;
    font-family: 'Source Sans Pro', sans-serif;
    position: relative;
    border-top: 4px solid;
    border-image: linear-gradient(to right, var(--brand-orange), var(--brand-blue)) 1;
    z-index: 50;
}

.footer-container {
    max-width: 1280px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    padding-bottom: 60px;
}

.footer-col h3 {
    font-family: 'Titillium Web', sans-serif;
    font-size: 1.25rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 1.5rem;
    position: relative;
    padding-bottom: 10px;
}

.footer-col h3::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 40px;
    height: 3px;
    background-color: var(--brand-orange);
    border-radius: 2px;
}

.footer-text {
    line-height: 1.6;
    color: #cbd5e1;
    margin-bottom: 1.5rem;
}

.footer-links { list-style: none; padding: 0; }
.footer-links li { margin-bottom: 12px; }

.footer-links a {
    color: #cbd5e1;
    text-decoration: none;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
}

.footer-links a:hover {
    color: var(--brand-blue);
    transform: translateX(5px);
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 16px;
    color: #cbd5e1;
}

.contact-icon {
    color: var(--brand-orange);
    margin-top: 4px;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 25px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.copyright { font-size: 0.9rem; color: #94a3b8; }

.social-links { display: flex; gap: 15px; }

.social-btn {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    color: white;
}

.social-btn:hover {
    background-color: var(--brand-blue);
    transform: translateY(-3px);
}

@media (max-width: 768px) {
    .footer-container { grid-template-columns: 1fr; gap: 30px; }
    .footer-bottom { flex-direction: column; text-align: center; }
}