/* --- Global Reset & Root Variables --- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --brand-green: #abcd03;
    --brand-blue: #00a0e9;
    --text-dark: #1a1a1a;
    --text-muted: #666;
    --bg-light: #f9f9f9;
    --white: #ffffff;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Poppins', sans-serif;
    color: var(--text-dark);
    line-height: 1.6;
    background-color: var(--white);
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* --- Shared Typography Components --- */
.section-title {
    font-weight: 700;
    font-size: 2.5rem;
    margin-bottom: 15px;
    color: var(--text-dark);
}

.section-subtitle {
    font-weight: 300;
    color: var(--text-muted);
    margin-bottom: 50px;
    font-size: 1.1rem;
}

.brand-subtitle {
    color: var(--brand-green);
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 0.9rem;
    margin-bottom: 10px;
}

.highlight {
    color: var(--brand-blue);
}

.site-logo {
    height: 40px;
    /* Adjust this value so it fits perfectly in your header */
    width: auto;
    /* Keeps the aspect ratio from distorting */
    display: inline-block;
    vertical-align: middle;
}

/* --- Header & Navigation --- */
.main-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.05);
    z-index: 1000;
}

.text-green {
    color: #00a0e9;
    /* Replace with your exact green hex code */
}

.text-blue {
    color: #abcd03;
    /* Replace with your exact blue hex code */
}

.text-black {
    color: #000;
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

/* Container to align text-icon-text horizontally */
.split-logo {
    display: flex;
    align-items: center;
    gap: 8px;
    /* Adjusts the spacing between the text and the icon */
    text-decoration: none;
}

/* Styles for both 'Focused' and 'Fusion' text strings */
.logo-text {
    color: #000000;
    /* Forces text color to black */
    font-weight: 700;
    /* Makes it bold to match your branding */
    font-size: 1.2rem;
    /* Adjust size to fit your header navigation scale */
    text-transform: uppercase;
    /* Keeps it in ALL CAPS if desired */
}

/* Restricts the icon sizing so it fits cleanly between the text */
.logo-icon {
    height: 32px;
    /* Adjust height to match the text height nicely */
    width: auto;
    display: block;
}

.dot-blue {
    color: var(--brand-blue);
    margin: 0 2px;
}

.dot-green {
    color: var(--brand-green);
    margin: 0 2px;
}

.navbar {
    display: flex;
    gap: 30px;
}

.nav-link {
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 400;
    font-size: 0.95rem;
    transition: color 0.3s ease;
}

.nav-link:hover,
.nav-link.active {
    color: var(--brand-blue);
}

/* --- Hero Section --- */
.hero-section {
    position: relative;
    height: 100vh;
    min-height: 600px;
    /* Using a dark gradient fill placeholder. Insert background image url inside url() */
    background: url(images/Canva.png) no-repeat center center/cover;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 0 20px;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135px, rgba(15, 32, 67, 0.85) 0%, rgba(27, 46, 74, 0.9) 100%);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 850px;
    color: var(--white);
}

.hero-content h1 {
    font-size: 3.5rem;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 20px;
}

.hero-content p {
    color: #111;
    font-size: 1.2rem;
    font-weight: 300;
    margin-bottom: 40px;
    opacity: 0.9;
}

.btn-explore {
    /* Layout & Display */
    display: inline-block;
    padding: 14px 36px;
    margin-top: 30px;
    text-decoration: none;

    /* Colors & Typography */
    background-color: #a6ce39;
    /* Exact brand lime-green */
    color: #ffffff;
    /* Crisp white text */
    font-family: 'Poppins', sans-serif;
    font-size: 1rem;
    font-weight: 600;
    letter-spacing: 0.5px;

    /* Shaping & Borders */
    border-radius: 8px;
    /* Smooth square corner radius matching layout profiles */
    border: none;

    /* Smooth Animation Settings */
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0);
    /* Invisible initial shadow state */
    transform: translateY(0);
    transition: transform 0.25s ease, box-shadow 0.25s ease, background-color 0.25s ease;
    cursor: pointer;
}

