/* 
   Valorpoint - Modern Professional Theme
   
   Updated Color Palette:
   - Deep Blue: #1A365D (primary base)
   - Secondary Blue: #2680EB (bright blue accent)
   - Tertiary Blue: #0A4B9F (medium blue)
   - Charcoal: #2D3748 (text)
   - Silver/Light Gray: #E2E8F0 (backgrounds)
   - Light Gray Alt: #F7FAFC (lighter gray for alternating sections)
   - White: #FFFFFF
*/

/* Import modern sans-serif font */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@300;400;500;600;700&display=swap');

/* Base Variables */
:root {
    /* Updated color palette with blues only */
    --primary-blue: #1A365D;    /* Navy blue for primary elements */
    --secondary-blue: #2680EB;  /* Bright blue accent similar to mockup */
    --tertiary-blue: #0A4B9F;   /* Medium blue for gradients */
    --primary-color: #1A365D;   /* Keeping original variable names for backward compatibility */
    --secondary-color: #2D3748; /* Text color - charcoal for good contrast */
    --light-gray: #E2E8F0;      /* For subtle section backgrounds */
    --light-gray-alt: #F7FAFC;  /* Lighter gray for alternating sections */
    --accent-teal: #2C7A7B;     /* Keeping for backward compatibility */
    --accent-blue: #2680EB;     /* Updated to match mockup */
    --white: #FFFFFF;           /* White as default background */
    --text-color: #2D3748;      /* Consistent text color */
    --bg-white: #FFFFFF;        /* Background white */
    
    /* Typography */
    --heading-line-height: 1.2;
    --body-line-height: 1.6;
    
    /* Transitions */
    --transition-fast: all 0.2s ease;
    --transition-normal: all 0.3s ease;
    --transition-slow: all 0.4s ease;
    
    /* Shadows */
    --shadow-sm: 0 1px 3px rgba(0,0,0,0.12), 0 1px 2px rgba(0,0,0,0.08);
    --shadow-md: 0 4px 6px rgba(0,0,0,0.1), 0 2px 4px rgba(0,0,0,0.06);
    --shadow-lg: 0 10px 15px rgba(0,0,0,0.1), 0 4px 6px rgba(0,0,0,0.05);
    --shadow-xl: 0 20px 25px rgba(0,0,0,0.1), 0 10px 10px rgba(0,0,0,0.04);
    
    /* Border radius */
    --radius-sm: 0.25rem;
    --radius-md: 0.375rem;
    --radius-lg: 0.5rem;
    --radius-xl: 0.75rem;
    
    /* Section spacing */
    --section-spacing: 6rem;
}

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

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: 'Montserrat', sans-serif;
    line-height: var(--body-line-height);
    color: var(--secondary-color);
    background-color: var(--white);
    overflow-x: hidden;
}

.container {
    width: 90%;
    max-width: 1240px;
    margin: 0 auto;
    padding: 0;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: 600;
    line-height: var(--heading-line-height);
    margin-bottom: 1.5rem;
    color: var(--primary-color);
    letter-spacing: -0.02em;
}

h1 { font-size: 2.5rem; }
h2 { font-size: 2rem; }
h3 { font-size: 1.5rem; }
h4 { font-size: 1.25rem; }
h5 { font-size: 1.125rem; }
h6 { font-size: 1rem; }

p {
    margin-bottom: 1.5rem;
    font-weight: 400;
}

a {
    color: var(--accent-blue);
    text-decoration: none;
    transition: var(--transition-normal);
    position: relative;
}

a:hover {
    color: var(--accent-teal);
}

.section-title {
    text-align: center;
    margin-bottom: 3.5rem;
    position: relative;
    font-size: 2.25rem;
    font-weight: 700;
}

.section-title::after {
    content: '';
    display: block;
    width: 120px;
    height: 5px;
    background: linear-gradient(90deg, var(--accent-blue), var(--accent-teal));
    margin: 1.25rem auto 0;
    border-radius: 100px;
}

.text-gradient {
    background: linear-gradient(90deg, var(--primary-color), var(--accent-blue));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    color: transparent;
}

/* Header & Navigation */
header {
    background-color: var(--white);
    box-shadow: var(--shadow-md);
    position: sticky;
    top: 0;
    z-index: 1000;
    padding: 1.25rem 0;
    transition: var(--transition-normal);
    width: 100%;
}

header.scrolled {
    padding: 0.75rem 0;
    box-shadow: var(--shadow-lg);
}

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

.logo {
    display: flex;
    align-items: center;
    position: relative;
}

/* Veteran status badge */
.veteran-status {
    font-size: 0.65rem;
    color: var(--secondary-blue);
    font-weight: 600;
    letter-spacing: 0.02em;
    margin-left: 0.75rem;
    padding: 0.25rem 0.75rem;
    border-radius: 4px;
    background-color: rgba(38, 128, 235, 0.1);
    max-width: 220px;
    line-height: 1.3;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
}

