/* Modern Home Styles */
:root {
    --primary-color: #0170B9;
    --secondary-color: #1dc8cc;
    --dark-color: #212529;
    --light-color: #f8f9fa;
    --text-muted: #6c757d;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    color: var(--dark-color);
}

/* Hero Section */
.modern-hero {
    position: relative;
    height: 90vh;
    min-height: 600px;
    display: flex;
    align-items: center;
    color: white;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -1;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, rgba(1, 112, 185, 0.8), rgba(0, 0, 0, 0.4));
    z-index: -1;
}

.hero-content {
    max-width: 800px;
}

.hero-title {
    font-size: 4rem;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 1.5rem;
}

.hero-subtitle {
    font-size: 1.5rem;
    font-weight: 400;
    margin-bottom: 2rem;
    opacity: 0.9;
}

@media (max-width: 768px) {
    .hero-title {
        font-size: 2.5rem;
    }
    .hero-subtitle {
        font-size: 1.2rem;
    }
}

/* Trust Section */
.trust-bar {
    background: white;
    padding: 2rem 0;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    margin-top: -50px;
    position: relative;
    z-index: 10;
    border-radius: 15px;
}

.trust-item {
    display: flex;
    align-items: center;
    gap: 1rem;
}

/* Service Cards */
.section-title {
    font-weight: 800;
    margin-bottom: 3rem;
    position: relative;
    padding-bottom: 1rem;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 4px;
    background: var(--primary-color);
    border-radius: 2px;
}

.modern-card {
    position: relative;
    border: none;
    border-radius: 20px;
    overflow: hidden;
    transition: all 0.3s ease;
    height: 100%;
    background: white;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}

.modern-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
}

.card-icon-wrap {
    width: 70px;
    height: 70px;
    background: var(--light-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    color: var(--primary-color);
    transition: all 0.3s ease;
}

.modern-card:hover .card-icon-wrap {
    background: var(--primary-color);
    color: white;
}

/* Feature Sections */
.feature-section {
    padding: 80px 0;
}

.feature-image-wrap {
    border-radius: 30px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
}

.feature-badge {
    text-transform: uppercase;
    letter-spacing: 2px;
    font-weight: 700;
    font-size: 0.8rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
    display: block;
}

/* Testimonials */
.testimonial-card {
    background: white;
    padding: 2.5rem;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    height: 100%;
}

.stars {
    color: #ffc107;
    margin-bottom: 1rem;
}

/* Gallery */
.gallery-img {
    border-radius: 15px;
    transition: transform 0.3s ease;
    cursor: pointer;
    width: 100%;
    height: 300px;
    object-fit: cover;
}

.gallery-img:hover {
    transform: scale(1.03);
}

/* Certs */
.cert-card {
    text-align: center;
    padding: 2rem;
}

.cert-img {
    max-width: 150px;
    margin-bottom: 1.5rem;
    filter: grayscale(100%);
    opacity: 0.7;
    transition: all 0.3s ease;
}

.cert-card:hover .cert-img {
    filter: grayscale(0);
    opacity: 1;
}

/* Utilities */
.bg-gradient-primary {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
}

.text-gradient {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.btn-modern {
    padding: 0.8rem 2.5rem;
    border-radius: 50px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-modern-primary {
    background: var(--primary-color);
    color: white;
    border: none;
    box-shadow: 0 10px 20px rgba(1, 112, 185, 0.2);
}

.btn-modern-primary:hover {
    background: var(--dark-color);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.2);
}

/* Contact Page Styles */
.contact-icon-box {
    width: 50px;
    height: 50px;
    background: white;
    color: var(--primary-color);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    box-shadow: 0 4px 10px rgba(0,0,0,0.05);
}

.form-container .form-control,
.form-container input[type="text"],
.form-container input[type="email"],
.form-container input[type="tel"],
.form-container input[type="url"],
.form-container input[type="number"],
.form-container textarea,
.form-container select {
    display: block;
    width: 100%;
    padding: 0.8rem 1rem;
    font-size: 1rem;
    font-weight: 400;
    line-height: 1.5;
    color: var(--dark-color);
    background-color: #fcfcfc;
    background-clip: padding-box;
    border: 1px solid #eee;
    appearance: none;
    border-radius: 10px;
    transition: border-color .15s ease-in-out,box-shadow .15s ease-in-out;
}

.form-container input:focus,
.form-container textarea:focus,
.form-container select:focus {
    color: var(--dark-color);
    background-color: #fff;
    border-color: var(--primary-color);
    outline: 0;
    box-shadow: 0 0 0 0.25rem rgba(1, 112, 185, 0.1);
}

.form-container label {
    margin-bottom: 0.5rem;
    display: inline-block;
}

/* Service Page Styles */
.service-icon-wrapper {
    width: 60px;
    height: 60px;
    background: rgba(1, 112, 185, 0.1);
    color: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.modern-card:hover .service-icon-wrapper {
    background: var(--primary-color);
    color: white;
}

.icon-circle {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
}

.bg-primary-light {
    background-color: rgba(1, 112, 185, 0.1);
}

.gallery-item-modern {
    position: relative;
    overflow: hidden;
}

.gallery-item-modern img {
    transition: transform 0.5s ease;
}

.gallery-item-modern:hover img {
    transform: scale(1.1);
}

.hover-bg-light:hover {
    background-color: #f8f9fa;
}

.transition-all {
    transition: all 0.3s ease;
}

.btn-modern-outline {
    background: transparent;
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
}

.btn-modern-outline:hover {
    background: var(--primary-color);
    color: white;
}
