:root {
    --primary: #6f73d2;
    --primary-dark: #1a1a1a;
    --secondary: #8fc8cd;
    --text-dark: #333;
    --text-light: #666;
    --bg-light: #f8f9fa;
    --white: #ffffff;
    --shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 30px rgba(0, 0, 0, 0.15);
}

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

body {
    font-family:
        "Montserrat",
        -apple-system,
        BlinkMacSystemFont,
        "Segoe UI",
        Roboto,
        sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    overflow-x: hidden;
}

/* Icons */

.fa-house {
    color: #fff;
}

.fa-phone {
    color: #fff;
}

.fa-envelope {
    color: #fff;
}

/* Header & Navigation */
header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: var(--white);
    box-shadow: var(--shadow);
    z-index: 1000;
}

nav {
    max-width: 1200px;
    margin: 0 auto;
    padding: 1rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo img {
    height: 100px;
    width: auto;
}

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

.nav-links a {
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 500;
    transition: color 0.3s;
}

.nav-links a:hover {
    color: var(--primary);
}

.nav-cta-button {
    background: var(--primary);
    color: var(--white) !important;
    padding: 0.75rem 1.5rem;
    border-radius: 25px;
    font-weight: 600;
    transition:
        transform 0.3s,
        box-shadow 0.3s;
    text-decoration: none;
}

.cta-button {
    background: var(--primary);
    color: var(--primary-dark);
    padding: 0.75rem 1.5rem;
    border-radius: 25px;
    font-weight: 600;
    transition:
        transform 0.3s,
        box-shadow 0.3s;
    text-decoration: none;
}

.cta-button:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
    color: var(--primary-dark);
}

.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--text-dark);
}

/* Hero Section */
.hero {
    margin-top: 80px;
    background-image: url("../images/featured-1.webp");
    background-size: cover;
    background-position: center;
    min-height: 800px;
    padding: 12rem 2rem 6rem;
    text-align: center;

    background-color: rgba(0, 0, 0, 0.3);
    background-blend-mode: darken;
}

.hero-index {
    margin-top: 80px;
    background-image: url("../images/featured-2.webp");
    background-size: cover;
    background-position: center;
    min-height: 800px;
    padding: 12rem 2rem 6rem;
    text-align: center;

    background-color: rgba(0, 0, 0, 0.3);
    background-blend-mode: darken;
}

.hero-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 12rem 4rem;
    text-align: right;
    color: var(--white);
}

.hero-inner-index {
    max-width: 1200px;
    margin: 0 auto;
    padding: 12rem 4rem;
    text-align: left;
    color: var(--white);
}

.hero-content {
    display: inline;
    vertical-align: middle;
}

.hero-content h2 {
    font-size: 1.5rem;
    font-weight: 400;
    margin-bottom: 1rem;
    opacity: 0.95;
}

.hero-content h1 {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 2rem;
    line-height: 1.2;
}

.hero-button {
    display: inline-block;
    background: var(--white);
    color: var(--primary);
    padding: 1rem 2.5rem;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    transition:
        transform 0.3s,
        box-shadow 0.3s;
}

.hero-button:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
}

/* Main Content */
main {
    max-width: 1200px;
    margin: 0 auto;
    padding: 4rem 2rem;
}

h2 {
    font-size: 2.5rem;
    margin-bottom: 3rem;
    text-align: center;
    color: var(--primary-dark);
}

/* Improved Offer Cards */
.offer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}

/* Limit to 2 columns on contact page */
.contact-grid {
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    max-width: 900px;
}

@media (min-width: 1024px) {
    .offer-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .offer-grid.four-items {
        grid-template-columns: repeat(2, 1fr);
    }
}

.offer-card {
    background: var(--white);
    border-radius: 16px;
    padding: 2.5rem 2rem;
    box-shadow: var(--shadow);
    transition:
        transform 0.3s,
        box-shadow 0.3s;
    border-top: 4px solid var(--primary);
    position: relative;
    overflow: hidden;
}

.offer-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--primary);
}

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

.offer-icon {
    font-size: 3rem;
    margin-bottom: 1.5rem;
    display: block;
}

.offer-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--primary);
}

.offer-card p {
    color: var(--text-light);
    line-height: 1.7;
    margin-bottom: 1.5rem;
}

.offer-tag {
    display: inline-block;
    background: #fff3e0;
    color: var(--primary);
    padding: 0.4rem 1rem;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
    margin-top: 1rem;
}

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

.course-card {
    background: var(--white);
    border-radius: 12px;
    padding: 2rem;
    box-shadow: var(--shadow);
    transition: transform 0.3s;
}

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

