:root {
    --primary-color: #ff3b30;
    --secondary-color: #1c1c1e;
    --accent-color: #ffcc00;
    --text-color: #333;
    --light-bg: #f5f5f7;
    --dark-bg: #000;
    --white: #fff;
    --font-main: 'Inter', sans-serif;
}

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

body {
    font-family: var(--font-main);
    color: var(--text-color);
    background-color: var(--white);
    line-height: 1.6;
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
    transition: color 0.3s ease;
}

ul {
    list-style: none;
}

/* Header */
header {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 5%;
    max-width: 1400px;
    margin: 0 auto;
}

.logo {
    font-size: 28px;
    font-weight: 800;
    color: var(--secondary-color);
    letter-spacing: -1px;
}

.logo span {
    color: var(--primary-color);
}

.nav-links {
    display: flex;
    gap: 30px;
}

.nav-links a {
    font-weight: 600;
    font-size: 16px;
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary-color);
    transition: width 0.3s ease;
}

.nav-links a:hover::after, .nav-links a.active::after {
    width: 100%;
}

.burger {
    display: none;
    cursor: pointer;
}

.burger div {
    width: 25px;
    height: 3px;
    background-color: var(--secondary-color);
    margin: 5px;
    transition: all 0.3s ease;
}

/* Hero Section */
.hero {
    height: 100vh;
    background: linear-gradient(rgba(0,0,0,0.6), rgba(0,0,0,0.6)), url('../assets/images/hero-bg.jpg') center/cover no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--white);
    padding: 0 20px;
    margin-top: 80px;
    max-width: 100%;
}

.hero-content h1 {
    font-size: 4rem;
    font-weight: 800;
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 2px;
    animation: fadeInUp 1s ease;
}

.hero-content p {
    font-size: 1.5rem;
    margin-bottom: 40px;
    animation: fadeInUp 1.2s ease;
}

.btn {
    display: inline-block;
    padding: 15px 40px;
    background: var(--primary-color);
    color: var(--white);
    font-size: 18px;
    font-weight: bold;
    border-radius: 50px;
    text-transform: uppercase;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
}

.btn:hover {
    background: var(--accent-color);
    color: var(--secondary-color);
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.2);
}

/* Page Header (Inner Pages) */
.page-header {
    margin-top: 80px;
    padding: 120px 5%;
    background: linear-gradient(rgba(0,0,0,0.7), rgba(0,0,0,0.7)), url('../assets/images/page-header-bg.jpg') center/cover no-repeat;
    color: var(--white);
    text-align: center;
    max-width: 100%;
}
.page-header h1 {
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 15px;
    text-transform: uppercase;
    letter-spacing: 1px;
}
.page-header p {
    font-size: 1.2rem;
    color: #ddd;
}

/* Sections */
section {
    padding: 100px 5%;
    max-width: 1400px;
    margin: 0 auto;
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 60px;
    color: var(--secondary-color);
    position: relative;
}

.section-title::after {
    content: '';
    display: block;
    width: 80px;
    height: 4px;
    background: var(--primary-color);
    margin: 20px auto 0;
}

