:root {
    --color-dark-blue: #002266;
    --color-red: #E51A2E;
    --color-light-grey: #F0F0F0;
    --color-white: #FFFFFF;
    --color-text: #1a1a1a;
    --color-text-muted: #666666;
    --font-primary: 'Inter', sans-serif;
    --transition-fast: 150ms ease-out;
    --transition-normal: 200ms ease-in-out;
    --transition-slow: 300ms ease-in-out;
    --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 15px rgba(0, 0, 0, 0.1);
    --shadow-xl: 0 20px 25px rgba(0, 0, 0, 0.15);
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-primary);
    font-size: 16px;
    line-height: 1.6;
    color: var(--color-text);
    background-color: var(--color-light-grey);
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.2;
    color: var(--color-dark-blue);
}

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

p { margin-bottom: 1rem; }

a {
    color: var(--color-dark-blue);
    text-decoration: none;
    transition: color var(--transition-fast);
}

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

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

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.section {
    padding: 5rem 0;
}

.bg-white { background-color: var(--color-white); }
.bg-light-grey { background-color: var(--color-light-grey); }
.bg-dark-blue { background-color: var(--color-dark-blue); }

.text-white { color: var(--color-white); }
.text-dark-blue { color: var(--color-dark-blue); }
.text-red { color: var(--color-red); }
.text-muted { color: var(--color-text-muted); }

/* Header Styles */
.header-wrapper {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: var(--color-white);
    transition: all var(--transition-normal);
}

.header-wrapper.sticky {
    box-shadow: var(--shadow-md);
}

.header-wrapper.sticky .main-header {
    height: 70px;
}

.header-wrapper.sticky .logo img {
    height: 40px;
}

.top-bar {
    background: var(--color-dark-blue);
    color: var(--color-white);
    font-size: 0.875rem;
    padding: 0.5rem 0;
}

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

.top-bar-left a {
    color: var(--color-white);
    text-decoration: underline;
}

.top-bar-left a:hover {
    color: var(--color-red);
}

.top-bar-right {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.top-bar-phone {
    color: var(--color-white);
    font-weight: 600;
}

.top-bar-phone:hover {
    color: var(--color-red);
}

.social-icons {
    display: flex;
    gap: 0.75rem;
}

.social-icons a {
    color: var(--color-white);
    transition: color var(--transition-fast);
}

.social-icons a:hover {
    color: var(--color-red);
}

.main-header {
    height: 80px;
    display: flex;
    align-items: center;
    transition: height var(--transition-normal);
    background: var(--color-white);
}

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

.logo img {
    height: 50px;
    transition: height var(--transition-normal);
}

.nav-desktop {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.nav-desktop a {
    font-weight: 500;
    color: var(--color-dark-blue);
    position: relative;
}

.nav-desktop a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--color-red);
    transition: width var(--transition-fast);
}

.nav-desktop a:hover::after {
    width: 100%;
}

.nav-desktop a:hover {
    color: var(--color-red);
}

.btn-primary {
    display: inline-block;
    background: var(--color-dark-blue);
    color: var(--color-white);
    padding: 0.75rem 1.5rem;
    border-radius: 6px;
    font-weight: 600;
    transition: all var(--transition-normal);
    border: none;
    cursor: pointer;
    text-decoration: none;
}

.btn-primary:hover {
    background: var(--color-red);
    color: var(--color-white);
    transform: translateY(-2px);
}

.btn-secondary {
    display: inline-block;
    background: transparent;
    color: var(--color-dark-blue);
    padding: 0.75rem 1.5rem;
    border-radius: 6px;
    font-weight: 600;
    border: 2px solid var(--color-dark-blue);
    transition: all var(--transition-normal);
    text-decoration: none;
}

.btn-secondary:hover {
    background: var(--color-dark-blue);
    color: var(--color-white);
}

/* Mobile Menu */
.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    padding: 10px;
    background: none;
    border: none;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background: var(--color-dark-blue);
    transition: all var(--transition-fast);
}

.mobile-menu {
    display: none;
    position: fixed;
    top: 0;
    right: -100%;
    width: 100%;
    height: 100vh;
    background: var(--color-white);
    z-index: 2000;
    transition: right var(--transition-slow);
    padding: 2rem;
    overflow-y: auto;
}

