/* 
 * MaxOne Business Solutions — Front-end Services & Common Stylesheet
 * Styled after official.maxone.app/services and official.maxone.app/contact
 */

:root {
    /* Color Tokens */
    --primary: #0E449C;
    --primary-glow: rgba(14, 68, 156, 0.25);
    --primary-hover: #0b3780;
    --accent: #6d5dfc;
    --accent-glow: rgba(109, 93, 252, 0.15);
    
    /* Light Theme Palette */
    --bg: #f8fafc;
    --surface: #ffffff;
    --surface-card: #ffffff;
    --surface-translucent: rgba(255, 255, 255, 0.85);
    --text: #1e293b;
    --text-muted: #64748b;
    --border: rgba(226, 232, 240, 0.8);
    --border-hover: rgba(14, 68, 156, 0.4);
    --white: #ffffff;
    --radius: 24px;
    --radius-lg: 32px;
    --shadow-sm: 0 4px 12px rgba(0, 0, 0, 0.03);
    --shadow-card: 0 10px 30px -10px rgba(15, 23, 42, 0.06);
    --shadow-hover: 0 30px 60px -15px rgba(14, 68, 156, 0.18);
}

[data-theme="dark"] {
    --bg: #0b0f19;
    --surface: #151c2c;
    --surface-card: #151c2c;
    --surface-translucent: rgba(21, 28, 44, 0.85);
    --text: #f1f5f9;
    --text-muted: #94a3b8;
    --border: rgba(51, 65, 85, 0.6);
    --border-hover: rgba(99, 102, 241, 0.5);
    --shadow-card: 0 10px 30px -10px rgba(0, 0, 0, 0.3);
    --shadow-hover: 0 30px 60px -15px rgba(99, 102, 241, 0.25);
}

/* Base Reset & Typography */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Noto Sans', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    background-color: var(--bg);
    color: var(--text);
    line-height: 1.6;
    overflow-x: hidden;
    transition: background-color 0.3s ease, color 0.3s ease;
}

h1, h2, h3, h4, .outfit {
    font-family: 'Noto Sans', sans-serif;
}

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
}

button {
    font-family: inherit;
    cursor: pointer;
    border: none;
    outline: none;
    background: none;
}

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

.page-main {
    padding-top: 120px;
    padding-bottom: 80px;
    min-height: calc(100vh - 200px);
}

/* Header Navigation */
header {
    position: fixed;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    width: 95%;
    max-width: 1200px;
    height: 70px;
    background: var(--surface-translucent);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid var(--border);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 30px;
    z-index: 1000;
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.logo a {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 800;
    font-size: 22px;
    letter-spacing: -0.02em;
    color: var(--primary);
}

.logo img {
    max-height: 38px;
    width: auto;
    object-fit: contain;
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 12px;
}

.theme-toggle-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    border-radius: 12px;
    background: var(--surface);
    border: 1px solid var(--border);
    color: var(--text);
    font-size: 18px;
    transition: all 0.3s ease;
}

.theme-toggle-btn:hover {
    color: var(--primary);
    border-color: var(--primary);
    transform: translateY(-2px);
}

/* Hamburger Menu Button */
.hamburger {
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(14, 68, 156, 0.08);
    border: 1px solid var(--border);
    width: 44px;
    height: 44px;
    border-radius: 12px;
    font-size: 22px;
    cursor: pointer;
    color: var(--text);
    transition: all 0.3s ease;
}

.hamburger:hover {
    background: var(--primary);
    color: #fff;
    border-color: var(--primary);
    transform: scale(1.05);
}

/* Drawer Off-canvas Menu */
.drawer {
    position: fixed;
    top: 0;
    right: -100%;
    width: 340px;
    height: 100vh;
    background: var(--surface-translucent);
    backdrop-filter: blur(25px);
    -webkit-backdrop-filter: blur(25px);
    z-index: 2000;
    box-shadow: -15px 0 40px rgba(0, 0, 0, 0.15);
    transition: 0.5s cubic-bezier(0.16, 1, 0.3, 1);
    padding: 50px 35px;
    display: flex;
    flex-direction: column;
    border-left: 1px solid var(--border);
    overflow-y: auto;
}

