/* CSS Variables */
:root {
    --bg-main: #ffffff;
    --bg-secondary: #f8f9fa;
    --bg-dark: #0b192c;
    --bg-darker: #081220;
    --text-main: #1a1a24;
    --text-muted: #5a6a7c;
    --text-light: #ffffff;
    --accent: #cc0000; /* Corporate Red */
    --accent-hover: #a30000;
    --font-main: 'Inter', sans-serif;
    --transition: all 0.3s ease;
    --shadow-sm: 0 2px 4px rgba(0,0,0,0.05);
    --shadow-md: 0 4px 12px rgba(0,0,0,0.1);
    --shadow-lg: 0 10px 30px rgba(0,0,0,0.15);
}

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

html {
    overflow-x: hidden;
    width: 100%;
    max-width: 100vw;
}

body {
    font-family: var(--font-main);
    background-color: var(--bg-main);
    color: var(--text-main);
    line-height: 1.6;
    overflow-x: hidden;
    width: 100%;
    max-width: 100vw;
    padding-top: 70px;
    margin: 0;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}

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

.section {
    padding: 60px 0;
}

.page-header-section {
    padding-top: 150px !important;
    padding-bottom: 60px !important;
}

.dark-bg {
    background-color: var(--bg-secondary);
}

.navy-bg {
    background-color: var(--bg-darker);
    color: var(--text-light);
}

.navy-bg .section-title p {
    color: var(--text-light);
    opacity: 0.8;
}

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

.mt-4 {
    margin-top: 2rem;
}

.w-100 {
    width: 100%;
}

.highlight {
    color: var(--accent);
}

/* Typography */
h1, h2, h3, h4 {
    line-height: 1.2;
    margin-bottom: 1rem;
    color: inherit;
}

h1 {
    font-size: 3.5rem;
    font-weight: 800;
}

h2 {
    font-size: 2.5rem;
    font-weight: 700;
}

h3 {
    font-size: 1.5rem;
}

p {
    color: var(--text-muted);
    margin-bottom: 1rem;
}

.navy-bg p, #hero p {
    color: var(--text-light);
}