/* Enhanced Footer */
.site-footer {
    background: #111;
    color: #fff;
    font-family: var(--font-main);
    position: relative;
    overflow: hidden;
}
.site-footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
}
.footer-top {
    padding: 80px 5% 50px;
}
.site-footer .footer-container {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 40px;
    max-width: 1400px;
    margin: 0 auto;
}
.footer-logo {
    font-size: 28px;
    font-weight: 800;
    color: var(--white);
    letter-spacing: -1px;
    display: inline-block;
    margin-bottom: 20px;
}
.footer-logo span {
    color: var(--primary-color);
}
.footer-desc {
    color: #aaa;
    margin-bottom: 25px;
    line-height: 1.6;
    max-width: 300px;
}
.footer-contact-info p {
    color: #ccc;
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 10px;
}
.footer-phone {
    color: var(--primary-color) !important;
    font-weight: bold;
    font-size: 1.1rem;
}
.site-footer h3 {
    font-size: 1.2rem;
    color: var(--white);
    margin-bottom: 25px;
    position: relative;
    padding-bottom: 10px;
}
.site-footer h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 2px;
    background: var(--primary-color);
}
.site-footer ul {
    list-style: none;
    padding: 0;
}
.site-footer ul li {
    margin-bottom: 15px;
}
.site-footer ul li a {
    color: #aaa;
    transition: all 0.3s ease;
    display: inline-block;
}
.site-footer ul li a:hover {
    color: var(--primary-color);
    transform: translateX(5px);
}
.payment-badges {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}
.pay-badge {
    padding: 8px 12px;
    border-radius: 6px;
    font-size: 0.85rem;
    font-weight: bold;
    background: #222;
    color: #fff;
    border: 1px solid #333;
    display: flex;
    align-items: center;
    justify-content: center;
}
.pay-badge.visa { border-color: #1a1f71; color: #1a1f71; background: #fff; }
.pay-badge.mc { border-color: #ff5f00; color: #eb001b; background: #fff; }
.pay-badge.paypal { border-color: #00457c; color: #0079c1; background: #fff; }

.footer-map {
    width: 100%;
    height: 180px;
    border-radius: 12px;
    overflow: hidden;
    border: 2px solid #333;
    transition: border-color 0.3s ease;
}
.footer-map:hover {
    border-color: var(--primary-color);
}
.footer-bottom {
    background: #0a0a0a;
    padding: 25px 5%;
    border-top: 1px solid #222;
}
.footer-bottom-container {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}
.footer-bottom p {
    color: #777;
    font-size: 0.9rem;
}
.footer-socials {
    display: flex;
    gap: 20px;
}
.footer-socials a {
    color: #aaa;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: color 0.3s ease, transform 0.3s ease;
}
.footer-socials a:hover {
    color: var(--white);
    transform: scale(1.1);
}

@media screen and (max-width: 991px) {
    .site-footer .footer-container {
        grid-template-columns: 1fr 1fr;
    }
}
@media screen and (max-width: 768px) {
    .site-footer .footer-container {
        grid-template-columns: 1fr;
    }
    .footer-bottom-container {
        flex-direction: column;
        text-align: center;
        gap: 15px;
    }
    .footer-socials {
        justify-content: center;
        flex-wrap: wrap;
    }
}

/* Responsive */
@media screen and (max-width: 991px) {
    .nav-links {
        position: fixed;
        right: -100%;
        top: 80px;
        flex-direction: column;
        background: rgba(255, 255, 255, 0.98);
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: 0 10px 27px rgba(0, 0, 0, 0.05);
        padding: 40px 0;
    }

    .nav-links.active {
        right: 0;
    }

    .burger {
        display: block;
    }

    .hero-content h1 {
        font-size: 2.5rem;
    }
}

/* Cookie Banner */
.cookie-banner {
    position: fixed;
    bottom: -100%;
    left: 0;
    width: 100%;
    background: var(--secondary-color);
    color: var(--white);
    padding: 20px;
    text-align: center;
    z-index: 9999;
    transition: bottom 0.5s ease;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
}

.cookie-banner.show {
    bottom: 0;
}

.cookie-btn {
    background: var(--primary-color);
    color: var(--white);
    border: none;
    padding: 10px 20px;
    cursor: pointer;
    border-radius: 5px;
    font-weight: bold;
}

/* Services Page Styles */
.services-page-content {
    padding: 100px 5%;
    max-width: 1400px;
    margin: 0 auto;
}
.service-row {
    display: flex;
    align-items: center;
    gap: 50px;
    margin-bottom: 100px;
}
.service-row.reverse {
    flex-direction: row-reverse;
}
.service-image {
    flex: 1;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
    position: relative;
    height: 400px;
}
.service-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.5s ease;
}
.service-row:hover .service-image img {
    transform: scale(1.05);
}
.service-info {
    flex: 1;
}
.service-info h2 {
    font-size: 2.5rem;
    color: var(--secondary-color);
    margin-bottom: 20px;
}
.service-info p {
    font-size: 1.1rem;
    color: #555;
    margin-bottom: 25px;
}
.custom-list {
    list-style: none;
    margin-bottom: 30px;
}
.custom-list li {
    position: relative;
    padding-left: 35px;
    margin-bottom: 15px;
    font-size: 1.1rem;
    color: #444;
    font-weight: 600;
}
.custom-list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    top: 0;
    color: var(--primary-color);
    font-size: 1.2rem;
    font-weight: bold;
}
.btn-outline {
    background: transparent;
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
}
.btn-outline:hover {
    background: var(--primary-color);
    color: var(--white);
}

@media screen and (max-width: 991px) {
    .service-row, .service-row.reverse {
        flex-direction: column;
        gap: 30px;
        margin-bottom: 60px;
    }
    .service-info h2 {
        font-size: 2rem;
    }
    .service-image {
        height: 300px;
        width: 100%;
    }
}

/* Portfolio Section Styles */
.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
    margin-top: 40px;
}
.portfolio-item {
    position: relative;
    border-radius: 15px;
    overflow: hidden;
    height: 400px;
    cursor: pointer;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}
