/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    transition: all 0.3s ease;
}

/* Dark Mode Styles */
body.dark-mode {
    background-color: #000000;
    color: #ffffff;
}

body.light-mode {
    background-color: #ffffff;
    color: #000000;
}

/* Ensure proper contrast for all elements */
.dark-mode .btn-primary {
    background: #ffffff;
    color: #000000;
}

.light-mode .btn-primary {
    background: #000000;
    color: #ffffff;
}

.dark-mode .btn-secondary {
    background: transparent;
    color: #ffffff;
    border-color: #ffffff;
}

.light-mode .btn-secondary {
    background: transparent;
    color: #000000;
    border-color: #000000;
}

.dark-mode .btn-secondary:hover {
    background: #ffffff;
    color: #000000;
}

.light-mode .btn-secondary:hover {
    background: #000000;
    color: #ffffff;
}

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

/* Navigation */
.navbar {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    width: 100% !important;
    z-index: 1000 !important;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    padding: 20px 0;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    transform: translateY(0) !important;
    opacity: 1 !important;
}

.dark-mode .navbar {
    background: rgba(0, 0, 0, 0.95);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.light-mode .navbar {
    background: rgba(255, 255, 255, 0.95);
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

/* Force navbar to always be fixed and visible */
.navbar {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    width: 100% !important;
    z-index: 1000 !important;
    transform: translateY(0) !important;
    opacity: 1 !important;
    visibility: visible !important;
    display: block !important;
}

/* Desktop navbar always visible */
@media (min-width: 769px) {
    .navbar {
        position: fixed !important;
        top: 0 !important;
        left: 0 !important;
        right: 0 !important;
        width: 100% !important;
        z-index: 1000 !important;
        transform: translateY(0) !important;
        opacity: 1 !important;
    }
}

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

.logo-link {
    text-decoration: none;
    color: inherit;
}

.nav-logo h2 {
    font-weight: 800;
    font-size: 1.8rem;
    color: #ffffff;
    line-height: 1;
    margin: 0;
}

.nav-logo .media-text {
    font-weight: 900;
    font-size: 1.8rem;
}

.light-mode .nav-logo h2 {
    color: #000000;
}

.light-mode .logo-link {
    color: #000000;
}

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

.nav-menu a {
    text-decoration: none;
    color: #ffffff;
    font-weight: 500;
    transition: opacity 0.3s ease;
    position: relative;
}

.light-mode .nav-menu a {
    color: #000000;
}

.nav-menu a:hover {
    opacity: 0.7;
}

.nav-controls {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.theme-toggle {
    background: none;
    border: 1px solid #ffffff;
    color: #ffffff;
    padding: 8px 12px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 1rem;
}

.light-mode .theme-toggle {
    border: 1px solid #000000;
    color: #000000;
}

.dark-mode .theme-toggle:hover {
    background: #ffffff;
    color: #000000;
}

.light-mode .theme-toggle:hover {
    background: #000000;
    color: #ffffff;
}

.btn-contact {
    background: #4F46E5;
    color: #ffffff;
    padding: 12px 24px;
    text-decoration: none;
    border-radius: 6px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-contact:hover {
    background: #4338CA;
    transform: translateY(-1px);
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 4px;
}

.hamburger span {
    width: 25px;
    height: 2px;
    background: #ffffff;
    transition: 0.3s;
}

.light-mode .hamburger span {
    background: #000000;
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 20px 0 10px;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 30% 20%, rgba(255, 255, 255, 0.05) 0%, transparent 50%);
    pointer-events: none;
}

.dark-mode .hero::before {
    background: radial-gradient(circle at 30% 20%, rgba(255, 255, 255, 0.05) 0%, transparent 50%);
}

.light-mode .hero::before {
    background: radial-gradient(circle at 30% 20%, rgba(0, 0, 0, 0.05) 0%, transparent 50%);
}

.hero-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    position: relative;
    z-index: 2;
    gap: 4rem;
}

.hero-left {
    flex: 1;
    max-width: 50%;
    animation: fadeInUp 1s ease-out;
}

.hero-right {
    flex: 1;
    display: flex;
    justify-content: flex-end;
    align-items: center;
    animation: fadeInUp 1s ease-out 0.2s both;
}

.hero-greeting {
    font-size: 2.5rem;
    font-weight: 400;
    line-height: 1.2;
    margin-bottom: 2rem;
    color: inherit;
    letter-spacing: -0.01em;
}

.hero-description {
    font-size: 1rem;
    margin-bottom: 3rem;
    opacity: 0.8;
    line-height: 1.6;
    max-width: 500px;
    font-weight: 400;
}

.hero-main-title {
    text-align: right;
}

.hero-main-title h2 {
    font-family: 'Bebas Neue', cursive;
    font-size: 9rem;
    font-weight: 400;
    line-height: 0.9;
    margin: 0;
    letter-spacing: 0.02em;
}

.social-text, .media-text, .designer-text {
    color: #ffffff;
}

.light-mode .social-text, 
.light-mode .media-text, 
.light-mode .designer-text {
    color: #000000;
}

.hero-image {
    margin-top: 2rem;
    max-width: 300px;
}

.hero-img {
    width: 100%;
    height: auto;
    border-radius: 8px;
    object-fit: cover;
}

/* Mobile Hero Layout */
@media (max-width: 768px) {
    .hero-container {
        flex-direction: column;
        text-align: left;
        gap: 2rem;
        align-items: flex-start;
        padding-top: 120px;
    }
    
    .hero-left {
        max-width: 100%;
        order: 1;
        text-align: left;
    }
    
    .hero-right {
        order: 2;
        justify-content: flex-start;
        align-items: flex-start;
        width: 100%;
    }
    
    .hero-main-title {
        text-align: left;
        width: 100%;
    }
    
    .hero-main-title h2 {
        font-size: 9rem;
        text-align: left;
        line-height: 0.8;
    }
    
    .hero-greeting {
        font-size: 2rem;
        margin-bottom: 2rem;
        text-align: left;
    }
    
    .hero-description {
        order: 3;
        margin-top: 2rem;
        text-align: left;
    }
}

/* Extra small screens */
@media (max-width: 480px) {
    .hero-main-title h2 {
        font-size: 7rem;
        line-height: 0.8;
    }
    
    .hero-greeting {
        font-size: 1.8rem;
    }
    
    .hero-container {
        padding: 1rem;
        padding-top: 120px;
    }
}

/* Full Width Image Section */
.full-width-image {
    width: 100%;
    margin: 0;
    padding: 0;
    position: relative;
}

.full-width-img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    display: block;
}

/* Desktop image positioning */
@media (min-width: 769px) {
    .full-width-image {
        position: relative;
        margin-top: -50px;
        margin-left: calc((100vw - 1200px) / 2 + 20px);
        width: calc(70% - 40px);
        z-index: 1;
    }
    
    .hero {
        position: relative;
        z-index: 2;
        margin-bottom: 0;
    }
    
    .hero-container {
        position: relative;
        z-index: 3;
        margin-bottom: 0;
    }
}

/* Services Overview Section */
.services-overview {
    padding: 80px 0;
    background: inherit;
}

.services-title {
    text-align: center;
    font-size: 3rem;
    font-weight: 900;
    margin-bottom: 4rem;
    letter-spacing: 0.1em;
    color: inherit;
}

.services-grid-overview {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.service-card-overview {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 2rem;
    text-align: left;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.light-mode .service-card-overview {
    background: rgba(0, 0, 0, 0.05);
    border: 1px solid rgba(0, 0, 0, 0.1);
}

.service-card-overview:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.1);
}

.light-mode .service-card-overview:hover {
    background: rgba(0, 0, 0, 0.1);
}

.service-icon-overview {
    font-size: 2rem;
    margin-bottom: 1.5rem;
    color: inherit;
}

.service-card-overview h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: inherit;
}

