/* QpathUS - Yellow-Based Color Theme */

:root {
    --primary-yellow: #FFD700;
    --secondary-yellow: #FDB813;
    --accent-yellow: #FFEB3B;
    --dark-yellow: #F9A825;
    --light-yellow: #FFF9C4;

    --dark-text: #2C3E50;
    --light-text: #ECF0F1;
    --gray-text: #7F8C8D;
    --bg-light: #FAFAFA;
    --bg-white: #FFFFFF;

    --transition: all 0.3s ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    color: var(--dark-text);
    line-height: 1.6;
    overflow-x: hidden;
}

/* Smooth Scrolling */
html {
    scroll-behavior: smooth;
}

/* Navigation */
.navbar {
    background: var(--bg-white);
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    padding: 1rem 0;
    transition: var(--transition);
}

.navbar.scrolled {
    padding: 0.5rem 0;
    box-shadow: 0 4px 15px rgba(0,0,0,0.15);
}

.navbar-brand img {
    height: 50px;
    transition: var(--transition);
}

.navbar.scrolled .navbar-brand img {
    height: 40px;
}

.navbar-nav .nav-link {
    color: var(--dark-text);
    font-weight: 500;
    padding: 0.5rem 1rem;
    transition: var(--transition);
    position: relative;
}

.navbar-nav .nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background: var(--primary-yellow);
    transition: var(--transition);
    transform: translateX(-50%);
}

.navbar-nav .nav-link:hover::after,
.navbar-nav .nav-link.active::after {
    width: 80%;
}

.navbar-nav .nav-link:hover {
    color: var(--secondary-yellow);
}

/* Hero Section */
.hero-section {
    min-height: 90vh;
    background: linear-gradient(135deg, var(--light-yellow) 0%, var(--bg-white) 100%);
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 600px;
    height: 600px;
    background: var(--accent-yellow);
    opacity: 0.1;
    border-radius: 50%;
    animation: float 6s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    50% { transform: translateY(-20px) rotate(180deg); }
}

.hero-content h1 {
    font-size: 3.5rem;
    font-weight: 700;
    color: var(--dark-text);
    margin-bottom: 1.5rem;
    animation: fadeInUp 1s ease;
}

.hero-content .highlight {
    color: var(--secondary-yellow);
    position: relative;
    display: inline-block;
}

.hero-content p {
    font-size: 1.3rem;
    color: var(--gray-text);
    margin-bottom: 2rem;
    animation: fadeInUp 1s ease 0.2s both;
}

.hero-image {
    animation: fadeInRight 1s ease 0.4s both;
}

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

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Buttons */
.btn-primary {
    background: linear-gradient(135deg, var(--primary-yellow), var(--secondary-yellow));
    border: none;
    color: var(--dark-text);
    padding: 12px 35px;
    font-weight: 600;
    border-radius: 50px;
    transition: var(--transition);
    box-shadow: 0 4px 15px rgba(255, 215, 0, 0.3);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(255, 215, 0, 0.5);
    color: var(--dark-text);
    background: linear-gradient(135deg, var(--secondary-yellow), var(--primary-yellow));
}

.btn-outline-primary {
    border: 2px solid var(--primary-yellow);
    color: var(--dark-text);
    padding: 12px 35px;
    font-weight: 600;
    border-radius: 50px;
    transition: var(--transition);
}

.btn-outline-primary:hover {
    background: var(--primary-yellow);
    color: var(--dark-text);
    transform: translateY(-3px);
}

/* Section Styling */
section {
    padding: 80px 0;
}

.section-title {
    text-align: center;
    margin-bottom: 3rem;
    position: relative;
    animation: fadeInUp 0.8s ease;
}

.section-title h2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--dark-text);
    margin-bottom: 1rem;
}

.section-title .underline {
    width: 80px;
    height: 4px;
    background: linear-gradient(to right, var(--primary-yellow), var(--secondary-yellow));
    margin: 0 auto;
    border-radius: 2px;
}

