/* ===================================
   CSS VARIABLES
   =================================== */
:root {
    --primary-color: #0066cc;
    --secondary-color: #1a1a1a;
    --accent-color: #ff6b35;
    --text-primary: #1a1a1a;
    --text-secondary: #666666;
    --bg-light: #f8f9fa;
    --bg-dark: #1a1a1a;
    --white: #ffffff;
}

/* ===================================
   FONTS & BASE STYLES
   =================================== */
@font-face {
    font-family: 'SF Pro Display';
    src: url('assets/font/sf-pro-display/SFPRODISPLAYREGULAR.OTF') format('opentype');
    font-weight: 400;
    font-style: normal;
}

@font-face {
    font-family: 'SF Pro Display';
    src: url('assets/font/sf-pro-display/SFPRODISPLAYMEDIUM.OTF') format('opentype');
    font-weight: 500;
    font-style: normal;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'SF Pro Display', sans-serif;
    line-height: 1.6;
    color: var(--text-primary);
    overflow-x: hidden;
    background: #FFF;
}

/* Prevent body scroll when menu is open */
body.menu-open {
    overflow: hidden;
}

/* ===================================
   NAVIGATION
   =================================== */
.navbar {
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    padding: 0 0;
    transition: all 0.3s ease;
    background: rgba(21, 21, 21, 0.95);
    backdrop-filter: blur(10px);
    border-radius: 100px; 
    position: fixed;
    margin-top: 30px;
    z-index: 1000;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.navbar.scrolled {
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.2);
}

.navbar-brand {
    display: flex;
    align-items: center;
}

.logo-circle {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    border: 2px solid rgba(255, 255, 255, 0.2);
}

.logo-circle img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.navbar-nav {
    display: flex;
    gap: 0.5rem;
}

.navbar-nav .nav-link {
    font-weight: 500;
    padding: 0.5rem 1rem;
    color: var(--white);
    transition: color 0.3s ease;
    font-size: 0.95rem;
}

.navbar-nav .nav-link:hover {
    color: rgba(255, 255, 255, 0.7);
}

.navbar-nav .nav-link.active {
    color: var(--primary-color);
}

.btn-contact {
    background: var(--white);
    color: var(--text-primary);
    padding: 14px 25px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    font-size: 0.9rem;
}

.btn-contact:hover {
    background: rgba(255, 255, 255, 0.8);
    transform: translateY(-2px);
}

/* Custom Navbar Toggler for Dark Background */
.navbar-toggler {
    /* border: 1px solid rgba(255, 255, 255, 0.3);
    padding: 0.5rem; */
    color: white;
    background-color: transparent;
    /* border-radius: 8px; */
    transition: all 0.3s ease;
}

.navbar-toggler:focus {
    box-shadow: none;
    outline: none;
}

/* .navbar-toggler:hover {
    border-color: rgba(255, 255, 255, 0.5);
    background: rgba(255, 255, 255, 0.1);
}

.navbar-toggler.active {
    background: rgba(255, 255, 255, 0.15);
    border-color: rgba(255, 255, 255, 0.6);
} */

/* .navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3E%3Cpath stroke='rgba(255, 255, 255, 0.85)' stroke-width='2' stroke-linecap='round' stroke-miterlimit='10' d='M4 7h22M4 15h22M4 23h22'/%3E%3C/svg%3E");
} */

/* ===================================
   HERO SECTION
   =================================== */
.hero {  
    overflow: hidden;
    position: relative;
}

.hero-content {
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 0.8s forwards 0.3s;
}

.hero-content h1 {
    font-size: 57px;
    font-weight: 500; 
    margin-bottom: 1.5rem;
    color: #000; 
    line-height: 110%;  
    letter-spacing: -2.56px;
    background-clip: text;
}

.hero-description {
    font-size: 18px;
    color: #5B5B5B;
    margin-bottom: 2.5rem;
    line-height: 130%;
    letter-spacing: -0.36px;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    align-items: center;
}

.btn-primary-custom {
    background: #000;
    color: white;
    padding: 0.875rem 2rem;
    border-radius: 50px;
    border: 2px solid rgba(102, 102, 102, 0.3);
    text-decoration: none; 
    font-weight: 500;
    transition: all 0.3s ease;
    font-size: 1rem; 
    cursor: pointer;
}

.btn-primary-custom:hover,
.btn-primary-custom:focus {
    background: transparent;
    color: var(--text-secondary);
    transform: translateY(-3px);
    border: 2px solid rgba(102, 102, 102, 0.3);
}

.btn-secondary-custom {
    background: rgba(18, 142, 50, 0.10);  
    color: #128E32;
    padding: 0.875rem 2rem;
    border: 2px solid rgba(18, 142, 50, 0.10);
    border-radius: 50px;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1rem;
    cursor: pointer;
}

.btn-secondary-custom:hover,
.btn-secondary-custom:focus {
    background: transparent;
    color: var(--text-secondary);
    border: 2px solid rgba(102, 102, 102, 0.3); 
    transform: translateY(-3px); 
}

.status-dot {
    width: 8px;
    height: 8px;
    background: #22c55e;
    border-radius: 50%;
    display: inline-block;
}