.service-card-overview p {
    font-size: 0.95rem;
    line-height: 1.6;
    opacity: 0.8;
    color: inherit;
}

/* Responsive Design for Services Overview */
@media (max-width: 768px) {
    .services-grid-overview {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .services-title {
        font-size: 2rem;
        margin-bottom: 2rem;
    }
    
    .full-width-img {
        height: 250px;
    }
}

@media (max-width: 1024px) and (min-width: 769px) {
    .services-grid-overview {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Pricing Section */
.pricing-section {
    padding: 80px 0;
    background: inherit;
}

.pricing-title {
    text-align: center;
    font-size: 3rem;
    font-weight: 900;
    margin-bottom: 4rem;
    letter-spacing: 0.1em;
    color: inherit;
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    max-width: 1400px;
    margin: 0 auto;
}

.pricing-card {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 2rem;
    text-align: left;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.light-mode .pricing-card {
    background: rgba(0, 0, 0, 0.05);
    border: 1px solid rgba(0, 0, 0, 0.1);
}

.pricing-card:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.1);
}

.light-mode .pricing-card:hover {
    background: rgba(0, 0, 0, 0.1);
}

.pricing-icon {
    font-size: 2rem;
    margin-bottom: 1.5rem;
    color: inherit;
}

.pricing-card h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: inherit;
}

.pricing-card p {
    font-size: 0.95rem;
    line-height: 1.6;
    opacity: 0.8;
    color: inherit;
}

.package-features {
    list-style: none;
    padding: 0;
    margin: 0;
}

.package-features li {
    font-size: 0.9rem;
    line-height: 1.6;
    margin-bottom: 0.8rem;
    color: inherit;
    opacity: 0.9;
    padding-left: 0;
}

/* Responsive Design for Pricing */
@media (max-width: 768px) {
    .pricing-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .pricing-title {
        font-size: 2rem;
        margin-bottom: 2rem;
    }
}

@media (max-width: 1024px) and (min-width: 769px) {
    .pricing-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 1200px) and (min-width: 1025px) {
    .pricing-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    margin-bottom: 3rem;
}

.btn {
    padding: 18px 36px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    display: inline-block;
    border: 1px solid currentColor;
    cursor: pointer;
    font-size: 1rem;
    background: none;
    color: inherit;
    position: relative;
    overflow: hidden;
    letter-spacing: 0.01em;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.dark-mode .btn-primary:hover {
    box-shadow: 0 10px 25px rgba(255, 255, 255, 0.1);
}

.light-mode .btn-primary:hover {
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.hero-image {
    position: relative;
}

.hero-img {
    width: 100%;
    max-width: 500px;
    height: auto;
    border-radius: 0;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.image-placeholder {
    width: 100%;
    height: 500px;
    background: currentColor;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    opacity: 0.1;
    border-radius: 0;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1);
}

.dark-mode .image-placeholder {
    box-shadow: 0 20px 60px rgba(255, 255, 255, 0.05);
}

.light-mode .image-placeholder {
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1);
}

.image-placeholder i {
    font-size: 4rem;
    opacity: 0.3;
}

/* Section Headers */
.section-header {
    text-align: center;
    margin-bottom: 5rem;
    position: relative;
}

.section-header h2 {
    font-size: 3rem;
    font-weight: 800;
    color: inherit;
    margin-bottom: 1.5rem;
    letter-spacing: -0.02em;
    position: relative;
}

.section-header h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: currentColor;
    opacity: 0.3;
}

/* Projects Section */
.projects {
    padding: 120px 0;
    background: inherit;
    position: relative;
}

.projects::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 70% 80%, rgba(255, 255, 255, 0.03) 0%, transparent 50%);
    pointer-events: none;
}