.drawer.active {
    right: 0;
}

.drawer-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(15, 23, 42, 0.5);
    z-index: 1999;
    opacity: 0;
    visibility: hidden;
    transition: 0.4s ease;
    backdrop-filter: blur(6px);
}

.drawer-overlay.active {
    opacity: 1;
    visibility: visible;
}

.drawer-close {
    background: var(--surface);
    border: 1px solid var(--border);
    font-size: 24px;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    position: absolute;
    top: 25px;
    right: 25px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text);
    transition: all 0.3s ease;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
}

.drawer-close:hover {
    background: var(--primary);
    color: white;
    transform: rotate(90deg);
}

.drawer-menu {
    margin-top: 40px;
    list-style: none;
    flex-grow: 1;
}

.drawer-menu li {
    margin-bottom: 18px;
    opacity: 0;
    transform: translateX(30px);
    transition: 0.4s ease;
}

.drawer.active .drawer-menu li {
    opacity: 1;
    transform: translateX(0);
}

.drawer.active .drawer-menu li:nth-child(1) { transition-delay: 0.05s; }
.drawer.active .drawer-menu li:nth-child(2) { transition-delay: 0.10s; }
.drawer.active .drawer-menu li:nth-child(3) { transition-delay: 0.15s; }
.drawer.active .drawer-menu li:nth-child(4) { transition-delay: 0.20s; }
.drawer.active .drawer-menu li:nth-child(5) { transition-delay: 0.25s; }
.drawer.active .drawer-menu li:nth-child(6) { transition-delay: 0.30s; }

.drawer-menu a {
    font-size: 17px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 15px;
    color: var(--text-muted);
    padding: 10px 14px;
    border-radius: 12px;
}

.drawer-menu a i {
    font-size: 20px;
    color: var(--primary);
}

.drawer-menu a:hover,
.drawer-menu a.active {
    color: var(--primary);
    background: rgba(14, 68, 156, 0.08);
}

.drawer-footer {
    padding-top: 25px;
    border-top: 1px solid var(--border);
}

.drawer-contact p {
    font-size: 14px;
    color: var(--text-muted);
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.drawer-social {
    display: flex;
    gap: 12px;
    margin: 15px 0;
}

.drawer-social a {
    width: 38px;
    height: 38px;
    border-radius: 12px;
    background: var(--surface);
    border: 1px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-muted);
    font-size: 16px;
    transition: all 0.3s ease;
}

/* ==========================================================================
   OFFICIAL BRAND COLORS FOR SOCIAL MEDIA ICONS ON HOVER
   ========================================================================== */
.social-facebook:hover, a.facebook:hover, .contact-social-btn.facebook:hover {
    background: #1877F2 !important;
    color: #ffffff !important;
    border-color: #1877F2 !important;
    transform: translateY(-4px);
    box-shadow: 0 8px 20px rgba(24, 119, 242, 0.35);
}

.social-twitter:hover, a.twitter:hover, a.twitter-x:hover, .contact-social-btn.twitter:hover {
    background: #000000 !important;
    color: #ffffff !important;
    border-color: #000000 !important;
    transform: translateY(-4px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.35);
}

.social-instagram:hover, a.instagram:hover, .contact-social-btn.instagram:hover {
    background: linear-gradient(45deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888) !important;
    color: #ffffff !important;
    border-color: transparent !important;
    transform: translateY(-4px);
    box-shadow: 0 8px 20px rgba(220, 39, 67, 0.35);
}

.social-linkedin:hover, a.linkedin:hover, .contact-social-btn.linkedin:hover {
    background: #0A66C2 !important;
    color: #ffffff !important;
    border-color: #0A66C2 !important;
    transform: translateY(-4px);
    box-shadow: 0 8px 20px rgba(10, 102, 194, 0.35);
}

.social-youtube:hover, a.youtube:hover, .contact-social-btn.youtube:hover {
    background: #FF0000 !important;
    color: #ffffff !important;
    border-color: #FF0000 !important;
    transform: translateY(-4px);
    box-shadow: 0 8px 20px rgba(255, 0, 0, 0.35);
}

