:root {
    --primary-color: #FFC107;
    --primary-dark: #FFA000;
    --primary-light: #FFECB3;
    --secondary-color: #2C3E50;
    --text-color: #333333;
    --light-color: #f8f9fa;
    --dark-color: #212529;
    --transition: all 0.3s ease;
}

/* General Styles */
body {
    font-family: 'Poppins', sans-serif;
    color: var(--text-color);
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
}

section {
    padding: 100px 0;
}

.btn {
    padding: 10px 24px;
    border-radius: 50px;
    font-weight: 600;
    transition: var(--transition);
}

.btn-primary {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    color: var(--dark-color);
}

.btn-primary:hover {
    background-color: var(--primary-dark);
    border-color: var(--primary-dark);
    color: var(--dark-color);
}

.btn-outline-primary {
    border-color: var(--primary-color);
    color: var(--primary-color);
}

.btn-outline-primary:hover {
    background-color: var(--primary-color);
    color: var(--dark-color);
}

.section-header {
    margin-bottom: 60px;
}

.section-header h2 {
    font-size: 36px;
    margin-bottom: 20px;
    position: relative;
    display: inline-block;
}

.section-header h2:after {
    content: '';
    position: absolute;
    width: 50px;
    height: 3px;
    background-color: var(--primary-color);
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
}

.highlight {
    color: var(--primary-color);
}

/* Navbar */
.navbar {
    padding: 15px 0;
    background-color: rgba(255, 255, 255, 0.97);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    transition: var(--transition);
}

.navbar-brand {
    font-weight: 800;
    font-size: 24px;
}

.logo-text {
    color: var(--secondary-color);
}

.logo-text span {
    color: var(--primary-color);
}

.nav-link {
    font-weight: 600;
    color: var(--text-color);
    margin: 0 5px;
    padding: 8px 15px;
    transition: var(--transition);
}

.nav-link:hover {
    color: var(--primary-color);
}

.btn-login, .btn-register, .btn-panel {
    margin-left: 10px;
    padding: 8px 20px;
}

.btn-login {
    background-color: transparent;
    border: 1px solid var(--primary-color);
    color: var(--primary-color);
}

.btn-login:hover {
    background-color: var(--primary-color);
    color: white;
}

.btn-register {
    background-color: var(--primary-color);
    border: 1px solid var(--primary-color);
    color: white;
}

.btn-register:hover {
    background-color: var(--primary-dark);
}

.btn-panel {
    background-color: var(--secondary-color);
    border: 1px solid var(--secondary-color);
    color: white;
}

.btn-panel:hover {
    background-color: #1a252f;
}

/* Side Panels */
.side-panel {
    position: fixed;
    top: 0;
    right: -400px;
    width: 350px;
    height: 100%;
    background-color: white;
    box-shadow: -2px 0 10px rgba(0, 0, 0, 0.1);
    z-index: 1050;
    transition: var(--transition);
    overflow-y: auto;
}

.side-panel.active {
    right: 0;
}

.panel-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    border-bottom: 1px solid #eee;
}

.panel-header h3 {
    margin: 0;
    color: var(--secondary-color);
}

.close-panel {
    background: none;
    border: none;
    font-size: 20px;
    cursor: pointer;
    color: #888;
    transition: var(--transition);
}

.close-panel:hover {
    color: var(--primary-color);
}

.panel-body {
    padding: 20px;
}

.overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 1040;
    display: none;
}

.overlay.active {
    display: block;
}

/* Hero Section */
.hero {
    padding-top: 150px;
    padding-bottom: 100px;
    background-color: #f9f9f9;
    position: relative;
    overflow: hidden;
}

.hero:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(255, 193, 7, 0.1) 0%, rgba(255, 255, 255, 0) 100%);
}

.hero h1 {
    font-size: 48px;
    margin-bottom: 20px;
    line-height: 1.2;
}

.hero p {
    font-size: 18px;
    margin-bottom: 30px;
    color: #666;
}

.hero-buttons {
    margin-bottom: 30px;
}

