/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700&display=swap');

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Poppins', sans-serif;
    line-height: 1.6;
    color: #2d3436;
    background: linear-gradient(135deg, #e3f2fd 0%, #ffffff 100%);
    overflow-x: hidden;
    width: 100%;
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 5%;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    box-shadow: 0 4px 30px rgba(33, 150, 243, 0.1);
    z-index: 1000;
    transition: all 0.3s ease;
}

.navbar .logo {
    background: #fff;
    padding: 2px;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1100;
}

.navbar-logo {
    height: 40px;
    width: auto;
    display: block;
    opacity: 1 !important;
    transition: none !important;
    background: #fff;
    box-shadow: 0 2px 8px rgba(33,150,243,0.08);
    z-index: 1100;
}

/* Prevent reveal animation from affecting logo */
.logo, .navbar-logo {
    opacity: 1 !important;
    transform: none !important;
}

.logo img {
    height: 40px;
    transition: transform 0.3s ease;
    z-index: 1000;
}

.logo img:hover {
    transform: scale(1.05);
}

.nav-links {
    display: flex;
    align-items: center;
}

.nav-links a {
    text-decoration: none;
    color: #2d3436;
    margin-left: 2rem;
    font-weight: 500;
    font-size: 1rem;
    transition: all 0.3s ease;
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(45deg, #2196F3, #1976D2);
    transition: width 0.3s ease;
}

.nav-links a:hover::after {
    width: 100%;
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    z-index: 1001;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background: #2d3436;
    margin: 3px 0;
    transition: 0.3s;
    border-radius: 2px;
}

.hamburger.active span:nth-child(1) {
    transform: rotate(-45deg) translate(-5px, 6px);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: rotate(45deg) translate(-5px, -6px);
}

/* Hero Section */
.hero {
    min-height: 100vh;
    background: linear-gradient(135deg, rgba(33, 150, 243, 0.9), rgba(25, 118, 210, 0.8)), url('hero-bg.jpg');
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
    position: relative;
    overflow: hidden;
    padding: 2rem 1rem;
}

.hero-bg-animation {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 20% 80%, rgba(120, 119, 198, 0.3) 0%, transparent 50%),
                radial-gradient(circle at 80% 20%, rgba(255, 119, 198, 0.3) 0%, transparent 50%),
                radial-gradient(circle at 40% 40%, rgba(120, 219, 255, 0.3) 0%, transparent 50%);
    animation: float 6s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(-20px) rotate(180deg); }
}

.hero-content {
    max-width: 1000px;
    width: 100%;
    padding: 2rem 1rem;
    position: relative;
    z-index: 1;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    padding: 0.5rem 1rem;
    border-radius: 25px;
    margin-bottom: 2rem;
    font-size: 0.9rem;
    font-weight: 500;
    margin-top: 20px;
}

.hero-badge i {
    color: #FFD700;
}

.hero h1 {
    font-size: clamp(2.5rem, 5vw, 4.5rem);
    font-weight: 700;
    margin-bottom: 1.5rem;
    animation: fadeInUp 1s ease;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
    line-height: 1.2;
}

.highlight {
    color: #ffd700;
}

.hero p {
    font-size: clamp(1rem, 2.5vw, 1.4rem);
    margin-bottom: 2.5rem;
    animation: fadeInUp 1s ease 0.2s;
    opacity: 0.9;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.6;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin-bottom: 3rem;
    animation: fadeInUp 1s ease 0.4s;
    flex-wrap: wrap;
}

.cta-button {
    display: inline-block;
    padding: 1rem 2rem;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 500;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
    font-size: 1rem;
    white-space: nowrap;
}

.cta-button.primary {
    background: linear-gradient(45deg, #2196F3, #1976D2);
    color: white;
    box-shadow: 0 4px 15px rgba(33, 150, 243, 0.3);
}

.cta-button.secondary {
    background: rgba(255, 255, 255, 0.2);
    color: white;
    border: 2px solid rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(10px);
}

.cta-button:hover {
    transform: translateY(-3px);
}

.cta-button.primary:hover {
    box-shadow: 0 6px 20px rgba(33, 150, 243, 0.4);
}

.cta-button.secondary:hover {
    background: rgba(255, 255, 255, 0.3);
    border-color: rgba(255, 255, 255, 0.5);
}

.hero-stats {
    display: flex;
    justify-content: center;
    gap: 2rem;
    animation: fadeInUp 1s ease 0.6s;
    flex-wrap: wrap;
}

.hero-stats .stat {
    text-align: center;
    min-width: 120px;
}

.hero-stats .number {
    display: block;
    font-size: clamp(1.8rem, 4vw, 2.5rem);
    font-weight: 700;
    color: #FFD700;
}

.hero-stats .label {
    font-size: 0.8rem;
    opacity: 0.8;
    white-space: nowrap;
}

.scroll-indicator {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    animation: bounce 2s infinite;
}

.scroll-arrow {
    width: 2px;
    height: 30px;
    background: rgba(255, 255, 255, 0.6);
    position: relative;
}

.scroll-arrow::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: -3px;
    width: 8px;
    height: 8px;
    border-right: 2px solid rgba(255, 255, 255, 0.6);
    border-bottom: 2px solid rgba(255, 255, 255, 0.6);
    transform: rotate(45deg);
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% { transform: translateX(-50%) translateY(0); }
    40% { transform: translateX(-50%) translateY(-10px); }
    60% { transform: translateX(-50%) translateY(-5px); }
}