.mobile-menu.active {
    right: 0;
}

.mobile-menu-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
}

.mobile-menu-close {
    background: none;
    border: none;
    font-size: 2rem;
    cursor: pointer;
    color: var(--color-dark-blue);
}

.mobile-nav {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.mobile-nav a {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--color-dark-blue);
}

.mobile-menu-cta {
    margin-top: 2rem;
}

/* Hero Section */
.hero {
    position: relative;
    min-height: 70vh;
    display: flex;
    align-items: center;
    background-size: cover;
    background-position: center;
    margin-top: 128px;
    overflow: hidden;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 34, 102, 0.85);
}

.hero-content {
    position: relative;
    z-index: 1;
    color: var(--color-white);
    max-width: 700px;
}

.hero h1 {
    color: var(--color-white);
    margin-bottom: 1rem;
    font-size: 3.5rem;
}

.hero p {
    font-size: 1.25rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

.hero-cta {
    display: inline-block;
    background: var(--color-red);
    color: var(--color-white);
    padding: 1rem 2rem;
    border-radius: 6px;
    font-weight: 600;
    font-size: 1.125rem;
    transition: all var(--transition-normal);
    text-decoration: none;
}

.hero-cta:hover {
    background: #c41425;
    color: var(--color-white);
    transform: translateY(-2px);
}

/* Services Section */
.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 3rem;
}

.service-card {
    background: var(--color-white);
    border-radius: 8px;
    padding: 2rem;
    text-align: center;
    box-shadow: var(--shadow-sm);
    transition: all var(--transition-fast);
    cursor: pointer;
}

.service-card:hover {
    transform: translateY(-5px) scale(1.02);
    box-shadow: var(--shadow-lg);
}

.service-card img {
    width: 80px;
    height: 80px;
    margin: 0 auto 1.5rem;
    object-fit: contain;
}

.service-card h3 {
    margin-bottom: 1rem;
    font-size: 1.25rem;
}

.service-card p {
    color: var(--color-text-muted);
    margin-bottom: 1rem;
}

.service-card a {
    font-weight: 600;
    color: var(--color-dark-blue);
}

.service-card a:hover {
    color: var(--color-red);
}

/* Why Choose Tech24 */
.why-choose-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 3rem;
    align-items: center;
}

.why-choose-content {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
}

.why-choose-item {
    display: flex;
    gap: 1rem;
}

.why-choose-item-icon {
    width: 50px;
    height: 50px;
    flex-shrink: 0;
    background: var(--color-dark-blue);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-white);
    font-weight: 700;
}

.why-choose-item h4 {
    margin-bottom: 0.5rem;
}

.why-choose-item p {
    color: var(--color-text-muted);
    font-size: 0.9rem;
    margin: 0;
}

.why-choose-image img {
    width: 100%;
    border-radius: 8px;
    object-fit: cover;
}

/* Partner Logos */
.partner-logos-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 2rem;
    align-items: center;
    justify-items: center;
}

.partner-logos-grid img {
    max-width: 150px;
    filter: grayscale(100%);
    opacity: 0.7;
    transition: all var(--transition-normal);
}

.partner-logos-grid a:hover img,
.partner-logos-grid a:focus img {
    filter: grayscale(0%);
    opacity: 1;
}

/* Testimonials */
.testimonials-carousel {
    position: relative;
    overflow: hidden;
}

.testimonials-track {
    display: flex;
    transition: transform var(--transition-slow);
}

.testimonial-card {
    flex: 0 0 100%;
    padding: 2rem;
    background: var(--color-white);
    border-radius: 8px;
    box-shadow: var(--shadow-md);
    text-align: center;
}

.testimonial-card blockquote {
    font-size: 1.25rem;
    font-style: italic;
    margin-bottom: 1.5rem;
    color: var(--color-text);
}

.testimonial-author {
    font-weight: 600;
    color: var(--color-dark-blue);
}

.testimonial-company {
    color: var(--color-text-muted);
    font-size: 0.9rem;
}

.testimonial-nav {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-top: 2rem;
}

.testimonial-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--color-light-grey);
    border: 2px solid var(--color-dark-blue);
    cursor: pointer;
    transition: all var(--transition-fast);
}