.course-card h4 {
    color: var(--primary);
    font-size: 1.3rem;
    margin-bottom: 1rem;
}

.course-card p {
    color: var(--text-light);
    line-height: 1.6;
}

/* Pricing Table */
.pricing-table {
    overflow-x: auto;
    margin: 2rem 0;
}

table {
    width: 100%;
    border-collapse: collapse;
    background: var(--white);
    box-shadow: var(--shadow);
    border-radius: 12px;
    overflow: hidden;
}

thead {
    background: var(--primary);
    color: var(--white);
}

th,
td {
    padding: 1.25rem;
    text-align: left;
    border-bottom: 1px solid #eee;
}

th {
    font-weight: 600;
}

tbody tr:hover {
    background: var(--bg-light);
}

tbody tr:last-child td {
    border-bottom: none;
}

.price-note {
    text-align: center;
    margin-top: 1.5rem;
    color: var(--text-light);
    font-style: italic;
}

/* About Section */
.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: start;
}

.about-text h3 {
    color: var(--primary);
    font-size: 1.8rem;
    margin-bottom: 1rem;
}

.about-text h4 {
    font-size: 1.3rem;
    margin: 2rem 0 1rem;
    color: var(--primary-dark);
}

.about-text p {
    color: var(--text-light);
    line-height: 1.8;
    margin-bottom: 1.5rem;
}

.feature-list {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.feature-item {
    padding-left: 2rem;
    position: relative;
}

.feature-item::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--primary);
    font-size: 1.5rem;
    font-weight: bold;
}

/* CTA Section */
.cta-section {
    background: var(--primary);
    color: var(--white);
    padding: 6rem 2rem;
    text-align: center;
    margin-top: 4rem;
}

.cta-section h3 {
    font-size: 2rem;
    margin-bottom: 2rem;
}

.cta-section .cta-button {
    background: var(--white);
    color: var(--primary);
    padding: 1rem 2.5rem;
    font-size: 1.1rem;
}

/* Newsletter form */
.cta-form {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.cta-form input {
    padding: 1rem 1.5rem;
    border-radius: 999px;
    border: none;
    font-size: 1rem;
    min-width: 260px;
    outline: none;
}

.cta-form button {
    background: var(--white);
    color: var(--primary);
    padding: 1rem 2.5rem;
    border-radius: 999px;
    border: none;
    font-size: 1.1rem;
    cursor: pointer;
    font-weight: 600;
}

.cta-form button:hover {
    opacity: 0.9;
}

/* Footer */
footer {
    background: var(--primary-dark);
    color: var(--white);
    padding: 3rem 2rem 1.5rem;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3rem;
    margin-bottom: 2rem;
}

.footer-section h3 {
    color: var(--primary);
    font-size: 1.3rem;
    margin-bottom: 1.5rem;
}

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

.footer-section a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: color 0.3s;
    display: block;
    margin-bottom: 0.75rem;
}

.footer-section a:hover {
    color: var(--primary);
}

.footer-bottom {
    max-width: 1200px;
    margin: 0 auto;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
    color: rgba(255, 255, 255, 0.6);
}

.footer-logo {
    max-width: 150px;
    margin-bottom: 1rem;
}

.footer-tagline {
    font-style: italic;
    margin-top: 1rem;
    color: rgba(255, 255, 255, 0.7);
}

/* Responsive Design */
@media (max-width: 768px) {
    .mobile-menu-toggle {
        display: block;
    }

    .hero {
        background-position: left;
        padding: 5rem 1rem 3rem;
    }

    .hero-index {
        background-position: right;
    }

    .hero-inner {
        text-align: left;
    }

    .nav-links {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--white);
        padding: 2rem;
        box-shadow: var(--shadow);
    }

    .nav-links.active {
        display: flex;
    }

    .hero-content h1 {
        font-size: 2.5rem;
    }

    .offer-grid {
        grid-template-columns: 1fr;
    }

    .about-content {
        grid-template-columns: 1fr;
    }

    table {
        font-size: 0.9rem;
    }

    th,
    td {
        padding: 0.75rem;
    }
}

@media (max-width: 480px) {
    nav {
        padding: 1rem;
    }

    .hero {
        background-image: url("../images/featured-mobile-2.jpg");
        background-position: left;
        padding: 5rem 1rem 3rem;
    }

    .hero-index {
        background-image: url("../images/featured-mobile-1.jpg");
        background-position: right;
        padding: 5rem 1rem 3rem;
    }

    .hero-inner {
        text-align: left;
    }

    .hero-content h1 {
        font-size: 2rem;
    }

    main {
        padding: 2rem 1rem;
    }

    h2 {
        font-size: 2rem;
    }
}

