:root {
    --rec-orange: #FF8C00;
    --rec-orange-light: #FFA500;
    --rec-orange-gradient-start: #FF8C00;
    --rec-orange-gradient-end: #FFDAB9;
    --rec-white: #FFFFFF;
    --rec-green: #198754;
    --rec-red: #DC3545;
    --rec-blue: #0D6EFD;
    --rec-dark: #212529;
    --rec-text-dark: #333333;
    --rec-text-muted: #6c757d;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    color: var(--rec-text-dark);
    line-height: 1.6;
    overflow-x: hidden;
}

/* Enhanced Loader */
#loader {
    position: fixed;
    z-index: 9999;
    background: linear-gradient(135deg, var(--rec-orange-gradient-start) 0%, var(--rec-white) 100%);
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    transition: opacity 0.5s ease, visibility 0.5s ease;
}

#loader.loaded {
    opacity: 0;
    visibility: hidden;
}

.loader-content {
    text-align: center;
}

.loader-spinner {
    width: 60px;
    height: 60px;
    border: 4px solid rgba(255, 255, 255, 0.3);
    border-top-color: var(--rec-orange);
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin: 0 auto 20px;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

.loader-text {
    color: var(--rec-white);
    font-size: 1.25rem;
    font-weight: 600;
    text-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.loader-brand {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 10px;
}

.loader-brand .veri {
    color: var(--rec-white);
}

.loader-brand .trust {
    color: var(--rec-orange);
}

/* Navigation */
.navbar {
    background: linear-gradient(135deg, var(--rec-orange) 0%, var(--rec-orange-light) 100%) !important;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
}

.navbar-toggler {
    border-color: rgba(255,255,255,0.5);
    padding: 0.25rem 0.5rem;
    transition: all 0.3s ease;
}

.navbar-toggler:focus {
    box-shadow: 0 0 0 0.25rem rgba(255,255,255,0.25);
}

.navbar-toggler:hover {
    border-color: rgba(255,255,255,0.8);
}

.navbar-toggler {
    position: relative;
}

.navbar-toggler[aria-expanded="true"] .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, 1%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M6 18L18 6M6 6l12 12'/%3e%3c/svg%3e");
    transition: transform 0.3s ease, background-image 0.3s ease;
}

.navbar.scrolled .navbar-toggler[aria-expanded="true"] .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%2833, 37, 41, 0.75%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M6 18L18 6M6 6l12 12'/%3e%3c/svg%3e");
}

.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, 1%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

.navbar.scrolled .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%2833, 37, 41, 0.75%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

.navbar.scrolled .navbar-toggler {
    border-color: rgba(0,0,0,0.1);
}

.navbar.scrolled {
    background: rgba(255, 255, 255, 0.98) !important;
    backdrop-filter: blur(10px);
}

.navbar.scrolled .nav-link {
    color: var(--rec-text-dark);
}

.navbar.scrolled .nav-link:hover {
    color: var(--rec-orange);
}

.navbar .nav-link {
    color: var(--rec-white);
    font-weight: 500;
}

.navbar-brand {
    font-size: 1.75rem;
    font-weight: 700;
    text-decoration: none;
    transition: transform 0.3s ease;
}

.navbar-brand:hover {
    transform: scale(1.05);
}

.navbar-brand .veri-logo {
    color: var(--rec-white);
    font-weight: 800;
    text-shadow: 0 2px 8px rgba(0,0,0,0.3);
}

.navbar-brand .trust-logo {
    color: var(--rec-white);
    font-weight: 700;
    text-shadow: 0 2px 4px rgba(0,0,0,0.2);
}

.navbar.scrolled .navbar-brand .veri-logo {
    color: var(--rec-orange);
    text-shadow: none;
}

.navbar.scrolled .navbar-brand .trust-logo {
    color: var(--rec-text-dark);
    text-shadow: none;
}

.navbar-nav .nav-link {
    font-weight: 500;
    margin: 0 10px;
    transition: color 0.3s ease;
    position: relative;
}

.navbar-nav .nav-link:hover {
    color: var(--rec-white) !important;
}

.navbar-nav .nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 2px;
    background: var(--rec-white);
    transition: width 0.3s ease;
}

.navbar-nav .nav-link:hover::after {
    width: 80%;
}

.navbar.scrolled .nav-link::after {
    background: var(--rec-orange);
}

.enquiry-btn {
    background: var(--rec-orange) !important;
    border: none;
    color: var(--rec-white) !important;
    transition: all 0.3s ease;
}

.enquiry-btn:hover {
    background: var(--rec-orange-light) !important;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(255, 140, 0, 0.4);
}

