/* 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;
}

/* Desktop: Increase logo size by 20% and move 10px to the right */
@media (min-width: 992px) {
    .logo-img {
        width: 285.12px;
        height: 79.2px;
        margin-left: 10px;
    }
}

.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;
    align-items: center;
    list-style: none;
    gap: 35px;
}

.nav-link {
    color: #787878;
    text-decoration: none;
    font-weight: 500;
    font-size: 14px;
    transition: color 0.3s ease;
    position: relative;
    display: flex;
    align-items: center;
    line-height: 1;
    padding: 0;
}

.nav-item {
    position: relative;
    display: flex;
    align-items: center;
    height: 100%;
}

.nav-item.dropdown .nav-link::after {
    content: '▾';
    margin-left: 6px;
    font-size: 0.7rem;
    transition: transform 0.3s ease;
}

.nav-item.dropdown:hover .nav-link::after {
    transform: rotate(180deg);
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    margin-top: 0;
    display: none;
    flex-direction: column;
    align-items: flex-start;
    background: #ffffff;
    padding: 1.25rem 1.75rem;
    border-radius: 12px;
    box-shadow: 0 20px 45px rgba(0, 0, 0, 0.12);
    min-width: 320px;
    z-index: 1100;
}

.dropdown-group {
    width: 100%;
    padding: 0.75rem 0;
}

.dropdown-group + .dropdown-group {
    margin-top: -0.5rem;
    padding-top: 0.5rem;
    border-top: 1px solid #e5e7eb;
}

.dropdown-title {
    font-size: 0.95rem;
    font-weight: 600;
    color: #004786;
    margin-bottom: 0.5rem;
    display: block;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    cursor: default;
    user-select: none;
    transition: color 0.3s ease;
}

.dropdown-title:hover {
    color: #003366;
}

.dropdown-arrow {
    display: inline-block;
    margin-left: 8px;
    transition: transform 0.3s ease;
    font-size: 0.8rem;
}

.dropdown-group.active .dropdown-arrow,
.dropdown-group:hover .dropdown-arrow {
    transform: rotate(180deg);
}

.dropdown-links {
    list-style: none;
    margin: 0;
    padding: 0;
    flex-direction: column;
    gap: 0.35rem;
    display: flex;
}

/* Hide dropdown links by default in Services dropdown (only for groups with titles) */
.dropdown-group .dropdown-title ~ .dropdown-links {
    display: none !important;
}

/* Show dropdown links when Services dropdown group is hovered */
.dropdown-group:hover .dropdown-title ~ .dropdown-links {
    display: flex !important;
}

/* Show dropdown links when Services dropdown group is active (for backward compatibility) */
.dropdown-group.active .dropdown-title ~ .dropdown-links {
    display: flex !important;
}

/* Solutions dropdown - always show links (it doesn't have dropdown-title) */
.dropdown-solutions .dropdown-links {
    display: flex !important;
}

.dropdown-links a {
    color: #1a1a2e;
    font-size: 0.92rem;
    font-weight: 500;
    text-decoration: none;
    white-space: nowrap;
    transition: color 0.3s ease, transform 0.3s ease;
    display: block;
    padding: 0.3rem 0;
}

.dropdown-links a:hover {
    color: #004786;
    transform: translateX(4px);
}

.nav-item.dropdown.align-right .dropdown-menu {
    left: auto;
    right: 0;
}

.nav-item.dropdown.dropdown-solutions .dropdown-menu {
    left: 0;
    right: auto;
}

@media (min-width: 992px) {
    .nav-item.dropdown:hover .dropdown-menu,
    .nav-item.dropdown .dropdown-menu:hover {
        display: flex;
    }
}

@media (max-width: 991px) {
    .nav-item.dropdown .dropdown-menu {
        display: none !important;
    }

    .nav-item.dropdown .nav-link::after {
        display: none;
    }
}

.nav-item.nav-iso {
    display: flex;
    align-items: center;
    margin-left: 1.5rem;
    height: 100%;
}

.nav-iso-img {
    height: 65.91px;
    width: auto;
    display: block;
    object-fit: contain;
}

@media (max-width: 991px) {
    .nav-item.nav-iso {
        display: none;
    }
}

.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);
}



/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    background: black;
    color: white;
    overflow: hidden;
}

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

.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: transparent;
    z-index: 2;
}

