

/* =====================================================
   SIDOTECH COMPUTER CENTRE
   CONTACT PAGE STYLESHEET
   ===================================================== */


/* ================= ROOT COLORS ================= */

:root {

    --blue: #0756c9;
    --dark-blue: #063b8c;

    --yellow: #ffc107;

    --green: #159447;
    --dark-green: #087533;

    --purple-red: #a71952;
    --dark-purple-red: #7d103d;

    --white: #ffffff;
    --black: #111111;

    --light-bg: #f5f8fc;
    --light-gray: #e9eef5;
    --text-gray: #666666;
		
		--dark: #101828;
    --dark-2: #172033;
		
		--gray: #667085;
    --border: #e4e7ec;
		
		--shadow:
        0 15px 40px rgba(16, 24, 40, 0.10);

    --shadow-hover:
        0 20px 50px rgba(16, 24, 40, 0.16);
}


/* ================= GENERAL ================= */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: "Poppins", sans-serif;
    color: var(--black);
    background: var(--white);
    line-height: 1.7;
}

a {
    text-decoration: none;
		color: inherit;
}

button,
input,
textarea,
select {
    font-family: inherit;
}
.container {

    width: min(1180px, 92%);

    margin: auto;

}

/* ================= TOP BAR ================= */

.top-bar {

    background: var(--dark);

    color: var(--white);

    font-size: 13px;

}


.top-bar-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 span,
.top-bar a {

    display: flex;

    align-items: center;

    gap: 7px;
transition: 0.3s;
}

.top-bar a:hover {
color: var(--yellow);
padding-left: 4px;

}
.top-bar i {

    color: var(--yellow);

}


/* ================= HEADER ================= */

.main-header {

    background: var(--white);

    box-shadow:
        0 3px 18px rgba(16, 24, 40, 0.08);

    position: relative;
		
		position: sticky;

    top: 0;

    z-index: 1000;

}


.nav-container {

    min-height: 82px;

    display: flex;

    align-items: center;

    justify-content: space-between;

    gap: 30px;

}


/* ================= LOGO ================= */

.logo {

    display: flex;

    align-items: center;

    gap: 11px;

}


.logo-icon {

    width: 48px;

    height: 48px;

    border-radius: 12px;

    display: grid;

    place-items: center;

    color: var(--white);

    font-size: 21px;

    background:
        linear-gradient(
            135deg,
            var(--blue),
            var(--purple-red)
        );

}


.logo-text {

    display: flex;

    flex-direction: column;

    line-height: 1.1;

}


.logo-text strong {

    font-size: 23px;

    color: var(--blue);

}


.logo-text strong span {
    color: var(--purple-red);
}


.logo-text small {

    color: var(--gray);

    font-size: 10px;

    text-transform: uppercase;

    letter-spacing: 1.3px;

    margin-top: 4px;

}


/* ================= NAVBAR ================= */

.navbar {

    display: flex;

    align-items: center;

    gap: 4px;

}


.navbar > a,
.dropdown-btn {

    border: none;

    background: transparent;

    color: var(--dark);

    padding: 10px 12px;

    font-size: 14px;

    font-weight: 600;

    cursor: pointer;

    transition: 0.3s;

}
.navbar a.active {

    background: var(--light-blue);

    color: var(--blue);

}

.navbar > a:hover,
.dropdown-btn:hover {

    color: var(--blue);

}


.dropdown-btn {

    display: flex;

    align-items: center;

    gap: 6px;

}


.dropdown-btn i {

    font-size: 10px;

}


/* ================= DROPDOWN ================= */

.nav-dropdown {

    position: relative;

}


.dropdown-menu {

    position: absolute;

    top: calc(100% + 10px);

    left: 0;

    min-width: 220px;

    background: var(--white);

    border-radius: 10px;

    padding: 8px;

    box-shadow: var(--shadow);

    border-top: 3px solid var(--yellow);

    opacity: 0;

    visibility: hidden;

    transform: translateY(8px);

    transition: 0.25s;

}


.nav-dropdown:hover .dropdown-menu {

    opacity: 1;

    visibility: visible;

    transform: translateY(0);

}


