/* ===================================
   Premium Global Styles
   Consistent premium design across all pages
   =================================== */

/* ===================================
   Section Headers - Premium Gradient Design
   =================================== */

/* Main section container */
.section-header-premium {
    text-align: center;
    margin-bottom: 60px;
    position: relative;
}

/* Gradient title - Primary heading */
.section-title-gradient {
    font-family: var(--font-heading);
    font-size: 42px;
    font-weight: 800;
    background: linear-gradient(135deg, #003366 0%, #6B46C1 50%, #E31E24 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 15px;
    line-height: 1.2;
    position: relative;
    display: inline-block;
}

/* Animated gradient effect on hover */
.section-title-gradient::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, #003366, #6B46C1, #E31E24);
    border-radius: 2px;
    transition: width 0.4s ease;
}

.section-title-gradient:hover::after {
    width: 120px;
}

/* Subtitle text */
.section-subtitle-premium {
    font-size: 18px;
    color: rgba(0, 51, 102, 0.8);
    max-width: 700px;
    margin: 0 auto;
    line-height: 1.6;
    font-weight: 400;
}

/* Alternative style - smaller gradient heading */
.section-title-gradient-small {
    font-family: var(--font-heading);
    font-size: 32px;
    font-weight: 700;
    background: linear-gradient(135deg, #003366 0%, #6B46C1 50%, #E31E24 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 12px;
    line-height: 1.3;
}

/* Decorative line accent */
.section-header-premium::before {
    content: '';
    position: absolute;
    top: -20px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, #003366, #6B46C1, #E31E24);
    border-radius: 2px;
    opacity: 0.6;
}

/* ===================================
   CTA Banners - Standardized Styling
   =================================== */

/* Main CTA section with gradient background matching services page */
.cta-section-premium {
    background: linear-gradient(135deg, #003366 0%, #6B46C1 50%, #E31E24 100%);
    padding: 50px 40px;
    border-radius: 20px;
    margin: 80px 0;
    position: relative;
    overflow: hidden;
    box-shadow: 0 15px 40px rgba(0, 51, 102, 0.2);
}

/* Decorative overlay */
.cta-section-premium::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(
        135deg,
        rgba(255, 255, 255, 0.1) 0%,
        transparent 50%,
        rgba(0, 0, 0, 0.1) 100%
    );
    pointer-events: none;
}

/* CTA content wrapper */
.cta-content-premium {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

/* CTA title with white color */
.cta-title-premium {
    font-family: var(--font-heading);
    font-size: 32px;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 15px;
    line-height: 1.3;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

/* CTA subtitle/description */
.cta-subtitle-premium {
    font-size: 17px;
    color: rgba(255, 255, 255, 0.95);
    margin-bottom: 30px;
    line-height: 1.6;
}

/* CTA buttons container */
.cta-buttons-premium {
    display: flex;
    gap: 15px;
    justify-content: center;
    flex-wrap: wrap;
}

/* White primary button for CTA sections */
.cta-section-premium .btn-primary-white {
    background-color: var(--white);
    color: #003366;
    padding: 15px 35px;
    border-radius: 8px;
    font-weight: 700;
    font-size: 16px;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
}

.cta-section-premium .btn-primary-white:hover {
    background-color: #E31E24;
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(227, 30, 36, 0.3);
}

/* Outline button for CTA sections */
.cta-section-premium .btn-outline-white {
    background-color: rgba(255, 255, 255, 0.15);
    color: var(--white);
    padding: 15px 35px;
    border: 2px solid var(--white);
    border-radius: 8px;
    font-weight: 700;
    font-size: 16px;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.cta-section-premium .btn-outline-white:hover {
    background-color: var(--white);
    color: #003366;
    transform: translateY(-2px);
}

/* ===================================
   Footer - Premium Gradient Design
   =================================== */

.footer-premium {
    background: linear-gradient(135deg, #003366 0%, #1a4d80 50%, #003366 100%);
    color: var(--white);
    padding: 60px 0 20px;
    position: relative;
    overflow: hidden;
}

/* Decorative gradient overlay */
.footer-premium::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #003366, #6B46C1, #E31E24, #6B46C1, #003366);
    background-size: 200% 100%;
    animation: footerGradientFlow 8s linear infinite;
}

@keyframes footerGradientFlow {
    0% { background-position: 0% 0%; }
    100% { background-position: 200% 0%; }
}

/* Subtle pattern overlay for depth */
.footer-premium::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        radial-gradient(circle at 20% 50%, rgba(107, 70, 193, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(227, 30, 36, 0.08) 0%, transparent 50%);
    pointer-events: none;
}

/* Ensure logo is clearly visible */
.footer-premium .logo-image {
    filter: brightness(1.1) contrast(1.1);
    background-color: rgba(255, 255, 255, 0.95);
    padding: 8px;
    border-radius: 8px;
}

.footer-premium .footer-content {
    position: relative;
    z-index: 2;
}

.footer-premium .logo-name {
    color: var(--white);
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.footer-premium .footer-title {
    color: var(--white);
    border-bottom: 2px solid rgba(107, 70, 193, 0.3);
    padding-bottom: 10px;
    margin-bottom: 20px;
}

.footer-premium .social-link {
    background-color: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.footer-premium .social-link:hover {
    background: linear-gradient(135deg, #6B46C1, #E31E24);
    border-color: transparent;
    transform: translateY(-3px) scale(1.05);
}

.footer-premium .footer-links a:hover {
    color: #E31E24;
    padding-left: 8px;
}

.footer-premium .footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.15);
    position: relative;
    z-index: 2;
}

/* ===================================
   Responsive Design
   =================================== */

@media (max-width: 992px) {
    .section-title-gradient {
        font-size: 36px;
    }
    
    .section-title-gradient-small {
        font-size: 28px;
    }
    
    .cta-title-premium {
        font-size: 28px;
    }
    
    .cta-section-premium {
        padding: 40px 30px;
        margin: 60px 0;
    }
}

@media (max-width: 768px) {
    .section-title-gradient {
        font-size: 32px;
    }
    
    .section-title-gradient-small {
        font-size: 24px;
    }
    
    .section-subtitle-premium {
        font-size: 16px;
    }
    
    .cta-title-premium {
        font-size: 24px;
    }
    
    .cta-subtitle-premium {
        font-size: 15px;
    }
    
    .cta-section-premium {
        padding: 35px 25px;
        margin: 50px 0;
        border-radius: 16px;
    }
    
    .cta-buttons-premium {
        flex-direction: column;
        align-items: stretch;
    }
    
    .cta-section-premium .btn-primary-white,
    .cta-section-premium .btn-outline-white {
        width: 100%;
        justify-content: center;
    }
}

@media (max-width: 576px) {
    .section-title-gradient {
        font-size: 28px;
    }
    
    .section-title-gradient-small {
        font-size: 22px;
    }
    
    .section-header-premium {
        margin-bottom: 40px;
    }
    
    .cta-title-premium {
        font-size: 22px;
    }
    
    .cta-section-premium {
        padding: 30px 20px;
        margin: 40px 0;
    }
    
    .footer-premium {
        padding: 40px 0 15px;
    }
}