.hero-image {
    border-radius: 10px;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

/* Features Section */
.features {
    background-color: white;
}

.feature-box {
    text-align: center;
    padding: 30px;
    margin-bottom: 30px;
    border-radius: 10px;
    transition: var(--transition);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.feature-box:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.feature-icon {
    font-size: 40px;
    margin-bottom: 20px;
    color: var(--primary-color);
    width: 80px;
    height: 80px;
    line-height: 80px;
    background-color: var(--primary-light);
    border-radius: 50%;
    margin: 0 auto 20px;
}

.feature-box h3 {
    font-size: 20px;
    margin-bottom: 15px;
}

.feature-box p {
    color: #666;
}

/* Pricing Section */
.pricing {
    background-color: #f9f9f9;
}

.pricing-box {
    background-color: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: var(--transition);
    margin-bottom: 30px;
    position: relative;
}

.pricing-box:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.pricing-box.featured {
    border: 2px solid var(--primary-color);
    transform: scale(1.05);
}

.pricing-box.featured:hover {
    transform: scale(1.05) translateY(-10px);
}

.popular-badge {
    position: absolute;
    top: 0;
    right: 0;
    background-color: var(--primary-color);
    color: white;
    padding: 5px 15px;
    font-size: 12px;
    font-weight: 600;
    border-radius: 0 0 0 10px;
}

.pricing-header {
    text-align: center;
    padding: 30px;
    background-color: #f8f9fa;
    border-bottom: 1px solid #eee;
}

.pricing-header h3 {
    margin-bottom: 20px;
    font-size: 24px;
}

.price {
    font-size: 20px;
}

.currency {
    font-size: 24px;
    font-weight: 600;
    vertical-align: top;
}

.amount {
    font-size: 48px;
    font-weight: 700;
}

.period {
    font-size: 16px;
    color: #888;
}

.pricing-features {
    padding: 30px;
}

.pricing-features ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.pricing-features li {
    padding: 10px 0;
    border-bottom: 1px solid #eee;
}

.pricing-features li:last-child {
    border-bottom: none;
}

.pricing-features i {
    margin-right: 10px;
    color: var(--primary-color);
}

.pricing-features .disabled {
    color: #aaa;
}

.pricing-features .disabled i {
    color: #ddd;
}

.pricing-footer {
    text-align: center;
    padding: 20px 30px 30px;
}

/* Contact Section */
.contact {
    background-color: white;
}

.contact-info {
    margin-bottom: 30px;
}

.contact-item {
    display: flex;
    margin-bottom: 30px;
}

.contact-item i {
    font-size: 24px;
    color: var(--primary-color);
    width: 50px;
    height: 50px;
    background-color: var(--primary-light);
    border-radius: 50%;
    text-align: center;
    line-height: 50px;
    margin-right: 20px;
}

.contact-item h3 {
    font-size: 18px;
    margin-bottom: 5px;
}

.contact-item p {
    color: #666;
    margin-bottom: 0;
}

.contact-form .form-control {
    border-radius: 5px;
    padding: 12px 15px;
    margin-bottom: 20px;
}

/* Footer */
.footer {
    background-color: var(--secondary-color);
    color: white;
    padding: 70px 0 20px;
}

.footer h3 {
    font-size: 22px;
    margin-bottom: 25px;
    color: white;
}

.footer-about p {
    margin-bottom: 30px;
    color: #ddd;
}

.footer-about h3 span {
    color: var(--primary-color);
}

.footer-links ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 15px;
}

.footer-links a {
    color: #ddd;
    text-decoration: none;
    transition: var(--transition);
}

.footer-links a:hover {
    color: var(--primary-color);
    padding-left: 5px;
}

.social-icons {
    display: flex;
}

.social-icons a {
    width: 40px;
    height: 40px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    margin-right: 10px;
    transition: var(--transition);
}

.social-icons a:hover {
    background-color: var(--primary-color);
    color: var(--secondary-color);
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    margin-top: 50px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

/* Password Toggle Button */
.password-container .input-group .btn {
    z-index: 0;
}

.toggle-password {
    cursor: pointer;
}

.toggle-password:focus {
    box-shadow: none;
}

/* Form Styles */
.form-text {
    font-size: 12px;
}

.forgot-password {
    font-size: 14px;
    color: var(--primary-color);
    text-decoration: none;
}

.forgot-password:hover {
    text-decoration: underline;
}

/* Notification Styles */
.notification-container {
    position: fixed;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 9999;
    width: 350px;
    max-width: 90%;
}

.notification {
    padding: 15px 20px;
    border-radius: 5px;
    margin-bottom: 10px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    display: flex;
    align-items: center;
    justify-content: space-between;
    animation: slideDown 0.3s ease-out forwards;
    opacity: 0;
    transform: translateY(-20px);
}

.notification .notification-close {
    background: none;
    border: none;
    color: inherit;
    opacity: 0.7;
    cursor: pointer;
    font-size: 16px;
}

.notification .notification-close:hover {
    opacity: 1;
}

.notification.success {
    background-color: #d4edda;
    color: #155724;
    border-left: 4px solid #28a745;
}

.notification.error {
    background-color: #f8d7da;
    color: #721c24;
    border-left: 4px solid #dc3545;
}

.notification.warning {
    background-color: #fff3cd;
    color: #856404;
    border-left: 4px solid #ffc107;
}

.notification.info {
    background-color: #d1ecf1;
    color: #0c5460;
    border-left: 4px solid #17a2b8;
}

.notification-icon {
    margin-right: 10px;
    font-size: 20px;
}

.notification-content {
    flex-grow: 1;
}

@keyframes slideDown {
    0% {
        opacity: 0;
        transform: translateY(-20px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideUp {
    0% {
        opacity: 1;
        transform: translateY(0);
    }
    100% {
        opacity: 0;
        transform: translateY(-20px);
    }
}

.notification.hide {
    animation: slideUp 0.3s ease-out forwards;
}

/* Dashboard specific styles */
.dashboard-container {
    padding: 30px;
    background-color: #f5f5f5;
    min-height: calc(100vh - 90px);
    margin-top: 90px;
}

.dashboard-card {
    background-color: white;
    border-radius: 10px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    padding: 25px;
    margin-bottom: 25px;
    transition: all 0.3s ease;
}

.dashboard-card:hover {
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
    transform: translateY(-5px);
}

.dashboard-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
}

.dashboard-header h1 {
    margin: 0;
    color: var(--secondary-color);
}

.dashboard-stats {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 20px;
}

.stat-card {
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.05);
    background-color: white;
    text-align: center;
}

.stat-card i {
    font-size: 30px;
    color: var(--primary-color);
    margin-bottom: 10px;
}

.stat-card h3 {
    font-size: 24px;
    margin: 10px 0;
}

.stat-card p {
    color: #777;
    margin-bottom: 0;
}

/* Animation Container */
.animation-container {
    width: 100%;
    height: 180px;
    margin-bottom: 20px;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden; /* Prevent animation overflow */
    position: relative; /* For proper positioning */
}

.animation-container svg,
.animation-container lottie-player {
    width: 100% !important;
    height: 100% !important;
    display: block;
}

/* Ensure lottie animations are centered */
.animation-container div {
    width: 100%;
    height: 100%;
}

/* Side panel adjustments to ensure proper animation display */
.side-panel .panel-body {
    overflow-x: hidden;
}

/* Phone Number Input Styles */
input[type="tel"] {
    letter-spacing: 1px;
}

/* Step Forms */
.step-form {
    display: none;
}

.step-form.active-step {
    display: block;
}

/* Verification Code Input */
.verification-code-container {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin: 20px 0;
}

.verification-input {
    width: 45px;
    height: 55px;
    text-align: center;
    font-size: 24px;
    font-weight: bold;
    border: 2px solid #ddd;
    border-radius: 8px;
    background-color: #f8f9fa;
    transition: all 0.3s ease;
}

.verification-input:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.2rem rgba(255, 193, 7, 0.25);
    background-color: white;
}

/* Countdown Timer */
#countdownTimer {
    margin-top: 5px;
    font-size: 14px;
}

/* Reset Email Display */
#resetEmail {
    color: var(--primary-color);
}

/* Responsive Styles */
@media (max-width: 991px) {
    .navbar-nav {
        margin-top: 15px;
    }
    
    .btn-login, .btn-register, .btn-panel {
        margin: 5px 0;
        width: 100%;
    }
    
    .hero h1 {
        font-size: 36px;
    }
    
    .hero-image {
        margin-top: 50px;
    }
}

@media (max-width: 767px) {
    section {
        padding: 70px 0;
    }
    
    .section-header h2 {
        font-size: 30px;
    }
    
    .side-panel {
        width: 300px;
    }
    
    .pricing-box.featured {
        transform: scale(1);
    }
    
    .pricing-box.featured:hover {
        transform: translateY(-10px);
    }
}