/* Hero Section */
.hero-section {
    background: linear-gradient(135deg, var(--rec-orange-gradient-start) 0%, var(--rec-orange-gradient-end) 50%, var(--rec-white) 100%);
    min-height: 90vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 50%;
    height: 100%;
    background: linear-gradient(135deg, rgba(255, 140, 0, 0.1) 0%, transparent 100%);
    z-index: 0;
}

.hero-section .container {
    position: relative;
    z-index: 1;
}

.hero-section h1 {
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 1.5rem;
    color: var(--rec-text-dark);
}

.hero-section h1 .highlight {
    color: var(--rec-orange);
}

.hero-section .lead {
    font-size: 1.25rem;
    color: var(--rec-text-dark);
    margin-bottom: 2rem;
    font-weight: 400;
}

.hero-section .btn-primary {
    background: var(--rec-orange);
    border: none;
    padding: 0.75rem 2.5rem;
    font-size: 1.1rem;
    font-weight: 600;
    transition: all 0.3s ease;
}

.hero-section .btn-primary:hover {
    background: var(--rec-orange-light);
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(255, 140, 0, 0.4);
}

.hero-section img {
    transition: transform 0.3s ease;
    max-width: 100%;
}

.hero-section img:hover {
    transform: scale(1.02);
}

/* Feature Sections */
.feature-section {
    padding: 100px 0;
    position: relative;
}

.feature-section:nth-child(even) {
    background: #f8f9fa;
}

.feature-section h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--rec-text-dark);
}

.feature-section h3 {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: var(--rec-text-dark);
}

.feature-section .section-subtitle {
    font-size: 1.1rem;
    color: var(--rec-text-muted);
    margin-bottom: 3rem;
}

.feature-image {
    transition: transform 0.3s ease;
    width: 100%;
    height: auto;
    display: block;
}

.feature-image:hover {
    transform: translateY(-5px);
}

.feature-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.feature-list {
    list-style: none;
    padding: 0;
}

.feature-list li {
    padding: 1rem 0;
    padding-left: 2.5rem;
    position: relative;
    font-size: 1.1rem;
    color: var(--rec-text-dark);
}

.feature-list li::before {
    content: '\f00c';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    position: absolute;
    left: 0;
    color: var(--rec-green);
    font-size: 1.2rem;
}

.feature-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid #eee;
    height: 100%;
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 1rem 3rem rgba(0,0,0,.175) !important;
}

.feature-icon {
    font-size: 3rem;
    margin-bottom: 1.5rem;
    color: var(--rec-orange);
}

.divider {
    height: 4px;
    width: 60px;
    background: var(--rec-orange);
    margin: 1rem auto;
    border-radius: 2px;
}

/* Section Headings */
.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 1rem;
    color: var(--rec-text-dark);
}

.section-description {
    text-align: center;
    font-size: 1.1rem;
    color: var(--rec-text-muted);
    max-width: 800px;
    margin: 0 auto 4rem;
}

/* Footer */
footer {
    background: var(--rec-dark) !important;
    color: var(--rec-white);
    padding: 4rem 0 2rem;
}

footer h3 {
    color: var(--rec-white);
    margin-bottom: 1.5rem;
}

footer h5 {
    color: var(--rec-white);
    margin-bottom: 1.5rem;
    font-weight: 700;
}

footer a {
    color: var(--rec-white);
    text-decoration: none;
    transition: color 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

footer a:hover {
    color: var(--rec-orange);
}

footer ul {
    margin: 0;
    padding: 0;
}

footer ul li {
    margin-bottom: 0.75rem;
}

footer .social-links {
    margin: 2rem 0;
    display: flex;
    justify-content: flex-start;
    gap: 0.75rem;
}

footer .social-links a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 45px;
    height: 45px;
    background: rgba(255,255,255,0.1);
    border-radius: 50%;
    text-align: center;
    transition: all 0.3s ease;
}

footer .social-links a:hover {
    background: var(--rec-orange);
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(255, 140, 0, 0.3);
}

/* Mobile Footer Centering */
@media (max-width: 991.98px) {
    footer .col-lg-4 {
        text-align: center;
        margin-bottom: 2.5rem;
    }
    
    footer h3,
    footer h5 {
        text-align: center;
    }
    
    footer ul {
        display: inline-block;
        text-align: center;
    }
    
    footer ul li {
        text-align: center;
    }
    
    footer .social-links {
        justify-content: center;
    }
    
    footer p {
        text-align: center;
    }
    
    footer .text-center {
        text-align: center !important;
    }
}

