/* Variables */
:root {
    --primary-color: #2c3e50;
    --secondary-color: #34495e;
    --accent-color: #3498db;
    --text-color: #2c3e50;
    --light-gray: #f8f9fa;
    --medium-gray: #e9ecef;
    --dark-gray: #6c757d;
    --white: #ffffff;
    --shadow: 0 2px 10px rgba(0,0,0,0.1);
    --transition: all 0.3s ease;
}

/* Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--white);
}

/* Preloader Styles */
.preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    transition: opacity 0.25s ease;
}

.preloader-content {
    text-align: center;
}

.hello-animation {
    position: relative;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hello-text {
    position: absolute;
    font-size: 3rem;
    font-weight: 600;
    color: var(--white);
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInOut 0.8s ease-in-out;
}

@keyframes fadeInOut {
    0% {
        opacity: 0;
        transform: translateY(20px);
    }
    20%, 80% {
        opacity: 1;
        transform: translateY(0);
    }
    100% {
        opacity: 0;
        transform: translateY(-20px);
    }
}

/* Navigation */
.navbar {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--medium-gray);
    transition: var(--transition);
    padding: 1rem 0;
}

.navbar-brand .brand-text {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--primary-color);
}

.nav-link {
    color: var(--text-color) !important;
    font-weight: 500;
    margin: 0 0.5rem;
    transition: var(--transition);
}

.nav-link:hover {
    color: var(--accent-color) !important;
}

/* Hero Section */
.hero-section {
    background: linear-gradient(135deg, var(--light-gray) 0%, var(--white) 100%);
    position: relative;
    overflow: hidden;
}

.hero-content {
    padding: 2rem 0;
}

.hero-title {
    font-size: 4rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 1rem;
    line-height: 1.1;
}

.hero-subtitle {
    font-size: 1.5rem;
    color: var(--dark-gray);
    margin-bottom: 1.5rem;
    font-weight: 400;
}

.hero-description {
    font-size: 1.1rem;
    color: var(--dark-gray);
    margin-bottom: 2rem;
    line-height: 1.6;
}

.hero-buttons .btn {
    margin-bottom: 1rem;
    padding: 0.75rem 2rem;
    font-weight: 600;
    transition: var(--transition);
}

.hero-image {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
    position: relative;
}

.floating-card {
    background: var(--white);
    padding: 3rem 2rem;
    border-radius: 20px;
    box-shadow: var(--shadow);
    text-align: center;
    transform: translateY(0);
    animation: float 6s ease-in-out infinite;
    border: 1px solid var(--medium-gray);
}

.floating-card i {
    color: var(--accent-color);
    margin-bottom: 1rem;
}

.floating-card h4 {
    color: var(--primary-color);
    font-weight: 600;
}

@keyframes fadeInOut {
  0% { opacity: 0; transform: translateY(10px); }
  50% { opacity: 1; transform: translateY(0); }
  100% { opacity: 0; transform: translateY(-10px); }
}

.hello-text {
  opacity: 0;
  transition: opacity 0.3s ease;
}

/* About Section */
.about-section {
    background: var(--white);
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.section-subtitle {
    font-size: 1.2rem;
    color: var(--dark-gray);
    margin-bottom: 2rem;
}

.value-card {
    padding: 2rem 1rem;
    text-align: center;
    transition: var(--transition);
}

.value-card:hover {
    transform: translateY(-10px);
}

.value-card i {
    color: var(--accent-color);
    margin-bottom: 1rem;
}

.value-card h4 {
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-weight: 600;
}

.founder-image, .office-image {
    background: var(--light-gray);
    border-radius: 15px;
    overflow: hidden;
    height: 300px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--medium-gray);
}

.image-placeholder {
    text-align: center;
    color: var(--dark-gray);
}

.image-placeholder i {
    color: var(--accent-color);
}

.founder-message {
    padding: 2rem 0;
}

.founder-message h3 {
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    font-weight: 600;
}

.blockquote {
    border-left: 4px solid var(--accent-color);
    padding-left: 1.5rem;
    margin: 0;
}

.process-step {
    text-align: center;
    margin-bottom: 2rem;
}

.step-number {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: var(--accent-color);
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
    margin: 0 auto 1rem;
}

.commitment-card {
    background: var(--light-gray);
    padding: 3rem 2rem;
    border-radius: 15px;
    border: 1px solid var(--medium-gray);
}

.commitment-card i {
    color: var(--accent-color);
}

