/* Reset and base styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Arial', sans-serif;
}

body {
    line-height: 1.6;
    color: #333;
    background-color: #fff;
}

.container {
    width: 90%;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 15px;
}

/* Header styles */
header {
    background-color: #fff;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0;
}

.logo {
    font-size: 1.5rem;
    font-weight: bold;
    color: black;
}

.nav-links {
    display: flex;
    list-style: none;
    align-items: center;
}

.nav-links li {
    margin-left: 1.5rem;
}

.nav-links a {
    text-decoration: none;
    color: #333;
    font-weight: 500;
    transition: color 0.3s;
}

.nav-links a:hover {
    color: #1a4f8b;
}

/* Call button styles */
.call-button {
    display: flex;
    align-items: center;
    padding: 0.5rem 1rem;
    border-radius: 4px;
    transition: all 0.3s;
}

.call-icon {
    margin-right: 0.5rem;
}

/* Hero section */
.hero {
    background-image: linear-gradient(rgba(55, 60, 65, 0.8), rgba(55, 60, 65, 0.8)), url('images/hero-image.jpg');
    background-size: cover;
    background-position: center;
    color: white;
    padding: 12rem 0 8rem;
    text-align: center;
    margin-top: 60px;
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
}

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

.hero h1 {
    font-size: 2.8rem;
    margin-bottom: 1.5rem;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.3);
}

.hero p {
    font-size: 1.3rem;
    max-width: 700px;
    margin: 0 auto 2.5rem;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
}

.btn {
    display: inline-block;
    background-color: white;
    color: black;
    padding: 1rem 2rem;
    border-radius: 4px;
    text-decoration: none;
    font-weight: bold;
    transition: all 0.3s;
    font-size: 1.1rem;
}

.btn:hover {
    background-color: #f8f8f8;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

/* Services section */
.services {
    padding: 5rem 0;
    background-color: #f8f9fa;
}

.section-title {
    text-align: center;
    margin-bottom: 3rem;
    color: black;
    font-size: 2.2rem;
}

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

.card {
    background-color: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s;
    height: 380px;
    perspective: 1000px;
    cursor: pointer;
}

.card:hover {
    transform: translateY(-5px);
}

.card-inner {
    position: relative;
    width: 100%;
    height: 100%;
    transition: transform 0.8s;
    transform-style: preserve-3d;
}

.card.flipped .card-inner {
    transform: rotateY(180deg);
}

.card-front,
.card-back {
    position: absolute;
    width: 100%;
    height: 100%;
    backface-visibility: hidden;
    display: flex;
    flex-direction: column;
}

.card-front {
    background-color: white;
    color: black;
    justify-content: flex-start;
    align-items: center;
    text-align: center;
}

.card-back {
    background-color: white;
    color: #333;
    transform: rotateY(180deg);
    padding: 1.5rem;
    overflow-y: auto;
    justify-content: center;
}

.card-image {
    width: 100%;
    height: 80%;
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: #f0f4f8;
}

.card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s;
}

.card:hover .card-image img {
    transform: scale(1.05);
}

.card-title {
    height: 20%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 0 1rem;
    width: 100%;
}

.card h3 {
    color: black;
    margin-bottom: 0.5rem;
    font-size: 1.3rem;
}

.card-title p {
    color: #666;
    font-size: 0.9rem;
}

/* Pricing section */
.pricing {
    padding: 5rem 0;
    background-color: #fff;
}

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

.pricing-card {
    background-color: #f8f9fa;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s;
}

.pricing-tag {
    background-color: black;
    color: white;
    padding: 0.5rem 1rem;
    font-size: 0.9rem;
    font-weight: bold;
    text-transform: uppercase;
    display: inline-block;
    border-radius: 4px;
    margin-bottom: 1rem;
}

.pricing-header {
    background-color: rgba(38, 40, 43, 0.8);
    color: white;
    padding: 2rem 1.5rem;
    text-align: center;
    position: relative;
}

.pricing-amount {
    font-size: 2.5rem;
    font-weight: bold;
    margin-bottom: 0.5rem;
}

