/* ==================== CSS RESET & VARIABLES ==================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #2c3e50;
    --secondary-color: #3498db;
    --accent-color: #e74c3c;
    --light-gray: #ecf0f1;
    --dark-gray: #34495e;
    --white: #ffffff;
    --success-color: #27ae60;
    --warning-color: #f39c12;
    
    --font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    --transition: all 0.3s ease;
}

/* ==================== GENERAL STYLES ==================== */
html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-family);
    color: var(--primary-color);
    background-color: var(--white);
    line-height: 1.6;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

h1, h2, h3, h4, h5, h6 {
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--primary-color);
}

h1 {
    font-size: 2.5rem;
}

h2 {
    font-size: 2rem;
    margin-bottom: 2rem;
}

h3 {
    font-size: 1.5rem;
}

p {
    margin-bottom: 1rem;
    line-height: 1.8;
}

a {
    color: var(--secondary-color);
    text-decoration: none;
    transition: var(--transition);
}

a:hover {
    color: var(--accent-color);
}

/* ==================== NAVIGATION ==================== */
.navbar {
    background-color: var(--primary-color);
    color: var(--white);
    padding: 1rem 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.5rem;
    font-weight: bold;
    color: var(--secondary-color);
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-menu a {
    color: var(--white);
    font-weight: 500;
    transition: var(--transition);
    position: relative;
}

.nav-menu a:hover,
.nav-menu a.active {
    color: var(--secondary-color);
}

.nav-menu a.active::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: var(--secondary-color);
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background-color: var(--white);
    margin: 5px 0;
    transition: var(--transition);
}

/* ==================== BUTTONS ==================== */
.btn {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    border-radius: 5px;
    font-weight: 600;
    text-align: center;
    transition: var(--transition);
    border: none;
    cursor: pointer;
    text-decoration: none;
}

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

.btn-primary:hover {
    background-color: #2980b9;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(52, 152, 219, 0.4);
}

.btn-secondary {
    background-color: var(--accent-color);
    color: var(--white);
    border: 2px solid var(--accent-color);
}

.btn-secondary:hover {
    background-color: transparent;
    color: var(--accent-color);
}

.btn-large {
    padding: 1rem 2.5rem;
    font-size: 1.1rem;
}

/* ==================== HERO SECTIONS ==================== */
.hero {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: var(--white);
    padding: 6rem 0;
    text-align: center;
    min-height: 500px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-content h1 {
    color: var(--white);
    margin-bottom: 1.5rem;
    font-size: 3rem;
}

.hero-content p {
    font-size: 1.3rem;
    margin-bottom: 2rem;
}

.cta-buttons {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    flex-wrap: wrap;
}

.page-hero {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: var(--white);
    padding: 4rem 0;
    text-align: center;
}

.page-hero h1 {
    color: var(--white);
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
}

.page-hero p {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.9);
}

