/*
Theme Name: kpDevelopers Custom Theme
Theme URI: https://www.kpdevelopers.com
Description: Custom WordPress theme inspired by kpDevelopers Pvt. Ltd, featuring advanced UI, custom post types support, and REST API integration with a separate React Admin Panel.
Version: 1.0.0
Author: Antigravity
Author URI: https://github.com/Antigravity
License: GNU General Public License v2 or later
Text Domain: kpdevelopers
*/

/* Core Custom CSS variables */
:root {
    --bg-dark: #0b0f19;
    --bg-card: #151c2c;
    --bg-card-hover: #1e293b;
    --primary-color: #6366f1;
    --primary-hover: #4f46e5;
    --secondary-color: #06b6d4;
    --text-main: #f8fafc;
    --text-muted: #94a3b8;
    --border-color: rgba(255, 255, 255, 0.08);
    --glow-color: rgba(99, 102, 241, 0.15);
    --font-sans: 'Outfit', sans-serif;
}

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

body {
    background-color: var(--bg-dark);
    color: var(--text-main);
    font-family: var(--font-sans);
    line-height: 1.6;
    overflow-x: hidden;
}

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

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

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

/* Typography styling */
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.2;
    color: #ffffff;
}

/* Custom premium buttons */
.btn-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: #ffffff;
    padding: 0.8rem 1.8rem;
    font-weight: 600;
    border-radius: 50px;
    border: none;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(99, 102, 241, 0.3);
    transition: all 0.3s ease;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(99, 102, 241, 0.5);
    background: linear-gradient(135deg, var(--primary-hover), var(--secondary-color));
}

.btn-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: transparent;
    color: #ffffff;
    padding: 0.8rem 1.8rem;
    font-weight: 600;
    border-radius: 50px;
    border: 1px solid var(--border-color);
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: #ffffff;
}

/* Sticky modern Header */
header.site-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(11, 15, 25, 0.8);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border-color);
    padding: 1rem 0;
    transition: padding 0.3s ease;
}

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

.logo a {
    font-size: 1.5rem;
    font-weight: 800;
    background: linear-gradient(135deg, #ffffff, var(--secondary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    letter-spacing: -0.5px;
}

.main-navigation ul {
    display: flex;
    gap: 2rem;
}

.main-navigation ul li a {
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--text-muted);
}

.main-navigation ul li a:hover,
.main-navigation ul li.current-menu-item a {
    color: #ffffff;
}

/* Hero Section */
/* Background Video Overlay Styling */
.hero-video-section {
    position: relative;
    overflow: hidden;
}

.hero-video-bg-wrap {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    overflow: hidden;
    pointer-events: none;
}

.hero-bg-video {
    position: absolute;
    top: 50%;
    left: 50%;
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    transform: translate(-50%, -50%) scale(1.05);
    object-fit: cover;
    filter: brightness(0.48) contrast(1.15);
}

.hero-video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, rgba(8, 12, 20, 0.65) 0%, rgba(8, 12, 20, 0.82) 65%, #080c14 100%),
                radial-gradient(circle at 50% 50%, transparent 20%, rgba(8, 12, 20, 0.7) 100%);
    pointer-events: none;
    z-index: 1;
}

/* Futuristic Hero Section Styling */
.hero-section {
    position: relative;
    padding: 10.5rem 0 6rem 0;
    background: #080c14;
    overflow: hidden;
}

.hero-glow {
    position: absolute;
    border-radius: 50%;
    filter: blur(120px);
    pointer-events: none;
    z-index: 1;
}

.hero-glow-1 {
    top: -100px;
    right: -100px;
    width: 450px;
    height: 450px;
    background: rgba(99, 102, 241, 0.22);
}

.hero-glow-2 {
    bottom: -150px;
    left: -100px;
    width: 400px;
    height: 400px;
    background: rgba(6, 182, 212, 0.18);
}

.hero-layout {
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    gap: 3.5rem;
    align-items: center;
}