/* Buttons */
.btn-primary, .btn-primary-outline, .btn-secondary, .btn-white {
    display: inline-block;
    padding: 12px 30px;
    border-radius: 50px;
    font-size: 1.05rem;
    font-weight: 700;
    cursor: pointer;
    border: none;
    transition: all 0.3s ease;
    text-align: center;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.btn-primary {
    background: linear-gradient(135deg, var(--accent), #ff1a1a);
    color: var(--text-light);
    box-shadow: 0 4px 15px rgba(204, 0, 0, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(204, 0, 0, 0.4);
    background: linear-gradient(135deg, #ff1a1a, var(--accent));
    color: var(--text-light);
}

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

.btn-primary-outline:hover {
    background-color: var(--accent);
    color: var(--text-light);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(204, 0, 0, 0.2);
}

.btn-secondary {
    background-color: var(--bg-dark);
    color: var(--text-light);
    border: 2px solid var(--bg-dark);
}

.btn-secondary:hover {
    background-color: var(--text-light);
    color: var(--bg-dark);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
}

.btn-white {
    background-color: var(--text-light);
    color: var(--accent);
    box-shadow: var(--shadow-md);
}

.btn-white:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

/* Navbar */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 10px 0;
    background-color: #ffffff;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.02);
    color: var(--text-main);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

header.scrolled {
    padding: 8px 0;
    background-color: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    border-bottom: 1px solid transparent;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo a {
    font-size: 1.7rem;
    font-weight: 900;
    letter-spacing: -1px;
    color: var(--bg-dark);
}

.logo span {
    color: var(--accent);
}

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

.nav-links a:not([class*="btn-"]) {
    font-size: 1.05rem;
    font-weight: 600;
    color: var(--text-main);
    position: relative;
    padding: 5px 0;
    transition: color 0.3s ease;
}

.nav-links a:not([class*="btn-"])::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0%;
    height: 3px;
    background-color: var(--accent);
    transition: width 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border-radius: 3px;
}

.nav-links a:not([class*="btn-"]):hover::after {
    width: 100%;
}

.nav-links a:not([class*="btn-"]):hover {
    color: var(--accent);
}

/* Navbar button specifically slimmer and modern */
.nav-links .btn-primary {
    padding: 10px 28px;
    font-size: 1.05rem;
    font-weight: 700;
    border-radius: 50px; /* Pill shape for modern look */
    background: linear-gradient(135deg, var(--accent), #ff1a1a);
    box-shadow: 0 4px 15px rgba(204, 0, 0, 0.3);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
}

.nav-links .btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(204, 0, 0, 0.4);
    background: linear-gradient(135deg, #ff1a1a, var(--accent));
}

/* Dropdown Menu */
.dropdown {
    position: relative;
    display: inline-block;
}

.dropdown-content {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background-color: var(--bg-main);
    min-width: 250px;
    box-shadow: var(--shadow-lg);
    border-radius: 8px;
    z-index: 1000;
    overflow: hidden;
    flex-direction: column;
    padding: 10px 0;
    animation: fadeInDown 0.3s ease forwards;
}

.dropdown:hover .dropdown-content {
    display: flex;
}

.dropdown-content a {
    color: var(--text-main) !important;
    padding: 12px 20px;
    text-decoration: none;
    display: block;
    font-size: 0.9rem !important;
    font-weight: 500 !important;
    transition: var(--transition);
}

.dropdown-content a:hover {
    background-color: rgba(0,0,0,0.02);
    color: var(--accent) !important;
    padding-left: 25px;
}

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

.hamburger {
    display: none;
    cursor: pointer;
    flex-direction: column;
    gap: 5px;
}

.hamburger span {
    width: 25px;
    height: 2px;
    background-color: var(--text-main);
    transition: var(--transition);
}

/* Hero Section */
#hero {
    height: 100vh;
    display: flex;
    align-items: center;
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    position: relative;
    color: var(--text-light);
    margin-top: 0;
}

#hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, rgba(11, 25, 44, 0.9) 0%, rgba(11, 25, 44, 0.6) 100%);
    z-index: 1;
}

.hero-content {
    max-width: 800px;
    position: relative;
    z-index: 2;
}

.hero-content h1 {
    color: var(--text-light);
}

.hero-cta {
    display: flex;
    gap: 15px;
    margin-top: 30px;
}

/* Infinite Marquee */
.marquee-container {
    width: 100%;
    overflow: hidden;
    padding: 15px 0;
    position: relative;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    background-color: var(--bg-dark);
    display: flex;
    white-space: nowrap;
}

.marquee-content {
    display: flex;
    animation: marquee 35s linear infinite;
    align-items: center;
}

.marquee-content span {
    font-size: 1rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--text-light);
    padding: 0 15px;
    opacity: 0.8;
}

.marquee-content span:hover {
    color: var(--accent);
    opacity: 1;
    cursor: default;
}

.marquee-content .dot {
    color: var(--accent);
    font-size: 1.5rem;
    padding: 0;
    opacity: 1;
}

.marquee-container:hover .marquee-content {
    animation-play-state: paused;
}

@keyframes marquee {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

/* About Section */
.about-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.about-features {
    margin-top: 20px;
}

.about-features li {
    margin-bottom: 12px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--text-main);
}

.about-features li::before {
    content: '✓';
    color: var(--accent);
    font-weight: bold;
    background: rgba(204, 0, 0, 0.1);
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
}

.about-stats {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.stat-box {
    background-color: #ffffff;
    padding: 35px 25px;
    border-radius: 12px;
    text-align: center;
    border: 1px solid rgba(0,0,0,0.06);
    box-shadow: 0 4px 20px rgba(0,0,0,0.03);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.stat-box:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.08);
    border-color: rgba(204, 0, 0, 0.15);
}

.stat-box h3 {
    font-size: 3rem;
    font-weight: 900;
    margin-bottom: 5px;
    background: linear-gradient(135deg, var(--accent), #ff1a1a);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    letter-spacing: -1px;
}

.stat-box p {
    color: var(--text-muted);
    font-weight: 600;
    font-size: 1.05rem;
}

/* Services & Sections */
.section-title {
    margin-bottom: 35px;
}

.section-title h2 {
    position: relative;
    display: inline-block;
    padding-bottom: 18px;
    font-weight: 800;
    letter-spacing: -0.5px;
}

.section-title h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 70px;
    height: 4px;
    background: linear-gradient(90deg, var(--accent), #ff1a1a);
    border-radius: 4px;
}

/* Accent for left-aligned headings */
.about-text h1, .about-text h2, .contact-info h2 {
    position: relative;
    display: inline-block;
    padding-bottom: 18px;
    font-weight: 800;
    letter-spacing: -0.5px;
}

.about-text h1 {
    font-size: 2.5rem;
}

.about-text h1::after, .about-text h2::after, .contact-info h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 70px;
    height: 4px;
    background: linear-gradient(90deg, var(--accent), #ff1a1a);
    border-radius: 4px;
}

/* Core Solutions Grid (Bento Box Style) */
.solutions-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: repeat(2, 300px);
    gap: 24px;
    width: 100%;
}

/* Bento Box Grid Spans */
.solutions-grid > a:nth-child(1) { grid-column: span 2; grid-row: span 1; }
.solutions-grid > a:nth-child(2) { grid-column: span 1; grid-row: span 2; }
.solutions-grid > a:nth-child(3) { grid-column: span 1; grid-row: span 1; }
.solutions-grid > a:nth-child(4) { grid-column: span 1; grid-row: span 1; }

@media (max-width: 992px) {
    .solutions-grid {
        grid-template-columns: 1fr 1fr;
        grid-template-rows: auto;
    }
    .solutions-grid > a:nth-child(n) {
        grid-column: span 1;
        grid-row: span 1;
        height: 300px;
    }
}

@media (max-width: 768px) {
    .solutions-grid {
        grid-template-columns: 1fr;
    }
}

.solution-card {
    position: relative;
    border-radius: 20px; /* Apple-style rounded corners */
    overflow: hidden;
    height: 100%; /* Fill bento track */
    display: block;
    text-decoration: none;
    box-shadow: 0 4px 20px rgba(0,0,0,0.06);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.solution-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.15);
}

.solution-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
    display: block;
}