/* Fallback circuit pattern for browsers that don't support video */
.circuit-pattern {
    width: 100%;
    height: 100%;
    background-image: 
        radial-gradient(circle at 25% 25%, #00d4ff 2px, transparent 2px),
        radial-gradient(circle at 75% 75%, #00d4ff 2px, transparent 2px);
    background-size: 50px 50px;
    animation: circuitFlow 20s linear infinite;
}

@keyframes circuitFlow {
    0% { transform: translateX(0) translateY(0); }
    100% { transform: translateX(50px) translateY(50px); }
}

.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;
    white-space: nowrap;
}

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

.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;
}

/* Section Styles */
section {
    padding: 5rem 0;
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 3rem;
    color: #004786;
    position: relative;
}


/* Services Section */
.services {
    background: #f8f9fa;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-template-rows: repeat(2, 1fr);
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
    justify-items: center;
}

.service-item {
    background: transparent;
    padding: 2rem;
    text-align: center;
    transition: all 0.3s ease;
}

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

.service-icon {
    width: 132px;
    height: 132px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
}

.service-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.service-item h3 {
    font-size: 20px;
    font-weight: 600;
    color: #397EC1;
    white-space: nowrap;
}

/* Why Us Section */
.why-us {
    background: #F0F0FB;
    color: #1a1a2e;
}

.why-us .section-title {
    color: #004786;
}

.metrics {
    display: flex;
    justify-content: center;
    gap: 4rem;
    flex-wrap: wrap;
}

.metric-item {
    text-align: center;
}

.metric-icon {
    width: 199px;
    height: 199px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 0.36rem;
}

.metric-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.metric-number {
    font-size: 2rem;
    font-weight: 700;
}

.metric-label {
    font-size: 20px;
    font-weight: 600;
    color: #397EC1;
    white-space: nowrap;
}

/* Industries Section */
.industries {
    background: #f8f9fa;
}

.industries-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
}

.industry-item {
    background: transparent;
    padding: 2rem 1.5rem;
    border-radius: 0;
    text-align: center;
    box-shadow: none;
    transition: all 0.3s ease;
    border: none;
}

.industry-item:hover {
    transform: none;
    box-shadow: none;
}

.industry-icon {
    width: 113px;
    height: 113px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
}

.industry-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.industry-item h3 {
    font-size: 20px;
    font-weight: 600;
    color: #397EC1;
    white-space: nowrap;
}

/* EDA Tools Section */
.tools {
    background: white;
}

.tools-logos {
    display: flex;
    align-items: center;
    overflow: hidden;
    width: 100%;
    position: relative;
    mask: linear-gradient(to right, transparent 0%, black 10%, black 90%, transparent 100%);
    -webkit-mask: linear-gradient(to right, transparent 0%, black 10%, black 90%, transparent 100%);
}

.tools-logos-wrapper {
    display: flex;
    align-items: center;
    gap: 4rem;
    animation: scrollLogos 30s linear infinite;
    white-space: nowrap;
}

.tools-logos-wrapper:hover {
    animation-play-state: paused;
}

@keyframes scrollLogos {
    0% {
        transform: translateX(0%);
    }
    100% {
        transform: translateX(-50%);
    }
}

.tool-logo {
    background: transparent;
    padding: 0;
    border-radius: 0;
    border: none;
    transition: all 0.3s ease;
}

.tool-logo:hover {
    transform: translateY(-2px);
}

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

.tool-logo-img {
    width: 400px;
    height: 200px;
    object-fit: contain;
}

/* Contact Section */
.contact {
    background: #F0F0FB;
}

.contact-form {
    max-width: 800px;
    margin: 0 auto;
    background: white;
    padding: 3rem;
    border-radius: 16px;
    box-shadow: 0 8px 40px rgba(0, 0, 0, 0.1);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.9rem;
    margin-bottom: 0.9rem;
}

.form-group {
    margin-bottom: 0.9rem;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 1rem;
    border: 2px solid #e9ecef;
    border-radius: 8px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
    font-family: inherit;
    height: 58px;
    box-sizing: border-box;
    background-color: white;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #004786;
}

.phone-input {
    position: relative;
    display: flex;
    align-items: center;
}

.country-flag {
    position: absolute;
    left: 15px;
    font-size: 1.2rem;
    z-index: 2;
}

.phone-input input {
    padding-left: 50px;
}

.selected-services-container {
    margin-bottom: 2rem;
    padding: 1.5rem;
    background: #f8f9fa;
    border-radius: 12px;
    border: 2px solid #e9ecef;
}

.selected-services-title {
    margin-bottom: 1rem;
    color: #1a1a2e;
    font-size: 1.1rem;
    font-weight: 600;
}

.selected-services {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    min-height: 40px;
}