.hero-badge-wrap {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    background: rgba(99, 102, 241, 0.1);
    border: 1px solid rgba(99, 102, 241, 0.3);
    padding: 0.45rem 1.1rem;
    border-radius: 50px;
    margin-bottom: 1.5rem;
    backdrop-filter: blur(10px);
}

.pulse-dot {
    width: 8px;
    height: 8px;
    background-color: #10b981;
    border-radius: 50%;
    box-shadow: 0 0 10px #10b981;
    animation: pulseGlow 1.8s infinite;
}

@keyframes pulseGlow {
    0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7); }
    70% { transform: scale(1); box-shadow: 0 0 0 10px rgba(16, 185, 129, 0); }
    100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(16, 185, 129, 0); }
}

.hero-badge {
    color: #a5b4fc;
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 0.5px;
}

.hero-title {
    font-size: 3.8rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
    line-height: 1.12;
    letter-spacing: -1px;
    color: #ffffff;
}

.gradient-text {
    background: linear-gradient(135deg, #6366f1 0%, #06b6d4 50%, #10b981 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-description {
    font-size: 1.1rem;
    color: #94a3b8;
    margin-bottom: 2.2rem;
    line-height: 1.7;
    max-width: 580px;
}

.glow-btn {
    box-shadow: 0 0 25px rgba(99, 102, 241, 0.45);
}

.glow-btn:hover {
    box-shadow: 0 0 35px rgba(99, 102, 241, 0.75);
}

.whatsapp-btn {
    border-color: rgba(16, 185, 129, 0.4);
    background: rgba(16, 185, 129, 0.08);
}

.whatsapp-btn:hover {
    border-color: #10b981;
    background: rgba(16, 185, 129, 0.18);
}

/* Trust Bar */
.hero-trust-bar {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.trust-item {
    display: flex;
    flex-direction: column;
}

.trust-num {
    font-size: 1.4rem;
    font-weight: 800;
    color: #ffffff;
}

.trust-label {
    font-size: 0.8rem;
    color: #64748b;
    font-weight: 500;
}

.trust-divider {
    width: 1px;
    height: 32px;
    background: rgba(255, 255, 255, 0.1);
}

/* Hero Glass Card Mockup */
.hero-graphic-wrap {
    position: relative;
}

.hero-glass-card {
    background: rgba(15, 23, 42, 0.75);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(99, 102, 241, 0.25);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 25px 60px -15px rgba(0, 0, 0, 0.8), 0 0 30px rgba(99, 102, 241, 0.15);
    transition: transform 0.4s ease;
}

.hero-glass-card:hover {
    transform: translateY(-5px);
}

.glass-card-header {
    background: rgba(30, 41, 59, 0.6);
    padding: 0.9rem 1.2rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.window-dots {
    display: flex;
    gap: 6px;
}

.window-dots .dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
}

.dot.red { background: #ef4444; }
.dot.yellow { background: #f59e0b; }
.dot.green { background: #10b981; }

.window-title {
    font-size: 0.78rem;
    color: #64748b;
    font-weight: 600;
    font-family: monospace;
}

.glass-card-body {
    padding: 1.8rem 1.5rem;
    font-family: 'Fira Code', 'Courier New', monospace;
    font-size: 0.88rem;
    line-height: 1.8;
}

.code-line { color: #94a3b8; }
.code-line.indent { padding-left: 1.2rem; }
.code-line.indent-2 { padding-left: 2.4rem; }

.code-keyword { color: #c084fc; font-weight: 600; }
.code-var { color: #38bdf8; }
.code-string { color: #4ade80; }
.code-func { color: #facc15; }
.code-prop { color: #f472b6; }

.glass-floating-pill {
    margin: 0 1.2rem 1.2rem 1.2rem;
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.15), rgba(6, 182, 212, 0.15));
    border: 1px solid rgba(6, 182, 212, 0.3);
    border-radius: 14px;
    padding: 0.8rem 1.2rem;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.pill-icon { font-size: 1.4rem; }
.pill-text strong { display: block; color: #ffffff; font-size: 0.88rem; }
.pill-text small { color: #38bdf8; font-size: 0.75rem; font-weight: 600; }


/* Services / Capabilities Grid */
.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-tag {
    color: var(--primary-color);
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.85rem;
    letter-spacing: 2px;
    margin-bottom: 0.5rem;
    display: block;
}

.section-title {
    font-size: 2.25rem;
}

.services-section {
    padding: 6rem 0;
    background: linear-gradient(180deg, var(--bg-dark) 0%, rgba(21, 28, 44, 0.5) 100%);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.service-card {
    background-color: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 2.5rem 2rem;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at top left, var(--glow-color), transparent 70%);
    opacity: 0;
    transition: opacity 0.4s ease;
    pointer-events: none;
}

.service-card:hover {
    transform: translateY(-5px);
    border-color: rgba(99, 102, 241, 0.3);
    background-color: var(--bg-card-hover);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.service-card:hover::before {
    opacity: 1;
}

.service-icon {
    width: 60px;
    height: 60px;
    border-radius: 12px;
    background: rgba(99, 102, 241, 0.1);
    color: var(--primary-color);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    font-size: 1.5rem;
    position: relative;
    z-index: 2;
}

.service-card:hover .service-icon {
    background: var(--primary-color);
    color: #ffffff;
}

.service-card h3 {
    font-size: 1.35rem;
    margin-bottom: 0.8rem;
    position: relative;
    z-index: 2;
}

.service-card p {
    color: var(--text-muted);
    font-size: 0.95rem;
    position: relative;
    z-index: 2;
}

/* Counters section */
.counters-section {
    padding: 5rem 0;
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
    background: rgba(21, 28, 44, 0.3);
}

.counters-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    text-align: center;
}

.counter-item h3 {
    font-size: 3rem;
    color: var(--secondary-color);
    margin-bottom: 0.5rem;
}

.counter-item p {
    color: var(--text-muted);
    font-weight: 500;
}

/* About Us Section */
.about-section {
    padding: 6rem 0;
}

.about-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5rem;
    align-items: center;
}

.about-img {
    position: relative;
    border-radius: 20px;
    border: 1px solid var(--border-color);
    overflow: hidden;
}

.about-img img {
    border-radius: 20px;
    transition: transform 0.5s ease;
}

.about-img:hover img {
    transform: scale(1.03);
}

.about-content h2 {
    font-size: 2.25rem;
    margin-bottom: 1.5rem;
}

.about-content p {
    color: var(--text-muted);
    margin-bottom: 1.5rem;
}

.about-bullets {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    margin-top: 2rem;
}

.bullet-item {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    font-weight: 600;
    color: #ffffff;
}

.bullet-icon {
    color: var(--secondary-color);
}

/* Futuristic Portfolio Card Styling */
.portfolio-card {
    background: rgba(15, 23, 42, 0.7);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 20px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    position: relative;
    backdrop-filter: blur(10px);
}

.portfolio-card:hover {
    transform: translateY(-8px);
    border-color: rgba(99, 102, 241, 0.45);
    box-shadow: 0 20px 40px -10px rgba(99, 102, 241, 0.25), 0 0 20px rgba(6, 182, 212, 0.15);
}

.portfolio-card-header {
    background: rgba(30, 41, 59, 0.7);
    padding: 0.75rem 1.2rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.portfolio-browser-url {
    font-size: 0.72rem;
    color: #64748b;
    font-family: monospace;
    background: rgba(0,0,0,0.25);
    padding: 0.2rem 0.7rem;
    border-radius: 50px;
    letter-spacing: 0.3px;
}

.portfolio-img-wrap {
    height: 220px;
    overflow: hidden;
    position: relative;
}

.portfolio-img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.165, 0.84, 0.44, 1);
}

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

.portfolio-badge {
    position: absolute;
    top: 12px;
    right: 12px;
    background: rgba(11, 15, 25, 0.85);
    border: 1px solid rgba(16, 185, 129, 0.4);
    backdrop-filter: blur(8px);
    border-radius: 50px;
    padding: 0.3rem 0.85rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.72rem;
    font-weight: 700;
    color: #34d399;
}

.portfolio-content {
    padding: 1.8rem;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.portfolio-title {
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 0.8rem;
    color: #ffffff;
    transition: color 0.3s ease;
}

.portfolio-card:hover .portfolio-title {
    color: #38bdf8;
}

.portfolio-desc {
    color: #94a3b8;
    font-size: 0.92rem;
    line-height: 1.65;
    margin-bottom: 1.8rem;
    flex-grow: 1;
}

.portfolio-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding-top: 1.2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.tag-pill {
    background: rgba(99, 102, 241, 0.12);
    color: #a5b4fc;
    border: 1px solid rgba(99, 102, 241, 0.25);
    border-radius: 50px;
    padding: 0.25rem 0.8rem;
    font-size: 0.72rem;
    font-weight: 600;
}

.portfolio-btn {
    padding: 0.55rem 1.3rem;
    font-size: 0.82rem;
    border-radius: 50px;
}

/* Contact / Lead Capture Form */
.contact-section {
    padding: 6rem 0;
    background: radial-gradient(circle at 10% 90%, rgba(6, 182, 212, 0.08), transparent 45%);
}

.contact-layout {
    display: grid;
    grid-template-columns: 0.8fr 1.2fr;
    gap: 4rem;
}

.contact-info h2 {
    font-size: 2.25rem;
    margin-bottom: 1.5rem;
}

.contact-info p {
    color: var(--text-muted);
    margin-bottom: 2.5rem;
}

.info-cards {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.info-card {
    display: flex;
    gap: 1.5rem;
    align-items: center;
}

.info-card-icon {
    width: 50px;
    height: 50px;
    border-radius: 10px;
    background: rgba(6, 182, 212, 0.1);
    color: var(--secondary-color);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
}

.info-card-details h4 {
    font-size: 0.9rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.info-card-details p {
    margin-bottom: 0;
    color: #ffffff;
    font-size: 1.1rem;
    font-weight: 600;
}

.contact-form-container {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    padding: 3rem;
    position: relative;
}

.contact-form-container h3 {
    font-size: 1.5rem;
    margin-bottom: 2rem;
}

.form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.form-group.full-width {
    grid-column: span 2;
}

.form-group label {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.form-control {
    background: rgba(11, 15, 25, 0.6);
    border: 1px solid var(--border-color);
    color: #ffffff;
    padding: 0.85rem 1rem;
    border-radius: 8px;
    font-family: inherit;
    font-size: 0.95rem;
    transition: all 0.3s ease;
}

.form-control:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 10px rgba(99, 102, 241, 0.15);
}

textarea.form-control {
    resize: vertical;
    min-height: 120px;
}

.form-status {
    margin-top: 1rem;
    padding: 0.8rem;
    border-radius: 8px;
    font-weight: 600;
    font-size: 0.9rem;
    display: none;
}

.form-status.success {
    display: block;
    background: rgba(16, 185, 129, 0.15);
    color: #10b981;
    border: 1px solid rgba(16, 185, 129, 0.3);
}

.form-status.error {
    display: block;
    background: rgba(239, 68, 68, 0.15);
    color: #ef4444;
    border: 1px solid rgba(239, 68, 68, 0.3);
}

/* Footer Section */
footer.site-footer {
    background-color: #060911;
    border-top: 1px solid var(--border-color);
    padding: 5rem 0 2rem 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr repeat(3, 1fr);
    gap: 3rem;
    margin-bottom: 4rem;
}

.footer-brand p {
    color: var(--text-muted);
    margin-top: 1rem;
    font-size: 0.95rem;
}

.footer-widget h4 {
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
    position: relative;
    padding-bottom: 0.5rem;
}

.footer-widget h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 30px;
    height: 2px;
    background-color: var(--secondary-color);
}

.footer-links li {
    margin-bottom: 0.8rem;
}

.footer-links li a {
    color: var(--text-muted);
    font-size: 0.95rem;
}

.footer-links li a:hover {
    color: #ffffff;
    padding-left: 5px;
}

.footer-bottom {
    border-top: 1px solid var(--border-color);
    padding-top: 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: var(--text-muted);
    font-size: 0.9rem;
}

.social-icons {
    display: flex;
    gap: 1rem;
}

.social-icon {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    color: var(--text-muted);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.social-icon:hover {
    background: var(--primary-color);
    color: #ffffff;
    transform: translateY(-3px);
}

/* Mobile Navigation Hamburger Menu Styles */
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 28px;
    height: 20px;
    background: transparent;
    border: none;
    cursor: pointer;
    z-index: 1001;
    padding: 0;
}

.mobile-menu-toggle .hamburger-bar {
    width: 100%;
    height: 3px;
    background-color: #ffffff;
    border-radius: 3px;
    transition: all 0.3s ease;
}

.mobile-menu-toggle.active .hamburger-bar:nth-child(1) {
    transform: translateY(8.5px) rotate(45deg);
}

.mobile-menu-toggle.active .hamburger-bar:nth-child(2) {
    opacity: 0;
}

.mobile-menu-toggle.active .hamburger-bar:nth-child(3) {
    transform: translateY(-8.5px) rotate(-45deg);
}

body.menu-open {
    overflow: hidden;
}

/* Responsiveness media queries */
@media (max-width: 991px) {
    .mobile-menu-toggle {
        display: flex;
    }

    .main-navigation {
        position: fixed;
        top: 0;
        right: -100%;
        width: 280px;
        height: 100vh;
        background: rgba(11, 15, 25, 0.98);
        backdrop-filter: blur(20px);
        box-shadow: -10px 0 30px rgba(0,0,0,0.8);
        padding: 5rem 2rem 2rem 2rem;
        transition: right 0.4s cubic-bezier(0.16, 1, 0.3, 1);
        z-index: 999;
        display: flex;
        flex-direction: column;
    }

    .main-navigation.active {
        right: 0;
    }

    .main-navigation ul {
        flex-direction: column;
        gap: 1.5rem;
    }

    .main-navigation ul li a {
        font-size: 1.1rem;
        font-weight: 600;
    }

    .mobile-nav-action {
        display: block !important;
    }

    .header-action {
        display: none;
    }

    .hero-layout, .about-layout, .contact-layout {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }

    .services-grid, .portfolio-grid {
        grid-template-columns: repeat(2, 1fr) !important;
    }

    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .hero-section {
        padding: 7.5rem 0 3.5rem 0;
    }

    .hero-title {
        font-size: 2.1rem !important;
        line-height: 1.25;
    }

    .hero-actions {
        flex-direction: column;
        gap: 1rem;
    }

    .hero-actions .btn-primary, .hero-actions .btn-secondary {
        width: 100%;
        text-align: center;
    }

    .section-title {
        font-size: 1.8rem !important;
    }

    .tabs-navigation {
        display: flex;
        overflow-x: auto;
        flex-wrap: nowrap;
        white-space: nowrap;
        -webkit-overflow-scrolling: touch;
        padding-bottom: 0.8rem;
        gap: 0.6rem;
        scrollbar-width: none;
    }

    .tabs-navigation::-webkit-scrollbar {
        display: none;
    }

    .tab-trigger {
        flex-shrink: 0;
        padding: 0.6rem 1.2rem;
        font-size: 0.85rem;
    }

    .services-grid, .portfolio-grid {
        grid-template-columns: 1fr !important;
    }

    .about-img iframe {
        min-height: 250px !important;
        height: 250px !important;
    }

    .counters-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }

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

    .form-grid {
        grid-template-columns: 1fr;
    }

    .form-group.full-width {
        grid-column: span 1;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 1rem;
    }

    .hero-title {
        font-size: 1.8rem !important;
    }

    .counters-grid {
        grid-template-columns: 1fr;
    }

    .footer-grid {
        grid-template-columns: 1fr;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
}