.commitment-card h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-weight: 600;
}

/* Services Section */
.services-section {
    background: var(--light-gray);
}

.service-card {
    background: var(--white);
    padding: 2rem;
    border-radius: 15px;
    box-shadow: var(--shadow);
    transition: var(--transition);
    height: 100%;
    border: 1px solid var(--medium-gray);
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
}

.service-icon {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: var(--light-gray);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    border: 2px solid var(--medium-gray);
}

.service-icon i {
    font-size: 2rem;
    color: var(--accent-color);
}

.service-card h4 {
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-weight: 600;
}

.service-card p {
    color: var(--dark-gray);
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.service-actions {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.service-actions .btn {
    flex: 1;
    min-width: 120px;
}

/* Portfolio Section */
.portfolio-section {
    background: var(--white);
}

.portfolio-item {
    background: var(--white);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
    border: 1px solid var(--medium-gray);
}

.portfolio-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
}

.portfolio-image {
    height: 200px;
    background: var(--light-gray);
    display: flex;
    align-items: center;
    justify-content: center;
}

.portfolio-content {
    padding: 1.5rem;
}

.portfolio-content h5 {
    color: var(--primary-color);
    margin-bottom: 0.5rem;
    font-weight: 600;
}

/* Testimonials Section */
.testimonials-section {
    background: var(--light-gray);
}

.testimonial-card {
    background: var(--white);
    padding: 2rem;
    border-radius: 15px;
    box-shadow: var(--shadow);
    height: 100%;
    border: 1px solid var(--medium-gray);
}

.testimonial-rating {
    color: #ffc107;
    margin-bottom: 1rem;
}

.testimonial-text {
    color: var(--dark-gray);
    margin-bottom: 1.5rem;
    font-style: italic;
    line-height: 1.6;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.author-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: var(--light-gray);
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid var(--medium-gray);
}

.author-avatar i {
    color: var(--dark-gray);
}

.author-info h6 {
    color: var(--primary-color);
    margin-bottom: 0.25rem;
    font-weight: 600;
}

.author-info span {
    color: var(--dark-gray);
    font-size: 0.9rem;
}

.video-testimonial {
    background: var(--light-gray);
    height: 300px;
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--medium-gray);
}

.video-placeholder {
    text-align: center;
    color: var(--dark-gray);
}

.video-placeholder i {
    color: var(--accent-color);
}

/* CTA Section */
.cta-section {
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    color: var(--white);
}

