/**
 * New Hero Section Styles - Conflict Free
 * Uses ct- prefix to avoid any conflicts
 */

/* Hero Section */
.ct-hero-section {
    width: 100%;
    min-height: 600px;
    background: linear-gradient(135deg, #2C3E50 0%, #3498DB 100%); /* Blue gradient like other pages */
    padding: 100px 20px 80px 20px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

/* Add subtle gradient overlay */
.ct-hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: -50%;
    width: 200%;
    height: 100%;
    background: linear-gradient(120deg, transparent 30%, rgba(255, 255, 255, 0.05) 50%, transparent 70%);
    animation: shimmer 8s infinite;
    pointer-events: none;
}

@keyframes shimmer {
    0% {
        transform: translateX(-100%);
    }
    100% {
        transform: translateX(100%);
    }
}

.ct-hero-container {
    max-width: 1200px;
    width: 100%;
    margin: 0 auto;
    position: relative;
}

.ct-hero-content {
    text-align: center;
    position: relative;
    z-index: 10;
}

.ct-hero-title {
    font-size: 48px;
    font-weight: 700;
    color: #FFFFFF !important; /* White text - enforced */
    line-height: 1.2;
    margin: 0 0 20px 0;
    font-family: 'Sora', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    position: relative;
}

/* Add accent line under title */
.ct-hero-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, #F39C12 0%, #E67E22 100%); /* Orange accent */
    border-radius: 2px;
}

.ct-hero-subtitle {
    font-size: 20px;
    font-weight: 400;
    color: #FFFFFF !important; /* White text */
    line-height: 1.6;
    margin: 30px auto 40px auto;
    max-width: 700px;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2); /* Dark shadow for better readability */
}

/* Hero Buttons */
.ct-hero-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.ct-btn {
    display: inline-block;
    padding: 16px 32px;
    font-size: 16px;
    font-weight: 600;
    text-decoration: none;
    border-radius: 8px;
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    text-align: center;
    line-height: 1;
}

.ct-btn-primary {
    background: linear-gradient(90deg, #E74C3C 0%, #F39C12 100%); /* Orange gradient */
    color: #ffffff;
    box-shadow: 0 4px 15px rgba(231, 76, 60, 0.3);
}

.ct-btn-primary:hover {
    background: linear-gradient(90deg, #C0392B 0%, #E67E22 100%); /* Darker orange */
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(231, 76, 60, 0.4);
    color: #ffffff;
}

.ct-btn-secondary {
    background: rgba(255, 255, 255, 0.95);
    color: #000000 !important;
    border: 2px solid rgba(243, 156, 18, 0.8);
    backdrop-filter: blur(10px);
    position: relative;
    overflow: hidden;
}

.ct-btn-secondary::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: transparent;
    transition: background 0.3s ease;
    z-index: -1;
}

.ct-btn-secondary:hover {
    background: rgba(255, 255, 255, 1);
    border-color: #F39C12;
    transform: translateY(-2px);
    color: #000000 !important;
    box-shadow: 0 6px 20px rgba(243, 156, 18, 0.4);
}

.ct-btn-secondary:hover::before {
    background: transparent;
}

/* Ensure black text for secondary button link */
a.ct-btn-secondary,
.ct-btn-secondary,
.ct-hero-buttons .ct-btn-secondary {
    color: #000000 !important;
}

a.ct-btn-secondary:hover,
.ct-btn-secondary:hover,
.ct-hero-buttons .ct-btn-secondary:hover {
    color: #000000 !important;
}

/* Background Effects */
.ct-hero-bg-effects {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    pointer-events: none;
}

.ct-particle {
    position: absolute;
    background: rgba(255, 255, 255, 0.1); /* White particles */
    border-radius: 50%;
    animation: ctFloat 15s infinite;
}

.ct-particle-1 {
    width: 80px;
    height: 80px;
    left: 10%;
    animation-delay: 0s;
}

.ct-particle-2 {
    width: 60px;
    height: 60px;
    left: 70%;
    animation-delay: 2s;
}

.ct-particle-3 {
    width: 100px;
    height: 100px;
    left: 40%;
    animation-delay: 4s;
}

@keyframes ctFloat {
    0% {
        transform: translateY(100vh) rotate(0deg);
        opacity: 0;
    }
    10% {
        opacity: 0.4;
    }
    90% {
        opacity: 0.4;
    }
    100% {
        transform: translateY(-100vh) rotate(360deg);
        opacity: 0;
    }
}

/* Trust Bar */
.ct-trust-bar {
    background: #ffffff;
    padding: 40px 20px;
    border-bottom: 1px solid #e0e0e0;
}

.ct-trust-container {
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
}

.ct-trust-label {
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: #5A6C7D; /* Darker gray for better contrast */
    margin: 0 0 20px 0;
    font-weight: 600;
}

.ct-trust-logos {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 40px;
    flex-wrap: wrap;
}

.ct-trust-logo {
    font-size: 16px;
    color: #5A6C7D; /* Darker gray for better contrast */
    font-weight: 500;
    padding: 8px 16px;
    border: 1px solid #D1D8DD;
    border-radius: 4px;
    transition: all 0.3s ease;
    background: #FFFFFF;
}

.ct-trust-logo:hover {
    color: #2C3E50;
    border-color: #2C3E50;
    transform: translateY(-2px);
}

/* Responsive Design */
@media (max-width: 768px) {
    .ct-hero-title {
        font-size: 32px;
    }
    
    .ct-hero-subtitle {
        font-size: 18px;
    }
    
    .ct-hero-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .ct-btn {
        width: 100%;
        max-width: 300px;
    }
    
    .ct-trust-logos {
        gap: 20px;
    }
    
    .ct-trust-logo {
        font-size: 14px;
        padding: 6px 12px;
    }
}

/* Force override any conflicting styles */
.ct-hero-section *,
.ct-trust-bar * {
    box-sizing: border-box;
}

.ct-hero-section a,
.ct-trust-bar a {
    text-decoration: none;
}

/* Ensure buttons are always clickable */
.ct-btn {
    position: relative !important;
    z-index: 999 !important;
    pointer-events: auto !important;
    display: inline-block !important;
}