/* Cards */
.service-card,
.feature-card {
    background: var(--bg-white);
    border-radius: 15px;
    padding: 2rem;
    transition: var(--transition);
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
    height: 100%;
    border: 2px solid transparent;
}

.service-card:hover,
.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 30px rgba(255, 215, 0, 0.3);
    border-color: var(--primary-yellow);
}

.service-card .icon,
.feature-card .icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, var(--light-yellow), var(--accent-yellow));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    font-size: 2rem;
    color: var(--secondary-yellow);
}

.service-card h3,
.feature-card h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--dark-text);
}

.service-card p,
.feature-card p {
    color: var(--gray-text);
    font-size: 1rem;
}

/* About Section */
.about-section {
    background: var(--bg-light);
}

.about-content {
    display: flex;
    align-items: center;
    gap: 3rem;
}

.about-stats {
    display: flex;
    gap: 2rem;
    margin-top: 2rem;
}

.stat-item {
    text-align: center;
}

.stat-item h3 {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--secondary-yellow);
    margin-bottom: 0.5rem;
}

.stat-item p {
    color: var(--gray-text);
    font-weight: 500;
}

/* Services Section */
.services-section {
    background: var(--bg-white);
}

/* Values Section */
.values-section {
    background: linear-gradient(135deg, var(--light-yellow) 0%, var(--bg-white) 100%);
}

.value-item {
    text-align: center;
    padding: 2rem;
}

.value-item .icon {
    width: 80px;
    height: 80px;
    background: var(--bg-white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    font-size: 2.5rem;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

/* Contact Section */
.contact-section {
    background: var(--bg-white);
}

.contact-form {
    background: var(--bg-light);
    padding: 3rem;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
}

.form-control {
    border: 2px solid #E0E0E0;
    padding: 12px 20px;
    border-radius: 10px;
    transition: var(--transition);
}

.form-control:focus {
    border-color: var(--primary-yellow);
    box-shadow: 0 0 0 0.2rem rgba(255, 215, 0, 0.25);
}

.contact-info {
    padding: 2rem;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.contact-item .icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--primary-yellow), var(--secondary-yellow));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--dark-text);
    font-size: 1.3rem;
}

/* Footer */
footer {
    background: var(--dark-text);
    color: var(--light-text);
    padding: 3rem 0 1rem;
}

footer h5 {
    color: var(--primary-yellow);
    font-weight: 600;
    margin-bottom: 1.5rem;
}

footer ul {
    list-style: none;
    padding: 0;
}

footer ul li {
    margin-bottom: 0.5rem;
}

footer a {
    color: var(--light-text);
    text-decoration: none;
    transition: var(--transition);
}

footer a:hover {
    color: var(--primary-yellow);
    padding-left: 5px;
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-links a {
    width: 40px;
    height: 40px;
    background: rgba(255, 215, 0, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.social-links a:hover {
    background: var(--primary-yellow);
    color: var(--dark-text);
    transform: translateY(-3px);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    margin-top: 2rem;
    padding-top: 1.5rem;
    text-align: center;
    color: var(--gray-text);
}

/* Animations on Scroll */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Loading Animation */
.loader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--bg-white);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    transition: opacity 0.5s ease;
}

.loader.hidden {
    opacity: 0;
    pointer-events: none;
}

.loader-spinner {
    width: 60px;
    height: 60px;
    border: 4px solid var(--light-yellow);
    border-top-color: var(--primary-yellow);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

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

/* Responsive Design */
@media (max-width: 768px) {
    .hero-content h1 {
        font-size: 2.5rem;
    }

    .hero-content p {
        font-size: 1.1rem;
    }

    .section-title h2 {
        font-size: 2rem;
    }

    .about-content {
        flex-direction: column;
    }

    .about-stats {
        flex-wrap: wrap;
    }

    section {
        padding: 60px 0;
    }
}

@media (max-width: 576px) {
    .hero-content h1 {
        font-size: 2rem;
    }

    .btn-primary,
    .btn-outline-primary {
        padding: 10px 25px;
        font-size: 0.9rem;
    }
}
