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

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #2C3E50;
    background: #F8F9FA;
    min-height: 100vh;
}

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

/* Header Styles */
.header {
    background: #8B1538;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 15px 0;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.15);
}

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

.logo {
    color: #FFFFFF;
    font-size: 1.5rem;
    font-weight: bold;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 12px;
}

.nav {
    display: flex;
    list-style: none;
    gap: 5px;
    align-items: center;
}

.nav a {
    color: #FFFFFF !important;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    padding: 0.6rem 1rem;
    border-radius: 5px;
    white-space: nowrap;
    font-size: 0.95rem;
    display: inline-block;
    visibility: visible !important;
    opacity: 1 !important;
}

.nav a:hover {
    background: rgba(255, 255, 255, 0.15);
    color: #FFFFFF;
}

/* Mobile Menu Toggle Button */
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 24px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 1001;
    position: relative;
}

.mobile-menu-toggle span {
    display: block;
    width: 100%;
    height: 3px;
    background: #FFFFFF;
    border-radius: 3px;
    transition: all 0.3s ease;
    position: relative;
}

.mobile-menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(8px, 8px);
}

.mobile-menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

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

@media (max-width: 768px) {
    .header .container {
        position: relative;
    }
    
    .mobile-menu-toggle {
        display: flex !important;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        position: absolute;
        right: 20px;
        top: 50%;
        transform: translateY(-50%);
        width: 35px;
        height: 35px;
        background: transparent;
        border: none;
        cursor: pointer;
        padding: 5px;
        z-index: 1001;
    }
    
    .mobile-menu-toggle span {
        background-color: #FFFFFF !important;
    }
    
    .nav {
        position: fixed;
        top: 75px;
        left: 0;
        right: 0;
        background: #8B1538;
        flex-direction: column;
        padding: 0;
        gap: 0;
        max-height: 0;
        overflow: hidden;
        opacity: 0;
        visibility: hidden;
        transition: all 0.3s ease;
        box-shadow: 0 4px 6px rgba(0, 0, 0, 0.3);
        z-index: 999;
    }
    
    .nav a {
        padding: 18px 20px;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
        display: block;
        text-align: left;
        font-size: 1.1rem;
        width: 100%;
    }
    
    .nav a:last-child {
        border-bottom: none;
    }
    
    .logo {
        font-size: 1.2rem;
    }
    
    .logo span {
        display: none;
    }
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, rgba(139, 21, 56, 0.92), rgba(45, 122, 79, 0.88)), url('../img/hero-tech-team.jpg');
    background-size: cover;
    background-position: center;
    padding: 140px 0 100px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 50% 50%, rgba(45, 122, 79, 0.2) 0%, transparent 70%);
    pointer-events: none;
}

.hero-content {
    position: relative;
    z-index: 2;
}

.hero h1 {
    font-size: 3.5rem;
    font-weight: bold;
    margin-bottom: 30px;
    color: #FFFFFF;
    line-height: 1.2;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.hero-subtitle {
    font-size: 1.4rem;
    color: #FFFFFF;
    margin-bottom: 40px;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.7;
}

.cta-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
    align-items: center;
}