.dropdown-menu a {

    display: block;

    padding: 10px 12px;

    font-size: 13px;

    border-radius: 7px;

}


.dropdown-menu a:hover,
.dropdown-menu a.active {

    background: var(--light-blue);

    color: var(--blue);

}
/* MOBILE MENU */

.menu-toggle {

    display: none;

    border: none;
    background: var(--blue);

    color: var(--white);

    font-size: 20px;

    padding: 9px 12px;

    border-radius: 5px;

    cursor: pointer;

}


/* ================= HERO ================= */

.course-hero {

    min-height: 510px;

    position: relative;

    display: flex;

    align-items: center;

    background-image:
        url("images/sidotech-assess.jpg");

    background-size: cover;

    background-position: center;

    color: var(--white);

}


.hero-overlay {

    position: absolute;

    inset: 0;

    background:
        linear-gradient(
            110deg,
            rgba(6, 74, 158, 0.94),
            rgba(165, 22, 91, 0.82)
        );

}


.hero-content {

    position: relative;

    z-index: 2;

    padding: 90px 0;
		
		

}


.page-tag,
.section-label {

    display: inline-flex;

    align-items: center;

    gap: 8px;

    font-size: 12px;

    font-weight: 800;

    letter-spacing: 1.5px;

    color: var(--yellow);

}


.course-hero h1 {

    max-width: 750px;

    font-size: clamp(42px, 6vw, 72px);

    line-height: 1.05;

    margin: 18px 0;

}


.course-hero h1 span {

    color: var(--yellow);

}


.course-hero p {

    max-width: 700px;

    font-size: 18px;

    color: rgba(255,255,255,0.90);

}


.breadcrumb {

    display: flex;

    align-items: center;

    gap: 10px;

    margin-top: 25px;

    font-size: 14px;

}


.breadcrumb a {

    color: var(--yellow);

}


.breadcrumb i {

    font-size: 11px;

}


/* ================= SECTION TITLE ================= */

.section-title {

    text-align: center;

    max-width: 750px;

    margin: auto;

}

.section-title > span {

    color: var(--purple-red);

    font-size: 13px;

    font-weight: 700;

    letter-spacing: 2px;

}

.section-title h2 {

    font-size: 38px;

    margin: 5px 0 10px;

}

.section-title h2 strong {
    color: var(--blue);
}

.section-title p {

    color: var(--text-gray);

}


/* ================= CONTACT INTRO ================= */

.contact-intro {

    padding: 80px 6% 30px;

}


/* ================= CONTACT SECTION ================= */

.contact-section {

    padding: 40px 6% 90px;

    background: var(--light-bg);

}

.contact-container {

    max-width: 1200px;

    margin: auto;

    display: grid;

    grid-template-columns: 0.9fr 1.1fr;

    gap: 60px;

}


/* CONTACT INFORMATION */

.contact-info h2,
.contact-form-container h2 {

    font-size: 30px;

    margin-bottom: 10px;

}

.info-text,
.contact-form-container > p {

    color: var(--text-gray);

    margin-bottom: 30px;

}


/* CONTACT ITEM */

.contact-item {

    display: flex;

    align-items: center;

    gap: 18px;

    margin-bottom: 22px;

}

.contact-icon {

    width: 52px;
    height: 52px;

    min-width: 52px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 12px;

    color: var(--white);

    font-size: 20px;

}

.contact-icon.location {
    background: var(--blue);
}

.contact-icon.phone {
    background: var(--purple-red);
}

.contact-icon.whatsapp {
    background: var(--green);
}

.contact-icon.email {
    background: var(--yellow);
    color: var(--black);
}

.contact-icon.website {
    background: var(--dark-blue);
}

.contact-item h3 {

    font-size: 15px;

    margin-bottom: 2px;

}

.contact-item p {

    color: var(--text-gray);

    font-size: 14px;

}

.contact-item a {
    color: var(--blue);
}

.contact-item a:hover {
    color: var(--purple-red);
}


/* SOCIAL MEDIA */

.social-links {
    margin-top: 35px;
}

.social-links h3 {
    margin-bottom: 12px;
}

