/* --- Variables & Global Styles --- */
:root {
    --primary-color: #2541CC;
    --secondary-color: #333;
    --accent-color: #f0ad4e;
    --text-color: #555;
    --light-gray: #f4f4f4;
    --white: #fff;
    --box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    --border-radius: 8px;
}

body {
    font-family: 'Open Sans', sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    margin: 0;
    padding: 0;
    font-size: 16px;
}

h1,
h2,
h3,
h4 {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    color: var(--secondary-color);
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
}

.btn {
    display: inline-block;
    padding: 12px 25px;
    border-radius: var(--border-radius);
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    text-align: center;
}

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

.btn-primary:hover {
    background-color: #1d33a3;
    border-color: #1d33a3;
}

.btn-secondary {
    background-color: var(--accent-color);
    color: var(--white);
    border: 2px solid var(--accent-color);
}

.btn-secondary:hover {
    background-color: #e69d3a;
    border-color: #e69d3a;
}

.icon {
    width: 18px;
    height: 18px;
    vertical-align: middle;
    margin-right: 8px;
}

/* --- Header --- */
.header {
    background-color: var(--white);
    box-shadow: var(--box-shadow);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 0;
    border-bottom: 1px solid var(--light-gray);
    font-size: 0.9rem;
    animation: slideDown 0.6s ease-out;
}

@keyframes slideDown {
    from {
        transform: translateY(-20px);
        opacity: 0;
    }

    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.contact-info {
    display: flex;
    gap: 30px;
    align-items: center;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 8px 15px;
    background: white;
    border-radius: 25px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
}

.contact-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(37, 65, 204, 0.15);
}

.contact-icon-wrapper {
    width: 35px;
    height: 35px;
    background: linear-gradient(135deg, var(--primary-color) 0%, #1d33a3 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s ease;
}

.contact-item:hover .contact-icon-wrapper {
    transform: scale(1.1) rotate(5deg);
    animation: bounce 0.6s ease;
}

@keyframes bounce {

    0%,
    100% {
        transform: scale(1.1) translateY(0);
    }

    50% {
        transform: scale(1.1) translateY(-5px);
    }
}

.contact-icon-wrapper .icon {
    width: 18px;
    height: 18px;
    filter: brightness(0) invert(1);
    margin: 0;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.contact-label {
    font-size: 0.75rem;
    color: #999;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.contact-details a {
    color: var(--secondary-color);
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease;
}

.contact-item:hover .contact-details a {
    color: var(--primary-color);
}

.social-links a {
    color: var(--text-color);
    text-decoration: none;
    margin-right: 15px;
    transition: all 0.3s ease;
    display: inline-block;
}

.social-links a:hover {
    transform: scale(1.15) rotate(5deg);
}

.social-links svg {
    width: 24px;
    height: 24px;
    color: var(--secondary-color);
    transition: color 0.3s ease;
}

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


/* --- Navigation --- */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
}

.logo img {
    height: 50px;
}

.nav-links {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
}

.nav-links li {
    margin-left: 30px;
}

.nav-links a {
    text-decoration: none;
    color: var(--secondary-color);
    font-family: 'Montserrat', sans-serif;
    font-weight: 500;
    padding-bottom: 5px;
    border-bottom: 2px solid transparent;
    transition: all 0.3s ease;
}

.nav-links a:hover,
.nav-links li.active a {
    color: var(--primary-color);
    border-bottom-color: var(--primary-color);
}

.dropdown {
    position: relative;
}

.dropdown-content {
    display: none;
    position: absolute;
    top: 120%;
    left: -20px;
    background-color: var(--white);
    box-shadow: var(--box-shadow);
    border-radius: var(--border-radius);
    list-style: none;
    padding: 10px 0;
    min-width: 200px;
}

.dropdown:hover .dropdown-content {
    display: block;
}

.dropdown-content li {
    margin: 0;
}

.dropdown-content a {
    display: block;
    padding: 10px 20px;
    border-bottom: none;
}

.dropdown-content a:hover {
    background-color: var(--light-gray);
}

.hamburger {
    display: none;
    cursor: pointer;
    background: none;
    border: none;
    padding: 0;
}

.hamburger span {
    display: block;
    width: 25px;
    height: 3px;
    background-color: var(--secondary-color);
    margin: 5px 0;
    transition: all 0.3s ease;
}


/* --- Hero Section --- */
.hero {
    background-size: cover;
    background-position: center;
    color: var(--white);
    text-align: center;
    padding: 120px 0;
    position: relative;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
}

.hero .container {
    position: relative;
    z-index: 1;
}

.hero h1 {
    font-size: 3rem;
    color: var(--white);
    margin-bottom: 20px;
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 30px;
}

/* --- Services Section --- */
.services {
    padding: 80px 0;
    background-color: var(--light-gray);
}

.services h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 60px;
}

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