.social-whatsapp:hover, a.whatsapp:hover, .contact-social-btn.whatsapp:hover {
    background: #25D366 !important;
    color: #ffffff !important;
    border-color: #25D366 !important;
    transform: translateY(-4px);
    box-shadow: 0 8px 20px rgba(37, 211, 102, 0.35);
}

.social-tiktok:hover, a.tiktok:hover, .contact-social-btn.tiktok:hover {
    background: #000000 !important;
    color: #ffffff !important;
    border-color: #000000 !important;
    transform: translateY(-4px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.35);
}

/* Hero Section */
.hero-wrapper {
    padding: 40px 0 80px;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 50px;
    align-items: center;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(14, 68, 156, 0.08);
    color: var(--primary);
    padding: 8px 18px;
    border-radius: 30px;
    font-size: 14px;
    font-weight: 700;
    margin-bottom: 25px;
}

.hero-content h1 {
    font-size: 56px;
    font-weight: 800;
    line-height: 1.15;
    letter-spacing: -0.04em;
    margin-bottom: 20px;
    color: var(--text);
}

.hero-content p {
    font-size: 19px;
    color: var(--text-muted);
    line-height: 1.7;
    margin-bottom: 35px;
    max-width: 600px;
}

.hero-actions {
    display: flex;
    align-items: center;
    gap: 18px;
    flex-wrap: wrap;
}

.hero-card-preview {
    background: var(--surface-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 30px;
    box-shadow: var(--shadow-hover);
    position: relative;
    overflow: hidden;
}

.hero-stats-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-top: 25px;
}

.stat-box {
    background: var(--bg);
    border: 1px solid var(--border);
    padding: 20px;
    border-radius: 20px;
    text-align: center;
}

.stat-box h3 {
    font-size: 32px;
    font-weight: 800;
    color: var(--primary);
}

.stat-box p {
    font-size: 13px;
    color: var(--text-muted);
}

/* Common Section Titles */
.section-title-box {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 60px;
}

/* Full-Width Subheadings with Light Background Bar and Left Accent Border */
.sub-heading {
    display: flex;
    align-items: center;
    gap: 12px;
    width: 100%;
    padding: 14px 22px;
    background: rgba(14, 68, 156, 0.06);
    border-left: 5px solid var(--primary);
    border-radius: 0 16px 16px 0;
    font-size: 22px;
    font-weight: 800;
    color: var(--text);
    margin-bottom: 24px;
    letter-spacing: -0.02em;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.02);
}

[data-theme="dark"] .sub-heading {
    background: rgba(109, 93, 252, 0.12);
    border-left-color: var(--accent);
    color: #f8fafc;
}

.section-title-box .badge-pill {
    display: inline-block;
    background: rgba(14, 68, 156, 0.08);
    color: var(--primary);
    font-weight: 700;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    padding: 6px 16px;
    border-radius: 20px;
    margin-bottom: 15px;
}

.section-title-box h2 {
    font-size: 42px;
    font-weight: 800;
    letter-spacing: -0.03em;
    margin-bottom: 15px;
    color: var(--text);
}

.section-title-box p {
    font-size: 18px;
    color: var(--text-muted);
}

/* Main Services Header Section */
.main-sections-header {
    margin-bottom: 50px;
}

.header-meta-row {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    flex-wrap: wrap;
    gap: 25px;
}

.header-title-box h1 {
    font-size: 54px;
    font-weight: 800;
    margin-bottom: 16px;
    letter-spacing: -0.04em;
    color: var(--text);
    line-height: 1.1;
}

.header-title-box p {
    color: var(--text-muted);
    font-size: 19px;
    max-width: 620px;
    line-height: 1.6;
}

.services-search-box {
    position: relative;
    width: 100%;
    max-width: 360px;
}

.services-search-box input {
    width: 100%;
    padding: 14px 20px 14px 48px;
    border-radius: 20px;
    border: 1px solid var(--border);
    background: var(--surface);
    color: var(--text);
    font-size: 15px;
    outline: none;
    box-shadow: var(--shadow-sm);
    transition: all 0.3s ease;
}

.services-search-box input:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 4px var(--primary-glow);
}

.services-search-box i {
    position: absolute;
    left: 18px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-muted);
    font-size: 18px;
}

