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

:root {
    --primary-red: #A32035;
    --accent-green: #9ACD32;
    --text-dark: #333;
    --text-black: #000;
    --bg-white: #FFF;
    --bg-light: #F4F4F4;
    --transition: all 0.3s ease;
}

body {
    font-family: 'Noto Sans', sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    overflow-x: hidden;
}

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

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    transition: var(--transition);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 1rem 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-logo img {
    height: 50px;
    width: auto;
}

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

.nav-link {
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 500;
    position: relative;
    transition: var(--transition);
}

.nav-link:hover,
.nav-link.active {
    color: var(--primary-red);
}

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

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

.nav-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.nav-toggle span {
    width: 25px;
    height: 3px;
    background: var(--text-dark);
    margin: 3px 0;
    transition: var(--transition);
}

/* Hero Section */
.hero {
    height: 100vh;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden;
    color: white;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url(hero-background.png) no-repeat center center/cover;
}

.hero-gradient {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    animation: fadeInUp 1s ease-out;
}

.hero-title {
    font-family: 'Cal Sans', sans-serif;
    font-size: clamp(3rem, 8vw, 6rem);
    font-weight: 600;
    color: var(--bg-white);
    margin-bottom: 1.5rem;
    line-height: 1.1;
}

.title-line {
    display: block;
    opacity: 0;
    animation: slideInLeft 0.8s ease-out forwards;
}

.title-line:nth-child(2) {
    animation-delay: 0.3s;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--bg-white);
    margin-bottom: 2.5rem;
    opacity: 0;
    animation: fadeIn 1s ease-out 0.6s forwards;
}

.hero-cta {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    opacity: 0;
    animation: fadeIn 1s ease-out 0.9s forwards;
}

.btn-primary,
.btn-secondary,
.btn-outline {
    padding: 1rem 2rem;
    border: none;
    border-radius: 50px;
    font-weight: 500;
    font-size: 1rem;
    cursor: pointer;
    transition: var(--transition);
    text-decoration: none;
    display: inline-block;
}

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

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

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

.btn-secondary:hover {
    background: var(--bg-white);
    color: var(--text-dark);
    transform: translateY(-2px);
}

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

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

.hero-scroll {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
}

.scroll-indicator {
    width: 2px;
    height: 30px;
    background: var(--primary-red);
    animation: scrollBounce 2s infinite;
}

/* About Snapshot */
.about-snapshot {
    padding: 5rem 0;
    background: var(--bg-white);
}

.snapshot-content {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.snapshot-content h2 {
    font-family: 'Cal Sans', sans-serif;
    font-size: 2.5rem;
    color: var(--text-black);
    margin-bottom: 2rem;
}

.snapshot-content p {
    font-size: 1.1rem;
    margin-bottom: 3rem;
    line-height: 1.8;
}

.values-grid {
    display: flex;
    justify-content: center;
    gap: 3rem;
    flex-wrap: wrap;
}

.value-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    opacity: 0;
    animation: fadeInUp 0.6s ease-out forwards;
}

.value-item:nth-child(2) { animation-delay: 0.2s; }
.value-item:nth-child(3) { animation-delay: 0.4s; }

.value-icon {
    font-size: 2rem;
    margin-bottom: 0.5rem;
    color: var(--primary-red);
}

.about-snapshot .snapshot-content.text-white h2,
.about-snapshot .snapshot-content.text-white p,
.about-snapshot .snapshot-content.text-white span {
    color: white;
}

/* Services */
.services-highlights {
    padding: 5rem 0;
    background: var(--bg-light);
}

.section-title {
    font-family: 'Cal Sans', sans-serif;
    font-size: 2.5rem;
    text-align: center;
    color: var(--text-black);
    margin-bottom: 3rem;
}

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

.service-card {
    background: white;
    padding: 2.5rem 2rem;
    border-radius: 20px;
    text-align: center;
    transition: var(--transition);
    cursor: pointer;
    border: 2px solid transparent;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    border-color: var(--primary-red);
}

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

.service-card h3 {
    font-family: 'Cal Sans', sans-serif;
    font-size: 1.5rem;
    color: var(--text-black);
    margin-bottom: 1rem;
}

.service-card p {
    color: var(--text-dark);
    line-height: 1.6;
}

/* New Service Cards */
.service-card-new {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    height: 400px;
    color: white;
    transition: all 0.4s ease;
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
    cursor: pointer;
}

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

