/* ===================================
   Modern Light & Bright Theme Styles
   =================================== */

/* Root Variables for Consistent Theme */
:root {
    --primary-gradient: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    --secondary-gradient: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
    --accent-gradient: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
    --success-gradient: linear-gradient(135deg, #43e97b 0%, #38f9d7 100%);
    --light-bg: #ffffff;
    --soft-bg: #f8f9fc;
    --card-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
    --card-shadow-hover: 0 15px 50px rgba(0, 0, 0, 0.12);
    --border-radius-lg: 20px;
    --border-radius-md: 15px;
    --transition-smooth: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Global Body Enhancements */
body {
    background-color: var(--soft-bg);
    color: #2d3748;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif !important;
    font-weight: 400;
    line-height: 1.7;
}

/* Typography Overrides */
h1, h2, h3, h4, h5, h6 {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif !important;
}

/* Section Styling - Bright & Modern - REDUCED PADDING */
.section {
    padding: 50px 0 !important;
    position: relative;
    overflow: hidden;
}

.section.bg-light {
    background: linear-gradient(180deg, #ffffff 0%, #f8f9fc 100%) !important;
    border-bottom: 1px solid rgba(102, 126, 234, 0.1);
}

.section.bg-color-grey {
    background: #ffffff !important;
    border-bottom: 1px solid #e2e8f0;
}

.section:nth-child(even) {
    background: linear-gradient(180deg, #fafbff 0%, #ffffff 100%) !important;
}

/* Greeting Section - Hero Style - REDUCED PADDING */
.section:first-of-type {
    padding: 70px 0 50px !important;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%) !important;
    color: white;
    position: relative;
}

.section:first-of-type::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg width="100" height="100" xmlns="http://www.w3.org/2000/svg"><circle cx="50" cy="50" r="2" fill="white" opacity="0.1"/></svg>');
    opacity: 0.3;
}

.section:first-of-type .container {
    position: relative;
    z-index: 1;
}

.section:first-of-type h2 {
    color: white !important;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    font-weight: 700 !important;
    font-size: 2.2rem !important;
    margin-bottom: 1.2rem;
}

.section:first-of-type .lead {
    color: rgba(255, 255, 255, 0.95) !important;
    font-size: 1.1rem;
    line-height: 1.8;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

/* FIX: Keywords in hero - use background highlight instead of gradient */
.section:first-of-type .lead strong {
    color: white !important;
    font-weight: 700;
    background: rgba(255, 255, 255, 0.25);
    padding: 2px 8px;
    border-radius: 4px;
    white-space: nowrap;
}

.section:first-of-type i {
    color: white !important;
    filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.15));
}

/* Service Sections - Modern Card Style - REDUCED PADDING */
.section:not(:first-of-type) .container {
    background: white;
    padding: 40px;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--card-shadow);
    transition: var(--transition-smooth);
    border: 1px solid rgba(102, 126, 234, 0.08);
}

.section:not(:first-of-type) .container:hover {
    box-shadow: var(--card-shadow-hover);
    transform: translateY(-5px);
}