.cta-button {
    display: inline-block;
    background: linear-gradient(135deg, #2D7A4F 0%, #1B7340 100%);
    color: #FFFFFF;
    padding: 15px 35px;
    text-decoration: none;
    border-radius: 8px;
    font-weight: bold;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(45, 122, 79, 0.3);
}

.cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(45, 122, 79, 0.4);
    background: linear-gradient(135deg, #1B7340 0%, #145A30 100%);
}

.cta-button.secondary {
    background: transparent;
    border: 2px solid #FFFFFF;
    color: #FFFFFF;
}

.cta-button.secondary:hover {
    background: rgba(255, 255, 255, 0.15);
}

/* USP Bar */
.usp-bar {
    background: #FFFFFF;
    padding: 60px 0;
    border-bottom: 1px solid #E5E7EB;
}

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

.usp-item {
    text-align: center;
    padding: 20px;
}

.usp-icon {
    font-size: 3rem;
    margin-bottom: 15px;
}

.usp-item h3 {
    color: #8B1538;
    margin-bottom: 10px;
    font-size: 1.3rem;
    font-weight: 600;
}

.usp-item p {
    color: #4B5563;
    font-size: 1rem;
    line-height: 1.6;
}

/* Section Styles */
.section {
    padding: 80px 0;
}

.section.white {
    background: #FFFFFF;
}

.section.gray {
    background: #F8F9FA;
}

.section.burgundy {
    background: #8B1538;
    color: #FFFFFF;
}

.section.green {
    background: #2D7A4F;
    color: #FFFFFF;
}

.section h2 {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 20px;
    color: #8B1538;
    font-weight: 700;
}

.section.burgundy h2,
.section.green h2 {
    color: #FFFFFF;
}

.section-subtitle {
    text-align: center;
    font-size: 1.2rem;
    color: #6B7280;
    margin-bottom: 50px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.section.burgundy .section-subtitle,
.section.green .section-subtitle {
    color: #E5E7EB;
}

.section p {
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 20px;
    color: #4B5563;
}

.section.burgundy p,
.section.green p {
    color: #E5E7EB;
}

/* Grid Styles */
.grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.card {
    background: #FFFFFF;
    border: 1px solid #E5E7EB;
    border-radius: 12px;
    padding: 30px;
    text-align: center;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.card:hover {
    transform: translateY(-5px);
    border-color: #2D7A4F;
    box-shadow: 0 8px 24px rgba(45, 122, 79, 0.15);
}

.card h3 {
    color: #8B1538;
    margin-bottom: 15px;
    font-size: 1.3rem;
    font-weight: 600;
}

.card p {
    color: #4B5563;
    font-size: 1rem;
    line-height: 1.6;
}

/* Expertise Grid */
.expertise-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
    margin-top: 40px;
}

.expertise-card {
    background: #FFFFFF;
    border: 1px solid #E5E7EB;
    border-radius: 10px;
    padding: 25px;
    transition: all 0.3s ease;
}

.expertise-card:hover {
    transform: translateY(-3px);
    border-color: #2D7A4F;
    box-shadow: 0 6px 20px rgba(45, 122, 79, 0.12);
}

.expertise-card h3 {
    color: #8B1538;
    margin-bottom: 12px;
    font-size: 1.2rem;
    font-weight: 600;
}

.expertise-card p {
    color: #6B7280;
    font-size: 0.95rem;
    line-height: 1.6;
}

/* Comparison Table */
.comparison-table {
    width: 100%;
    margin: 40px 0;
    border-collapse: collapse;
    background: #FFFFFF;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
}

.comparison-table th,
.comparison-table td {
    padding: 20px;
    text-align: left;
    border-bottom: 1px solid #E5E7EB;
}

.comparison-table th {
    background: #8B1538;
    color: #FFFFFF;
    font-weight: 600;
    font-size: 1.1rem;
}

.comparison-table td:first-child {
    color: #8B1538;
    font-weight: 600;
    background: #F9FAFB;
}

.comparison-table td:nth-child(2) {
    color: #1F2937;
    background: #E8F5E9;
    border-left: 3px solid #2D7A4F;
}

.comparison-table td:nth-child(3) {
    color: #6B7280;
}

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

/* Process Steps */
.process-steps {
    margin: 40px 0;
}

.step {
    background: #FFFFFF;
    border-left: 4px solid #2D7A4F;
    padding: 25px;
    margin-bottom: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.step h3 {
    color: #8B1538;
    margin-bottom: 10px;
    font-size: 1.3rem;
    font-weight: 600;
}

.step p {
    color: #4B5563;
    line-height: 1.7;
}

/* Testimonial Section */
.testimonial {
    background: linear-gradient(135deg, #FFF5F5 0%, #FFE8E8 100%);
    border: 2px solid #8B1538;
    border-radius: 12px;
    padding: 40px;
    margin: 40px 0;
    text-align: center;
}

.testimonial-quote {
    font-size: 1.3rem;
    font-style: italic;
    color: #1F2937;
    margin-bottom: 20px;
    line-height: 1.8;
}

.testimonial-author {
    color: #8B1538;
    font-weight: bold;
    font-size: 1.1rem;
}

.testimonial-title {
    color: #6B7280;
    font-size: 1.1rem;
    font-style: italic;
}

/* Contact Section */
.contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.contact-card {
    background: #FFFFFF;
    border: 1px solid #E5E7EB;
    border-radius: 12px;
    padding: 30px;
    text-align: center;
    transition: all 0.3s ease;
}

.contact-card:hover {
    border-color: #2D7A4F;
    box-shadow: 0 6px 20px rgba(45, 122, 79, 0.12);
}

.contact-card h3 {
    color: #8B1538;
    margin-bottom: 15px;
    font-size: 1.3rem;
    font-weight: 600;
}

.contact-card p {
    color: #4B5563;
    margin-bottom: 10px;
}

.contact-card a {
    color: #2D7A4F;
    text-decoration: none;
    transition: color 0.3s ease;
    font-weight: 500;
}

.contact-card a:hover {
    color: #1B7340;
}

/* Footer */
.footer {
    background: #8B1538;
    padding: 40px 0;
    text-align: center;
    border-top: 3px solid #2D7A4F;
}

.footer-content p {
    margin-bottom: 10px;
    color: #E5E7EB;
}

/* Text Alignment Helpers */
.text-center {
    text-align: center;
}

.text-left {
    text-align: left;
}

.mx-auto {
    margin-left: auto;
    margin-right: auto;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .hero h1 {
        font-size: 2.5rem;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
    }
    
    .section {
        padding: 60px 0;
    }
    
    .section h2 {
        font-size: 2rem;
    }
    
    .grid {
        grid-template-columns: 1fr;
    }
    
    .expertise-grid {
        grid-template-columns: 1fr;
    }
    
    .comparison-table {
        font-size: 0.85rem;
    }
    
    .comparison-table th,
    .comparison-table td {
        padding: 12px 8px;
    }
    
    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .cta-button {
        width: 100%;
        max-width: 350px;
        text-align: center;
    }
    
    .usp-grid {
        grid-template-columns: 1fr;
    }
    
    .contact-grid {
        grid-template-columns: 1fr;
    }
}