/* Enhanced Hero Carousel */
.hero-carousel-container {
    height: 750px;
    display: flex;
    gap: 15px;
    overflow: hidden;
    position: relative;  
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 0.8s forwards 0.6s;
}
/* Add this to your existing .hero-carousel-container styles */
.hero-carousel-container::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 150px; /* Adjust height as needed */
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.00) 0%, rgba(255, 255, 255, 0.90) 111.11%);
    pointer-events: none;
    z-index: 10;
}
.carousel-column {
    flex: 1;
    overflow: hidden;
    position: relative;
}

.slider-track {
    display: flex;
    flex-direction: column;
    gap: 20px;
    position: relative;
    animation-timing-function: linear;
    animation-iteration-count: infinite;
    animation-name: infiniteScroll;
    animation-duration: 25s;
    will-change: transform;
}

.slider-track:hover {
    animation-play-state: paused;
}

#track1 {
    animation-duration: 25s;
}

#track2 {
    animation-duration: 30s;
}

#track3 {
    animation-duration: 35s;
}

.slide-item {
    width: 100%;
    height: 100%;
    border-radius: 15px;
    overflow: hidden;
    flex-shrink: 0;
    position: relative;
    transition: all 0.3s ease;
}

.slide-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.slide-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

.slide-item:hover img {
    transform: scale(1.05);
}

@keyframes infiniteScroll {
    0% {
        transform: translateY(0);
    }
    100% {
        transform: translateY(calc(-50% - 10px));
    }
}

/* ===================================
   ABOUT SECTION
   =================================== */
.about-section {
    padding: 5rem 0; 
    position: relative;
    overflow: hidden;
    background: #fff;
}

.about-label {
    font-size: 20px;
    color: #000;
    font-weight: 500;
    margin-bottom: 1rem;
    letter-spacing: -0.8px;
    position: relative;
}

.about-label::before {
    content: '•';
    margin-right: 0.5rem;
    color: #0066cc;
}

.about-text {
    font-size: 44px;
    line-height: 1.5;
    font-weight: 500;
    margin-bottom: 4rem;
    line-height: 120%;
    letter-spacing: -1.92px;
}

/* Animated Text Colors */
.about-text .word {
    font-weight: 400;
    display: inline-block; 
    transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    color: #8C8C8C;
    transform: translateY(20px);
    opacity: 0.3;
}

.about-text .word.animate {
    color: #1a1a1a;
    font-weight: 500;
    transform: translateY(0);
    opacity: 1;
}

.about-text .word.highlight {
    color: #0066cc;
    font-weight: 600;
}

.about-text .word.highlight.animate {
    color: #0066cc;
}

/* Stats Container */
.stats-container {
    display: flex;
    justify-content: center;
    align-items: center; 
}

.stat-item {
    display: flex;
    align-items: center;
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.stat-item.animate {
    opacity: 1;
    transform: translateY(0);
}

.stat-content {
    display: flex;
    align-items: center;
}

.stat-number {
    font-size: 30px;
    font-weight: 600;
    color: #333;
    margin-right: 0.3rem;
}

.stat-label {
    font-size: 24px;
    color: #666;
    font-weight: 400;
    white-space: nowrap;
}

.stat-separator {
    width: 1px;
    height: 20px;
    background-color: #ddd;
    margin: 0 2rem;
}

.stat-item:last-child .stat-separator {
    display: none;
}

/* ===================================
   PORTFOLIO SECTION
   =================================== */
.portfolio-section {
    padding: 5rem 0; 
}

.section-title {
    font-size: 48px;
    font-weight: 500;
    text-align: center; 
    color: var(--text-primary);
    letter-spacing: -1.92px; 
}

.section-paragraph {
    color: #5B5B5B;
    text-align: center;
    font-family: "SF Pro Display";
    font-size: 20px;
    font-style: normal;
    font-weight: 500;
    line-height: 120%;  
    letter-spacing: -0.4px;  
}

.portfolio-item {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    /* height: 300px; */
    cursor: pointer;
}

.portfolio-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.2);
}

.portfolio-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.portfolio-item:hover img {
    transform: scale(1.05);
}

.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(100%);
    transition: transform 0.3s ease;
}

.portfolio-item:hover .portfolio-overlay {
    transform: translateY(0);
}

.portfolio-overlay h4 {
    font-size: 1.3rem;
    font-weight: 600;
    margin: 0;
}

/* ===================================
   SERVICES SECTION
   =================================== */
.services-section {
    padding: 5rem 0;
    background: var(--bg-dark);
    min-height: 100vh;
}

.services-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 4rem;
}

.services-title {
    flex: 1;
    max-width: 800px;
    text-align: center;
}

.services-title h2 {
    font-size: 48px;
    font-weight: 500;
    color: white;
    margin-bottom: 1.5rem;
    letter-spacing: -1.92px;
    line-height: 1.2;
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 0.8s ease forwards;
}

.services-title p {
    font-size: 20px;
    color: #B8B8B8;
    font-weight: 500;
    line-height: 1.6;
    margin: 0;
    opacity: 0;
    letter-spacing: -0.4px;
    transform: translateY(30px);
    animation: fadeInUp 0.8s ease 0.2s forwards;
}

.connect-btn {
    background: white;
    color: #1a1a1a;
    padding: 1rem 2rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 0.8s ease 0.4s forwards;
    display: inline-block;
}

.connect-btn:hover {
    background: #f0f0f0;
    color: #1a1a1a;
    transform: translateY(-2px);
}

