/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #fff;
}

img {
    max-width: 100%;
    height: auto;
}

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header */
.header {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    transition: all 0.3s ease;
}

.nav-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0;
}

.logo {
    display: flex;
    align-items: center;
    font-size: 1.5rem;
    font-weight: bold;
    color: #2563eb;
}

.logo-image {
    height: 50px;
    width: auto;
    margin-right: 1rem;
    object-fit: contain;
}

.logo-text {
    font-size: 1.5rem;
    font-weight: bold;
    color: #2563eb;
}

.nav-list {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-link {
    text-decoration: none;
    color: #333;
    font-weight: 500;
    padding: 0.5rem 1rem;
    border-radius: 5px;
    transition: all 0.3s ease;
}

.nav-link:hover {
    color: #2563eb;
    background: rgba(37, 99, 235, 0.1);
}

.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.mobile-menu-toggle span {
    width: 25px;
    height: 3px;
    background: #333;
    margin: 3px 0;
    transition: 0.3s;
}

/* Main Content Offset */
main {
    margin-top: 80px;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 30px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: 600;
    text-align: center;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 1rem;
}

.btn-primary {
    background: #2563eb;
    color: white;
}

.btn-primary:hover {
    background: #1d4ed8;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(37, 99, 235, 0.3);
}

.btn-secondary {
    background: transparent;
    color: #2563eb;
    border: 2px solid #2563eb;
}

.btn-secondary:hover {
    background: #2563eb;
    color: white;
}

.btn-white {
    background: white;
    color: #2563eb;
    border: 2px solid white;
}

.btn-white:hover {
    background: transparent;
    color: white;
}

.btn-emergency {
    background: #dc2626;
    color: white;
}

.btn-emergency:hover {
    background: #b91c1c;
}

.btn-full {
    width: 100%;
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.8) 0%, rgba(29, 78, 216, 0.8) 100%), 
                url('images/hero/hero-background.jpg') center/cover no-repeat;
    padding: 100px 0;
    min-height: 80vh;
    display: flex;
    align-items: center;
    position: relative;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.8) 0%, rgba(29, 78, 216, 0.8) 100%);
    z-index: 1;
}

.hero .container {
    position: relative;
    z-index: 2;
}

.hero .container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.hero-content h1 {
    font-size: 3.5rem;
    font-weight: bold;
    margin-bottom: 1.5rem;
    line-height: 1.2;
    color: white;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.hero-content p {
    font-size: 1.25rem;
    margin-bottom: 2rem;
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.6;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.hero-image img {
    border-radius: 15px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

/* Page Hero */
.page-hero {
    background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%);
    color: white;
    text-align: center;
    padding: 100px 0 60px;
}

.page-hero h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.page-hero p {
    font-size: 1.25rem;
    opacity: 0.9;
}

/* Services Overview */
.services-overview {
    padding: 80px 0;
    background: #f8fafc;
}

.services-overview h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: #1e293b;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.service-card {
    background: white;
    padding: 2.5rem;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    border: 1px solid #e2e8f0;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.service-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #2563eb, #1d4ed8);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    color: white;
    font-size: 2rem;
}

.service-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: #1e293b;
}

.service-card p {
    color: #64748b;
    line-height: 1.6;
}

/* Brands Section */
.brands-section {
    padding: 80px 0;
    background: white;
}

.brands-section h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: #1e293b;
}

.brands-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    gap: 1.5rem;
    perspective: 1000px;
}

.brand-item {
    background: #f8fafc;
    background: white;
    border: 2px solid #e5e7eb;
    padding: 2rem;
    border-radius: 10px;
    text-align: center;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 100px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    position: relative;
    overflow: hidden;
    cursor: pointer;
}

.brand-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(37, 99, 235, 0.1), transparent);
    transition: left 0.6s ease;
}

.brand-item:hover::before {
    left: 100%;
}

.brand-item:hover {
    border-color: #3b82f6;
    background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
    box-shadow: 0 15px 35px rgba(37, 99, 235, 0.2), 0 5px 15px rgba(0, 0, 0, 0.1);
    transform: translateY(-8px) rotateX(5deg);
}

.brand-logo-img {
    max-width: 100%;
    max-height: 60px;
    width: auto;
    height: auto;
    object-fit: contain;
    filter: none !important;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    z-index: 2;
}

.brand-item:hover .brand-logo-img {
    filter: none !important;
}

/* Enhanced loading animation for regular brands */
.brand-item {
    animation: brandFadeIn 0.6s ease forwards;
}

