/* Base styling and variables */
:root {
    --primary-color: #f36c21; /* Smart Parking Orange */
    --primary-dark: #d9581a;
    --text-dark: #1b1b1b;
    --text-light: #666666;
    --bg-light: #f8f9fa;
    --white: #ffffff;
    --border-color: #e0e0e0;
    --font-main: 'Outfit', sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    -webkit-tap-highlight-color: transparent;
}

html, body {
    overflow-x: clip;
    max-width: 100%;
}

/* Soft touch effect for clickable elements on mobile */
a:active, button:active, .logo:active, .hamburger:active, .nav-item:active {
    opacity: 0.7;
    transform: scale(0.98);
    transition: all 0.1s ease;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-main);
    color: var(--text-dark);
    line-height: 1.6;
    background-color: var(--white);
}

a {
    text-decoration: none;
    color: inherit;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: 600;
    line-height: 1.2;
    margin-bottom: 20px;
}

p {
    margin-bottom: 15px;
}

.section-title {
    font-size: 42px;
    line-height: 1.2;
    text-align: center;
    margin-bottom: 30px;
    font-weight: 700;
}

.section-title.left-align {
    text-align: left;
}

.section-subtitle {
    font-size: 14px;
    font-weight: 700;
    color: var(--primary-color);
    letter-spacing: 1.5px;
    text-transform: uppercase;
    margin-bottom: 15px;
    display: block;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 30px;
    border-radius: 50px; /* Pill shape */
    font-weight: 600;
    transition: all 0.3s ease;
    cursor: pointer;
    font-size: 15px;
    text-align: center;
}

.btn-primary {
    background-color: var(--primary-color);
    color: var(--white);
    border: 2px solid var(--primary-color);
}

.btn-primary:hover {
    background-color: var(--primary-dark);
    border-color: var(--primary-dark);
    color: var(--white);
}

.btn-outline {
    background-color: transparent;
    color: var(--white);
    border: 2px solid var(--white);
}

.btn-outline:hover {
    background-color: var(--white);
    color: var(--text-dark);
}

.btn-outline-dark {
    background-color: transparent;
    color: var(--text-dark);
    border: 2px solid var(--text-dark);
}

.btn-outline-dark:hover {
    background-color: var(--text-dark);
    color: var(--white);
}

.btn-lg {
    padding: 16px 36px;
    font-size: 16px;
}

/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    transition: all 0.4s ease;
    background-color: transparent;
    display: flex;
    flex-direction: column;
}

.nav-top-bar {
    background: transparent;
    border-bottom: 1px solid rgba(255, 255, 255, 0.15);
    padding: 8px 5%;
    font-size: 13px;
    font-weight: 500;
    transition: all 0.4s ease;
}

.navbar.scrolled .nav-top-bar {
    display: none !important;
}

.nav-top-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1400px;
    margin: 0 auto;
    width: 100%;
}

.top-tickers span {
    color: var(--white);
    transition: color 0.3s;
}

.top-tickers .arrow-up {
    color: #4caf50;
    font-weight: bold;
}

.navbar.scrolled .top-tickers span {
    color: var(--text-dark);
}

.top-links {
    display: flex;
    gap: 20px;
}

.top-links a {
    color: var(--white);
    transition: color 0.3s;
}

.navbar.scrolled .top-links a {
    color: var(--text-dark);
}

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

.navbar.scrolled {
    background-color: var(--white);
    box-shadow: 0 4px 20px rgba(0,0,0,0.05);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 5%;
    max-width: 1400px;
    margin: 0 auto;
    width: 100%;
}

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

.logo-icon {
    background-color: var(--primary-color);
    color: var(--white);
    width: 44px;
    height: 44px;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 8px;
    font-size: 26px;
    font-weight: 700;
}

.logo-text {
    font-size: 16px;
    font-weight: 800;
    line-height: 1.1;
    color: var(--white);
    transition: color 0.3s;
}

.navbar.scrolled .logo-text, .navbar.solid-nav .logo-text {
    color: var(--text-dark);
}

.navbar.scrolled .logo img, .navbar.solid-nav .logo img {
    filter: invert(1) hue-rotate(180deg);
}

.nav-links {
    display: flex;
    gap: 35px;
    align-items: center;
}