.social-icons {

    display: flex;

    gap: 10px;

}

.social-icons a {

    width: 42px;
    height: 42px;

    display: flex;

    align-items: center;
    justify-content: center;

    color: var(--white);

    background: var(--blue);

    border-radius: 50%;

    transition: 0.3s;

}

.social-icons a:hover {

    background: var(--purple-red);

    transform: translateY(-4px);

}


/* ================= FORM ================= */

.contact-form-container {

    background: var(--white);

    padding: 35px;

    border-radius: 18px;

    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.08);

    border-top: 5px solid var(--blue);

}

.form-row {

    display: grid;

    grid-template-columns: 1fr 1fr;

    gap: 18px;

}

.form-group {

    margin-bottom: 20px;

}

.form-group label {

    display: block;

    margin-bottom: 7px;

    font-size: 14px;

    font-weight: 600;

}

.form-group input,
.form-group select,
.form-group textarea {

    width: 100%;

    padding: 13px 15px;

    border: 1px solid #d9e0e8;

    border-radius: 8px;

    outline: none;

    font-size: 14px;

    background: #fbfcfe;

    transition: 0.3s;

}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {

    border-color: var(--blue);

    box-shadow: 0 0 0 3px rgba(7, 86, 201, 0.08);

}

.form-group textarea {

    resize: vertical;

    min-height: 140px;

}


/* SUBMIT BUTTON */

.submit-btn {

    border: none;

    background: var(--blue);

    color: var(--white);

    padding: 14px 25px;

    border-radius: 8px;

    font-size: 15px;

    font-weight: 600;

    cursor: pointer;

    transition: 0.3s;

}

.submit-btn i {
    margin-left: 8px;
}

.submit-btn:hover {

    background: var(--purple-red);

    transform: translateY(-2px);

}


/* ================= GOOGLE MAP ================= */

.map-section {

    padding: 80px 6%;

    background: var(--white);

}

.map-container {

    max-width: 1200px;

    margin: 40px auto 0;

    border-radius: 18px;

    overflow: hidden;

    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.12);

    border: 5px solid var(--white);

}

.map-container iframe {

    display: block;

    width: 100%;

    min-height: 450px;

}


/* ================= CTA ================= */

.contact-cta {

    padding: 55px 6%;

    background:
        linear-gradient(
            135deg,
            var(--blue),
            var(--dark-blue)
        );

    color: var(--white);

    display: flex;

    align-items: center;
    justify-content: space-between;

    gap: 30px;

}

.contact-cta h2 {

    font-size: 30px;

    margin-bottom: 5px;

}

.contact-cta p {
    opacity: 0.9;
}

.cta-button {

    display: inline-flex;

    align-items: center;

    gap: 10px;

    background: var(--yellow);

    color: var(--black);

    padding: 13px 22px;

    border-radius: 7px;

    font-weight: 700;

    white-space: nowrap;

    transition: 0.3s;

}

.cta-button:hover {

    background: var(--white);

    transform: translateY(-3px);

}


/* ================= FOOTER ================= */

.footer {

    background: #0b1220;

    color: var(--white);

}


.footer-grid {

    padding: 70px 0 50px;

    display: grid;

    grid-template-columns:
        1.4fr 0.8fr 1fr 1fr;

    gap: 45px;

}


.footer-logo {

    display: inline-flex;

    align-items: center;

    gap: 10px;

}


.footer-logo-icon {

    width: 45px;

    height: 45px;

    border-radius: 10px;

    display: grid;

    place-items: center;

    background: var(--blue);

}


.footer-logo strong {

    display: block;

    font-size: 20px;

}


.footer-logo strong span {

    color: var(--yellow);

}


.footer-logo small {

    color: #98a2b3;

    font-size: 9px;

    letter-spacing: 1px;

}


.footer-about > p {

    margin: 20px 0;

    color: #98a2b3;

    font-size: 13px;

    max-width: 300px;

}


.social-links {

    display: flex;

    gap: 9px;

}


.social-links a {

    width: 36px;

    height: 36px;

    border-radius: 50%;

    display: grid;

    place-items: center;

    background: rgba(255,255,255,0.08);

    transition: 0.3s;

}