.brand-item:nth-child(1) { animation-delay: 0.1s; }
.brand-item:nth-child(2) { animation-delay: 0.2s; }
.brand-item:nth-child(3) { animation-delay: 0.3s; }
.brand-item:nth-child(4) { animation-delay: 0.4s; }
.brand-item:nth-child(5) { animation-delay: 0.5s; }
.brand-item:nth-child(6) { animation-delay: 0.6s; }
.brand-item:nth-child(7) { animation-delay: 0.7s; }
.brand-item:nth-child(8) { animation-delay: 0.8s; }
.brand-item:nth-child(9) { animation-delay: 0.9s; }
.brand-item:nth-child(10) { animation-delay: 0.1s; }
.brand-item:nth-child(11) { animation-delay: 0.1s; }
.brand-item:nth-child(12) { animation-delay: 0.2s; }
.brand-item:nth-child(13) { animation-delay: 0.3s; }
.brand-item:nth-child(14) { animation-delay: 0.4s; }
.brand-item:nth-child(15) { animation-delay: 0.5s; }
.brand-item:nth-child(16) { animation-delay: 0.6s; }
.brand-item:nth-child(17) { animation-delay: 0.7s; }
.brand-item:nth-child(18) { animation-delay: 0.8s; }
.brand-item:nth-child(19) { animation-delay: 0.9s; }
.brand-item:nth-child(20) { animation-delay: 0.1s; }
.brand-item:nth-child(21) { animation-delay: 0.1s; }


/* AMSII Style Brand Grid for Products Page */
.brands-amsii-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
    perspective: 1000px;
}

.brand-amsii-item {
    background: white;
    border: 2px solid #e5e7eb;
    border-radius: 12px;
    padding: 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 120px;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    position: relative;
    overflow: hidden;
    cursor: pointer;
}

.brand-amsii-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(37, 99, 235, 0.1), transparent);
    transition: left 0.6s ease;
}

.brand-amsii-item:hover::before {
    left: 100%;
}

.brand-amsii-item:hover {
    border-color: #3b82f6;
    box-shadow: 0 15px 35px rgba(37, 99, 235, 0.2), 0 5px 15px rgba(0, 0, 0, 0.1);
    transform: translateY(-8px) rotateX(5deg);
    background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
}

.brand-amsii-item img {
    max-width: 140px;
    max-height: 70px;
    width: auto;
    height: auto;
    object-fit: contain;
    filter: none !important;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    z-index: 2;
}

.brand-amsii-item:hover img {
    filter: none !important;
}

