/* ===================================
   Credit Clique Academy Loans LLC
   Corporate Landing Page Styles
   =================================== */

/* CSS Variables */
:root {
    --primary: #1a365d;
    --primary-dark: #0f2744;
    --primary-light: #2c5282;
    --accent: #d69e2e;
    --accent-light: #ecc94b;
    --accent-dark: #b7791f;
    --dark: #0d1b2a;
    --dark-secondary: #1b2838;
    --light: #f7fafc;
    --white: #ffffff;
    --gray-100: #f7fafc;
    --gray-200: #edf2f7;
    --gray-300: #e2e8f0;
    --gray-400: #cbd5e0;
    --gray-500: #a0aec0;
    --gray-600: #718096;
    --gray-700: #4a5568;
    --gray-800: #2d3748;
    
    --font-display: 'DM Serif Display', serif;
    --font-body: 'Outfit', sans-serif;
    
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    --shadow-md: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
    --shadow-xl: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    
    --transition: all 0.3s ease;
    --transition-slow: all 0.5s ease;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    font-weight: 400;
    line-height: 1.7;
    color: var(--gray-700);
    background-color: var(--white);
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-display);
    font-weight: 400;
    line-height: 1.2;
    color: var(--dark);
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* Utilities */
.text-gradient {
    background: linear-gradient(135deg, var(--accent) 0%, var(--accent-light) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.section-tag {
    display: inline-block;
    font-size: 0.875rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--accent);
    margin-bottom: 1rem;
    position: relative;
    padding-left: 50px;
}

.section-tag::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 40px;
    height: 2px;
    background: var(--accent);
}

.section-title {
    font-size: clamp(2rem, 5vw, 3rem);
    margin-bottom: 1.5rem;
}

.section-subtitle {
    font-size: 1.125rem;
    color: var(--gray-400);
    max-width: 600px;
    margin: 0 auto;
}

/* Buttons */
.btn {
    font-family: var(--font-body);
    font-weight: 500;
    padding: 0.875rem 2rem;
    border-radius: 50px;
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    border: 2px solid transparent;
}

.btn-primary {
    background: linear-gradient(135deg, var(--accent) 0%, var(--accent-dark) 100%);
    color: var(--dark);
    border-color: var(--accent);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(214, 158, 46, 0.3);
    background: linear-gradient(135deg, var(--accent-light) 0%, var(--accent) 100%);
    color: var(--dark);
    border-color: var(--accent-light);
}

.btn-outline-light {
    background: transparent;
    color: var(--white);
    border-color: rgba(255, 255, 255, 0.3);
}

.btn-outline-light:hover {
    background: var(--white);
    color: var(--dark);
    border-color: var(--white);
}

/* Header */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 1rem 0;
    transition: var(--transition);
}

.header.scrolled {
    background: rgba(13, 27, 42, 0.95);
    backdrop-filter: blur(20px);
    padding: 0.75rem 0;
    box-shadow: var(--shadow-lg);
}

.navbar {
    padding: 0;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.logo-icon {
    width: 45px;
    height: 45px;
    background: linear-gradient(135deg, var(--accent) 0%, var(--accent-dark) 100%);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    color: var(--dark);
}

.logo-text {
    font-family: var(--font-display);
    font-size: 1.375rem;
    color: var(--white);
}

.logo-accent {
    color: var(--accent);
}

.navbar-nav {
    gap: 0.5rem;
}

.nav-link {
    font-weight: 500;
    color: rgba(255, 255, 255, 0.8) !important;
    padding: 0.5rem 1rem !important;
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 2px;
    background: var(--accent);
    transition: var(--transition);
}

.nav-link:hover {
    color: var(--white) !important;
}

.nav-link:hover::after {
    width: 30px;
}

.nav-cta {
    margin-left: 1rem;
    padding: 0.625rem 1.5rem !important;
}

.navbar-toggler {
    border: none;
    padding: 0.5rem;
}

.navbar-toggler:focus {
    box-shadow: none;
}

.navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%28255, 255, 255, 0.8%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

/* Hero Section */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    background-color: var(--dark);
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    inset: 0;
    background: 
        radial-gradient(ellipse at 20% 80%, rgba(214, 158, 46, 0.15) 0%, transparent 50%),
        radial-gradient(ellipse at 80% 20%, rgba(44, 82, 130, 0.2) 0%, transparent 50%),
        linear-gradient(180deg, var(--dark) 0%, var(--primary-dark) 100%);
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.02'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.hero-content {
    position: relative;
    z-index: 2;
    padding-top: 100px;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(214, 158, 46, 0.1);
    border: 1px solid rgba(214, 158, 46, 0.3);
    padding: 0.5rem 1rem;
    border-radius: 50px;
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--accent);
    margin-bottom: 1.5rem;
    animation: fadeInUp 0.8s ease;
}

