/* ========== GLOBAL RESET ========== */

/* ===== Responsive Base ===== */
* {
    box-sizing: border-box;
}

img {
    max-width: 100%;
    height: auto;
}

body {
    margin: 0;
    overflow-x: hidden;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Segoe UI", sans-serif;
}

body {
    background-color: #f4f6f9;
    color: #333;
    padding-top: 0px;   /* height of header */
    padding-bottom: 35px; /* height of footer */

}

.container {
    width: 90%;
    max-width: 1100px;
    margin: auto;
}

/* ========== TOP HEADER ========== */

/* ================= FIXED HEADER ================= */

.top-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background-color: #0b1c2d;
}


.header-flex {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 24px;
    color: #00d1b2;
}

.tagline {
    font-size: 14px;
    opacity: 0.85;
}

/* ========== NAVIGATION ========== */
.main-nav {
    background-color: #112b42;
}

.nav-menu {
    list-style: none;
    display: flex;
    justify-content: center;
}

.nav-menu li {
    position: relative;
}

.nav-menu a {
    display: block;
    padding: 14px 20px;
    color: #fff;
    text-decoration: none;
}

.nav-menu a:hover {
    background-color: #00d1b2;
    color: #000;
}

/* ========== DROPDOWN ========== */
.dropdown-menu {
    display: none;
    position: absolute;
    background-color: #1a3b57;
    min-width: 220px;
    top: 100%;
    left: 0;
    z-index: 100;
}

.dropdown-menu li a {
    padding: 12px 15px;
}

.dropdown:hover .dropdown-menu {
    display: block;
}

/* ========== HERO SECTION ========== */
.hero {
    background: linear-gradient(to right, #0b1c2d, #123b61);
    padding: 60px 0;
    color: #fff;
    text-align: center;
}

.hero h2 {
    font-size: 36px;
    margin-bottom: 15px;
}

.hero p {
    max-width: 700px;
    margin: auto;
    font-size: 16px;
}

/* ========== CONTENT ========== */
.content {
    padding: 50px 0;
}

.content h3 {
    color: #0b1c2d;
    margin-bottom: 10px;
}

/* ========== CONTACT SECTION ========== */
.contact-section {
    background-color: #e9eef3;
    padding: 50px 0;
}

.contact-form {
    max-width: 600px;
    margin: auto;
    background: #fff;
    padding: 30px;
    border-radius: 6px;
}

.form-group {
    margin-bottom: 15px;
}

.form-group label {
    display: block;
    font-weight: bold;
    margin-bottom: 5px;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 4px;
}

button {
    background-color: #00d1b2;
    color: #000;
    border: none;
    padding: 12px 20px;
    cursor: pointer;
    font-size: 15px;
    border-radius: 4px;
}

button:hover {
    background-color: #00a896;
}

/* ========== FOOTER ========== */
/* ================= FIXED FOOTER ================= */

.footer {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background-color: #0b1c2d;
    color: #e9eef3;
    z-index: 1000;
    height: 20px;
}
.footer .container {
    display: flex;
    align-items: center;
    justify-content: flex-end; /* ✅ moves text to right */
    height: 100%;
}
/* Autoscroll Slider Section */
.slider {
    height: 50px;
    overflow: hidden;
    position: relative;
    margin-bottom: 20px;
}

.slide-track {
    display: flex;
    animation: scroll 50s linear infinite;
}

.slide {
    font-size: 26px;
    color: #00d1b2;
    min-width: 100%;
    font-weight: bold;
    text-align: center;
}

/* Animation keyframes */
@keyframes scroll {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-500%);
    }
}

/* Description under slider */
.hero-desc {
    color: #fff;
    font-size: 16px;
    max-width: 700px;
    margin: auto;
}

/* Product Page */
.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-bottom: 40px;
}

.product-card {
    background: #fff;
    border-left: 4px solid #00d1b2;
    padding: 20px;
    border-radius: 6px;
    transition: transform 0.3s;
}

.product-card:hover {
    transform: translateY(-5px);
}

.product-card h4 {
    margin-bottom: 10px;
    color: #0b1c2d;
}

.product-link {
    display: inline-block;
    margin-top: 10px;
    background: #00d1b2;
    color: #000;
    padding: 8px 14px;
    text-decoration: none;
    border-radius: 4px;
    font-weight: 500;
}

.product-link:hover {
    background: #00a896;
}
.product-list {
    margin-left: 20px;
    margin-bottom: 20px;
}

.product-list li {
    margin-bottom: 6px;
}

.download-btn {
    display: inline-block;
    background: #0b1c2d;
    color: #fff;
    padding: 12px 20px;
    text-decoration: none;
    border-radius: 5px;
    font-weight: 500;
}

.download-btn:hover {
    background: #123b61;
}

