﻿/* Base Styles & Variables */
:root {
    --primary-color: #2c3e50;
    --secondary-color: #3498db;
    --accent-color: #e74c3c;
    --light-color: #ecf0f1;
    --dark-color: #2c3e50;
    --text-color: #333;
    --light-grey: #f5f5f5;
    --border-color: #ddd;
    --success-color: #27ae60;
    --shadow: 0 2px 15px rgba(0, 0, 0, 0.1);
    --transition: all 0.3s ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 62.5%;
}

body {
    font-family: 'Poppins', sans-serif;
    font-size: 1.6rem;
    line-height: 1.6;
    color: var(--text-color);
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1.5rem;
    color: var(--dark-color);
}

h1 {
    font-size: 4rem;
}

h2 {
    font-size: 3.2rem;
}

h3 {
    font-size: 2.4rem;
}

p {
    margin-bottom: 1.5rem;
}

.section-heading {
    text-align: center;
    margin-bottom: 1rem;
    position: relative;
}

.section-subheading {
    text-align: center;
    font-size: 1.8rem;
    color: #666;
    margin-bottom: 4rem;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 1.2rem 2.4rem;
    border-radius: 4px;
    font-weight: 600;
    text-align: center;
    cursor: pointer;
    transition: var(--transition);
    font-size: 1.6rem;
}

.btn-primary {
    background-color: var(--secondary-color);
    color: white;
    border: 2px solid var(--secondary-color);
}

.btn-primary:hover {
    background-color: transparent;
    color: var(--secondary-color);
}

.btn-secondary {
    background-color: transparent;
    color: var(--secondary-color);
    border: 2px solid var(--secondary-color);
}

.btn-secondary:hover {
    background-color: var(--secondary-color);
    color: white;
}

.btn-nav {
    padding: 0.8rem 1.6rem;
    font-size: 1.4rem;
}

.btn-full {
    width: 100%;
}

/* Header & Navigation */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background-color: white;
    box-shadow: var(--shadow);
    padding: 1.5rem 0;
    transition: var(--transition);
}

.header.sticky {
    padding: 1rem 0;
}

.header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    height: 4rem;
}

.logo img {
    height: 100%;
}

.main-nav {
    display: flex;
    align-items: center;
}

.nav-list {
    display: flex;
    align-items: center;
}

.nav-list li {
    margin-left: 3rem;
}

.nav-list a {
    font-weight: 500;
    transition: var(--transition);
}

.nav-list a:hover {
    color: var(--secondary-color);
}

.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
}

/* Hero Section */
.hero {
    padding: 12rem 0 6rem;
    background-color: var(--primary-color);
    color: white;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(44, 62, 80, 0.9) 0%, rgba(52, 152, 219, 0.8) 100%);
    z-index: 1;
}

.hero .container {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.hero-content {
    flex: 1;
    max-width: 50%;
}

.hero h1 {
    color: white;
    margin-bottom: 2rem;
}

.hero .subheading {
    font-size: 1.8rem;
    margin-bottom: 3rem;
    color: rgba(255, 255, 255, 0.9);
}

.cta-buttons {
    display: flex;
    gap: 1.5rem;
}

.hero-image {
    flex: 1;
    display: flex;
    justify-content: flex-end;
}

.hero-image img {
    max-width: 90%;
    border-radius: 8px;
    box-shadow: var(--shadow);
}

/* About Section */
.about {
    padding: 8rem 0;
    background-color: white;
}

.about-content {
    display: flex;
    align-items: center;
    gap: 5rem;
}

.about-image {
    flex: 1;
}

.about-image img {
    border-radius: 8px;
    box-shadow: var(--shadow);
}

.about-text {
    flex: 1.5;
}

.stats-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.stat-box {
    text-align: center;
    padding: 2rem;
    border-radius: 8px;
    background-color: var(--light-grey);
    transition: var(--transition);
}

.stat-box:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow);
}

.stat-number {
    display: block;
    font-size: 3rem;
    font-weight: 700;
    color: var(--secondary-color);
    margin-bottom: 1rem;
}