.dark-mode .projects::before {
    background: radial-gradient(circle at 70% 80%, rgba(255, 255, 255, 0.03) 0%, transparent 50%);
}

.light-mode .projects::before {
    background: radial-gradient(circle at 70% 80%, rgba(0, 0, 0, 0.03) 0%, transparent 50%);
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2.5rem;
    position: relative;
    z-index: 2;
}

.project-card {
    background: inherit;
    border: 1px solid currentColor;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    opacity: 0.9;
    position: relative;
    overflow: hidden;
}

.project-card:hover {
    opacity: 1;
    transform: translateY(-5px);
}

.project-image {
    height: 250px;
    background: currentColor;
    position: relative;
    display: flex;
    align-items: center;
}

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

.project-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: currentColor;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.project-card:hover .project-overlay {
    opacity: 0.2;
}

.project-overlay i {
    font-size: 3rem;
    opacity: 0.5;
}

.project-content {
    padding: 1.5rem;
}

.project-content h3 {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.project-content p {
    opacity: 0.7;
    margin-bottom: 1rem;
}

.project-year {
    padding: 0.3rem 0.8rem;
    font-size: 0.8rem;
    font-weight: 600;
}

.dark-mode .project-year {
    background: #ffffff;
    color: #000000;
}

.light-mode .project-year {
    background: #000000;
    color: #ffffff;
}

/* Services Section */
.services {
    padding: 120px 0;
    background: inherit;
    position: relative;
}

.services::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 20% 50%, rgba(255, 255, 255, 0.02) 0%, transparent 50%);
    pointer-events: none;
}

