/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #ffffff;
    overflow-x: hidden;
    margin: 0;
    padding: 0;
}

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

/* Header Styles */
.header {
    background: white;
    color: #1a1a2e;
    padding: 14px 0 0.55rem 0;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
}

.header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1400px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo a {
    text-decoration: none;
    display: inline-block;
}

.logo-img {
    width: 237.6px;
    height: 66px;
    object-fit: contain;
    display: block;
}

.mobile-logo-img {
    display: none;
    width: 168px;
    height: 50px;
    object-fit: contain;
}

.logo-text {
    font-weight: 600;
    font-size: 1.1rem;
    color: #1a1a2e;
}

.nav-list {
    display: flex;
    list-style: none;
    gap: 44px;
}

.nav-link {
    color: #787878;
    text-decoration: none;
    font-weight: 500;
    font-size: 14px;
    transition: color 0.3s ease;
    position: relative;
}

.nav-link:hover {
    color: #787878;
}

.nav-link.active {
    color: #004786 !important;
    font-weight: 700 !important;
}

/* Mobile Menu Toggle */
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
    padding: 5px;
    z-index: 1001;
    position: relative;
}

.hamburger-line {
    width: 25px;
    height: 3px;
    background-color: #1a1a2e;
    margin: 3px 0;
    transition: 0.3s;
}

.mobile-menu-toggle.active .hamburger-line:nth-child(1) {
    transform: rotate(-45deg) translate(-5px, 6px);
}

.mobile-menu-toggle.active .hamburger-line:nth-child(2) {
    opacity: 0;
}

.mobile-menu-toggle.active .hamburger-line:nth-child(3) {
    transform: rotate(45deg) translate(-5px, -6px);
}

/* Services Hero Section */
.services-hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    background: #1a1a2e;
    color: white;
    overflow: hidden;
    margin-top: 80px;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    overflow: hidden;
    z-index: 1;
}

.hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    z-index: 1;
    opacity: 0.8;
}

.hero-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 110%;
    height: 100vh;
    object-fit: cover;
    object-position: center;
    z-index: 1;
    opacity: 0.42;
    display: block;
    transform: translateX(-5%);
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.4);
    z-index: 2;
}

.hero-content {
    position: relative;
    z-index: 3;
    width: 100%;
    text-align: center;
    animation: fadeInUp 1s ease-out;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-title {
    font-size: 48px;
    font-weight: 600;
    margin-bottom: 1.5rem;
    line-height: 1.2;
    color: #ffffff;
    text-align: center;
}

.hero-description {
    font-size: 14px;
    font-weight: 400;
    margin-bottom: 2rem;
    opacity: 0.75;
    line-height: 1.6;
    color: #ffffff;
    text-align: center;
    padding-left: 100px;
    padding-right: 100px;
}

.cta-button {
    background: #4075A4;
    color: white;
    border: none;
    width: 155px;
    height: 41px;
    font-size: 1.1rem;
    font-weight: 600;
    border-radius: 0;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
    text-decoration: none;
}

.cta-button:hover {
    background: #366089;
}

/* Service Section Styles */
.service-section {
    padding: 5rem 0;
    background: #ffffff;
}

.service-section.alt {
    background: #f8f9fa;
}

.service-content {
    display: flex;
    align-items: center;
    gap: 4rem;
    max-width: 1200px;
    margin: 0 auto;
}

.service-text {
    flex: 1;
    padding: 0 1rem;
}

.service-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: #004786;
    line-height: 1.2;
}

.service-description {
    font-size: 16px;
    line-height: 1.6;
    color: #333;
    margin-bottom: 2rem;
    text-align: justify;
}

.service-features {
    list-style: none;
    padding: 0;
    margin: 0;
}

.service-features li {
    font-size: 16px;
    line-height: 1.6;
    color: #333;
    margin-bottom: 0.8rem;
    padding-left: 1.5rem;
    position: relative;
}

.service-features li::before {
    content: "•";
    color: #004786;
    font-weight: bold;
    position: absolute;
    left: 0;
    top: 0.5rem;
    font-size: 1.2rem;
    line-height: 1.6;
    transform: translateY(-0.7rem);
}

.sub-analysis-title {
    font-size: 1.2rem;
    font-weight: 600;
    color: #004786;
    margin: 1.5rem 0 1rem 0;
    line-height: 1.3;
}