.hero-title {
    font-size: clamp(2.5rem, 6vw, 4rem);
    color: var(--white);
    margin-bottom: 1.5rem;
    animation: fadeInUp 0.8s ease 0.1s both;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--gray-400);
    max-width: 540px;
    margin-bottom: 2rem;
    animation: fadeInUp 0.8s ease 0.2s both;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    animation: fadeInUp 0.8s ease 0.3s both;
}

.hero-image-wrapper {
    position: relative;
    animation: fadeInRight 1s ease 0.4s both;
}

.hero-image {
    border-radius: 20px;
    box-shadow: var(--shadow-xl);
    position: relative;
    z-index: 2;
}

.hero-image-decoration {
    position: absolute;
    top: -20px;
    right: -20px;
    width: 100%;
    height: 100%;
    border: 2px solid var(--accent);
    border-radius: 20px;
    z-index: 1;
}

.hero-floating-card {
    position: absolute;
    bottom: 40px;
    left: -40px;
    background: var(--white);
    padding: 1rem 1.5rem;
    border-radius: 12px;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    box-shadow: var(--shadow-lg);
    z-index: 3;
    animation: float 3s ease-in-out infinite;
}

.hero-floating-card i {
    font-size: 1.5rem;
    color: #48bb78;
}

.hero-floating-card span {
    font-weight: 600;
    color: var(--dark);
}

.hero-scroll {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
}

.hero-scroll a {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    color: var(--gray-500);
    font-size: 0.875rem;
    animation: bounce 2s infinite;
}

.hero-scroll i {
    font-size: 1.5rem;
}

/* About Section */
.about {
    padding: 120px 0;
    background: var(--white);
    position: relative;
}

.about-images {
    position: relative;
    height: 500px;
}

.about-image-main {
    position: absolute;
    top: 0;
    left: 0;
    width: 70%;
    z-index: 2;
}

.about-image-main img {
    border-radius: 20px;
    box-shadow: var(--shadow-xl);
}

.about-image-secondary {
    position: absolute;
    bottom: 0;
    right: 0;
    width: 55%;
    z-index: 3;
}

.about-image-secondary img {
    border-radius: 20px;
    box-shadow: var(--shadow-xl);
    border: 5px solid var(--white);
}

.about-experience {
    position: absolute;
    top: 50%;
    right: 20%;
    transform: translateY(-50%);
    background: linear-gradient(135deg, var(--accent) 0%, var(--accent-dark) 100%);
    padding: 1.5rem 2rem;
    border-radius: 16px;
    text-align: center;
    z-index: 4;
    box-shadow: var(--shadow-lg);
}

.exp-number {
    display: block;
    font-family: var(--font-display);
    font-size: 2.5rem;
    color: var(--dark);
    line-height: 1;
}

.exp-text {
    display: block;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--dark);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.about-content {
    padding-left: 2rem;
}

.about-lead {
    font-size: 1.25rem;
    font-weight: 500;
    color: var(--dark);
    margin-bottom: 1rem;
}

.about-text {
    color: var(--gray-600);
    margin-bottom: 1rem;
}

.about-features {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-top: 2rem;
}

.about-feature {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: var(--gray-100);
    padding: 0.75rem 1.25rem;
    border-radius: 50px;
    font-weight: 500;
    color: var(--dark);
}

.about-feature i {
    color: var(--accent);
    font-size: 1.125rem;
}

/* Services Section */
.services {
    padding: 120px 0;
    background: var(--dark);
    position: relative;
    overflow: hidden;
}

.services-bg {
    position: absolute;
    inset: 0;
    background: 
        radial-gradient(ellipse at 10% 90%, rgba(214, 158, 46, 0.1) 0%, transparent 40%),
        radial-gradient(ellipse at 90% 10%, rgba(44, 82, 130, 0.15) 0%, transparent 40%);
}

.services .section-title {
    color: var(--white);
}

.service-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 20px;
    padding: 2rem;
    height: 100%;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--accent), var(--accent-light));
    transform: scaleX(0);
    transition: var(--transition);
}

.service-card:hover {
    background: rgba(255, 255, 255, 0.06);
    transform: translateY(-5px);
    border-color: rgba(214, 158, 46, 0.3);
}

.service-card:hover::before {
    transform: scaleX(1);
}

.service-card.featured {
    background: rgba(214, 158, 46, 0.1);
    border-color: rgba(214, 158, 46, 0.3);
}

.service-card.featured::before {
    transform: scaleX(1);
}

.service-badge {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: var(--accent);
    color: var(--dark);
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    padding: 0.25rem 0.75rem;
    border-radius: 50px;
}

.service-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--accent) 0%, var(--accent-dark) 100%);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: var(--dark);
    margin-bottom: 1.5rem;
}

.service-title {
    font-size: 1.375rem;
    color: var(--white);
    margin-bottom: 1rem;
}

.service-desc {
    color: var(--gray-400);
    margin-bottom: 1.5rem;
    font-size: 0.9375rem;
}

.service-features {
    list-style: none;
}

.service-features li {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--gray-300);
    font-size: 0.875rem;
    margin-bottom: 0.5rem;
}

.service-features i {
    color: var(--accent);
}