.service-card-new-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    transition: transform 0.4s ease;
}

.service-card-new:hover .service-card-new-bg {
    transform: scale(1.05);
}

.service-card-new-content {
    position: relative;
    z-index: 2;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    align-items: center;
    text-align: center;
    padding: 2rem;
    background: linear-gradient(to top, rgba(0,0,0,0.85) 0%, rgba(0,0,0,0.5) 50%, transparent 100%);
}

.service-card-new h3 {
    font-family: 'Cal Sans', sans-serif;
    color: white;
    margin-bottom: 1rem;
    font-size: 1.75rem;
}

.service-card-new p {
    color: #e0e0e0;
    margin-bottom: 1.5rem;
    line-height: 1.6;
    flex-grow: 1;
}

.service-card-link {
    color: white;
    text-decoration: none;
    font-weight: 600;
    border: 2px solid white;
    padding: 0.5rem 1.5rem;
    border-radius: 50px;
    transition: all 0.3s ease;
    opacity: 0;
    transform: translateY(10px);
}

.service-card-new:hover .service-card-link {
    opacity: 1;
    transform: translateY(0);
}

.service-card-link:hover {
    background: white;
    color: var(--primary-red);
}

.service-card-link i {
    vertical-align: middle;
    transition: transform 0.3s ease;
}

.service-card-link:hover i {
    transform: translateX(5px);
}

/* Service Card Flip */
.service-flipper {
    perspective: 1000px;
    height: 450px;
}
.service-flipper.flipped .service-flipper-inner {
    transform: rotateY(180deg);
}
.service-flipper-inner {
    position: relative;
    width: 100%;
    height: 100%;
    text-align: center;
    transition: transform 0.6s;
    transform-style: preserve-3d;
}
.service-flipper-front, .service-flipper-back {
    position: absolute;
    width: 100%;
    height: 100%;
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden; /* Safari */
    border-radius: 20px;
    overflow: hidden;
    color: white;
}
.service-flipper-back {
    background-color: var(--primary-red);
    transform: rotateY(180deg);
    padding: 2rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}
.service-flipper-back h3 {
    font-family: 'Cal Sans', sans-serif;
    color: white;
    margin-bottom: 1rem;
    font-size: 1.75rem;
}
.service-flipper-back p {
    color: #e0e0e0;
    margin-bottom: 1.5rem;
    font-style: italic;
}
.service-flipper-back ul {
    list-style: none;
    padding: 0;
    text-align: left;
    margin-bottom: 2rem;
    width: 100%;
}
.service-flipper-back li {
    margin-bottom: 0.5rem;
    display: flex;
    align-items: flex-start;
}
.service-flipper-back li::before {
    content: '\F282'; /* Bootstrap icon check */
    font-family: 'bootstrap-icons';
    margin-right: 10px;
    color: var(--accent-green);
}
.flip-btn {
    background: none;
    border: none;
    color: white;
    font-weight: 600;
    cursor: pointer;
    font-size: 1rem;
    padding: 0.5rem 1.5rem;
    border-radius: 50px;
    transition: all 0.3s ease;
    border: 2px solid white;
}
.flip-btn:hover {
    background: white;
    color: var(--primary-red);
}

/* Portfolio */
.portfolio-teaser {
    padding: 5rem 0;
    background: var(--bg-white);
}

.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.portfolio-item {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    height: 400px;
    cursor: pointer;
    opacity: 0;
    animation: fadeInUp 0.6s ease-out forwards;
    animation-play-state: paused;
}

.portfolio-item:nth-child(2) { animation-delay: 0.2s; }
.portfolio-item:nth-child(3) { animation-delay: 0.4s; }

.portfolio-image {
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, var(--bg-light), #e0e0e0);
    position: relative;
    transition: var(--transition);
}

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

.portfolio-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.8));
    color: white;
    padding: 2rem;
    transform: translateY(20px);
    opacity: 0;
    transition: var(--transition);
}

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

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

.portfolio-overlay h3 {
    font-family: 'Cal Sans', sans-serif;
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

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

/* Page Header */
.page-header {
    padding-bottom: 4rem;
    text-align: center;
    background-size: cover;
    background-position: center;
    position: relative;
    color: white;
}
.page-header::before {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.6);
}
.page-header .container {
    position: relative;
    z-index: 1;
    padding-top: 120px;
}
.page-header-title {
    font-family: 'Cal Sans', sans-serif;
    font-size: 3.5rem;
    margin-bottom: 1rem;
}
.page-header-subtitle {
    font-size: 1.2rem;
    max-width: 600px;
    margin: 0 auto;
    color: rgba(255,255,255,0.9);
}