.testimonial-dot.active {
    background: var(--color-dark-blue);
}

/* CTA Section */
.cta-section {
    background: linear-gradient(135deg, var(--color-dark-blue) 0%, #003399 100%);
    color: var(--color-white);
    text-align: center;
    padding: 4rem 0;
}

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

.cta-section p {
    font-size: 1.125rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

.cta-section .btn-primary {
    background: var(--color-red);
    color: var(--color-white);
}

.cta-section .btn-primary:hover {
    background: #c41425;
}

/* Footer */
.footer {
    background: #1a1a1a;
    color: var(--color-white);
    padding: 4rem 0 2rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1.5fr;
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-brand .logo {
    margin-bottom: 1rem;
}

.footer-brand p {
    color: #999;
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

.footer h4 {
    color: var(--color-white);
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
}

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

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

.footer-links a {
    color: #999;
    transition: color var(--transition-fast);
}

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

.footer-contact p {
    color: #999;
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.footer-contact a {
    color: var(--color-white);
    font-weight: 600;
}

.footer-contact a:hover {
    color: var(--color-red);
}

.footer-social {
    display: flex;
    gap: 1rem;
    margin-top: 1.5rem;
}

.footer-social a {
    width: 40px;
    height: 40px;
    background: #333;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-white);
    transition: all var(--transition-fast);
}

.footer-social a:hover {
    background: var(--color-red);
}

.footer-bottom {
    border-top: 1px solid #333;
    padding-top: 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: #666;
    font-size: 0.875rem;
}

.footer-bottom-links {
    display: flex;
    gap: 2rem;
}

.footer-bottom-links a {
    color: #666;
}

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

/* Process Timeline */
.process-timeline {
    display: flex;
    justify-content: space-between;
    position: relative;
    margin-top: 3rem;
}

.process-timeline::before {
    content: '';
    position: absolute;
    top: 30px;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--color-light-grey);
}

.process-step {
    flex: 1;
    text-align: center;
    position: relative;
    padding: 0 1rem;
}

.process-step-number {
    width: 60px;
    height: 60px;
    background: var(--color-dark-blue);
    color: var(--color-white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
    margin: 0 auto 1.5rem;
    position: relative;
    z-index: 1;
}

.process-step h4 {
    margin-bottom: 0.5rem;
}

.process-step p {
    color: var(--color-text-muted);
    font-size: 0.9rem;
    margin: 0;
}

/* Contact Form */
.contact-form {
    background: var(--color-white);
    padding: 2rem;
    border-radius: 8px;
    box-shadow: var(--shadow-md);
}

.form-row {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
    margin-bottom: 1.5rem;
}

.form-group {
    margin-bottom: 1.5rem;
}

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

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-family: var(--font-primary);
    font-size: 1rem;
    transition: all var(--transition-fast);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--color-dark-blue);
    box-shadow: 0 0 0 3px rgba(0, 34, 102, 0.2);
}

.form-group textarea {
    min-height: 150px;
    resize: vertical;
}

/* Team Grid */
.team-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 3rem;
}

.team-member-card {
    background: var(--color-white);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: all var(--transition-fast);
}

.team-member-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.team-member-card img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    filter: grayscale(100%);
    transition: filter var(--transition-normal);
}

.team-member-card:hover img {
    filter: grayscale(0%);
}

.team-member-info {
    padding: 1.5rem;
    text-align: center;
}

.team-member-info h4 {
    margin-bottom: 0.25rem;
}

.team-member-info p {
    color: var(--color-text-muted);
    font-size: 0.9rem;
    margin: 0;
}

/* Job Listings */
.job-listings {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-top: 2rem;
}

.job-listing {
    background: var(--color-white);
    padding: 1.5rem;
    border-radius: 8px;
    box-shadow: var(--shadow-sm);
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: all var(--transition-fast);
}

.job-listing:hover {
    box-shadow: var(--shadow-md);
}

.job-listing-info h4 {
    margin-bottom: 0.25rem;
}

.job-listing-info p {
    color: var(--color-text-muted);
    font-size: 0.9rem;
    margin: 0;
}

/* Location Cards */
.location-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 3rem;
}

.location-card {
    background: var(--color-white);
    padding: 2rem;
    border-radius: 8px;
    box-shadow: var(--shadow-sm);
    transition: all var(--transition-fast);
}