.portfolio-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}
.portfolio-item:hover img {
    transform: scale(1.1);
}
.portfolio-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, rgba(0,0,0,0.9) 0%, rgba(0,0,0,0.4) 50%, transparent 100%);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 40px 30px;
    color: var(--white);
    transition: background 0.3s ease;
}
.portfolio-overlay h3 {
    font-size: 1.8rem;
    margin-bottom: 10px;
    color: var(--white);
    transform: translateY(20px);
    transition: transform 0.4s ease;
}
.portfolio-overlay p {
    font-size: 1rem;
    color: #ccc;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.4s ease;
    margin-bottom: 15px;
}
.portfolio-overlay .btn-link {
    color: var(--primary-color);
    font-weight: bold;
    text-transform: uppercase;
    font-size: 0.9rem;
    letter-spacing: 1px;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.4s ease;
    transition-delay: 0.1s;
    display: inline-block;
}
.portfolio-item:hover .portfolio-overlay h3,
.portfolio-item:hover .portfolio-overlay p,
.portfolio-item:hover .portfolio-overlay .btn-link {
    transform: translateY(0);
    opacity: 1;
}

/* Pricing Page Styles */
.pricing-content {
    padding: 100px 5%;
    max-width: 1400px;
    margin: 0 auto;
}
.calculator-section {
    background: var(--white);
    padding: 60px;
    border-radius: 20px;
    margin-top: 80px;
    box-shadow: 0 20px 50px rgba(0,0,0,0.08);
    position: relative;
    overflow: hidden;
}
.calculator-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 10px;
    background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
}
.calc-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
}
.calc-form-group {
    margin-bottom: 25px;
}
.calc-label {
    display: block;
    margin-bottom: 10px;
    font-weight: 600;
    color: var(--secondary-color);
    font-size: 1.1rem;
}
.calc-input, .calc-select {
    width: 100%;
    padding: 15px 20px;
    border: 2px solid #eee;
    border-radius: 10px;
    font-family: inherit;
    font-size: 1rem;
    transition: all 0.3s ease;
    background: var(--light-bg);
}
.calc-input:focus, .calc-select:focus {
    border-color: var(--primary-color);
    outline: none;
    background: var(--white);
    box-shadow: 0 0 0 4px rgba(255, 59, 48, 0.1);
}
.calc-checkbox-group {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
}
.calc-checkbox-label {
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    padding: 15px;
    border: 2px solid #eee;
    border-radius: 10px;
    transition: all 0.3s ease;
    background: var(--light-bg);
    font-weight: 600;
}
.calc-checkbox-label:hover {
    border-color: #ccc;
}
.calc-checkbox-label input[type="checkbox"] {
    width: 20px;
    height: 20px;
    accent-color: var(--primary-color);
}
.calc-checkbox-label:has(input:checked) {
    border-color: var(--primary-color);
    background: rgba(255, 59, 48, 0.05);
}
.calc-result-box {
    background: var(--secondary-color);
    color: var(--white);
    padding: 40px;
    border-radius: 15px;
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}
.calc-result-box h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: #ccc;
}
.calc-total-amount {
    font-size: 4rem;
    font-weight: 800;
    color: var(--primary-color);
    margin-bottom: 20px;
    line-height: 1;
}
.calc-total-amount span {
    font-size: 2rem;
    vertical-align: top;
}
.calc-note {
    font-size: 0.9rem;
    color: #888;
    margin-bottom: 30px;
}

