/* ==============================================
   CSS Variables - Color Palette
   ============================================== */
:root {
    --primary-color: #F7515C;
    --dark-bg: #282A30;
    --light-bg: #ffffff;
    --secondary-bg: #e0e0e0;
    --text-dark: #2C2C2C;
    --text-gray: #5F5F5F;
    --text-light: #8A8A8A;
    --border-color: #E5E5E5;
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.06);
    --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.08);
    --radius-sm: 4px;
    --radius-md: 8px;
    --radius-lg: 12px;
}

/* ==============================================
   Base Styles
   ============================================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Raleway', sans-serif;
    font-size: 16px;
    line-height: 1.7;
    color: var(--text-dark);
    background-color: var(--light-bg);
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: 1rem;
    color: var(--text-dark);
}

h1 { font-size: 3rem; }
h2 { font-size: 2.25rem; }
h3 { font-size: 1.75rem; }
h4 { font-size: 1.5rem; }
h5 { font-size: 1.25rem; }
h6 { font-size: 1rem; }

p {
    margin-bottom: 1rem;
    color: var(--text-gray);
}

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

a:hover {
    color: #d43e49;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

.rounded-image {
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
}

/* ==============================================
   Header & Navigation
   ============================================== */
.header-sticky {
    position: sticky;
    top: 0;
    z-index: 1000;
    background-color: var(--light-bg);
    box-shadow: var(--shadow-sm);
}

.navbar {
    padding: 1.25rem 0;
}

.navbar-brand.logo-text {
    font-size: 1.75rem;
    font-weight: 800;
    color: var(--text-dark);
    letter-spacing: -0.5px;
}

.navbar-brand.logo-text:hover {
    color: var(--primary-color);
}

.navbar-nav .nav-link {
    font-size: 1rem;
    font-weight: 500;
    color: var(--text-dark);
    padding: 0.5rem 1.25rem;
    transition: color 0.3s ease;
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active {
    color: var(--primary-color);
}

.navbar-toggler {
    border: 1px solid var(--border-color);
}

.navbar-toggler:focus {
    box-shadow: none;
}

/* ==============================================
   Buttons
   ============================================== */
.btn {
    font-weight: 600;
    padding: 0.875rem 2rem;
    border-radius: var(--radius-sm);
    transition: all 0.3s ease;
    border: none;
}

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

.btn-primary:hover {
    background-color: #d43e49;
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.btn-outline-primary {
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
    background-color: transparent;
}

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

.btn-outline-secondary {
    border: 2px solid var(--border-color);
    color: var(--text-gray);
    background-color: transparent;
}

.btn-outline-secondary:hover {
    background-color: var(--secondary-bg);
    border-color: var(--secondary-bg);
}

.btn-hero {
    padding: 1rem 2.5rem;
    font-size: 1.125rem;
}

/* ==============================================
   Hero Section
   ============================================== */
.hero-section {
    padding: 6rem 0;
    background: linear-gradient(135deg, #f5f7fa 0%, #e8ecf1 100%);
    position: relative;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 800px;
    height: 800px;
    background: radial-gradient(circle, rgba(247, 81, 92, 0.08) 0%, transparent 70%);
    border-radius: 50%;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--text-gray);
    margin-bottom: 2rem;
    line-height: 1.7;
}

.hero-image {
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
}

/* ==============================================
   Section Styles
   ============================================== */
section {
    padding: 5rem 0;
}

.section-header {
    margin-bottom: 3.5rem;
}

.section-label {
    text-transform: uppercase;
    font-size: 0.875rem;
    font-weight: 700;
    letter-spacing: 1.5px;
    color: var(--primary-color);
    margin-bottom: 0.75rem;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 1rem;
}

.section-description {
    font-size: 1.125rem;
    color: var(--text-gray);
    max-width: 800px;
    margin: 0 auto;
}

.lead-text {
    font-size: 1.125rem;
    line-height: 1.8;
    color: var(--text-gray);
}

.content-block {
    padding: 2rem;
    background-color: #fafafa;
    border-radius: var(--radius-md);
    border-left: 4px solid var(--primary-color);
}

/* ==============================================
   Device Cards
   ============================================== */
.section-devices {
    background-color: var(--light-bg);
}

.device-card {
    padding: 2.5rem 2rem;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    text-align: center;
    transition: all 0.3s ease;
    background-color: var(--light-bg);
    height: 100%;
}

.device-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
    border-color: var(--primary-color);
}

.device-icon {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
}

.device-title {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.device-text {
    font-size: 1rem;
    color: var(--text-gray);
    margin: 0;
}

/* ==============================================
   Problem Section
   ============================================== */
.section-problems {
    background-color: #fafafa;
}

.problem-card {
    padding: 2rem;
    background-color: var(--light-bg);
    border-radius: var(--radius-md);
    border-left: 4px solid var(--primary-color);
    box-shadow: var(--shadow-sm);
    height: 100%;
    transition: all 0.3s ease;
}

.problem-card:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-3px);
}