/* --- Hover State Effects --- */
.btn-explore:hover {
    background-color: #95ba32;
    /* Slightly deeper green variant on hover */
    transform: translateY(-3px);
    /* Subtle physical lifting effect */

    /* Premium, smooth expanding shadow */
    box-shadow: 0 10px 25px rgba(166, 206, 57, 0.4);
}

/* --- Click/Pressed State Feedback --- */
.btn-explore:active {
    transform: translateY(-1px);
    box-shadow: 0 5px 12px rgba(166, 206, 57, 0.3);
}

/* --- Sectors Section --- */
.sectors-section {
    padding: 100px 0;
    background-color: var(--bg-light);
    text-align: center;
}

.sector-grid {
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
    margin-top: 20px;
}

.sector-card {
    background: var(--white);
    border: 1px solid #eee;
    border-radius: 15px;
    padding: 50px 30px;
    flex: 1;
    min-width: 300px;
    max-width: 360px;
    transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

.sector-card:hover {
    transform: translateY(-10px);
    border-color: var(--brand-green);
    box-shadow: 0 15px 30px rgba(171, 205, 3, 0.12);
}

.icon-box {
    font-size: 45px;
    margin-bottom: 25px;
}

.icon-box.green {
    color: var(--brand-green);
}

.icon-box.blue {
    color: var(--brand-blue);
}

.sector-card h3 {
    font-weight: 600;
    font-size: 1.4rem;
    margin-bottom: 15px;
}

.sector-card p {
    font-weight: 300;
    font-size: 0.95rem;
    line-height: 1.7;
    color: var(--text-muted);
}

/* --- About Section --- */
.about-section {
    padding: 100px 0;
    background-color: var(--white);
}

.about-flex {
    display: flex;
    align-items: center;
    gap: 80px;
    flex-wrap: wrap;
}

/* --- Left Side Column Wrapper (Controls Image Size) --- */
.about-image {
    flex: 1;
    min-width: 260px;
    /* Keeps layout stable on mobile tablets */

    /* Change this value to explicitly scale the image width up or down */
    max-width: 380px;

    position: relative;
    /* Important: Keeps the 29/71 badge positioned correctly */
    margin: 0 auto;
    /* Centers the image block within its flex column */
}

/* --- The Image Asset Properties --- */
.about-image img {
    width: 100%;
    /* Forces image to adapt seamlessly to parent max-width */
    height: auto;
    /* Maintains proportional aspect ratio without distortion */
    display: block;
    border-radius: 20px;
    /* Preserves those sleek, rounded corporate card corners */
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.08);
    /* Gives the card soft depth */
}

.image-placeholder {
    width: 100%;
    height: 400px;
    background: linear-gradient(135px, #eef2f3 0%, #8e9eab 100%);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.06);
}

.placeholder-icon {
    font-size: 5rem;
    color: rgba(255, 255, 255, 0.4);
}

.experience-badge {
    position: absolute;
    bottom: -20px;
    right: -20px;
    background: var(--brand-blue);
    color: var(--white);
    padding: 20px 25px;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 10px 25px rgba(0, 160, 233, 0.25);
}

.experience-badge .number {
    display: block;
    font-size: 1.6rem;
    font-weight: 700;
}

.experience-badge .label {
    font-size: 0.8rem;
    font-weight: 300;
    letter-spacing: 0.5px;
}

.about-text {
    flex: 1;
    min-width: 350px;
}

.about-text p {
    color: var(--text-muted);
    line-height: 1.8;
    margin-bottom: 20px;
    font-weight: 300;
}

.stats-row {
    display: flex;
    gap: 40px;
    margin-top: 35px;
    border-top: 1px solid #eee;
    padding-top: 30px;
}

.stat-item h5 {
    color: var(--text-dark);
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 5px;
}

.stat-item p {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--text-muted);
}

/* --- Contact Section Layout --- */
.contact-section {
    background-color: #fafafa;
    /* Soft off-white background */
    padding: 80px 20px;
    font-family: 'Poppins', sans-serif;
    display: flex;
    justify-content: center;
}

.contact-container {
    display: flex;
    max-width: 1100px;
    width: 100%;
    gap: 60px;
    align-items: center;
}

/* --- Left Side Content (Info) --- */
.contact-info {
    flex: 1;
}