@media screen and (max-width: 991px) {
    .calc-grid {
        grid-template-columns: 1fr;
    }
    .calc-checkbox-group {
        grid-template-columns: 1fr;
    }
}

/* How It Works Page Styles */
.how-it-works-content {
    padding: 100px 5%;
    max-width: 1200px;
    margin: 0 auto;
}
.timeline {
    position: relative;
    max-width: 1000px;
    margin: 0 auto 80px;
}
.timeline::after {
    content: '';
    position: absolute;
    width: 4px;
    background-color: #eee;
    top: 0;
    bottom: 0;
    left: 50%;
    margin-left: -2px;
    border-radius: 2px;
}
.timeline-item {
    padding: 10px 40px;
    position: relative;
    background-color: inherit;
    width: 50%;
    margin-bottom: 40px;
}
.timeline-item.left {
    left: 0;
}
.timeline-item.right {
    left: 50%;
}
.timeline-item::after {
    content: '';
    position: absolute;
    width: 24px;
    height: 24px;
    right: -12px;
    background-color: var(--white);
    border: 4px solid var(--primary-color);
    top: 15px;
    border-radius: 50%;
    z-index: 1;
    transition: all 0.3s ease;
}
.timeline-item.right::after {
    left: -12px;
}
.timeline-item:hover::after {
    background-color: var(--primary-color);
    transform: scale(1.2);
}
.timeline-content {
    padding: 30px;
    background-color: var(--white);
    position: relative;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.timeline-item:hover .timeline-content {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.1);
}
.timeline-number {
    position: absolute;
    top: -20px;
    left: 30px;
    font-size: 3rem;
    font-weight: 800;
    color: var(--light-bg);
    z-index: 0;
    line-height: 1;
    text-shadow: -1px -1px 0 var(--primary-color), 1px -1px 0 var(--primary-color), -1px 1px 0 var(--primary-color), 1px 1px 0 var(--primary-color);
}
.timeline-content h2 {
    font-size: 1.5rem;
    color: var(--secondary-color);
    margin-bottom: 15px;
    position: relative;
    z-index: 1;
}
.timeline-content p {
    color: #555;
    font-size: 1rem;
    line-height: 1.6;
    position: relative;
    z-index: 1;
}

@media screen and (max-width: 768px) {
    .timeline::after {
        left: 31px;
    }
    .timeline-item {
        width: 100%;
        padding-left: 70px;
        padding-right: 25px;
    }
    .timeline-item.right {
        left: 0;
    }
    .timeline-item.left::after, .timeline-item.right::after {
        left: 19px;
    }
    .timeline-number {
        left: auto;
        right: 20px;
    }
}