/* Testimonials */
.testimonials {
    padding: 5rem 0;
    background: var(--bg-light);
    text-align: center;
}

.testimonials.bg-parallax {
    background-image: url('background-team-2.png');
    background-attachment: fixed;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    position: relative;
}

.testimonials.bg-parallax::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background-color: rgba(244, 244, 244, 0.9);
}

.testimonials.bg-parallax .container {
    position: relative;
    z-index: 1;
}

.testimonials-slider {
    position: relative;
    max-width: 800px;
    margin: 0 auto 2rem;
    min-height: 200px;
}

.testimonial-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    opacity: 0;
    transform: translateX(30px);
    transition: var(--transition);
}

.testimonial-slide.active {
    opacity: 1;
    transform: translateX(0);
}

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

.testimonial-slide cite {
    display: block;
}

.testimonial-slide strong {
    color: var(--text-black);
    font-size: 1.1rem;
}

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

.testimonial-dots {
    display: flex;
    justify-content: center;
    gap: 1rem;
}

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

.dot.active,
.dot:hover {
    background: var(--primary-red);
}

/* About */
.about {
    padding: 5rem 0;
    background: var(--bg-white);
}

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

.about-text h2 {
    font-family: 'Cal Sans', sans-serif;
    font-size: 2.5rem;
    color: var(--text-black);
    margin-bottom: 2rem;
}

.about-text p {
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
    line-height: 1.8;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 2rem;
}

.stat {
    text-align: center;
}

.stat-number {
    display: block;
    font-family: 'Cal Sans', sans-serif;
    font-size: 2.5rem;
    font-weight: 600;
    color: var(--primary-red);
}

.stat-label {
    font-size: 0.9rem;
    color: var(--text-dark);
}

.about-visual {
    position: relative;
    height: 450px;
}

.team-collage {
    position: relative;
    height: 100%;
}

.team-image {
    position: absolute;
    border-radius: 20px;
    background: linear-gradient(135deg, var(--bg-light), #e0e0e0);
    overflow: hidden;
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}

.team-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.team-image.main {
    width: 70%;
    height: 80%;
    top: 0;
    left: 0;
}

.team-image.accent {
    width: 50%;
    height: 60%;
    bottom: 0;
    right: 0;
    border: 4px solid white;
}

/* New About Page Sections */
.mission-vision {
    padding: 5rem 0;
    background-color: var(--bg-light);
}

.mission-vision-item {
    text-align: center;
}

.mission-vision-item .icon-wrapper {
    width: 80px;
    height: 80px;
    margin: 0 auto 1.5rem;
    background-color: var(--primary-red);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
}

.mission-vision-item h3 {
    font-family: 'Cal Sans', sans-serif;
    font-size: 1.75rem;
    margin-bottom: 1rem;
}

.founder-section {
    padding: 5rem 0;
}

.founder-image {
    width: 100%;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.founder-section h3 {
    font-family: 'Cal Sans', sans-serif;
    font-size: 2rem;
    margin-bottom: 1rem;
}

.founder-section p {
    margin-bottom: 1rem;
    line-height: 1.8;
}

.our-team {
    padding: 5rem 0;
    background-image: url('background-team-1.png');
    color: white;
}

.our-team .section-title {
    color: white;
}
.our-team p {
    font-size: 1.1rem;
    line-height: 1.8;
}
.our-team.bg-parallax::before {
     background-color: rgba(163, 32, 53, 0.9);
}

.why-choose-us {
    padding: 5rem 0;
    background-color: var(--bg-light);
}

.why-choose-item {
    background-color: white;
    padding: 2rem;
    border-radius: 20px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    transition: var(--transition);
}

.why-choose-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.1);
}

.why-choose-item i {
    font-size: 2.5rem;
    color: var(--primary-red);
    margin-bottom: 1rem;
}

.why-choose-item h4 {
    font-family: 'Cal Sans', sans-serif;
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
}

/* Contact */
.contact {
    padding: 5rem 0;
    background: var(--bg-light);
}

.contact.bg-image-section {
    position: relative;
    background-size: cover;
    background-position: center;
}

.contact.bg-image-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(244, 244, 244, 0.95);
    z-index: 0;
}