/* ==================== FEATURES SECTION ==================== */
.features {
    padding: 4rem 0;
    background-color: var(--white);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.feature-card {
    background-color: var(--light-gray);
    padding: 2rem;
    border-radius: 10px;
    text-align: center;
    transition: var(--transition);
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.feature-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.feature-card h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.feature-card p {
    color: var(--dark-gray);
    font-size: 0.95rem;
}

/* ==================== SERVICES PREVIEW ==================== */
.services-preview {
    padding: 4rem 0;
    background-color: var(--light-gray);
}

.services-preview-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.service-item {
    background-color: var(--white);
    padding: 2.5rem;
    border-radius: 10px;
    border-left: 5px solid var(--secondary-color);
    box-shadow: 0 3px 15px rgba(0, 0, 0, 0.1);
    transition: var(--transition);
}

.service-item:hover {
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
    transform: translateX(10px);
}

.service-item h3 {
    color: var(--secondary-color);
    margin-bottom: 1rem;
}

.service-item p {
    color: var(--dark-gray);
    margin-bottom: 1.5rem;
}

.service-item a {
    font-weight: 600;
    display: inline-block;
}

/* ==================== TESTIMONIALS ==================== */
.testimonials {
    padding: 4rem 0;
    background-color: var(--white);
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.testimonial {
    background-color: var(--light-gray);
    padding: 2rem;
    border-radius: 10px;
    border-top: 5px solid var(--secondary-color);
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
}

.testimonial p {
    font-style: italic;
    color: var(--dark-gray);
    margin-bottom: 1.5rem;
}

.testimonial h4 {
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.testimonial span {
    color: var(--secondary-color);
    font-size: 0.9rem;
    font-weight: 600;
}

/* ==================== CTA SECTION ==================== */
.cta-section {
    background: linear-gradient(135deg, var(--secondary-color), var(--primary-color));
    color: var(--white);
    padding: 4rem 0;
    text-align: center;
}

.cta-section h2 {
    color: var(--white);
    margin-bottom: 1rem;
}

.cta-section p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    color: rgba(255, 255, 255, 0.95);
}

/* ==================== ABOUT SECTION ==================== */
.about-section {
    padding: 4rem 0;
}

.about-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 3rem;
    align-items: center;
}

.about-text p {
    font-size: 1.05rem;
    color: var(--dark-gray);
    line-height: 1.9;
}

.about-stats {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
}

.stat-card {
    background: linear-gradient(135deg, var(--secondary-color), var(--primary-color));
    color: var(--white);
    padding: 2rem;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(52, 152, 219, 0.3);
}

.stat-card h3 {
    color: var(--white);
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
}

.stat-card p {
    margin: 0;
    font-size: 0.95rem;
}

/* ==================== CREDENTIALS ==================== */
.credentials {
    padding: 4rem 0;
    background-color: var(--light-gray);
}

.credentials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.credential-card {
    background-color: var(--white);
    padding: 2rem;
    border-radius: 10px;
    text-align: center;
    border: 2px solid var(--secondary-color);
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
    transition: var(--transition);
}

.credential-card:hover {
    box-shadow: 0 8px 20px rgba(52, 152, 219, 0.3);
}

.credential-card h3 {
    color: var(--secondary-color);
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
}

.credential-card p {
    color: var(--dark-gray);
    font-size: 0.95rem;
}

/* ==================== MISSION & VALUES ==================== */
.mission-values {
    padding: 4rem 0;
    background-color: var(--white);
}

.mission-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 3rem;
}

.mission-card {
    background: linear-gradient(135deg, var(--secondary-color), #5dade2);
    color: var(--white);
    padding: 2.5rem;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(52, 152, 219, 0.3);
}

.mission-card h3 {
    color: var(--white);
    margin-bottom: 1.5rem;
}

.mission-card p {
    color: rgba(255, 255, 255, 0.95);
    line-height: 1.9;
}

.values-list {
    background-color: var(--light-gray);
    padding: 2.5rem;
    border-radius: 10px;
    border-left: 5px solid var(--accent-color);
}

.values-list h3 {
    color: var(--primary-color);
    margin-bottom: 1.5rem;
}

.values-list ul {
    list-style: none;
}

.values-list li {
    padding: 0.75rem 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
    color: var(--dark-gray);
}

.values-list li:last-child {
    border-bottom: none;
}

.values-list strong {
    color: var(--secondary-color);
}

/* ==================== EXPERTISE ==================== */
.expertise {
    padding: 4rem 0;
    background-color: var(--light-gray);
}

.expertise-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.expertise-item {
    background-color: var(--white);
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
    transition: var(--transition);
    border-top: 5px solid var(--secondary-color);
}

.expertise-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.expertise-item h4 {
    color: var(--secondary-color);
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

.expertise-item p {
    color: var(--dark-gray);
    font-size: 0.95rem;
}

/* ==================== SERVICES DETAILED ==================== */
.services-detailed {
    padding: 4rem 0;
}

.service-detailed {
    margin-bottom: 3rem;
    background-color: var(--light-gray);
    padding: 2.5rem;
    border-radius: 10px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
    border-left: 5px solid var(--secondary-color);
}

.service-content h2 {
    color: var(--secondary-color);
    margin-bottom: 1.5rem;
}

.service-content p {
    color: var(--dark-gray);
    font-size: 1.05rem;
    margin-bottom: 1.5rem;
}

.service-content h3 {
    color: var(--primary-color);
    margin: 1.5rem 0 1rem 0;
    font-size: 1.3rem;
}

.service-list {
    list-style: none;
    margin-bottom: 1.5rem;
}

.service-list li {
    padding: 0.75rem 0 0.75rem 2rem;
    position: relative;
    color: var(--dark-gray);
}

.service-list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--success-color);
    font-weight: bold;
    font-size: 1.2rem;
}

/* ==================== SERVICE PROCESS ==================== */
.service-process {
    padding: 4rem 0;
    background-color: var(--light-gray);
}

.process-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
}

