/* Light mode (default) */
:root {
  --primary: #2266c2;
  --primary-light: #3377d3;
  --primary-dark: #1a5099;

  --gold: #d4a373;            /* Based on your "correct light colors" */
  --gold-light: #deb088;
  --gold-dark: #ca965e;

  --terracotta: #f7d488;
  --terracotta-light: #f9dea6;
  --terracotta-dark: #f5ca6a;

  --white: #ffffff;

  --gray-50: #f9fafb;
  --gray-100: #f3f4f6;
  --gray-200: #e5e7eb;
  --gray-300: #d1d5db;
  --gray-400: #9ca3af;
  --gray-500: #6b7280;
  --gray-600: #4b5563;
  --gray-700: #374151;
  --gray-800: #1f2937;
  --gray-900: #111827;

  /* Background gradients */
  --bg-gradient: linear-gradient(135deg, var(--gray-50) 0%, var(--gray-100) 100%);
  --section-bg-gradient: linear-gradient(135deg, var(--gray-50) 0%, var(--gray-100) 100%);
  --title-gradient: linear-gradient(135deg, var(--gray-900) 0%, var(--primary-light) 100%);
  --button-gradient: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
  --button-hover-gradient: linear-gradient(135deg, var(--primary-light) 0%, var(--primary) 100%);
  --icon-gradient: linear-gradient(135deg, var(--gold) 0%, var(--gold-light) 100%);
}

/* Dark mode overrides */
[data-theme="dark"] {
  --bg-gradient: linear-gradient(135deg, var(--gray-900) 0%, var(--gray-800) 100%);
  --section-bg-gradient: linear-gradient(135deg, var(--gray-900) 0%, var(--gray-800) 100%);
  --title-gradient: linear-gradient(135deg, var(--white) 0%, var(--primary-light) 100%);
  --button-gradient: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
  --button-hover-gradient: linear-gradient(135deg, var(--primary-light) 0%, var(--primary) 100%);
  --icon-gradient: linear-gradient(135deg, var(--gold) 0%, var(--gold-light) 100%);
}





.why-choose-section {
    position: relative;
    padding: 120px 0;
    background: linear-gradient(135deg, var(--gray-50) 0%, var(--gray-100) 100%);
    overflow: hidden;
}

.why-choose-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 30%, rgba(34, 102, 194, 0.08) 0%, transparent 50%),
        radial-gradient(circle at 80% 70%, rgba(247, 212, 136, 0.05) 0%, transparent 50%);
    pointer-events: none;
}

.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 40px;
    position: relative;
    z-index: 2;
}

.section-header {
    text-align: center;
    margin-bottom: 80px;
    opacity: 0;
    animation: fadeInUp 1s ease-out 0.3s forwards;
}

.section-subtitle {
    font-size: 14px;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 20px;
    font-weight: 400;
}

.section-title {
    font-size: 48px;
    font-weight: 300;
    letter-spacing: -1px;
    margin-bottom: 50px;
    margin-top: 30px;
    background: var(--title-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.section-description {
    font-size: 18px;
    line-height: 1.6;
    color: var(--gray-300);
    max-width: 600px;
    margin: 0 auto;
    font-weight: 300;
}

.content-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
    margin-top: 60px;
}

.image-container {
    position: relative;
    opacity: 0;
    animation: fadeInLeft 1s ease-out 0.6s forwards;
}

.main-image {
    width: 100%;
    height: 600px;
    object-fit: cover;
    border-radius: 20px;
    box-shadow: 
        0 40px 80px rgba(17, 24, 39, 0.3),
        0 20px 40px rgba(34, 102, 194, 0.1);
    transition: transform 0.6s ease, box-shadow 0.6s ease;
}

.main-image:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 
        0 60px 120px rgba(17, 24, 39, 0.4),
        0 30px 60px rgba(34, 102, 194, 0.2);
}

.image-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, rgba(34, 102, 194, 0.1) 0%, transparent 50%);
    border-radius: 20px;
    opacity: 0;
    transition: opacity 0.6s ease;
}

.image-container:hover .image-overlay {
    opacity: 1;
}

.content-container {
    opacity: 0;
    animation: fadeInRight 1s ease-out 0.9s forwards;
}

.features-list {
    list-style: none;
    margin-bottom: 40px;
}

.feature-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 32px;
    padding: 18px;
    background: rgba(255, 255, 255, 0.02);
    border-radius: 16px;
    border: 1px solid rgba(34, 102, 194, 0.1);
    transition: all 0.4s ease;
    backdrop-filter: blur(10px);
}

.feature-item:hover {
    background: rgba(34, 102, 194, 0.05);
    border-color: rgba(34, 102, 194, 0.3);
    transform: translateX(10px);
    box-shadow: 0 20px 40px rgba(34, 102, 194, 0.1);
}

.feature-icon {
    width: 60px;
    height: 60px;
    background: var(--primary-dark);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 24px;
    margin-top: 30px;
    flex-shrink: 0;
    font-size: 24px;
    color: var(--gray-800);
    box-shadow: 0 10px 30px rgba(62, 162, 255, 0.411);
}

.feature-content h3 {
    font-size: 1.2rem;
    font-weight: 500;
    margin-bottom: 8px;
    color: var(--gray-900);
}

.feature-content p {
    font-size: 16px;
    line-height: 1.6;
    color: var(--gray-600);
    font-weight: 300;
}

.cta-button {
    display: inline-block;
    padding: 18px 40px;
    background: var(--button-gradient);
    color: var(--white);
    text-decoration: none;
    border-radius: 50px;
    font-weight: 500;
    font-size: 16px;
    letter-spacing: 1px;
    text-transform: uppercase;
    transition: all 0.4s ease;
    box-shadow: 0 15px 35px rgba(34, 102, 194, 0.3);
    
}

.cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 25px 50px rgba(34, 102, 194, 0.4);
    background: var(--button-hover-gradient);
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(40px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInLeft {
    from {
        opacity: 0;
        transform: translateX(-60px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(60px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Responsive Styles */
@media (max-width: 1024px) {
    .content-grid {
        grid-template-columns: 1fr;
        gap: 60px;
    }

    .section-title {
        font-size: 40px;
    }

    .container {
        padding: 0 20px;
    }
}

@media (max-width: 768px) {
    .why-choose-section {
        padding: 80px 0;
    }

    .section-title {
        font-size: 32px;
    }

    .main-image {
        height: 400px;
    }

    .feature-item {
        padding: 20px;
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .feature-icon {
        width: 50px;
        height: 50px;
        margin: 0 0 16px 0;
    }

    .feature-content h3 {
        font-size: 20px;
    }

    .feature-content p {
        font-size: 15px;
    }

    .cta-button {
        padding: 14px 30px;
        font-size: 14px;
    }
}

.dark-mode .why-choose-section{
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
}
.dark-mode .feature-content h3{
    color: var(--gray-100);
}
.dark-mode .feature-content p{
    color: var(--gray-50);
}