/* Global Styles */
:root {
    --primary-color: #3b82f6;
    --secondary-color: #1d4ed8;
    --accent-color: #60a5fa;
    --text-color: #1e3d59;
    --light-text: #64748b;
    --background: #ffffff;
    --light-background: #f0f9ff;
    --border-color: #e5e7eb;
    --card-shadow: 0 4px 6px -1px rgba(59, 130, 246, 0.1), 0 2px 4px -1px rgba(59, 130, 246, 0.06);
    --transition: all 0.3s ease;
}

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

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    overflow-x: hidden;
}

/* Navigation */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 5%;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.nav-logo {
    width: 24px;
    height: auto;
    margin-right: 0.5rem;
    filter: brightness(0) saturate(100%) invert(31%) sepia(98%) saturate(1936%) hue-rotate(210deg) brightness(97%) contrast(107%);
}

.logo a {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--primary-color);
    text-decoration: none;
    letter-spacing: -0.5px;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 2.5rem;
}

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

.nav-links a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -4px;
    left: 0;
    background-color: var(--primary-color);
    transition: var(--transition);
}

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

.nav-toggle {
    display: none;
    font-size: 1.5rem;
    cursor: pointer;
}

/* Hero Section */
.hero {
    min-height: 80vh;
    padding: 8rem 5% 12rem;
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.9), rgba(29, 78, 216, 0.9));
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
    z-index: 1;
}

.hero-content h1 {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
    line-height: 1.2;
    letter-spacing: -1px;
}

.hero-content p {
    font-size: 1.25rem;
    margin-bottom: 2.5rem;
    opacity: 0.9;
}

/* Buttons */
.cta-button {
    display: inline-block;
    padding: 1rem 2.5rem;
    background: white;
    color: var(--primary-color);
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    transition: var(--transition);
    box-shadow: var(--card-shadow);
}

.cta-button.secondary {
    background: var(--accent-color);
    color: white;
}

.cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 12px -2px rgba(59, 130, 246, 0.15);
}

/* Features Section */
.features {
    padding: 0 5%;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2.5rem;
    background: #f8f9fa;
    position: relative;
    margin-top: -8rem;
    padding-bottom: 5rem;
    z-index: 2;
}

.feature-card {
    background: white;
    padding: 2.5rem;
    border-radius: 16px;
    box-shadow: var(--card-shadow);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    margin-top: -3rem;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 16px rgba(0,0,0,0.1);
}

.feature-header {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    cursor: pointer;
    margin-bottom: 1rem;
    position: relative;
}

.feature-header i {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 0;
}

.dropdown-arrow {
    font-size: 1rem !important;
    position: absolute;
    right: 0;
    transition: transform 0.3s ease;
}

.feature-dropdown {
    margin-top: 2rem;
    text-align: left;
    max-height: 0;
    opacity: 0;
    overflow: hidden;
    transition: max-height 0.5s ease-in-out, opacity 0.3s ease-in-out, margin 0.3s ease-in-out;
    margin-top: 0;
}

.feature-dropdown.expanded {
    max-height: 1000px;
    opacity: 1;
    margin-top: 2rem;
}

.expertise-block,
.projects-block,
.technologies {
    margin-bottom: 2rem;
}

.expertise-block h4,
.projects-block h4,
.technologies h4 {
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-size: 1.2rem;
}

.expertise-block ul {
    list-style: none;
    padding-left: 1rem;
}

.expertise-block li {
    margin-bottom: 0.5rem;
    position: relative;
}

.expertise-block li:before {
    content: "•";
    color: var(--primary-color);
    position: absolute;
    left: -1rem;
}

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

.project-item h5 {
    color: var(--text-color);
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
}

.project-item p {
    font-size: 0.9rem;
}

.tech-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.tech-tags span {
    background: var(--light-background);
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.8rem;
    color: var(--primary-color);
}

.feature-card i {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
}

.feature-card h3 {
    margin-bottom: 1rem;
    font-size: 1.5rem;
    color: var(--text-color);
}

.feature-card p {
    color: var(--light-text);
    font-size: 1rem;
}

/* Contact Section */
.contact-container {
    padding: 5rem 5%;
    background: #f8fafc;
}

.contact-wrapper {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    gap: 4rem;
    align-items: flex-start;
}

.contact-info {
    flex: 1;
}

.info-item {
    background: white;
    padding: 2rem;
    border-radius: 16px;
    box-shadow: var(--card-shadow);
}

.info-row {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem 0;
}

.info-row:first-child {
    padding-top: 0;
}

.info-row:last-child {
    padding-bottom: 0;
}

.info-row i {
    font-size: 1.5rem;
    color: var(--primary-color);
    width: 24px;
    text-align: center;
}

.info-row p {
    margin: 0;
    color: var(--text-color);
    padding: 0.5rem;
    border-radius: 8px;
    transition: var(--transition);
    cursor: pointer;
}

.info-row p:hover {
    background: var(--light-background);
}

.contact-form {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 2rem;
    background: white;
    padding: 2rem;
    border-radius: 16px;
    box-shadow: var(--card-shadow);
    width: 100%;
    max-width: 700px;
    transition: var(--transition);
}

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

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    color: var(--text-color);
    font-weight: 500;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    transition: var(--transition);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

.submit-btn {
    width: 100%;
    padding: 1rem;
    background: var(--primary-color);
    color: white;
    border: none;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
}

.submit-btn:hover {
    background: var(--secondary-color);
}