.nav-links a {
    font-size: 15px;
    font-weight: 500;
    color: var(--white);
    transition: color 0.3s;
    padding: 5px 0;
    position: relative;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.navbar.scrolled .nav-links a, .navbar.solid-nav .nav-links a {
    color: var(--text-dark);
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--primary-color);
    transition: width 0.3s ease;
}

.nav-links a:hover::after {
    width: 100%;
}

.ril-style-logo {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 2px;
}
.ril-style-logo .logo-top {
    font-family: 'Times New Roman', Times, serif;
    font-size: 24px;
    color: var(--white);
    line-height: 1;
}
.ril-style-logo .logo-divider {
    width: 100%;
    height: 1px;
    background-color: var(--white);
    margin: 4px 0;
}
.ril-style-logo .logo-bottom {
    font-size: 11px;
    color: var(--white);
    font-weight: 500;
    align-self: center;
}
.navbar.scrolled .ril-style-logo .logo-top,
.navbar.scrolled .ril-style-logo .logo-bottom {
    color: var(--text-dark);
}
.navbar.scrolled .ril-style-logo .logo-divider {
    background-color: var(--text-dark);
}
.ril-style-links {
    gap: 30px;
}
.ril-style-links a {
    text-transform: none;
    font-size: 16px;
    display: flex;
    align-items: center;
    gap: 5px;
}
.dropdown-icon {
    font-size: 10px;
    display: inline-block;
    transform: translateY(-2px);
}

.navbar.solid-nav {
    background-color: var(--white);
    box-shadow: 0 4px 20px rgba(0,0,0,0.05);
}

.navbar.solid-nav .nav-top-bar {
    background-color: #f8f9fa;
    border-bottom: 1px solid #e0e0e0;
    color: var(--text-dark);
}

.navbar.solid-nav .top-tickers span, .navbar.solid-nav .top-links a {
    color: var(--text-dark);
}
/* Hero Section */
.hero {
    position: relative;
    min-height: 100vh;
    background: url('../frontend/image/stack_parking_car_parking.jpg') no-repeat center center/cover;
    display: flex;
    align-items: center;
    padding: 0 5%;
    padding-top: 100px;
}

.hero-overlay {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: linear-gradient(to right, rgba(0,0,0,0.8) 0%, rgba(0,0,0,0.4) 100%);
}

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

.hero-subtitle {
    font-size: 18px;
    margin-bottom: 25px;
    max-width: 650px;
    font-weight: 400;
}

.hero-title {
    font-size: 72px;
    font-weight: 700;
    line-height: 1.05;
    margin-bottom: 40px;
    letter-spacing: -1px;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    margin-top: 30px;
    flex-wrap: wrap;
    position: relative;
    z-index: 20;
}

/* Hero Bottom Curve - Optional, Smart Parking uses cleaner lines, so maybe just a flat or angled edge */
.hero-bottom-curve {
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 100%;
    height: 60px;
    background-color: var(--white);
    clip-path: polygon(0 100%, 100% 100%, 100% 0, 0 100%);
}
.hero-bottom-curve .curve-text {
    display: none; /* Hide the text, keep it clean */
}

/* Integrated System Section */
.integrated-system {
    padding: 100px 5%;
    background-color: var(--white);
    text-align: center;
}

.tabs-container {
    max-width: 1200px;
    margin: 0 auto;
    margin-top: 50px;
}

.tabs-header {
    display: flex;
    justify-content: center;
    gap: 15px;
    flex-wrap: wrap;
    margin-bottom: 40px;
    border-bottom: 2px solid var(--border-color);
}

.tab-btn {
    background: none;
    border: none;
    padding: 15px 25px;
    font-size: 16px;
    font-weight: 600;
    color: var(--text-light);
    cursor: pointer;
    font-family: inherit;
    transition: all 0.3s;
    position: relative;
    bottom: -2px;
    border-bottom: 2px solid transparent;
}

.tab-btn:hover {
    color: var(--text-dark);
}

.tab-btn.active {
    color: var(--primary-color);
    border-bottom: 2px solid var(--primary-color);
}

.tab-content-wrapper {
    position: relative;
    display: flex;
    align-items: center;
    background-color: var(--bg-light);
    border-radius: 20px;
    padding: 50px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.03);
}

.tab-content {
    display: none;
    width: 100%;
    text-align: left;
    align-items: center;
    gap: 50px;
}

.tab-content.active {
    display: flex;
    animation: fadeIn 0.5s ease;
}