/* Section Headers */
.section-header {
    text-align: center;
    margin-bottom: 4rem;
    padding: 0 1rem;
}

.section-header h2 {
    font-size: clamp(2rem, 5vw, 3rem);
    font-weight: 700;
    color: #2d3436;
    margin-bottom: 1rem;
    line-height: 1.2;
}

.section-header p {
    font-size: clamp(1rem, 2.5vw, 1.2rem);
    color: #636e72;
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
}

/* Services Section */
.services {
    padding: 5rem 1rem;
    background: linear-gradient(135deg, #ffffff 0%, #e3f2fd 100%);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

.service-card {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border-radius: 20px;
    padding: 2.5rem 1.5rem;
    text-align: center;
    box-shadow: 0 10px 30px rgba(33, 150, 243, 0.1);
    transition: all 0.4s ease;
    border: 1px solid rgba(33, 150, 243, 0.1);
}

.service-card:hover {
    transform: translateY(-15px);
    box-shadow: 0 20px 40px rgba(33, 150, 243, 0.15);
}

.service-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(45deg, #2196F3, #1976D2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    transition: all 0.3s ease;
}

.service-card:hover .service-icon {
    transform: scale(1.1);
}

.service-icon i {
    font-size: 1.8rem;
    color: white;
}

.service-card h3 {
    font-size: 1.3rem;
    font-weight: 600;
    color: #2d3436;
    margin-bottom: 1rem;
}

.service-card p {
    color: #636e72;
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.service-card ul {
    list-style: none;
    text-align: left;
}

.service-card li {
    padding: 0.4rem 0;
    color: #2d3436;
    position: relative;
    padding-left: 1.5rem;
    font-size: 0.9rem;
}

.service-card li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: #2196F3;
    font-weight: bold;
}

/* Projects Section */
.projects {
    padding: 6rem 2rem;
    background: linear-gradient(135deg, #e3f2fd 0%, #ffffff 100%);
}

.project-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2.5rem;
    max-width: 1200px;
    margin: 0 auto;
}

.project-card {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(33, 150, 243, 0.1);
    transition: all 0.4s ease;
    border: 1px solid rgba(33, 150, 243, 0.1);
    position: relative;
}

.project-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(33, 150, 243, 0.15);
}

.project-image {
    position: relative;
    overflow: visible;
    height: 220px; /* was larger; shorten card */
}

.project-image img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 1 !important;
    z-index: 2;
    position: relative;
}

.project-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(33, 150, 243, 0.85), rgba(25, 118, 210, 0.75));
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.project-card:hover .project-overlay {
    opacity: 1;
}

/* keep overlay off */
.project-overlay { display: none !important; }

.projects .all-projects-wrapper {
    display: flex;
    justify-content: center;
    margin-top: 2rem;
}

