/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Poppins', sans-serif;
    line-height: 1.6;
    color: #333;
    overflow-x: hidden;
   
    min-height: 100vh;
    position: relative;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    position: relative;
    z-index: 5;
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    padding: 1rem 0;
    transition: all 0.3s ease;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-logo .logo-text {
    font-size: 1.5rem;
    font-weight: 700;
    background: linear-gradient(135deg, #6366f1, #8b5cf6);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
    margin: 0;
    padding: 0;
}

.nav-link {
    text-decoration: none;
    color: #333;
    font-weight: 500;
    transition: color 0.3s ease;
    position: relative;
    padding: 0.5rem 0;
}

.nav-link:hover,
.nav-link.active {
    color: #6366f1;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(135deg, #6366f1, #8b5cf6);
    transition: width 0.3s ease;
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    z-index: 1001;
}

.bar {
    width: 25px;
    height: 3px;
    background: #333;
    margin: 3px 0;
    transition: 0.3s;
    border-radius: 2px;
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    position: relative;
    overflow: hidden;
}
.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="50" cy="50" r="1" fill="white" opacity="0.1"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
    opacity: 0.3;
}

.hero-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    position: relative;
    z-index: 1;
}

.hero-content {
    color: white;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    line-height: 1.2;
}
.floating-icon {
    display: inline-block;
    font-size: 2rem;
    animation: floatIcon infinite ease-in-out;
    animation-delay: var(--delay, 0s);
}

@keyframes floatIcon {
    0%   { transform: translateY(0); }
    50%  { transform: translateY(-20px); }
    100% { transform: translateY(0); }
}

.title-line {
    display: block;
    font-size: 1.5rem;
    font-weight: 300;
    opacity: 0.9;
}