.dark-mode .services::before {
    background: radial-gradient(circle at 20% 50%, rgba(255, 255, 255, 0.02) 0%, transparent 50%);
}

.light-mode .services::before {
    background: radial-gradient(circle at 20% 50%, rgba(0, 0, 0, 0.02) 0%, transparent 50%);
}

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

.service-card {
    background: inherit;
    padding: 2.5rem;
    border: 1px solid currentColor;
    text-align: center;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    opacity: 0.9;
    position: relative;
    overflow: hidden;
}

.service-card:hover {
    opacity: 1;
    transform: translateY(-5px);
}

.service-icon {
    width: 80px;
    height: 80px;
    background: currentColor;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    font-size: 2rem;
    opacity: 0.1;
}

.service-card h3 {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.service-card p {
    opacity: 0.7;
    line-height: 1.6;
}

/* About Section */
.about {
    padding: 100px 0;
    background: inherit;
}

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

.about-text h2 {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 2rem;
}

.about-features {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.feature {
    display: flex;
    gap: 1.5rem;
    align-items: flex-start;
}

.feature-number {
    font-weight: 800;
    font-size: 1.2rem;
    opacity: 0.7;
    flex-shrink: 0;
}

.feature-content h3 {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.feature-content p {
    opacity: 0.7;
    line-height: 1.6;
}

.about-image {
    position: relative;
}

.image-container {
    width: 100%;
    height: 400px;
    background: currentColor;
    position: relative;
    opacity: 0.1;
}

.about-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 0;
}

.floating-card {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    padding: 1.5rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    opacity: 0.9;
}

.dark-mode .floating-card {
    background: #ffffff;
    color: #000000;
}

.light-mode .floating-card {
    background: #000000;
    color: #ffffff;
}

.floating-card:hover {
    transform: translate(-50%, -50%) scale(1.05);
}

.floating-card i {
    font-size: 2rem;
}

.floating-card span {
    font-weight: 600;
}

/* Stats Section */
.stats {
    padding: 100px 0;
    position: relative;
    overflow: hidden;
}

.stats::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 50% 50%, rgba(255, 255, 255, 0.05) 0%, transparent 70%);
    pointer-events: none;
}

.dark-mode .stats::before {
    background: radial-gradient(circle at 50% 50%, rgba(255, 255, 255, 0.05) 0%, transparent 70%);
}