.contact.bg-image-section .container {
    position: relative;
    z-index: 1;
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
}

.contact-info h2 {
    font-family: 'Cal Sans', sans-serif;
    font-size: 2.5rem;
    color: var(--text-black);
    margin-bottom: 1.5rem;
}

.contact-info p {
    font-size: 1.1rem;
    margin-bottom: 2rem;
    line-height: 1.8;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

.contact-icon {
    font-size: 1.5rem;
    margin-top: 0.25rem;
    color: var(--primary-red);
}

.contact-item strong {
    display: block;
    color: var(--text-black);
    margin-bottom: 0.25rem;
}

.contact-form {
    background: white;
    padding: 2.5rem;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

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

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 1rem;
    border: 2px solid #e0e0e0;
    border-radius: 10px;
    font-family: inherit;
    font-size: 1rem;
    transition: var(--transition);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-red);
}

/* Footer */
.footer {
    background-color: #1a1a1a;
    color: #ccc;
    padding: 4rem 0 2rem;
    position: relative;
    overflow: hidden;
    text-align: center;
}

.footer-dots {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: radial-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1px);
    background-size: 20px 20px;
    opacity: 0.5;
    z-index: 0;
}

.footer .container {
    position: relative;
    z-index: 1;
}

.footer-content-new {
    max-width: 600px;
    margin: 0 auto;
}

.footer-logo-container {
    margin-bottom: 1.5rem;
}

.footer-logo {
    height: 100px;
    width: auto;
    filter: brightness(0) invert(1);
    display: block;
    margin: 0 auto;
}

/* Allow opting out of inversion for full-color logos */
.footer-logo.no-filter {
    filter: none;
}

.footer-tagline {
    margin-bottom: 2rem;
    line-height: 1.7;
    font-size: 0.9rem;
}

.footer-nav {
    list-style: none;
    padding: 0;
    margin: 0 0 2rem 0;
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.footer-nav a {
    color: #ccc;
    text-decoration: none;
    font-weight: 500;
    transition: var(--transition);
}

.footer-nav a:hover {
    color: var(--accent-green);
}

.footer-socials {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.footer-socials a {
    color: #ccc;
    font-size: 1.5rem;
    transition: var(--transition);
}

.footer-socials a:hover {
    color: white;
    transform: translateY(-3px);
}

.footer-bottom {
    padding-top: 2rem;
    border-top: 1px solid #333;
    color: #888;
    font-size: 0.9rem;
}

/* Floating CTA */
.floating-cta {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    z-index: 1000;
}

.whatsapp-btn {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: #25D366;
    border: none;
    color: white;
    font-size: 2rem;
    cursor: pointer;
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.3);
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
}

.whatsapp-btn:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 25px rgba(37, 211, 102, 0.4);
}

/* Popup cards */
.popup-card {
    background: #fff;
    padding: 1.75rem;
    border-radius: 16px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.15);
    text-align: center;
    max-width: 420px;
    width: 92%;
}

.popup-icon {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 0.75rem;
    background: rgba(0,0,0,0.04);
}

.popup-icon.success { background: rgba(34,197,94,0.12); }
.popup-icon.error { background: rgba(239,68,68,0.12); }

.popup-title {
    font-size: 1.375rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}
.popup-title.success { color: #16a34a; }
.popup-title.error { color: #dc2626; }

.popup-text {
    color: #374151;
    margin-bottom: 1rem;
}

.popup-button {
    display: inline-block;
    padding: 0.6rem 1.1rem;
    border-radius: 10px;
    border: none;
    cursor: pointer;
    font-weight: 600;
}
.popup-button.success { background: #16a34a; color: #fff; }
.popup-button.error { background: #dc2626; color: #fff; }

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes scrollBounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0);
    }
    40% {
        transform: translateY(-10px);
    }
    60% {
        transform: translateY(-5px);
    }
}

/* Founder Section with bg-parallax */
.founder-section.bg-parallax {
    background-image: url('background-team-2.png');
    background-attachment: fixed;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    position: relative;
    padding: 5rem 0;
}

.founder-section.bg-parallax::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background-color: rgba(244, 244, 244, 0.9);
}

.founder-section.bg-parallax .container {
    position: relative;
    z-index: 1;
}

.founder-section.bg-parallax .section-title {
    color: var(--text-dark);
    margin-bottom: 3rem;
}

.founder-section.bg-parallax h3 {
    color: var(--text-dark);
    font-size: 2rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
}