/* ================= MIDDLE SECTION ================= */

.middle-section {
    background-color: #ffffff;
    padding: 60px 0;
}

/* ABOUT BLOCK */
.middle-block {
    display: flex;
    gap: 40px;
    align-items: center;
    margin-bottom: 60px;
    flex-wrap: wrap;
}

.middle-text {
    flex: 1;
}

.middle-text h3 {
    color: #0b1c2d;
    margin-bottom: 15px;
}

.middle-text p {
    margin-bottom: 15px;
    line-height: 1.6;
}

.middle-list {
    list-style: none;
}

.middle-list li {
    margin-bottom: 8px;
}

/* IMAGE */
.middle-image {
    flex: 1;
}

.middle-image img {
    width: 100%;
    border-radius: 8px;
}

/* SERVICES GRID */
.service-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 25px;
}

.service-card {
    background: #f4f6f9;
    border-radius: 8px;
    padding: 20px;
    text-align: center;
    transition: transform 0.3s;
}

.service-card:hover {
    transform: translateY(-5px);
}

.service-card img {
    width: 80px;
    margin-bottom: 15px;
}

.service-card h4 {
    margin-bottom: 10px;
    color: #0b1c2d;
}

.service-card p {
    font-size: 14px;
}
/* ================= EXPERTISE SECTION ================= */

.expertise-section {
    background: #f4f6f9;
    padding: 70px 0;
    text-align: center;
}

.section-title {
    font-size: 28px;
    color: #0b1c2d;
    margin-bottom: 10px;
}

.section-subtitle {
    max-width: 700px;
    margin: 0 auto 50px;
    font-size: 16px;
    color: #555;
}

/* Expertise Cards Grid */
.expertise-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 25px;
}

.expertise-card {
    background: #ffffff;
    padding: 30px 20px;
    border-radius: 8px;
    text-decoration: none;
    color: #333;
    border-top: 4px solid #00d1b2;
    transition: all 0.3s ease;
}

.expertise-card h4 {
    color: #0b1c2d;
    margin-bottom: 10px;
}

.expertise-card p {
    font-size: 14px;
    line-height: 1.6;
}

.expertise-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.12);
    background-color: #ffffff;
}
/* ================= INDUSTRIES CARDS ================= */

.industries-section {
    padding: 80px 0;
    background: #ffffff;
    text-align: center;
}

/* Grid */
.industries-card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

/* Card */
.industry-card {
    background: #f4f6f9;
    border-radius: 14px;
    padding: 35px 25px;
    text-decoration: none;
    color: #333;
    text-align: left;
    transition: all 0.35s ease;
    position: relative;
    overflow: hidden;
}

/* Colored top bar */
.industry-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: linear-gradient(90deg, #00d1b2, #00a896);
}

/* Icon */
.industry-icon {
    font-size: 40px;
    margin-bottom: 15px;
}

/* Title */
.industry-card h4 {
    color: #0b1c2d;
    margin-bottom: 10px;
}

/* Description */
.industry-desc {
    font-size: 14px;
    margin-bottom: 15px;
    line-height: 1.6;
}

/* Bullet points */
.industry-points {
    padding-left: 18px;
}

.industry-points li {
    font-size: 13.5px;
    margin-bottom: 6px;
    color: #555;
}

/* Hover */
.industry-card:hover {
    transform: translateY(-12px);
    background: #ffffff;
    box-shadow: 0 20px 45px rgba(0,0,0,0.15);
}
/* ================= PLATFORMS SECTION ================= */

.platforms-section {
    padding: 80px 0;
    background: #f9fbfd;
    text-align: center;
}

/* Grid */
.platforms-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 30px;
}

/* Card */
.platform-card {
    background: #ffffff;
    padding: 35px 25px;
    border-radius: 14px;
    text-decoration: none;
    color: #333;
    transition: all 0.35s ease;
    box-shadow: 0 10px 25px rgba(0,0,0,0.08);
    position: relative;
}

/* Top Accent */
.platform-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, #00d1b2, #00a896);
}

/* Logo Placeholder */
.platform-logo {
    width: 62px;
    height: 62px;
    background: #0b1c2d;
    color: #ffffff;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    margin-bottom: 15px;
    font-size: 18px;
}

/* Title */
.platform-card h4 {
    color: #0b1c2d;
    margin-bottom: 10px;
}

/* Description */
.platform-card p {
    font-size: 14px;
    line-height: 1.6;
    color: #555;
}

