/* ==========================================================================
   Root Variables & Resets
   ========================================================================== */
   :root {
    /* Color Palette */
    --primary: #7A2E4D;      /* Deep Wine */
    --primary-light: #FDEEF1; /* Very Light Wine */
    --secondary: #1F3A5F;    /* Navy Blue */
    --accent: #1F3A5F;       /* Navy Blue */
    --accent-light: #2A4E7D;
    
    /* Neutral Colors */
    --text-dark: #1F3A5F;    /* Navy (Headings) */
    --text-medium: #4A5A6F;  /* Gray-Navy (Body) */
    --text-light: #F5EDED;   /* Soft Beige */
    --bg-white: #FFFFFF;     /* Pure White (Cards) */
    --bg-alt: #F5EDED;       /* Soft Beige (Backgrounds) */
    --border-color: #E2D9D9;
    
    /* Typography */
    --font-heading: 'Playfair Display', serif;
    --font-body: 'Inter', sans-serif;
    
    /* Core Layout */
    --container-width: 1200px;
    --transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    --transition-slow: all 0.6s cubic-bezier(0.25, 0.8, 0.25, 1);
    --shadow-sm: 0 4px 10px rgba(31, 58, 95, 0.05);
    --shadow-md: 0 10px 30px rgba(31, 58, 95, 0.08);
    --shadow-lg: 0 20px 40px rgba(31, 58, 95, 0.12);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

html, body {
    overflow-x: hidden !important;
    max-width: 100% !important;
    position: relative;
    width: 100%;
    margin: 0;
    padding: 0;
}

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

.section {
    padding: 6rem 0;
    overflow: hidden; /* Prevent reveal animations from creating overflow */
    width: 100%;
    box-sizing: border-box;
}

/* ==========================================================================
   Typography & Utilities
   ========================================================================== */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    color: var(--primary);
    line-height: 1.2;
    margin-bottom: 1rem;
    font-weight: 500;
}

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

ul {
    list-style: none;
}

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

.container {
    width: 100%;
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 2rem;
}

.section {
    padding: 6rem 0;
}

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

.bg-primary-light {
    background-color: var(--primary-light);
}

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

.text-white {
    color: var(--bg-white) !important;
}

.text-light {
    color: rgba(255,255,255,0.8) !important;
}

.mt-3 { margin-top: 1.5rem; }
.mt-4 { margin-top: 2rem; }
.mt-5 { margin-top: 3rem; }
.position-relative { position: relative; }
.z-10 { z-index: 10; }

.section-header {
    margin-bottom: 4rem;
}

.section-subtitle {
    display: block;
    font-family: var(--font-body);
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 3px;
    color: var(--secondary);
    margin-bottom: 1rem;
    font-weight: 500;
}

.section-title {
    font-size: 3rem;
    margin-bottom: 1.5rem;
}

.section-description {
    color: var(--text-medium);
    max-width: 600px;
    margin: 0 auto;
}

.section-text {
    color: var(--text-medium);
    margin-bottom: 1.5rem;
}

/* ==========================================================================
   Buttons
   ========================================================================== */
.btn {
    display: inline-block;
    padding: 0.8rem 2rem;
    font-family: var(--font-body);
    font-size: 0.95rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-radius: 2px;
    cursor: pointer;
    transition: var(--transition);
    border: 1px solid transparent;
}

.btn-primary {
    background-color: var(--secondary);
    color: var(--bg-white);
}

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

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