.service-image {
    flex: 1;
    padding: 0 1rem;
}

.service-img {
    width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.service-img:hover {
    transform: scale(1.02);
}

/* Footer */
.footer {
    background: #D9D9D9;
    color: #1a1a2e;
    padding: 3rem 0 2rem;
}

.footer-content {
    display: flex;
    align-items: start;
    position: relative;
}

.footer-column:first-child {
    flex: 0 0 auto;
}

.footer-column:nth-child(2) {
    position: absolute;
    right: 460px;
    top: 0;
}

.footer-column:nth-child(3) {
    position: absolute;
    right: 220px;
    top: 0;
}

.footer-column:nth-child(4) {
    position: absolute;
    right: 0;
    top: 0;
}

.footer-column {
    display: flex;
    flex-direction: column;
}

.footer-logo {
    margin-bottom: 0;
    margin-top: -15px;
    margin-left: -7px;
}

.footer-logo-img {
    width: 260px;
    height: 78px;
    object-fit: cover;
}

.footer-section-title {
    color: #525252;
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.footer-address {
    color: rgba(0, 0, 0, 0.55);
    line-height: 1.6;
    margin-bottom: 1.5rem;
    font-size: 0.9rem;
}

.social-links {
    margin-top: 1rem;
    margin-top: -12px;
}

.linkedin-icon {
    display: inline-block;
    background: transparent;
    color: white;
    width: 30px;
    height: 30px;
    text-align: center;
    line-height: 30px;
    text-decoration: none;
    font-weight: bold;
    border-radius: 0;
    font-size: 0.9rem;
    padding: 0;
    box-sizing: border-box;
}

.linkedin-logo-img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

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

.footer-links li {
    margin-bottom: 0.5rem;
}

.footer-links li a {
    color: rgba(0, 0, 0, 0.55);
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.3s ease;
}

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

.download-button {
    background: #4075A4;
    color: white;
    border: none;
    padding: 0 1.5rem;
    height: 41px;
    border-radius: 0;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    width: fit-content;
    min-width: 140px;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    box-sizing: border-box;
}

.download-button:hover {
    background: #366089;
    transform: translateY(-2px);
    color: white;
    text-decoration: none;
}

.download-button:visited {
    color: white;
    text-decoration: none;
}

.download-button:active {
    color: white;
    text-decoration: none;
}

.download-button:focus {
    color: white;
    text-decoration: none;
    outline: none;
}

/* Responsive Design */
@media (max-width: 768px) {
    /* Prevent horizontal overflow */
    body {
        overflow-x: hidden;
    }
    
    .container {
        padding: 0 15px;
        max-width: 100%;
    }
    
    .header .container {
        justify-content: space-between;
        align-items: center;
        padding: 0 15px 0 0;
    }
    
    .logo .mobile-logo-img {
        display: block !important;
    }
    
    .logo-img {
        display: none;
    }
    
    .mobile-logo-img {
        display: block !important;
        width: 168px;
        height: 50px;
        margin-left: -15px;
    }
    
    .mobile-menu-toggle {
        display: flex !important;
    }
    
    .nav {
        position: fixed;
        top: 0;
        left: -100%;
        width: 100%;
        height: 100vh;
        background: white;
        z-index: 1000;
        transition: left 0.3s ease;
        padding-top: 20px;
        box-shadow: 2px 0 10px rgba(0, 0, 0, 0.1);
        overflow-y: auto;
    }
    
    .nav a {
        text-decoration: none;
        display: block;
    }
    
    .nav .mobile-logo-img {
        display: block;
        width: 168px;
        height: 50px;
        margin: 0 0 2rem 0;
    }
    
    .nav.active {
        left: 0;
        display: block !important;
    }
    
    .nav-list {
        flex-direction: column;
        align-items: center;
        gap: 2.34rem;
        padding: 3.12rem 1.56rem;
    }
    
    .nav-link {
        font-size: 1.716rem;
        padding: 1.248rem 0;
        border-bottom: 1px solid #e9ecef;
        width: 100%;
        text-align: center;
    }
    
    .nav-link.active {
        color: #004786 !important;
        font-weight: 700 !important;
    }
    
    /* Services Hero Mobile */
    .services-hero {
        margin-top: 70px;
        min-height: 100vh;
    }
    
    .hero-title {
        font-size: 36px;
        margin-bottom: 1rem;
    }
    
    .hero-description {
        font-size: 14px;
        font-weight: 400;
        margin: 0.2rem 0;
        line-height: 1.4;
        color: rgba(255, 255, 255, 0.9);
        text-align: center;
        max-width: calc(100% - 40px);
        margin-left: auto;
        margin-right: auto;
        padding-left: 0;
        padding-right: 0;
    }
    
    /* Hero Video Mobile */
    .hero-video {
        height: 100vh;
        width: 110%;
        transform: translateX(-5%);
    }
    
    .cta-button {
        width: 168px;
        height: 48px;
        font-size: 1.08rem;
        margin-top: 1.4rem;
    }
    
    /* Service Sections Mobile */
    .service-content {
        flex-direction: column;
        gap: 2rem;
        text-align: center;
        padding: 0 0.5rem;
        margin: 0 0.5rem;
    }
    
    .service-section.alt .service-content {
        flex-direction: column;
    }
    
    /* Mobile layout: separate title, image, and description */
    .service-content .service-text {
        display: flex;
        flex-direction: column;
        order: 1;
        padding: 0;
    }
    
    .service-content .service-text .service-title {
        order: 1;
    }
    
    .service-content .service-text .service-description {
        order: 2;
    }
    
    .service-content .service-text .sub-analysis-title {
        order: 3;
    }
    
    .service-content .service-text .service-features {
        order: 4;
    }
    
    .service-content .service-image {
        order: 2;
    }
    
    .service-title {
        font-size: 2rem;
        margin-bottom: 1rem;
    }
    
    .service-text .service-description {
        font-size: 14px;
        text-align: left;
        margin-bottom: 1.5rem;
        padding: 0;
    }
    
    .service-text .service-features {
        text-align: left;
        padding: 0;
    }
    
    .service-text .service-features li {
        font-size: 14px;
        margin-bottom: 0.6rem;
    }
    
    /* Ensure proper mobile margins for service sections */
    .service-section {
        padding: 3rem 0;
        margin: 0 0.5rem;
    }
    
    .service-section.alt {
        padding: 3rem 0;
        margin: 0 0.5rem;
    }
    
    .service-image {
        padding: 0;
    }
    
    .service-img {
        max-width: 100%;
        height: auto;
    }
    
    
    /* Footer Mobile */
    .footer-content {
        display: flex;
        flex-direction: column;
        gap: 2rem;
        padding: 0 1rem;
    }
    
    .footer-column {
        position: static !important;
        right: auto !important;
        top: auto !important;
    }
    
    .footer-column:first-child {
        order: 1;
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        text-align: left;
    }
    
    .footer-column:nth-child(2) {
        order: 2;
    }
    
    .footer-column:nth-child(3) {
        order: 3;
    }
    
    .footer-column:nth-child(4) {
        order: 4;
    }
    
    .footer-logo-img {
        width: 364px;
        height: 109px;
        object-fit: contain;
        margin-bottom: 1rem;
        margin-left: -20px;
    }
    
    .footer-section-title {
        font-size: 1.1rem;
        color: #525252;
        margin-bottom: 0.8rem;
        font-weight: 700;
    }
    
    .footer-links {
        list-style: none;
        padding: 0;
        margin: 0;
    }
    
    .footer-links li {
        margin-bottom: 0.5rem;
    }
    
    .footer-links li a {
        color: rgba(0, 0, 0, 0.55);
        text-decoration: none;
        font-size: 0.9rem;
    }
    
    .download-button {
        background: #4075A4;
        color: white;
        padding: 0 1rem;
        height: 48px;
        border: none;
        border-radius: 0;
        font-size: 0.9rem;
        font-weight: 600;
        width: fit-content;
        margin-top: 0.5rem;
        box-sizing: border-box;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        text-align: center;
    }
    
    .footer-address {
        color: rgba(0, 0, 0, 0.55);
        font-size: 0.9rem;
        line-height: 1.4;
        margin-bottom: 1rem;
    }
    
    .linkedin-icon {
        display: inline-block;
        width: 24px;
        height: 24px;
    }
    
    .linkedin-logo-img {
        width: 100%;
        height: 100%;
        object-fit: contain;
    }
}

/* Desktop nav link styling */
@media (min-width: 769px) {
    .nav-link {
        font-size: 14px;
        padding: 0;
        border-bottom: none;
        width: auto;
        text-align: left;
    }
}