/* Footer */
footer {
    background: var(--text-color);
    color: white;
    padding: 4rem 5% 2rem;
}

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

.footer-section h4 {
    margin-bottom: 1.5rem;
    font-size: 1.25rem;
}

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

.footer-section ul li {
    margin-bottom: 0.75rem;
}

.footer-section a {
    color: white;
    text-decoration: none;
    opacity: 0.8;
    transition: var(--transition);
}

.footer-section a:hover {
    opacity: 1;
}

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

.social-links a {
    font-size: 1.5rem;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

/* Copy Notification */
.copy-notification {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    background: var(--primary-color);
    color: white;
    padding: 1rem 2rem;
    border-radius: 8px;
    display: none;
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 1000;
}

/* Mobile Responsive Styles */
@media screen and (max-width: 768px) {
    .hero {
        padding: 6rem 5% 8rem;
    }

    .hero-container {
        grid-template-columns: 1fr !important;
        gap: 2rem !important;
    }

    .hero-text {
        text-align: center;
    }

    .hero-text h1 {
        font-size: 3rem !important;
        text-align: center !important;
    }

    .hero-text p {
        font-size: 1.5rem !important;
        text-align: center !important;
    }

    .hero-logo-container {
        display: none !important;
    }

    .cta-buttons {
        text-align: center !important;
    }

    .features {
        grid-template-columns: 1fr;
        padding: 0 1rem;
    }

    .feature-card {
        padding: 1.5rem;
    }

    .choose-us-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        padding: 0 1rem;
    }

    .contact-wrapper {
        flex-direction: column;
        padding: 2rem 1rem;
    }

    .contact-info, .contact-form {
        width: 100%;
    }

    .footer-content {
        flex-direction: column;
        text-align: center;
        gap: 2rem;
    }

    .footer-section {
        width: 100%;
    }
}

@media screen and (max-width: 480px) {
    .hero h1 {
        font-size: 2.5rem !important;
    }

    .hero p {
        font-size: 1.25rem !important;
    }

    .feature-header h3 {
        font-size: 1.25rem;
    }

    .feature-dropdown {
        padding: 1rem;
    }

    .tech-tags {
        flex-wrap: wrap;
    }

    .tech-tags span {
        margin: 0.25rem;
    }
}

/* Media Queries */
@media (max-width: 768px) {
    .navbar {
        padding: 1rem;
    }

    .nav-toggle {
        display: block;
    }

    .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: white;
        padding: 1rem;
        box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    }

    .nav-links.active {
        display: flex;
        flex-direction: column;
        gap: 1rem;
    }

    .hero-content h1 {
        font-size: 2.5rem;
    }

    .hero-content p {
        font-size: 1.1rem;
    }

    .contact-container {
        grid-template-columns: 1fr;
        padding: 6rem 1rem;
    }

    .features {
        margin-top: -4rem;
    }

    .feature-card {
        margin-top: 0;
    }
}

/* Tech Stack Section */
.tech-stack {
    padding: 6rem 5%;
    background: var(--light-background);
    text-align: center;
}

.tech-stack h2 {
    margin-bottom: 3rem;
    font-size: 2.5rem;
}

.tech-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    justify-items: center;
    align-items: center;
}

.tech-item {
    padding: 2rem;
    background: white;
    border-radius: 12px;
    box-shadow: var(--card-shadow);
    transition: var(--transition);
}

.tech-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 16px rgba(0,0,0,0.1);
}

/* Services Page */
.services-grid {
    padding: 6rem 5%;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2.5rem;
}

.service-card {
    background: white;
    padding: 2.5rem;
    border-radius: 16px;
    box-shadow: var(--card-shadow);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 16px rgba(0,0,0,0.1);
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
}

/* About Page */
.about-content {
    padding: 6rem 5%;
}

.about-text {
    max-width: 800px;
    margin: 0 auto 4rem;
}

.about-text h2 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    text-align: center;
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2.5rem;
    margin-bottom: 6rem;
}

.value-card {
    text-align: center;
    padding: 2.5rem;
    background: white;
    border-radius: 16px;
    box-shadow: var(--card-shadow);
    transition: var(--transition);
}

.value-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 16px rgba(0,0,0,0.1);
}

/* Why Choose Us Section */
.why-choose-us {
    padding: 4rem 5%;
    text-align: center;
    background-color: #f8f9fa;
}

.why-choose-us h2 {
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: #333;
}

.choose-us-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.choose-us-card {
    padding: 2rem;
    background: white;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.choose-us-card:hover {
    transform: translateY(-5px);
}

.choose-us-card i {
    font-size: 2.5rem;
    color: #0066FF;
    margin-bottom: 1rem;
}

.choose-us-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: #333;
}

.choose-us-card p {
    color: #666;
    line-height: 1.6;
}

/* Media Queries for Why Choose Us Section */
@media (max-width: 768px) {
    .why-choose-us {
        padding: 3rem 5%;
    }
    
    .why-choose-us h2 {
        font-size: 2rem;
    }
    
    .choose-us-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
}

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

.feature-card,
.service-card,
.value-card {
    animation: fadeIn 0.6s ease-out forwards;
}

.copyable {
    transition: color 0.3s ease;
}

.copyable:hover {
    color: #007bff;
}

.copy-notification {
    display: none;
    position: fixed;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    background-color: #333;
    color: white;
    padding: 10px 20px;
    border-radius: 5px;
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 1000;
}
