/* --- GlobForce Page Specific Styles --- */

.globforce-page h1, 
.globforce-page h2, 
.globforce-page h3 {
    font-family: 'Amaranth', sans-serif;
    font-size: 1.5rem;
}

.globforce-page .nav-link-futureglob-globforce {
    display: flex;
    align-items: center;
    height: 100%;
    padding: 0;
}

.globforce-page .nav-futureglob-logo {
    height: 35px;
    width: auto;
    filter: none;
}

.globforce-logo-standalone {
    display: block;
    height: 90px;
    max-width: 220px;
    margin: 0 auto 2rem auto;
}

.globforce-page #globforce-hero {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    min-height: 70vh;
    padding: 150px 2rem 2.2rem;
    background: linear-gradient(rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0.3)),
                url('/globforce-hero-bg-2.png');
    background-size: cover;
    background-position: center;
    position: relative;
    text-align: center;
    filter: brightness(1.2);
    margin-top: -118px;
}

.globforce-page #globforce-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(rgba(0, 0, 0, 0.1), rgba(0, 0, 0, 0.1));
    pointer-events: none;
}

.globforce-page #globforce-hero .hero-content {
    max-width: 620px;
    margin: auto;
    color: #ffffff;
    z-index: 2;
    position: relative;
    background: rgba(0, 0, 0, 0.08);
    padding: 2.2rem 1.2rem;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
    display: flex;
    flex-direction: column;
    align-items: center;
}

.globforce-page #globforce-hero .hero-tagline {
    font-weight: 700;
    font-size: 2.75rem;
    line-height: 1.1;
    margin-bottom: 1.1rem;
    margin-top: 0;
    color: #fff;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
}

.globforce-page #globforce-hero .hero-subtitle {
    font-weight: 400;
    font-size: 1.18rem;
    color: #ffffff;
    line-height: 1.5;
    margin-bottom: 0;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.7);
    max-width: 560px;
    margin-left: auto;
    margin-right: auto;
}

.globforce-page #overview {
    background-color: var(--background-color);
}

.overview-content {
    display: grid;
    grid-template-columns: 1.1fr 1fr;
    gap: 2.2rem;
    align-items: center;
    margin-top: 2rem;
}

.overview-text {
    font-size: 1.12rem;
    line-height: 1.6;
    color: var(--text-color);
}

.overview-image {
    border-radius: 8px;
    box-shadow: 0 8px 18px rgba(0,0,0,0.09);
    background: #fff;
    overflow: hidden;
    width: 100%;
    max-width: 420px;
    justify-self: end;
}

.overview-image img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 8px;
}

.globforce-page #features {
    background-color: var(--surface-color);
}

.globforce-page .feature-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 1.1rem;
}

.globforce-page .feature-card {
    background-color: #fff;
    padding: 2rem 1.2rem;
    border-radius: 10px;
    border: 1px solid var(--border-color);
    border-left: 5px solid #00aaff;
    box-shadow: 0 4px 14px rgba(0,0,0,0.05);
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    min-height: 290px;
    transition: transform 0.23s, box-shadow 0.23s;
}

.globforce-page .feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 24px rgba(0,0,0,0.09);
}

.globforce-page .feature-card .feature-icon {
    width: 56px;
    height: 56px;
    margin-bottom: 1rem;
}

.globforce-page .feature-card h3 {
    color: #00aaff;
    font-size: 1.22rem;
    font-weight: 700;
    margin-bottom: 0.7rem;
    margin-top: 0;
}

.globforce-page .feature-card p {
    color: var(--text-color);
    font-size: 1.02rem;
    margin-bottom: 0;
    line-height: 1.55;
}

.globforce-page #demo {
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
}

.globforce-page #demo .container {
    max-width: 520px;
    margin: 0 auto;
}

.globforce-page .navbar .nav-container {
  align-items: center !important;
  min-height: 70px;
  height: 70px;
  display: flex;
}

.globforce-page header { 
  height: 70px !important; 
}

.globforce-page .nav-logo img, .globforce-page .nav-futureglob-logo {
  height: 40px !important;
  width: auto;
  display: inline-block;
  vertical-align: middle;
}

.globforce-page .logo-display-container {
  padding: 0 !important;
  margin: 0 !important;
}

.globforce-page #globforce-hero .globforce-logo-standalone {
  margin-bottom: 1rem !important;
}

.globforce-page #globforce-hero .hero-tagline {
  margin-top: 0 !important;
}

.globforce-page section {
  padding: 1.7rem 0 !important;
  margin: 0 !important;
}

