/* ! [Global Variables] CSS code starts here */
:root {
    /* Colors */
    --primary-color: #f9c424;
    --primary-hover: #ffbf00;
    --text-dark: #333333;
    --text-medium: #555555;
    --text-light: #777777;
    --bg-white: #ffffff;
    --bg-light: #f9f9f9;
    --border-color: #e5e5e5;

    /* Spacing */
    --spacing-xs: 4px;
    --spacing-sm: 8px;
    --spacing-md: 16px;
    --spacing-lg: 24px;
    --spacing-xl: 32px;
    --container-width: 1280px;
    --header-height: 80px;

    /* Typography */
    --font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    --font-size-base: 16px;
    --font-size-sm: 14px;
    --font-weight-medium: 500;
    --font-weight-bold: 600;

    /* Transitions */
    --transition-fast: 0.2s ease;
}

/* ! [Global Variables] CSS code ends here */

/* ! [Reset & Base] CSS code starts here */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: var(--font-family);
    color: var(--text-dark);
    background-color: var(--bg-white);
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
}

/* Base Elements */
a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

button {
    font-family: inherit;
    cursor: pointer;
    border: none;
    background: none;
}

/* ! [Reset & Base] CSS code ends here */

/* ! [Layout] CSS code starts here */
.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 var(--spacing-md);
    width: 100%;
}

/* ! [Layout] CSS code ends here */

/* ! [Navigation Bar] CSS code starts here */
/* Header Container */
.site-header {
    height: var(--header-height);
    background-color: var(--bg-white);
    border-bottom: 1px solid var(--border-color);
    position: sticky;
    top: 0;
    z-index: 1000;
    display: flex;
    align-items: center;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.03);
}

.site-header .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 100%;
}

/* Center Navigation Layout Strategy: 1-2-1 Ratio */
/* 1. Logo Wrapper */
.site-header .container>div:nth-child(1) {
    flex: 1;
    display: flex;
    justify-content: flex-start;
}

/* 2. Navigation Wrapper */
.site-header .container>div:nth-child(2) {
    flex: 2;
    display: flex;
    justify-content: center;
}

/* 3. Actions Wrapper */
.header-actions {
    flex: 1;
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: var(--spacing-md);
}

/* Logo */
.logo {
    display: flex;
    align-items: center;
    height: 48px;
}

.logo img {
    height: 100%;
    width: auto;
    object-fit: contain;
}

.logo-text {
    display: flex;
    flex-direction: column;
    justify-content: center;
    margin-left: 12px;
    line-height: 1.2;
}

.logo-title {
    font-family: var(--font-family);
    font-weight: 700;
    font-size: 20px;
    margin-top: 5px;
    color: #00629B;
}

.logo-subtitle {
    margin-top: 2px;
    font-size: 10px;
    font-weight: 500;
    color: var(--primary-color);
    /* Orange/Brand color */
    white-space: nowrap;
}

/* Placeholder for Logo if image fails */
.logo-placeholder {
    font-size: 24px;
    font-weight: 800;
    color: #00558C;
    /* Blue from logo */
    display: flex;
    align-items: center;
    gap: 8px;
}

.logo-placeholder span {
    color: #8BC53F;
    /* Green accent */
}

/* Desktop Navigation */
.main-nav {
    display: none;
    /* Hidden on mobile by default */
}

.nav-list {
    display: flex;
    gap: var(--spacing-lg);
    align-items: center;
}

.nav-item {
    position: relative;
}

.nav-link {
    font-size: var(--font-size-sm);
    font-weight: var(--font-weight-medium);
    color: var(--text-dark);
    display: flex;
    align-items: center;
    gap: 4px;
    padding: 8px 0;
    margin-inline: 8px;
    transition: color var(--transition-fast);
}

.nav-link:hover {
    color: var(--primary-color);
}

.nav-link.active {
    color: var(--primary-color);
}

.nav-icon {
    width: 16px;
    height: 16px;
    fill: currentColor;
    opacity: 0.6;
}

/* Desktop Buttons */
.desktop-buttons {
    display: none;
    /* Hidden on mobile */
    align-items: center;
    gap: var(--spacing-md);
}

.icon {
    width: 20px;
    height: 20px;
}

.btn-primary {
    background-color: var(--primary-color);
    color: white;
    padding: 10px 24px;
    border-radius: 50px;
    font-weight: var(--font-weight-bold);
    font-size: var(--font-size-base);
    transition: transform var(--transition-fast), box-shadow var(--transition-fast);
    white-space: nowrap;
    text-align: center;
}

.btn-primary:hover {
    background-color: var(--primary-hover);
    box-shadow: 0 4px 12px rgba(246, 147, 34, 0.2);
}

/* Mobile Toggle */
.mobile-toggle {
    display: block;
    padding: 8px;
    margin-left: var(--spacing-sm);
}

/* Mobile Nav Drawer */
.mobile-nav {
    position: fixed;
    top: var(--header-height);
    left: 0;
    width: 100%;
    height: calc(100vh - var(--header-height));
    background-color: white;
    padding: var(--spacing-lg);
    transform: translateX(100%);
    transition: transform 0.3s ease-in-out;
    z-index: 999;
    border-top: 1px solid var(--border-color);
    overflow-y: auto;
    display: flex;
    flex-direction: column;
}