.stat-text {
    font-size: 1.4rem;
    color: #666;
}

/* Advantage Section */
.advantage {
    padding: 8rem 0;
    background-color: var(--light-grey);
}

.advantages-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 3rem;
}

.advantage-card {
    background-color: white;
    padding: 3rem;
    border-radius: 8px;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.advantage-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.advantage-icon {
    font-size: 3rem;
    color: var(--secondary-color);
    margin-bottom: 2rem;
}

.advantage-card h3 {
    font-size: 2rem;
    margin-bottom: 1.5rem;
}

/* Services Section */
.services {
    padding: 8rem 0;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 3rem;
}

.service-card {
    padding: 3rem;
    border-radius: 8px;
    box-shadow: var(--shadow);
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    height: 100%;
}

.service-card:hover {
    transform: translateY(-5px);
}

.service-icon {
    font-size: 3rem;
    color: var(--secondary-color);
    margin-bottom: 2rem;
}

.service-card h3 {
    font-size: 2rem;
    margin-bottom: 1.5rem;
}

.service-features {
    margin: 2rem 0;
    flex-grow: 1;
}

.service-features li {
    margin-bottom: 1rem;
    padding-left: 2rem;
    position: relative;
}

.service-features li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--success-color);
}

.service-card .btn {
    align-self: flex-start;
}

/* Process Section */
.process {
    padding: 8rem 0;
    background-color: var(--light-grey);
}

.process-timeline {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
}

.process-timeline::before {
    content: '';
    position: absolute;
    top: 0;
    left: 1.5rem;
    height: 100%;
    width: 2px;
    background-color: var(--secondary-color);
}

.process-step {
    display: flex;
    margin-bottom: 3rem;
    position: relative;
}

.process-icon {
    position: relative;
    min-width: 6rem;
    height: 6rem;
    border-radius: 50%;
    background-color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: var(--secondary-color);
    box-shadow: 0 0 0 4px var(--secondary-color);
    z-index: 1;
    margin-right: 2rem;
    margin-top: 0.5rem;
}

.step-number {
    position: absolute;
    top: -10px;
    right: -10px;
    background-color: var(--primary-color);
    color: white;
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    font-weight: 700;
    z-index: 2;
}

.process-content {
    background-color: white;
    padding: 2rem;
    border-radius: 8px;
    box-shadow: var(--shadow);
    flex-grow: 1;
}

.process-content h3 {
    font-size: 2rem;
    margin-bottom: 1rem;
}

/* CTA Section */
.cta-section {
    padding: 6rem 0;
    background-color: var(--secondary-color);
    color: white;
    text-align: center;
}

.cta-section h2 {
    color: white;
    margin-bottom: 1.5rem;
}

.cta-section p {
    max-width: 600px;
    margin: 0 auto 3rem;
}

.cta-section .btn-primary {
    background-color: white;
    color: var(--secondary-color);
    border-color: white;
}

.cta-section .btn-primary:hover {
    background-color: transparent;
    color: white;
}

/* Portfolio Section */
.portfolio {
    padding: 8rem 0;
}

.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 3rem;
}

.portfolio-item {
    border-radius: 8px;
    overflow: hidden;
    box-shadow: var(--shadow);
}

.portfolio-image {
    overflow: hidden;
    height: 200px;
}

.portfolio-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.portfolio-item:hover .portfolio-image img {
    transform: scale(1.05);
}

.portfolio-content {
    padding: 2rem;
}

.portfolio-content h3 {
    font-size: 2rem;
    margin-bottom: 1rem;
}

.portfolio-stats {
    display: flex;
    margin-top: 2rem;
    border-top: 1px solid var(--border-color);
    padding-top: 1.5rem;
}

.stat {
    flex: 1;
    text-align: center;
}

.stat-value {
    display: block;
    font-size: 2.4rem;
    font-weight: 700;
    color: var(--success-color);
}

.stat-label {
    font-size: 1.2rem;
    color: #666;
}

.portfolio-cta {
    text-align: center;
    margin-top: 4rem;
}