/* Service Content Styling */
.section h4 {
    color: #1a202c;
    font-weight: 700;
    font-size: 1.6rem;
    margin-bottom: 1.2rem;
    padding-bottom: 0.6rem;
    border-bottom: 3px solid;
    border-image: linear-gradient(90deg, #667eea, #764ba2) 1;
    display: inline-block;
}

.section p {
    color: #4a5568;
    font-size: 1rem;
    line-height: 1.7;
    margin-bottom: 1rem;
}

.section ul {
    list-style: none;
    padding-left: 0;
}

.section ul li {
    padding: 0.6rem 0;
    padding-left: 2rem;
    position: relative;
    color: #4a5568;
    font-size: 1rem;
}

.section ul li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: #667eea;
    font-weight: bold;
    font-size: 1.2rem;
    background: linear-gradient(135deg, #667eea, #764ba2);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.section strong {
    color: #2d3748;
    font-weight: 600;
    background: linear-gradient(135deg, #667eea, #764ba2);
    -webkit-background-clip: text;
    background-clip: text;
}

/* Image Styling - Modern with Effects */
.section img {
    border-radius: var(--border-radius-md);
    box-shadow: 0 20px 60px rgba(102, 126, 234, 0.2);
    transition: var(--transition-smooth);
    border: 5px solid white;
    box-shadow: 
        0 20px 60px rgba(102, 126, 234, 0.15),
        0 0 0 1px rgba(102, 126, 234, 0.1);
}

.section img:hover {
    transform: scale(1.05) rotate(2deg);
    box-shadow: 
        0 25px 70px rgba(102, 126, 234, 0.25),
        0 0 0 1px rgba(102, 126, 234, 0.15);
}

/* Icon Styling */
.feature-icon {
    flex: 0 0 70px;
}

.feature-icon > i {
    font-size: 50px;
    background: var(--primary-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    filter: drop-shadow(0 2px 4px rgba(102, 126, 234, 0.2));
}

/* Package Cards - Enhanced */
.package-card .card {
    border: none;
    border-radius: var(--border-radius-md);
    overflow: visible;
    box-shadow: var(--card-shadow);
    position: relative;
    transition: var(--transition-smooth);
    background: white;
    border: 2px solid rgba(102, 126, 234, 0.1);
}

.package-card .card:hover {
    box-shadow: var(--card-shadow-hover);
    transform: translateY(-8px);
    border-color: rgba(102, 126, 234, 0.3);
}

.package-card .card-header {
    background: var(--primary-gradient);
    color: white;
    font-weight: 700;
    font-size: 1.25rem;
    text-align: center;
    padding: 25px;
    border-radius: var(--border-radius-md) var(--border-radius-md) 0 0;
    position: relative;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.3);
}

.package-card .badge-popular {
    background: var(--success-gradient);
    color: white;
    font-size: 1.8em;
    font-weight: bold;
    padding: 5px 10px;
    position: absolute;
    top: -21px;
    right: -17px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    box-shadow: 0 8px 20px rgba(67, 233, 123, 0.4);
    z-index: 10;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.1); }
}

.package-card .badge-popular::after {
    content: "\1F44D";
    font-size: 1.2em;
}

.package-card .card-body {
    text-align: center;
    padding: 30px;
}

.package-card .card-body p {
    margin-bottom: 15px;
    color: #4a5568;
}

.package-card .card-body h3 {
    font-size: 2.5em;
    font-weight: 700;
    background: var(--primary-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.package-card .card-body table {
    width: 100%;
    margin-top: 25px;
    border-collapse: separate;
    border-spacing: 0;
    border-radius: var(--border-radius-md);
    overflow: hidden;
}

.package-card .card-body table th, 
.package-card .card-body table td {
    padding: 15px;
    border: none;
    border-bottom: 1px solid #e2e8f0;
}

.package-card .card-body table th {
    background: linear-gradient(135deg, #f8f9fc 0%, #e9ecef 100%);
    font-weight: 700;
    color: #2d3748;
}

.package-card .card-body table tr:last-child td {
    border-bottom: none;
}

.package-card .link-btn {
    border: none;
    padding: 15px 35px;
    font-size: 1.05em;
    font-weight: 600;
    border-radius: 50px;
    background: var(--primary-gradient);
    color: white;
    box-shadow: 0 8px 20px rgba(102, 126, 234, 0.3);
    transition: var(--transition-smooth);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.package-card .link-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 30px rgba(102, 126, 234, 0.4);
}

/* Responsive Spacing - REDUCED */
@media (max-width: 768px) {
    .section {
        padding: 35px 0 !important;
    }
    
    .section:not(:first-of-type) .container {
        padding: 25px 20px;
    }
    
    .section:first-of-type {
        padding: 50px 0 35px !important;
    }
    
    .section:first-of-type h2 {
        font-size: 1.6rem !important;
    }
    
    .section h4 {
        font-size: 1.3rem;
    }
}

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

.section > .container {
    animation: fadeInUp 0.6s ease-out;
}