.social-links a:hover {

    background: var(--blue);

    transform: translateY(-3px);

}


.footer h3 {

    color: var(--white);

    font-size: 16px;

    margin-bottom: 18px;

}


.footer-links a {

    display: flex;

    gap: 8px;

    align-items: center;

    color: #98a2b3;

    font-size: 13px;

    margin: 9px 0;

    transition: 0.3s;

}


.footer-links a:hover {

    color: var(--yellow);

    padding-left: 4px;

}


.footer-links a i {

    color: var(--yellow);

    font-size: 10px;

}


.footer-contact p {

    display: flex;

    gap: 10px;

    color: #98a2b3;

    font-size: 13px;

    margin: 11px 0;

}


.footer-contact i {

    color: var(--yellow);

    margin-top: 5px;

}
.footer-contact a {
    display: flex;

    gap: 10px;

    color: #98a2b3;

    font-size: 13px;

    margin: 11px 0;
		transition: 0.3s;
}
.footer-contact a:hover {
    color: var(--yellow);
    padding-left: 4px;
}


/* ================= FOOTER BOTTOM ================= */

.footer-bottom {

    border-top:
        1px solid rgba(255,255,255,0.08);

}


.footer-bottom .container {

    min-height: 65px;

    display: flex;

    align-items: center;

    justify-content: space-between;

    gap: 20px;

}


.footer-bottom p {

    color: #667085;

    font-size: 12px;

}

/* =====================================================
   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 ================= */

@media (max-width: 1050px) {

    .navbar > a,
    .dropdown-btn {
        padding: 9px 7px;
        font-size: 12px;
    }
}
@media (max-width: 1000px) {
    .contact-container {

        grid-template-columns: 1fr;

        gap: 45px;

    }

}


@media (max-width: 900px) {
		.top-bar-content {
        justify-content: center;
    }

    .top-left {
        display: none;
    }

    .navbar {

        position: absolute;

        top: 100%;

        left: 0;

        right: 0;

        background: var(--white);

        display: none;

        flex-direction: column;

        align-items: stretch;

        padding: 15px 5%;

        box-shadow: var(--shadow);

    }

    .navbar.show {
        display: flex;
    }

    .navbar > a,
    .dropdown-btn {
        width: 100%;
        text-align: left;
        padding: 13px 10px;
    }

    .nav-dropdown {
        width: 100%;
    }

    .dropdown-btn {
        justify-content: space-between;
    }

    .dropdown-menu {

        position: static;

        display: none;

        opacity: 1;

        visibility: visible;

        transform: none;

        box-shadow: none;

        border-top: none;

        padding: 0 0 5px 15px;

    }

    .nav-dropdown.open .dropdown-menu {
        display: block;
    }
}
		
		@media (max-width: 800px) {
		 .menu-toggle {
        display: block;
    }
    .form-row {

        grid-template-columns: 1fr;

    }

    .contact-cta {

        flex-direction: column;

        text-align: center;

    }

    .footer-container {

        grid-template-columns: 1fr;

        gap: 30px;

    }

}
@media (max-width: 650px) {
.top-right {
        gap: 10px;
        font-size: 11px;
    }
		.logo-text strong {
        font-size: 19px;
    }
		.course-hero {
        min-height: 480px;
    }

    .course-hero h1 {
        font-size: 43px;
    }

    .course-hero p {
        font-size: 15px;
    }
		.footer-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .footer-bottom .container {
        flex-direction: column;
        justify-content: center;
        padding: 18px 0;
        text-align: center;
    }
}

@media (max-width: 500px) {

    .navbar {
        padding: 0 5%;
    }

    .logo-area a {
        font-size: 21px;
    }

    .contact-hero {
        min-height: 330px;
    }

    .hero-content h1 {
        font-size: 42px;
    }

    .contact-intro,
    .contact-section,
    .map-section {
        padding-left: 5%;
        padding-right: 5%;
    }

    .contact-form-container {
        padding: 25px 18px;
    }

    .contact-cta h2 {
        font-size: 25px;
    }

}