/* Testimonials Section */
.testimonials {
    padding: 8rem 0;
    background-color: var(--light-grey);
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 3rem;
}

.testimonial-card {
    background-color: white;
    padding: 3rem;
    border-radius: 8px;
    box-shadow: var(--shadow);
}

.testimonial-rating {
    color: #ffc107;
    font-size: 1.8rem;
    margin-bottom: 2rem;
}

.testimonial-text {
    font-style: italic;
    margin-bottom: 2rem;
}

.testimonial-author {
    display: flex;
    align-items: center;
    border-top: 1px solid var(--border-color);
    padding-top: 2rem;
}

.author-image {
    width: 5rem;
    height: 5rem;
    border-radius: 50%;
    object-fit: cover;
    margin-right: 1.5rem;
}

.author-info h4 {
    margin-bottom: 0.5rem;
    font-size: 1.6rem;
}

.author-info p {
    margin-bottom: 0;
    color: #666;
    font-size: 1.4rem;
}

/* Contact Section */
.contact {
    padding: 8rem 0;
}

.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 4rem;
}

.contact-info {
    background-color: var(--primary-color);
    color: white;
    padding: 3rem;
    border-radius: 8px;
    height: 100%;
}

.contact-info h3 {
    color: white;
    margin-bottom: 2rem;
}

.contact-details li {
    display: flex;
    align-items: center;
    margin-bottom: 1.5rem;
}

.contact-details li i {
    margin-right: 1.5rem;
    font-size: 2rem;
    color: var(--secondary-color);
}

.contact-details a {
    color: white;
    transition: var(--transition);
}

.contact-details a:hover {
    color: var(--secondary-color);
}

.social-links {
    display: flex;
    gap: 1.5rem;
    margin-top: 3rem;
}

.social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 4rem;
    height: 4rem;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.1);
    color: white;
    font-size: 1.8rem;
    transition: var(--transition);
}

.social-links a:hover {
    background-color: var(--secondary-color);
    transform: translateY(-3px);
}

.contact-form {
    background-color: white;
    padding: 3rem;
    border-radius: 8px;
    box-shadow: var(--shadow);
}

.contact-form h3 {
    margin-bottom: 2rem;
}

.form-group {
    margin-bottom: 2rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.8rem;
    font-weight: 500;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 1.2rem;
    border: 1px solid var(--border-color);
    border-radius: 4px;
    transition: var(--transition);
    font-family: inherit;
    font-size: 1.6rem;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--secondary-color);
    box-shadow: 0 0 0 2px rgba(52, 152, 219, 0.2);
}

.checkbox-group {
    display: flex;
    align-items: flex-start;
}

.checkbox-group input {
    width: auto;
    margin-right: 1rem;
    margin-top: 0.4rem;
}

.checkbox-group label {
    font-size: 1.4rem;
    margin-bottom: 0;
}

/* FAQ Section */
.faq {
    padding: 8rem 0;
    background-color: white;
}

.faq-accordion {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    margin-bottom: 1.5rem;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: var(--shadow);
}

.faq-question {
    width: 100%;
    background-color: white;
    text-align: left;
    padding: 2rem;
    font-weight: 600;
    font-size: 1.8rem;
    cursor: pointer;
    border: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-family: inherit;
}

.faq-question i {
    transition: var(--transition);
    font-size: 1.4rem;
}

.faq-question.active i {
    transform: rotate(180deg);
}

.faq-answer {
    padding: 0 2rem;
    max-height: 0;
    overflow: hidden;
    transition: var(--transition);
    background-color: #f9f9f9;
}

.faq-answer.active {
    padding: 2rem;
    max-height: 500px;
}

/* Blog Section */
.blog {
    padding: 8rem 0;
    background-color: var(--light-grey);
}

.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 3rem;
}

