* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

body {
    background-color: #f4f7f9;
    color: #334155;
    min-height: 100vh;
}

.main-wrapper {
    max-width: 1200px;
    width: 100%;
    margin: 2.5rem auto;
    padding: 0 1rem;
}

/* Sticky Navbar */
.navbar {
    position: sticky;
    top: 0;
    left: 0;
    width: 100%;
    background-color: #ffffff;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    z-index: 1000;
}

.nav-container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 16px 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

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

.nav-menu {
    display: flex;
    align-items: center;
}

.nav-list {
    display: flex;
    list-style: none;
    gap: 28px;
    align-items: center;
}

.nav-link, .dropdown-btn {
    text-decoration: none;
    color: #555b77;
    font-size: 15px;
    font-weight: 500;
    transition: color 0.2s ease;
}

.nav-link:hover,
.nav-link.active,
.dropdown-btn:hover {
    color: #635bff;
    font-weight: 600;
}

/* Dropdown Menu */
.dropdown {
    position: relative;
}

.dropdown-btn {
    display: flex;
    align-items: center;
    gap: 4px;
    cursor: pointer;
}

.arrow {
    font-size: 9px;
    transition: transform 0.3s;
}

.dropdown-content {
    display: none;
    position: absolute;
    background-color: #ffffff;
    min-width: 180px;
    box-shadow: 0px 10px 25px rgba(0,0,0,0.1);
    border-radius: 8px;
    top: 100%;
    left: 0;
    padding: 8px 0;
    border: 1px solid #f1f5f9;
    z-index: 10;
}

.dropdown-content a {
    color: #1e293b;
    padding: 10px 16px;
    display: block;
    font-size: 14px;
    text-decoration: none;
}

.dropdown-content a:hover {
    background-color: #f8fafc;
    color: #635bff;
}

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

.dropdown:hover .arrow {
    transform: rotate(180deg);
}

/* Buttons */
.btn-consultation {
    background-color: #635bff;
    color: #ffffff;
    padding: 10px 20px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    transition: background-color 0.2s ease;
}

.btn-consultation:hover {
    background-color: #4b44e0;
}

.mobile-btn {
    display: none;
}

.desktop-btn {
    display: inline-block;
}

/* Hamburger Icon */
.hamburger {
    display: none;
    cursor: pointer;
    flex-direction: column;
    gap: 5px;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background-color: #1a103c;
    border-radius: 2px;
    transition: all 0.3s ease;
}

/* Tech Hero Section */
.hero-section {
    text-align: center;
    margin-bottom: 3.5rem;
    max-width: 820px;
    margin-left: auto;
    margin-right: auto;
}

.badge {
    display: inline-block;
    padding: 0.35rem 0.9rem;
    background-color: #eeefef;
    border: 1px solid #c7d2fe;
    border-radius: 30px;
    font-size: 0.8rem;
    color: #4338ca;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 1rem;
}

.hero-section h1 {
    font-size: clamp(2.2rem, 4vw, 3.2rem);
    color: #0f172a;
    margin-bottom: 0.5rem;
    font-weight: 700;
    letter-spacing: -0.5px;
}

.subtitle {
    font-size: 1.15rem;
    color: #4f46e5;
    margin-bottom: 1rem;
    font-weight: 500;
}

.hero-desc {
    font-size: 0.95rem;
    color: #64748b;
    line-height: 1.6;
}

/* Service Grid & Flip Cards */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 2rem;
    margin-bottom: 3.5rem;
}

.card {
    background-color: transparent;
    height: 400px;
    perspective: 1000px;
}

.card-inner {
    position: relative;
    width: 100%;
    height: 100%;
    text-align: center;
    transition: transform 0.7s cubic-bezier(0.4, 0, 0.2, 1);
    transform-style: preserve-3d;
    cursor: pointer;
}

.card:hover .card-inner {
    transform: rotateY(180deg);
}