/* Chat Widget */
.chat-widget-container {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 9999;
    font-family: var(--font-main);
}
.chat-widget-btn {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: var(--primary-color);
    color: var(--white);
    border: none;
    cursor: pointer;
    box-shadow: 0 5px 15px rgba(255, 59, 48, 0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s ease, background 0.3s;
    position: absolute;
    bottom: 0;
    right: 0;
}
.chat-widget-btn:hover {
    transform: scale(1.1);
    background: #e6352b;
}
.chat-window {
    position: absolute;
    bottom: 80px;
    right: 0;
    width: 350px;
    height: 450px;
    background: var(--white);
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
    display: flex;
    flex-direction: column;
    overflow: hidden;
    opacity: 0;
    pointer-events: none;
    transform: translateY(20px);
    transition: all 0.3s ease;
    border: 1px solid #eee;
}
.chat-window.active {
    opacity: 1;
    pointer-events: all;
    transform: translateY(0);
}
.chat-header {
    background: var(--secondary-color);
    color: var(--white);
    padding: 15px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.chat-header h3 {
    font-size: 1.1rem;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 10px;
}
.chat-header button {
    background: none;
    border: none;
    color: var(--white);
    font-size: 1.5rem;
    cursor: pointer;
    transition: color 0.3s;
}
.chat-header button:hover {
    color: var(--primary-color);
}
.chat-body {
    flex: 1;
    padding: 20px;
    overflow-y: auto;
    background: #f9f9f9;
    display: flex;
    flex-direction: column;
    gap: 15px;
}
.chat-message {
    max-width: 80%;
    padding: 10px 15px;
    border-radius: 15px;
    font-size: 0.95rem;
    line-height: 1.4;
    word-wrap: break-word;
}
.chat-message.bot {
    background: var(--white);
    color: var(--text-color);
    align-self: flex-start;
    border-bottom-left-radius: 5px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
}
.chat-message.user {
    background: var(--primary-color);
    color: var(--white);
    align-self: flex-end;
    border-bottom-right-radius: 5px;
    box-shadow: 0 2px 5px rgba(255, 59, 48, 0.2);
}
.chat-footer {
    padding: 15px;
    background: var(--white);
    border-top: 1px solid #eee;
    display: flex;
    gap: 10px;
}
.chat-footer input {
    flex: 1;
    padding: 10px 15px;
    border: 1px solid #ddd;
    border-radius: 20px;
    outline: none;
    font-family: inherit;
    font-size: 0.95rem;
}
.chat-footer input:focus {
    border-color: var(--primary-color);
}
.chat-footer button {
    background: var(--primary-color);
    color: var(--white);
    border: none;
    padding: 0 15px;
    border-radius: 20px;
    cursor: pointer;
    font-weight: bold;
    transition: background 0.3s;
}
.chat-footer button:hover {
    background: #e6352b;
}

@media screen and (max-width: 480px) {
    .chat-window {
        width: 300px;
        height: 400px;
    }
    .chat-widget-container {
        bottom: 20px;
        right: 20px;
    }
}
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Modal Styles */
.modal {
    display: none;
    position: fixed;
    z-index: 10000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6);
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(5px);
}

.modal.show {
    display: flex;
    animation: fadeIn 0.3s ease;
}

.modal-content {
    background-color: var(--white);
    padding: 40px;
    border-radius: 15px;
    text-align: center;
    max-width: 400px;
    width: 90%;
    position: relative;
    box-shadow: 0 15px 30px rgba(0,0,0,0.2);
    animation: slideIn 0.3s ease;
}

.close-modal {
    position: absolute;
    top: 15px;
    right: 20px;
    font-size: 28px;
    font-weight: bold;
    color: #aaa;
    cursor: pointer;
    transition: color 0.3s;
}

.close-modal:hover {
    color: var(--primary-color);
}

.modal-icon {
    font-size: 50px;
    margin-bottom: 20px;
}

.modal-content h2 {
    margin-bottom: 15px;
    color: var(--secondary-color);
}

.modal-content p {
    margin-bottom: 25px;
    color: #555;
}
.portfolio-modal-content {
    max-width: 600px;
    text-align: left;
}
.portfolio-modal-content p {
    margin-bottom: 5px;
}

@keyframes slideIn {
    from { transform: translateY(-50px); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}