.veteran-status i {
    color: var(--secondary-blue);
    margin-right: 4px;
}

.logo-img {
    max-height: 50px;
    width: auto;
    transition: var(--transition-normal);
}

.logo a:hover .logo-img {
    opacity: 0.9;
    transform: scale(1.02);
}

.main-nav {
    display: flex;
    list-style: none;
    gap: 0.75rem;
    margin: 0;
    padding: 0;
    align-items: center; /* Align menu items vertically */
    height: 45px; /* Match height with contact button */
}

.main-nav li {
    padding: 0;
    margin: 0;
    display: flex;
    align-items: center;
    height: 100%; /* Full height of parent */
}

.main-nav a {
    color: var(--secondary-color);
    font-weight: 500;
    padding: 0 0.75rem;
    position: relative;
    letter-spacing: 0.02em;
    display: flex;
    align-items: center;
    height: 100%; /* Full height for vertical centering */
}

.main-nav a:hover,
.main-nav a.active {
    color: var(--primary-color);
}

.main-nav a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 3px;
    bottom: -3px;
    left: 0;
    background-color: var(--accent-blue);
    transition: var(--transition-normal);
    border-radius: 100px;
}

.main-nav a:hover::after,
.main-nav a.active::after {
    width: 100%;
}

.cta-button {
    display: inline-block;
    background-color: var(--primary-color);
    color: var(--white) !important;
    padding: 0.75rem 1.75rem;
    border-radius: var(--radius-md);
    font-weight: 600;
    letter-spacing: 0.02em;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border: 2px solid var(--primary-color);
    box-shadow: var(--shadow-sm);
    position: relative;
    overflow: hidden;
}

.cta-button:hover {
    background-color: var(--primary-color);
    color: var(--white) !important;
    border-color: var(--primary-color);
    box-shadow: var(--shadow-lg);
    transform: translateY(-3px) scale(1.05);
}

@keyframes pulse {
    0% { box-shadow: 0 0 0 0 rgba(26, 54, 93, 0.4); }
    70% { box-shadow: 0 0 0 10px rgba(26, 54, 93, 0); }
    100% { box-shadow: 0 0 0 0 rgba(26, 54, 93, 0); }
}

.cta-button:active {
    transform: translateY(1px) scale(0.98);
}

/* Hamburger Menu */
.hamburger {
    display: none;
    cursor: pointer;
    flex-direction: column;
    justify-content: space-between;
    height: 24px;
    width: 30px;
}

.hamburger span {
    display: block;
    height: 2px;
    width: 100%;
    background-color: var(--primary-color);
    transition: var(--transition-normal);
    border-radius: 100px;
}

.hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 10px);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -10px);
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, rgba(26, 54, 93, 0.92), rgba(10, 75, 159, 0.92)), url('../images/backgrounds/hero-background.jpg');
    background-size: cover;
    background-position: center;
    color: var(--white);
    padding: 8rem 0;
    position: relative;
    overflow: hidden;
    width: 100%;
    display: flex;
    align-items: center;
    min-height: 85vh;
}

.hero .container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5rem;
    align-items: center;
}

.hero-content {
    text-align: left;
    position: relative;
    z-index: 2;
    max-width: 100%;
    margin: 0;
    padding: 0;
}

.mockup-hero-image {
    position: relative;
    z-index: 1;
    display: flex;
    justify-content: center;
    align-items: center;
}

.cyber-visual {
    width: 450px;
    height: 350px;
    position: relative;
    background: url('../images/backgrounds/cyber-visual.jpg') center center;
    background-size: cover;
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 25px 50px rgba(0,0,0,0.3);
}

.cyber-visual::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(10, 75, 159, 0.8), rgba(38, 128, 235, 0.4));
    z-index: 1;
}

.hero h2 {
    font-size: 3rem;
    margin-bottom: 1.75rem;
    color: var(--white);
    text-shadow: 0px 1px 2px rgba(0, 0, 0, 0.1);
    font-weight: 700;
    line-height: 1.2;
}