.solution-card:hover img {
    transform: scale(1.08);
}

.solution-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(8, 18, 32, 0.95) 0%, rgba(8, 18, 32, 0.6) 40%, transparent 100%);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 40px 30px;
    color: var(--text-light);
    transition: all 0.4s ease;
}

.solution-overlay h3 {
    font-size: 1.6rem;
    font-weight: 800;
    color: var(--text-light);
    margin-bottom: 10px;
    transform: translateY(20px);
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.solution-overlay p {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 15px;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.solution-link {
    color: var(--accent);
    font-weight: 600;
    font-size: 0.9rem;
    letter-spacing: 1px;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.4s ease;
}

/* Hover Effects */
.solution-card:hover img {
    transform: scale(1.1);
}

.solution-card:hover .solution-overlay {
    background: linear-gradient(to top, rgba(11, 25, 44, 0.98) 0%, rgba(11, 25, 44, 0.7) 60%, transparent 100%);
}

.solution-card:hover .solution-overlay h3 {
    transform: translateY(0);
}

.solution-card:hover .solution-overlay p,
.solution-card:hover .solution-link {
    opacity: 1;
    transform: translateY(0);
}

.solution-card:hover .solution-link {
    transition-delay: 0.1s;
}

/* Portfolio */
.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
}

.portfolio-item {
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    height: 300px;
    box-shadow: var(--shadow-md);
}

.portfolio-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.portfolio-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 30px 20px;
    background: linear-gradient(transparent, rgba(11, 25, 44, 0.95));
    transform: translateY(20px);
    opacity: 0;
    transition: var(--transition);
    color: var(--text-light);
}

.portfolio-item:hover img {
    transform: scale(1.1);
}

.portfolio-item:hover .portfolio-overlay {
    transform: translateY(0);
    opacity: 1;
}

.portfolio-overlay h3 {
    margin-bottom: 5px;
    font-size: 1.2rem;
    color: var(--text-light);
}

.portfolio-overlay p {
    color: var(--accent);
    margin-bottom: 0;
    font-size: 0.9rem;
    font-weight: 600;
}

/* Testimonials */
.testimonial-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}


/* Contact */
/* Contact */
.cta-section {
    background-color: var(--bg-dark);
    padding: 100px 0;
    position: relative;
    overflow: hidden;
}

.contact-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    background: transparent;
    border-radius: 0;
    box-shadow: none;
    align-items: center;
}

.contact-info {
    padding: 0;
    color: var(--text-light);
}

.contact-title {
    font-size: 2.8rem;
    font-weight: 800;
    line-height: 1.15;
    letter-spacing: -1px;
    margin-bottom: 20px;
    color: var(--text-light);
}

.contact-subtitle {
    font-size: 1.1rem;
    color: rgba(255,255,255,0.7);
    line-height: 1.6;
    margin-bottom: 40px;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 20px;
}

.contact-item .icon {
    font-size: 1.5rem;
    background: rgba(255,255,255,0.05);
    padding: 15px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.contact-item .info strong {
    display: block;
    font-size: 1.05rem;
    color: var(--text-light);
    margin-bottom: 5px;
    letter-spacing: 0.5px;
}

.contact-item .info span {
    font-size: 0.95rem;
    color: rgba(255,255,255,0.6);
    line-height: 1.6;
    display: block;
}

/* The Floating Form */
.contact-form {
    background-color: #ffffff;
    padding: 50px;
    border-radius: 24px;
    box-shadow: 0 25px 60px rgba(0,0,0,0.25);
    position: relative;
    z-index: 10;
}

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

.contact-form input, 
.contact-form select, 
.contact-form textarea {
    width: 100%;
    padding: 16px 20px;
    background-color: #f4f6f8;
    border: none;
    color: var(--bg-dark);
    border-radius: 12px;
    font-size: 0.95rem;
    font-weight: 500;
    font-family: inherit;
    transition: all 0.3s ease;
}

.contact-form input:focus, 
.contact-form select:focus, 
.contact-form textarea:focus {
    outline: none;
    background-color: #ffffff;
    box-shadow: 0 0 0 2px var(--accent);
}

.contact-form .btn-primary {
    padding: 18px 30px;
    width: 100%;
    margin-top: 10px;
    font-size: 1.1rem;
}

.contact-form .btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 15px 25px rgba(204, 0, 0, 0.3);
}
/* Footer */
footer {
    background-color: var(--bg-darker);
    padding: 60px 0 20px;
    color: var(--text-light);
}

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