.blog-card {
    background-color: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.blog-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.blog-image {
    height: 200px;
    overflow: hidden;
}

.blog-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.blog-card:hover .blog-image img {
    transform: scale(1.05);
}

.blog-content {
    padding: 2rem;
}

.blog-date {
    display: block;
    font-size: 1.4rem;
    color: #666;
    margin-bottom: 1rem;
}

.blog-content h3 {
    font-size: 2rem;
    margin-bottom: 1rem;
}

.blog-link {
    display: inline-flex;
    align-items: center;
    color: var(--secondary-color);
    font-weight: 600;
    transition: var(--transition);
    margin-top: 1rem;
}

.blog-link i {
    margin-left: 0.5rem;
    transition: var(--transition);
}

.blog-link:hover {
    color: var(--primary-color);
}

.blog-link:hover i {
    transform: translateX(3px);
}

.blog-cta {
    text-align: center;
    margin-top: 4rem;
}

/* Footer */
.footer {
    background-color: var(--dark-color);
    color: white;
    padding: 6rem 0 2rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 4rem;
    margin-bottom: 4rem;
}

.footer-column h3 {
    color: white;
    font-size: 1.8rem;
    margin-bottom: 2rem;
    position: relative;
}

.footer-column h3::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 50px;
    height: 2px;
    background-color: var(--secondary-color);
}

.footer-logo {
    margin-bottom: 2rem;
}

.footer-logo img {
    max-height: 4rem;
}

.footer-links li {
    margin-bottom: 1rem;
}

.footer-links a {
    transition: var(--transition);
}

.footer-links a:hover {
    color: var(--secondary-color);
    padding-left: 5px;
}

.footer-contact li {
    display: flex;
    align-items: center;
    margin-bottom: 1.5rem;
}

.footer-contact li i {
    margin-right: 1rem;
    color: var(--secondary-color);
}

.footer-social {
    display: flex;
    gap: 1.5rem;
    margin-top: 2rem;
}

.footer-social a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 4rem;
    height: 4rem;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.1);
    transition: var(--transition);
}

.footer-social a:hover {
    background-color: var(--secondary-color);
    transform: translateY(-3px);
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 1.4rem;
}

.footer-legal {
    display: flex;
    gap: 2rem;
}

.footer-legal a:hover {
    color: var(--secondary-color);
}

/* Responsive Design */
@media screen and (max-width: 992px) {
    html {
        font-size: 60%;
    }
    
    .hero .container {
        flex-direction: column;
        text-align: center;
    }
    
    .hero-content {
        max-width: 100%;
        margin-bottom: 4rem;
    }
    
    .cta-buttons {
        justify-content: center;
    }
    
    .about-content {
        flex-direction: column;
    }
    
    .contact-wrapper {
        grid-template-columns: 1fr;
    }
}

@media screen and (max-width: 768px) {
    html {
        font-size: 58%;
    }
    
    .mobile-menu-toggle {
        display: block;
        z-index: 1001;
    }
    
    .mobile-menu-toggle span {
        display: block;
        width: 25px;
        height: 3px;
        background-color: var(--dark-color);
        margin: 5px 0;
        border-radius: 3px;
        transition: var(--transition);
    }
    
    .mobile-menu-toggle.active span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 6px);
    }
    
    .mobile-menu-toggle.active span:nth-child(2) {
        opacity: 0;
    }
    
    .mobile-menu-toggle.active span:nth-child(3) {
        transform: rotate(-45deg) translate(5px, -6px);
    }
    
    .nav-list {
        position: fixed;
        top: 0;
        right: -100%;
        height: 100vh;
        width: 300px;
        background-color: white;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        transition: var(--transition);
        z-index: 1000;
        box-shadow: -5px 0 15px rgba(0, 0, 0, 0.1);
    }
    
    .nav-list.active {
        right: 0;
    }
    
    .nav-list li {
        margin: 1.5rem 0;
    }
    
    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }
    
    .footer-legal {
        margin-top: 1.5rem;
    }
}

@media screen and (max-width: 576px) {
    html {
        font-size: 55%;
    }
    
    h1 {
        font-size: 3.4rem;
    }
    
    h2 {
        font-size: 2.8rem;
    }
    
    .stat-box {
        padding: 1.5rem;
    }
    
    .cta-buttons {
        flex-direction: column;
        gap: 1rem;
    }
    
    .cta-buttons .btn {
        width: 100%;
    }
}