/* Services & Cards Grid Layout */
.services-grid, .content-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(min(100%, 360px), 1fr));
    gap: 35px;
}

/* Card Design (Matched to official.maxone.app/services) */
.service-card, .feature-card {
    background: var(--surface-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    display: flex;
    flex-direction: column;
    position: relative;
    color: inherit;
    cursor: pointer;
    box-shadow: var(--shadow-card);
}

.service-card:hover, .feature-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-hover);
    border-color: var(--primary);
}

.service-thumb {
    aspect-ratio: 16/9;
    overflow: hidden;
    position: relative;
    background: linear-gradient(135deg, #0e449c 0%, #6d5dfc 100%);
    display: flex;
    align-items: center;
    justify-content: center;
}

.service-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.service-card:hover .service-thumb img {
    transform: scale(1.06);
}

.service-thumb-fallback {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    font-size: 38px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.2);
}

.service-badge {
    position: absolute;
    top: 16px;
    right: 16px;
    background: rgba(15, 23, 42, 0.65);
    backdrop-filter: blur(8px);
    color: #ffffff;
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 6px;
}

.service-info {
    padding: 28px 24px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.service-info h3 {
    font-size: 24px;
    font-weight: 800;
    margin-bottom: 14px;
    line-height: 1.25;
    color: var(--text);
    transition: color 0.3s ease;
}

.service-card:hover .service-info h3 {
    color: var(--primary);
}

.service-info p {
    font-size: 15px;
    color: var(--text-muted);
    margin-bottom: 28px;
    line-height: 1.7;
    flex-grow: 1;
}

.service-card-action {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-weight: 700;
    font-size: 15px;
    color: var(--primary);
    margin-top: auto;
    transition: gap 0.3s ease;
}

.service-card:hover .service-card-action {
    gap: 12px;
}

/* ==========================================================================
   CONTACT PAGE SPECIFIC STYLES (Matched to official.maxone.app/contact)
   ========================================================================== */
.contact-grid {
    display: grid;
    grid-template-columns: 420px 1fr;
    gap: 50px;
    align-items: start;
}

.contact-info-col {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.contact-info-card {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 28px 30px;
    background: var(--surface-card);
    border: 1px solid var(--border);
    border-radius: 24px;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    position: relative;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
}

.contact-info-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: var(--primary);
    opacity: 0;
    transition: opacity 0.3s;
}

.contact-info-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
    border-color: var(--primary);
}

.contact-info-card:hover::before {
    opacity: 1;
}

.contact-icon-wrap {
    width: 56px;
    height: 56px;
    border-radius: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 24px;
    flex-shrink: 0;
}

.contact-label {
    font-size: 12px;
    font-weight: 700;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.contact-value {
    font-size: 16px;
    font-weight: 700;
    color: var(--text);
    margin: 4px 0;
}

.contact-subtext {
    font-size: 13px;
    color: var(--text-muted);
    margin: 0;
}

.contact-arrow {
    margin-left: auto;
    font-size: 20px;
    color: var(--border);
    transition: 0.3s;
}

.contact-info-card:hover .contact-arrow {
    color: var(--primary);
    transform: translateX(5px);
}

.contact-social-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 24px 30px;
    background: var(--surface-card);
    border: 1px solid var(--border);
    border-radius: 24px;
    box-shadow: var(--shadow-sm);
}

.contact-social-btn {
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: 14px;
    font-size: 20px;
    color: var(--text-muted);
    transition: 0.3s ease;
}

.contact-form-card {
    background: var(--surface-card);
    border: 1px solid var(--border);
    border-radius: 32px;
    padding: 50px;
    box-shadow: var(--shadow-card);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.form-group {
    margin-bottom: 24px;
}

.form-group label {
    display: block;
    font-size: 14px;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 10px;
}

.input-wrap {
    position: relative;
    display: flex;
    align-items: center;
}

.input-wrap i {
    position: absolute;
    left: 18px;
    color: var(--text-muted);
    font-size: 18px;
    pointer-events: none;
    transition: color 0.3s ease;
}

.input-wrap input, .input-wrap textarea {
    width: 100%;
    padding: 14px 20px 14px 48px;
    border-radius: 16px;
    border: 1px solid var(--border);
    background: var(--bg);
    color: var(--text);
    font-size: 15px;
    outline: none;
    font-family: inherit;
    transition: all 0.3s ease;
}

.input-wrap.textarea-wrap textarea {
    padding-top: 14px;
}

.input-wrap input:focus, .input-wrap textarea:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 4px var(--primary-glow);
    background: var(--surface);
}

