/* =====================================================
   SIDO TECH COMPUTER CENTER
   MAIN STYLESHEET
===================================================== */


/* =====================================================
   ROOT VARIABLES
===================================================== */

:root {

    --blue: #0866d6;
    --blue-dark: #064a9e;

    --yellow: #ffc400;
    --yellow-dark: #e6a900;

    --green: #12a86b;
    --green-dark: #087a4d;

    --purple-red: #a5165b;
    --purple-dark: #74103f;

    --dark: #101828;
    --dark-2: #172033;

    --white: #ffffff;
    --light: #f7f9fc;
    --light-blue: #eef6ff;

    --gray: #667085;
    --border: #e4e7ec;

    --shadow:
        0 15px 45px rgba(16, 24, 40, 0.10);

    --transition:
        all 0.3s ease;

}


/* =====================================================
   RESET
===================================================== */

* {

    margin: 0;
    padding: 0;

    box-sizing: border-box;

}


html {

    scroll-behavior: smooth;

}


body {

    font-family: "Poppins", sans-serif;

    color: var(--dark);

    background: var(--white);

    line-height: 1.7;

}


img {

    max-width: 100%;

    display: block;

}


a {

    text-decoration: none;

    color: inherit;

}


button {

    font-family: inherit;

}


/* =====================================================
   GENERAL CONTAINER
===================================================== */

.container {

    width: min(1180px, 92%);

    margin: auto;

}


/* =====================================================
   TOP BAR
===================================================== */

.top-bar {

    background: var(--dark);

    color: rgba(255,255,255,0.85);

    font-size: 13px;

}


.top-content {

    min-height: 42px;

    display: flex;

    align-items: center;

    justify-content: space-between;

    gap: 20px;

}


.top-left,
.top-right {

    display: flex;

    align-items: center;

    gap: 22px;

}


.top-bar i {

    color: var(--yellow);

    margin-right: 6px;

}


.top-right a {

    transition: var(--transition);

}


.top-right a:hover {

    color: var(--yellow);

}


/* =====================================================
   NAVIGATION
===================================================== */

.header {

    background: var(--white);

    position: sticky;

    top: 0;

    z-index: 1000;

    box-shadow:
        0 5px 25px rgba(0,0,0,0.07);

}


.nav-container {

    height: 82px;

    display: flex;

    align-items: center;

    justify-content: space-between;

}


/* =====================================================
   LOGO
===================================================== */

.logo {

    display: flex;

    align-items: center;

    gap: 11px;

}


.logo-icon {

    width: 48px;

    height: 48px;

    display: grid;

    place-items: center;

    border-radius: 12px;

    background:
        linear-gradient(
            135deg,
            var(--blue),
            var(--purple-red)
        );

    color: white;

    font-size: 21px;

    box-shadow:
        0 8px 20px rgba(8,102,214,0.25);

}


.logo-text {

    display: flex;

    flex-direction: column;

    line-height: 1.1;

}


.logo-main {

    font-size: 23px;

    font-weight: 800;

    letter-spacing: -0.8px;

}


.logo-main span {

    color: var(--blue);

}


.logo-text small {

    font-size: 8px;

    letter-spacing: 2px;

    color: var(--purple-red);

    font-weight: 700;

}


/* =====================================================
   NAVIGATION MENU
===================================================== */

.navbar {

    display: flex;

    align-items: center;

    gap: 5px;

}


.nav-link,
.dropbtn {

    border: none;

    background: transparent;

    padding: 12px 14px;

    font-size: 13px;

    font-weight: 600;

    color: var(--dark);

    cursor: pointer;

    transition: var(--transition);

}


.nav-link:hover,
.dropbtn:hover {

    color: var(--blue);

}


.nav-link.active {

    color: var(--blue);

}


.dropbtn i {

    font-size: 9px;

    margin-left: 5px;

}


/* =====================================================
   DROPDOWN
===================================================== */

.dropdown {

    position: relative;

}