/* Contact Section */
.contact {
    padding: 120px 0;
    background: var(--gray-100);
    position: relative;
}

.contact-info {
    height: 100%;
}

.contact-lead {
    font-size: 1.125rem;
    color: var(--gray-600);
    margin-bottom: 2.5rem;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.contact-item {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
}

.contact-icon {
    width: 50px;
    height: 50px;
    background: var(--white);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    color: var(--accent);
    box-shadow: var(--shadow);
    flex-shrink: 0;
}

.contact-text h4 {
    font-family: var(--font-body);
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 0.25rem;
}

.contact-text p {
    color: var(--gray-600);
    margin: 0;
    line-height: 1.6;
}

.contact-text a {
    color: var(--primary);
}

.contact-text a:hover {
    color: var(--accent);
}

.contact-form-wrapper {
    background: var(--white);
    border-radius: 24px;
    padding: 2.5rem;
    box-shadow: var(--shadow-lg);
}

.form-title {
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    color: var(--dark);
}

.form-group {
    margin-bottom: 0;
}

.form-group label {
    display: block;
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--gray-700);
    margin-bottom: 0.5rem;
}

.form-control {
    width: 100%;
    padding: 0.875rem 1rem;
    border: 2px solid var(--gray-200);
    border-radius: 12px;
    font-family: var(--font-body);
    font-size: 1rem;
    transition: var(--transition);
    background: var(--gray-50);
}

.form-control:focus {
    outline: none;
    border-color: var(--accent);
    background: var(--white);
    box-shadow: 0 0 0 4px rgba(214, 158, 46, 0.1);
}

.form-control::placeholder {
    color: var(--gray-400);
}

select.form-control {
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath fill='none' stroke='%23718096' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='m2 5 6 6 6-6'/%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right 1rem center;
    background-size: 16px 12px;
}

textarea.form-control {
    resize: vertical;
    min-height: 120px;
}

/* Footer */
.footer {
    background: var(--dark);
    padding: 2rem 0;
}

.footer-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
    text-align: center;
}

.footer-brand .logo-icon {
    width: 40px;
    height: 40px;
    font-size: 1rem;
}

.footer-brand .logo-text {
    font-size: 1.125rem;
}

.footer-copyright p {
    color: var(--gray-500);
    margin: 0;
    font-size: 0.875rem;
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes float {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-10px);
    }
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0);
    }
    40% {
        transform: translateY(-10px);
    }
    60% {
        transform: translateY(-5px);
    }
}

/* Scroll Animations */
.animate-on-scroll {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.animate-on-scroll.animated {
    opacity: 1;
    transform: translateY(0);
}

/* Responsive */
@media (max-width: 991.98px) {
    .navbar-collapse {
        background: rgba(13, 27, 42, 0.98);
        margin-top: 1rem;
        padding: 1.5rem;
        border-radius: 16px;
        border: 1px solid rgba(255, 255, 255, 0.1);
    }
    
    .nav-cta {
        margin: 1rem 0 0 0;
        width: 100%;
        justify-content: center;
    }
    
    .hero-content {
        text-align: center;
        padding-top: 120px;
    }
    
    .hero-subtitle {
        margin-left: auto;
        margin-right: auto;
    }
    
    .hero-actions {
        justify-content: center;
    }
    
    .hero-scroll {
        display: none;
    }
    
    .about-images {
        height: 400px;
        margin-bottom: 3rem;
    }
    
    .about-content {
        padding-left: 0;
    }
    
    .contact-info {
        margin-bottom: 2rem;
    }
}

@media (max-width: 767.98px) {
    .section-tag {
        padding-left: 0;
    }
    
    .section-tag::before {
        display: none;
    }
    
    .hero {
        min-height: auto;
        padding: 120px 0 80px;
    }
    
    .hero .row {
        min-height: auto;
    }
    
    .about-images {
        height: 350px;
    }
    
    .about-image-main {
        width: 80%;
    }
    
    .about-image-secondary {
        width: 60%;
    }
    
    .about-experience {
        right: 0;
        padding: 1rem 1.5rem;
    }
    
    .exp-number {
        font-size: 2rem;
    }
    
    .about-features {
        flex-direction: column;
    }
    
    .service-card {
        padding: 1.5rem;
    }
    
    .contact-form-wrapper {
        padding: 1.5rem;
    }
    
    .footer-content {
        gap: 1rem;
    }
}

/* Toast Notification */
.toast-notification {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background: var(--dark);
    color: var(--white);
    padding: 1rem 1.5rem;
    border-radius: 12px;
    box-shadow: var(--shadow-xl);
    display: flex;
    align-items: center;
    gap: 0.75rem;
    z-index: 9999;
    transform: translateY(100px);
    opacity: 0;
    transition: var(--transition);
}

.toast-notification.show {
    transform: translateY(0);
    opacity: 1;
}

.toast-notification.success {
    border-left: 4px solid #48bb78;
}

.toast-notification i {
    font-size: 1.25rem;
    color: #48bb78;
}