.hero p {
    font-size: 1.25rem;
    margin-bottom: 2.5rem;
    text-shadow: 0px 1px 2px rgba(0, 0, 0, 0.1);
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.hero .cta-button:hover {
    background-color: var(--white);
    color: var(--primary-color) !important;
    border-color: var(--white);
    animation: pulse 1.5s infinite;
}

.veteran-badge {
    display: inline-block;
    background-color: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    border: 2px solid rgba(255, 255, 255, 0.2);
    padding: 0.75rem 1.5rem;
    border-radius: var(--radius-lg);
    margin-top: 2.5rem;
    font-weight: 500;
    box-shadow: var(--shadow-md);
}

.veteran-badge i {
    color: var(--accent-teal);
    margin-right: 0.5rem;
}

/* Common styles for all hero sections on inner pages */
.about-hero, 
.services-hero, 
.partners-hero, 
.resources-hero, 
.contact-hero {
    background: linear-gradient(135deg, rgba(26, 54, 93, 0.92), rgba(10, 75, 159, 0.92)), url('../images/backgrounds/hero-background.jpg');
    background-size: cover;
    background-position: center; /* Updated to match homepage */
    padding: 5rem 0;
    color: var(--white);
    text-align: center;
    position: relative;
    overflow: hidden;
    width: 100%;
}

.about-hero h2, 
.services-hero h2, 
.partners-hero h2, 
.resources-hero h2, 
.contact-hero h2 {
    color: var(--white);
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1.25rem;
    position: relative;
    z-index: 1;
}

.about-hero p, 
.services-hero p, 
.partners-hero p, 
.resources-hero p, 
.contact-hero p {
    color: var(--white);
    max-width: 700px;
    margin: 0 auto;
    font-size: 1.125rem;
    position: relative;
    z-index: 1;
}

/* Common section styling */
section {
    width: 100%;
    padding: var(--section-spacing) 0;
    position: relative;
}

section .container {
    position: relative;
    z-index: 2;
}

/* Services Section */
.services, .enhanced-services {
    background-color: var(--white);
    overflow: hidden;
    padding: 8rem 0;
    position: relative;
}

.enhanced-services::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, rgba(38, 128, 235, 0.03) 0%, rgba(255, 255, 255, 0) 50%, rgba(38, 128, 235, 0.03) 100%);
    pointer-events: none;
}

.services::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 50%;
    height: 100%;
    background: linear-gradient(135deg, transparent, rgba(49, 130, 206, 0.05));
    transform: skewX(-15deg) translateX(50%);
    z-index: 1;
}

.services-grid, .service-showcase {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 3rem;
    margin-top: 5rem;
}

.service-card, .service-showcase-item {
    background-color: var(--white);
    border-radius: 15px;
    padding: 3rem 2rem;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
    transition: var(--transition-normal);
    text-align: center;
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(0,0,0,0.05);
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.service-showcase-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.12);
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--accent-blue), var(--accent-teal));
    transition: var(--transition-normal);
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
}

.service-icon, .service-showcase-visual {
    width: 100px;
    height: 100px;
    margin: 0 auto 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--primary-blue), var(--secondary-blue));
    border-radius: 50%;
    box-shadow: 0 10px 25px rgba(26, 54, 93, 0.2);
    position: relative;
}

.service-showcase-visual::after {
    content: '';
    position: absolute;
    width: calc(100% + 20px);
    height: calc(100% + 20px);
    border: 2px solid rgba(49, 130, 206, 0.2);
    border-radius: 50%;
    top: -10px;
    left: -10px;
}

.service-icon i, .service-showcase-visual i {
    font-size: 2.5rem;
    color: var(--white);
    position: relative;
    z-index: 1;
}

.service-card h3, .service-showcase-content h3 {
    color: var(--primary-color);
    margin-top: 0;
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

.service-card p, .service-short-desc {
    color: var(--secondary-color);
    margin-bottom: 1.5rem;
    font-size: 1rem;
    line-height: 1.6;
}

.learn-more {
    color: var(--accent-blue);
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    margin-top: auto;
}

.learn-more i {
    margin-left: 0.5rem;
    transition: var(--transition-fast);
}

.learn-more:hover i {
    transform: translateX(3px);
}

/* Value Proposition Section */
.value-proposition {
    background-color: var(--light-gray);
    position: relative;
    overflow: hidden;
}

.value-proposition::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, rgba(44, 122, 123, 0.03) 0%, rgba(255, 255, 255, 0) 50%, rgba(44, 122, 123, 0.03) 100%);
    z-index: 1;
}

.value-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 3rem;
    margin-top: 4rem;
}

.value-item {
    text-align: center;
}

.value-icon {
    width: 80px;
    height: 80px;
    background-color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    box-shadow: var(--shadow-md);
    position: relative;
    z-index: 1;
}

.value-icon::after {
    content: '';
    position: absolute;
    top: -5px;
    left: -5px;
    width: 90px;
    height: 90px;
    border-radius: 50%;
    border: 2px dashed rgba(44, 122, 123, 0.3);
    z-index: -1;
}

.value-icon i {
    font-size: 2rem;
    color: var(--accent-teal);
}

.value-item h3 {
    margin-bottom: 1rem;
    color: var(--primary-color);
}

.value-item p {
    color: var(--secondary-color);
    font-size: 1rem;
}