.dropdown-menu {

    position: absolute;

    top: calc(100% + 14px);

    left: 0;

    min-width: 245px;

    background: var(--white);

    border-radius: 12px;

    padding: 9px;

    box-shadow:
        0 20px 50px rgba(16,24,40,0.15);

    opacity: 0;

    visibility: hidden;

    transform: translateY(10px);

    transition: var(--transition);

    border-top: 3px solid var(--blue);

}


.dropdown:hover .dropdown-menu {

    opacity: 1;

    visibility: visible;

    transform: translateY(0);

}


.dropdown-menu a {

    display: flex;

    align-items: center;

    gap: 11px;

    padding: 11px 12px;

    font-size: 12px;

    font-weight: 500;

    border-radius: 8px;

    transition: var(--transition);

}


.dropdown-menu a i {

    width: 20px;

    color: var(--blue);

}


.dropdown-menu a:hover {

    background: var(--light-blue);

    color: var(--blue);

    transform: translateX(4px);

}


/* =====================================================
   MOBILE MENU
===================================================== */

.menu-toggle {

    display: none;

    border: none;

    background: var(--blue);

    color: white;

    width: 43px;

    height: 43px;

    border-radius: 8px;

    font-size: 18px;

    cursor: pointer;

}


/* =====================================================
   HERO
===================================================== */

.hero {

    height: 650px;

    position: relative;

    overflow: hidden;

    background: var(--dark);

}


.hero-slide {

    position: absolute;

    inset: 0;

    opacity: 0;

    visibility: hidden;

    transition:
        opacity 0.8s ease;

}


.hero-slide.active {

    opacity: 1;

    visibility: visible;

}


.hero-slide img {

    width: 100%;

    height: 100%;

    object-fit: cover;

}


.hero-overlay {

    position: absolute;

    inset: 0;

    background:
        linear-gradient(
            90deg,
            rgba(4,30,70,0.94) 0%,
            rgba(8,102,214,0.65) 48%,
            rgba(165,22,91,0.35) 100%
        );

}


.hero-content {

    position: relative;

    z-index: 2;

    height: 100%;

    display: flex;

    flex-direction: column;

    justify-content: center;

    align-items: flex-start;

    color: white;

    max-width: 1180px;

}


.hero-small {

    display: inline-flex;

    align-items: center;

    gap: 9px;

    color: var(--yellow);

    font-size: 14px;

    font-weight: 700;

    letter-spacing: 0.5px;

    margin-bottom: 15px;

}


.hero-content h1 {

    font-size: clamp(42px, 6vw, 72px);

    line-height: 1.08;

    max-width: 760px;

    letter-spacing: -2px;

}


.hero-content h1 span {

    color: var(--yellow);

}


.hero-content p {

    max-width: 650px;

    margin-top: 22px;

    font-size: 17px;

    color: rgba(255,255,255,0.9);

}


.hero-buttons {

    display: flex;

    gap: 13px;

    margin-top: 32px;

}


.btn {

    display: inline-flex;

    align-items: center;

    justify-content: center;

    gap: 9px;

    padding: 13px 22px;

    border-radius: 8px;

    font-size: 13px;

    font-weight: 700;

    transition: var(--transition);

}


.btn-primary {

    background: var(--yellow);

    color: var(--dark);

}


.btn-primary:hover {

    background: white;

    transform: translateY(-3px);

}


.btn-outline {

    border: 1px solid rgba(255,255,255,0.7);

    color: white;

}


.btn-outline:hover {

    background: white;

    color: var(--dark);

}


.btn-dark {

    background: var(--dark);

    color: white;

}


.btn-dark:hover {

    background: var(--blue);

    transform: translateY(-3px);

}


/* =====================================================
   HERO SLIDER CONTROLS
===================================================== */

.slider-btn {

    position: absolute;

    top: 50%;

    transform: translateY(-50%);

    width: 45px;

    height: 45px;

    border: 1px solid rgba(255,255,255,0.4);

    background: rgba(255,255,255,0.1);

    backdrop-filter: blur(8px);

    color: white;

    border-radius: 50%;

    cursor: pointer;

    z-index: 10;

    transition: var(--transition);

}