@media (max-width: 575.98px) {
    footer {
        padding: 3rem 0 1.5rem;
    }
    
    footer .col-lg-4 {
        margin-bottom: 2rem;
    }
    
    footer h3 {
        font-size: 1.5rem;
    }
    
    footer h5 {
        font-size: 1.1rem;
    }
}

/* Smooth Scroll */
html {
    scroll-behavior: smooth;
}

/* Animations */
.animate-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.animate-on-scroll.animated {
    opacity: 1;
    transform: translateY(0);
}

/* Enhanced Form Styling */
.swal2-popup.enquiry-popup {
    border-radius: 24px;
    padding: 2.5rem;
    max-width: 650px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

@media (max-width: 600px) {
    .swal2-popup.enquiry-popup {
        width: 95% !important;
        padding: 1.75rem 1.5rem;
        margin: 1rem;
    }
}

.swal2-popup .swal2-title {
    margin-bottom: 2rem;
    font-size: 2rem;
    text-align: center;
    padding-bottom: 1.25rem;
    border-bottom: 2px solid #f0f0f0;
    width: 100%;
}

.swal2-popup .swal2-title div {
    display: block;
    width: 100%;
}

.swal2-html-container {
    padding: 0;
    margin: 0;
}

.swal2-input,
.swal2-textarea {
    border-radius: 12px;
    border: 2px solid #e0e0e0;
    padding: 0.875rem 1.25rem;
    font-size: 1rem;
    transition: all 0.3s ease;
    margin: 0;
    margin-top: 0.5rem;
    width: 100%;
    font-family: inherit;
    background: #fafafa;
}

.swal2-input:hover,
.swal2-textarea:hover {
    border-color: #d0d0d0;
    background: #ffffff;
}

.swal2-input:focus,
.swal2-textarea:focus {
    border-color: var(--rec-orange);
    box-shadow: 0 0 0 4px rgba(255, 140, 0, 0.1);
    outline: none;
    background: #ffffff;
}

.swal2-textarea {
    min-height: 130px;
    resize: vertical;
    line-height: 1.6;
}

.swal2-actions {
    margin-top: 2rem;
    gap: 1rem;
    justify-content: center;
}

.swal2-confirm {
    border-radius: 50px;
    padding: 0.875rem 2.5rem;
    font-weight: 600;
    font-size: 1rem;
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.3);
    transition: all 0.3s ease;
}

.swal2-confirm:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.4);
}