.step {
    background-color: var(--white);
    padding: 2rem;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
    position: relative;
    transition: var(--transition);
}

.step:hover {
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
    transform: translateY(-5px);
}

.step-number {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--secondary-color), var(--primary-color));
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 1.5rem;
    margin: 0 auto 1rem;
}

.step h3 {
    color: var(--primary-color);
    margin-bottom: 0.75rem;
}

.step p {
    color: var(--dark-gray);
    font-size: 0.95rem;
}

/* ==================== PRICING ==================== */
.pricing {
    padding: 4rem 0;
}

.pricing-table {
    overflow-x: auto;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
    border-radius: 10px;
}

table {
    width: 100%;
    border-collapse: collapse;
    background-color: var(--white);
}

table thead {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: var(--white);
}

table th {
    padding: 1.5rem;
    text-align: left;
    font-weight: 600;
}

table td {
    padding: 1.5rem;
    border-bottom: 1px solid var(--light-gray);
    color: var(--dark-gray);
}

table tbody tr:hover {
    background-color: var(--light-gray);
}

table tbody tr:last-child td {
    border-bottom: none;
}

.pricing .note {
    margin-top: 1.5rem;
    padding: 1rem;
    background-color: var(--light-gray);
    border-left: 4px solid var(--warning-color);
    color: var(--dark-gray);
    border-radius: 5px;
}

/* ==================== CONTACT SECTION ==================== */
.contact-section {
    padding: 4rem 0;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 3rem;
}

.contact-info h2 {
    color: var(--primary-color);
    margin-bottom: 1.5rem;
}

.contact-info p {
    color: var(--dark-gray);
    margin-bottom: 2rem;
}

.contact-item {
    margin-bottom: 2.5rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid var(--light-gray);
}

.contact-item:last-child {
    border-bottom: none;
}

.contact-item h3 {
    color: var(--secondary-color);
    margin-bottom: 1rem;
    font-size: 1.2rem;
}

.contact-item p {
    margin-bottom: 0.5rem;
    color: var(--dark-gray);
}

.contact-item a {
    font-weight: 600;
    color: var(--secondary-color);
}

.small {
    font-size: 0.9rem;
    color: #7f8c8d;
    margin-bottom: 0.25rem;
}

/* ==================== CONTACT FORM ==================== */
.contact-form-wrapper {
    background-color: var(--light-gray);
    padding: 2.5rem;
    border-radius: 10px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
}

.contact-form-wrapper h2 {
    color: var(--primary-color);
    margin-bottom: 2rem;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group label {
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: var(--primary-color);
}

.form-group input,
.form-group textarea,
.form-group select {
    padding: 0.75rem;
    border: 2px solid #bdc3c7;
    border-radius: 5px;
    font-family: var(--font-family);
    font-size: 1rem;
    transition: var(--transition);
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--secondary-color);
    box-shadow: 0 0 10px rgba(52, 152, 219, 0.2);
}

.form-checkbox {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-top: 0.5rem;
}

.form-checkbox input[type="checkbox"] {
    width: 20px;
    height: 20px;
    cursor: pointer;
}

.form-checkbox label {
    margin: 0;
    cursor: pointer;
    color: var(--dark-gray);
}

.form-message {
    padding: 1rem;
    border-radius: 5px;
    display: none;
    margin-top: 1rem;
}

.form-message.success {
    background-color: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
    display: block;
}

.form-message.error {
    background-color: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
    display: block;
}

/* ==================== FAQ SECTION ==================== */
.faq-section {
    padding: 4rem 0;
    background-color: var(--light-gray);
}

.faq-list {
    display: grid;
    gap: 1.5rem;
    max-width: 900px;
    margin: 0 auto;
}

.faq-item {
    background-color: var(--white);
    padding: 2rem;
    border-radius: 10px;
    border-left: 5px solid var(--secondary-color);
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
    cursor: pointer;
    transition: var(--transition);
}

.faq-item:hover {
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.faq-item h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-size: 1.2rem;
}

.faq-item p {
    color: var(--dark-gray);
    margin: 0;
}

