/**
 * PllotDev Solutions - Main Stylesheet
 * A modern tech startup website with PHP backend for contact form handling
 */

/* ===== Base Styles ===== */
:root {
    /* Color palette */
    --primary: #4361ee;
    --primary-dark: #3a56d4;
    --secondary: #4cc9f0;
    --light: #f8f9fa;
    --dark: #212529;
    --gray: #6c757d;
    --gray-light: #e9ecef;
    --success: #4CAF50;
    --error: #f44336;
    --warning: #ff9800;

    /* Typography */
    --heading-font: 'Poppins', sans-serif;
    --body-font: 'Roboto', sans-serif;
    
    /* Spacing */
    --section-spacing: 80px;
    --element-spacing: 20px;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--body-font);
    color: var(--dark);
    line-height: 1.6;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--heading-font);
    font-weight: 600;
    margin-bottom: var(--element-spacing);
}

p {
    margin-bottom: 1rem;
}

a {
    color: var(--primary);
    text-decoration: none;
    transition: all 0.3s ease;
}

a:hover {
    color: var(--primary-dark);
}

.btn {
    border-radius: 30px;
    padding: 10px 25px;
    transition: all 0.3s ease;
    font-weight: 500;
}

.btn-primary {
    background-color: var(--primary);
    border-color: var(--primary);
}

.btn-primary:hover {
    background-color: var(--primary-dark);
    border-color: var(--primary-dark);
}

.btn-outline-primary {
    border-color: var(--primary);
    color: var(--primary);
}

.btn-outline-primary:hover {
    background-color: var(--primary);
    color: white;
}

.section-subtitle {
    color: var(--gray);
    font-size: 1.1rem;
    margin-bottom: 2rem;
}