.footer-brand h2 {
    font-size: 1.8rem;
    margin-bottom: 15px;
    color: var(--text-light);
}

.footer-brand span {
    color: var(--accent);
}

.footer-brand p {
    color: rgba(255,255,255,0.7);
}

.footer-links h3, .footer-social h3 {
    font-size: 1.1rem;
    margin-bottom: 20px;
    color: var(--text-light);
}

.footer-links a, .footer-social a {
    display: block;
    color: rgba(255,255,255,0.7);
    margin-bottom: 10px;
}

.footer-links a:hover, .footer-social a:hover {
    color: var(--accent);
    padding-left: 5px;
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-bottom p {
    font-size: 0.9rem;
    margin-bottom: 0;
    color: rgba(255,255,255,0.5);
}

/* --- New 5-Column Footer --- */
.footer-new {
    background-color: var(--bg-darker);
    /* Subtle dot grid pattern representing LED pixels */
    background-image: radial-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1px);
    background-size: 20px 20px;
    padding: 60px 0 20px;
    color: #ffffff;
    font-family: 'Inter', sans-serif;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

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

.footer-col h3, .footer-col h2 {
    font-size: 1.15rem;
    font-weight: 700;
    margin-bottom: 20px;
    color: #ffffff;
}

.footer-col h2 {
    font-size: 1.5rem;
    margin-bottom: 15px;
}

.footer-col p {
    font-size: 0.9rem;
    color: rgba(255,255,255,0.85);
    line-height: 1.6;
    margin-bottom: 15px;
}

.footer-col ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-col ul li {
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    font-size: 0.9rem;
    color: rgba(255,255,255,0.85);
}

.footer-col ul li i {
    font-size: 1.2rem;
    margin-right: 10px;
    color: rgba(255,255,255,0.9);
}

.footer-col ul li a {
    color: rgba(255,255,255,0.85);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-col ul li a:hover {
    color: var(--accent);
}

.badge-hiring {
    background-color: rgba(229, 9, 20, 0.1); /* Light red background */
    color: var(--accent); /* Red text */
    font-size: 0.75rem;
    padding: 2px 6px;
    border-radius: 4px;
    margin-left: 8px;
    font-weight: 600;
    border: 1px solid rgba(229, 9, 20, 0.3);
}

.footer-new-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-new-bottom p {
    font-size: 0.85rem;
    color: rgba(255,255,255,0.5);
    margin: 0;
}

/* Animations */
.fade-in {
    opacity: 0;
    transition: opacity 1s ease;
}

.fade-in.appear {
    opacity: 1;
}

.slide-up {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.slide-up.appear {
    opacity: 1;
    transform: translateY(0);
}

.delay-1 { transition-delay: 0.1s; }
.delay-2 { transition-delay: 0.2s; }
.delay-3 { transition-delay: 0.3s; }
.delay-4 { transition-delay: 0.4s; }

/* Floating WhatsApp */
@keyframes pulse {
    0% { transform: scale(1); box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7); }
    70% { transform: scale(1.05); box-shadow: 0 0 0 15px rgba(37, 211, 102, 0); }
    100% { transform: scale(1); box-shadow: 0 0 0 0 rgba(37, 211, 102, 0); }
}

.floating-wa {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background-color: #25D366;
    color: white;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 30px;
    box-shadow: 0 4px 10px rgba(37, 211, 102, 0.3);
    z-index: 999;
    transition: var(--transition);
    animation: pulse 2s infinite;
}

.floating-wa:hover {
    animation: none;
    transform: scale(1.1);
    box-shadow: 0 6px 15px rgba(37, 211, 102, 0.5);
    color: white;
}

/* Responsive */
@media (max-width: 992px) {
    h1 { font-size: 2.8rem; }
    .about-container, .contact-container {
        grid-template-columns: 1fr;
    }
    .footer-content {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    body {
        padding-top: 48px !important;
    }

    .page-header-section {
        padding-top: 100px !important;
        padding-bottom: 40px !important;
    }

    /* === MODERN MOBILE SIDEBAR === */
    .nav-links {
        position: fixed;
        top: 0;
        right: -280px;
        height: auto !important;
        max-height: 100vh !important;
        width: 260px !important;
        background: #0b192c !important;
        background: linear-gradient(180deg, #0b192c 0%, #132744 100%) !important;
        flex-direction: column !important;
        justify-content: flex-start !important;
        align-items: flex-start !important;
        padding: 80px 28px 35px !important;
        gap: 0 !important;
        transition: right 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
        box-shadow: -8px 0 30px rgba(0,0,0,0.3) !important;
        z-index: 1000 !important;
        border-radius: 0 0 0 20px !important; /* Premium rounded corner bottom-left */
        overflow-y: auto !important;
    }
    .nav-links.active {
        right: 0 !important;
    }
    .nav-links a:not([class*="btn-"]) {
        padding: 14px 0 !important;
        font-size: 0.95rem !important;
        font-weight: 600 !important;
        color: rgba(255,255,255,0.85) !important;
        border-bottom: 1px solid rgba(255,255,255,0.08) !important;
        width: 100% !important;
        display: block !important;
        transition: color 0.2s ease, padding-left 0.2s ease !important;
    }
    .nav-links a:not([class*="btn-"]):hover {
        color: #ffffff !important;
        padding-left: 8px !important;
    }
    .nav-links a:not([class*="btn-"])::after {
        display: none !important;
    }
    .nav-links .btn-primary {
        padding: 10px 28px !important;
        font-size: 0.85rem !important;
        text-align: center !important;
        margin-top: 20px !important;
        width: auto !important;
        align-self: flex-start !important;
        display: inline-block !important;
        box-sizing: border-box !important;
        background: linear-gradient(135deg, var(--accent), #ff1a1a) !important;
        color: #fff !important;
        border-radius: 50px !important;
    }
    .hamburger {
        display: flex;
        z-index: 1001;
    }
    .hamburger.active span {
        background-color: #ffffff !important;
    }
    .hamburger.active span:nth-child(1) {
        transform: translateY(7px) rotate(45deg);
    }
    .hamburger.active span:nth-child(2) {
        opacity: 0;
    }
    .hamburger.active span:nth-child(3) {
        transform: translateY(-7px) rotate(-45deg);
    }

    /* === LOGO MOBILE === */
    .logo a span,
    .logo span {
        font-size: 0.75rem !important;
        letter-spacing: -0.5px !important;
    }
    .logo a img,
    .logo img {
        height: 28px !important;
        margin-right: 6px !important;
    }

    /* === GENERAL === */
    h1 { font-size: 1.8rem; }
    h2 { font-size: 1.5rem; }
    .section { padding: 40px 0; }
    .container { padding: 0 15px; }
    .hero-cta { flex-direction: column; }

    /* === ABOUT === */
    .about-container { grid-template-columns: 1fr; gap: 30px; }
    .about-stats { grid-template-columns: 1fr 1fr; gap: 12px; }
    .stat-box { padding: 20px 15px; }
    .stat-box h3 { font-size: 2rem; }
    .stat-box p { font-size: 0.85rem; }

    /* === SOLUTIONS === */
    .solutions-grid { grid-template-columns: 1fr; }
    .solution-overlay { padding: 20px 15px; }
    .solution-overlay h3 { font-size: 1.2rem; }

    /* === PORTFOLIO === */
    .portfolio-grid { grid-template-columns: 1fr; }

    /* === CONTACT === */
    .contact-container { grid-template-columns: 1fr; gap: 30px; }
    .cta-section { padding: 60px 0; }
    .contact-title { font-size: 1.8rem; }
    .contact-subtitle { font-size: 0.95rem; }
    .contact-form { padding: 25px; border-radius: 16px; }
    .contact-form input, .contact-form select, .contact-form textarea { padding: 12px 15px; font-size: 0.9rem; }
    .contact-form .btn-primary { padding: 14px 20px; font-size: 1rem; }

    /* === FOOTER === */
    .footer-content { grid-template-columns: 1fr; gap: 25px; }
    .footer-new-content { grid-template-columns: 1fr; gap: 25px; }
    .footer-col h2 { font-size: 1.2rem; }

    /* === FAQ === */
    .faq-question { padding: 15px; font-size: 0.9rem; }

    /* === FLOATING WA === */
    .floating-wa { width: 50px; height: 50px; font-size: 24px; bottom: 20px; right: 20px; }
}

/* FAQ Section Styles */
#faq {
    padding-top: 20px; /* Pull up to reduce gap from testimonials */
    padding-bottom: 30px; /* Reduce gap before contact section */
}

.faq-container {
    max-width: 800px;
    margin: 2rem auto 0; /* Remove bottom margin */
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.faq-item {
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    overflow: hidden;
    background-color: var(--bg-main);
    transition: all 0.3s ease;
}

.faq-item:hover {
    box-shadow: var(--shadow-md);
    border-color: var(--accent);
}

.faq-question {
    width: 100%;
    padding: 20px;
    background-color: var(--bg-secondary);
    border: none;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-main);
    transition: all 0.3s ease;
}

.faq-question:hover {
    background-color: #f0f0f0;
}

.faq-question.active {
    background-color: var(--accent);
    color: var(--text-light);
}

.faq-toggle {
    font-size: 1.5rem;
    font-weight: bold;
    transition: transform 0.3s ease;
}

.faq-question.active .faq-toggle {
    transform: rotate(45deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.faq-answer.show {
    max-height: 500px;
    padding: 20px;
    background-color: var(--bg-main);
    color: var(--text-muted);
    line-height: 1.8;
}



/* ====== PROFESSIONAL SWIPER CAROUSEL STYLES ====== */

/* Base Swiper Container */
.swiper {
    width: 100%;
    height: auto;
    overflow: hidden;
}

.swiper-wrapper {
    display: flex;
    transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
}

.swiper-slide {
    flex-shrink: 0;
    width: 100%;
    height: auto;
    display: flex;
    justify-content: center;
    align-items: center;
}

/* ====== PORTFOLIO CAROUSEL ====== */
.portfolio-swiper {
    width: 100%;
    max-width: 1100px;
    margin: 0 auto;
    position: relative;
    padding: 0 20px 50px;
    box-sizing: border-box;
}

.portfolio-swiper .swiper-wrapper {
    width: 100%;
}

.portfolio-swiper .swiper-slide {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 0;
    box-sizing: border-box;
}

/* Portfolio Item - Consistent Aspect Ratio 16:9 */
.portfolio-item {
    width: 100%;
    height: 320px;
    border-radius: 12px;
    overflow: hidden;
    position: relative;
    background: #f0f0f0;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    transition: box-shadow 0.3s ease;
}

.portfolio-item:hover {
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
}

.portfolio-item a {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: block;
}

.portfolio-item img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.portfolio-item:hover img {
    transform: scale(1.08);
}

.portfolio-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(204, 0, 0, 0.95) 0%, rgba(0, 0, 0, 0.9) 100%);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 30px;
    box-sizing: border-box;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.portfolio-item:hover .portfolio-overlay {
    opacity: 1;
}

.portfolio-overlay h3 {
    font-size: clamp(1.2rem, 4vw, 1.6rem);
    font-weight: 700;
    color: #ffffff;
    margin: 0 0 10px 0;
    line-height: 1.2;
}

.portfolio-overlay p {
    font-size: clamp(0.85rem, 2vw, 1rem);
    color: rgba(255, 255, 255, 0.95);
    margin: 0 0 15px 0;
}

.view-btn {
    display: inline-block;
    background: rgba(255, 255, 255, 0.25);
    color: #ffffff;
    padding: 8px 14px;
    border-radius: 4px;
    font-size: 0.85rem;
    font-weight: 500;
    transition: all 0.3s ease;
    width: fit-content;
}

.portfolio-item:hover .view-btn {
    background: rgba(255, 255, 255, 0.4);
    transform: translateY(-2px);
}

/* Portfolio Navigation Buttons */
.portfolio-swiper .swiper-button-prev,
.portfolio-swiper .swiper-button-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 48px;
    height: 48px;
    margin-top: 0;
    z-index: 20;
    background: rgba(0, 0, 0, 0.35);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
    outline: none;
}

.portfolio-swiper .swiper-button-prev {
    left: 10px;
}

.portfolio-swiper .swiper-button-next {
    right: 10px;
}

.portfolio-swiper .swiper-button-prev:hover,
.portfolio-swiper .swiper-button-next:hover {
    background: var(--accent);
    box-shadow: 0 4px 12px rgba(204, 0, 0, 0.3);
}

.portfolio-swiper .swiper-button-prev:after,
.portfolio-swiper .swiper-button-next:after {
    font-size: 18px !important;
    color: #ffffff;
    font-weight: bold;
}

/* Portfolio Pagination */
.portfolio-swiper .swiper-pagination {
    position: absolute;
    bottom: 15px;
    left: 50%;
    transform: translateX(-50%);
    width: auto;
    display: flex;
    gap: 8px;
    justify-content: center;
    z-index: 15;
}

.portfolio-swiper .swiper-pagination-bullet {
    width: 10px;
    height: 10px;
    background: rgba(0, 0, 0, 0.3);
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s ease;
    margin: 0 !important;
}

.portfolio-swiper .swiper-pagination-bullet-active {
    background: var(--accent);
    width: 30px;
    border-radius: 5px;
}

/* ====== TESTIMONIAL CAROUSEL ====== */
.testimonial-swiper {
    width: 100%;
    max-width: 1000px;
    margin: 2rem auto 0;
    position: relative;
    padding: 0 20px 30px; /* Reduced bottom padding */
    box-sizing: border-box;
}

.testimonial-swiper .swiper-wrapper {
    width: 100%;
}

.testimonial-swiper .swiper-slide {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 0 15px;
    box-sizing: border-box;
    min-height: 240px;
}

/* Testimonial Card */
.testimonial-card {
    width: 100%;
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 12px;
    padding: 25px;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: 220px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.testimonial-card:hover {
    background: rgba(255, 255, 255, 0.12);
    border-color: rgba(204, 0, 0, 0.4);
    transform: translateY(-5px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.3);
}

.testimonial-card .quote {
    font-size: clamp(1rem, 2vw, 1.15rem);
    font-style: italic;
    font-weight: 500;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.95);
    margin: 0 0 25px 0;
}

.testimonial-card .author {
    margin-top: auto;
}

.testimonial-card .author h4 {
    font-size: clamp(1rem, 1.5vw, 1.1rem);
    font-weight: 700;
    color: var(--accent);
    margin: 0 0 6px 0;
    line-height: 1.2;
}

.testimonial-card .author p {
    font-size: clamp(0.8rem, 1.2vw, 0.95rem);
    color: rgba(255, 255, 255, 0.7);
    margin: 0;
}

/* Testimonial Navigation Buttons */
.testimonial-swiper .swiper-button-prev,
.testimonial-swiper .swiper-button-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 48px;
    height: 48px;
    margin-top: 0;
    z-index: 20;
    background: rgba(255, 255, 255, 0.15);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
    outline: none;
}

.testimonial-swiper .swiper-button-prev {
    left: 10px;
}

.testimonial-swiper .swiper-button-next {
    right: 10px;
}

.testimonial-swiper .swiper-button-prev:hover,
.testimonial-swiper .swiper-button-next:hover {
    background: var(--accent);
    box-shadow: 0 4px 12px rgba(204, 0, 0, 0.4);
}

.testimonial-swiper .swiper-button-prev:after,
.testimonial-swiper .swiper-button-next:after {
    font-size: 18px !important;
    color: #ffffff;
    font-weight: bold;
}

/* Testimonial Pagination */
.testimonial-swiper .swiper-pagination {
    position: absolute;
    bottom: 15px;
    left: 50%;
    transform: translateX(-50%);
    width: auto;
    display: flex;
    gap: 8px;
    justify-content: center;
    z-index: 15;
}

.testimonial-swiper .swiper-pagination-bullet {
    width: 10px;
    height: 10px;
    background: rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s ease;
    margin: 0 !important;
}

.testimonial-swiper .swiper-pagination-bullet-active {
    background: var(--accent);
    width: 30px;
    border-radius: 5px;
}

/* ====== LIGHTBOX STYLING ====== */
.lb-nav a.lb-prev,
.lb-nav a.lb-next {
    background-color: var(--accent);
    transition: all 0.3s ease;
}

.lb-nav a.lb-prev:hover,
.lb-nav a.lb-next:hover {
    background-color: var(--accent-hover);
}

.lb-close {
    color: var(--accent) !important;
}

/* ====== RESPONSIVE FIXES ====== */
@media (max-width: 768px) {
    .portfolio-swiper {
        padding: 0 15px 80px;
    }

    .testimonial-swiper {
        padding: 0 15px 80px;
    }

    .portfolio-swiper .swiper-button-prev,
    .portfolio-swiper .swiper-button-next,
    .testimonial-swiper .swiper-button-prev,
    .testimonial-swiper .swiper-button-next {
        width: 40px;
        height: 40px;
    }

    .portfolio-item {
        padding-bottom: 56.25%;
    }

    .testimonial-swiper .swiper-slide {
        min-height: auto;
    }

    .testimonial-card {
        min-height: auto;
        padding: 25px;
    }

    .portfolio-overlay {
        padding: 20px;
    }

    .portfolio-overlay h3 {
        font-size: 1.3rem;
    }

    .portfolio-overlay p {
        font-size: 0.9rem;
    }
}

@media (max-width: 480px) {
    .portfolio-swiper,
    .testimonial-swiper {
        max-width: 100%;
        padding: 0 10px 70px;
    }

    .portfolio-swiper .swiper-slide,
    .testimonial-swiper .swiper-slide {
        padding: 0;
    }

    .portfolio-swiper .swiper-button-prev,
    .portfolio-swiper .swiper-button-next,
    .testimonial-swiper .swiper-button-prev,
    .testimonial-swiper .swiper-button-next {
        width: 36px;
        height: 36px;
    }

    .testimonial-card {
        padding: 20px;
    }

    .portfolio-overlay {
        padding: 15px;
    }

    .portfolio-overlay h3 {
        font-size: 1.1rem;
        margin-bottom: 8px;
    }

    .portfolio-overlay p {
        font-size: 0.8rem;
        margin-bottom: 10px;
    }

    .view-btn {
        font-size: 0.75rem;
        padding: 6px 12px;
    }
}

/* Screen Reader Only */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border-width: 0;
}

/* =========================================
   DYNAMIC BLOG LAYOUT CLASSES
   ========================================= */

/* Headline (Featured) */
.headline-wrapper {
    display: flex;
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    margin-bottom: 50px;
}
.headline-img {
    flex: 1;
    min-height: 400px;
    background-size: cover;
    background-position: center;
}
.headline-content {
    flex: 1;
    padding: 40px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

/* Grid Layout */
.grid-wrapper {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-bottom: 50px;
}
.grid-card {
    display: flex;
    flex-direction: column;
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
}
.grid-card-content {
    padding: 20px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

/* Expandable List Layout */
.list-wrapper {
    display: flex;
    flex-direction: column;
    gap: 20px;
}
.list-item-wrapper {
    background: white;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 5px rgba(0,0,0,0.02);
}
.list-item-header {
    padding: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    transition: background 0.2s;
}
.list-item-header:hover {
    background: #f8fafc;
}
.list-item-body {
    padding: 0 20px 20px 20px;
    border-top: 1px solid #e2e8f0;
}
.list-item-video {
    position: relative;
    padding-bottom: 56.25%;
    height: 0;
    overflow: hidden;
    border-radius: 8px;
    margin: 20px 0;
}
.list-item-iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
}
.list-item-img {
    width: 100%;
    border-radius: 8px;
    margin: 20px 0;
}


/* =========================================
   RESPONSIVE MEDIA QUERIES
   ========================================= */

@media (max-width: 992px) {
    .headline-img {
        min-height: 300px;
    }
    .headline-content {
        padding: 30px;
    }
    .grid-wrapper {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
        gap: 20px;
    }
}

@media (max-width: 768px) {
    /* Headline Stacks Vertically */
    .headline-wrapper {
        flex-direction: column;
    }
    .headline-img {
        min-height: 250px;
    }
    .headline-content {
        padding: 20px;
    }
    .headline-wrapper h2.featured-title {
        font-size: 1.6rem !important;
    }
    
    /* Grid becomes 1 column */
    .grid-wrapper {
        grid-template-columns: 1fr;
    }
    
    /* List items tighter padding */
    .list-item-header {
        padding: 15px;
    }
    .list-item-body {
        padding: 0 15px 15px 15px;
    }
    
    /* Global Adjustments */
    .article-header {
        padding: 100px 15px 40px;
    }
    .article-header h1 {
        font-size: 2rem;
    }
    .article-content {
        padding: 40px 15px;
        font-size: 1rem;
    }
}


/* =========================================
   HERO BANNER RESPONSIVE FIX
   ========================================= */

.hero-ui-container {
    padding: 15px 15px 65px;
    display: flex;
    gap: 15px;
    justify-content: center;
    flex-wrap: wrap;
}

.hero-btn {
    min-width: 160px;
}

.hero-marquee-container {
    background-color: rgba(0, 0, 0, 0.25);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    border-bottom: none;
    backdrop-filter: blur(2px);
    padding: 8px 0;
}

.hero-marquee-text {
    color: #ffffff;
    font-weight: 600;
    letter-spacing: 1px;
    font-size: 0.95rem;
}

.hero-marquee-dot {
    margin: 0 20px;
    color: var(--accent);
}

@media (max-width: 768px) {
    /* Hero buttons: compact, side-by-side, pushed down */
    .hero-ui-container {
        padding: 5px 15px 10px !important; /* Pushed down by reducing bottom padding */
        gap: 8px !important;
        justify-content: center !important;
        flex-wrap: nowrap !important;
    }
    
    .hero-btn,
    .hero-btn.btn-primary,
    .hero-btn.btn-white,
    a.hero-btn {
        min-width: auto !important;
        font-size: 0.58rem !important; /* Slightly smaller font */
        padding: 5px 10px !important; /* Slightly smaller padding */
        letter-spacing: 0 !important;
        white-space: nowrap !important;
        border-radius: 30px !important;
    }
    
    /* Marquee text: compact */
    .hero-marquee-container {
        padding: 3px 0 !important;
    }
    
    .hero-marquee-container .marquee-content span {
        font-size: 0.6rem !important;
        padding: 0 6px !important;
        letter-spacing: 0.3px !important;
    }
    
    .hero-marquee-container .marquee-content .dot {
        font-size: 0.5rem !important;
        margin: 0 4px !important;
        padding: 0 !important;
    }
}

@media (max-width: 480px) {
    .hero-ui-container {
        padding: 5px 10px 6px !important; /* Pushed down further for small mobile screen */
        gap: 6px !important;
    }
    
    .hero-btn,
    .hero-btn.btn-primary,
    .hero-btn.btn-white,
    a.hero-btn {
        font-size: 0.52rem !important; /* Even smaller font for small screens */
        padding: 4px 8px !important; /* Even smaller padding */
        border-radius: 30px !important;
    }
    
    .hero-marquee-container .marquee-content span {
        font-size: 0.55rem !important;
        padding: 0 4px !important;
    }
    
    .hero-marquee-container .marquee-content .dot {
        font-size: 0.45rem !important;
        margin: 0 3px !important;
    }
}



/* Portfolio Swiper - Image Only (no overlay text) */
.portfolio-swiper .swiper-slide {
    height: auto;
    align-items: stretch;
}
.portfolio-swiper .swiper-slide .portfolio-item {
    height: 320px;
    width: 100%;
    overflow: hidden;
    position: relative;
    background: #f0f0f0;
}
.portfolio-swiper .swiper-slide .portfolio-item img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}