/* ==================== QUICK CONTACT ==================== */
.quick-contact {
    padding: 4rem 0;
    background-color: var(--white);
}

.quick-buttons {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    max-width: 700px;
    margin: 0 auto;
}

.quick-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    background: linear-gradient(135deg, var(--secondary-color), #5dade2);
    color: var(--white);
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(52, 152, 219, 0.3);
    transition: var(--transition);
    text-decoration: none;
    gap: 0.75rem;
}

.quick-btn:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(52, 152, 219, 0.4);
}

.quick-btn span:first-child {
    font-size: 2rem;
}

.quick-btn span:last-child {
    font-size: 1.1rem;
    font-weight: 600;
}

.phone-btn {
    background: linear-gradient(135deg, #27ae60, #229954);
}

.email-btn {
    background: linear-gradient(135deg, #f39c12, #e67e22);
}

.form-btn {
    background: linear-gradient(135deg, var(--secondary-color), #5dade2);
}

/* ==================== FOOTER ==================== */
.footer {
    background-color: var(--primary-color);
    color: var(--white);
    padding: 3rem 0 1rem;
    margin-top: 4rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section h4 {
    color: var(--secondary-color);
    margin-bottom: 1rem;
}

.footer-section p {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.95rem;
    margin-bottom: 0.5rem;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 0.5rem;
}

.footer-section a {
    color: rgba(255, 255, 255, 0.8);
    transition: var(--transition);
}

.footer-section a:hover {
    color: var(--secondary-color);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    padding-top: 2rem;
    text-align: center;
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.95rem;
}

/* ==================== RESPONSIVE DESIGN ==================== */
@media (max-width: 768px) {
    h1 {
        font-size: 2rem;
    }

    h2 {
        font-size: 1.5rem;
    }

    .navbar .container {
        flex-direction: column;
        gap: 1rem;
    }

    .nav-menu {
        display: none;
        flex-direction: column;
        width: 100%;
        gap: 0;
        background-color: rgba(0, 0, 0, 0.1);
        padding: 1rem 0;
    }

    .nav-menu.active {
        display: flex;
    }

    .nav-menu a {
        padding: 0.75rem 1rem;
        display: block;
    }

    .hamburger {
        display: flex;
    }

    .hamburger.active span:nth-child(1) {
        transform: rotate(45deg) translate(10px, 10px);
    }

    .hamburger.active span:nth-child(2) {
        opacity: 0;
    }

    .hamburger.active span:nth-child(3) {
        transform: rotate(-45deg) translate(7px, -7px);
    }

    .hero {
        padding: 3rem 0;
        min-height: 350px;
    }

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

    .hero-content p {
        font-size: 1rem;
    }

    .cta-buttons {
        flex-direction: column;
    }

    .cta-buttons .btn {
        width: 100%;
    }

    .about-grid {
        grid-template-columns: 1fr;
    }

    .contact-grid {
        grid-template-columns: 1fr;
    }

    .mission-grid {
        grid-template-columns: 1fr;
    }

    .features-grid,
    .services-preview-grid,
    .testimonials-grid,
    .credentials-grid,
    .expertise-grid,
    .process-steps,
    .quick-buttons {
        grid-template-columns: 1fr;
    }

    .stat-card h3 {
        font-size: 2rem;
    }

    table {
        font-size: 0.9rem;
    }

    table th,
    table td {
        padding: 0.75rem;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }

    h1 {
        font-size: 1.5rem;
    }

    h2 {
        font-size: 1.3rem;
        margin-bottom: 1.5rem;
    }

    .hero {
        padding: 2rem 0;
        min-height: 250px;
    }

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

    .page-hero {
        padding: 2rem 0;
    }

    .page-hero h1 {
        font-size: 1.8rem;
    }

    .features,
    .services-preview,
    .testimonials,
    .about-section,
    .credentials,
    .mission-values,
    .expertise,
    .services-detailed,
    .service-process,
    .pricing,
    .contact-section,
    .faq-section,
    .quick-contact {
        padding: 2.5rem 0;
    }

    .feature-icon {
        font-size: 2rem;
    }

    .stat-card h3 {
        font-size: 1.5rem;
    }

    .step-number {
        width: 40px;
        height: 40px;
        font-size: 1.2rem;
    }

    .btn-large {
        padding: 0.75rem 1.5rem;
        font-size: 1rem;
    }
}