.input-wrap input:focus + i, .input-wrap textarea:focus + i {
    color: var(--primary);
}

.form-control-custom {
    width: 100%;
    padding: 14px 20px;
    border-radius: 16px;
    border: 1px solid var(--border);
    background: var(--bg);
    color: var(--text);
    font-size: 15px;
    outline: none;
    transition: all 0.3s ease;
}

.form-control-custom:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 4px var(--primary-glow);
    background: var(--surface);
}

/* Empty / No Results State */
.no-services-found {
    grid-column: 1 / -1;
    text-align: center;
    padding: 70px 20px;
    background: var(--surface);
    border: 1px dashed var(--border);
    border-radius: var(--radius-lg);
}

.no-services-found i {
    font-size: 48px;
    color: var(--text-muted);
    margin-bottom: 15px;
}

.no-services-found h3 {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 8px;
}

/* Service Detail Modal Popup */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(15, 23, 42, 0.65);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    z-index: 3000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

.modal-content-wrapper {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    width: 100%;
    max-width: 850px;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.3);
    position: relative;
    transform: scale(0.95) translateY(20px);
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.modal-overlay.active .modal-content-wrapper {
    transform: scale(1) translateY(0);
}

.modal-close-btn {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.4);
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    z-index: 10;
    cursor: pointer;
    transition: all 0.3s ease;
}

.modal-close-btn:hover {
    background: var(--primary);
    transform: rotate(90deg);
}

.modal-banner {
    width: 100%;
    height: 300px;
    position: relative;
    background: linear-gradient(135deg, #0e449c 0%, #6d5dfc 100%);
    overflow: hidden;
}

.modal-banner img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.modal-body {
    padding: 40px;
}

.modal-body h2 {
    font-size: 32px;
    font-weight: 800;
    margin-bottom: 15px;
    line-height: 1.2;
}

.modal-video-box {
    margin: 25px 0;
    border-radius: 20px;
    overflow: hidden;
    position: relative;
    padding-bottom: 56.25%;
    height: 0;
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
}

.modal-video-box iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
}

.modal-description {
    font-size: 16px;
    color: var(--text-muted);
    line-height: 1.8;
    margin-bottom: 30px;
}

.modal-description ul {
    margin-left: 20px;
    margin-top: 10px;
}

.modal-description li {
    margin-bottom: 8px;
}

.modal-actions {
    display: flex;
    align-items: center;
    gap: 15px;
    padding-top: 20px;
    border-top: 1px solid var(--border);
}

.btn-primary {
    background: var(--primary);
    color: #ffffff;
    padding: 14px 28px;
    border-radius: 16px;
    font-weight: 700;
    font-size: 15px;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    transition: all 0.3s ease;
    box-shadow: 0 8px 20px -5px var(--primary-glow);
}

.btn-primary:hover {
    background: var(--primary-hover);
    transform: translateY(-2px);
}

.btn-secondary {
    background: var(--surface);
    color: var(--text);
    border: 1px solid var(--border);
    padding: 14px 28px;
    border-radius: 16px;
    font-weight: 600;
    font-size: 15px;
    transition: all 0.3s ease;
}

.btn-secondary:hover {
    background: rgba(14, 68, 156, 0.08);
    border-color: var(--primary);
    color: var(--primary);
}

/* Toast Notifications (3 second auto-hide per Instructions.txt) */
.toast-container {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 9999;
    display: flex;
    flex-direction: column;
    gap: 10px;
    pointer-events: none;
}

.toast {
    pointer-events: auto;
    min-width: 280px;
    max-width: 400px;
    background: var(--surface);
    color: var(--text);
    border: 1px solid var(--border);
    border-left: 5px solid var(--primary);
    padding: 14px 20px;
    border-radius: 14px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 14px;
    font-weight: 500;
    animation: toastIn 0.3s ease forwards;
}