/* Utility Classes */
.text-center {
    text-align: center;
}

.max-w-800 {
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.max-w-900 {
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.mb-3 {
    margin-bottom: 3rem;
}

.mt-3 {
    margin-top: 3rem;
}

.mt-4 {
    margin-top: 4rem;
}

.info-box {
    background: #f8f9fa;
    padding: 2rem;
    border-radius: 12px;
    margin-top: 3rem;
}

.info-box h3 {
    color: var(--primary);
    margin-bottom: 1rem;
}

.info-box p {
    color: var(--text-light);
    line-height: 1.8;
}

.privacy-box {
    margin-top: 3rem;
    padding: 2rem;
    background: #f8f9fa;
    border-radius: 12px;
    border-left: 4px solid var(--primary);
}

.privacy-box p {
    color: var(--text-light);
    line-height: 1.8;
    margin: 0;
}

.company-data-box {
    background: #f8f9fa;
    padding: 2rem;
    border-radius: 12px;
    margin-top: 3rem;
}

.company-data-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    text-align: center;
}

.gradient-cta {
    background: var(--primary);
    padding: 3rem 2rem;
    border-radius: 16px;
    margin-top: 4rem;
    text-align: center;
    color: white;
}

.gradient-cta h3 {
    font-size: 2rem;
    margin-bottom: 1.5rem;
}

.gradient-cta p {
    font-size: 1.1rem;
    margin-bottom: 2rem;
    opacity: 0.95;
}

.gradient-cta .cta-button {
    background: white;
    color: var(--primary);
}

.cert-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    max-width: 800px;
    margin: 2rem auto 0;
}

.cert-card {
    background: rgba(255, 255, 255, 0.2);
    padding: 1.5rem;
    border-radius: 12px;
}

.cert-icon {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
}

.experience-badge {
    background: #fff3e0;
    padding: 1.5rem;
    border-radius: 12px;
    margin: 2rem 0;
    text-align: center;
}

.experience-badge .number {
    font-size: 3rem;
    margin: 0;
    color: var(--primary);
    font-weight: bold;
}

.experience-badge .label {
    margin: 0;
    color: var(--primary);
    font-weight: 600;
}

.big-icon {
    font-size: 4rem;
}

.contact-phone {
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--primary);
    margin: 1rem 0;
}

.contact-email {
    font-size: 1.3rem;
    font-weight: 600;
    margin: 1rem 0;
}

.contact-email a {
    color: var(--primary);
    text-decoration: none;
}

.contact-address {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-dark);
    margin: 1rem 0;
}

.small-text {
    font-size: 0.9rem;
    color: #999;
}

.response-time-box {
    margin-top: 3rem;
    padding: 2rem;
    background: #fff3e0;
    border-radius: 12px;
    text-align: center;
}

.response-time-box h4 {
    color: var(--primary);
    margin-bottom: 1rem;
}

.response-time-box p {
    color: var(--text-light);
    line-height: 1.8;
    margin: 0;
}

/* Additional utility classes */
.mt-1 {
    margin-top: 1rem;
}

.hero-subtitle {
    font-size: 1.2rem;
    margin-top: 1rem;
}

.link-orange {
    color: var(--primary);
}

.cta-desc {
    font-size: 1.1rem;
    margin-bottom: 2rem;
    opacity: 0.95;
}

.intro-text {
    font-size: 1.2rem;
    color: var(--text-light);
    line-height: 1.8;
}

.data-label {
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 0.5rem;
}

.data-value {
    color: var(--text-light);
}

.newsletter-heading {
    color: var(--primary);
    font-size: 2rem;
    margin-bottom: 2rem;
}

.about-name {
    text-align: left;
    font-size: 2rem;
    margin-bottom: 1.5rem;
}

.cert-name {
    font-weight: 600;
    margin: 0;
}

.cert-grade {
    font-size: 0.9rem;
    opacity: 0.9;
    margin: 0.5rem 0 0;
}

.company-data-box h3 {
    color: var(--primary);
    margin-bottom: 1.5rem;
}

.privacy-box strong {
    color: var(--text-dark);
}

.social-icons {
    display: flex;
    gap: 12px;
    align-items: center;
    padding-bottom: 1rem;
}

.social-icons a {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: #f2f2f2;
    font-size: 1.3rem;
    text-decoration: none;
}

.social-icons a:hover {
    transform: scale(1.15);
    color: #ff0050;
}