.location-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.location-card h4 {
    margin-bottom: 1rem;
    color: var(--color-dark-blue);
}

.location-card ul {
    list-style: none;
}

.location-card li {
    padding: 0.5rem 0;
    color: var(--color-text-muted);
    border-bottom: 1px solid var(--color-light-grey);
}

.location-card li:last-child {
    border-bottom: none;
}

/* Map Section */
.map-container {
    width: 100%;
    height: 400px;
    background: #e5e5e5;
    border-radius: 8px;
    overflow: hidden;
}

.map-container iframe {
    width: 100%;
    height: 100%;
    border: none;
}

/* Service Detail */
.service-detail-hero {
    background: var(--color-dark-blue);
    color: var(--color-white);
    padding: 8rem 0 4rem;
    text-align: center;
}

.service-detail-hero h1 {
    color: var(--color-white);
    margin-bottom: 1rem;
}

.service-detail-hero p {
    font-size: 1.25rem;
    opacity: 0.9;
    max-width: 600px;
    margin: 0 auto;
}

.service-description {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 3rem;
    align-items: start;
}

.service-description-content h2 {
    margin-bottom: 1.5rem;
}

.service-description-content p {
    color: var(--color-text-muted);
}

.service-benefits {
    background: var(--color-white);
    padding: 2rem;
    border-radius: 8px;
    box-shadow: var(--shadow-md);
}

.service-benefits h3 {
    margin-bottom: 1rem;
}

.service-benefits ul {
    list-style: none;
}

.service-benefits li {
    padding: 0.75rem 0;
    border-bottom: 1px solid var(--color-light-grey);
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.service-benefits li:last-child {
    border-bottom: none;
}

.service-benefits li::before {
    content: '✓';
    color: var(--color-red);
    font-weight: 700;
}

/* Common Issues List */
.common-issues {
    background: var(--color-white);
    padding: 2rem;
    border-radius: 8px;
    box-shadow: var(--shadow-sm);
}

.common-issues h3 {
    margin-bottom: 1.5rem;
}

.common-issues ul {
    list-style: none;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
}

.common-issues li {
    padding: 0.75rem;
    background: var(--color-light-grey);
    border-radius: 4px;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.common-issues li::before {
    content: '•';
    color: var(--color-red);
    font-size: 1.5rem;
}

/* About Page Sections */
.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.about-content h2 {
    margin-bottom: 1.5rem;
}

.about-content p {
    color: var(--color-text-muted);
}

.about-image img {
    width: 100%;
    border-radius: 8px;
    object-fit: cover;
}

/* Scroll Animations */
.fade-in {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.5s ease-out, transform 0.5s ease-out;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Responsive Styles */
@media (max-width: 1024px) {
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .partner-logos-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .why-choose-grid {
        grid-template-columns: 1fr;
    }
    
    .why-choose-image {
        order: -1;
    }
    
    .process-timeline {
        flex-direction: column;
        gap: 2rem;
    }
    
    .process-timeline::before {
        display: none;
    }
    
    .team-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .location-cards {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .service-description {
        grid-template-columns: 1fr;
    }
    
    .about-content {
        grid-template-columns: 1fr;
    }
    
    .common-issues ul {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .top-bar {
        display: none;
    }
    
    .nav-desktop {
        display: none;
    }
    
    .hamburger {
        display: flex;
    }
    
    .mobile-menu {
        display: block;
    }
    
    .hero {
        min-height: 60vh;
        margin-top: 64px;
    }
    
    .hero h1 {
        font-size: 2.5rem;
    }
    
    .hero p {
        font-size: 1rem;
    }
    
    .section {
        padding: 3rem 0;
    }
    
    h2 {
        font-size: 1.75rem;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    .partner-logos-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .why-choose-content {
        grid-template-columns: 1fr;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .footer-bottom {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .team-grid {
        grid-template-columns: 1fr;
    }
    
    .location-cards {
        grid-template-columns: 1fr;
    }
    
    .cta-section {
        padding: 3rem 1rem;
    }
    
    .job-listing {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }
}

/* Accessibility */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
}

:focus-visible {
    outline: 2px solid var(--color-dark-blue);
    outline-offset: 2px;
}

.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}