.selected-services:empty::before {
    content: "No services selected yet. Choose from the dropdown above.";
    color: #6c757d;
    font-style: italic;
    padding: 1rem;
    text-align: center;
    width: 100%;
    display: block;
}

.service-tag {
    background: #F0F0FB;
    color: #004786;
    padding: 0.6rem 1.2rem;
    border-radius: 25px;
    font-size: 0.9rem;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    box-shadow: 0 2px 8px rgba(0, 71, 134, 0.2);
    transition: all 0.3s ease;
    animation: fadeInScale 0.3s ease-out;
}

.service-tag:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 71, 134, 0.3);
}

.remove-tag {
    cursor: pointer;
    font-weight: bold;
    color: #d32f2f;
    font-size: 1.2rem;
    line-height: 1;
    padding: 0 0.2rem;
    transition: color 0.3s ease;
}

.remove-tag:hover {
    color: #b71c1c;
}

@keyframes fadeInScale {
    from {
        opacity: 0;
        transform: scale(0.8);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

.submit-button {
    width: 100%;
    background: #4075A4;
    color: white;
    border: none;
    padding: 1.2rem;
    font-size: 1.1rem;
    font-weight: 600;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.submit-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(64, 117, 164, 0.3);
}

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

.footer .container {
    max-width: 1400px;
    padding-left: 20px;
    padding-right: 20px;
}

.footer-content {
    display: flex;
    gap: 1.5rem;
    align-items: flex-start;
    justify-content: space-between;
    position: relative;
    width: 100%;
}

.footer-primary {
    flex: 0 0 240px;
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.footer-links-wrapper {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    column-gap: 3rem;
    row-gap: 2rem;
    margin-left: auto;
    margin-right: 0;
    padding-right: 0;
    flex-shrink: 0;
}

.footer-column {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

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

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

/* Desktop: Footer logo same size as navbar logo and move 10px to the right */
@media (min-width: 992px) {
    .footer-logo-img {
        width: 285.12px;
        height: 79.2px;
        margin-left: 10px;
    }
}

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

.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.3rem;
}

.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: 200px;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    box-sizing: border-box;
    white-space: nowrap;
}

.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;
}

.footer-column:first-child .download-button,
.footer-primary .download-button {
    margin-top: 0.5rem;
}

/* Teamwork Section */
.teamwork-image-section {
    position: relative;
    width: 100vw;
    margin-left: calc(-50vw + 50%);
    margin-right: calc(-50vw + 50%);
    height: 100vh;
    overflow: hidden;
    background: white;
}

.teamwork-image-container {
    position: relative;
    width: 100%;
    height: 100%;
    background: black;
    display: flex;
    align-items: center;
    justify-content: center;
}

.teamwork-main-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    position: relative;
    z-index: 1;
}

.teamwork-mobile-image {
    display: none;
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: relative;
    z-index: 1;
}

.teamwork-text-content {
    position: absolute;
    top: calc(50% - 100px);
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    color: white;
    z-index: 10;
    max-width: 90vw;
    width: 90vw;
    padding: 0 150px;
}

.teamwork-title {
    font-size: 48px;
    font-weight: 600;
    margin-bottom: 2rem;
    color: #ffffff;
}

.teamwork-subtext {
    font-size: 16px;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.8);
    text-align: justify;
    text-align-last: left;
}

/* Managing Director Section */
.managing-director-section {
    background: #F0F0FB;
    padding: 1rem 0 2rem 0;
}

/* Our Team Section */
.our-team-section {
    background: #ffffff;
    padding: 4rem 0 0 0;
}

.our-team-section .section-title {
    margin-bottom: 2rem;
}

.our-team-section .section-title::after {
    display: none;
}

.team-image-wrapper {
    width: 100vw;
    margin-left: calc(-50vw + 50%);
    margin-right: calc(-50vw + 50%);
    overflow: hidden;
    margin-top: 2rem;
}

.team-image {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
}

.team-description {
    font-size: 16px;
    line-height: 1.6;
    color: #333;
    text-align: justify;
    text-align-last: left;
    max-width: 90vw;
    width: 90vw;
    margin: 3rem 0;
    padding: 0 150px;
    box-sizing: border-box;
    position: relative;
    left: 50%;
    transform: translateX(-50%);
}

.managing-director-section .section-title {
    margin-bottom: 2rem;
}

.managing-director-section .section-title::after {
    display: none;
}

/* MD Heading above background */
.container .section-title {
    text-align: center;
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 2rem;
    color: #004786;
    position: relative;
    padding: 2rem 0 0 0;
}