.slider-btn:hover {

    background: var(--yellow);

    color: var(--dark);

}


.prev {

    left: 25px;

}


.next {

    right: 25px;

}


.slider-dots {

    position: absolute;

    bottom: 30px;

    left: 50%;

    transform: translateX(-50%);

    display: flex;

    gap: 8px;

    z-index: 10;

}


.dot {

    width: 28px;

    height: 4px;

    background: rgba(255,255,255,0.5);

    border-radius: 5px;

    cursor: pointer;

    transition: var(--transition);

}


.dot.active {

    background: var(--yellow);

    width: 45px;

}


/* =====================================================
   SECTIONS
===================================================== */

.section {

    padding: 100px 0;

}


.section-heading {

    text-align: center;

    max-width: 700px;

    margin:
        0 auto 55px;

}


.section-tag {

    color: var(--blue);

    font-size: 12px;

    font-weight: 800;

    letter-spacing: 2px;

}


.section-heading h2,
.about-content h2 {

    font-size: clamp(32px, 4vw, 48px);

    line-height: 1.15;

    margin-top: 8px;

    letter-spacing: -1px;

}


.section-heading h2 span,
.about-content h2 span {

    color: var(--purple-red);

}


.section-heading p {

    color: var(--gray);

    margin-top: 15px;

}


/* =====================================================
   ABOUT
===================================================== */

.about {

    background: var(--white);

}


.about-grid {

    display: grid;

    grid-template-columns:
        0.9fr 1.1fr;

    gap: 80px;

    align-items: center;

}


.about-image {

    position: relative;

}


.about-image img {

    width: 100%;

    height: 520px;

    object-fit: cover;

    border-radius: 20px;

    position: relative;

    z-index: 2;

}


.image-decoration {

    position: absolute;

    width: 150px;

    height: 150px;

    background:
        var(--yellow);

    border-radius: 20px;

    left: -20px;

    bottom: -20px;

}


.experience-box {

    position: absolute;

    z-index: 3;

    bottom: 25px;

    right: -25px;

    width: 160px;

    padding: 20px;

    border-radius: 14px;

    background: var(--blue);

    color: white;

    box-shadow: var(--shadow);

}


.experience-box strong {

    display: block;

    color: var(--yellow);

    font-size: 28px;

}


.experience-box span {

    font-size: 11px;

}


.about-content .lead {

    font-size: 17px;

    color: var(--dark);

    margin-top: 22px;

    font-weight: 500;

}


.about-content > p:not(.lead) {

    color: var(--gray);

    margin-top: 12px;

}


.about-features {

    display: grid;

    grid-template-columns: 1fr 1fr;

    gap: 13px;

    margin: 25px 0 30px;

}


.about-features div {

    display: flex;

    gap: 9px;

    align-items: center;

    font-size: 13px;

    font-weight: 600;

}


.about-features i {

    color: var(--green);

}


/* =====================================================
   TRAINING
===================================================== */

.training {

    background: var(--light);

}


.cards-grid {

    display: grid;

    grid-template-columns:
        repeat(3, 1fr);

    gap: 23px;

}


.info-card {

    position: relative;

    background: white;

    padding: 32px;

    border-radius: 18px;

    border: 1px solid var(--border);

    overflow: hidden;

    transition: var(--transition);

}


.info-card::before {

    content: "";

    position: absolute;

    top: 0;

    left: 0;

    width: 100%;

    height: 4px;

}


.info-card:hover {

    transform: translateY(-8px);

    box-shadow: var(--shadow);

}


.card-icon {

    width: 60px;

    height: 60px;

    display: grid;

    place-items: center;

    border-radius: 14px;

    font-size: 23px;

    margin-bottom: 22px;

}


.info-card h3 {

    font-size: 19px;

    margin-bottom: 10px;

}


