:root {
    --primary: #4facfe;
    --primary-dark: #00f2fe;
    --secondary: #10b981;
    --dark: #1e293b;
    --light: #f8fafc;
    --gray: #64748b;
    --light-gray: #e2e8f0;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', sans-serif;
    color: var(--dark);
    line-height: 1.6;
    overflow-x: hidden;
    background-color: var(--light);
    transition: all 0.3s ease;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    line-height: 1.2;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background-color: rgba(255, 255, 255, 0.95);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

header.scrolled {
    background-color: rgba(255, 255, 255, 0.98);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 0;
}

.logo {
    font-size: 24px;
    font-weight: 700;
    text-decoration: none;
    display: flex;
    align-items: center;
}

.logo i {
    margin-right: 10px;
    font-size: 28px;
}

.nav-links {
    display: flex;
    list-style: none;
}

.nav-links li {
    margin-left: 30px;
}

.nav-links a {
    text-decoration: none;
    color: var(--dark);
    font-weight: 500;
    font-size: 16px;
    transition: color 0.3s ease;
    position: relative;
}

.nav-links a:hover {
    color: var(--primary);
}

.nav-links a:after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    background: var(--primary);
    bottom: -5px;
    left: 0;
    transition: width 0.3s ease;
}

.nav-links a:hover:after {
    width: 100%;
}

.nav-links a.active {
    color: var(--primary);
}

.nav-links a.active:after {
    width: 100%;
}

.cta-button {
    background: linear-gradient(45deg, var(--primary), var(--primary-dark));
    color: white;
    padding: 10px 20px;
    border-radius: 30px;
    font-weight: 600;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
}

.cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(79, 172, 254, 0.3);
    color: white;
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    font-size: 24px;
    color: var(--dark);
    cursor: pointer;
}

/* Hero Section */
.hero {
    height: 100vh;
    min-height: 700px;
    display: flex;
    align-items: center;
    padding-top: 80px;
    position: relative;
    overflow: hidden;
}

.hero-content {
    max-width: 600px;
    position: relative;
    z-index: 2;
}

.hero h1 {
    font-size: 48px;
    margin-bottom: 20px;
    line-height: 1.2;
}

.hero p {
    font-size: 18px;
    margin-bottom: 30px;
    opacity: 0.9;
}

.hero-buttons {
    display: flex;
    gap: 15px;
    margin-top: 30px;
}

.btn {
    padding: 12px 25px;
    border-radius: 30px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-block;
}

.btn5 {
    padding: 12px 25px;
    border-radius: 30px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-block;
    background-color: blue;
}

.btn-primary {
    background: linear-gradient(45deg, var(--primary), var(--primary-dark));
    color: white;
    box-shadow: 0 4px 15px rgba(79, 172, 254, 0.3);
}


.btn-primary1 {
    background: blue;
    color: white;
    box-shadow: 0 4px 15px rgba(79, 172, 254, 0.3);
   
}


.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(79, 172, 254, 0.4);
}

.btn-secondary {
    background-color: transparent;
    color: var(--dark);
    border: 2px solid var(--primary);
}

.btn-secondary:hover {
    background-color: rgba(79, 172, 254, 0.1);
    transform: translateY(-3px);
}

.scrolling-text {
    margin-top: 30px;
    padding: 10px;
    background: rgba(79, 172, 254, 0.1);
    border-radius: 30px;
    display: inline-block;
}

.scrolling-text p {
    margin: 0;
    font-size: 14px;
    color: var(--primary);
}

.scrolling-text i {
    margin: 0 5px;
}

.hero-image {
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    max-width: 50%;
    z-index: 1;
}

.hero-image img {
    width: 100%;
    height: auto;
    max-width: 600px;
}

/* About Section */
.section {
    padding: 100px 0;
    position: relative;
    overflow: hidden;
}

.section-title {
    text-align: center;
    margin-bottom: 60px;
}

.section-title h2 {
    font-size: 36px;
    color: var(--dark);
    margin-bottom: 15px;
}

.section-title p {
    color: var(--gray);
    max-width: 700px;
    margin: 0 auto;
}

.about-content {
    display: flex;
    align-items: center;
    gap: 50px;
}

.about-image {
    flex: 1;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    transform: perspective(1000px) rotateY(-10deg);
    transition: transform 0.5s ease;
}

