
body {
    margin: 0;
    font-family: 'Arial', sans-serif; 
    line-height: 1.6;
    color: #333;
    background-color: #f4f7f6; 
    scroll-behavior: smooth; 
}

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

h1, h2, h3, h4 {
    color: #0056b3; 
    margin-bottom: 15px;
}

h1 { font-size: 2.8em; }
h2 { font-size: 2em; }
h3 { font-size: 1.7em; } 
h4 { font-size: 1.3em; } 

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


#navbar {
    background-color: #ffffff;
    color: #333;
    padding: 15px 0;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    position: sticky; 
    top: 0;
    z-index: 1000;
    transition: padding 0.3s ease;
}

#navbar.scrolled { 
    padding: 10px 0;
}

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

.logo img {
    height: 50px; 
}

#navbar nav ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
}

#navbar nav ul li {
    margin-left: 25px;
}

#navbar nav ul li a {
    text-decoration: none;
    color: #333;
    font-weight: bold;
    transition: color 0.3s ease;
}

#navbar nav ul li a:hover {
    color: #007bff; 
}

.consult-button {
    background-color: #28a745; 
    color: white;
    padding: 12px 25px;
    border: none;
    border-radius: 5px;
    font-size: 1.1em;
    font-weight: bold;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.2s ease;
    box-shadow: 0 4px 6px rgba(40, 167, 69, 0.3);
}

.consult-button:hover {
    background-color: #218838;
    transform: translateY(-2px);
}


#hero {
    background: linear-gradient(rgba(0, 86, 179, 0.8), rgba(0, 86, 179, 0.8)), url('../images/bn_1.jpg') no-repeat center center/cover;
    color: white;
    text-align: center;
    padding: 100px 0;
    min-height: 40vh;
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-content h1 {
    color: white;
    margin-bottom: 20px;
    font-size: 3.5em;
    text-shadow: 2px 2px 8px rgba(0,0,0,0.5);
}

.hero-content p {
    font-size: 1.4em;
    margin-bottom: 30px;
    max-width: 790px;
    margin-left: auto;
    margin-right: auto;
    text-shadow: 1px 1px 4px rgba(0,0,0,0.5);
}

.hero-consult-button {
    font-size: 1.3em;
    padding: 15px 35px;
}


section {
    padding: 60px 0;
    text-align: center;
}

section:nth-of-type(even) { 
    background-color: #ffffff;
}

section:nth-of-type(odd) { 
    background-color: #f4f7f6;
}

section h2 {
    margin-bottom: 40px;
    position: relative;
}

section h2::after { 
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background-color: #007bff;
}


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

.generation-card {
    background-color: #ffffff;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.generation-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 15px rgba(0,0,0,0.15);
}

.generation-card img {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    margin: 0 auto 20px auto;
    background-color: #e9ecef; 
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.5em;
    color: #6c757d;
    object-fit: cover;
}


.cost-cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.cost-card {
    background-color: #ffffff;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.08);
    overflow: hidden;
    text-align: left;
    display: flex;
    flex-direction: column;
}

.cost-card .card-header {
    background-color: #e9ecef;
    padding: 20px;
    display: flex;
    align-items: center;
    border-bottom: 1px solid #dee2e6;
}

.cost-card .card-header img {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    margin-right: 15px;
    background-color: #ced4da;
    object-fit: cover;
}

.cost-card .card-header h3 {
    margin: 0;
    color: #0056b3;
}

.cost-card .card-body {
    padding: 20px;
    flex-grow: 1; 
}

.cost-card .card-body .price {
    font-size: 1.6em;
    font-weight: bold;
    color: #dc3545; 
    margin-bottom: 15px;
}

.cost-card .card-body ul {
    list-style: disc; 
    padding-left: 25px;
    margin-top: 10px;
}

.cost-card .card-body li {
    margin-bottom: 8px;
}


#third-gen-focus {
    background-color: #e7f3ff; 
    padding: 60px 0;
}

#third-gen-focus h2 {
    color: #0056b3;
}

.highlight-card {
    background-color: #ffffff;
    border-radius: 10px;
    box-shadow: 0 6px 20px rgba(0,0,0,0.1);
    overflow: hidden;
    text-align: center;
    padding: 40px;
    max-width: 900px;
    margin: 40px auto 0 auto;
}

.highlight-card .highlight-header {
    margin-bottom: 30px;
}

.highlight-card .highlight-header img {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    margin: 0 auto 20px;
    background-color: #d0e0f0; 
}

.highlight-card .highlight-header h3 {
    font-size: 1.6em;
    color: #0056b3;
    margin-bottom: 5px;
}

.highlight-card .highlight-header .sub-title {
    font-size: 1.2em;
    color: #6c757d;
    font-style: italic;
}

.highlight-card .price {
    font-size: 2.2em;
    font-weight: bold;
    color: #dc3545;
    margin-bottom: 20px;
}

.highlight-card .price span { 
    font-size: 0.7em;
    color: #555;
    font-weight: normal;
}

.cost-breakdown-list {
    text-align: left;
    margin-top: 30px;
    padding-left: 10px;
}

.cost-item {
    display: flex;
    justify-content: space-between;
    padding: 12px 0;
    border-bottom: 1px dashed #dee2e6; 
    font-size: 1.1em;
}

.cost-item:last-child {
    border-bottom: none;
}

.cost-label {
    color: #555;
    font-weight: bold;
}

.cost-value {
    color: #333;
    font-weight: bold;
}

.highlight-card .note {
    margin-top: 30px;
    padding: 20px;
    background-color: #fff3cd; 
    border-left: 5px solid #ffc107;
    color: #856404;
    font-size: 1.1em;
    text-align: left;
}