.contact-info .tagline {
    color: #a6ce39;
    /* Brand Lime Green */
    font-weight: 700;
    font-size: 0.85rem;
    letter-spacing: 1.5px;
    display: block;
    margin-bottom: 10px;
}

.contact-info h2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: #111111;
    margin: 0 0 20px 0;
}

.contact-info h2 .text-blue {
    color: #00a3e0;
    /* Brand Blue */
}

.contact-info p {
    color: #666666;
    line-height: 1.6;
    font-size: 1rem;
    margin-bottom: 40px;
}

/* Contact Info List Items */
.info-item {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 25px;
}

.icon-circle {
    width: 50px;
    height: 50px;
    background-color: #ffffff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    font-size: 1.2rem;
}

.info-item strong {
    display: block;
    color: #111111;
    font-size: 1rem;
    margin-bottom: 2px;
}

.info-item p,
.info-item a {
    color: #666666;
    margin: 0;
    font-size: 0.9rem;
    text-decoration: none;
}

.info-item a:hover {
    color: #00a3e0;
}

/* --- Right Side Card & Form Elements --- */
.form-card {
    flex: 1;
    background-color: #ffffff;
    padding: 40px;
    border-radius: 16px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.04);
    /* Subtle modern shadow */
}

.input-group {
    margin-bottom: 20px;
}