/* Highlight card (Jetson) */
.platform-card-highlight {
    background: linear-gradient(135deg, #0b1c2d, #123b61);
    color: #ffffff;
}

.platform-card-highlight h4,
.platform-card-highlight p {
    color: #ffffff;
}

.platform-card-highlight .platform-logo {
    background: #00d1b2;
    color: #000;
}

/* Hover */
.platform-card:hover {
    transform: translateY(-12px);
    box-shadow: 0 18px 45px rgba(0,0,0,0.15);
}
/* ================= TECH STACK SECTION ================= */

.tech-stack-section {
    background: #ffffff;
    padding: 80px 0;
    text-align: center;
}

/* Row container */
.tech-stack-row {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 18px;
    margin-top: 40px;
}

/* Individual tech badge */
.tech-card {
    background: #f4f6f9;
    padding: 14px 22px;
    border-radius: 30px;
    font-size: 14px;
    font-weight: 600;
    color: #0b1c2d;
    transition: all 0.3s ease;
    cursor: default;
}

/* Highlight important tech */
.tech-card.highlight {
    background: #0b1c2d;
    color: #ffffff;
}

/* Hover effect */
.tech-card:hover {
    transform: translateY(-5px);
    background: #00d1b2;
    color: #000;
}

/* Logo styling */
.logo-container {
    display: flex;
    align-items: center;
}

.logo-container img {
    height: 48px; /* adjusts nicely in header */
    width: auto;
}

.company-name {
    color: #ffffff;
    font-size: 20px;
    font-weight: 600;
    margin-left: 10px;
}
/* ================= CONTACT MODAL ================= */

/* Modal background */
.contact-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.7);
    z-index: 9999;
    justify-content: center;
    align-items: center;
}

/* Modal box */
.contact-modal-content {
    background: #ffffff;
    width: 90%;
    max-width: 550px;
    padding: 30px;
    border-radius: 10px;
    position: relative;
    animation: slideDown 0.3s ease;
}

/* Close button */
.close-btn {
    position: absolute;
    top: 15px;
    right: 18px;
    font-size: 24px;
    cursor: pointer;
}

/* Animation */
@keyframes slideDown {
    from {
        transform: translateY(-40px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}
/* ================= SOCIAL ICONS ================= */

.social-icons {
    margin-top: 15px;
    display: flex;
    justify-content: center;
    gap: 16px;
}

.social-icons a {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.social-icons svg {
    width: 20px;
    height: 20px;
    fill: #0b1c2d;
}

.social-icons a:hover {
    background: #00d1b2;
    transform: translateY(-4px);
}

.social-icons a:hover svg {
    fill: #000000;
}

.success-message {
    position: fixed;
    top: 100px;
    right: 20px;
    background: #00d1b2;
    color: #000;
    padding: 15px 25px;
    border-radius: 6px;
    font-weight: 600;
    box-shadow: 0 10px 25px rgba(0,0,0,0.2);
    z-index: 9999;
}
/* ===== Header Responsive ===== */
@media (max-width: 900px) {
    .header-flex {
        flex-direction: column;
        gap: 10px;
    }

    .nav-menu {
        flex-wrap: wrap;
        justify-content: center;
    }

    .nav-menu li a {
        padding: 10px 12px;
        font-size: 14px;
    }

    .company-name {
        font-size: 16px;
    }

    .logo-container img {
        height: 40px;
    }
}
/* ===== Hero Responsive ===== */
@media (max-width: 768px) {
    .hero {
        padding: 40px 10px;
    }

    .slide {
        font-size: 20px;
        padding: 0 10px;
    }

    .hero-desc {
        font-size: 14px;
        padding: 0 10px;
    }
}
/* ===== Cards Responsive ===== */
@media (max-width: 768px) {

    .expertise-grid,
    .industries-card-grid,
    .platforms-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .expertise-card,
    .industry-card,
    .platform-card {
        padding: 25px 20px;
    }
}
/* ===== Tech Stack Responsive ===== */
@media (max-width: 600px) {
    .tech-stack-row {
        gap: 10px;
    }

    .tech-card {
        font-size: 13px;
        padding: 10px 16px;
    }
}
/* ===== Contact Modal Responsive ===== */
@media (max-width: 600px) {
    .contact-modal-content {
        width: 95%;
        max-height: 90vh;
        overflow-y: auto;
        padding: 20px;
    }
}
/* ===== Footer Responsive ===== */
@media (max-width: 768px) {
    .footer {
        height: auto;
        padding: 12px 0;
    }

    .footer-flex {
        flex-direction: column;
        gap: 8px;
        text-align: center;
    }

    body {
        padding-bottom: 120px;
    }
}
/* ===== Social Icons Responsive ===== */
@media (max-width: 600px) {
    .social-icons a {
        width: 44px;
        height: 44px;
    }
}
html {
    font-size: 16px;
}

@media (max-width: 768px) {
    html {
        font-size: 15px;
    }
}

@media (max-width: 480px) {
    html {
        font-size: 14px;
    }
}