.projects .all-projects-btn {
    display: inline-block;
    padding: 0.9rem 1.6rem;
    background: linear-gradient(45deg, #2196F3, #1976D2);
    color: #fff;
    text-decoration: none;
    border-radius: 999px;
    font-weight: 600;
    box-shadow: 0 6px 18px rgba(33,150,243,0.25);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.projects .all-projects-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 24px rgba(33,150,243,0.35);
}

.project-details {
    text-align: center;
    color: white;
    padding: 0.8rem;
}

.project-details h4 {
    font-size: 1rem;
    margin-bottom: 0.2rem;
    font-weight: 600;
}

.project-details p {
    font-size: 0.8rem;
    margin-bottom: 0.3rem;
    opacity: 0.9;
}

.project-tag {
    display: inline-block;
    background: rgba(255, 255, 255, 0.2);
    padding: 0.2rem 0.6rem;
    border-radius: 10px;
    font-size: 0.7rem;
    margin-top: 0.2rem;
}

.project-info {
    padding: 1.2rem; /* reduce inner spacing */
}

.project-info h3 {
    font-size: 1.3rem;
    font-weight: 600;
    color: #2d3436;
    margin-bottom: 0.8rem;
}

.project-info p {
    color: #636e72;
    margin-bottom: 1.2rem;
    line-height: 1.5;
    font-size: 0.95rem;
}

.project-metrics {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.6rem;
    padding: 0.8rem; /* reduce metrics block height */
    background: rgba(33, 150, 243, 0.05);
    border-radius: 10px;
}

.metric {
    text-align: center;
}

.metric .value {
    display: block;
    font-size: 1.05rem;
    font-weight: 700;
    color: #2196F3;
    margin-bottom: 0.2rem;
}

.metric .label {
    font-size: 0.75rem;
    color: #636e72;
    font-weight: 500;
}

.project-meta {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.5rem 0.9rem;
    margin: 0.5rem 0 0.9rem;
}

.project-meta-item {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    padding: 0.45rem 0.55rem;
    background: rgba(33,150,243,0.06);
    border: 1px solid rgba(33,150,243,0.12);
    border-radius: 10px;
}

.project-meta-item .icon {
    width: 34px;
    height: 34px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #1976D2;
    background: #e9f3ff;
    border-radius: 8px;
    font-size: 14px;
}

.project-meta-item .meta-text {
    display: flex;
    flex-direction: column;
    line-height: 1.1;
}

.project-meta-item .meta-title {
    font-size: 0.78rem;
    color: #6b7b8a;
    font-weight: 600;
}

.project-meta-item .value {
    font-size: 0.95rem;
    color: #1f2a33;
    font-weight: 700;
}

/* About Section */
.about {
    padding: 6rem 2rem;
    background: linear-gradient(135deg, #ffffff 0%, #e3f2fd 100%);
}

.about-content {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.about-text h2 {
    font-size: 2.8rem;
    font-weight: 700;
    color: #2d3436;
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.about-text .lead {
    font-size: 1.2rem;
    color: #2196F3;
    font-weight: 600;
    margin-bottom: 1.5rem;
}

.about-text p {
    color: #636e72;
    margin-bottom: 2rem;
    font-size: 1rem;
    line-height: 1.7;
}

.about-features {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.feature {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.8);
    border-radius: 10px;
    border: 1px solid rgba(33, 150, 243, 0.1);
}

.feature i {
    color: #2196F3;
    font-size: 1.2rem;
}

.feature span {
    font-weight: 500;
    color: #2d3436;
}

.about-stats {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

.stat-item {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border-radius: 15px;
    padding: 2rem;
    display: flex;
    align-items: center;
    gap: 1.5rem;
    box-shadow: 0 10px 30px rgba(33, 150, 243, 0.1);
    transition: all 0.4s ease;
}

.stat-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(33, 150, 243, 0.15);
}

.stat-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(45deg, #2196F3, #1976D2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.stat-icon i {
    font-size: 1.5rem;
    color: white;
}

.stat-content h3 {
    font-size: 2rem;
    font-weight: 700;
    color: #2d3436;
    margin-bottom: 0.3rem;
}

.stat-content p {
    color: #636e72;
    font-size: 0.9rem;
}

/* Testimonials Section */
.testimonials {
    padding: 5rem 1rem;
    background: linear-gradient(135deg, #e3f2fd 0%, #ffffff 100%);
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

.testimonial-card {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border-radius: 20px;
    padding: 2rem;
    box-shadow: 0 10px 30px rgba(33, 150, 243, 0.1);
    transition: all 0.4s ease;
    border: 1px solid rgba(33, 150, 243, 0.1);
}

.testimonial-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(33, 150, 243, 0.15);
}

.stars {
    margin-bottom: 1.5rem;
}

.stars i {
    color: #FFD700;
    font-size: 1.1rem;
}

.testimonial-content p {
    font-style: italic;
    color: #636e72;
    margin-bottom: 2rem;
    font-size: 1rem;
    line-height: 1.6;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.testimonial-author img {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    object-fit: cover;
}

.author-info h4 {
    color: #2d3436;
    font-weight: 600;
    margin-bottom: 0.3rem;
}

.author-info span {
    color: #636e72;
    font-size: 0.9rem;
}

/* Contact Section */
.contact {
    padding: 6rem 2rem;
    background: linear-gradient(135deg, #e3f2fd 0%, #ffffff 100%);
}

.contact-content {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.info-item {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border-radius: 15px;
    padding: 2rem;
    box-shadow: 0 10px 30px rgba(33, 150, 243, 0.1);
    transition: all 0.4s ease;
}

.info-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(33, 150, 243, 0.15);
}

.info-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(45deg, #2196F3, #1976D2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.info-icon i {
    font-size: 1.5rem;
    color: white;
}

.info-content h4 {
    color: #2d3436;
    font-weight: 600;
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
}

.info-content p {
    color: #636e72;
    font-size: 0.95rem;
    line-height: 1.5;
}

.contact-form {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border-radius: 20px;
    padding: 2.5rem;
    box-shadow: 0 10px 30px rgba(33, 150, 243, 0.1);
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 1rem 1.2rem;
    border: 2px solid rgba(33, 150, 243, 0.1);
    border-radius: 10px;
    font-size: 1rem;
    transition: all 0.3s ease;
    background: rgba(255, 255, 255, 0.8);
    font-family: 'Poppins', sans-serif;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #2196F3;
    box-shadow: 0 0 0 3px rgba(33, 150, 243, 0.1);
    background: rgba(255, 255, 255, 1);
}

.submit-btn {
    width: 100%;
    padding: 1rem 2rem;
    background: linear-gradient(45deg, #2196F3, #1976D2);
    color: white;
    border: none;
    border-radius: 10px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: 'Poppins', sans-serif;
}

.submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(33, 150, 243, 0.3);
}

/* Footer */
footer {
    background: linear-gradient(135deg, #1976D2 0%, #1565C0 100%);
    color: white;
    padding: 1.5rem 1rem 0.5rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1.2rem;
    margin-bottom: 1rem;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}

.footer-section h4 {
    margin-bottom: 0.7rem;
    font-size: 1rem;
    font-weight: 600;
}

.footer-section p {
    margin-bottom: 0.7rem;
    opacity: 0.85;
    line-height: 1.4;
    font-size: 0.85rem;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 0.4rem;
    font-size: 0.85rem;
}

.footer-section ul li a {
    color: white;
    text-decoration: none;
    opacity: 0.9;
    transition: opacity 0.3s ease;
}

.footer-section ul li a:hover {
    opacity: 1;
}

.footer-section ul li i {
    margin-right: 0.5rem;
    color: #2196F3;
}

.social-links {
    display: flex;
    gap: 0.7rem;
    flex-wrap: wrap;
}

.social-links a {
    width: 32px;
    height: 32px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-decoration: none;
    transition: all 0.3s ease;
}

.social-links a:hover {
    background: #2196F3;
    transform: translateY(-3px);
}

.footer-bottom {
    text-align: center;
    padding-top: 1rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 0.8rem;
    opacity: 0.7;
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive Design */
@media (max-width: 1024px) {
    .about-content {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .contact-content {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .project-card.featured {
        grid-column: span 1;
    }
}

@media (max-width: 768px) {
    .navbar {
        padding: 1rem 1rem;
    }
    
    .logo img {
        height: 35px;
    }
    
    .nav-links {
        display: none;
        position: fixed;
        top: 70px;
        left: 0;
        width: 100%;
        background: rgba(255, 255, 255, 0.98);
        backdrop-filter: blur(15px);
        -webkit-backdrop-filter: blur(15px);
        padding: 2rem 1rem;
        flex-direction: column;
        align-items: center;
        box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
    }
    
    .nav-links.active {
        display: flex;
    }
    
    .nav-links a {
        margin: 1rem 0;
        font-size: 1.1rem;
    }
    
    .hamburger {
        display: flex;
    }
    
    .hero {
        padding: 1rem;
        min-height: 100vh;
    }
    
    .hero-content {
        padding: 1rem;
    }
    
    .hero h1 {
        font-size: 2.5rem;
        line-height: 1.2;
    }
    
    .hero p {
        font-size: 1.1rem;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: center;
        gap: 1rem;
    }
    
    .cta-button {
        width: 100%;
        max-width: 300px;
        text-align: center;
        padding: 1rem 1.5rem;
    }
    
    .hero-stats {
        flex-direction: column;
        gap: 1.5rem;
    }
    
    .hero-stats .stat {
        min-width: auto;
    }
    
    .hero-stats .number {
        font-size: 2rem;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .project-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .about-stats {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .testimonials-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 1rem;
    }
    
    .social-links {
        justify-content: center;
    }
    
    .section-header {
        margin-bottom: 3rem;
    }
    
    .section-header h2 {
        font-size: 2.2rem;
    }
    
    .section-header p {
        font-size: 1rem;
    }
    
    .services,
    .projects,
    .about,
    .testimonials,
    .contact {
        padding: 4rem 1rem;
    }
    
    .service-card,
    .project-card,
    .testimonial-card {
        padding: 2rem 1.5rem;
    }
    
    .stat-item {
        padding: 1.5rem;
    }
    
    .info-item {
        padding: 1.5rem;
    }
    
    .contact-form {
        padding: 2rem;
    }
    
    .project-grid,
    .services-grid,
    .testimonials-grid {
        padding: 0 0.5rem;
    }
    
    .about-content,
    .contact-content {
        padding: 0 0.5rem;
    }
    
    .project-image {
        height: 180px;
    }
    
    .project-details {
        padding: 0.5rem;
    }
    
    .project-details h4 {
        font-size: 0.9rem;
    }
    
    .project-details p {
        font-size: 0.75rem;
    }
    
    .project-tag {
        font-size: 0.65rem;
        padding: 0.15rem 0.5rem;
    }
}

@media (max-width: 480px) {
    .hero h1 {
        font-size: 2rem;
    }
    
    .hero p {
        font-size: 1rem;
    }
    
    .hero-stats .number {
        font-size: 1.8rem;
    }
    
    .hero-stats .label {
        font-size: 0.8rem;
    }

    .hero-badge{
        position: relative;
        top: 20px;
    }
    
    .service-card,
    .project-card,
    .testimonial-card {
        padding: 1.5rem;
    }
    
    .stat-item {
        padding: 1rem;
    }
    
    .info-item {
        padding: 1rem;
    }
    
    .contact-form {
        padding: 1.5rem;
    }
    
    .section-header h2 {
        font-size: 1.8rem;
    }
    
    .section-header p {
        font-size: 0.9rem;
    }
    
    .about-text h2 {
        font-size: 1.8rem;
    }
    
    .about-text .lead {
        font-size: 1rem;
    }
    
    .project-metrics {
        grid-template-columns: 1fr;
        gap: 0.5rem;
    }
    
    .metric {
        display: flex;
        justify-content: space-between;
        align-items: center;
    }
    
    .metric .value {
        font-size: 1rem;
    }
    
    .metric .label {
        font-size: 0.8rem;
    }
    
    .hero-badge {
        font-size: 0.8rem;
        padding: 0.4rem 0.8rem;
        margin-top: 35px;
    }
    
    .cta-button {
        font-size: 0.9rem;
        padding: 0.8rem 1.5rem;
    }
    
    .info-item {
        flex-direction: column;
        text-align: center;
    }
    
    .stat-item {
        flex-direction: column;
        text-align: center;
    }
    
    .project-grid,
    .services-grid,
    .testimonials-grid {
        padding: 0 0.25rem;
    }
    
    .about-content,
    .contact-content {
        padding: 0 0.25rem;
    }
    
    .project-image {
        height: 180px;
    }
}

@media (max-width: 540px) {
    .project-meta {
        grid-template-columns: 1fr;
    }
}

/* Fix container widths */
.project-grid,
.services-grid,
.testimonials-grid,
.about-content,
.contact-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

/* Ensure proper overflow handling */
.services,
.projects,
.about,
.testimonials,
.contact {
    overflow: hidden;
    width: 100%;
}

/* Fix grid layouts */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

.project-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2.5rem;
    max-width: 1200px;
    margin: 0 auto;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

/* Form Status Messages */
.form-status {
    margin-top: 1rem;
    padding: 1rem;
    border-radius: 10px;
    font-weight: 500;
    text-align: center;
    display: none;
}

.form-status.success {
    background: rgba(76, 175, 80, 0.1);
    color: #4CAF50;
    border: 1px solid rgba(76, 175, 80, 0.3);
    display: block;
}

.form-status.error {
    background: rgba(244, 67, 54, 0.1);
    color: #F44336;
    border: 1px solid rgba(244, 67, 54, 0.3);
    display: block;
}

.form-status.loading {
    background: rgba(33, 150, 243, 0.1);
    color: #2196F3;
    border: 1px solid rgba(33, 150, 243, 0.3);
    display: block;
}

/* Disable button during submission */
.submit-btn:disabled {
    opacity: 0.7;
    cursor: not-allowed;
    transform: none !important;
} 

.project-card:hover .project-image img {
    object-fit: contain;
    background: transparent; /* no black spaces */
    transform: scale(0.96); /* subtle animated reveal */
    transition: transform 0.35s ease, opacity 0.35s ease;
}

.project-card .project-image img {
    transition: transform 0.35s ease, opacity 0.35s ease;
} 