.about-image:hover {
    transform: perspective(1000px) rotateY(0deg);
}

.about-image img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.5s ease;
}

.about-image:hover img {
    transform: scale(1.05);
}

.about-text {
    flex: 1;
}

.about-text h3 {
    font-size: 28px;
    margin-bottom: 20px;
    color: var(--dark);
}

.about-text p {
    margin-bottom: 20px;
    color: var(--gray);
}

.about-features {
    margin-top: 30px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
}

.feature-item {
    background: white;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.feature-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.feature-icon {
    width: 50px;
    height: 50px;
    background:rgb(0, 102, 254);
    color: rgb(255, 255, 255);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 15px;
    font-size: 20px;
}

.feature-text h4 {
    font-size: 18px;
    margin-bottom: 5px;
    color: var(--dark);
}

.feature-text p {
    font-size: 14px;
    color: var(--gray);
    margin-bottom: 0;
}

/* Stats Section */
.stats-section {
    background: linear-gradient(135deg, rgba(79, 172, 254, 0.05) 0%, rgba(0, 242, 254, 0.05) 100%);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
}

.stats-item {
    background: white;
    padding: 40px 30px; /* Increased padding for icons */
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    text-align: center;
    transition: all 0.3s ease;
    position: relative; /* Needed for absolute positioning of icons */
    overflow: hidden; /* Keeps everything contained */
}

.stats-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

/* New icon styles */
.stats-item::after {
    content: '';
    position: absolute;
    top: 20px;
    right: 20px;
    width: 40px;
    height: 40px;
    background: linear-gradient(45deg, rgba(79, 172, 254, 0.1), rgba(0, 242, 254, 0.1));
    border-radius: 50%;
    opacity: 0;
    transition: all 0.3s ease;
}

.stats-icon {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    color: var(--primary);
    opacity: 0.15;
    transition: all 0.3s ease;
    z-index: 2;
}

.stats-item:hover .stats-icon,
.stats-item:hover::after {
    opacity: 0.3;
    transform: scale(1.1);
}

.stats-counter {
    font-size: 48px;
    font-weight: 700;
    background: linear-gradient(45deg, var(--primary), var(--primary-dark));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    margin-bottom: 10px; /* Slightly more space */
    transition: all 0.5s ease;
    display: block; /* Ensures proper spacing */
}

.stats-item h4 {
    font-size: 18px;
    margin-bottom: 5px;
    position: relative;
    z-index: 1;
}

.stats-item p {
    font-size: 14px;
    color: var(--gray);
    position: relative;
    z-index: 1;
}

/* Dark theme adjustments */
.dark-theme .stats-item {
    background-color: #1e293b;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.dark-theme .stats-icon {
    color: var(--primary-dark);
}

.dark-theme .stats-item::after {
    background: linear-gradient(45deg, rgba(79, 172, 254, 0.2), rgba(0, 242, 254, 0.2));
}

/* Services Section */
.services {
    background-color: var(--light);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.service-card {
    background-color: white;
    border-radius: 10px;
    padding: 30px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, rgba(79, 172, 254, 0.1), rgba(0, 242, 254, 0.1));
    z-index: -1;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.service-card:hover::before {
    opacity: 1;
}

.service-icon {
    width: 70px;
    height: 70px;
    background: rgb(0, 102, 254);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    color: white;
    font-size: 28px;
    box-shadow: 0 5px 15px rgba(79, 172, 254, 0.3);
}

.service-card h3 {
    font-size: 22px;
    margin-bottom: 15px;
}

.service-card p {
    color: var(--gray);
    margin-bottom: 20px;
}

.service-tech {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 20px;
}

.service-tech span {
    background: rgba(79, 172, 254, 0.1);
    color: var(--primary);
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 500;
}

.service-link {
    color: rgb(0, 102, 254);
    font-weight: 600;
    text-decoration: none;
    display: flex;
    align-items: center;
}

.service-link i {
    margin-left: 5px;
    transition: transform 0.3s ease;
}

.service-link:hover i {
    transform: translateX(5px);
}

.service-cta {
    text-align: center;
    margin-top: 50px;
    padding: 30px;
    background: linear-gradient(45deg, rgba(79, 172, 254, 0.1), rgba(0, 242, 254, 0.1));
    border-radius: 10px;
}

/* Portfolio Section */
.sectionp {
    margin-top: 0px;
    margin-bottom: 80px;
}
.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 30px;
}

.portfolio-item {
    position: relative;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.portfolio-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

.portfolio-image-container {
    position: relative;
    overflow: hidden;
}

.portfolio-image {
    width: 100%;
    height: 100%;
    margin-top: 10px;

    object-fit: cover;
    display: block;
    transition: transform 0.5s ease;
}

.portfolio-image1 {
    width: 100%;
    height: 100%;
    
    margin-top: 0px;
    object-fit: cover;
    display: block;
    transition: transform 0.5s ease;
}

.portfolio-image2 {
    width: 100%;
    height: 100%;
    margin-top: 10px;
    object-fit: cover;
    display: block;
    transition: transform 0.5s ease;
}

.portfolio-item:hover .portfolio-image {
    transform: scale(1.1);
}

.portfolio-item:hover .portfolio-image1 {
    transform: scale(1.1);
}

.portfolio-item:hover .portfolio-image2 {
    transform: scale(1.1);
}


.portfolio-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background: var(--primary);
    color: white;
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    z-index: 2;
}

.portfolio-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, rgba(79, 172, 254, 0.9), rgba(0, 242, 254, 0.9));
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: all 0.3s ease;
    padding: 20px;
    text-align: center;
    color: white;
}