.toast.toast-success { border-left-color: #10b981; }
.toast.toast-error { border-left-color: #ef4444; }
.toast.toast-warning { border-left-color: #f59e0b; }

@keyframes toastIn {
    from { opacity: 0; transform: translateY(20px) scale(0.9); }
    to { opacity: 1; transform: translateY(0) scale(1); }
}

@keyframes toastOut {
    from { opacity: 1; transform: translateY(0) scale(1); }
    to { opacity: 0; transform: translateY(20px) scale(0.9); }
}

/* Box Style Confirmation Modal (per Instructions.txt) */
.confirm-box-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(15, 23, 42, 0.5);
    backdrop-filter: blur(5px);
    z-index: 9998;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.confirm-box-overlay.active {
    opacity: 1;
    visibility: visible;
}

.confirm-box {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 20px;
    padding: 30px;
    max-width: 420px;
    width: 90%;
    box-shadow: 0 20px 40px rgba(0,0,0,0.2);
    text-align: center;
    transform: scale(0.9);
    transition: transform 0.3s ease;
}

.confirm-box-overlay.active .confirm-box {
    transform: scale(1);
}

.confirm-box h4 {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 10px;
}

.confirm-box p {
    font-size: 14px;
    color: var(--text-muted);
    margin-bottom: 25px;
}

.confirm-box-buttons {
    display: flex;
    gap: 10px;
    justify-content: center;
}

/* Footer Styling */
footer {
    background: var(--surface);
    border-top: 1px solid var(--border);
    padding: 60px 0 30px;
    margin-top: 80px;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 40px;
}

.footer-brand p {
    color: var(--text-muted);
    font-size: 14px;
    margin-top: 15px;
    max-width: 320px;
}

.footer-title {
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 20px;
    color: var(--text);
}

.footer-links {
    list-style: none;
}

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

.footer-links a {
    color: var(--text-muted);
    font-size: 14px;
}

.footer-links a:hover {
    color: var(--primary);
}

.footer-bottom {
    padding-top: 30px;
    border-top: 1px solid var(--border);
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 15px;
    font-size: 13px;
    color: var(--text-muted);
}

/* Responsive Styles */
@media (max-width: 992px) {
    .hero-grid, .contact-grid { grid-template-columns: 1fr; }
    .footer-content { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 767px) {
    .page-main { padding-top: 110px; }
    header { height: 60px; padding: 0 18px; top: 12px; width: 92%; }
    .header-title-box h1, .hero-content h1 { font-size: 36px; }
    .header-title-box p, .hero-content p { font-size: 16px; }
    .services-grid { gap: 20px; }
    .service-info { padding: 25px 20px !important; }
    .footer-content { grid-template-columns: 1fr; }
    .modal-body { padding: 25px 20px; }
    .modal-banner { height: 200px; }
    .contact-form-card { padding: 25px 20px; }
    .form-row { grid-template-columns: 1fr; }
    .breadcrumb-container, .breadcrumb-nav { display: none !important; }
}

/* Projects & Portfolio Specific Styling */
.projects-category-filter-bar {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
    margin-top: 25px;
    padding-top: 15px;
    border-top: 1px dashed var(--border);
}

.project-cat-pill {
    padding: 8px 18px;
    border-radius: 30px;
    font-size: 13px;
    font-weight: 600;
    color: var(--text-muted);
    background: var(--surface-card);
    border: 1px solid var(--border);
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.project-cat-pill:hover,
.project-cat-pill.active {
    background: var(--primary);
    color: #ffffff;
    border-color: var(--primary);
    box-shadow: 0 4px 14px var(--primary-glow);
}

.project-featured-badge {
    position: absolute;
    top: 15px;
    left: 15px;
    background: rgba(234, 179, 8, 0.95);
    color: #000000;
    font-size: 11px;
    font-weight: 800;
    padding: 5px 12px;
    border-radius: 20px;
    display: flex;
    align-items: center;
    gap: 4px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    z-index: 2;
    backdrop-filter: blur(4px);
}

.project-gallery-grid .project-gallery-item:hover {
    box-shadow: var(--shadow-hover);
}