.title-name {
    display: block;
    font-size: 4rem;
    background: linear-gradient(135deg, #fbbf24, #f59e0b);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: glow 3s ease-in-out infinite alternate;
}

.title-role {
    display: block;
    font-size: 1.8rem;
    font-weight: 400;
    opacity: 0.9;
}

@keyframes glow {
    from {
        text-shadow: 0 0 20px rgba(251, 191, 36, 0.5);
    }
    to {
        text-shadow: 0 0 30px rgba(251, 191, 36, 0.8);
    }
}

.hero-description {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    text-decoration: none;
    border-radius: 8px;
    font-weight: 600;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.btn-primary {
    background: linear-gradient(135deg, #6366f1, #8b5cf6);
    color: white;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(99, 102, 241, 0.3);
}

.btn-secondary {
    background: transparent;
    color: white;
    border: 2px solid white;
}

.btn-secondary:hover {
    background: white;
    color: #6366f1;
    transform: translateY(-2px);
}

.btn-large {
    padding: 1rem 2rem;
    font-size: 1.1rem;
}

.hero-image {
    display: flex;
    justify-content: center;
    align-items: center;
}

.profile-card {
    position: relative;
    width: 300px;
    height: 300px;
}

.profile-image {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    overflow: hidden;
    border: 4px solid rgba(255, 255, 255, 0.3);
    position: relative;
    z-index: 2;
}

.profile-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.floating-elements {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

.floating-icon {
    position: absolute;
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: white;
    animation: float-icon 4s ease-in-out 2;
    animation-delay: var(--delay);
}

.floating-icon:nth-child(1) {
    top: -20px;
    left: 20px;
}

.floating-icon:nth-child(2) {
    top: 50%;
    right: -55px;
}

.floating-icon:nth-child(3) {
    bottom: -70px;
    left: 50%;
}

.floating-icon:nth-child(4) {
    bottom: 10px;
    left: -10%;
}
.floating-icon:nth-child(5) {
    top: -10%;
    
    right: 10%;
}
@keyframes float-icon {
    0%, 100% {
        transform: translateY(0px) rotate(0deg);
    }
    50% {
        transform: translateY(-20px) rotate(180deg);
    }
}

/* Section Styles */
section {
    padding: 5rem 0;
    position: relative;
}

section[id] {
    scroll-margin-top: 80px;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 3rem;
    background: linear-gradient(135deg, #6366f1, #8b5cf6);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    position: relative;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(135deg, #6366f1, #8b5cf6);
    border-radius: 2px;
}

/* About Hero Section */
.about-hero {
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    padding: 6rem 0;
}

.about-hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.about-hero-title {
    font-size: 3rem;
    font-weight: 700;
    color: #6366f1;
    margin-bottom: 1rem;
}

.about-hero-subtitle {
    font-size: 1.2rem;
    color: #6366f1;
    margin-bottom: 1rem;
}

.about-hero-description {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #64748b;
}

.about-hero-image {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 2rem 0;
    background: none;
}

.about-hero-image img {
    width: 320px;
    height: 220px;
    border-radius: 24px;
    object-fit: cover;
    box-shadow: 0 8px 32px rgba(99, 102, 241, 0.25), 0 2px 8px rgba(30, 41, 59, 0.10);
    background: #fff;
    transition: box-shadow 0.3s;
}

.about-hero-image img:hover {
    box-shadow: 0 16px 48px rgba(99, 102, 241, 0.5), 0 4px 16px rgba(30, 41, 59, 0.15);
}

.about-hero .fab, .about-hero .fas, .about-hero .fa {
    font-size: 2.5rem;
    color: #6366f1;
    background: #fff;
    border-radius: 50%;
    padding: 0.5rem;
    margin: 0 0.5rem;
    box-shadow: 0 2px 8px rgba(99, 102, 241, 0.08);
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

/* Values Section */
.values {
    background: white;
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.value-card {
    width: 100% !important  ;
    background: white;
    padding: 2rem;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.value-card:hover {
    transform: translateY(-10px);
}

.value-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #6366f1, #8b5cf6);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    font-size: 2rem;
    color: white;
}

.value-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: #1e293b;
}

.value-card p {
    color: #64748b;
    line-height: 1.6;
}

/* Services Section */
.services {
    background: #f8fafc;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.service-card {
    width: 100% !important;
    background: white;
    padding: 2.5rem;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.service-card:hover {
    transform: translateY(-10px);
}

.service-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #6366f1, #8b5cf6);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    font-size: 2rem;
    color: white;
}

.service-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: #1e293b;
}

.service-card p {
    color: #64748b;
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.service-features {
    list-style: none;
    padding: 0;
}

.service-features li {
    padding: 0.5rem 0;
    color: #64748b;
    position: relative;
    padding-left: 1.5rem;
}

.service-features li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: #6366f1;
    font-weight: bold;
}

/* Projects Section */
.projects {
    background: white;
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
}

.project-card {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.project-card:hover {
    transform: translateY(-10px);
}

.project-image {
    height: 200px;
    overflow: hidden;
}

.project-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.project-card:hover .project-image img {
    transform: scale(1.1);
}

.project-content {
    padding: 1.5rem;
}

.project-title {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: #1e293b;
}

.project-description {
    color: #64748b;
    margin-bottom: 1rem;
    line-height: 1.6;
}

.project-tech {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.tech-tag {
    background: linear-gradient(135deg, #6366f1, #8b5cf6);
    color: white;
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 500;
}

.project-links {
    display: flex;
    gap: 1rem;
}

.project-link {
    color: #6366f1;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.project-link:hover {
    color: #8b5cf6;
}

/* Skills Section */
.skills {
    background: #f8fafc;
}

.skills-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.skill-category {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.category-title {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    color: #1e293b;
    text-align: center;
}

.skill-items {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    gap: 1rem;
}

.skill-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 1rem;
    background: #f8fafc;
    border-radius: 10px;
    transition: transform 0.3s ease;
}

.skill-item:hover {
    transform: translateY(-5px);
    background: linear-gradient(135deg, #6366f1, #8b5cf6);
    color: white;
}

.skill-item i {
    font-size: 2rem;
    margin-bottom: 0.5rem;
}

.skill-item span {
    font-weight: 500;
    text-align: center;
}

/* Certificates Section */
.certificates {
    background: white;
}

.certificates-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.certificate-card {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
    border-left: 4px solid #6366f1;
}

.certificate-card:hover {
    transform: translateY(-10px);
}

.certificate-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #6366f1, #8b5cf6);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
    font-size: 1.5rem;
    color: white;
}

.certificate-content h3 {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: #1e293b;
}

.certificate-issuer {
    color: #6366f1;
    font-weight: 500;
    margin-bottom: 0.25rem;
}

.certificate-date {
    color: #64748b;
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
}

.certificate-description {
    color: #64748b;
    line-height: 1.6;
    margin-bottom: 1rem;
}

.certificate-link {
    color: #6366f1;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.certificate-link:hover {
    color: #8b5cf6;
}

/* Contact Hero Section */
.contact-hero {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    text-align: center;
    padding: 6rem 0;
}

.contact-hero-title {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.contact-hero-subtitle {
    font-size: 1.2rem;
    margin-bottom: 1rem;
    opacity: 0.9;
}

.contact-hero-description {
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0 auto;
    opacity: 0.9;
    line-height: 1.6;
}

/* Contact Info Section */
.contact-info-section {
    background: #f8fafc;
    padding: 4rem 0;
}

.contact-info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.contact-info-card {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.contact-info-card:hover {
    transform: translateY(-10px);
}

.contact-info-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #6366f1, #8b5cf6);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    font-size: 1.5rem;
    color: white;
}

.contact-info-card h3 {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
    color: #1e293b;
}

.contact-info-card p {
    color: #64748b;
    margin-bottom: 0.5rem;
}

.contact-note {
    font-size: 0.9rem;
    color: #6366f1;
    font-style: italic;
}

/* Contact Form Section */
.contact-form-section {
    background: white;
    padding: 4rem 0;
}

.contact-form-container {
    max-width: 800px;
    margin: 0 auto;
}

.contact-form-header {
    text-align: center;
    margin-bottom: 3rem;
}

.contact-form-header h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    background: linear-gradient(135deg, #6366f1, #8b5cf6);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.contact-form-header p {
    color: #64748b;
    font-size: 1.1rem;
}

.contact-form-detailed {
    background: white;
    padding: 3rem;
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 1rem;
    border: 2px solid #e2e8f0;
    border-radius: 10px;
    font-size: 1rem;
    transition: all 0.3s ease;
    background: white;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #6366f1;
    box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.1);
}

.form-group input:hover,
.form-group select:hover,
.form-group textarea:hover {
    border-color: #6366f1;
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
    color: #1e293b;
}

/* Checkbox styling */
.checkbox-group {
    margin-bottom: 2rem;
}

.checkbox-label {
    display: flex !important;
    align-items: center;
    gap: 0.75rem;
    cursor: pointer;
    font-weight: 400;
    color: #64748b;
    margin-bottom: 0 !important;
    padding: 0.5rem 0;
}

.checkbox-label input[type="checkbox"] {
    width: auto;
    margin: 0;
    cursor: pointer;
    accent-color: #6366f1;
}

.checkbox-label:hover {
    color: #6366f1;
}

/* Social Section */
.social-section {
    background: #f8fafc;
    padding: 4rem 0;
}

.social-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
}

.social-card {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
    text-decoration: none;
    color: inherit;
}

.social-card:hover {
    transform: translateY(-10px);
}

.social-card .social-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #6366f1, #8b5cf6);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    font-size: 1.5rem;
    color: white;
}

.social-card h3 {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
    color: #1e293b;
}

.social-card p {
    color: #64748b;
    font-size: 0.9rem;
}

/* FAQ Section */
.faq-section {
    background: white;
    padding: 4rem 0;
}

.faq-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.faq-item {
    background: #f8fafc;
    padding: 2rem;
    border-radius: 15px;
    transition: transform 0.3s ease;
}

.faq-item:hover {
    transform: translateY(-5px);
}

.faq-item h3 {
    font-size: 1.2rem;
    margin-bottom: 1rem;
    color: #1e293b;
}

.faq-item p {
    color: #64748b;
    line-height: 1.6;
}

/* Messages */
.messages {
    position: fixed;
    top: 100px;
    right: 20px;
    z-index: 10000;
    max-width: 400px;
}

.message {
    padding: 1rem 1.5rem;
    margin-bottom: 1rem;
    border-radius: 10px;
    font-weight: 500;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    animation: slideInRight 0.3s ease;
}

.message-success {
    background: linear-gradient(135deg, #10b981, #059669);
    color: white;
}

.message-error {
    background: linear-gradient(135deg, #ef4444, #dc2626);
    color: white;
}

@keyframes slideInRight {
    from {
        transform: translateX(100%);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

/* Footer */
.footer {
    background: #1e293b;
    color: white;
    text-align: center;
    padding: 2rem 0;
}

/* Responsive Design */

@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }

    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background-color: white;
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: 0 10px 27px rgba(0, 0, 0, 0.05);
        padding: 2rem 0;
    }

    .nav-menu.active {
        left: 0;
    }

    .nav-menu .nav-item {
        margin: 1rem 0;
    }

    .nav-menu .nav-link {
        font-size: 1.2rem;
    }

    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .title-name {
        font-size: 3rem;
    }

    .about-hero-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .timeline::before {
        left: 31px;
    }

    .timeline-item:nth-child(odd) .timeline-content,
    .timeline-item:nth-child(even) .timeline-content {
        margin-left: 70px;
        margin-right: 0;
    }

    .timeline-item:nth-child(odd) .timeline-content::before,
    .timeline-item:nth-child(even) .timeline-content::before {
        left: -15px;
    }

    .hero-container,
    .about-hero-content,
    .section {
        min-width: 100vw;
        padding: 0 20px;
    }

    .hero-content,
    .about-hero-text {
        min-width: 280px;
        max-width: 90vw;
    }

    .hero-container {
        display: flex;
        flex-direction: column;
        gap: 2rem;
        min-width: auto;
    }

    .hero-content {
        order: 1;
    }

    .hero-image {
        order: 2;
    }
    .about-hero-content {
        display: flex;
        flex-direction: column;
        gap: 2rem;
        min-width: auto;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .contact-form-detailed {
        padding: 2rem;
    }

    .faq-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2rem;
    }

    .title-name {
        font-size: 2.5rem;
    }

    .section-title {
        font-size: 2rem;
    }

    .container {
        padding: 0 15px;
    }

    .contact-hero-title {
        font-size: 2rem;
    }

    .about-hero-title {
        font-size: 2rem;
    }

    .nav-container {
        padding: 0 15px;
    }

    .nav-menu {
        padding: 1rem 0;
    }
}

.team {
    padding: 60px 0;
    background: #f8fafc;
}

.team .section-title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 40px;
    color: #333;
}

.team-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 32px;
    justify-content: center;
}

.team-card {
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 4px 24px rgba(0,0,0,0.08);
    padding: 32px 24px 24px 24px;
    text-align: center;
    width: 280px;
    transition: transform 0.2s, box-shadow 0.2s;
}



.team-image img {
    width: 120px;
    height: 120px;
    object-fit: cover;
    border-radius: 50%;
    border: 4px solid #6366f1;
    margin-bottom: 16px;
    background: #e0e7ff;
}

.team-name {
    font-size: 1.25rem;
    font-weight: 600;
    color: #22223b;
    margin-bottom: 4px;
}

.team-role {
    font-size: 1rem;
    color: #6366f1;
    margin-bottom: 12px;
    font-weight: 500;
}

.team-bio {
    font-size: 0.98rem;
    color: #555;
    margin-bottom: 0;
}

.profile-links {
    display: flex;
    gap: 5rem;
}

.profile-link {
    color: #6366f1;
    margin-top: 1rem;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.1s ease;
}

@media (max-width: 900px) {
    .team-grid {
        gap: 24px;
    }
    .team-card {
        width: 220px;
        padding: 24px 12px 16px 12px;
    }
    .team-image img {
        width: 90px;
        height: 90px;
    }
}

@media (max-width: 600px) {
    .team-grid {
        flex-direction: column;
        align-items: center;
    }
    .team-card {
        width: 90vw;
        max-width: 340px;
    }
}

@media (hover: none) and (pointer: coarse) {

.nav-link:hover,
    .btn-primary:hover,
    .btn-secondary:hover,
    .service-card:hover,
    .project-card:hover,
    .certificate-card:hover,
    .team-card:hover {
        transform: none !important;
        box-shadow: inherit !important;
        background: inherit !important;
        color: inherit !important;
    }
    
    .nav-link:hover::after {
        width: 0 !important;
    }
    
    .project-card:hover .project-image img {
        transform: none !important;
    }

    .nav-link,
    .nav-link::after,
    .btn,
    .service-card,
    .project-card,
    .project-image img,
    .certificate-card,
    .team-card {
        transition: none !important;
    }
}


@media (max-width: 768px), (prefers-reduced-motion: reduce) {

.floating-icon {
        animation: none !important;
    }
    

    .title-name {
        animation: none !important;
        text-shadow: none !important;
    }

    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
}

/* --- MOBILE ENHANCEMENTS --- */
@media (max-width: 768px) {
  html, body {
    scroll-behavior: smooth !important;
  }
  .values-grid {
    width: 100vw !important;
    min-width: 100vw !important;
    margin-left: -20px;
    padding-left: 20px;
    box-sizing: border-box;
  }
  .value-card {
    width: 100vw !important;
    min-width: 90vw !important;
    max-width: 98vw !important;
    margin: 0 0 1.5rem 0;
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.7s cubic-bezier(0.4,0,0.2,1), transform 0.7s cubic-bezier(0.4,0,0.2,1);
  }
  .value-card.visible {
    opacity: 1 !important;
    transform: translateY(0) !important;
  }
  /* Fix overflow for horizontal scroll */
  .values-grid {
    overflow-x: auto;
    overflow-y: visible;
    -webkit-overflow-scrolling: touch;
  }
 
 
  
}

/* Hide value-card animation on desktop */
@media (min-width: 769px) {
  .value-card {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }
}

/* Scroll indicator style for mobile */
@media (max-width: 768px) {
  .scroll-indicator {
    display: block;
    text-align: center;
    color: #6366f1;
    font-size: 1rem;
    margin-top: 0.5rem;
    opacity: 0.8;
    font-style: italic;
    animation: fadeIn 1.2s;
  }
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 0.8; }
}

/* Popup message for contact form */
.popup-message {
  position: fixed;
  top: 80px;
  right: 30px;
  z-index: 9999;
  min-width: 220px;
  max-width: 90vw;
  padding: 1rem 1.5rem;
  border-radius: 10px;
  font-weight: 600;
  font-size: 1rem;
  box-shadow: 0 5px 20px rgba(0,0,0,0.15);
  opacity: 0;
  pointer-events: none;
  transform: translateY(-30px) scale(0.95);
  transition: opacity 0.4s, transform 0.4s;
}
.popup-message.visible {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0) scale(1);
}
.popup-success {
  background: linear-gradient(135deg, #10b981, #059669);
  color: #fff;
}
.popup-error {
  background: linear-gradient(135deg, #ef4444, #dc2626);
  color: #fff;
}

/* Simple transform effect for value and team cards */
.value-card, .team-card {
  transition: transform 0.35s cubic-bezier(0.4,0,0.2,1), box-shadow 0.35s;
}
.value-card:hover, .team-card:hover,
.value-card:active, .team-card:active {
  transform: translateY(-16px) scale(1.08);
  box-shadow: 0 16px 48px rgba(99,102,241,0.18), 0 4px 16px rgba(30,41,59,0.15);
}
@media (hover: none) and (pointer: coarse) {
  .value-card:hover, .team-card:hover {
    transform: none;
    box-shadow: inherit;
  }
  .value-card:active, .team-card:active {
    transform: scale(0.98);
    box-shadow: 0 2px 8px rgba(99,102,241,0.08);
  }
}

@media (max-width: 768px) {
  .values-indicator {
    display: flex !important;
    justify-content: center;
    align-items: center;
    gap: 0.5rem;
    margin: 1rem 0 0 0;
    padding-bottom: 1rem;
    background: none;
    min-height: 24px;
    z-index: 10;
  }
  .values-indicator-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #e5e7eb;
    transition: background 0.3s;
    display: inline-block;
  }
  .values-indicator-dot.active {
    background: #6366f1;
  }
}
@media (min-width: 769px) {
  .values-indicator {
    display: none !important;
  }
}

/* Policy Pages Styles (Privacy Policy, Terms of Service, About Us) */
.policy-hero {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    text-align: center;
    padding: 6rem 0;
    position: relative;
}

.policy-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="50" cy="50" r="1" fill="white" opacity="0.1"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
    opacity: 0.3;
}

.policy-hero-content {
    position: relative;
    z-index: 1;
}

.policy-hero-title {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.policy-hero-subtitle {
    font-size: 1.2rem;
    margin-bottom: 1rem;
    opacity: 0.9;
}

.policy-hero-description {
    font-size: 1.1rem;
    max-width: 800px;
    margin: 0 auto;
    opacity: 0.9;
    line-height: 1.6;
}

.policy-content {
    background: white;
    padding: 4rem 0;
}

.policy-section {
    margin-bottom: 3rem;
    padding: 2rem;
    background: #f8fafc;
    border-radius: 15px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.policy-section:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
}

.policy-section-title {
    font-size: 1.8rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: #1e293b;
    background: linear-gradient(135deg, #6366f1, #8b5cf6);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.policy-subtitle {
    font-size: 1.3rem;
    font-weight: 600;
    margin: 1.5rem 0 1rem 0;
    color: #374151;
}

.policy-list {
    list-style: none;
    padding: 0;
    margin: 1rem 0;
}

.policy-list li {
    padding: 0.5rem 0;
    color: #64748b;
    position: relative;
    padding-left: 1.5rem;
    line-height: 1.6;
}

.policy-list li::before {
    content: '•';
    position: absolute;
    left: 0;
    color: #6366f1;
    font-weight: bold;
    font-size: 1.2rem;
}

.contact-info {
    background: #f1f5f9;
    padding: 1.5rem;
    border-radius: 10px;
    margin: 1rem 0;
}

.contact-info p {
    margin: 0.5rem 0;
    color: #64748b;
}

.contact-info a {
    color: #6366f1;
    text-decoration: none;
    font-weight: 500;
}

.contact-info a:hover {
    color: #8b5cf6;
}

.policy-footer {
    background: linear-gradient(135deg, #6366f1, #8b5cf6);
    color: white;
    padding: 2rem;
    border-radius: 15px;
    text-align: center;
    margin-top: 2rem;
}

.policy-footer p {
    margin: 0.5rem 0;
    font-weight: 500;
}

/* About Us Specific Styles */
.values-grid-about {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin: 2rem 0;
}

.value-item {
    background: white;
    padding: 1.5rem;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease;
}

.value-item:hover {
    transform: translateY(-5px);
}

.value-item h3 {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
    color: #1e293b;
}

.value-item p {
    color: #64748b;
    line-height: 1.6;
}

.services-grid-about {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
    margin: 2rem 0;
}

.service-item {
    background: white;
    padding: 1.5rem;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease;
}

.service-item:hover {
    transform: translateY(-5px);
}

.service-item h3 {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
    color: #1e293b;
}

.service-item p {
    color: #64748b;
    line-height: 1.6;
}

.process-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
    margin: 2rem 0;
}

.step {
    background: white;
    padding: 1.5rem;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    text-align: center;
    transition: transform 0.3s ease;
}

.step:hover {
    transform: translateY(-5px);
}

.step h3 {
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
    color: #1e293b;
}

.step p {
    color: #64748b;
    line-height: 1.6;
    font-size: 0.9rem;
}

.cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin-top: 2rem;
    flex-wrap: wrap;
}

/* Enhanced Footer Styles */
.footer {
    background: #1e293b;
    color: white;
    padding: 4rem 0 2rem 0;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.footer-section {
    padding: 0 1rem;
}

.footer-title {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    background: linear-gradient(135deg, #6366f1, #8b5cf6);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.footer-description {
    color: #cbd5e1;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.footer-subtitle {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: #f8fafc;
}

.footer-links {
    list-style: none;
    padding: 0;
}

.footer-links li {
    margin-bottom: 0.5rem;
}

.footer-links a {
    color: #cbd5e1;
    text-decoration: none;
    transition: color 0.3s ease;
    font-size: 0.95rem;
}

.footer-links a:hover {
    color: #6366f1;
}

.footer-social {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
}

.social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, #6366f1, #8b5cf6);
    color: white;
    border-radius: 50%;
    text-decoration: none;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.social-link:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(99, 102, 241, 0.3);
}

.footer-contact p {
    color: #cbd5e1;
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.95rem;
}

.footer-contact i {
    color: #6366f1;
    width: 16px;
}

.footer-bottom {
    border-top: 1px solid #334155;
    padding-top: 2rem;
}

.footer-bottom-content {
    text-align: center;
    color: #94a3b8;
}

.footer-bottom-content p {
    margin: 0.25rem 0;
    font-size: 0.9rem;
}

/* Responsive Design for Policy Pages */
@media (max-width: 768px) {
    .policy-hero-title {
        font-size: 2.5rem;
    }
    
    .policy-section {
        padding: 1.5rem;
        margin-bottom: 2rem;
    }
    
    .policy-section-title {
        font-size: 1.5rem;
    }
    
    .values-grid-about,
    .services-grid-about {
        grid-template-columns: 1fr;
    }
    
    .process-steps {
        grid-template-columns: 1fr;
    }
    
    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .footer-social {
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .policy-hero-title {
        font-size: 2rem;
    }
    
    .policy-hero {
        padding: 4rem 0;
    }
    
    .policy-content {
        padding: 2rem 0;
    }
    
    .footer {
        padding: 3rem 0 1.5rem 0;
    }
}

/* SEO-friendly improvements */
.policy-content h1,
.policy-content h2,
.policy-content h3 {
    scroll-margin-top: 100px;
}

.policy-content a {
    color: #6366f1;
    text-decoration: none;
    border-bottom: 1px solid transparent;
    transition: border-color 0.3s ease;
}

.policy-content a:hover {
    border-bottom-color: #6366f1;
}

/* Print styles for policy pages */
@media print {
    .policy-hero {
        background: white !important;
        color: black !important;
    }
    
    .policy-section {
        box-shadow: none !important;
        border: 1px solid #ddd;
    }
    
    .footer {
        display: none;
    }
}