.btn-outline:hover {
    background-color: var(--primary);
    color: var(--bg-white);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.btn-large {
    padding: 1rem 3rem;
    font-size: 1.1rem;
}

.btn-block {
    display: block;
    width: 100%;
    margin-top: 1rem;
}

/* ==========================================================================
   Navigation
   ========================================================================== */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
    z-index: 1000;
    background-color: var(--bg-alt);
    backdrop-filter: blur(10px);
    padding: 1rem 0;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.header.scrolled {
    background-color: rgba(245, 237, 237, 0.98);
    backdrop-filter: blur(10px);
    padding: 1rem 0;
    box-shadow: var(--shadow-md);
}

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

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

.logo img {
    height: 130px !important;
    width: auto;
    transition: var(--transition);
    display: block;
    padding: 0;
}

.header.scrolled .logo img {
    height: 130px !important;
}

.footer-logo img {
    height: 180px;
}

.nav-menu {
    display: flex;
    gap: 2rem;
}

.nav-link {
    font-size: 0.95rem;
    color: var(--text-dark);
    font-weight: 400;
    position: relative;
}

.header.scrolled .nav-link {
    color: var(--text-dark);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 1px;
    background-color: var(--primary);
    transition: var(--transition);
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.hamburger {
    display: none;
    cursor: pointer;
    z-index: 1001;
}

.bar {
    display: block;
    width: 25px;
    height: 2px;
    margin: 5px auto;
    background-color: var(--text-dark);
    transition: var(--transition);
}

.header.scrolled .bar {
    background-color: var(--text-dark);
}

/* ==========================================================================
   Hero Section
   ========================================================================== */
.hero {
    height: 100vh;
    width: 100%;
    position: relative;
    display: flex;
    align-items: center;
    background-image: url('assets/vp.jpeg');
    background-size: cover;
    background-position: center top;
    background-repeat: no-repeat;
    background-color: var(--secondary); /* Prevents white flash/gap */
    margin: 0;
    padding-top: 100px;
    overflow: hidden;
}

@media screen and (min-width: 1025px) {
    .hero {
        background-attachment: scroll;
    }
}

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

.hero-container {
    position: relative;
    z-index: 10;
}

.hero-content {
    max-width: 800px;
}

.hero-title {
    font-size: 4.5rem;
    color: var(--bg-white);
    margin-bottom: 1.5rem;
    line-height: 1.1;
}

.hero-subtitle {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 2.5rem;
    max-width: 600px;
}

.hero-buttons {
    display: flex;
    gap: 1.5rem;
}

.hero .btn-outline {
    color: var(--bg-white);
    border-color: var(--bg-white);
}

.hero .btn-outline:hover {
    background-color: var(--bg-white);
    color: var(--secondary);
}

/* ==========================================================================
   About Section
   ========================================================================== */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.image-wrapper {
    position: relative;
    padding: 2rem 2rem 0 0;
}

.image-wrapper::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 80%;
    height: 90%;
    background-color: var(--secondary);
    z-index: -1;
}

.image-wrapper img {
    box-shadow: var(--shadow-lg);
    object-fit: cover;
    height: 600px;
    width: 100%;
}

.experience-badge {
    position: absolute;
    bottom: -30px;
    right: 10px;
    background-color: var(--accent);
    color: var(--bg-white);
    padding: 2rem;
    border-radius: 50%;
    width: 150px;
    height: 150px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    box-shadow: var(--shadow-md);
    border: 5px solid var(--bg-white);
}

.badge-text {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    font-weight: 500;
}

.about-features {
    margin-top: 2rem;
}

.feature-item {
    display: flex;
    align-items: center;
    margin-bottom: 1rem;
    font-size: 1.05rem;
}

.feature-item i {
    color: var(--primary);
    margin-right: 1rem;
    font-size: 1.2rem;
}

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

.service-card {
    background-color: var(--bg-white);
    padding: 3rem 2rem;
    text-align: center;
    border: 1px solid var(--border-color);
    transition: var(--transition-slow);
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background-color: var(--primary);
    transform: scaleX(0);
    transition: var(--transition);
    transform-origin: left;
}

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

.service-card:hover::before {
    transform: scaleX(1);
}

.service-icon {
    font-size: 3rem;
    color: var(--primary);
    margin-bottom: 1.5rem;
    transition: var(--transition);
}

.service-card:hover .service-icon {
    transform: scale(1.1);
    color: var(--accent);
}

.service-title {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

/* ==========================================================================
   Why Choose Us
   ========================================================================== */
.why-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.why-list {
    margin-top: 2rem;
}

.why-list li {
    display: flex;
    margin-bottom: 2rem;
}

.why-icon {
    width: 60px;
    height: 60px;
    background-color: var(--secondary);
    color: var(--text-light);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    border-radius: 50%;
    margin-right: 1.5rem;
    flex-shrink: 0;
}

.why-text h4 {
    margin-bottom: 0.5rem;
}

.why-text p {
    color: var(--text-medium);
    font-size: 0.95rem;
}

.why-image img {
    height: 700px;
    object-fit: cover;
    border-radius: 2px;
}

/* ==========================================================================
   Portfolio Section
   ========================================================================== */
.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-auto-rows: 300px;
    gap: 1rem;
}

.portfolio-item {
    position: relative;
    overflow: hidden;
}

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

.portfolio-item.extra-item {
    display: none;
}

.portfolio-item.extra-item.is-visible {
    display: block;
    animation: fadeInPortfolio 0.6s ease forwards;
}

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

.portfolio-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: transparent; /* Removed background */
    display: none; /* Hide overlay content entirely */
}