.services-grid {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.service-item {
    border-radius: 25px;
    background: #222;
    margin-bottom: 25px;
    padding: 2rem 2rem; 
    display: flex;
    align-items: center;
    gap: 4rem;
    opacity: 0;
    transform: translateY(50px);
    transition: all 0.6s ease;
}

.service-item.animate {
    opacity: 1;
    transform: translateY(0);
}

.service-item:last-child {
    border-bottom: none;
}

.service-content {
    flex: 1;
}

.service-icon {
    width: 90px;
    height: 90px;
    background: #1A1A1A;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 2rem;
    transition: all 0.3s ease;
}

.service-icon img {
    width: 44px;
    height: 44px; 
}

.service-item:hover .service-icon {
    background: #000000;
    transform: scale(1.1);
}

.service-content h3 {
    font-size: 36px;
    font-weight: 500;
    margin-bottom: 1.5rem;
    color: white;
    line-height: 120%;
    letter-spacing: -1.44px;
}

.service-content p {
    color: #B8B8B8;
    margin-bottom: 2rem;
    line-height: 1.6;
    font-size: 18px;
    font-weight: 500;
    line-height: 150%;
    letter-spacing: -0.36px;
}

.service-features {
    list-style: none;
    padding: 0;
    margin: 2rem 0;
}

.service-features li {
    color: #B8B8B8;
    margin-bottom: 0.8rem;
    position: relative;
    padding-left: 2rem;
    font-size: 16px;
    font-style: normal;
    font-weight: 500;
    line-height: 150%;
    letter-spacing: -0.32px;
}

.service-features li::before {
    content: "✦";
    position: absolute;
    left: 0;
    color: #B8B8B8;
    font-size: 1.52rem;
}

.btn-service {
    background: white;
    color: #1a1a1a;
    padding: 1rem 2rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    display: inline-block;
}

.btn-service:hover {
    background: #f0f0f0;
    color: #1a1a1a;
    transform: translateY(-2px);
}

.service-mockup {
    /* height: 400px; */
    position: relative;
    transition: transform 0.6s ease;
}

.service-mockup img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    border-radius: 20px;
}

.service-item:hover .service-mockup {
    transform: scale(1.02) translateX(10px);
}

/* Real mockup images */
.mobile-mockup img,
.webapp-mockup img,
.website-mockup img,
.branding-mockup img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    border-radius: 15px;  
}

/* Mobile phones mockup */
.mobile-mockup {
    display: flex;
    gap: 1rem;
    align-items: center;
    justify-content: center;
}

.mobile-mockup img {
    max-width: 450px;
    height: auto;
}

/* Web app mockup */
.webapp-mockup img {
    max-width: 450px;
    height: auto;
}

/* Website mockup */
.website-mockup img {
    max-width: 450px;
    height: auto;
}

/* Branding mockup */
.branding-mockup img {
    max-width: 450px;
    height: auto;
}

/* ===================================
   PROCESS SECTION
   =================================== */
.process-section {
    padding: 6rem 0 8rem 0;
    background: #F4F4F4;
}

.process-title {
    font-size: 48px;
    font-weight: 500;
    color: var(--text-primary);
    margin-bottom: 1rem;
    line-height: 120%;  
    letter-spacing: -1.92px;
}

.process-subtitle {
    font-size: 20px;
    color: #5B5B5B;
    margin-bottom: 5rem;
    font-weight: 500;
    line-height: 120%;
    letter-spacing: -0.4px;
}

.process-step {  
    border-radius: 24px;
    background: #ffffff;
    padding: 3rem 2.5rem;
    height: 100%;
    box-shadow: 0px 0px 1px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.process-step:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
    background-color: #1A1A1A;
}

.process-number {
    font-size: 84px;
    font-weight: 500;
    color: rgba(0, 0, 0, 0.08);
    margin-bottom: 1.5rem;
    line-height: 1;  
    letter-spacing: -2px;
}

.process-step h3 {
    font-size: 26px;
    font-weight: 500;
    margin-bottom: 1.25rem;
    color: var(--text-primary);
    line-height: 120%;
    letter-spacing: -1.04px;
}

.process-step p {
    color: #5B5B5B;
    line-height: 1.6;
    font-size: 18px;
    margin-bottom: 0;
    line-height: 150%;
    letter-spacing: -0.36px;
}

.process-step:hover h3 {
    color: #FFF;
}

.process-step:hover p {
    color: #B8B8B8;
}

.process-step:hover .process-number {
    color: #2C2C2C;
}

/* ===================================
   TESTIMONIALS SECTION
   =================================== */
.testimonials-section {
    background: #F4F4F4;
    padding: 0 0;
    overflow: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.testimonials-container {
    margin-top: 220px;
    display: flex;
    flex-direction: column;
    gap: 2rem;
    width: 100%;
        position: relative; 

}
.testimonials-container::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height:350px;
    background: linear-gradient(180deg, rgba(244, 244, 244, 0.00) 0%, rgba(244, 244, 244, 0.90) 111.11%);
    pointer-events: none;
    z-index: 10;
}
.testimonials-row {
    display: flex;
    gap: 1rem;
    width: 100%;
    justify-content: center;
    align-items: stretch;
}

.testimonial-card {
    background: white;
    border-radius: 16px;
    padding: 2rem;
    min-width: 350px;
    max-width: 350px;
    flex-shrink: 0;
    border: 1px solid rgba(0, 0, 0, 0.05);
    box-shadow: 0 1px 1px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    position: relative;
    display: flex;
    flex-direction: column;
    height: auto;
    border-left: 3px solid transparent;
    opacity: 0;
    transform: translateY(20px);
    cursor: pointer;
}