/* ===== Navigation ===== */
.navbar {
    transition: all 0.3s ease;
    padding: 15px 0;
    background-color: rgba(255, 255, 255, 0.95);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.navbar-brand {
    display: flex;
    align-items: center;
    font-family: var(--heading-font);
    font-weight: 700;
    font-size: 1.5rem;
}

.navbar-brand .logo {
    margin-right: 10px;
}

.nav-link {
    font-weight: 500;
    color: var(--dark) !important;
    margin-left: 10px;
    padding: 8px 16px !important;
    border-radius: 4px;
}

.nav-link:hover, .nav-link.active {
    color: var(--primary) !important;
    background-color: rgba(67, 97, 238, 0.05);
}

/* ===== Hero Section ===== */
.hero-section {
    padding-top: 120px;
    padding-bottom: 80px;
    background: linear-gradient(135deg, #4361ee 0%, #4cc9f0 100%);
    color: white;
    min-height: 100vh;
    display: flex;
    align-items: center;
}

.hero-text h1 {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
}

.hero-text p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
}

.hero-btns .btn {
    margin-right: 10px;
    margin-bottom: 10px;
}

.hero-illustration {
    display: flex;
    justify-content: center;
    align-items: center;
}

/* ===== Page Header ===== */
.page-header {
    padding-top: 150px;
    padding-bottom: 70px;
    background: linear-gradient(135deg, #4361ee 0%, #4cc9f0 100%);
    color: white;
    text-align: center;
}

.page-header h1 {
    font-size: 2.5rem;
    font-weight: 700;
}

/* ===== Features Section ===== */
.features-section {
    padding: var(--section-spacing) 0;
}

.feature-card {
    background-color: white;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
    height: 100%;
    transition: transform 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-5px);
}

.feature-icon {
    font-size: 2.5rem;
    color: var(--primary);
    margin-bottom: 20px;
}

.feature-card h3 {
    font-size: 1.4rem;
    margin-bottom: 15px;
}

/* ===== Services Preview ===== */
.services-preview {
    padding: var(--section-spacing) 0;
    background-color: var(--light);
}

.service-card {
    background-color: white;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
    height: 100%;
    transition: transform 0.3s ease;
}

.service-card:hover {
    transform: translateY(-5px);
}

.service-icon {
    font-size: 2.5rem;
    color: var(--primary);
    margin-bottom: 20px;
}

.service-card h3 {
    font-size: 1.4rem;
    margin-bottom: 15px;
}

.service-card p {
    margin-bottom: 25px;
}

/* ===== Testimonials ===== */
.testimonial-info {
    text-align: center !important;
    
}

.testimonial-info h5 {
    margin: 0;
    font-size: 1.1rem;
}

.testimonial-info p {
    margin: 0;
    color: var(--gray);
    font-size: 0.9rem;
}

/* ===== CTA Section ===== */
.cta-section {
    padding: 60px 0;
    background-color: var(--primary);
    color: white;
}

.cta-section h2 {
    margin-bottom: 10px;
}

.cta-section p {
    margin-bottom: 0;
    font-size: 1.1rem;
}

/* ===== Services Detail Pages ===== */
.service-detail {
    padding: var(--section-spacing) 0;
}

.service-content .service-icon {
    font-size: 3rem;
    margin-bottom: 25px;
}

.service-features {
    margin-top: 25px;
}

.feature-item {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
}

.feature-item i {
    color: var(--primary);
    margin-right: 10px;
}

.service-illustration {
    display: flex;
    justify-content: center;
    align-items: center;
}

/* ===== Process Section ===== */
.process-section {
    padding: var(--section-spacing) 0;
}

.process-step {
    text-align: center;
    padding: 30px;
    border-radius: 10px;
    background-color: white;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
    height: 100%;
}

.step-number {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background-color: var(--primary);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
    margin: 0 auto 20px;
}

/* ===== Technologies ===== */
.technologies-section {
    padding: var(--section-spacing) 0;
}

.tech-item {
    padding: 20px;
    border-radius: 10px;
    background-color: white;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
    height: 100%;
}

.tech-item i {
    font-size: 2.5rem;
    color: var(--primary);
    margin-bottom: 15px;
}

.tech-item p {
    margin-bottom: 0;
    font-weight: 500;
}

/* ===== Contact Section ===== */
.contact-section {
    padding: var(--section-spacing) 0;
}

.contact-info {
    padding: 30px;
    background-color: white;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
    height: 100%;
}

.info-item {
    display: flex;
    margin-bottom: 20px;
}

.info-icon {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background-color: rgba(67, 97, 238, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 15px;
    color: var(--primary);
    font-size: 1.2rem;
}

.info-content h5 {
    margin: 0 0 5px;
    font-size: 1.1rem;
}

.info-content p {
    margin: 0;
    color: var(--gray);
}

.social-links {
    display: flex;
}

.social-link {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: rgba(67, 97, 238, 0.1);
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 10px;
    font-size: 1rem;
}

.social-link:hover {
    background-color: var(--primary);
    color: white;
}

.contact-form-container {
    padding: 30px;
    background-color: white;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
}

.form-control {
    border-radius: 5px;
    padding: 12px 15px;
    border: 1px solid var(--gray-light);
}

.form-control:focus {
    box-shadow: none;
    border-color: var(--primary);
}

.form-select {
    border-radius: 5px;
    padding: 12px 15px;
    height: auto;
    border: 1px solid var(--gray-light);
}

.form-select:focus {
    box-shadow: none;
    border-color: var(--primary);
}

.form-check-input:checked {
    background-color: var(--primary);
    border-color: var(--primary);
}

/* ===== Map Section ===== */
.map-section {
    padding-bottom: var(--section-spacing);
}

.map-container {
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
}

.map-placeholder {
    width: 100%;
    height: 400px;
    background-color: var(--light);
}

/* ===== FAQ Section ===== */
.faq-section {
    padding: var(--section-spacing) 0;
}

.faq-item {
    padding: 25px;
    background-color: white;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
    height: 100%;
}

.faq-item h4 {
    font-size: 1.2rem;
    margin-bottom: 15px;
    color: var(--primary);
}

/* ===== Footer ===== */
.footer {
    background-color: var(--dark);
    color: white;
    padding-top: 70px;
}

.footer-brand {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
}

.footer-brand h4 {
    margin: 0 0 0 10px;
    font-size: 1.3rem;
}

.footer h5 {
    margin-bottom: 20px;
    font-size: 1.1rem;
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.7);
}

.footer-links a:hover {
    color: white;
}

.footer-contact {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-contact li {
    margin-bottom: 15px;
    display: flex;
    align-items: flex-start;
}

.footer-contact i {
    margin-right: 10px;
    color: var(--primary);
    width: 20px;
}

.footer-bottom {
    margin-top: 40px;
    padding: 20px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.copyright {
    color: rgba(255, 255, 255, 0.5);
    margin: 0;
    font-size: 0.9rem;
}

/* ===== Responsive Styles ===== */
@media (max-width: 1199.98px) {
    .hero-text h1 {
        font-size: 2.5rem;
    }
}

@media (max-width: 991.98px) {
    :root {
        --section-spacing: 60px;
    }
    
    .hero-section {
        padding-top: 100px;
        padding-bottom: 60px;
        min-height: auto;
    }
    
    .hero-text h1 {
        font-size: 2.2rem;
    }
    
    .navbar-collapse {
        background-color: white;
        padding: 15px;
        border-radius: 10px;
        box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
        margin-top: 10px;
    }
    
    .nav-link {
        padding: 10px 16px !important;
    }
}

@media (max-width: 767.98px) {
    :root {
        --section-spacing: 50px;
    }
    
    .hero-text h1 {
        font-size: 2rem;
    }
    
    .page-header {
        padding-top: 120px;
        padding-bottom: 50px;
    }
    
    .page-header h1 {
        font-size: 2rem;
    }
}

@media (max-width: 575.98px) {
    :root {
        --section-spacing: 40px;
    }
    
    .hero-text h1 {
        font-size: 1.8rem;
    }
    
    .btn {
        padding: 8px 20px;
    }
}

.footer-contact a {
    color: white !important;
}