.info-card p {

    color: var(--gray);

    font-size: 13px;

}


.info-card a {

    display: inline-flex;

    align-items: center;

    gap: 7px;

    margin-top: 20px;

    font-size: 12px;

    font-weight: 700;

}


.blue-card::before,
.blue-card .card-icon {

    background: var(--blue);

}


.yellow-card::before,
.yellow-card .card-icon {

    background: var(--yellow);

}


.green-card::before,
.green-card .card-icon {

    background: var(--green);

}


.purple-card::before,
.purple-card .card-icon {

    background: var(--purple-red);

}


.red-card::before,
.red-card .card-icon {

    background: #e04444;

}


.dark-card::before,
.dark-card .card-icon {

    background: var(--dark);

}


.blue-card .card-icon,
.green-card .card-icon,
.purple-card .card-icon,
.red-card .card-icon,
.dark-card .card-icon {

    color: white;

}


.yellow-card .card-icon {

    color: var(--dark);

}


.blue-card a {

    color: var(--blue);

}


.yellow-card a {

    color: #b88700;

}


.green-card a {

    color: var(--green);

}


.purple-card a {

    color: var(--purple-red);

}


.red-card a {

    color: #d42d2d;

}


.dark-card a {

    color: var(--dark);

}


/* =====================================================
   WHY US
===================================================== */

.why-us {

    padding: 85px 0;

    color: white;

    background:
        linear-gradient(
            120deg,
            var(--blue-dark),
            var(--purple-dark)
        );

}


.why-grid {

    display: grid;

    grid-template-columns: 0.9fr 1.1fr;

    gap: 80px;

    align-items: center;

}


.light-tag {

    color: var(--yellow);

}


.why-us h2 {

    font-size: clamp(32px, 4vw, 48px);

    line-height: 1.15;

    margin: 10px 0 18px;

}


.why-us h2 span {

    color: var(--yellow);

}


.why-us > .container > div > p {

    color: rgba(255,255,255,0.78);

    font-size: 15px;

}


.why-items {

    display: grid;

    grid-template-columns: 1fr 1fr;

    gap: 20px;

}


.why-item {

    padding: 23px;

    border-radius: 14px;

    background: rgba(255,255,255,0.08);

    border: 1px solid rgba(255,255,255,0.12);

    display: flex;

    gap: 15px;

}


.why-item > i {

    font-size: 25px;

    color: var(--yellow);

}


.why-item h3 {

    font-size: 15px;

}


.why-item p {

    font-size: 11px;

    color: rgba(255,255,255,0.7);

    margin-top: 5px;

}


/* =====================================================
   SERVICES
===================================================== */

.services {

    background: white;

}


.services-grid {

    display: grid;

    grid-template-columns:
        repeat(3, 1fr);

    gap: 22px;

}


.service-box {

    padding: 32px;

    border-radius: 16px;

    border: 1px solid var(--border);

    transition: var(--transition);

    background: white;

}


.service-box:hover {

    border-color: var(--blue);

    transform: translateY(-5px);

    box-shadow: var(--shadow);

}


.service-box > i {

    font-size: 30px;

    color: var(--blue);

    margin-bottom: 20px;

}


.service-box:nth-child(2) > i {

    color: var(--green);

}


.service-box:nth-child(3) > i {

    color: var(--purple-red);

}


.service-box:nth-child(4) > i {

    color: var(--yellow-dark);

}


.service-box:nth-child(5) > i {

    color: var(--purple-red);

}


.service-box h3 {

    font-size: 18px;

    margin-bottom: 8px;

}


.service-box p {

    color: var(--gray);

    font-size: 13px;

}


/* =====================================================
   CTA
===================================================== */

.cta {

    padding: 70px 0;

    background:
        linear-gradient(
            100deg,
            var(--green),
            var(--blue)
        );

    color: white;

}


.cta-content {

    display: flex;

    align-items: center;

    justify-content: space-between;

    gap: 30px;

}