.cta-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.cta-subtitle {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

.cta-buttons .btn {
    padding: 0.75rem 2rem;
    font-weight: 600;
    border: none;
}

.cta-buttons .btn-primary {
    background: var(--white);
    color: var(--primary-color);
}

.cta-buttons .btn-primary:hover {
    background: var(--light-gray);
}

.cta-buttons .btn-success {
    background: #25d366;
    color: var(--white);
}

.cta-buttons .btn-success:hover {
    background: #128c7e;
}

/* Contact Section */
.contact-section {
    background: var(--white);
}

.contact-form {
    background: var(--white);
    padding: 2rem;
    border-radius: 15px;
    box-shadow: var(--shadow);
    border: 1px solid var(--medium-gray);
}

.contact-info {
    background: var(--light-gray);
    padding: 2rem;
    border-radius: 15px;
    height: fit-content;
    border: 1px solid var(--medium-gray);
}

.contact-info h4 {
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    font-weight: 600;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.contact-item i {
    color: var(--accent-color);
    font-size: 1.2rem;
    margin-top: 0.25rem;
}

.contact-item h6 {
    color: var(--primary-color);
    margin-bottom: 0.25rem;
    font-weight: 600;
}

.contact-item p {
    color: var(--dark-gray);
    margin: 0;
}

.payment-support h6 {
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-weight: 600;
}

.payment-icons {
    display: flex;
    gap: 1rem;
    margin-bottom: 0.5rem;
}

.payment-icons i {
    font-size: 1.5rem;
    color: var(--accent-color);
}

.contact-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.contact-buttons .btn {
    flex: 1;
    min-width: 150px;
}

/* Footer */
.footer {
    background: var(--primary-color);
    color: var(--white);
}

.footer-brand h4 {
    color: var(--white);
    margin-bottom: 1rem;
    font-weight: 700;
}

.footer-brand p {
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 1.5rem;
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-links a {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    transition: var(--transition);
}

.social-links a:hover {
    background: var(--accent-color);
    transform: translateY(-3px);
}

.footer h6 {
    color: var(--white);
    margin-bottom: 1rem;
    font-weight: 600;
}

.footer-links {
    list-style: none;
    padding: 0;
}

.footer-links li {
    margin-bottom: 0.5rem;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: var(--transition);
}

.footer-links a:hover {
    color: var(--white);
}

.footer hr {
    border-color: rgba(255, 255, 255, 0.2);
}

/* Floating Contact Button */
.floating-contact {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    z-index: 1000;
}

.floating-btn {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: var(--accent-color);
    color: var(--white);
    border: none;
    box-shadow: 0 4px 20px rgba(52, 152, 219, 0.3);
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
}

.floating-btn:hover {
    background: var(--primary-color);
    transform: translateY(-3px);
    box-shadow: 0 6px 25px rgba(52, 152, 219, 0.4);
}

/* Form Styles */
.form-control {
    border: 2px solid var(--medium-gray);
    padding: 0.75rem;
    border-radius: 10px;
    transition: var(--transition);
    background: var(--white);
}

.form-control:focus {
    border-color: var(--accent-color);
    box-shadow: 0 0 0 0.2rem rgba(52, 152, 219, 0.25);
}

.form-label {
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

/* Button Styles */
.btn {
    padding: 0.5rem 1.5rem;
    border-radius: 10px;
    font-weight: 600;
    transition: var(--transition);
    border: none;
}

.btn-primary {
    background: var(--accent-color);
    color: var(--white);
}

.btn-primary:hover {
    background: var(--primary-color);
    transform: translateY(-2px);
}

.btn-outline-primary {
    border: 2px solid var(--accent-color);
    color: var(--accent-color);
    background: transparent;
}

.btn-outline-primary:hover {
    background: var(--accent-color);
    color: var(--white);
}

.btn-success {
    background: #25d366;
    color: var(--white);
}

.btn-success:hover {
    background: #128c7e;
}

/* Modal Styles */
.modal-content {
    border-radius: 15px;
    border: none;
    box-shadow: 0 10px 40px rgba(0,0,0,0.2);
}

.modal-header {
    border-bottom: 1px solid var(--medium-gray);
    background: var(--light-gray);
    border-radius: 15px 15px 0 0;
}

.modal-title {
    color: var(--primary-color);
    font-weight: 600;
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-subtitle {
        font-size: 1.2rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .cta-title {
        font-size: 2rem;
    }
    
    .hero-buttons .btn {
        width: 100%;
        margin-bottom: 0.5rem;
    }
    
    .service-actions {
        flex-direction: column;
    }
    
    .service-actions .btn {
        width: 100%;
        margin-bottom: 0.5rem;
    }
    
    .contact-buttons {
        flex-direction: column;
    }
    
    .contact-buttons .btn {
        width: 100%;
        margin-bottom: 0.5rem;
    }
    
    .cta-buttons .btn {
        width: 100%;
        margin-bottom: 0.5rem;
    }
    
    .floating-contact {
        bottom: 1rem;
        right: 1rem;
    }
    
    .hello-text {
        font-size: 2rem;
    }
    
    .payment-icons {
        justify-content: center;
    }
    
    .social-links {
        justify-content: center;
    }
}

@media (max-width: 576px) {
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
    }
    
    .section-title {
        font-size: 1.5rem;
    }
    
    .hello-text {
        font-size: 1.5rem;
    }
    
    .floating-card {
        padding: 2rem 1rem;
    }
    
    .value-card, .service-card, .testimonial-card {
        padding: 1.5rem;
    }
    
    .contact-form, .contact-info {
        padding: 1.5rem;
    }
}

/* Animation Classes */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Loading Animations */
.loading {
    opacity: 0.6;
    pointer-events: none;
}

.loading::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 20px;
    height: 20px;
    margin: -10px 0 0 -10px;
    border: 2px solid var(--accent-color);
    border-top-color: transparent;
    border-radius: 50%;
    animation: spin 1s infinite linear;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

/* Accessibility */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* Focus Styles */
.btn:focus,
.form-control:focus,
.nav-link:focus {
    outline: 2px solid var(--accent-color);
    outline-offset: 2px;
}

/* High Contrast Mode */
@media (prefers-contrast: high) {
    :root {
        --primary-color: #000000;
        --text-color: #000000;
        --accent-color: #0066cc;
    }
}

/* Reduced Motion */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
}