.light-mode .stats::before {
    background: radial-gradient(circle at 50% 50%, rgba(0, 0, 0, 0.05) 0%, transparent 70%);
}

.dark-mode .stats {
    background: #ffffff;
    color: #000000;
}

.light-mode .stats {
    background: #000000;
    color: #ffffff;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 3rem;
    text-align: center;
    position: relative;
    z-index: 2;
}

.stat-item h3 {
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 0.5rem;
}

.stat-item p {
    font-size: 1.1rem;
    opacity: 0.8;
}

/* Testimonials Section */
.testimonials {
    padding: 100px 0;
    background: inherit;
}

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

.testimonial-card {
    background: inherit;
    padding: 2rem;
    border: 1px solid currentColor;
    transition: all 0.3s ease;
    opacity: 0.8;
}

.testimonial-card:hover {
    opacity: 1;
    transform: translateY(-5px);
}

.stars {
    display: flex;
    gap: 0.3rem;
    margin-bottom: 1rem;
    color: #ffffff;
}

.light-mode .stars {
    color: #000000;
}

.testimonial-card p {
    opacity: 0.7;
    line-height: 1.6;
    margin-bottom: 1.5rem;
    font-style: italic;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.author-avatar {
    width: 50px;
    height: 50px;
    background: currentColor;
    opacity: 0.3;
    overflow: hidden;
    border-radius: 50%;
}

.author-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.author-info h4 {
    font-weight: 600;
    margin-bottom: 0.2rem;
}

.author-info span {
    opacity: 0.7;
    font-size: 0.9rem;
}

/* FAQ Section */
.faq {
    padding: 100px 0;
    background: inherit;
}

.faq-grid {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    border-bottom: 1px solid currentColor;
    margin-bottom: 1rem;
    opacity: 0.7;
}

.faq-item:hover {
    opacity: 1;
}

.faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 0;
    cursor: pointer;
    transition: all 0.3s ease;
}

.faq-question h3 {
    font-size: 1.1rem;
    font-weight: 600;
}

.faq-question i {
    transition: transform 0.3s ease;
}