.testimonial-card:hover {
    transform: translateY(-5px) scale(1.02);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
    /* border-left-color: #0066cc; */
}

.testimonial-card.clicked {
    transform: scale(0.98) !important;
    transition: transform 0.1s ease;
}

.testimonial-card:focus {
    /* outline: 2px solid #0066cc; */
    outline-offset: 2px;
}

.testimonial-card.animate {
    opacity: 1;
    transform: translateY(0);
}

.testimonial-card p {
    color: #2d2d2d;
    line-height: 1.6;
    font-size: 18.569px;
    margin: 1.5rem 0 2rem 0;
    font-weight: 400;
    flex-grow: 1;
}

.testimonial-header {
    display: flex;
    align-items: center;
    margin-top: auto;
}

.testimonial-avatar {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    /* background: linear-gradient(135deg, #0066cc 0%, #4a90e2 100%); */
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 600;
    margin-right: 1rem;
    font-size: 0.9rem;
    flex-shrink: 0;
}
.testimonial-avatar img{
    width: 44px;
}
.testimonial-info {
    /* flex: 1; */
    margin-right: 10px;
}

.testimonial-info h4 {
      margin: 0;
    font-size: 18.306px;
    font-weight: 500;
    color: #1a1a1a;   
    line-height: 23.152px;
    letter-spacing: -0.732px;
}

.testimonial-stars {
    color: #ffc107;
    font-size: 14px;
    display: flex;
    gap: 2px;
    margin-top: 0.5rem;
}

.testimonial-stars i {
    font-size: 14px;
}

.test-card-2 {
    bottom: 75px;
}

.test-card-3 {
    bottom: 150px;
}

/* ===================================
   BLOGS SECTION
   =================================== */
.blogs-section {
    padding: 6rem 0;
    background: #f4f4f4;
    position: relative;
    overflow: hidden;
}

.blogs-header {
    text-align: center;
    margin-bottom: 4rem;
}

.blogs-title {
    font-size: 48px;
    font-weight: 500;
    color: #1a1a1a;
    margin-bottom: 1.5rem;
    line-height: 1.2;
    letter-spacing: -1.92px;
}

.blogs-subtitle {
    font-size: 18px;
    color: #666;
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
    font-weight: 400;
}

.blogs-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    align-items: start;
}

.blog-card {
    background: #fff;
    border-radius: 20px;
    overflow: hidden;
    transition: all 0.3s ease;
    position: relative;
    border: 1px solid rgba(0, 0, 0, 0.08);
    height: 100%;
    display: flex;
    flex-direction: column;
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 0.6s ease forwards;
}

.blog-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
}

.blog-card:nth-child(1) {
    animation-delay: 0.1s;
}

.blog-card:nth-child(2) {
    animation-delay: 0.2s;
}

.blog-card:nth-child(3) {
    animation-delay: 0.3s;
}

.blog-image {
    position: relative;
    height: 250px;
    overflow: hidden;
}

.blog-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.blog-card:hover .blog-image img {
    transform: scale(1.05);
}

.blog-tags {
    position: absolute;
    top: 1rem;
    left: 1rem;
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    z-index: 2;
}

.blog-tag {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    color: #1a1a1a;
    padding: 0.4rem 0.8rem;
    border-radius: 6px;
    font-size: 12px;
    font-weight: 500;
    border: 1px solid rgba(0, 0, 0, 0.1);
}

.blog-content {
    padding: 1.5rem;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.blog-title {
    font-size: 22px;
    font-weight: 500;
    color: #1a1a1a;
    margin-bottom: 1rem;
    line-height: 1.3;
    letter-spacing: -0.5px;
    flex: 1;
}

.blog-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    color: #666;
    font-size: 14px;
    font-weight: 400;
    margin-top: auto;
    padding-top: 1rem;
    border-top: 1px solid rgba(0, 0, 0, 0.05);
}

.blog-date {
    color: #888;
}

.read-more {
    color: #0066cc;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.read-more:hover {
    color: #0052a3;
}

/* ===================================
   CONTACT SECTION
   =================================== */
.contact-section {
    padding: 6rem 0;
    background: #1A1A1A;
    color: white;
    position: relative;
    overflow: hidden;
}

.contact-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    position: relative;
    z-index: 2;
}

/* Header Row - Title Left, Button Right */
.contact-header-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 4rem;
    gap: 2rem;
    animation: fadeInUp 0.6s ease forwards;
}

.contact-header-row h2 {
    font-size: clamp(2rem, 5vw, 3rem);
    font-weight: 500;
    margin: 0;
    color: white;
    line-height: 1.3;
    letter-spacing: -0.02em;
    flex: 1;
}

.btn-get-started {
    background: #ffffff;
    color: #1a1a1a;
    padding: 1rem 2rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    font-size: 1rem;
    white-space: nowrap;
    border: none;
    cursor: pointer;
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 15px rgba(255, 255, 255, 0.1);
}

.btn-get-started:hover {
    background: #f0f0f0;
    color: #1a1a1a;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 255, 255, 0.15);
}

/* Horizontal Separator Line */
.contact-separator {
    width: 100%;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    margin-bottom: 3rem;
    position: relative;
}

.contact-separator::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 6px;
    height: 6px;
    background: #ffffff;
    border-radius: 50%;
}