.cta-content span {

    font-size: 11px;

    font-weight: 800;

    letter-spacing: 2px;

    color: var(--yellow);

}


.cta-content h2 {

    font-size: clamp(28px, 4vw, 42px);

    line-height: 1.2;

    margin-top: 7px;

}


.btn-white {

    background: white;

    color: var(--dark);

    white-space: nowrap;

}


.btn-white:hover {

    background: var(--yellow);

    transform: translateY(-3px);

}


/* =====================================================
   CONTACT
===================================================== */

.contact {

    background: var(--light);

}


.contact-grid {

    display: grid;

    grid-template-columns:
        repeat(4, 1fr);

    gap: 20px;

}


.contact-card {

    background: white;

    padding: 28px 20px;

    text-align: center;

    border-radius: 15px;

    border: 1px solid var(--border);

}


.contact-icon {

    width: 55px;

    height: 55px;

    display: grid;

    place-items: center;

    margin: 0 auto 15px;

    border-radius: 50%;

    background: var(--light-blue);

    color: var(--blue);

    font-size: 20px;

}


.contact-card h3 {

    font-size: 15px;

}


.contact-card p {

    font-size: 12px;

    color: var(--gray);

    margin-top: 5px;

}


.contact-card a:hover {

    color: var(--blue);

}


.whatsapp-icon {

    color: var(--green);

    background: #eafaf3;

}


/* =====================================================
   FOOTER
===================================================== */

.footer {

    background: var(--dark);

    color: white;

    padding-top: 70px;

}


.footer-grid {

    display: grid;

    grid-template-columns:
        1.4fr 0.8fr 1fr 1fr;

    gap: 50px;

    padding-bottom: 55px;

}


.footer-logo {

    display: flex;

    align-items: center;

    gap: 10px;

}


.footer-logo-icon {

    width: 44px;

    height: 44px;

    display: grid;

    place-items: center;

    background: var(--blue);

    border-radius: 10px;

}


.footer-logo strong {

    display: block;

    font-size: 20px;

}


.footer-logo strong span {

    color: var(--yellow);

}


.footer-logo small {

    display: block;

    font-size: 7px;

    letter-spacing: 2px;

    color: rgba(255,255,255,0.6);

}


.footer-about > p {

    color: rgba(255,255,255,0.6);

    font-size: 12px;

    max-width: 350px;

    margin: 20px 0;

}


/* SOCIAL ICONS */

.social-icons {

    display: flex;

    gap: 8px;

}


.social-icons a {

    width: 35px;

    height: 35px;

    display: grid;

    place-items: center;

    border-radius: 8px;

    background: rgba(255,255,255,0.08);

    font-size: 13px;

    transition: var(--transition);

}


.social-icons a:hover {

    background: var(--blue);

    transform: translateY(-3px);

}


/* FOOTER COLUMNS */

.footer-column {

    display: flex;

    flex-direction: column;

    gap: 9px;

}


.footer-column h3 {

    font-size: 15px;

    margin-bottom: 9px;

    color: var(--yellow);

}


.footer-column > a {

    font-size: 12px;

    color: rgba(255,255,255,0.6);

    transition: var(--transition);

}


.footer-column > a:hover {

    color: white;

    transform: translateX(4px);

}


.footer-contact p {

    display: flex;

    gap: 10px;

    font-size: 12px;

    color: rgba(255,255,255,0.6);

}


.footer-contact i {

    color: var(--yellow);

    width: 15px;

    margin-top: 5px;

}


/* FOOTER BOTTOM */

.footer-bottom {

    border-top:
        1px solid rgba(255,255,255,0.08);

}


.footer-bottom-content {

    min-height: 65px;

    display: flex;

    align-items: center;

    justify-content: space-between;

    gap: 20px;

}


.footer-bottom p {

    color: rgba(255,255,255,0.45);

    font-size: 10px;

}


/* =====================================================
   FLOATING WHATSAPP
===================================================== */