.portfolio-item {
    cursor: pointer; /* Indicate clickability */
}

.portfolio-item:hover img {
    transform: scale(1.05); /* Subtle zoom */
}

/* ==========================================================================
   Lightbox Modal
   ========================================================================== */
.lightbox {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.95);
    z-index: 2000;
    display: none; /* Hidden by default */
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.lightbox.active {
    display: flex;
    opacity: 1;
}

.lightbox-content {
    max-width: 90%;
    max-height: 90vh;
    box-shadow: 0 0 30px rgba(0,0,0,0.5);
    border-radius: 4px;
    object-fit: contain;
    transform: scale(0.9);
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.lightbox.active .lightbox-content {
    transform: scale(1);
}

.lightbox-close {
    position: absolute;
    top: 30px;
    right: 40px;
    color: var(--bg-white);
    font-size: 2.5rem;
    cursor: pointer;
    transition: var(--transition);
    z-index: 2001;
}

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

.lightbox-loader {
    position: absolute;
    color: var(--primary);
    font-size: 2rem;
    display: none;
}

.lightbox.loading .lightbox-loader {
    display: block;
}

/* ==========================================================================
   Planning Process Pipeline
   ========================================================================== */
.timeline {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
}

.timeline::after {
    content: '';
    position: absolute;
    width: 2px;
    background-color: var(--primary-light);
    top: 0;
    bottom: 0;
    left: 50%;
    margin-left: -1px;
    z-index: 0;
}

.timeline-item {
    padding: 10px 40px;
    position: relative;
    background-color: inherit;
    width: 50%;
    margin-bottom: 2rem;
    z-index: 1;
}

.timeline-item:nth-child(even) {
    left: 50%;
}

.timeline-item:nth-child(odd) {
    left: 0;
    text-align: right;
}

.timeline-dot {
    position: absolute;
    width: 40px;
    height: 40px;
    right: -20px;
    background-color: var(--primary);
    border: 4px solid var(--bg-white);
    top: 15px;
    border-radius: 50%;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--bg-white);
    font-family: var(--font-heading);
    font-weight: bold;
    font-size: 1.2rem;
    box-shadow: var(--shadow-sm);
}

.timeline-item:nth-child(even) .timeline-dot {
    left: -20px;
}

.timeline-content {
    padding: 2rem;
    background-color: var(--bg-white);
    position: relative;
    border-radius: 2px;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-color);
}

.timeline-content h3 {
    color: var(--accent);
    font-size: 1.4rem;
}

.timeline-item:nth-child(odd) .timeline-content::before {
    content: " ";
    height: 0;
    position: absolute;
    top: 22px;
    width: 0;
    z-index: 1;
    right: -10px;
    border: medium solid var(--border-color);
    border-width: 10px 0 10px 10px;
    border-color: transparent transparent transparent var(--border-color);
}

.timeline-item:nth-child(even) .timeline-content::before {
    content: " ";
    height: 0;
    position: absolute;
    top: 22px;
    width: 0;
    z-index: 1;
    left: -10px;
    border: medium solid var(--border-color);
    border-width: 10px 10px 10px 0;
    border-color: transparent var(--border-color) transparent transparent;
}

/* ==========================================================================
   Testimonials
   ========================================================================== */
.testimonial-slider {
    max-width: 800px;
    margin: 0 auto;
    background-color: var(--bg-white);
    padding: 4rem;
    box-shadow: var(--shadow-lg);
    position: relative;
}

.testimonial-track {
    position: relative;
    overflow: hidden;
}

.testimonial-slide {
    display: none;
    text-align: center;
}

.testimonial-slide.active {
    display: block;
    animation: fadeIn 0.5s ease;
}

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

.quote-icon {
    font-size: 3rem;
    color: var(--primary-light);
    margin-bottom: 2rem;
}

.testimonial-text {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    line-height: 1.6;
    color: var(--text-dark);
    margin-bottom: 2rem;
    font-style: italic;
}

.testimonial-author h4 {
    color: var(--accent);
    margin-bottom: 0.2rem;
    font-size: 1.2rem;
}

.testimonial-author span {
    font-size: 0.9rem;
    color: var(--text-medium);
}

.slider-controls {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 3rem;
    gap: 2rem;
}