.founder-section.bg-parallax p {
    color: var(--text-dark);
    font-size: 1.1rem;
    line-height: 1.7;
    margin-bottom: 1.5rem;
}

.founder-section.bg-parallax .founder-image {
    border-radius: 12px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.founder-section.bg-parallax .founder-image:hover {
    transform: translateY(-5px);
}

/* Portfolio Page Styles */
.portfolio-categories {
    padding: 5rem 0;
    background: var(--bg-white);
}

.category-btn {
    padding: 0.75rem 1.5rem;
    border: 2px solid var(--primary-red);
    background: transparent;
    color: var(--primary-red);
    border-radius: 50px;
    font-weight: 500;
    cursor: pointer;
    transition: var(--transition);
    margin: 0.25rem;
}

.category-btn:hover,
.category-btn.active {
    background: var(--primary-red);
    color: white;
    transform: translateY(-2px);
}

.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.portfolio-item {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    height: 400px;
    cursor: pointer;
    opacity: 0;
    animation: fadeInUp 0.6s ease-out forwards;
    animation-play-state: paused;
}

.portfolio-item:nth-child(2) { animation-delay: 0.2s; }
.portfolio-item:nth-child(3) { animation-delay: 0.4s; }
.portfolio-item:nth-child(4) { animation-delay: 0.6s; }
.portfolio-item:nth-child(5) { animation-delay: 0.8s; }
.portfolio-item:nth-child(6) { animation-delay: 1s; }

.portfolio-image {
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, var(--bg-light), #e0e0e0);
    position: relative;
    transition: var(--transition);
}

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

.portfolio-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.8));
    color: white;
    padding: 2rem;
    transform: translateY(20px);
    opacity: 0;
    transition: var(--transition);
}

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

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

.portfolio-overlay h3 {
    font-family: 'Cal Sans', sans-serif;
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

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

/* Responsive */
@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        top: 80px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 80px);
        background: white;
        flex-direction: column;
        justify-content: flex-start;
        align-items: center;
        padding-top: 3rem;
        transition: var(--transition);
    }

    .nav-menu.active {
        left: 0;
    }

    .nav-toggle {
        display: flex;
    }

    .hero-cta {
        flex-direction: column;
        align-items: center;
    }

    .about-content,
    .contact-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .values-grid,
    .stats-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 1rem;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }

    .footer-top {
        text-align: center;
    }
    .footer-top > div {
        margin: 0 auto;
    }

    .footer h4::after {
        left: 50%;
        transform: translateX(-50%);
    }

    .footer-bottom {
        flex-direction: column-reverse;
        gap: 1.5rem;
    }

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

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

    .category-btn {
        padding: 0.5rem 1rem;
        font-size: 0.9rem;
    }

    .portfolio-item {
        height: 300px;
    }

    /* Mobile-specific improvements */
    .hero-title {
        font-size: 2.5rem !important;
        line-height: 1.2;
    }

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

    .page-header-title {
        font-size: 2.5rem !important;
    }

    .page-header-subtitle {
        font-size: 1rem !important;
    }

    .service-card-new {
        margin-bottom: 1rem;
    }

    .founder-profile-card {
        padding: 1rem !important;
    }

    .contact-form {
        margin-top: 2rem;
    }

    .form-group input,
    .form-group select,
    .form-group textarea {
        font-size: 16px; /* Prevents zoom on iOS */
    }
}

@media (max-width: 480px) {
    .values-grid,
    .stats-grid {
        grid-template-columns: 1fr;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
}
/* Map embed helpers (used on contact page) */
.map-container {
    margin: 2rem 0;
}

.mapouter {
    position: relative;
    text-align: right;
    width: 100%;
}

.gmap_canvas {
    overflow: hidden;
    background: none !important;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.gmap_canvas iframe {
    width: 100%;
    height: 100%;
    border: none;
    border-radius: 8px;
}

.mapouter a {
    display: block;
    font-size: 0.85em;
    text-align: center;
    padding: 5px 0;
    color: #6c757d;
    text-decoration: none;
}

.gme-generated-link {
    display: none !important;
}

/* Mobile-specific map improvements */
@media (max-width: 640px) {
    .map-container {
        margin: 1rem 0;
        padding: 0 1rem;
    }
    
    .gmap_canvas {
        border-radius: 12px;
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
    }
    
    .gmap_canvas iframe {
        border-radius: 12px;
        min-height: 200px;
    }
}

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