.portfolio-item:hover .portfolio-overlay {
    opacity: 1;
}

.portfolio-overlay h3 {
    font-size: 22px;
    margin-bottom: 10px;
}

.portfolio-overlay p {
    margin-bottom: 20px;
    font-size: 14px;
}

.portfolio-cta {
    text-align: center;
    margin-top: 50px;
}

/* Skills Section */
.skills-section {
    background: linear-gradient(135deg, rgba(79, 172, 254, 0.05) 0%, rgba(0, 242, 254, 0.05) 100%);
}

.skills-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 15px;
    margin-top: 30px;
}

.skill-tag {
    display: inline-block;
    padding: 8px 20px;
    border-radius: 30px;
    font-weight: 600;
    font-size: 14px;
    color: white;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    animation: float 4s ease-in-out infinite;
}

.learning-tag {
    background-color: hsl(240, 70%, 85%);
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-8px); }
}

.skill-tag:hover {
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.learning-section {
    margin-top: 50px;
    padding-top: 50px;
    border-top: 1px solid rgba(79, 172, 254, 0.2);
}

.learning-section h3 {
    text-align: center;
    margin-bottom: 20px;
    color: var(--gray);
}

.learning-section p {
    text-align: center;
    margin-top: 20px;
    color: var(--gray);
}

/* Testimonials Section */
.testimonials {
    background-color: var(--light);
}

.testimonials-slider {
    max-width: 800px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.testimonial-card {
    background-color: white;
    border-radius: 10px;
    padding: 40px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.testimonial-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.client-image-container {
    width: 80px;
    height: 80px;
    margin: 0 auto 20px;
    position: relative;
}

.client-image {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid var(--primary);
}

.client-quote-mark {
    position: absolute;
    top: -15px;
    right: -15px;
    font-size: 40px;
    font-family: serif;
    line-height: 1;
    opacity: 0.5;
    color: var(--primary);
}

.testimonial-text {
    font-size: 16px;
    font-style: italic;
    color: var(--dark);
    margin-bottom: 20px;
    position: relative;
}

.client-name {
    font-weight: 600;
    margin-bottom: 5px;
}

.client-position {
    color: var(--gray);
    font-size: 14px;
}

.testimonial-rating {
    margin-top: 10px;
}

.testimonial-rating i {
    color: var(--primary);
}

/* CTA Section */
.cta-section {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    color: white;
    text-align: center;
    padding: 80px 0;
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: -50px;
    left: -50px;
    width: 100px;
    height: 100px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
}

.cta-section::after {
    content: '';
    position: absolute;
    bottom: -30px;
    right: -30px;
    width: 60px;
    height: 60px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
}

.cta-section h2 {
    font-size: 36px;
    margin-bottom: 20px;
    position: relative;
    z-index: 2;
}

.cta-section p {
    max-width: 700px;
    margin: 0 auto 30px;
    opacity: 0.9;
    position: relative;
    z-index: 2;
}

/* Contact Section */
.contact-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 50px;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.info-item {
    display: flex;
    align-items: center;
    gap: 20px;
}

.info-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(45deg, var(--primary), var(--primary-dark));
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
}

.info-text h4 {
    font-size: 18px;
    margin-bottom: 5px;
    color: var(--dark);
}

.info-text a, .info-text p {
    color: var(--gray);
    text-decoration: none;
    transition: color 0.3s ease;
}

.info-text a:hover {
    color: var(--primary);
}

.social-links {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}

.social-link {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: linear-gradient(45deg, var(--primary), var(--primary-dark));
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.social-link:hover {
    transform: translateY(-3px) scale(1.1);
    box-shadow: 0 5px 15px rgba(79, 172, 254, 0.3);
}

.contact-form {
    background-color: white;
    border-radius: 10px;
    padding: 40px;
    box-shadow: 0 5px 30px rgba(0, 0, 0, 0.1);
}

.form-group {
    margin-bottom: 20px;
}

.form-control {
    width: 100%;
    padding: 15px;
    border: 1px solid var(--light-gray);
    border-radius: 30px;
    font-family: 'Poppins', sans-serif;
    transition: all 0.3s ease;
}

.form-control:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(79, 172, 254, 0.1);
}

textarea.form-control {
    min-height: 150px;
    resize: vertical;
    border-radius: 20px;
}

.submit-btn {
    background: linear-gradient(45deg, var(--primary), var(--primary-dark));
    color: white;
    border: none;
    padding: 15px 30px;
    border-radius: 30px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    width: 100%;
    box-shadow: 0 4px 15px rgba(79, 172, 254, 0.3);
}

.submit-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(79, 172, 254, 0.4);
}

/* Footer */
footer {
    background-color: var(--dark);
    color: white;
    padding: 80px 0 30px;
    position: relative;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 60px;
}

.footer-logo {
    font-size: 24px;
    font-weight: 700;
    color: white;
    text-decoration: none;
    display: flex;
    align-items: center;
    margin-bottom: 20px;
}

.footer-logo i {
    margin-right: 10px;
}

.footer-about p {
    opacity: 0.8;
    margin-bottom: 20px;
}

.footer-links h3 {
    font-size: 18px;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 10px;
}

.footer-links h3:after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 40px;
    height: 2px;
    background: linear-gradient(45deg, var(--primary), var(--primary-dark));
}