.md-background-wrapper {
    width: 100%;
    background: #F0F0FB;
    margin: 0;
    padding: 0;
}

.md-message-container {
    display: flex;
    justify-content: center;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 1rem 20px;
    width: 100%;
    box-sizing: border-box;
    flex-wrap: wrap;
    gap: 2rem;
}

.md-message-content {
    flex: 1;
    margin-left: 0;
    margin-top: -100px;
    text-align: center;
    max-width: 600px;
    min-width: 300px;
    padding: 0 1rem;
}

.md-message-text {
    font-size: 16px;
    line-height: 1.8;
    color: #333;
    text-align: justify;
    text-align-last: left;
    text-indent: 2em;
    position: relative;
    max-width: 100%;
    margin: 0 auto;
}

.md-message-text::before {
    content: '"';
    position: absolute;
    left: -20px;
    top: -10px;
    font-size: 24px;
    font-weight: bold;
    color: #004786;
}

.md-message-text::after {
    content: '"';
    position: absolute;
    right: 160px;
    bottom: -10px;
    font-size: 24px;
    font-weight: bold;
    color: #004786;
}

.md-profile {
    flex: 0 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    max-width: 300px;
    min-width: 200px;
    padding: 0 1rem;
}

.md-photo {
    margin-bottom: 1rem;
}

.md-photo-img {
    width: 195px;
    height: 195px;
    border-radius: 0;
    object-fit: cover;
    border-radius: 0 !important;
    box-shadow: none !important;
    background: transparent !important;
    border: none !important;
    outline: none !important;
    clip-path: none !important;
    mask: none !important;
    -webkit-mask: none !important;
}

.md-info {
    margin-left: 0 !important;
    text-align: center !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    width: 100% !important;
}

.md-name {
    font-size: 24px;
    font-weight: 600;
    color: #333;
    margin-bottom: 0.5rem;
    text-align: center !important;
    width: 100% !important;
    margin: 0 0 0.5rem 0 !important;
    display: block !important;
}

.md-title {
    font-size: 16px;
    color: #666;
    text-align: center !important;
    width: 100% !important;
    margin: 0 !important;
    display: block !important;
}