.swal2-cancel {
    border-radius: 50px;
    padding: 0.875rem 2.5rem;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.swal2-cancel:hover {
    transform: translateY(-2px);
}

.swal2-confirm-enhanced {
    background: #25D366 !important;
    border: none !important;
}

.swal2-confirm-enhanced:hover {
    background: #128C7E !important;
}

.swal2-validation-message {
    background: #fff3cd;
    color: #856404;
    border-radius: 12px;
    padding: 1rem;
    margin-top: 1rem;
    border-left: 4px solid #ffc107;
    text-align: left;
}

/* Form Label Enhancement */
.enquiry-form-label {
    display: block;
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 0.75rem;
    font-size: 1rem;
    text-align: left;
    letter-spacing: 0.01em;
}

.enquiry-form-label i {
    margin-right: 0.5rem;
    font-size: 1.1rem;
}

.enquiry-form-field-wrapper {
    margin-bottom: 1.75rem;
    text-align: left;
}

.enquiry-form-field-wrapper:last-of-type {
    margin-bottom: 1.25rem;
}

.enquiry-form-info-text {
    font-size: 0.875rem;
    color: #6c757d;
    text-align: left;
    margin-top: 0.5rem;
    margin-bottom: 0;
    padding: 0.875rem 1rem;
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
    border-radius: 10px;
    border-left: 4px solid var(--rec-orange);
    line-height: 1.5;
}

.enquiry-form-info-text i {
    margin-right: 0.5rem;
    color: var(--rec-orange);
    font-size: 1rem;
}

@media (max-width: 600px) {
    .swal2-popup .swal2-title {
        font-size: 1.5rem;
        margin-bottom: 1.5rem;
        padding-bottom: 0.75rem;
    }
    
    .enquiry-form-label {
        font-size: 0.9rem;
        margin-bottom: 0.5rem;
    }
    
    .swal2-input,
    .swal2-textarea {
        font-size: 0.95rem;
        padding: 0.75rem 1rem;
    }
    
    .swal2-textarea {
        min-height: 100px;
    }
    
    .swal2-actions {
        flex-direction: column;
        gap: 0.75rem;
        margin-top: 1.5rem;
    }
    
    .swal2-confirm,
    .swal2-cancel {
        width: 100%;
        margin: 0;
    }
    
    .enquiry-form-info-text {
        font-size: 0.8rem;
        padding: 0.625rem;
    }
}

/* Responsive Design - Mobile First */
@media (max-width: 575.98px) {
    .hero-section {
        padding: 2rem 0;
        text-align: center;
    }
    
    .hero-section h1 {
        font-size: 1.75rem;
        line-height: 1.3;
        margin-bottom: 1rem;
    }
    
    .hero-section .lead {
        font-size: 0.95rem;
        margin-bottom: 1.5rem;
    }
    
    .hero-section .btn {
        width: 100%;
        margin-bottom: 0.5rem;
        font-size: 1rem;
        padding: 0.75rem 1.5rem;
    }
    
    .hero-section .d-flex {
        flex-direction: column;
    }
    
    .feature-section {
        padding: 3rem 0;
    }
    
    .feature-section h2,
    .feature-section h3 {
        font-size: 1.5rem;
        text-align: center;
        margin-bottom: 1.5rem;
    }
    
    .feature-section .row {
        text-align: center;
    }
    
    .feature-list {
        text-align: left;
        margin-top: 1.5rem;
    }
    
    .feature-list li {
        font-size: 1rem;
        padding: 0.75rem 0;
        padding-left: 2rem;
    }
    
    .section-title {
        font-size: 1.5rem;
    }
    
    .section-description {
        font-size: 0.95rem;
        margin-bottom: 2rem;
    }
    
    .navbar-brand {
        font-size: 1.5rem;
    }
    
    .navbar-nav {
        text-align: center;
        margin-top: 1rem;
    }
    
    .navbar-nav .nav-item {
        margin: 0.5rem 0;
    }
    
    .navbar-nav .enquiry-btn {
        width: 100%;
        margin-top: 0.5rem;
    }
    
    .feature-content {
        margin-top: 2rem;
    }
    
    .swal2-popup.enquiry-popup {
        width: 90%;
        padding: 1.5rem;
    }
    
    .swal2-popup .swal2-title {
        font-size: 1.5rem;
    }
    
    .swal2-input,
    .swal2-textarea {
        font-size: 0.95rem;
    }
    
    .swal2-confirm,
    .swal2-cancel {
        width: 100%;
        margin: 0.25rem 0;
    }
}

@media (min-width: 576px) and (max-width: 767.98px) {
    .hero-section h1 {
        font-size: 2rem;
    }
    
    .feature-section h2,
    .feature-section h3 {
        font-size: 1.75rem;
    }
    
    .swal2-popup.enquiry-popup {
        width: 85%;
    }
}

@media (min-width: 576px) and (max-width: 767.98px) {
    .hero-section h1 {
        font-size: 2.5rem;
    }
    
    .feature-section h2,
    .feature-section h3 {
        font-size: 2rem;
    }
}

@media (min-width: 768px) and (max-width: 991.98px) {
    .hero-section {
        min-height: 80vh;
    }
    
    .hero-section h1 {
        font-size: 2.5rem;
    }
    
    .hero-section .lead {
        font-size: 1.1rem;
    }
}

@media (min-width: 992px) {
    .hero-section h1 {
        font-size: 3.5rem;
    }
}

/* Additional Mobile Improvements */
@media (max-width: 991.98px) {
    .feature-section .row {
        flex-direction: column;
    }
    
    .feature-section .col-lg-6.order-lg-1,
    .feature-section .col-lg-6.order-lg-2 {
        order: 0 !important;
    }
    
    .feature-content {
        margin-top: 2rem;
        text-align: center;
    }
    
    .feature-list {
        text-align: left;
        max-width: 100%;
        margin: 1.5rem auto 0;
    }
    
    .feature-image {
        margin-bottom: 1.5rem;
    }
    
    .container {
        padding-left: 1rem;
        padding-right: 1rem;
    }
}

/* Ensure images have no borders */
img.feature-image,
.hero-section img {
    border: none;
    outline: none;
    box-shadow: none;
}

img.feature-image::before,
.hero-section img::before {
    display: none;
}

/* Utility Classes */
.text-orange {
    color: var(--rec-orange) !important;
}

.bg-orange {
    background-color: var(--rec-orange) !important;
}

.shadow-custom {
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

/* Button Styles */
.btn-orange {
    background-color: var(--rec-orange);
    border-color: var(--rec-orange);
    color: var(--rec-white);
}

.btn-orange:hover {
    background-color: var(--rec-orange-light);
    border-color: var(--rec-orange-light);
    color: var(--rec-white);
}