.service-card {
    background-color: var(--white);
    padding: 40px;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.service-card .icon {
    width: 60px;
    height: 60px;
    margin-bottom: 20px;
}

.service-card h3 {
    margin-bottom: 15px;
    font-size: 1.5rem;
}

/* --- About Section --- */
.about {
    padding: 80px 0;
}

.about-content {
    display: flex;
    align-items: center;
    gap: 60px;
}

.about-image {
    flex: 1;
}

.about-image img {
    max-width: 100%;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
}

.about-text {
    flex: 1.2;
}

.about-text h2 {
    font-size: 2.2rem;
    margin-bottom: 20px;
}

.about-text p {
    margin-bottom: 20px;
}

/* --- Footer --- */
.footer {
    background-color: var(--secondary-color);
    color: var(--light-gray);
    padding: 60px 0 20px;
}

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

.footer-col h4 {
    color: var(--white);
    font-size: 1.2rem;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 10px;
}

.footer-col h4::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 40px;
    height: 2px;
    background-color: var(--primary-color);
}

.footer-col .footer-logo {
    height: 50px;
    margin-bottom: 15px;
}

.footer-col p,
.footer-col ul {
    margin: 0;
    padding: 0;
    list-style: none;
}

.footer-col a {
    color: var(--light-gray);
    text-decoration: none;
    transition: color 0.3s ease;
}

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

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

.social-links-footer svg {
    width: 25px;
    height: 25px;
    color: var(--white);
    transition: color 0.3s ease;
}

.social-links-footer a:hover svg {
    color: var(--primary-color);
}

.footer-bottom {
    text-align: center;
    border-top: 1px solid #444;
    padding-top: 20px;
    font-size: 0.9rem;
}


/* --- Responsive --- */
@media (max-width: 992px) {
    .header-top {
        display: none;
        /* Hide top bar on smaller screens */
    }

    .nav-links {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 80px;
        /* Adjust based on navbar height */
        right: 0;
        background-color: var(--white);
        width: 100%;
        text-align: center;
        box-shadow: var(--box-shadow);
    }

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

    .nav-links li {
        margin: 15px 0;
    }

    .navbar .btn {
        display: none;
        /* Hide button next to nav links */
    }

    .hamburger {
        display: block;
    }

    .hamburger.active span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }

    .hamburger.active span:nth-child(2) {
        opacity: 0;
    }

    .hamburger.active span:nth-child(3) {
        transform: rotate(-45deg) translate(7px, -6px);
    }

    .dropdown:hover .dropdown-content {
        display: none;
        /* Disable hover on tablet/mobile */
    }

    .dropdown-content {
        position: static;
        box-shadow: none;
        background-color: var(--light-gray);
        padding-left: 30px;
    }

    .dropdown>a::after {
        content: ' ▼';
        font-size: 0.8em;
    }

    /* Toggle dropdown on click */
    .dropdown.open .dropdown-content {
        display: block;
    }

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

    .about-content {
        flex-direction: column;
    }
}

@media (max-width: 576px) {
    body {
        font-size: 15px;
    }

    .hero {
        padding: 80px 0;
    }

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

    .services,
    .about {
        padding: 60px 0;
    }

    .services h2 {
        font-size: 2rem;
    }

    .service-card {
        padding: 30px;
    }
}