.pricing-period {
    font-size: 1rem;
    opacity: 0.9;
}

.pricing-content {
    padding: 2rem 1.5rem;
}

.pricing-features {
    list-style: none;
}

.pricing-features li {
    margin: 1rem 0;
    color: #666;
    line-height: 1.4;
    position: relative;
    padding-left: 1.5rem;
}

.pricing-features li:before {
    content: "•";
    color: #1a4f8b;
    position: absolute;
    left: 0;
    font-weight: bold;
}

/* Contact section */
.contact {
    padding: 5rem 0;
    background-color: rgba(38, 40, 43, 0.8);
    color: white;
}

.contact .section-title {
    color: white;
}

.contact-info {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 2rem;
}

.contact-details {
    flex: 1;
    min-width: 300px;
}

.contact-item {
    display: flex;
    align-items: center;
    margin: 0.8rem 0;
}

.icon {
    width: 20px;
    height: 20px;
    margin-right: 0.75rem;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    flex-shrink: 0;
}

.email-icon {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='white' viewBox='0 0 24 24'%3E%3Cpath d='M20 4H4c-1.1 0-1.99.9-1.99 2L2 18c0 1.1.9 2 2 2h16c1.1 0 2-.9 2-2V6c0-1.1-.9-2-2-2zm0 4l-8 5-8-5V6l8 5 8-5v2z'/%3E%3C/svg%3E");
}

.phone-icon {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='white' viewBox='0 0 24 24'%3E%3Cpath d='M6.62 10.79c1.44 2.83 3.76 5.14 6.59 6.59l2.2-2.2c.27-.27.67-.36 1.02-.24 1.12.37 2.33.57 3.57.57.55 0 1 .45 1 1V20c0 .55-.45 1-1 1-9.39 0-17-7.61-17-17 0-.55.45-1 1-1h3.5c.55 0 1 .45 1 1 0 1.25.2 2.45.57 3.57.11.35.03.74-.25 1.02l-2.2 2.2z'/%3E%3C/svg%3E");
}

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

.company-info .logo {
    color: white;
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
}

.contact-details a {
    color: white;
    text-decoration: none;
    display: block;
    margin: 0.8rem 0;
    font-size: 1.1rem;
    transition: opacity 0.3s;
}

.contact-details a:hover {
    opacity: 0.8;
    text-decoration: underline;
}

.map-container {
    flex: 1;
    min-width: 300px;
}

.map-placeholder {
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    height: 200px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    transition: background-color 0.3s;
}

.map-placeholder:hover {
    background-color: rgba(255, 255, 255, 0.2);
}

.map-pin {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.map-placeholder p {
    color: white;
    font-weight: 500;
}

.map-container a {
    text-decoration: none;
}

.promo-poster {
    background-color: #1a4f8b;
    color: white;
    padding: 2rem;
    border-radius: 8px;
    text-align: center;
    height: 200px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.promo-poster ul {
    list-style: none;
    margin-bottom: 1.5rem;
}

.promo-poster li {
    margin: 0.8rem 0;
    font-size: 1.1rem;
    position: relative;
    padding-left: 1.5rem;
    text-align: left;
}

.promo-poster li:before {
    content: "✓";
    position: absolute;
    left: 0;
    font-weight: bold;
}

/* Footer */
footer {
    background-color: rgba(38, 40, 43, 0.8);
    color: white;
    padding: 2rem 0;
    text-align: center;
}

/* Responsive design */
@media (max-width: 768px) {
    .nav-links {
        display: none;
    }

    .hero {
        padding: 8rem 0 5rem;
        min-height: 80vh;
    }

    .hero h1 {
        font-size: 2.2rem;
    }

    .hero p {
        font-size: 1.1rem;
    }

    .contact-info {
        flex-direction: column;
        text-align: center;
    }

    .company-info {
        text-align: center;
    }

    .card {
        height: 320px;
    }

    .card h3 {
        font-size: 1.1rem;
    }

    /* Mobile call button */
    .call-button .phone-text {
        display: none;
    }

    .call-button {
        padding: 0.5rem;
    }

    .call-icon {
        margin-right: 0;
    }
}