.whatsapp-float {

    position: fixed;

    right: 22px;

    bottom: 22px;

    width: 58px;

    height: 58px;

    display: grid;

    place-items: center;

    border-radius: 50%;

    background: var(--green);

    color: white;

    font-size: 28px;

    z-index: 999;

    box-shadow:
        0 10px 30px rgba(18,168,107,0.35);

    transition: var(--transition);

}


.whatsapp-float:hover {

    transform: scale(1.08);

    background: var(--green-dark);

}


/* =====================================================
   RESPONSIVE TABLET
===================================================== */

@media (max-width: 1000px) {

    .navbar {

        gap: 0;

    }


    .nav-link,
    .dropbtn {

        padding: 10px 8px;

        font-size: 11px;

    }


    .about-grid,
    .why-grid {

        gap: 45px;

    }


    .cards-grid {

        grid-template-columns:
            repeat(2, 1fr);

    }


    .services-grid {

        grid-template-columns:
            repeat(2, 1fr);

    }


    .contact-grid {

        grid-template-columns:
            repeat(2, 1fr);

    }


    .footer-grid {

        grid-template-columns:
            repeat(2, 1fr);

    }

}


/* =====================================================
   MOBILE
===================================================== */

@media (max-width: 900px) {

    .top-left span:first-child {

        display: none;

    }


    .top-content {

        justify-content: center;

    }


    .menu-toggle {

        display: block;

    }


    .navbar {

        position: absolute;

        top: 82px;

        left: 0;

        right: 0;

        background: white;

        padding: 15px 5% 25px;

        flex-direction: column;

        align-items: stretch;

        box-shadow:
            0 15px 30px rgba(0,0,0,0.1);

        display: none;

        max-height: calc(100vh - 82px);

        overflow-y: auto;

    }


    .navbar.open {

        display: flex;

    }


    .nav-link,
    .dropbtn {

        width: 100%;

        text-align: left;

        padding: 14px;

    }


    .dropdown-menu {

        position: static;

        display: none;

        opacity: 1;

        visibility: visible;

        transform: none;

        box-shadow: none;

        border-top: none;

        background: var(--light);

        margin-bottom: 5px;

    }


    .dropdown.open .dropdown-menu {

        display: block;

    }


    .dropdown:hover .dropdown-menu {

        display: none;

    }


    .dropdown.open .dropdown-menu {

        display: block;

    }


    .about-grid,
    .why-grid {

        grid-template-columns: 1fr;

    }


    .about-image {

        max-width: 600px;

        margin: auto;

    }


    .why-grid {

        gap: 45px;

    }

}


/* =====================================================
   SMALL MOBILE
===================================================== */

@media (max-width: 600px) {

    .top-bar {

        display: none;

    }


    .nav-container {

        height: 72px;

    }


    .navbar {

        top: 72px;

    }


    .hero {

        height: 600px;

    }


    .hero-content {

        padding: 0 5%;

    }


    .hero-content h1 {

        font-size: 40px;

        letter-spacing: -1px;

    }


    .hero-content p {

        font-size: 14px;

    }


    .hero-buttons {

        flex-direction: column;

        width: 100%;

    }


    .btn {

        width: 100%;

    }


    .slider-btn {

        display: none;

    }


    .section {

        padding: 70px 0;

    }


    .cards-grid,
    .services-grid,
    .contact-grid {

        grid-template-columns: 1fr;

    }


    .about-image img {

        height: 400px;

    }


    .experience-box {

        right: 10px;

    }


    .about-features {

        grid-template-columns: 1fr;

    }


    .why-items {

        grid-template-columns: 1fr;

    }


    .cta-content {

        flex-direction: column;

        align-items: flex-start;

    }


    .footer-grid {

        grid-template-columns: 1fr;

        gap: 35px;

    }


    .footer-bottom-content {

        flex-direction: column;

        justify-content: center;

        padding: 18px 0;

        text-align: center;

    }


    .logo-main {

        font-size: 19px;

    }


    .logo-icon {

        width: 42px;

        height: 42px;

    }

}