/* 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 {
        display: block;
        font-size: 1.716rem;
        padding: 1.248rem 0;
        border-bottom: 1px solid #e9ecef;
        width: 100%;
        text-align: center;
        height: auto;
    }
    
    /* Hero Section Mobile */
    .hero {
        margin-top: 70px;
        min-height: 100vh;
    }
    
    .hero-content {
        padding: 1rem 1rem 0 1rem;
        text-align: center;
    }
    
    .hero-title {
        font-size: 0;
        margin-bottom: 0.2rem;
        padding-top: 20px;
        padding-bottom: 10px;
    }
    
    .hero-title::before {
        content: "About Us";
        white-space: pre-line;
        font-size: 43px;
        font-weight: 600;
        color: #ffffff;
        display: block;
    }
    
    .hero-description {
        font-size: 0;
        line-height: 1.4;
        margin: 0.2rem 0;
        text-align: center;
        max-width: calc(100% - 40px);
        margin-left: auto;
        margin-right: auto;
    }
    
    .hero-description::before {
        content: "At Glorious Circuit Technologies, we are driven by a passion for innovation and precision in the world of electronics. we specialize in delivering high-quality technology services that meet global standards.";
        white-space: normal;
        font-size: 14px;
        font-weight: 400;
        color: rgba(255, 255, 255, 0.9);
        display: block;
    }
    
    .cta-button {
        width: 168px;
        height: 48px;
        font-size: 1.08rem;
        margin-top: 1.4rem;
    }
    
    /* Services Grid Mobile */
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
        padding: 0 1rem;
    }
    
    .service-item {
        padding: 1.5rem 1rem;
    }
    
    .service-icon {
        width: 104px;
        height: 104px;
        margin-bottom: 1rem;
    }
    
    .service-item h3 {
        font-size: 1rem;
        white-space: normal;
    }
    
    /* Why Us Section Mobile */
    .metrics {
        flex-direction: column;
        gap: 2rem;
        padding: 0 1rem;
    }
    
    .metric-icon {
        width: 242px;
        height: 242px;
        margin-bottom: 0.4rem;
    }
    
    .metric-label {
        font-size: 1.2rem;
        white-space: normal;
    }
    
    /* Industries Section Mobile */
    .industries-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
        padding: 0 1rem;
    }
    
    .industry-item {
        padding: 1rem 0.5rem;
    }
    
    .industry-icon {
        width: 153px;
        height: 153px;
        margin-bottom: 0.5rem;
    }
    
    .industry-item h3 {
        font-size: 1rem;
        white-space: normal;
    }
    
    /* EDA Tools Mobile */
    .tools-logos-wrapper {
        gap: 1rem;
        animation-duration: 15s;
    }
    
    .tool-logo-img {
        width: 220px;
        height: 109px;
    }
    
    /* Contact Form Mobile */
    .contact-form {
        padding: 1.5rem 1rem;
        margin: 0 1rem;
    }
    
    .form-row {
        grid-template-columns: 1fr;
        gap: 0.5rem;
    }
    
    .form-group input,
    .form-group select,
    .form-group textarea {
        padding: 0.8rem;
        font-size: 0.9rem;
    }
    
    /* Teamwork Section Mobile */
    .teamwork-main-image {
        display: none;
    }
    
    .teamwork-mobile-image {
        display: block;
        object-fit: cover;
        min-height: 400px;
    }
    
    .teamwork-image-section {
        width: 100%;
        position: relative;
        overflow: hidden;
        left: 0;
        right: 0;
        background: white;
    }
    
    .teamwork-image-container {
        position: relative;
        width: 100%;
        height: 100%;
        background: black;
        display: flex;
        align-items: center;
        justify-content: center;
    }
    
    .teamwork-text-content {
        position: absolute;
        top: calc(50px - 100px + 500px - 300px) !important;
        left: 50%;
        transform: translateX(-50%);
        z-index: 100 !important;
        background: transparent !important;
        border-radius: 0;
        padding: 20px;
        max-width: 90vw;
        width: 90vw;
        text-align: center !important;
    }
    
    .teamwork-title {
        font-size: 32px !important;
        margin-bottom: 1rem;
        text-shadow: 2px 2px 4px rgba(0, 0, 0, 1) !important;
        font-weight: bold !important;
        color: #ffffff !important;
        text-align: center !important;
        width: 100%;
    }
    
    .teamwork-subtext {
        font-size: 16px !important;
        line-height: 1.4;
        color: rgba(255, 255, 255, 0.8) !important;
        text-shadow: 1px 1px 3px rgba(0, 0, 0, 1) !important;
        text-align: justify !important;
        text-align-last: left !important;
        width: 100%;
    }
    
    /* Managing Director Section Mobile */
    .md-message-container {
        flex-direction: column;
        text-align: center;
        padding: 1rem;
        width: 100%;
        box-sizing: border-box;
    }
    
    .md-message-content {
        margin-left: 0 !important;
        margin-top: calc(2rem - 40px) !important;
        display: flex !important;
        justify-content: center !important;
        align-items: center !important;
        width: 100% !important;
        text-align: center !important;
        padding: 0 !important;
        max-width: 100% !important;
        order: 2 !important;
    }
    
    .md-message-text {
        margin: 0 auto !important;
        width: 100%;
        line-height: 1.66 !important;
        font-size: 16px;
        text-align: justify !important;
        text-align-last: left !important;
        text-indent: 2em !important;
    }
    
    .md-message-text::after {
        right: 10px !important;
        bottom: -5px !important;
    }
    
    .md-profile {
        flex: none !important;
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        justify-content: center !important;
        width: 100% !important;
        text-align: center !important;
        order: 1 !important;
    }
    
    .md-info {
        margin-left: 0 !important;
        text-align: center !important;
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        justify-content: center !important;
        width: 100% !important;
    }
    
    .md-name {
        text-align: center !important;
        width: 100% !important;
        margin: 0 0 0.5rem 0 !important;
        display: block !important;
    }
    
    .md-title {
        text-align: center !important;
        width: 100% !important;
        margin: 0 !important;
        display: block !important;
    }
    
    /* Footer Mobile */
    .footer-content {
        flex-direction: column;
        gap: 2rem;
        padding: 0 1rem;
    }

    .footer-primary {
        width: 100%;
        order: 1;
    }

    .footer-links-wrapper {
        grid-template-columns: 1fr;
        column-gap: 0;
        row-gap: 1rem;
        order: 2;
        margin-left: 0 !important;
        padding-left: 0 !important;
        width: 100%;
    }
    
    .footer-column {
        position: static !important;
        right: auto !important;
        top: auto !important;
        margin-left: 0 !important;
        padding-left: 0 !important;
        align-items: flex-start;
    }
    
    .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: 10px;
    }
    
    .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;
    }
    
    .team-description {
        max-width: 95vw;
        width: 95vw;
        padding: 0 20px;
        text-align: justify !important;
        text-align-last: left !important;
    }
}

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