.problem-header {
    display: flex;
    align-items: center;
    margin-bottom: 1rem;
}

.problem-icon {
    font-size: 2rem;
    color: var(--primary-color);
    margin-right: 1rem;
}

.problem-title {
    font-size: 1.25rem;
    font-weight: 700;
    margin: 0;
}

.problem-text {
    color: var(--text-gray);
    margin: 0;
}

/* ==============================================
   Diagnostic Section
   ============================================== */
.section-diagnostic {
    background-color: var(--dark-bg);
    color: var(--light-bg);
}

.section-diagnostic .section-label {
    color: var(--primary-color);
}

.section-diagnostic .section-title,
.section-diagnostic .lead-text {
    color: var(--light-bg);
}

.step-card {
    padding: 2.5rem 2rem;
    background-color: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-md);
    text-align: center;
    transition: all 0.3s ease;
    height: 100%;
}

.step-card:hover {
    background-color: rgba(255, 255, 255, 0.08);
    transform: translateY(-5px);
}

.step-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    background-color: var(--primary-color);
    color: var(--light-bg);
    font-size: 1.75rem;
    font-weight: 800;
    border-radius: var(--radius-sm);
    margin-bottom: 1.5rem;
}

.step-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--light-bg);
    margin-bottom: 1rem;
}

.step-text {
    color: rgba(255, 255, 255, 0.8);
    margin: 0;
}

/* ==============================================
   Approach Section
   ============================================== */
.section-approach {
    background-color: var(--light-bg);
}

.approach-card {
    padding: 2.5rem 2rem;
    background-color: #fafafa;
    border-radius: var(--radius-md);
    text-align: center;
    transition: all 0.3s ease;
    height: 100%;
}

.approach-card:hover {
    background-color: var(--light-bg);
    box-shadow: var(--shadow-md);
    transform: translateY(-5px);
}

.approach-icon {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
}

.approach-title {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.approach-text {
    color: var(--text-gray);
    margin: 0;
}

/* ==============================================
   FAQ Section
   ============================================== */
.section-faq {
    background-color: #fafafa;
}

.accordion-item {
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    margin-bottom: 1rem;
    overflow: hidden;
}

.accordion-button {
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--text-dark);
    background-color: var(--light-bg);
    padding: 1.25rem 1.5rem;
}

.accordion-button:not(.collapsed) {
    background-color: var(--primary-color);
    color: var(--light-bg);
}

.accordion-button:focus {
    box-shadow: none;
    border-color: var(--border-color);
}

.accordion-body {
    padding: 1.5rem;
    color: var(--text-gray);
    line-height: 1.8;
}

/* ==============================================
   CTA Section
   ============================================== */
.section-contact-cta,
.section-cta {
    background-color: var(--light-bg);
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
}

/* ==============================================
   Page Header
   ============================================== */
.page-header {
    padding: 4rem 0 3rem;
    background-color: #fafafa;
    text-align: center;
}

.page-title {
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 1rem;
}

.page-description {
    font-size: 1.25rem;
    color: var(--text-gray);
    max-width: 800px;
    margin: 0 auto;
}

/* ==============================================
   Service Cards
   ============================================== */
.section-services-main {
    background-color: var(--light-bg);
}

.service-card {
    padding: 2.5rem 2rem;
    background-color: #fafafa;
    border-radius: var(--radius-md);
    border: 1px solid var(--border-color);
    transition: all 0.3s ease;
    height: 100%;
}

.service-card:hover {
    background-color: var(--light-bg);
    box-shadow: var(--shadow-md);
    transform: translateY(-3px);
}

.service-icon {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
}