.tab-text {
    flex: 1;
}

.tab-text h3 {
    font-size: 32px;
    margin-bottom: 20px;
    color: var(--text-dark);
}

.tab-text p {
    font-size: 16px;
    color: var(--text-light);
    margin-bottom: 30px;
}

.tab-image {
    flex: 1;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 15px 30px rgba(0,0,0,0.1);
    height: 350px;
    background-color: var(--white);
}

.tab-image img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: contain;
    padding: 15px;
}

.nav-arrow {
    display: none; /* Hide arrows, use tabs for navigation */
}

/* Sectors Section */
.sectors {
    padding: 100px 5%;
    background-color: var(--bg-light);
}

.sector-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 40px;
    margin-top: 50px;
    max-width: 1200px;
    margin-inline: auto;
}

.sector-card {
    background-color: var(--white);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
    transition: transform 0.3s, box-shadow 0.3s;
    padding-bottom: 30px;
}

.sector-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.1);
}

.sector-image {
    height: 220px;
    overflow: hidden;
}

.sector-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s;
}

.sector-card:hover .sector-image img {
    transform: scale(1.05);
}

.sector-title {
    font-size: 24px;
    padding: 25px 25px 10px;
    color: var(--text-dark);
}

.sector-card p {
    padding: 0 25px;
    color: var(--text-light);
    font-size: 15px;
    margin-bottom: 20px;
}

.read-more {
    font-weight: 700;
    color: var(--primary-color);
    padding: 0 25px;
    display: inline-block;
    transition: color 0.3s;
}

.read-more:hover {
    color: var(--primary-dark);
}

/* Stats Section */
.stats-section {
    padding: 100px 5%;
    background-color: var(--white);
}

.stats-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    gap: 60px;
    align-items: center;
}

.stats-text-area {
    flex: 1;
}

.stats-text-area h2 {
    font-size: 42px;
    margin-bottom: 20px;
}

.stats-text-area p {
    font-size: 18px;
    color: var(--text-light);
    margin-bottom: 30px;
}

.stats-grid {
    flex: 1;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.stat-card {
    padding: 40px 30px;
    border-radius: 12px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
}

.stat-card.orange-bg {
    background-color: var(--primary-color);
    color: var(--white);
}

.stat-card.white-bg {
    background-color: var(--white);
    border: 1px solid var(--border-color);
}

.stat-label {
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 1px;
    margin-bottom: 15px;
    display: block;
}

.stat-number {
    font-size: 48px;
    font-weight: 700;
    line-height: 1;
}

/* Testimonial Section */
.testimonial-section {
    padding: 0;
    display: flex;
    background-color: var(--text-dark);
    color: var(--white);
}

.testimonial-content {
    flex: 1;
    padding: 100px 8%;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.testimonial-quote {
    font-size: 32px;
    line-height: 1.4;
    font-weight: 400;
    margin-bottom: 40px;
    font-style: italic;
}

.testimonial-author {
    font-size: 16px;
    color: #aaaaaa;
}

.testimonial-author strong {
    color: var(--white);
    display: block;
    margin-top: 5px;
}

.testimonial-video {
    flex: 1;
    position: relative;
    min-height: 500px;
}

.testimonial-video img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.play-btn {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background-color: var(--primary-color);
    color: var(--white);
    border: none;
    font-size: 0; /* Hide text */
    cursor: pointer;
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: 0 10px 20px rgba(243, 108, 33, 0.4);
    transition: transform 0.3s, box-shadow 0.3s;
}

.play-btn::after {
    content: '';
    display: block;
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 10px 0 10px 16px;
    border-color: transparent transparent transparent var(--white);
    margin-left: 5px;
}

.play-btn:hover {
    transform: translate(-50%, -50%) scale(1.1);
    box-shadow: 0 15px 30px rgba(243, 108, 33, 0.6);
}

/* Footer */
.footer {
    background-color: #0b1c2d; /* Deep corporate blue/dark */
    color: #ffffff;
    font-family: var(--font-main);
}

.footer-top-links {
    background-color: #112a44;
    padding: 20px 5%;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-top-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    gap: 30px;
    flex-wrap: wrap;
    justify-content: center;
}

.footer-top-container a {
    color: #ffffff;
    font-weight: 500;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: color 0.3s;
}

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

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1.5fr 2fr;
    gap: 40px;
    padding: 60px 5%;
    max-width: 1200px;
    margin: 0 auto;
}

.footer-col h3 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 25px;
    color: #ffffff;
    letter-spacing: 0.5px;
}