/* Unified styling for inputs, selects, and textareas */
.form-card input[type="text"],
.form-card input[type="email"],
.form-card select,
.form-card textarea {
    width: 100%;
    padding: 14px 16px;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    font-family: 'Poppins', sans-serif;
    font-size: 0.95rem;
    color: #333333;
    background-color: #ffffff;
    box-sizing: border-box;
    outline: none;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

/* Placeholder styling color matching */
.form-card ::placeholder {
    color: #a0aec0;
}

/* Form element focus states */
.form-card input:focus,
.form-card select:focus,
.form-card textarea:focus {
    border-color: #00a3e0;
    box-shadow: 0 0 0 3px rgba(0, 163, 224, 0.1);
}

/* Dropdown arrow custom tweaks */
.form-card select {
    appearance: none;
    background-image: url("data:image/svg+xml;charset=UTF-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%234a5568' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 16px center;
    background-size: 14px;
    padding-right: 40px;
}

/* Fixed resizing behavior for the textarea box */
.form-card textarea {
    resize: vertical;
}

/* --- Action Submit Button --- */
.btn-submit {
    width: 100%;
    background-color: #00a3e0;
    /* Premium Brand Blue */
    color: #ffffff;
    border: none;
    padding: 16px;
    font-family: 'Poppins', sans-serif;
    font-size: 1rem;
    font-weight: 600;
    border-radius: 8px;
    cursor: pointer;
    transition: background-color 0.2s ease, transform 0.1s ease;
}

.btn-submit:hover {
    background-color: #0082b3;
    /* Darker blue on hover */
}

.btn-submit:active {
    transform: scale(0.99);
    /* Pressed physical feedback behavior */
}

/* --- Responsive Layout Rules (Mobile Formatting) --- */
@media (max-width: 768px) {
    .contact-container {
        flex-direction: column;
        gap: 40px;
    }

    .contact-info h2 {
        font-size: 2rem;
    }

    .form-card {
        padding: 25px;
    }
}

/* Styling for the footer container */
footer {
    width: 100%;
    padding: 20px 0;
    background-color: #111;
    /* background-color: #f8f9fa; /* Light background, change to match your site's theme */
    text-align: center;
}

/* Base style for the footer text */
.footer-credit {
    font-family: 'Poppins', sans-serif;
    font-size: 0.9rem;
    color: #9e9e9e;
    /* Muted gray for secondary text */
    margin: 0;
}

/* Styling specifically for your name to make it stand out slightly */
.footer-credit .designer-name {
    font-weight: 600;
    color: #f8f9fa;
    /* Makes your name pure black */
}

/* ==========================================================================
   1. TABLET DEVICE BREAKPOINT (768px to 1024px)
   ========================================================================== */
@media screen and (max-width: 1024px) {

    /* --- Header Formatting --- */
    .header-container {
        padding: 15px 25px;
    }

    .logo-text {
        font-size: 1.2rem;
    }

    .logo-icon {
        height: 28px;
    }

    /* --- Content Adjustments --- */
    .hero-section {
        padding: 150px 40px 90px 40px;
        /* Prevents fixed header overlap */
    }

    .hero-content h1 {
        font-size: 2.6rem;
    }

    /* Re-balance 3 columns into 2 columns on medium screens */
    .sectors-container {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }

    /* Stacks contact side-by-side view into vertical layout columns */
    .contact-container {
        flex-direction: column;
        gap: 40px;
    }

    .contact-info {
        text-align: center;
    }

    .info-item {
        justify-content: center;
    }

    .form-card {
        width: 100%;
        max-width: 650px;
        margin: 0 auto;
    }
}

/* ==========================================================================
   2. MOBILE PHONE DEVICE BREAKPOINT (Under 767px)
   ========================================================================== */
@media screen and (max-width: 767px) {

    /* --- Critical Header Structure Reset --- */
    .header-container {
        padding: 12px 15px;
        justify-content: flex-start;
        /* Aligns hamburger toggle left */
        gap: 15px;
    }

    /* Force displays the left-side click toggle */
    .mobile-nav-toggle {
        display: block !important;
    }

    /* CRISIS LOCKOUT: Hides the old horizontal navbar entirely */
    .navbar {
        display: none !important;
    }

    /* Scale down brand typography to look beautiful on narrow viewports */
    .logo-text {
        font-size: 1.1rem;
    }

    .logo-icon {
        height: 24px;
    }

    /* --- Hero Layout Fixes --- */
    .hero-section {
        padding: 120px 16px 60px 16px;
    }

    .hero-content h1 {
        font-size: 1.9rem;
        line-height: 1.3;
    }

    .hero-subtitle {
        font-size: 0.95rem;
    }

    .btn-explore {
        width: 100%;
        /* Easy to press tap targets */
        text-align: center;
    }

    /* --- Grid Systems & Form Scaling --- */
    .sectors-container {
        grid-template-columns: 1fr;
        /* 1 card per row */
    }

    .form-card {
        padding: 25px 20px;
        border-radius: 12px;
    }

    /* --- Footer Realignment --- */
    .footer-content {
        flex-direction: column;
        gap: 10px;
        text-align: center;
    }
}

/* ==========================================================================
   MOBILE DEVICE BREAKPOINT (Under 767px)
   ========================================================================== */
@media screen and (max-width: 767px) {

    /* --- Header & Layout Reset --- */
    header {
        flex-direction: column;
        /* Stacks the logo above the navigation links */
        gap: 15px;
        padding: 15px 10px;
        text-align: center;
    }

    /* Keeps the nav links neatly spaced in a tight row on mobile */
    header nav,
    .nav-links {
        display: flex;
        justify-content: center;
        gap: 15px;
        width: 100%;
    }

    header nav a {
        font-size: 0.9rem;
        /* Slightly smaller link text */
    }

    /* --- Hero Layout Fixes --- */
    .hero-section {
        padding: 60px 16px;
        /* Tightens padding so text has maximum width */
    }

    .hero-content h1 {
        font-size: 1.9rem;
        /* Significantly smaller so sentences fit beautifully */
        line-height: 1.4;
        letter-spacing: -0.5px;
    }

    .hero-subtitle {
        font-size: 0.95rem;
        max-width: 100%;
        line-height: 1.5;
    }

    .btn-explore {
        width: 100%;
        /* Makes the action button full-width for easy thumb tapping */
        box-sizing: border-box;
        text-align: center;
    }

    /* --- Sectors Section --- */
    /* Forces the grid items to become one single vertical column */
    .sectors-container,
    .grid-layout {
        grid-template-columns: 1fr !important;
        padding: 0 10px;
    }

    /* --- Image & Accent Badges --- */
    /* If you have floating badges like "29/71", this keeps them from breaking layout alignment */
    .badge-element {
        position: relative;
        margin-top: 15px;
        left: 0 !important;
        top: 0 !important;
        display: inline-block;
    }

    /* --- Contact Form Section --- */
    .form-card {
        padding: 20px 15px;
        /* Removes bulky padding inside the form box */
        border-radius: 12px;
    }

    .form-card input[type="text"],
    .form-card input[type="email"],
    .form-card select,
    .form-card textarea {
        padding: 12px;
        /* Slightly easier to type inputs on mobile touch screens */
        font-size: 0.9rem;
    }

    .btn-submit {
        padding: 14px;
    }

    /* --- Footer Element --- */
    .footer-content {
        flex-direction: column;
        /* Puts copyright text on top of your developer name */
        gap: 8px;
        text-align: center;
        padding: 15px 10px;
    }
}


/* ==========================================================================
   MOBILE DEVICE BREAKPOINT WITH SIDEBAR NAVIGATION (Under 767px)
   ========================================================================== */
@media screen and (max-width: 767px) {

    /* --- Main Mobile Header Formatting --- */
    .header-main-bar {
        display: flex;
        align-items: center;
        justify-content: flex-start;
        position: relative;
        width: 100%;
        padding: 10px 15px;
    }

    /* Floating Hamburger Menu Toggle Trigger Button */
    .mobile-nav-toggle {
        display: block !important;
        background: none;
        border: none;
        font-size: 1.8rem;
        color: #111111;
        cursor: pointer;
        margin-right: 15px;
        padding: 5px;
        z-index: 99;
    }

    /* Prevents the standard inline header menu from cluttering the screen */
    header nav:not(.drawer-nav-links) {
        display: none !important;
    }

    /* --- Left Slide-out Sidebar Panel --- */
    .mobile-side-drawer {
        position: fixed;
        top: 0;
        left: -280px;
        /* Entirely hides the drawer off-screen initially */
        width: 280px;
        /* Comfortable mobile reading column width */
        height: 100vh;
        background-color: #00a3e0;
        /* Your precise brand blue color */
        box-shadow: 4px 0 25px rgba(0, 0, 0, 0.15);
        z-index: 2000;
        display: flex;
        flex-direction: column;
        padding: 20px;
        box-sizing: border-box;
        transition: left 0.3s cubic-bezier(0.4, 0, 0.2, 1);
        /* Ultra-smooth physics animation curve */
    }

    /* Trigger Class added via JS toggling */
    .mobile-side-drawer.is-open {
        left: 0;
        /* Slides the panel into view from the left edge */
    }

    /* Close Button Alignment Inside the Drawer Header */
    .drawer-header {
        display: flex;
        justify-content: flex-end;
        margin-bottom: 40px;
    }

    .close-drawer-btn {
        background: none;
        border: none;
        font-size: 2.2rem;
        color: #ffffff;
        /* High contrast crisp layout white */
        cursor: pointer;
        padding: 0 5px;
    }

    /* Vertical Navigation Stack Typography */
    .drawer-nav-links {
        display: flex;
        flex-direction: column;
        gap: 25px;
    }

    .drawer-nav-links a {
        font-family: 'Poppins', sans-serif;
        font-size: 1.25rem;
        font-weight: 600;
        color: #ffffff;
        text-decoration: none;
        letter-spacing: 0.5px;
        padding: 10px 5px;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
        /* Subtle row underline separations */
        transition: padding-left 0.2s linear;
    }

    /* Small indent transition for user interactive feedback */
    .drawer-nav-links a:hover,
    .drawer-nav-links a:active {
        padding-left: 10px;
        color: #000000;
        /* Brand Accent Lime Green on interaction */
    }

    /* --- Dark Backdrop Dimming Overlay --- */
    .drawer-overlay {
        position: fixed;
        top: 0;
        left: 0;
        width: 100vw;
        height: 100vh;
        background-color: rgba(0, 0, 0, 0.4);
        /* Fades background out slightly */
        z-index: 1999;
        display: none;
        opacity: 0;
        transition: opacity 0.3s ease;
    }

    .drawer-overlay.is-active {
        display: block;
        opacity: 1;
    }
}

/* Ensure the desktop hamburger toggle indicator isn't rendered on standard laptop screens */
@media screen and (min-width: 768px) {

    .mobile-nav-toggle,
    .mobile-side-drawer,
    .drawer-overlay {
        display: none !important;
    }
}