.faq-item.active .faq-question i {
    transform: rotate(45deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.faq-item.active .faq-answer {
    max-height: 200px;
}

.faq-answer p {
    padding: 0 0 1.5rem 0;
    opacity: 0.7;
    line-height: 1.6;
}

/* Contact Section */
.contact {
    padding: 100px 0;
    background: inherit;
}

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

.contact-info h2 {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 2rem;
}

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

.contact-details {
    margin-bottom: 2rem;
}

.contact-item {
    margin-bottom: 1.5rem;
}

.contact-item h4 {
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.contact-item p {
    opacity: 0.7;
    margin: 0;
}

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

.social-links a {
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: all 0.3s ease;
    opacity: 0.7;
}

.dark-mode .social-links a {
    background: #ffffff;
    color: #000000;
}

.light-mode .social-links a {
    background: #000000;
    color: #ffffff;
}

.social-links a:hover {
    opacity: 1;
    transform: translateY(-2px);
}

.contact-form {
    background: inherit;
    padding: 3rem;
    border: 1px solid currentColor;
    position: relative;
    overflow: hidden;
}

.contact-form::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    transition: left 0.5s ease;
}

.dark-mode .contact-form::before {
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
}

.light-mode .contact-form::before {
    background: linear-gradient(90deg, transparent, rgba(0, 0, 0, 0.1), transparent);
}

.contact-form:hover::before {
    left: 100%;
}

.form-group {
    margin-bottom: 2rem;
    position: relative;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 1.2rem 1rem;
    border: 1px solid currentColor;
    background: inherit;
    color: inherit;
    font-size: 1rem;
    transition: all 0.3s ease;
    font-family: inherit;
    position: relative;
    z-index: 2;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.dark-mode .form-group input:focus,
.dark-mode .form-group select:focus,
.dark-mode .form-group textarea:focus {
    box-shadow: 0 5px 15px rgba(255, 255, 255, 0.1);
}

.light-mode .form-group input:focus,
.light-mode .form-group select:focus,
.light-mode .form-group textarea:focus {
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

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

/* Form label animation */
.form-group label {
    position: absolute;
    top: 1.2rem;
    left: 1rem;
    color: inherit;
    opacity: 0.7;
    transition: all 0.3s ease;
    pointer-events: none;
    z-index: 3;
}

.form-group input:focus + label,
.form-group input:not(:placeholder-shown) + label,
.form-group textarea:focus + label,
.form-group textarea:not(:placeholder-shown) + label {
    top: -0.5rem;
    left: 0.5rem;
    font-size: 0.8rem;
    opacity: 1;
    background: inherit;
    padding: 0 0.5rem;
}

/* Footer */
.footer {
    padding: 60px 0 20px;
}

.dark-mode .footer {
    background: #ffffff;
    color: #000000;
}

.light-mode .footer {
    background: #000000;
    color: #ffffff;
}

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

.footer-logo h3 {
    font-size: 1.8rem;
    font-weight: 800;
    margin-bottom: 1rem;
}

.footer-logo p {
    opacity: 0.7;
    margin-bottom: 1rem;
}

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

.footer-column h4 {
    font-weight: 600;
    margin-bottom: 1rem;
}

.footer-column ul {
    list-style: none;
}

.footer-column ul li {
    margin-bottom: 0.5rem;
}

.footer-column ul li a {
    color: inherit;
    text-decoration: none;
    transition: opacity 0.3s ease;
    opacity: 0.7;
}

.dark-mode .footer-column ul li a {
    color: #000000;
}

.light-mode .footer-column ul li a {
    color: #ffffff;
}

.footer-column ul li a:hover {
    opacity: 1;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid;
    opacity: 0.7;
}

.dark-mode .footer-bottom {
    border-top-color: #000000;
}

.light-mode .footer-bottom {
    border-top-color: #ffffff;
}

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

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

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

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes scaleIn {
    from {
        opacity: 0;
        transform: scale(0.95);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes float {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-8px);
    }
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.02);
    }
}

@keyframes shimmer {
    0% {
        background-position: -200% 0;
    }
    100% {
        background-position: 200% 0;
    }
}

@keyframes smoothFadeIn {
    from {
        opacity: 0;
        transform: translateY(15px) scale(0.98);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

/* Add smooth transitions to all interactive elements */
.btn, .project-card, .service-card, .testimonial-card, .faq-item, .social-links a {
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

/* Enhanced hover effects */
.project-card:hover {
    transform: translateY(-8px) scale(1.01);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.12);
}

.dark-mode .project-card:hover {
    box-shadow: 0 15px 35px rgba(255, 255, 255, 0.08);
}

.service-card:hover {
    transform: translateY(-6px) scale(1.01);
    box-shadow: 0 12px 25px rgba(0, 0, 0, 0.08);
}

.dark-mode .service-card:hover {
    box-shadow: 0 12px 25px rgba(255, 255, 255, 0.06);
}

.testimonial-card:hover {
    transform: translateY(-4px) scale(1.005);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
}

.dark-mode .testimonial-card:hover {
    box-shadow: 0 8px 20px rgba(255, 255, 255, 0.06);
}

/* Hero elements */
.hero-image {
}

.floating-card {
}

/* Shimmer effect for buttons */
.btn-primary {
    position: relative;
    overflow: hidden;
}

.btn-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s ease;
}

.dark-mode .btn-primary::before {
    background: linear-gradient(90deg, transparent, rgba(0, 0, 0, 0.2), transparent);
}

.btn-primary:hover::before {
    left: 100%;
}

/* Staggered animation for grid items */
.projects-grid .project-card:nth-child(1) { animation-delay: 0.1s; }
.projects-grid .project-card:nth-child(2) { animation-delay: 0.2s; }
.projects-grid .project-card:nth-child(3) { animation-delay: 0.3s; }
.projects-grid .project-card:nth-child(4) { animation-delay: 0.4s; }
.projects-grid .project-card:nth-child(5) { animation-delay: 0.5s; }
.projects-grid .project-card:nth-child(6) { animation-delay: 0.6s; }

.services-grid .service-card:nth-child(1) { animation-delay: 0.1s; }
.services-grid .service-card:nth-child(2) { animation-delay: 0.2s; }
.services-grid .service-card:nth-child(3) { animation-delay: 0.3s; }
.services-grid .service-card:nth-child(4) { animation-delay: 0.4s; }
.services-grid .service-card:nth-child(5) { animation-delay: 0.5s; }
.services-grid .service-card:nth-child(6) { animation-delay: 0.6s; }

/* Smooth page transitions */
* {
    transition: color 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94), 
                background-color 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94), 
                border-color 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

/* Prevent horizontal scroll */
html, body {
    overflow-x: hidden;
    width: 100%;
}

/* Ensure all elements respect container width */
* {
    box-sizing: border-box;
}

/* Fix for mobile viewport */
@supports (-webkit-touch-callout: none) {
    .hero {
        min-height: -webkit-fill-available;
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .container {
        padding: 0 15px;
    }
    
    .hamburger {
        display: flex;
    }
    
    .navbar {
        position: fixed !important;
        top: 0 !important;
        left: 0 !important;
        right: 0 !important;
        width: 100% !important;
        z-index: 1000 !important;
        transform: translateY(0) !important;
        opacity: 1 !important;
    }
    
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 80px;
        flex-direction: column;
        width: 100%;
        text-align: center;
        transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
        padding: 2rem 0;
        backdrop-filter: blur(20px);
        -webkit-backdrop-filter: blur(20px);
        z-index: 999;
    }
    
    .dark-mode .nav-menu {
        background: rgba(0, 0, 0, 0.95);
        border-top: 1px solid rgba(255, 255, 255, 0.1);
    }
    
    .light-mode .nav-menu {
        background: rgba(255, 255, 255, 0.95);
        border-top: 1px solid rgba(0, 0, 0, 0.1);
    }
    
    .nav-menu.active {
        left: 0;
    }
    
    .nav-menu li {
        margin: 1rem 0;
    }
    
    .nav-menu a {
        font-size: 1.2rem;
        padding: 0.5rem 0;
        display: block;
    }
    
    .hero {
        padding: 100px 0 60px;
        min-height: 100vh;
    }
    
    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 3rem;
        padding: 0 15px;
    }
    
    .hero-title {
        font-size: 2.8rem;
        line-height: 1.2;
        margin-bottom: 1rem;
    }
    
    .hero-subtitle {
        font-size: 1.4rem;
        margin-bottom: 1.5rem;
    }
    
    .hero-description {
        font-size: 1.1rem;
        margin-bottom: 2.5rem;
        max-width: 100%;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: center;
        gap: 1rem;
    }
    
    .btn {
        width: 100%;
        max-width: 280px;
        padding: 16px 24px;
    }
    
    .hero-image {
        order: -1;
    }
    
    .image-placeholder {
        height: 300px;
    }
    
    .section-header h2 {
        font-size: 2.2rem;
        margin-bottom: 1rem;
    }
    
    .section-header {
        margin-bottom: 3rem;
    }
    
    .projects {
        padding: 80px 0;
    }
    
    .projects-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .project-card {
        margin: 0 10px;
    }
    
    .services {
        padding: 80px 0;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .service-card {
        padding: 2rem 1.5rem;
        margin: 0 10px;
    }
    
    .about-content {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .about-text h2 {
        font-size: 2.2rem;
        margin-bottom: 2rem;
    }
    
    .feature {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }
    
    .feature-number {
        font-size: 1.5rem;
    }
    
    .stats {
        padding: 60px 0;
    }
    
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }
    
    .stat-item h3 {
        font-size: 2.2rem;
        margin-bottom: 0.5rem;
    }
    
    .stat-item p {
        font-size: 0.9rem;
        margin-bottom: 0;
    }
    
    .testimonials {
        padding: 80px 0;
    }
    
    .testimonials-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .testimonial-card {
        padding: 1.5rem;
        margin: 0 10px;
    }
    
    .faq {
        padding: 80px 0;
    }
    
    .faq-question h3 {
        font-size: 1rem;
        line-height: 1.4;
    }
    
    .contact {
        padding: 80px 0;
    }
    
    .contact-content {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .contact-info h2 {
        font-size: 2.2rem;
        margin-bottom: 1.5rem;
    }
    
    .contact-form {
        padding: 2rem 1.5rem;
        margin: 0 10px;
    }
    
    .footer {
        padding: 40px 0 20px;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }
    
    .footer-links {
        grid-template-columns: repeat(3, 1fr);
        gap: 1.5rem;
    }
    
    .footer-column h4 {
        margin-bottom: 1rem;
    }
    
    .footer-column ul li {
        margin-bottom: 0.5rem;
    }
    
    .footer-column ul li a {
        font-size: inherit;
    }
    
    .footer-logo h3 {
        font-size: 1.8rem;
        margin-bottom: 1rem;
    }
    
    .footer-logo p {
        font-size: inherit;
        margin-bottom: 1rem;
    }
    
    .social-links {
        justify-content: center;
        margin-top: 1rem;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 10px;
    }
    
    .hero {
        padding: 80px 0 40px;
    }
    
    .hero-container {
        padding: 0 10px;
    }
    
    .hero-title {
        font-size: 2.2rem;
        line-height: 1.1;
    }
    
    .hero-subtitle {
        font-size: 1.2rem;
    }
    
    .hero-description {
        font-size: 1rem;
    }
    
    .section-header h2 {
        font-size: 1.8rem;
    }
    
    .btn {
        padding: 14px 20px;
        font-size: 0.95rem;
    }
    
    .project-card,
    .service-card,
    .testimonial-card {
        margin: 0 5px;
    }
    
    .contact-form {
        padding: 1.5rem 1rem;
        margin: 0 5px;
    }
    
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }
    
    .stat-item h3 {
        font-size: 1.8rem;
        margin-bottom: 0.3rem;
    }
    
    .stat-item p {
        font-size: 0.8rem;
        margin-bottom: 0;
    }
    
    .nav-menu {
        top: 70px;
        padding: 1.5rem 0;
    }
    
    .nav-menu a {
        font-size: 1.1rem;
    }
}

/* Extra small devices */
@media (max-width: 360px) {
    .hero-title {
        font-size: 1.8rem;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
    }
    
    .section-header h2 {
        font-size: 1.6rem;
    }
    
    .btn {
        padding: 12px 16px;
        font-size: 0.9rem;
    }
    
    .stats-grid {
        grid-template-columns: 1fr;
        gap: 0.8rem;
    }
    
    .stat-item h3 {
        font-size: 1.5rem;
        margin-bottom: 0.2rem;
    }
    
    .stat-item p {
        font-size: 0.75rem;
        margin-bottom: 0;
    }
    
    .footer {
        padding: 30px 0 15px;
    }
    
    .footer-links {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }
    
    .footer-column h4 {
        margin-bottom: 0.8rem;
    }
    
    .footer-column ul li a {
        font-size: inherit;
    }
    
    .footer-logo h3 {
        font-size: 1.6rem;
    }
    
    .footer-logo p {
        font-size: inherit;
    }
}

/* CRITICAL: Force navbar to always be fixed - highest priority */
.navbar {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    width: 100% !important;
    z-index: 9999 !important;
    transform: translateY(0) !important;
    opacity: 1 !important;
    visibility: visible !important;
    display: block !important;
    margin: 0 !important;
    padding: 20px 0 !important;
}