/* Navigation Links - Centered */
.contact-nav {
    padding: 1.25rem 2rem;
    border-radius: 100px;
    background: #222;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 2rem;
    margin: 0 auto 3rem auto;
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    animation: fadeInUp 0.6s ease 0.1s forwards;
}

.contact-nav a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    font-size: 1rem;
    font-weight: 400;
    transition: all 0.3s ease;
    position: relative;
    padding: 0.5rem 0;
}

.contact-nav a:hover {
    color: rgba(255, 255, 255, 1);
    transform: translateY(-1px);
}

.contact-nav a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: #ffffff;
    transition: width 0.3s ease;
}

.contact-nav a:hover::after {
    width: 100%;
}

.nav-divider {
    color: rgba(255, 255, 255, 0.3);
    font-size: 1rem;
    margin: 0;
}

/* Contact Details Row - Centered */
.contact-details-row {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 3rem;
    margin-bottom: 3rem;
    flex-wrap: wrap;
    animation: fadeInUp 0.6s ease 0.2s forwards;
}

.contact-item {
    border-radius: 100px;
    background: #222;
    padding: 1.25rem 2rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: rgba(255, 255, 255, 0.85);
    font-size: 1rem;
    font-weight: 400;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
    min-width: 40%;
    justify-content: center;
    backdrop-filter: blur(10px);
}

.contact-item:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
}

.contact-item i {
    font-size: 1.125rem;
    width: 20px;
    text-align: center;
    color: rgba(255, 255, 255, 0.85);
    flex-shrink: 0;
}

/* Social Profiles Row - Centered */
.social-profiles-row {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 2rem;
    flex-wrap: wrap;
    animation: fadeInUp 0.6s ease 0.3s forwards;
}

.profile-link {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    font-size: 0.9375rem;
    font-weight: 400;
    padding: 0.875rem 1.5rem;
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 12px;
    transition: all 0.3s ease;
    background: rgba(255, 255, 255, 0.02);
    backdrop-filter: blur(10px);
    min-width: 160px;
    justify-content: center;
}

.profile-link:hover {
    color: rgba(255, 255, 255, 1);
    border-color: rgba(255, 255, 255, 0.3);
    background: rgba(255, 255, 255, 0.08);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
}

/* Profile Icons */
.profile-icon {
    width: 28px;
    height: 28px;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.6875rem;
    font-weight: 600;
    color: white;
    flex-shrink: 0;
    transition: transform 0.3s ease;
}

.profile-link:hover .profile-icon {
    transform: scale(1.1);
}