.service-title {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.service-text {
    color: var(--text-gray);
    margin: 0;
}

.section-phone-repair,
.section-laptop-repair {
    padding: 5rem 0;
}

.section-phone-repair {
    background-color: #fafafa;
}

.section-laptop-repair {
    background-color: var(--light-bg);
}

/* ==============================================
   Blog Section
   ============================================== */
.section-blog-intro {
    background-color: #fafafa;
    padding: 3rem 0;
}

.section-blog-articles {
    background-color: var(--light-bg);
}

.blog-article-card {
    padding: 3rem 0;
    border-bottom: 1px solid var(--border-color);
}

.blog-article-card:last-child {
    border-bottom: none;
}

.article-title {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.article-excerpt {
    font-size: 1.125rem;
    color: var(--text-gray);
    margin-bottom: 1.5rem;
}

.article-full-text {
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 2px solid var(--border-color);
}

.article-full-text p {
    font-size: 1.0625rem;
    line-height: 1.8;
    margin-bottom: 1.25rem;
}

.section-blog-tips {
    background-color: #fafafa;
}

.tip-card {
    padding: 2.5rem 2rem;
    background-color: var(--light-bg);
    border-radius: var(--radius-md);
    border-left: 4px solid var(--primary-color);
    box-shadow: var(--shadow-sm);
    height: 100%;
}

.tip-title {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.tip-text {
    color: var(--text-gray);
    margin: 0;
}

/* ==============================================
   Reviews Section
   ============================================== */
.section-reviews {
    background-color: var(--primary-color);
    color: var(--light-bg);
}

.section-reviews .section-label {
    color: rgba(255, 255, 255, 0.9);
}

.section-reviews .section-title {
    color: var(--light-bg);
}

.review-card {
    padding: 3rem 2.5rem;
    background-color: var(--light-bg);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-md);
    min-height: 250px;
}

.review-header {
    margin-bottom: 1.5rem;
}

.review-author {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-dark);
}

.review-text {
    font-size: 1.125rem;
    color: var(--text-gray);
    line-height: 1.8;
    margin: 0;
}

.carousel-control-prev,
.carousel-control-next {
    width: 50px;
    height: 50px;
    background-color: rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    top: 50%;
    transform: translateY(-50%);
    opacity: 1;
}

.carousel-control-prev:hover,
.carousel-control-next:hover {
    background-color: rgba(255, 255, 255, 0.5);
}

.carousel-control-prev {
    left: -25px;
}

.carousel-control-next {
    right: -25px;
}

.carousel-indicators {
    bottom: -50px;
}

.carousel-indicators button {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.5);
}

.carousel-indicators button.active {
    background-color: var(--light-bg);
}

.section-client-notes {
    background-color: var(--light-bg);
}

.note-card {
    padding: 2rem;
    background-color: #fafafa;
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    gap: 1.5rem;
    transition: all 0.3s ease;
    height: 100%;
}

.note-card:hover {
    background-color: var(--light-bg);
    box-shadow: var(--shadow-md);
    transform: translateY(-3px);
}

.note-icon {
    font-size: 2.5rem;
    color: var(--primary-color);
    flex-shrink: 0;
}

.note-text {
    font-size: 1.125rem;
    color: var(--text-dark);
    font-weight: 600;
    margin: 0;
}

/* ==============================================
   Contact Section
   ============================================== */
.section-contact-info {
    background-color: var(--light-bg);
}

.contact-details {
    margin-top: 2rem;
}

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

.contact-icon {
    font-size: 2rem;
    color: var(--primary-color);
    flex-shrink: 0;
}

.contact-info h5 {
    font-size: 1.125rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

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

.contact-info a {
    color: var(--text-gray);
}

.contact-info a:hover {
    color: var(--primary-color);
}

.contact-form-wrapper {
    padding: 2.5rem;
    background-color: #fafafa;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
}

.form-title {
    font-size: 1.75rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.form-description {
    color: var(--text-gray);
    margin-bottom: 2rem;
}

.contact-form .form-label {
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 0.5rem;
}

.contact-form .form-control {
    padding: 0.75rem 1rem;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    transition: all 0.3s ease;
}

.contact-form .form-control:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.2rem rgba(247, 81, 92, 0.15);
}

.contact-form .form-control.is-invalid {
    border-color: #dc3545;
}

.invalid-feedback {
    display: none;
    font-size: 0.875rem;
    color: #dc3545;
    margin-top: 0.25rem;
}

.form-control.is-invalid ~ .invalid-feedback {
    display: block;
}

.section-map {
    background-color: #fafafa;
}

.map-container {
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-md);
}

/* ==============================================
   Thank You Page
   ============================================== */