.globforce-page #overview {
  padding-top: 1rem !important;
}


.globforce-page h2 {
  margin-bottom: 1.15rem !important;
}

.globforce-page .section-subtitle {
  margin-bottom: 1rem !important;
  margin-top: -0.8rem !important;
}

.globforce-page .global-contact-form {
  margin-top: 0.4rem !important;
  margin-bottom: 0.2rem !important;
}

.globforce-page section:last-child {
  margin-bottom: 0 !important;
  padding-bottom: 1.3rem !important;
}

.globforce-page #demo h2 {
    font-size: 2.1rem;
    margin-bottom: 0.7rem;
    color: #00aaff;
    text-align: center;
}

.globforce-page #demo .section-subtitle {
    color: #ffffff;
    font-size: 1.07rem;
    text-align: center;
    margin: 0 0 1.2rem 0;
}

.globforce-hero-logo {
    height: 90px;
    margin-bottom: 2rem;
    background: transparent;
}

/* Override page-specific form styling to use global styles */
.global-contact-form {
    max-width: 600px;
    margin: 0 auto;
    padding: 2rem 1.5rem;
    background: #fafbfc;
    border-radius: 9px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.07);
}

.global-contact-form input,
.global-contact-form textarea {
    width: 100%;
    padding: 0.82rem 1.05rem;
    background-color: #f7fcff;
    border: 1px solid #b7e1f7;
    border-radius: 7px;
    color: var(--text-color);
    font-family: inherit;
    font-size: 1rem;
    transition: border 0.15s;
    box-sizing: border-box;
}

.global-contact-form textarea {
    min-height: 90px;
    max-width: 100%;
    resize: vertical;
}

.global-contact-form input:focus,
.global-contact-form textarea:focus {
    border-color: #00aaff;
    outline: none;
    background: #fff;
}

.cta-button {
    display: inline-block;
    width: 100%;
    background-color: #00aaff;
    color: #fff;
    font-weight: 600;
    font-size: 1.1rem;
    border: none;
    padding: 1rem 0;
    border-radius: 7px;
    margin-top: 0.3rem;
    margin-bottom: 0.5rem;
    cursor: pointer;
    transition: background 0.15s, color 0.12s, transform .16s;
}

.cta-button:hover,
.cta-button:focus {
    background-color: #0077b6;
    color: #fff;
    transform: translateY(-2px) scale(1.015);
}

.form-message {
    margin-top: 0.6rem;
    margin-bottom: 0.5rem;
    padding: 0.8rem 1rem;
    border-radius: 5px;
    font-size: 0.97rem;
    text-align: center;
    display: none;
}

.form-message.success {
    background-color: #d4edda;
    color: #166531;
    border: 1px solid #b3e6c9;
    display: block;
}
.form-message.error {
    background-color: #f8d7da;
    color: #a5232b;
    border: 1px solid #e2bfc1;
    display: block;
}

/* Responsive adjustments */
@media (max-width: 1100px) {
    .overview-content {
        gap: 0.4rem;
        grid-template-columns: 1fr;
    }
    
    .overview-image {
        max-width: 100%;
        margin-top: 1rem;
        justify-self: center;
    }
}

@media (max-width: 900px) {
    .globforce-page section { 
      padding: 1rem 0 !important; 
    }
    .globforce-page .feature-grid { 
      margin-top: 0.6rem !important; 
    }
    .globforce-page .logo-display-container img { 
      height: 70px !important;
    }
    .globforce-page .feature-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 700px) {
    .globforce-page #globforce-hero {
        min-height: 60vh;
        padding: 2rem 1rem;
    }
    
    .globforce-page #globforce-hero .hero-tagline {
        font-size: 2rem;
    }
    
    .globforce-page .feature-grid {
        grid-template-columns: 1fr;
    }
    
    .overview-content {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 500px) {
    .globforce-page #globforce-hero .hero-content {
        padding: 1.2rem 0.5rem;
    }
    
    .globforce-page #globforce-hero .hero-tagline {
        font-size: 1.5rem;
    }
}

/* Mobile fixes */
@media (max-width: 768px) {
    .globforce-page #globforce-hero {
        margin-top: -108px;
        padding: 130px 1rem 2rem;
        min-height: 60vh;
    }
    
    .globforce-page #globforce-hero .hero-content {
        padding: 1.5rem 1rem;
        background: rgba(0, 0, 0, 0.12);
    }
    
    .globforce-page #globforce-hero .hero-tagline {
        font-size: 2rem;
    }
}