.highlight-card .note strong {
    color: #333;
}


.factors-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.factor-card {
    background-color: #ffffff;
    padding: 30px 20px;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    text-align: center;
}

.factor-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 15px rgba(0,0,0,0.15);
}

.factor-card img {
    width: 60px;
    height: 60px;
    margin: 0 auto 15px;
    background-color: #e9ecef;
    border-radius: 50%;
    padding: 10px;
    box-sizing: border-box;
    object-fit: cover;
}


#consultation-cta {
    background-color: #007bff; 
    color: white;
    padding: 80px 0;
    text-align: center;
}

#consultation-cta h2 {
    color: white;
    font-size: 2.5em;
    margin-bottom: 20px;
}

#consultation-cta p {
    font-size: 1.2em;
    margin-bottom: 40px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.large-consult-button { 
    font-size: 1.4em;
    padding: 18px 40px;
}


footer {
    background-color: #343a40; 
    color: #ffffff;
    padding: 20px 0;
    font-size: 0.9em;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-bottom: 40px;
}

.footer-logo img {
    height: 50px;
}

.footer-links h4, .footer-contact h4 {
    color: #ffffff;
    margin-bottom: 15px;
    font-size: 1.2em;
}

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

.footer-links ul li {
    margin-bottom: 10px;
}

.footer-links ul li a {
    color: #adb5bd;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-links ul li a:hover {
    color: #ffffff;
}

.footer-contact p {
    margin-bottom: 10px;
    color: #adb5bd;
}

.footer-bottom {
    text-align: center;
    color: #adb5bd;
}

.footer-bottom a {
    color: #adb5bd;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-bottom a:hover {
    color: #ffffff;
}


.modal {
    display: none; 
    position: fixed; 
    z-index: 1001; 
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto; 
    background-color: rgba(0,0,0,0.6); 
    backdrop-filter: blur(5px); 
}

.modal-content {
    background-color: #fefefe;
    margin: 5% auto; 
    padding: 30px;
    border-radius: 10px;
    width: 90%; 
    max-width: 500px; 
    box-shadow: 0 5px 15px rgba(0,0,0,0.3);
    position: relative;
}

.modal-content h2 {
    text-align: center;
    margin-bottom: 20px;
    color: #0056b3;
}

.modal-content p {
    text-align: center;
    margin-bottom: 25px;
}

#consultForm label {
    display: block;
    margin-bottom: 8px;
    font-weight: bold;
    color: #555;
}

#consultForm input[type="text"],
#consultForm input[type="tel"],
#consultForm input[type="email"],
#consultForm textarea {
    width: calc(100% - 20px); 
    padding: 10px;
    margin-bottom: 15px;
    border: 1px solid #ccc;
    border-radius: 5px;
    font-size: 1em;
    box-sizing: border-box; 
}

#consultForm textarea {
    resize: vertical; 
}

.modal-content .consult-button {
    width: 100%;
    display: block;
    text-align: center;
    font-size: 1.2em;
    padding: 12px 0;
}

.close-button {
    color: #aaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
    position: absolute;
    top: 10px;
    right: 15px;
    cursor: pointer;
}

.close-button:hover,
.close-button:focus {
    color: #333;
    text-decoration: none;
}


@media (max-width: 992px) {
    h1 { font-size: 2.5em; }
    h2 { font-size: 1.8em; }
    h3 { font-size: 1.5em; }

    #navbar .container {
        flex-wrap: wrap;
        justify-content: center;
    }
    #navbar nav {
        width: 100%;
        order: 3; 
        margin-top: 15px;
    }
    #navbar nav ul {
        justify-content: center;
        flex-wrap: wrap;
    }
    #navbar nav ul li {
        margin: 5px 15px;
    }
    .consult-button {
        order: 2; 
        margin-left: auto; 
    }
    .hero-content h1 { font-size: 2.8em; }
    .hero-content p { font-size: 1.2em; }
    .large-consult-button { font-size: 1.2em; padding: 15px 30px; }
    .highlight-card { padding: 30px; }
    .cost-item { font-size: 1em; }
}

@media (max-width: 768px) {
    #hero {
        padding: 20px 0;
        min-height: 50vh;
    }
    .hero-content h1 { font-size: 2.2em; }
    .hero-content p { font-size: 1.1em; }
    .consult-button { padding: 10px 20px; font-size: 1em; }

    section { padding: 40px 0; }
    h1 { font-size: 2em; }
    h2 { font-size: 1.6em; }
    h3 { font-size: 1.4em; }

    .generations-grid, .cost-cards-grid, .factors-grid {
        grid-template-columns: 1fr; 
    }
    .cost-card .card-header, .cost-card .card-body {
        text-align: center;
    }
    .cost-card .card-header img {
        margin-right: 0;
        margin-bottom: 10px;
    }
    .cost-breakdown-list {
        text-align: center;
    }
    .cost-item {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
    .cost-label, .cost-value {
        margin-bottom: 5px;
    }

    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    .footer-logo { margin-bottom: 20px; }
    .footer-links ul, .footer-contact { margin-top: 15px; }
    .footer-links ul li, .footer-contact p { text-align: center; }
}

@media (max-width: 576px) {
     .hero-content h1 { font-size: 1.8em; }
     .hero-content p { font-size: 1em; }
     .consult-button { padding: 8px 15px; font-size: 0.9em; }

     .modal-content {
        margin: 10% auto;
        padding: 20px;
     }
     #consultForm input, #consultForm textarea {
        font-size: 0.9em;
     }
}