.card-front, .card-back {
    position: absolute;
    width: 100%;
    height: 100%;
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

.card-front {
    background-color: #ffffff;
    border: 1px solid #e2e8f0;
    display: flex;
    flex-direction: column;
}

.card-front img {
    width: 100%;
    height: 190px;
    object-fit: cover;
}

.card-front-content {
    padding: 1.25rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    flex-grow: 1;
}

.card-front-content h3 {
    font-size: 1.2rem;
    color: #1e293b;
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.card-front-content p {
    font-size: 0.88rem;
    color: #64748b;
    line-height: 1.5;
}

/* Tech Dark Back Card Style */
.card-back {
    background: linear-gradient(145deg, #0f172a, #1e1b4b);
    color: #ffffff;
    transform: rotateY(180deg);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 1.8rem;
    border: 1px solid #312e81;
}

.card-back h3 {
    font-size: 1.3rem;
    margin-bottom: 0.8rem;
    color: #f8fafc;
    font-weight: 600;
}

.card-back p {
    font-size: 0.9rem;
    line-height: 1.5;
    margin-bottom: 1.8rem;
    color: #cbd5e1;
}

.card-btn {
    padding: 0.6rem 1.4rem;
    background-color: #635bff;
    color: #ffffff;
    text-decoration: none;
    font-weight: 600;
    border-radius: 6px;
    font-size: 0.85rem;
    transition: background-color 0.2s ease, transform 0.2s ease;
}

.card-btn:hover {
    background-color: #4b44e0;
    transform: translateY(-1px);
}

/* Bottom Information Box */
.bottom-info {
    max-width: 850px;
    margin: 0 auto;
}

.info-box {
    background-color: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 2.2rem;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.03);
}

.info-box h2 {
    color: #0f172a;
    font-size: 1.5rem;
    margin-bottom: 0.8rem;
    font-weight: 600;
}

.info-box p {
    color: #475569;
    font-size: 0.95rem;
    line-height: 1.65;
}

/* Footer Section */
.site-footer {
    width: 100%;
    background-color: #cbeeff;
    padding: 50px 20px 20px 20px;
    margin-top: 50px;
}

.footer-container {
    max-width: 1100px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: 40px;
}

.footer-logo {
    font-size: 1.8rem;
    font-weight: 700;
    color: #0088cc;
    margin-bottom: 15px;
}

.brand-desc {
    font-size: 0.95rem;
    color: #4b6584;
    line-height: 1.5;
    margin-bottom: 20px;
}

.social-links {
    display: flex;
    gap: 15px;
}

.social-links a {
    text-decoration: none;
    color: #0088cc;
    font-weight: 600;
    font-size: 0.95rem;
}

.footer-col h3 {
    font-size: 1.1rem;
    font-weight: 700;
    color: #1e272e;
    margin-bottom: 18px;
}

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

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

.footer-col ul li a {
    text-decoration: none;
    color: #4b6584;
    font-size: 0.95rem;
    transition: color 0.2s ease;
}

.footer-col ul li a:hover {
    color: #0088cc;
}

.footer-bottom {
    text-align: center;
    margin-top: 40px;
    padding-top: 20px;
    border-top: 1px solid rgba(0, 0, 0, 0.08);
    color: #4b6584;
    font-size: 0.9rem;
}

/* Responsive Styles */
@media (max-width: 992px) {
    .footer-container {
        grid-template-columns: 1fr 1fr;
        gap: 30px;
    }
}

@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }

    .desktop-btn {
        display: none !important;
    }

    .mobile-btn {
        display: inline-block !important;
        margin-top: 15px;
    }

    .nav-menu {
        position: fixed;
        left: -100%;
        top: 65px;
        flex-direction: column;
        background-color: #ffffff;
        width: 100%;
        text-align: center;
        transition: 0.3s ease-in-out;
        box-shadow: 0 10px 10px rgba(0, 0, 0, 0.05);
        padding: 24px 0;
    }

    .nav-menu.active {
        left: 0;
    }

    .nav-list {
        flex-direction: column;
        gap: 20px;
    }

    .hamburger.active span:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }

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

    .hamburger.active span:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }
}

@media (max-width: 600px) {
    .footer-container {
        grid-template-columns: 1fr;
    }
    .card {
        height: 380px;
    }
    .info-box {
        padding: 1.5rem;
    }
}

