
/* Smooth Scrolling */
html {
    scroll-behavior: smooth;
    background: #d9d9d9;
}
/* DEFAULT========================================= */
body{
    max-width: 1500px;
    margin: auto!important;
}
.text-primary{
    color: var(--primary);
}
.bg-primary{
    background-color: var(--primary)!important;
}
.primary-outline-btn:hover{
    color: var(--primary)!important;
}
/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
    background: #888;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: #555;
}

:root {
    --primary: #131D4F;
    --primary: #1e364b;
    --primary:linear-gradient(135deg, #059669 0%, #047857 100%);
    --primary:rgb(22 163 74 /1);
    --primary:linear-gradient(135deg, #059669 0%, #047857 100%);


    --primary:rgb(5 150 105 / 1);
    --primary:rgb(71 85 105 / 1);
    --primary:rgb(2 132 199 / 1);
    --primary:rgb(22 163 74 / 1);

    --primary-hover:#0a8a65;

    --primary-light: #6A86B2;
    --primary-dark: #3A4B72;
    --secondary: #31572c;
    --secondary-hover: #90a955;


    --secondary-light: #8AA0D2;
    --secondary-dark: #5A6C92;
    --success: #28a745;
    --error: #dc3545;
    --warning: #ffc107;
    --info: #17a2b8;
    --onyx: #333333;
    --salmon-pink: #ff6f61;
}
  .bg-primary { background-color: var(--primary)!important; }
  .text-primary { color: var(--primary)!important; }
  .border-primary { border-color: var(--primary)!important; }
  .hover\:bg-primary:hover { background-color: var(--primary)!important;}

  .btn-outline-primary{
    border-color: var(--primary)!important;
  }
  .btn-outline-primary:hover{
    background-color: var(--primary)!important;
    color: #fff!important;
  }
  .btn-primary{
    background-color: var(--primary)!important;
    color: #fff!important;
    border-color: var(--primary)!important;
  }
  .custom-btn {
    padding: 7px 22px;
    border-radius: 6px;
    border: 2px solid;
}
.form-input:focus {
    border-color: var(--primary)!important;
    /* box-shadow: 0 0 0 1px rgba(74, 100, 146, 0.5)!important; */
}
.hero {
    background: linear-gradient(rgba(30, 60, 114, 0.8), rgba(0, 10, 28, 0.8)), url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1200 600"><rect fill="%23f0f0f0" width="1200" height="600"/><path fill="%23ddd" d="M0,300L50,275C100,250,200,200,300,225C400,250,500,350,600,350C700,350,800,250,900,225C1000,200,1100,250,1150,275L1200,300V600H0Z"/></svg>');
    background: var(--primary);
    background-size: cover;
    background-position: center;
    color: white;
    text-align: center;
    padding: 4rem 0;
    min-height: 50vh;
    display: flex;
    align-items: center;
}
.gradient-bg {
  background-image: linear-gradient(to right, var(--primary), #6A86B2);
}
.hover-primary:hover {
    color: var(--primary)!important;
}

/* Custom Animations */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes slideUp {
    from { opacity: 0; transform: translateY(40px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes slideIn {
    from { opacity: 0; transform: translateX(-20px); }
    to { opacity: 1; transform: translateX(0); }
}

.animate-fade-in {
    animation: fadeIn 0.8s ease-out;
}

.animate-slide-up {
    animation: slideUp 0.8s ease-out 0.2s both;
}

.animate-slide-in {
    animation: slideIn 0.6s ease-out;
}

/* Navigation Styles */
.nav-link {
    position: relative;
    padding: 0.5rem 0;
    transition: all 0.3s ease;
}

.nav-link:hover {
    transform: translateY(-1px);
}

/* Pricing Cards */
.pricing-card {
    transition: all 0.3s ease;
}

.pricing-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
}

/* Article Cards */
.article-card {
    background: white;
    border-radius: 6px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0,0,0,0.12);
    transition: all 0.3s ease;
    cursor: pointer;
}

.article-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 32px rgba(0,0,0,0.18);
}

/* Carousel Styles */
.carousel-container {
    position: relative;
    width: 100%;
    height: 200px;
    overflow: hidden;
    border-radius: 4px;
}

.carousel-track {
    display: flex;
    transition: transform 0.5s ease;
    height: 100%;
}

.carousel-slide {
    min-width: 100%;
    height: 100%;
}

.carousel-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0,0,0,0.5);
    color: white;
    border: none;
    padding: 8px 12px;
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 10;
}

.carousel-btn:hover {
    background: rgba(0,0,0,0.8);
    transform: translateY(-50%) scale(1.1);
}

.carousel-btn.prev {
    left: 10px;
}

.carousel-btn.next {
    right: 10px;
}

.carousel-indicators {
    position: absolute;
    bottom: 10px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 8px;
    z-index: 10;
}

.carousel-indicator {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(255,255,255,0.5);
    cursor: pointer;
    transition: all 0.3s ease;
}

.carousel-indicator.active {
    background: white;
    transform: scale(1.2);
}

/* Form Styles */
.form-group {
    margin-bottom: 1.5rem;
}

.form-input {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid #e5e7eb;
    border-radius: 8px;
    font-size: 16px;
    transition: all 0.3s ease;
}

.form-input:focus {
    outline: none;
    border-color: #3b82f6;
    /* box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1); */
}

.form-label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: #374151;
}

/* Button Styles */
.btn {
    padding: 12px 24px;
    border-radius: 8px;
    font-weight: 600;
    text-align: center;
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
}

.btn-primary {
    background: #3b82f6;
    color: white;
}

.btn-primary:hover {
    background: #2563eb;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(59, 130, 246, 0.3);
}

.btn-secondary {
    background: var(--secondary);
    color: white;
}

.btn-secondary:hover {
    background: var(--secondary-hover);
    transform: translateY(-2px);
}

.btn-success {
    background: #10b981;
    color: white;
}

.btn-success:hover {
    background: #059669;
    transform: translateY(-2px);
}

/* Upload Area */
.upload-area {
    border: 2px dashed #d1d5db;
    border-radius: 12px;
    padding: 3rem 2rem;
    text-align: center;
    background: #f9fafb;
    transition: all 0.3s ease;
    cursor: pointer;
}

.upload-area:hover {
    border-color: #3b82f6;
    background: #eff6ff;
}

.upload-area.dragover {
    border-color: #3b82f6;
    background: #dbeafe;
    transform: scale(1.02);
}

/* Loading Animation */
.loading {
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 3px solid rgba(255,255,255,.3);
    border-radius: 50%;
    border-top-color: #fff;
    animation: spin 1s ease-in-out infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .article-card {
        margin-bottom: 1.5rem;
    }
    
    .carousel-btn {
        padding: 6px 10px;
    }
    
    .pricing-card {
        margin-bottom: 1rem;
    }
}