/* --- Subpage Hero --- */
.hero-subpage {
    background-size: cover;
    background-position: center;
    color: var(--white);
    padding: 80px 0;
    position: relative;
    text-align: center;
}

.hero-subpage::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
}

.hero-subpage .container {
    position: relative;
    z-index: 1;
}

.hero-subpage h1 {
    font-size: 2.8rem;
    color: var(--white);
    margin-bottom: 15px;
}

.hero-subpage .subtitle {
    font-size: 1.1rem;
    max-width: 800px;
    margin: 0 auto;
    opacity: 0.9;
}

/* --- General Page Content --- */
.page-content {
    padding: 80px 0;
    background-color: #fdfdfd;
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 60px;
}

/* --- Accordion --- */
.accordion {
    max-width: 800px;
    margin: 0 auto;
    border: 1px solid #e0e0e0;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.accordion-item {
    border-bottom: 1px solid #e0e0e0;
}

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

.accordion-header {
    background-color: var(--white);
    color: var(--secondary-color);
    cursor: pointer;
    padding: 20px;
    width: 100%;
    border: none;
    text-align: left;
    outline: none;
    font-size: 1.1rem;
    font-weight: 600;
    font-family: 'Montserrat', sans-serif;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: background-color 0.3s ease;
}

.accordion-header:hover {
    background-color: var(--light-gray);
}

.accordion-header .icon-arrow {
    width: 10px;
    height: 10px;
    border-right: 2px solid var(--secondary-color);
    border-bottom: 2px solid var(--secondary-color);
    transform: rotate(-135deg);
    transition: transform 0.3s ease;
    margin-right: 5px;
}

.accordion-item.active .accordion-header {
    background-color: #f5f8f5;
}

.accordion-item.active .accordion-header .icon-arrow {
    transform: rotate(45deg);
}

.accordion-content {
    padding: 0 20px;
    background-color: var(--white);
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease-in-out, padding 0.3s ease-in-out;
}

.accordion-content p {
    padding: 20px 0;
    margin: 0;
    border-top: 1px solid var(--light-gray);
    line-height: 1.7;
    font-size: 0.95rem;
}

/* --- Two Column Layout --- */
.two-column-layout {
    display: flex;
    gap: 40px;
    align-items: stretch;
}

.column {
    flex: 1;
    padding: 40px;
    border-radius: var(--border-radius);
}

.column-light {
    background-color: var(--white);
    box-shadow: var(--box-shadow);
}

.column-dark {
    background-color: var(--primary-color);
    color: var(--white);
}

.column h3 {
    font-size: 1.8rem;
    margin-bottom: 20px;
    text-align: center;
}

.column-dark h3 {
    color: var(--white);
}

.column p {
    margin-bottom: 20px;
}

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

.column ul li {
    margin-bottom: 20px;
    padding-left: 30px;
    position: relative;
    line-height: 1.5;
}

.column ul li::before {
    content: '?';
    color: var(--primary-color);
    position: absolute;
    left: 0;
    font-size: 1.5rem;
    line-height: 1;
}

.column-dark ul li::before {
    color: var(--white);
}

@media (max-width: 992px) {
    .two-column-layout {
        flex-direction: column;
    }
}

/* --- Text Section --- */
.text-section {
    padding: 80px 0;
    background-color: var(--white);
}

.text-section .container {
    max-width: 900px;
    text-align: center;
}

.text-section h2 {
    font-size: 2.2rem;
    margin-bottom: 20px;
}

.text-section p {
    font-size: 1.1rem;
    line-height: 1.7;
}

/* --- Simulator Page --- */
.simulator-container {
    padding: 40px 0;
    margin: 0 auto;
    max-width: 100%;
}

.simulator-container iframe {
    width: 100%;
    min-height: 800px;
    /* Adjust as needed */
    border: 1px solid #e0e0e0;
    border-radius: var(--border-radius);
}