.thankyou-section {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #f5f7fa 0%, #e8ecf1 100%);
}

.thankyou-card {
    text-align: center;
    padding: 4rem 3rem;
    background-color: var(--light-bg);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    max-width: 600px;
}

.thankyou-icon {
    font-size: 5rem;
    color: #28a745;
    margin-bottom: 2rem;
}

.thankyou-title {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 1rem;
}

.thankyou-text {
    font-size: 1.25rem;
    color: var(--text-gray);
    margin-bottom: 2rem;
}

/* ==============================================
   Policy Pages
   ============================================== */
.policy-section {
    padding: 5rem 0;
    background-color: var(--light-bg);
}

.policy-title {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 0.5rem;
}

.policy-date {
    color: var(--text-light);
    margin-bottom: 2.5rem;
    font-style: italic;
}

.policy-content h2 {
    font-size: 1.75rem;
    font-weight: 700;
    margin-top: 2.5rem;
    margin-bottom: 1rem;
}

.policy-content p {
    margin-bottom: 1.25rem;
    line-height: 1.8;
}

.policy-content ul {
    margin-bottom: 1.5rem;
    padding-left: 2rem;
}

.policy-content li {
    margin-bottom: 0.75rem;
    color: var(--text-gray);
}

.policy-content strong {
    color: var(--text-dark);
    font-weight: 600;
}

/* ==============================================
   Footer
   ============================================== */
.footer {
    background-color: var(--dark-bg);
    color: rgba(255, 255, 255, 0.8);
    padding: 4rem 0 2rem;
}

.footer-title {
    color: var(--light-bg);
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
}

.footer-text {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9375rem;
}

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

.footer-links li {
    margin-bottom: 0.75rem;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9375rem;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: var(--primary-color);
}

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

.footer-contacts li {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    margin-bottom: 1rem;
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9375rem;
}

.footer-contacts .material-icons-outlined {
    font-size: 1.25rem;
    color: var(--primary-color);
}

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

.footer-bottom p {
    margin: 0;
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.875rem;
}

/* ==============================================
   Cookie Popup
   ============================================== */
.cookie-popup {
    position: fixed;
    bottom: 2rem;
    left: 2rem;
    right: 2rem;
    max-width: 500px;
    background-color: var(--dark-bg);
    color: var(--light-bg);
    padding: 2rem;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-md);
    z-index: 9999;
    display: none;
}

.cookie-popup.show {
    display: block;
    animation: slideUp 0.4s ease;
}

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

.cookie-text {
    margin-bottom: 1.5rem;
    font-size: 0.9375rem;
    line-height: 1.6;
}

.cookie-text a {
    color: var(--primary-color);
    text-decoration: underline;
}

.cookie-buttons {
    display: flex;
    gap: 1rem;
}

/* ==============================================
   Responsive Styles
   ============================================== */
@media (max-width: 991px) {
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-subtitle {
        font-size: 1.125rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    h1 { font-size: 2.5rem; }
    h2 { font-size: 2rem; }
    
    .page-title {
        font-size: 2.5rem;
    }
    
    section {
        padding: 4rem 0;
    }
    
    .navbar-collapse {
        margin-top: 1rem;
        padding: 1rem 0;
    }
    
    .carousel-control-prev,
    .carousel-control-next {
        display: none;
    }
}

@media (max-width: 767px) {
    .hero-section {
        padding: 4rem 0;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
    }
    
    .section-title {
        font-size: 1.75rem;
    }
    
    .section-header {
        margin-bottom: 2.5rem;
    }
    
    section {
        padding: 3rem 0;
    }
    
    .device-card,
    .service-card,
    .approach-card {
        margin-bottom: 1.5rem;
    }
    
    .cookie-popup {
        left: 1rem;
        right: 1rem;
        bottom: 1rem;
        padding: 1.5rem;
    }
    
    .cookie-buttons {
        flex-direction: column;
    }
    
    .btn {
        padding: 0.75rem 1.5rem;
    }
    
    .contact-form-wrapper {
        padding: 2rem 1.5rem;
    }
}

@media (max-width: 575px) {
    h1 { font-size: 2rem; }
    h2 { font-size: 1.75rem; }
    h3 { font-size: 1.5rem; }
    
    .page-title {
        font-size: 2rem;
    }
    
    .thankyou-card {
        padding: 3rem 2rem;
    }
    
    .thankyou-title {
        font-size: 2rem;
    }
}