.mobile-nav.is-open {
    transform: translateX(0);
}

.mobile-nav-list {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-md);
    margin-bottom: var(--spacing-xl);
}

.mobile-nav-link {
    font-size: 18px;
    font-weight: var(--font-weight-medium);
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 0;
    border-bottom: 1px solid var(--bg-light);
}

.mobile-buttons {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-md);
    margin-top: auto;
    /* Push to bottom if needed */
}

.mobile-btn {
    width: 100%;
    justify-content: center;
    padding: 12px;
}

/* ! [Navigation Bar] CSS code ends here */

/* ! [Footer Section] CSS code starts here */
.site-footer {
    background-color: var(--bg-white);
    border-top: 1px solid var(--border-color);
    padding-top: 60px;
    margin-top: 0;
    font-size: var(--font-size-sm);
}

.footer-top {
    display: flex;
    flex-direction: column;
    gap: 40px;
    padding-bottom: 40px;
}

/* Footer Columns */
.footer-col h3 {
    color: var(--primary-color);
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    margin-bottom: 20px;
    letter-spacing: 0.5px;
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-links a {
    color: var(--text-medium);
    transition: color var(--transition-fast);
}

.footer-links a:hover {
    color: var(--primary-color);
}

/* Brand Column */
.footer-brand p {
    color: var(--text-medium);
    margin-bottom: 24px;
    line-height: 1.6;
    max-width: 300px;
}

/* Social Icons */
.social-icons {
    display: flex;
    gap: 16px;
}

.social-icon {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-color);
    border: 1px solid var(--border-color);
    border-radius: 50%;
    transition: all var(--transition-fast);
}

.social-icon:hover {
    background-color: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
}

.social-icon svg {
    width: 18px;
    height: 18px;
    fill: currentColor;
}

.social-icon i {
    font-size: 18px;
}

/* Contact List */
.contact-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    color: var(--text-medium);
    font-size: 14px;
    line-height: 1.5;
}

.contact-item a {
    transition: color var(--transition-fast);
}

.contact-item a:hover {
    color: var(--primary-color);
}

.contact-icon {
    color: var(--primary-color);
    flex-shrink: 0;
    margin-top: 2px;
}

/* Services Grid */
.services-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0 20px;
}

/* Footer Bottom */
.footer-bottom {
    border-top: 1px solid var(--border-color);
    padding: 24px 0;
    text-align: center;
    color: var(--text-light);
    font-size: 13px;
}

.footer-bottom a {
    color: var(--primary-color);
    font-weight: 600;
}

.footer-bottom a:hover {
    text-decoration: underline;
}

/* ! [Footer Section] CSS code ends here */

/* ! [Floating Actions] CSS code starts here */
.floating-actions {
    position: fixed;
    bottom: 24px;
    right: 24px;
    display: flex;
    flex-direction: column;
    gap: 16px;
    z-index: 1000;
}

.float-btn {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    transition: transform var(--transition-fast);
    font-size: 22px;
}

.float-btn:hover {
    transform: scale(1.1);
}

.float-btn.phone {
    background-color: #007bff;
}

.float-btn.whatsapp {
    background-color: #25d366;
}

.float-btn i {
    font-size: 24px;
}

.float-btn svg {
    width: 28px;
    height: 28px;
    fill: currentColor;
}

/* ! [Floating Actions] CSS code ends here */

/* ! Responsive CSS code starts here */
@media (max-width: 768px) {

    /* ? [Header] Responsive CSS starts here */
    .logo-title {
        font-size: 16px;
        margin-top: 3px;
    }

    .logo-subtitle {
        font-size: 8px;
        white-space: nowrap;
    }

    .logo {
        height: 40px;
    }

    .logo-text {
        margin-left: 8px;
    }

    /* ? [Header] Responsive CSS ends here */

    /* ? [Floating Buttons] Responsive CSS starts here */
    .float-btn {
        width: 60px;
        height: 60px;
        font-size: 26px;
    }

    .float-btn i {
        font-size: 28px;
    }

    .float-btn svg {
        width: 32px;
        height: 32px;
    }

    /* ? [Floating Buttons] Responsive CSS ends here */
}

@media (min-width: 1024px) {

    /* ? [Header] Responsive CSS starts here */
    .main-nav {
        display: block;
    }

    .desktop-buttons {
        display: flex;
    }

    .mobile-toggle {
        display: none;
    }

    /* ? [Header] Responsive CSS ends here */

    /* ? [Footer] Responsive CSS starts here */
    .footer-top {
        display: flex;
        flex-direction: row;
        justify-content: space-between;
        gap: 40px;
    }

    .footer-col {
        flex: 1;
    }

    .footer-brand {
        flex: 1.5;
        /* Give brand slightly more space */
    }

    /* ? [Footer] Responsive CSS ends here */
}

/* ! Responsive CSS code ends here */