.profile-icon.upwork {
    background: linear-gradient(135deg, #14a800, #0d7a00);
    font-size: 0.625rem;
    text-transform: lowercase;
}

.profile-icon.linkedin {
    background: linear-gradient(135deg, #0077b5, #005885);
}

.profile-icon.behance {
    background: linear-gradient(135deg, #1769ff, #0d4fd1);
    font-size: 0.625rem;
    font-weight: 700;
}

.profile-icon i {
    font-size: 0.75rem;
}

/* ===================================
   ANIMATIONS
   =================================== */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease;
}

.fade-in.animate {
    opacity: 1;
    transform: translateY(0);
}

/* ===================================
   RESPONSIVE DESIGN
   =================================== */

/* Mobile navbar fixes */
@media (max-width: 991.98px) {
    .navbar-collapse {
        background: rgba(21, 21, 21, 0.98);
        backdrop-filter: blur(15px);
        border-radius: 20px;
        margin-top: 1rem;
        padding: 1.5rem;
        border: 1px solid rgba(255, 255, 255, 0.1);
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        z-index: 1000;
        opacity: 0;
        visibility: hidden;
        transform: translateY(-10px);
        transition: all 0.3s ease;
    }
    
    .navbar-collapse.show {
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
    }
    
    .navbar-nav {
        flex-direction: column;
        gap: 0.5rem;
        margin-bottom: 1.5rem;
    }
    
    .navbar-nav .nav-link {
        padding: 0.75rem 1rem;
        border-radius: 12px;
        transition: all 0.3s ease;
    }
    
    .navbar-nav .nav-link:hover {
        background: rgba(255, 255, 255, 0.1);
    }
    
    .btn-contact {
        margin-top: auto;
        width: 100%;
        justify-content: center;
        padding: 0.875rem 1.5rem;
        font-size: 1rem;
    }
    
    .navbar > .container {
        flex-wrap: wrap;
        position: relative;
    }
    
    .navbar-collapse {
        flex-basis: 100%;
        flex-grow: 1;
    }

    /* Services responsive */
    .services-section {
        padding: 3rem 0;
    }

    .services-header {
        flex-direction: column;
        gap: 2rem;
        text-align: center;
        margin-bottom: 3rem;
    }

    .services-title {
        max-width: 100%;
    }

    .services-title h2 {
        font-size: 2.5rem;
    }

    .services-title p {
        font-size: 1rem;
    }

    .connect-btn {
        align-self: center;
        order: -1;
    }

    .service-item {
        flex-direction: column;
        padding: 3rem 0;
        gap: 2rem;
    }

    .service-mockup {
        /* order: -1; */
        height: 100%;
        width: 100%;
    }

    .service-content {
        /* order: 1; */
        width: 100%;
        padding: 0px 20px;
    }

    .service-content h3 {
        font-size: 1.8rem;
    }

    .service-mockup img {
        max-width: 100%;
    }

    .mobile-mockup,
    .webapp-mockup,
    .website-mockup,
    .branding-mockup {
        display: flex;
        gap: 1rem; 
        align-items: center;
        justify-content: center;  
    }
    
    .mobile-mockup img,
    .webapp-mockup img,
    .website-mockup img,
    .branding-mockup img {
        max-width: 92%;
    }

    .service-item:hover .service-mockup {
        transform: scale(1.02);
    }
}

@media (max-width: 992px) {
    .hero-content h1 {
        font-size: 2.8rem;
    }
    
    .testimonials-grid {
        grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    }
}

@media (max-width: 768px) {
    .navbar {
        margin: 10px;
        padding: 0.25rem 0;
    }
    .hero-content{
        text-align: center;
    }
    .hero-content h1 {
        font-size: 2.2rem;
    }
    
    .hero-description {
                letter-spacing: -0.32px;
        font-size: 16px;
        text-align: center;
        font-style: normal;
        font-weight: 500;
    }
    
    .hero-buttons {
        /* flex-direction: column;
        align-items: flex-start; */
                display: ruby-text;

        width: 100%;
    }
    
    .btn-primary-custom, .btn-secondary-custom {
        /* width: 100%; */
        justify-content: center;
            font-size: 15px;
    }

    .btn-secondary-custom {
        padding: 0.8rem 0.8rem;
    }
        
    .hero-carousel-container {
        height: 400px;
        gap: 10px;
    }
    .about-section {
        padding: 2rem 0;
    }
    .slide-item {
        height: 120px;
    }
    
    .stats-container {
        flex-direction: column;
        gap: 2rem;
    }
    
    .section-title {
        font-size: 2.2rem;
    }
    
    .process-title {
        font-size: 2.2rem;
    }
    
    .testimonials-grid {
        grid-template-columns: 1fr;
    }
    
    .portfolio-item {
        height: auto;
    }

    /* About section responsive */
    .about-text {
        font-size: 2.5rem;
        line-height: 1.5;
    }

    .stat-separator {
        margin: 0 1rem;
    }

    .container {
        padding: 0 1rem;
    }

    /* Process section responsive */
    .process-title {
        font-size: 2.5rem;
    }
    
    .process-step {
        padding: 2rem 1.5rem;
        margin-bottom: 2rem;
    }
    
    .process-number {
        font-size: 64px;
    }

    /* Blogs section responsive */
    .blogs-section {
        padding: 4rem 0;
    }

    .blogs-title {
        font-size: 36px;
        letter-spacing: -1.44px;
    }

    .blogs-subtitle {
        font-size: 16px;
    }

    .blogs-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .blog-image {
        height: 200px;
    }

    .blog-title {
        font-size: 20px;
    }

    .blog-content {
        padding: 1.25rem;
    }

    /* Contact section responsive */
    .contact-section {
        padding: 4rem 0;
    }
    
    .contact-content {
        padding: 0 1rem;
    }
    
    .contact-header-row {
        flex-direction: column;
        gap: 1.5rem;
        text-align: center;
        margin-bottom: 2.5rem;
    }
    
    .contact-header-row h2 {
        text-align: center;
    }
    
    .btn-get-started {
        width: 100%;
        max-width: 300px;
        padding: 1rem 2rem;
    }
    
    .contact-nav {
        padding: 1rem 1.5rem;
        gap: 1.5rem;
        margin-bottom: 2.5rem;
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .contact-nav a {
        font-size: 0.9375rem;
    }
    
    .nav-divider {
        display: none;
    }
    
    .contact-details-row {
        flex-direction: column;
        gap: 1rem;
        margin-bottom: 2.5rem;
    }
    
    .contact-item {
        width: 100%;
        max-width: 350px;
        min-width: auto;
    }
    
    .social-profiles-row {
        flex-direction: column;
        gap: 1rem;
    }
    
    .profile-link {
        width: 100%;
        max-width: 250px;
        min-width: auto;
    }
}

@media (max-width: 767.98px) {
    .services-section {
        padding: 2rem 0;
    }

    .service-item {
        padding: 2rem 0;
    }

    .service-content h3 {
        font-size: 1.5rem;
    }

    .service-mockup {
        height: 100%;
    }

    .mobile-mockup img,
    .webapp-mockup img,
    .website-mockup img,
    .branding-mockup img {
        max-width: 90%;
    }

    /* Testimonials responsive */
    .test-card-3 {
        bottom: 0;
    }
}

@media (max-width: 576px) {
    .navbar {
        border-radius: 20px;
        margin: 15px 10px;
        padding: 0.3rem 0.1rem;
    }
    
    .logo-circle {
        width: 48px;
        height: 48px;
    }
    
    .navbar-collapse {
        margin-top: 0.75rem;
        padding: 1rem;
    }
    
    .hero {
        padding-top: 70px;
    }
    
    .hero-content h1 {
        font-size: 32px;
        letter-spacing: -1.28px;
        text-align: center;
    }
    
    .section-title {
        font-size: 1.8rem;
    }
    
    .process-title {
        font-size: 1.8rem;
    }
    
    .contact-section h2 {
        font-size: 2rem;
    }
    
    .navbar-nav .nav-link {
        margin: 0 0.5rem;
    }

    /* About section responsive */
    .about-text {
        font-size: 1.5rem;
        padding: 0 10px;
        letter-spacing: -1.28px;

    }

    .stats-container {
        flex-direction: column;
        gap: 1rem;
    }

    .stat-separator {
        display: none !important;
    }

    /* Blogs section responsive */
    .blogs-section {
        padding: 3rem 0;
    }

    .blogs-title {
        font-size: 28px;
        margin-bottom: 1rem;
    }

    .blogs-subtitle {
        font-size: 15px;
    }

    .blogs-header {
        margin-bottom: 3rem;
    }

    .blog-image {
        height: 180px;
    }

    .blog-title {
        font-size: 18px;
        margin-bottom: 0.75rem;
    }

    .blog-content {
        padding: 1rem;
    }

    .blog-tags {
        top: 0.75rem;
        left: 0.75rem;
    }

    .blog-tag {
        padding: 0.3rem 0.6rem;
        font-size: 11px;
    }

    /* Contact section responsive */
    .contact-section {
        padding: 3rem 0;
    }
    
    .contact-header-row {
        margin-bottom: 2rem;
        gap: 1rem;
    }
    
    .btn-get-started {
        padding: 0.875rem 1.5rem;
        font-size: 0.9375rem;
        max-width: 280px;
    }
    
    .contact-nav {
        padding: 0.875rem 1.25rem;
        gap: 1rem;
        margin-bottom: 2rem;
    }
    
    .contact-nav a {
        font-size: 0.875rem;
        padding: 0.25rem 0;
    }
    
    .contact-details-row {
        margin-bottom: 2rem;
    }
    
    .contact-item {
        padding: 1rem 1.25rem;
        font-size: 0.9375rem;
        max-width: 320px;
    }
    
    .contact-item i {
        font-size: 1rem;
    }
    
    .profile-link {
        font-size: 0.875rem;
        padding: 0.75rem 1rem;
        max-width: 220px;
    }
    
    .profile-icon {
        width: 24px;
        height: 24px;
    }
    
    .profile-icon i {
        font-size: 0.6875rem;
    }
}

@media (max-width: 480px) {
    /* Blogs section responsive */
    .blog-tags {
        top: 0.75rem;
        left: 0.75rem;
    }

    .blog-tag {
        padding: 0.3rem 0.6rem;
        font-size: 11px;
    }

    /* Contact section responsive */
    .contact-section {
        padding: 2.5rem 0;
    }
    
    .contact-header-row {
        gap: 0.75rem;
    }
    
    .btn-get-started {
        padding: 0.75rem 1.25rem;
        font-size: 0.875rem;
        max-width: 260px;
    }
    
    .contact-nav {
        padding: 0.75rem 1rem;
        gap: 0.75rem;
    }
    
    .contact-nav a {
        font-size: 0.8125rem;
    }
    
    .contact-item {
        padding: 0.875rem 1rem;
        font-size: 0.875rem;
        max-width: 300px;
    }
    
    .profile-link {
        font-size: 0.8125rem;
        padding: 0.625rem 0.875rem;
        max-width: 200px;
    }
}

@media (max-width: 411px) {
    .hero-buttons {
         flex-direction: column;
        align-items: flex-start; 
        display: flex;

        width: 100%;
    }
    
    .btn-primary-custom, .btn-secondary-custom {
        width: 100%;
        justify-content: center;
    }

    .btn-secondary-custom {
        padding: 0.875rem 0.875rem;
    }
}

@media (max-width: 360px) {
    .contact-content {
        padding: 0 0.75rem;
    }
    
    .btn-get-started {
        max-width: 240px;
        font-size: 0.8125rem;
    }
    
    .contact-item {
        max-width: 280px;
        padding: 0.75rem 0.875rem;
    }
    
    .profile-link {
        max-width: 180px;
        padding: 0.5rem 0.75rem;
    }
}

/* ===================================
   TESTIMONIALS RESPONSIVE BREAKPOINTS
   =================================== */

/* Large screens (1880px+) - 5 cards per row */
@media (min-width: 1880px) {
    .testimonials-row .testimonial-card {
        display: flex;
    }
    
    .testimonials-row .testimonial-card:nth-child(n+6) {
        display: none;
    }
}

/* Desktop Large (1400px-1879px) - 4 cards per row */
@media (max-width: 1879px) and (min-width: 1400px) {
    .testimonials-row .testimonial-card:nth-child(n+5) {
        display: none;
    }
    
    .testimonial-card {
        min-width: 320px;
        max-width: 320px;
    }
}

/* Desktop Medium (1200px-1399px) - 4 cards per row */
@media (max-width: 1399px) and (min-width: 1200px) {
    .testimonials-row {
        gap: 1.5rem;
        padding: 0 1rem;
    }
    
    .testimonials-row .testimonial-card:nth-child(n+5) {
        display: none;
    }
    
    .testimonial-card {
        min-width: 300px;
        max-width: 300px;
    }
}

/* Tablet Large (992px-1199px) - 3 cards per row */
@media (max-width: 1199px) and (min-width: 992px) {
    .testimonials-row {
        gap: 1.5rem;
        padding: 0 1rem;
    }
    
    .testimonials-row .testimonial-card:nth-child(n+4) {
        display: none;
    }
    
    .testimonial-card {
        min-width: 280px;
        max-width: 280px;
    }
    
    .testimonials-row .testimonial-card:first-child,
    .testimonials-row .testimonial-card:last-child {
        opacity: 1;
        transform: scale(1);
    }
    
    .testimonials-row .testimonial-card:first-child:hover,
    .testimonials-row .testimonial-card:last-child:hover {
        opacity: 1;
        transform: translateY(-5px) scale(1.02);
    }
}

/* Tablet Medium (768px-991px) - 3 cards per row */
@media (max-width: 991px) and (min-width: 768px) {
    .testimonials-container {
        gap: 1.5rem;
        margin-top: 150px;
    }
    
    .testimonials-row {
        gap: 1rem;
        padding: 0 0.5rem;
    }
    
    .testimonials-row .testimonial-card:nth-child(n+4) {
        display: none;
    }
    
    .testimonial-card {
        min-width: 240px;
        max-width: 240px;
        padding: 1.5rem;
    }
    
    .testimonial-card p {
        font-size: 15px;
        margin: 1rem 0 1.5rem 0;
    }
    
    .testimonial-avatar {
        width: 40px;
        height: 40px;
        font-size: 0.8rem;
    }
    
    .testimonial-info h4 {
        font-size: 14px;
    }
    
    .testimonial-stars {
        font-size: 12px;
    }
    
    .testimonials-row .testimonial-card:first-child,
    .testimonials-row .testimonial-card:last-child {
        opacity: 1;
        transform: scale(1);
    }
    
    .test-card-3 {
        bottom: 0;
    }
}

/* Mobile Large (576px-767px) - 3 cards per row */
@media (max-width: 767px) and (min-width: 576px) {
    .testimonials-container {
        gap: 1.5rem;
        margin-top: 100px;
    }
    
    .testimonials-row {
        gap: 0.8rem;
        padding: 0 0.5rem;
    }
    
    .testimonials-row .testimonial-card:nth-child(n+4) {
        display: none;
    }
    
    .testimonial-card {
        min-width: 160px;
        max-width: 160px;
        padding: 1.25rem;
    }
    
    .testimonial-card p {
        font-size: 13px;
        margin: 0.8rem 0 1.2rem 0;
        line-height: 1.4;
    }
    
    .testimonial-avatar {
        width: 36px;
        height: 36px;
        font-size: 0.7rem;
    }
    
    .testimonial-info h4 {
        font-size: 13px;
    }
    
    .testimonial-stars {
        font-size: 11px;
    }
    
    .testimonials-row .testimonial-card:first-child,
    .testimonials-row .testimonial-card:last-child {
        opacity: 1;
        transform: scale(1);
    }
    
    .test-card-3 {
        bottom: 0;
    }
}

/* Mobile Small (320px-575px) - 3 cards per row (very compact) */
@media (max-width: 575px) {
    .testimonials-section {
        padding: 0px 0px;
    }
    
    .testimonials-container {
        margin-top: 120px;
        gap: 1rem;
    }
    
    .testimonials-row {
        gap: 0.5rem;
        padding: 0 0.25rem;
    }
    
    .testimonials-row .testimonial-card:nth-child(n+4) {
        display: none;
    }
    
    .testimonial-card {
        min-width: 100px;
        max-width: 100px;
        padding: 1rem;
    }
    
    .testimonial-card p {
        font-size: 11px;
        margin: 0.6rem 0 1rem 0;
        line-height: 1.3;
    }
    
    .testimonial-avatar {
        width: 32px;
        height: 32px;
        font-size: 0.6rem;
        margin-right: 0.8rem;
    }
    
    .testimonial-info h4 {
        font-size: 11px;
    }
    
    .testimonial-stars {
        font-size: 10px;
    }
    
    .testimonial-card .d-flex svg {
        width: 15px;
        height: 15px;
        margin-right: 0px;
    }
    
    .testimonials-row .testimonial-card:first-child,
    .testimonials-row .testimonial-card:last-child {
        opacity: 1;
        transform: scale(1);
    }
    
    .test-card-3 {
        bottom: 0;
    }
}

/* ===================================
   BLOGS RESPONSIVE BREAKPOINTS
   =================================== */

@media (max-width: 1024px) {
    .blogs-grid {
        grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
        gap: 1.5rem;
    }
}

/* ===================================
   CONTACT RESPONSIVE BREAKPOINTS
   =================================== */

@media (max-width: 1200px) {
    .contact-content {
        padding: 0 1.5rem;
    }
    
    .contact-details-row {
        gap: 2rem;
    }
    
    .social-profiles-row {
        gap: 1.5rem;
    }
}

@media (max-width: 992px) {
    .contact-section {
        padding: 5rem 0;
    }
    
    .contact-header-row {
        margin-bottom: 3rem;
    }
    
    .contact-details-row {
        gap: 1.5rem;
    }
    
    .contact-item {
        min-width: 220px;
        padding: 1rem 1.5rem;
    }
    
    .profile-link {
        min-width: 140px;
        padding: 0.75rem 1.25rem;
    }
}

/* ===================================
   DARK MODE & ACCESSIBILITY
   =================================== */

@media (prefers-color-scheme: dark) {
    .contact-section {
        background: #0a0a0a;
    }
    
    .contact-nav,
    .contact-item {
        background: #1a1a1a;
        border-color: rgba(255, 255, 255, 0.08);
    }
    
    .profile-link {
        background: rgba(255, 255, 255, 0.01);
        border-color: rgba(255, 255, 255, 0.12);
    }
}

@media (prefers-contrast: high) {
    .contact-nav,
    .contact-item,
    .profile-link {
        border-width: 2px;
    }
    
    .btn-get-started {
        border: 2px solid #ffffff;
    }
}