/* Enhanced loading animation */
@keyframes brandFadeIn {
    0% {
        opacity: 0;
        transform: translateY(30px) scale(0.9);
    }
    100% {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.brand-amsii-item {
    animation: brandFadeIn 0.6s ease forwards;
}

.brand-amsii-item:nth-child(1) { animation-delay: 0.1s; }
.brand-amsii-item:nth-child(2) { animation-delay: 0.2s; }
.brand-amsii-item:nth-child(3) { animation-delay: 0.3s; }
.brand-amsii-item:nth-child(4) { animation-delay: 0.4s; }
.brand-amsii-item:nth-child(5) { animation-delay: 0.5s; }
.brand-amsii-item:nth-child(6) { animation-delay: 0.6s; }
.brand-amsii-item:nth-child(7) { animation-delay: 0.7s; }
.brand-amsii-item:nth-child(8) { animation-delay: 0.8s; }
.brand-amsii-item:nth-child(9) { animation-delay: 0.9s; }
.brand-amsii-item:nth-child(10) { animation-delay: 0.0s; }
.brand-amsii-item:nth-child(11) { animation-delay: 0.1s; }
.brand-amsii-item:nth-child(12) { animation-delay: 0.2s; }
.brand-amsii-item:nth-child(13) { animation-delay: 0.3s; }
.brand-amsii-item:nth-child(14) { animation-delay: 0.4s; }
.brand-amsii-item:nth-child(15) { animation-delay: 0.5s; }
.brand-amsii-item:nth-child(16) { animation-delay: 0.6s; }
.brand-amsii-item:nth-child(17) { animation-delay: 0.7s; }
.brand-amsii-item:nth-child(18) { animation-delay: 0.8s; }
.brand-amsii-item:nth-child(19) { animation-delay: 0.9s; }
.brand-amsii-item:nth-child(20) { animation-delay: 0.1s; }
.brand-amsii-item:nth-child(21) { animation-delay: 0.1s; }


/* Why Choose Us */
.why-choose-us {
    padding: 80px 0;
    background: #f8fafc;
}

.content-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.text-content h2 {
    font-size: 2.5rem;
    margin-bottom: 2rem;
    color: #1e293b;
}

.features-list {
    list-style: none;
    margin: 2rem 0;
}

.features-list li {
    display: flex;
    align-items: center;
    margin-bottom: 1rem;
    font-size: 1.1rem;
    color: #64748b;
}

.features-list i {
    color: #22c55e;
    margin-right: 1rem;
    font-size: 1.2rem;
}

.image-content img {
    border-radius: 15px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

/* CTA Section */
.cta-section {
    background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%);
    color: white;
    padding: 80px 0;
    text-align: center;
}

.cta-content h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.cta-content p {
    font-size: 1.25rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

/* Services Detail */
.services-detail {
    padding: 80px 0;
}

.service-item {
    margin-bottom: 5rem;
}

.service-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.service-item.reverse .service-content {
    grid-template-columns: 1fr 1fr;
}

.service-item.reverse .service-text {
    order: 2;
}

.service-item.reverse .service-image {
    order: 1;
}

.service-text h2 {
    font-size: 2rem;
    margin-bottom: 1.5rem;
    color: #1e293b;
}

.service-text ul {
    margin: 1.5rem 0;
    padding-left: 1.5rem;
}

.service-text li {
    margin-bottom: 0.5rem;
    color: #64748b;
}

.service-features {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
    margin-top: 1.5rem;
}

.feature-tag {
    background: #e0f2fe;
    color: #0369a1;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 500;
}

.service-image img {
    border-radius: 15px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

/* Service Process */
.service-process {
    background: #f8fafc;
    padding: 80px 0;
}

.service-process h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: #1e293b;
}

.process-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.step {
    text-align: center;
    padding: 2rem;
}

.step-number {
    width: 60px;
    height: 60px;
    background: #2563eb;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: bold;
    margin: 0 auto 1rem;
}

.step h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: #1e293b;
}

/* Products */
.product-categories {
    padding: 80px 0;
}

.category-filters {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 3rem;
    flex-wrap: wrap;
}

.filter-btn {
    background: #e2e8f0;
    color: #64748b;
    border: none;
    padding: 0.75rem 1.5rem;
    border-radius: 25px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 500;
}

.filter-btn.active,
.filter-btn:hover {
    background: #2563eb;
    color: white;
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.product-card {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    border: 1px solid #e2e8f0;
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.product-image {
    height: 200px;
    overflow: hidden;
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.product-card:hover .product-image img {
    transform: scale(1.05);
}

.product-info {
    padding: 1.5rem;
}

.product-brand {
    color: #2563eb;
    font-weight: 600;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 0.5rem;
}

.product-info h3 {
    font-size: 1.25rem;
    margin-bottom: 1rem;
    color: #1e293b;
}

.product-info p {
    color: #64748b;
    margin-bottom: 1rem;
    line-height: 1.5;
}

.product-features {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.product-features span {
    background: #f1f5f9;
    color: #475569;
    padding: 0.25rem 0.75rem;
    border-radius: 15px;
    font-size: 0.8rem;
}

/* Brands Showcase */
.brands-showcase {
    background: #f8fafc;
    padding: 80px 0;
}

.brands-showcase h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: #1e293b;
}

.brands-detailed {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
}

.brand-detail {
    text-align: center;
    padding: 2rem;
    background: white;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease;
}

.brand-detail:hover {
    transform: translateY(-5px);
}

.brand-logo-large {
    font-size: 1.75rem;
    font-weight: bold;
    color: #1e293b;
    margin-bottom: 1rem;
}

.brand-detail p {
    color: #64748b;
    font-size: 0.9rem;
    line-height: 1.5;
}

/* Gallery */
.projects-gallery {
    padding: 80px 0;
}

.gallery-filters {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 3rem;
    flex-wrap: wrap;
}

.gallery-filter {
    background: #e2e8f0;
    color: #64748b;
    border: none;
    padding: 0.75rem 1.5rem;
    border-radius: 25px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 500;
}

.gallery-filter.active,
.gallery-filter:hover {
    background: #2563eb;
    color: white;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.gallery-item {
    position: relative;
    border-radius: 15px;
    overflow: hidden;
    aspect-ratio: 4/3;
    cursor: pointer;
}

.gallery-image {
    width: 100%;
    height: 100%;
}

.gallery-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.gallery-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.8) 0%, transparent 60%);
    display: flex;
    align-items: flex-end;
    padding: 2rem;
    opacity: 0;
    transition: all 0.3s ease;
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
}

.gallery-item:hover .gallery-image img {
    transform: scale(1.05);
}

.gallery-content {
    color: white;
}

.gallery-content h3 {
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
}

.gallery-content p {
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
    opacity: 0.9;
}

.project-type {
    background: rgba(37, 99, 235, 0.8);
    color: white;
    padding: 0.25rem 0.75rem;
    border-radius: 15px;
    font-size: 0.8rem;
}

/* Testimonials */
.testimonials {
    background: #f8fafc;
    padding: 80px 0;
}

.testimonials h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: #1e293b;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.testimonial-card {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    border: 1px solid #e2e8f0;
}

.testimonial-content {
    margin-bottom: 1.5rem;
}

.testimonial-content p {
    font-style: italic;
    color: #64748b;
    line-height: 1.6;
    font-size: 1.1rem;
}

.testimonial-author strong {
    color: #1e293b;
    display: block;
    margin-bottom: 0.25rem;
}

.testimonial-author span {
    color: #64748b;
    font-size: 0.9rem;
}

/* Contact */
.contact-info-section {
    padding: 80px 0;
    background: #f8fafc;
}

.contact-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.contact-card {
    background: white;
    padding: 2.5rem;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    border: 1px solid #e2e8f0;
    transition: transform 0.3s ease;
}

.contact-card:hover {
    transform: translateY(-5px);
}

.contact-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #2563eb, #1d4ed8);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    color: white;
    font-size: 1.5rem;
}

.contact-card h3 {
    font-size: 1.25rem;
    margin-bottom: 1rem;
    color: #1e293b;
}

.contact-card p {
    color: #64748b;
    line-height: 1.6;
}

/* Contact Form */
.contact-form-section {
    padding: 80px 0;
}

.contact-wrapper {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 4rem;
}

.contact-form h2 {
    font-size: 2rem;
    margin-bottom: 2rem;
    color: #1e293b;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: #374151;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 0.75rem;
    border: 2px solid #e5e7eb;
    border-radius: 8px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #2563eb;
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

.map-section h3 {
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    color: #1e293b;
}

.map-container {
    margin-bottom: 2rem;
    border-radius: 10px;
    overflow: hidden;
}

.service-areas h4 {
    font-size: 1.25rem;
    margin-bottom: 1rem;
    color: #1e293b;
}

.areas-list {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.area-tag {
    background: #e0f2fe;
    color: #0369a1;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.9rem;
}

/* Emergency Contact */
.emergency-contact {
    background: #dc2626;
    color: white;
    padding: 60px 0;
}

.emergency-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
}

.emergency-icon {
    font-size: 3rem;
}

.emergency-text h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.emergency-text p {
    opacity: 0.9;
}

/* About Content */
.about-content {
    padding: 80px 0;
}

.about-content h2 {
    font-size: 2.5rem;
    margin-bottom: 2rem;
    color: #1e293b;
}

.about-content h3 {
    font-size: 1.75rem;
    margin: 2rem 0 1rem;
    color: #1e293b;
}

.about-content p {
    color: #64748b;
    line-height: 1.8;
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
}

/* Values Section */
.values-section {
    background: #f8fafc;
    padding: 80px 0;
}

.values-section h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: #1e293b;
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.value-card {
    background: white;
    padding: 2.5rem;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    border: 1px solid #e2e8f0;
    transition: transform 0.3s ease;
}

.value-card:hover {
    transform: translateY(-5px);
}

.value-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, #2563eb, #1d4ed8);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    color: white;
    font-size: 1.75rem;
}

.value-card h3 {
    font-size: 1.25rem;
    margin-bottom: 1rem;
    color: #1e293b;
}

.value-card p {
    color: #64748b;
    line-height: 1.6;
}

/* Team Section */
.team-section {
    padding: 80px 0;
}

.team-section h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: #1e293b;
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.team-member {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    border: 1px solid #e2e8f0;
    transition: transform 0.3s ease;
}

.team-member:hover {
    transform: translateY(-5px);
}

.member-image {
    height: 250px;
    overflow: hidden;
}

.member-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.team-member h3 {
    font-size: 1.25rem;
    margin: 1.5rem;
    color: #1e293b;
}

.team-member p {
    color: #64748b;
    margin: 0 1.5rem 1.5rem;
    line-height: 1.6;
}

/* Alerts */
.alert {
    padding: 1rem;
    margin-bottom: 1.5rem;
    border-radius: 8px;
    font-weight: 500;
}

.alert-success {
    background: #dcfce7;
    color: #166534;
    border: 1px solid #bbf7d0;
}

.alert-error {
    background: #fee2e2;
    color: #991b1b;
    border: 1px solid #fecaca;
}

/* Footer */
.footer {
    background: #1e293b;
    color: #cbd5e1;
    padding: 60px 0 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-section h3 {
    color: white;
    font-size: 1.25rem;
    margin-bottom: 1.5rem;
}

.footer-section p {
    line-height: 1.6;
    margin-bottom: 1rem;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 0.5rem;
}

.footer-section ul li a {
    color: #cbd5e1;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section ul li a:hover {
    color: white;
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: #374151;
    color: white;
    border-radius: 50%;
    text-decoration: none;
    transition: all 0.3s ease;
}

.social-links a:hover {
    background: #2563eb;
    transform: translateY(-2px);
}

.contact-info p {
    display: flex;
    align-items: center;
    margin-bottom: 0.75rem;
}

.contact-info i {
    margin-right: 0.75rem;
    width: 20px;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid #374151;
    color: #94a3b8;
}

/* Responsive Design */
@media (max-width: 768px) {
    .mobile-menu-toggle {
        display: flex;
    }
    
    .logo-text {
        display: none;
    }
    
    .logo-image {
        height: 40px;
        margin-right: 0;
    }
    
    .nav {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: white;
        box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
        transform: translateY(-100%);
        opacity: 0;
        visibility: hidden;
        transition: all 0.3s ease;
    }
    
    .nav.nav-active {
        transform: translateY(0);
        opacity: 1;
        visibility: visible;
    }
    
    .nav-list {
        flex-direction: column;
        padding: 1rem 0;
        gap: 0;
    }
    
    .nav-link {
        display: block;
        padding: 1rem 2rem;
        border-radius: 0;
    }
    
    .hero .container {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }
    
    .hero-content h1 {
        font-size: 2.5rem;
    }
    
    .hero-buttons {
        justify-content: center;
    }
    
    .content-wrapper {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .service-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .service-item.reverse .service-text,
    .service-item.reverse .service-image {
        order: unset;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .contact-wrapper {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .emergency-content {
        flex-direction: column;
        text-align: center;
    }
    
    .page-hero h1 {
        font-size: 2rem;
    }
    
    .logo span {
        display: none;
    }
    
    .category-filters,
    .gallery-filters {
        justify-content: flex-start;
        overflow-x: auto;
        padding-bottom: 1rem;
    }
    
    .filter-btn,
    .gallery-filter {
        white-space: nowrap;
        flex-shrink: 0;
    }
    
    /* AMSII Style Mobile Responsive */
    .brands-amsii-grid {
        grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
        gap: 1rem;
        perspective: 800px;
    }
    
    .brand-amsii-item {
        padding: 1.5rem;
        min-height: 100px;
    }
    
    .brand-amsii-item img {
        max-width: 100px;
        max-height: 50px;
    }
    
    .brand-amsii-item:hover {
        transform: translateY(-5px) rotateX(3deg);
    }
    
    .brand-amsii-item:hover img {
        transform: scale(1.05) rotateY(3deg);
    }
    
    .brand-item {
        padding: 1.5rem;
        min-height: 80px;
    }
    
    .brand-item:hover {
        transform: translateY(-5px) rotateX(3deg);
    }
    
    .brand-item:hover .brand-logo-img {
        transform: scale(1.05) rotateY(3deg);
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }
    
    .hero-content h1 {
        font-size: 2rem;
    }
    
    .page-hero {
        padding: 80px 0 40px;
    }
    
    .page-hero h1 {
        font-size: 1.75rem;
    }
    
    .service-card,
    .value-card,
    .contact-card {
        padding: 2rem 1.5rem;
    }
    
    section {
        padding: 60px 0;
    }
    
    .services-overview,
    .values-section,
    .brands-section {
        padding: 60px 0;
    }
}
/* Mobile-First Responsive Styles */
    .brand-grid .container {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
        gap: 20px;
        padding: 20px;
    }

    .brand-card {
        background: #fff;
        border: 1px solid #eee;
        border-radius: 10px;
        padding: 15px;
        text-align: center;
        transition: box-shadow 0.2s ease-in-out;
    }

    .brand-card:hover {
        box-shadow: 0 4px 12px rgba(0,0,0,0.08);
    }

    .brand-card img {
        max-width: 100%;
        height: auto;
        margin-bottom: 10px;
        object-fit: contain;
    }

    .brand-card h3 {
        font-size: 1rem;
        margin: 0;
        color: #333;
    }

    /* Small screens (phones) */
    @media (max-width: 480px) {
        .brand-grid .container {
            grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
            gap: 15px;
            padding: 10px;
        }
        .brand-card {
            padding: 10px;
        }
        .brand-card h3 {
            font-size: 0.9rem;
        }
    }