.footer-col p {
    color: #a0aec0;
    font-size: 14px;
    line-height: 1.8;
    margin-bottom: 20px;
}

.footer-col strong {
    color: #ffffff;
    font-weight: 600;
}

.footer-logo {
    font-size: 24px;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 20px;
}

.footer-logo .logo-icon {
    width: 36px;
    height: 36px;
    font-size: 20px;
}

.branches-list {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
    color: #a0aec0;
    font-size: 13px;
}

.footer-bottom {
    background-color: #06111d;
    padding: 20px 5%;
}

.footer-bottom-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: #718096;
    font-size: 13px;
    flex-wrap: wrap;
}

.footer-bottom-container p {
    margin-bottom: 0;
}

.footer-legal {
    display: flex;
    gap: 20px;
}

.footer-legal a {
    color: #718096;
    transition: color 0.3s;
}

.footer-legal a:hover {
    color: #ffffff;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Responsive */
@media (max-width: 992px) {
    .hero-title { font-size: 50px; }
    .tabs-header { flex-direction: column; align-items: stretch; }
    .tab-btn { border-bottom: none; border-left: 2px solid transparent; text-align: left; padding: 15px; }
    .tab-btn.active { border-bottom: none; border-left: 2px solid var(--primary-color); }
    .tab-content { flex-direction: column-reverse; gap: 30px; }
    .stats-container { flex-direction: column; }
    .testimonial-section { flex-direction: column; }
    .testimonial-video { min-height: 300px; }
}

@media (max-width: 768px) {
    /* Global Typography & Layout */
    .hero-title { font-size: 36px !important; }
    .section-title { font-size: 28px !important; }
    h1 { font-size: 32px !important; }
    h2 { font-size: 28px !important; }
    h3 { font-size: 22px !important; }
    
    /* Grids */
    .sector-grid, .stats-grid, .grid { 
        grid-template-columns: 1fr !important; 
        gap: 20px;
    }
    
    /* Padding & Margins */
    section { padding: 40px 5% !important; }
    .hero-section, .ab-hero { 
        min-height: auto; 
        padding-top: 120px !important; 
        padding-bottom: 60px !important; 
    }
    .breadcrumb-bar { padding: 10px 5%; font-size: 12px; }
}

/* Nav Icons Scroll State */
.nav-icons a {
    color: var(--white);
    transition: color 0.3s ease;
}

.navbar.scrolled .nav-icons a {
    color: var(--text-dark);
}

.top-tickers span.arrow-down {
    transition: color 0.3s ease;
}
\n
/* New Footer Social Media Hover Styles */
.fc-social.new-social {
    display: flex;
    gap: 15px;
    align-items: center;
}
.fc-social.new-social a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #e0e0e0;
    color: #555;
    transition: all 0.3s ease-in-out;
    text-decoration: none;
}
.fc-social.new-social a svg {
    width: 20px;
    height: 20px;
    transition: transform 0.3s ease-in-out;
}
.fc-social.new-social a:hover {
    color: white;
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}
.fc-social.new-social a:hover svg {
    transform: scale(1.1);
}
/* Brand Colors on Hover */
.fc-social.new-social a.social-fb:hover { background: #1877F2; }
.fc-social.new-social a.social-tw:hover { background: #000000; } /* X / Twitter */
.fc-social.new-social a.social-in:hover { background: #0A66C2; }
.fc-social.new-social a.social-yt:hover { background: #FF0000; }
.fc-social.new-social a.social-ig:hover { 
    background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%); 
}

/* -------------------------------------------
   GLOBAL FOOTER RESPONSIVENESS OVERRIDES
   ------------------------------------------- */
@media (max-width: 768px) {
    /* Main Footer Styles */
    .footer { padding: 40px 5% !important; }
    .footer-top-container, .footer-content { 
        flex-direction: column !important; 
        gap: 30px !important; 
    }
    .footer-col { width: 100% !important; }
    .branches-list { grid-template-columns: 1fr !important; }
    
    .footer-bottom-container {
        flex-direction: column !important;
        text-align: center !important;
        gap: 15px !important;
    }
    .footer-legal {
        flex-direction: column !important;
        gap: 10px !important;
    }
}