.slider-btn {
    background: none;
    border: none;
    font-size: 1.2rem;
    color: var(--text-dark);
    cursor: pointer;
    transition: var(--transition);
}

.slider-btn:hover {
    color: var(--primary);
}

.slider-dots {
    display: flex;
    gap: 0.5rem;
}

.dot {
    width: 10px;
    height: 10px;
    background-color: var(--border-color);
    border-radius: 50%;
    cursor: pointer;
    transition: var(--transition);
}

.dot.active {
    background-color: var(--primary);
    transform: scale(1.2);
}

/* ==========================================================================
   Contact Section
   ========================================================================== */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
}

.contact-item {
    display: flex;
    margin-bottom: 2rem;
}

.icon-box {
    width: 50px;
    height: 50px;
    background-color: var(--primary);
    color: var(--text-light);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    border-radius: 50%;
    margin-right: 1.5rem;
}

.item-text h4 {
    margin-bottom: 0.3rem;
    font-size: 1.1rem;
}

.item-text p, .footer-link {
    color: var(--text-medium);
    transition: var(--transition);
}

.footer-link:hover {
    color: var(--primary);
    padding-left: 5px;
}

.social-links {
    display: flex;
    gap: 1rem;
    margin-top: 1.5rem;
}

.social-link {
    width: 40px;
    height: 40px;
    background-color: var(--secondary);
    color: var(--text-light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

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

.social-icon.white {
    width: 35px;
    height: 35px;
    background-color: var(--secondary);
    color: var(--text-light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
    font-size: 0.9rem;
}

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

.contact-form-wrapper {
    background-color: var(--bg-white);
    padding: 3rem;
    box-shadow: var(--shadow-lg);
    border-top: 5px solid var(--primary);
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-row {
    display: flex;
    gap: 1.5rem;
}

.form-row .half {
    width: 50%;
}

.form-control {
    width: 100%;
    padding: 1rem;
    border: 1px solid var(--border-color);
    background-color: var(--bg-alt);
    font-family: var(--font-body);
    font-size: 0.95rem;
    color: var(--text-dark);
    transition: var(--transition);
}

.form-control:focus {
    outline: none;
    border-color: var(--primary);
    background-color: var(--bg-white);
}

/* ==========================================================================
   CTA Banner
   ========================================================================== */
.cta-banner {
    padding: 8rem 0;
    position: relative;
    background-image: url('https://images.unsplash.com/photo-1511285560929-80b456fea0bc?ixlib=rb-4.0.3&auto=format&fit=crop&w=1920&q=80');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
}

.cta-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(122, 46, 77, 0.85);
}

.cta-title {
    color: var(--bg-white);
    font-size: 3.5rem;
    max-width: 800px;
    margin: 0 auto 3rem;
}

/* ==========================================================================
   Footer
   ========================================================================== */
.footer {
    background-color: var(--bg-alt);
    color: var(--text-dark);
    padding: 5rem 0 2rem;
    border-top: 1px solid var(--border-color);
}

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

.footer-text {
    color: var(--text-medium) !important;
    font-size: 0.95rem;
    max-width: 300px;
}

.footer-heading {
    color: var(--primary) !important;
    font-family: var(--font-body);
    font-size: 1.1rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 2rem;
}

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

.footer-links ul li a {
    color: var(--text-medium) !important;
}

.footer-links ul li a:hover {
    color: var(--primary);
    padding-left: 5px;
}

.contact-list li {
    display: flex;
    align-items: center;
    margin-bottom: 1rem;
    color: var(--text-medium);
}

.contact-list li i {
    color: var(--primary);
    margin-right: 1rem;
    width: 20px;
}

.footer-bottom {
    margin-top: 5rem;
    padding-top: 2rem;
    border-top: 1px solid var(--border-color);
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 2rem;
    align-items: center;
    font-size: 0.9rem;
    color: var(--text-medium);
    text-align: center;
}

.footer-bottom-links a {
    color: var(--text-medium) !important;
    margin: 0 1rem;
}

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

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

/* ==========================================================================
   Animations
   ========================================================================== */
.reveal {
    opacity: 0;
    transition: var(--transition-slow);
}

.reveal.active {
    opacity: 1;
}

.fade-up {
    transform: translateY(50px);
}

.fade-up.active {
    transform: translateY(0);
}

.fade-right {
    transform: translateX(-50px);
}

.fade-right.active {
    transform: translateX(0);
}

.fade-left {
    transform: translateX(50px);
}

.fade-left.active {
    transform: translateX(0);
}

.zoom-in {
    transform: scale(0.9);
}

.zoom-in.active {
    transform: scale(1);
}

/* ==========================================================================
   Responsive Design
   ========================================================================== */
@media screen and (max-width: 1024px) {
    .hero-title { font-size: 3.5rem; }
    .section-title { font-size: 2.5rem; }
    .portfolio-grid { grid-template-columns: repeat(2, 1fr); }
    .footer-grid { grid-template-columns: 1fr 1fr; gap: 2rem; }
}

@media screen and (max-width: 768px) {
    .d-none-sm { display: none !important; }
    
    .hamburger { display: block; }

    .logo img {
        height: 70px;
    }

    .header {
        padding: 0.5rem 0;
    }
    
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 0;
        flex-direction: column;
        background-color: var(--bg-white);
        width: 100%;
        height: 100vh;
        text-align: center;
        transition: 0.3s;
        box-shadow: var(--shadow-lg);
        justify-content: center;
        padding-top: 0;
    }
    
    .nav-menu.active { left: 0; }
    
    .nav-item { margin: 1.5rem 0; }
    
    .nav-link, .header.scrolled .nav-link {
        color: var(--text-dark);
        font-size: 1.5rem;
        font-family: var(--font-heading);
    }
    
    .hamburger.active .bar:nth-child(2) { opacity: 0; }
    .hamburger.active .bar:nth-child(1) { transform: translateY(7px) rotate(45deg); background-color: var(--text-dark); }
    .hamburger.active .bar:nth-child(3) { transform: translateY(-7px) rotate(-45deg); background-color: var(--text-dark); }
    
    .hero { 
        margin-top: 70px;
        height: calc(100vh - 70px);
    }

    .hero-title { font-size: 2.8rem; }
    
    .about-grid, .why-grid, .contact-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .about-image { 
        order: 2; 
    }

    .why-image {
        order: -1;
    }

    .image-wrapper {
        padding: 0;
        margin-top: 2rem;
    }

    .image-wrapper::before {
        width: 100%;
        height: 100%;
        top: 10px;
        right: -10px;
    }

    .image-wrapper img {
        height: 450px;
    }
    
    .experience-badge {
        width: 120px;
        height: 120px;
        padding: 1rem;
        bottom: -20px;
        right: 0;
    }

    .why-image img { 
        width: 100%;
        height: auto;
        max-height: 500px;
        display: block;
        margin: 0 auto;
    }
    
    .portfolio-grid { grid-template-columns: repeat(2, 1fr); }
    
    .timeline::after { left: 31px; }
    
    .timeline-item {
        width: 100%;
        padding-left: 70px;
        padding-right: 25px;
    }
    
    .timeline-item:nth-child(even),
    .timeline-item:nth-child(odd) {
        left: 0;
        text-align: left;
    }
    
    .timeline-item:nth-child(even) .timeline-dot,
    .timeline-item:nth-child(odd) .timeline-dot {
        left: 11px;
    }
    
    .timeline-item:nth-child(even) .timeline-content::before,
    .timeline-item:nth-child(odd) .timeline-content::before {
        left: -10px;
        right: auto;
        border-width: 10px 10px 10px 0;
        border-color: transparent var(--border-color) transparent transparent;
    }
    
    .form-row { flex-direction: column; gap: 0; }
    .form-row .half { width: 100%; }
    
    .cta-title { font-size: 2.5rem; }
    
    .footer-bottom { 
        flex-direction: row; 
        justify-content: center; 
        gap: 2rem; 
        text-align: center; 
    }
}

@media screen and (max-width: 600px) {
    .portfolio-grid { 
        grid-template-columns: 1fr !important;
        gap: 1.5rem;
    }
    .portfolio-item.p-large, .portfolio-item.p-wide { grid-column: span 1; }
    .container { padding: 0 1.5rem; }
}

@media screen and (max-width: 480px) {
    .d-none-xs { display: none !important; }
    
    .hero-title { font-size: 2.2rem; }
    .hero-buttons { flex-direction: column; gap: 1rem; }
    .hero-buttons .btn { width: 100%; }
    
    .testimonial-slider { padding: 1.5rem; }
    .testimonial-text { font-size: 1.1rem; }
    
    .footer-grid { grid-template-columns: 1fr; }
}

@media screen and (max-width: 400px) {
    .section-title { font-size: 2rem; }
    .hero-title { font-size: 1.8rem; }
    .container { padding: 0 1rem; }
}