.footer-links ul {
    list-style: none;
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: all 0.3s ease;
}

.footer-links a:hover {
    color: white;
    padding-left: 5px;
}

.footer-newsletter {
    margin-top: 20px;
}

.footer-newsletter h4 {
    margin-bottom: 15px;
}

.newsletter-form {
    display: flex;
    border-radius: 30px;
    overflow: hidden;
    background: white;
}

.newsletter-input {
    flex: 1;
    padding: 12px 15px;
    border: none;
    border-radius: 30px 0 0 30px;
    font-family: 'Poppins', sans-serif;
}

.newsletter-btn {
    background: linear-gradient(45deg, var(--primary), var(--primary-dark));
    color: white;
    border: none;
    padding: 0 20px;
    border-radius: 0 30px 30px 0;
    cursor: pointer;
    transition: all 0.3s ease;
}

.newsletter-btn:hover {
    opacity: 0.9;
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-bottom p {
    opacity: 0.7;
    font-size: 14px;
}

.footer-legal {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 15px;
}

.footer-legal a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    font-size: 12px;
    transition: color 0.3s ease;
}

.footer-legal a:hover {
    color: white;
}

/* Back to Top Button */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: linear-gradient(45deg, var(--primary), var(--primary-dark));
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 999;
}

.back-to-top {
    /* existing styles */
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.back-to-top.show {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

/* Theme Toggle */
.theme-toggle {
    position: fixed;
    bottom: 30px;
    right: 90px;
    width: 50px;
    height: 50px;
    background: linear-gradient(45deg, var(--primary), var(--primary-dark));
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
    z-index: 999;
}

.theme-toggle:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

/* Animated Background Shapes */
.bg-shapes {
    position: fixed;
    width: 100%;
    height: 100vh;
    pointer-events: none;
    z-index: -1;
}

.shape-1, .shape-2, .shape-3 {
    filter: blur(40px);
    opacity: 0.3;
    position: fixed;
    border-radius: 50%;
    animation: floating 3s ease-in-out infinite;
}

.shape-2 {
    animation-delay: 0.5s;
}

.shape-3 {
    animation-delay: 1s;
}

/* Animations */
@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

@keyframes floating {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
}

.pulse-effect {
    animation: pulse 2s infinite;
}

.floating {
    animation: floating 3s ease-in-out infinite;
}

/* Gradient Text */
.gradient-text {
    background: linear-gradient(45deg, var(--primary), var(--primary-dark));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    display: inline;
}

/* Glow Effect */
.glow-on-hover {
    transition: box-shadow 0.3s ease;
}

.glow-on-hover:hover {
    box-shadow: 0 0 15px rgba(79, 172, 254, 0.6);
}

/* Dark Theme */
.dark-theme {
    --primary: #4facfe;
    --primary-dark: #00f2fe;
    --dark: #f8fafc;
    --light: #1e293b;
    --gray: #94a3b8;
    --light-gray: #334155;
}

.dark-theme header {
    background-color: rgba(30, 41, 59, 0.95);
}

.dark-theme header.scrolled {
    background-color: rgba(30, 41, 59, 0.98);
}

.dark-theme .nav-links {
    background-color: rgba(30, 41, 59, 0.98);
}

.dark-theme .nav-links a {
    color: rgba(255, 255, 255, 0.8);
}

.dark-theme .nav-links a:hover,
.dark-theme .nav-links a.active {
    color: var(--primary);
}

.dark-theme .service-card,
.dark-theme .testimonial-card,
.dark-theme .contact-form,
.dark-theme .stats-item,
.dark-theme .feature-item {
    background-color: #1e293b;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}



.dark-theme .form-control {
    background-color: #1e293b;
    border-color: #334155;
    color: var(--dark);
}

.dark-theme .form-control:focus {
    box-shadow: 0 0 0 3px rgba(79, 172, 254, 0.2);
}

.dark-theme .newsletter-form {
    background: var(--light-gray);
}

.dark-theme .newsletter-input {
    background: var(--light-gray);
    color: var(--dark);
}

.dark-theme .form-control::placeholder {
    color: var(--light-gray);
}

.dark-theme footer {
    background-color: rgba(40, 55, 78, 0.95);
}


/* Responsive Styles */
@media (max-width: 1200px) {
    .hero-image {
        max-width: 45%;
        opacity: 0.8;
    }
}

@media (max-width: 992px) {
    .about-content {
        flex-direction: column;
    }
    
    .about-image, .about-text {
        flex: none;
        width: 100%;
    }
    
    .hero h1 {
        font-size: 42px;
    }
    
    .hero-image {
        position: relative;
        max-width: 100%;
        margin-top: 50px;
        opacity: 1;
        transform: none;
        top: auto;
        right: auto;
    }
    
    .contact-content {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .mobile-menu-btn {
        display: block;
    }
    
    .nav-links {
        position: fixed;
        top: 80px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 80px);
        background-color: var(--light);
        flex-direction: column;
        align-items: center;
        padding: 40px 0;
        transition: all 0.3s ease;
        box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
    }
    
    .nav-links.active {
        left: 0;
    }
    
    .nav-links li {
        margin: 15px 0;
    }
    
    .hero h1 {
        font-size: 36px;
    }
    
    .hero-buttons {
        flex-direction: column;
        gap: 10px;
    }
    
    .btn {
        width: 100%;
        text-align: center;
    }
    
    .section {
        padding: 60px 0;
    }
    
    .section-title h2 {
        font-size: 30px;
    }
    
    .portfolio-grid {
        grid-template-columns: 1fr;
    }
    
    .testimonial-card {
        padding: 30px 20px;
    }
    
    .contact-form {
        padding: 30px 20px;
    }
    
    .theme-toggle {
        right: 30px;
        bottom: 90px;
    }
}

@media (max-width: 576px) {
    .hero h1 {
        font-size: 32px;
    }
    
    .hero p {
        font-size: 16px;
    }
    
    .section-title h2 {
        font-size: 28px;
    }
    
    .stats-grid {
        grid-template-columns: 1fr 1fr;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
    }
    
    .theme-toggle {
        bottom: 140px;
    }
}