/* Partners Section */
.partners {
    background-color: var(--white);
    text-align: center;
}

.partners-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 2rem;
    margin-top: 3rem;
}

.partner-placeholder {
    width: 160px;
    height: 100px;
    background-color: var(--light-gray-alt);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius-md);
    color: var(--secondary-color);
    font-weight: 500;
    box-shadow: var(--shadow-sm);
}

/* Contact CTA Section */
.contact-cta {
    background: linear-gradient(135deg, var(--primary-color), var(--tertiary-blue));
    color: var(--white);
    text-align: center;
    padding: 5rem 0;
}

.contact-cta h2 {
    font-size: 2.5rem;
    color: var(--white);
    margin-bottom: 2rem;
    font-weight: 700;
}

.contact-cta .cta-button {
    background-color: var(--white);
    color: var(--primary-color) !important;
    border-color: var(--white);
    font-size: 1.1rem;
    padding: 1rem 2rem;
}

.contact-cta .cta-button:hover {
    background-color: transparent;
    color: var(--white) !important;
    border-color: var(--white);
}

/* Footer */
footer {
    background-color: var(--primary-blue);
    color: var(--white);
    padding: 4rem 0 2rem;
    position: relative;
    overflow: hidden;
}

footer h3 {
    color: var(--white);
    margin-bottom: 1.5rem;
}

footer a {
    color: rgba(255, 255, 255, 0.8);
    transition: var(--transition-normal);
}

footer a:hover {
    color: var(--white);
}

.footer-content {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr;
    gap: 4rem;
    margin-bottom: 3rem;
}

.footer-info, .footer-links, .footer-social {
    text-align: left;
}

.footer-info {
    grid-column: span 1;
}

.footer-logo {
    margin-bottom: 1.5rem;
    max-width: 200px;
}

.footer-info p {
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.8;
}

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

.footer-links li {
    margin-bottom: 0.75rem;
}

.footer-links a {
    display: inline-block;
    position: relative;
    padding-left: 0;
    transition: var(--transition-normal);
}

.footer-links a:hover {
    transform: translateX(5px);
}

.social-icons {
    display: flex;
    gap: 1rem;
    margin-top: 1.5rem;
}

.social-icons a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    transition: var(--transition-normal);
}

.social-icons a:hover {
    background-color: var(--accent-blue);
    transform: translateY(-3px);
}

.copyright {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.copyright p {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.7);
}

/* Responsive Media Queries */
@media screen and (max-width: 1024px) {
    .value-grid, 
    .services-grid, 
    .service-showcase {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .footer-content {
        gap: 2rem;
    }
}

@media screen and (max-width: 768px) {
    html {
        font-size: 15px;
    }
    
    .container {
        width: 95%;
    }
    
    header .container {
        position: relative;
    }
    
    .hamburger {
        display: flex;
    }
    
    .main-nav {
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        flex-direction: column;
        background-color: var(--white);
        box-shadow: var(--shadow-lg);
        padding: 1rem 0;
        border-radius: 0 0 var(--radius-md) var(--radius-md);
        transform: translateY(-200%);
        opacity: 0;
        visibility: hidden;
        transition: var(--transition-normal);
        height: auto;
        z-index: -1;
    }
    
    .main-nav.active {
        transform: translateY(0);
        opacity: 1;
        visibility: visible;
        z-index: 100;
    }
    
    .main-nav li {
        width: 100%;
        height: auto;
    }
    
    .main-nav a {
        width: 100%;
        padding: 0.75rem 2rem;
        justify-content: flex-start;
        height: auto;
    }
    
    .main-nav a.cta-button {
        margin: 0.5rem 2rem;
        width: calc(100% - 4rem);
        display: flex;
        justify-content: center;
    }
    
    .main-nav a::after {
        display: none;
    }
    
    .hero .container {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 3rem;
    }
    
    .hero-content {
        order: 1;
    }
    
    .mockup-hero-image {
        order: 2;
    }
    
    .cyber-visual {
        width: 100%;
        max-width: 350px;
        height: 280px;
        margin: 0 auto;
    }
    
    .hero h2 {
        font-size: 2.25rem;
    }
    
    .services-grid, 
    .service-showcase,
    .value-grid,
    .footer-content {
        grid-template-columns: 1fr;
    }
    
    .footer-content {
        text-align: center;
    }
    
    .footer-logo {
        margin-left: auto;
        margin-right: auto;
    }
    
    .social-icons {
        justify-content: center;
    }
}

@media screen and (max-width: 480px) {
    html {
        font-size: 14px;
    }
    
    .section-title {
        font-size: 1.75rem;
    }
    
    .hero h2 {
        font-size: 2rem;
    }
    
    .cyber-visual {
        height: 240px;
    }
    
    .contact-cta h2 {
        font-size: 2rem;
    }
}
