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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: #f0f0f0;
    color: #333;
    line-height: 1.7;
}

/* Navigation */
/* Navigation */
.navbar {
    background-color: #2c3e50;
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

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

/* Logo Styles */
.nav-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    z-index: 1001;
}

.logo-icon-wrapper {
    background: linear-gradient(135deg, #2c3e50, #34495e);
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 10px rgba(52, 152, 219, 0.3);
}

.logo-icon {
    font-size: 1.5rem;
    color: #3498db;
}

.logo-text {
    color: #ffffff;
    font-weight: 800;
    font-size: 1.3rem;
    letter-spacing: 2px;
    line-height: 1;
}

.logo-text small {
    display: block;
    font-size: 0.55rem;
    font-weight: 400;
    letter-spacing: 3px;
    color: #bdc3c7;
}

/* Navigation Menu */
.nav-menu {
    display: flex;
    list-style: none;
    gap: 30px;
    margin: 0;
    padding: 0;
}

.nav-menu li {
    margin: 0;
}

.nav-menu a {
    color: #ecf0f1;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s;
    position: relative;
    font-size: 1rem;
}

.nav-menu a:hover {
    color: #3498db;
}

.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: #3498db;
    transition: width 0.3s;
}

.nav-menu a:hover::after {
    width: 100%;
}

/* Mobile Menu Toggle */
.menu-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
    z-index: 1001;
}

.menu-toggle .bar {
    width: 25px;
    height: 3px;
    background-color: #ecf0f1;
    margin: 3px 0;
    transition: all 0.3s;
    border-radius: 2px;
}

/* Mobile Menu Toggle Animation */
.menu-toggle.active .bar:nth-child(1) {
    transform: rotate(-45deg) translate(-5px, 6px);
}

.menu-toggle.active .bar:nth-child(2) {
    opacity: 0;
}

.menu-toggle.active .bar:nth-child(3) {
    transform: rotate(45deg) translate(-5px, -6px);
}

/* Tablet Styles */
@media (max-width: 768px) {
    .menu-toggle {
        display: flex;
    }
    
    .nav-menu {
        position: fixed;
        top: 70px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 70px);
        background-color: #2c3e50;
        flex-direction: column;
        align-items: center;
        justify-content: flex-start;
        padding-top: 30px;
        gap: 25px;
        transition: left 0.3s ease;
        box-shadow: 0 10px 20px rgba(0,0,0,0.2);
    }
    
    .nav-menu.active {
        left: 0;
    }
    
    .nav-menu a {
        font-size: 1.2rem;
        padding: 10px 20px;
        width: 100%;
        text-align: center;
    }
    
    .nav-menu a::after {
        display: none;
    }
    
    .nav-menu a:hover {
        background-color: rgba(52, 152, 219, 0.1);
    }
}

/* Mobile Styles */
@media (max-width: 480px) {
    .nav-container {
        height: 60px;
        padding: 0 15px;
    }
    
    .nav-menu {
        top: 60px;
        height: calc(100vh - 60px);
        gap: 20px;
    }
    
    .logo-text {
        font-size: 1.1rem;
    }
    
    .logo-text small {
        font-size: 0.5rem;
    }
    
    .logo-icon-wrapper {
        width: 35px;
        height: 35px;
    }
    
    .logo-icon {
        font-size: 1.2rem;
    }
}



/* Hero Section */
.hero {
    background: linear-gradient(135deg, #2c3e50 0%, #3498db 100%);
    color: white;
    text-align: center;
    padding: 150px 20px 100px;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-content {
    max-width: 800px;
}

.hero h1 {
    font-size: 3.5rem;
    margin-bottom: 20px;
    letter-spacing: -1px;
}

.hero-subtitle {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: #ecf0f1;
}

.hero-description {
    font-size: 1.1rem;
    margin-bottom: 30px;
    color: #bdc3c7;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
}

.btn {
    display: inline-block;
    padding: 12px 30px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s;
}

.btn-primary {
    background-color: #e74c3c;
    color: white;
}

.btn-primary:hover {
    background-color: #c0392b;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.3);
}

.btn-secondary {
    background-color: transparent;
    color: white;
    border: 2px solid white;
}

.btn-secondary:hover {
    background-color: white;
    color: #2c3e50;
    transform: translateY(-2px);
}

.btn-small {
    padding: 8px 20px;
    font-size: 0.9rem;
    background-color: #3498db;
    color: white;
}

.btn-small:hover {
    background-color: #2980b9;
    transform: translateY(-2px);
}

/* Sections */
.section {
    padding: 80px 20px;
}

.section-alt {
    background-color: inherit;
}

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

.section-title {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 50px;
    color: #2c3e50;
    position: relative;
}

.section-title::after {
    content: '';
    display: block;
    width: 60px;
    height: 3px;
    background-color: #3498db;
    margin: 15px auto 0;
}

/* About Section */
.about-content {
    display: grid;
    grid-template-columns: 300px 1fr;
    gap: 50px;
    align-items: start;
}

.about-image {
    background-color: #f0f0f0;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}

.about-image img {
    width: 100%;
    height: auto;
    display: block;
}

.profile-placeholder {
    width: 100%;
    height: 300px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: #999;
}

.profile-placeholder i {
    font-size: 5rem;
    margin-bottom: 15px;
}

.about-text p {
    margin-bottom: 20px;
    font-size: 1.1rem;
}

.about-highlights {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    margin-top: 30px;
}

.highlight-item {
    display: flex;
    align-items: center;
    gap: 10px;
    background-color: #f0f0f0;
    padding: 10px 15px;
    border-radius: 5px;
}

.highlight-item i {
    color: #3498db;
}

/* Skills Section */
.skills-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.skill-category {
    background: white;
    padding: 25px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.08);
}

.skill-category h3 {
    color: #2c3e50;
    margin-bottom: 20px;
    font-size: 1.3rem;
}

.skill-category i {
    color: #3498db;
    margin-right: 10px;
}

.skill-category ul {
    list-style: none;
}

.skill-category li {
    padding: 8px 0;
    border-bottom: 1px solid #eee;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.skill-category li:last-child {
    border-bottom: none;
}

.skill-level {
    font-size: 0.85rem;
    color: #7f8c8d;
    background-color: #ecf0f1;
    padding: 2px 8px;
    border-radius: 3px;
}

/* Projects Section */
.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 18px;
}

.project-card {
    background: white;
    border-radius: 10px;
    padding: 20px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.08);
    transition: all 0.3s;
}

.project-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.15);
}

.project-icon {
    font-size: 3rem;
    color: #3498db;
    margin-bottom: 0px;
}

.project-card h3 {
    color: #2c3e50;
    margin-bottom: 15px;
    font-size: 1.5rem;
}

.project-tech {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin: 10px 0;
}

.tech-tag {
    background-color: #ecf0f1;
    color: #2c3e50;
    padding: 3px 8px;
    border-radius: 15px;
    font-size: 0.85rem;
    font-weight: 400;
}

.project-links {
    margin-top: 20px;
}

.project-coming-soon {
    border: 2px dashed #bdc3c7;
    background-color: #fafafa;
}

/* Experience Section */
.timeline {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 2px;
    background-color: #3498db;
    transform: translateX(-50%);
}

.timeline-item {
    position: relative;
    margin-bottom: 50px;
}

.timeline-item:last-child {
    margin-bottom: 0;
}

.timeline-content {
    background: white;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.08);
    position: relative;
    max-width: 70%;
    margin-left: auto;
}

.timeline-item:nth-child(odd) .timeline-content {
    margin-left: 0;
    margin-right: auto;
}

.timeline-content h3 {
    color: #2c3e50;
    margin-bottom: 5px;
}

.timeline-company {
    color: #3498db;
    font-weight: 600;
    margin-bottom: 5px;
}

.timeline-period {
    color: #7f8c8d;
    font-size: 0.9rem;
    margin-bottom: 15px;
}

.timeline-content ul {
    padding-left: 20px;
}

.timeline-content li {
    margin-bottom: 10px;
}

/* Contact Section */
.contact-intro {
    text-align: center;
    font-size: 1.2rem;
    margin-bottom: 40px;
    color: #555;
}

.contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 25px;
}

.contact-card {
    background: white;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.08);
    text-align: center;
    transition: all 0.3s;
}

.contact-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.15);
}

.contact-card i {
    font-size: 2.5rem;
    color: #3498db;
    margin-bottom: 15px;
}

.contact-card h3 {
    color: #2c3e50;
    margin-bottom: 10px;
}

.contact-card a, .contact-card p {
    color: #555;
    text-decoration: none;
    font-size: 1.1rem;
}

.contact-card a:hover {
    color: #3498db;
}

/* Footer */
.footer {
    background-color: #2c3e50;
    color: #ecf0f1;
    padding: 30px 20px;
    text-align: center;
}

.footer-links {
    margin-top: 15px;
}

.footer-links a {
    color: #ecf0f1;
    font-size: 1.5rem;
    margin: 0 10px;
    text-decoration: none;
    transition: color 0.3s;
}

.footer-links a:hover {
    color: #3498db;
}

/* Responsive Design */
@media (max-width: 768px) {
    .nav-menu {
        gap: 15px;
        font-size: 0.9rem;
    }
    
    .hero h1 {
        font-size: 2.5rem;
    }
    
    .hero-subtitle {
        font-size: 1.2rem;
    }
    
    .about-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .about-image {
        max-width: 300px;
        margin: 0 auto;
    }
    
    .timeline::before {
        left: 30px;
    }
    
    .timeline-content {
        max-width: calc(100% - 60px);
        margin-left: 60px;
    }
    
    .timeline-item:nth-child(odd) .timeline-content {
        margin-left: 60px;
        margin-right: 0;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .projects-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .nav-menu {
        gap: 10px;
        font-size: 0.8rem;
    }
    
    .hero h1 {
        font-size: 2rem;
    }
    
    .hero-buttons {
        flex-direction: column;
        gap: 15px;
    }
    
    .btn {
        width: 100%;
        text-align: center;
    }
}



/* Logo Styles */
.nav-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
}

.logo-icon {
    font-size: 2rem;
    color: #3498db;
    animation: pulse 2s infinite;
}

.logo-text {
    color: #ffffff;
    font-weight: 800;
    font-size: 1.5rem;
    letter-spacing: 2px;
    line-height: 1;
}

.logo-text small {
    display: block;
    font-size: 0.55rem;
    font-weight: 400;
    letter-spacing: 3px;
    color: #bdc3c7;
}

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









.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 30px;
}

.service-card {
    background: white;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.08);
    text-align: center;
    transition: all 0.3s;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.15);
}

.service-card i {
    font-size: 3rem;
    color: #3498db;
    margin-bottom: 20px;
}

.service-card h3 {
    color: #2c3e50;
    margin-bottom: 15px;
}

.service-card p {
    color: #555;
    line-height: 1.6;
}





@media (max-width: 768px) {
    /* Remove the vertical line */
    .timeline::before {
        display: none;
    }
    
    /* Make timeline items full width */
    .timeline-content {
        max-width: 100%;
        margin-left: 0;
        margin-right: 0;
    }
    
    .timeline-item:nth-child(odd) .timeline-content {
        margin-left: 0;
        margin-right: 0;
    }
    
    /* Add more spacing between items */
    .timeline-item {
        margin-bottom: 30px;
    }
}




.company {
  display: inline-block;
  text-align: center;
}

.company-gradient-border {
  position: relative;
  padding: 3px;
  background: linear-gradient(
    90deg,
    #ff6b6b,
    #4ecdc4,
    #45b7d1,
    #96ceb4,
    #ffeaa7,
    #ff6b6b
  );
  background-size: 300% 300%;
  animation: companyGradientShift 6s ease-in-out infinite;
  border-radius: 12px;
}

.company-gradient-inner {
  padding: 30px 45px;
  background: rgba(10, 20, 40, 0.9);
  border-radius: 10px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}

.company-gradient-name {
  display: block;
  font-family: 'Arial', sans-serif;
  font-size: 2.4rem;
  font-weight: 800;
  color: #ffffff;
  letter-spacing: 3px;
  text-transform: uppercase;
  line-height: 1.1;
}

.company-gradient-accent {
  background: linear-gradient(135deg, #ff6b6b, #4ecdc4, #45b7d1);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.company-gradient-tagline {
  display: block;
  font-family: 'Arial', sans-serif;
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.7);
  letter-spacing: 3px;
  text-transform: uppercase;
  font-weight: 500;
}

@keyframes companyGradientShift {
  0%, 100% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
}

/* Mobile Responsive */
@media (max-width: 768px) {
  .company-gradient-inner {
    padding: 22px 25px;
    gap: 8px;
  }
  
  .company-gradient-name {
    font-size: 1.7rem;
    letter-spacing: 2px;
  }
  
  .company-gradient-tagline {
    font-size: 0.6rem;
    letter-spacing: 2px;
  }
}





/* Team Section Styles */
.team-card {
    padding: 25px 20px 30px;
}

.team-photo {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 15px;
    border: 3px solid #3498db;
}

.team-card h3 {
    margin-bottom: 5px;
    font-size: 1.2rem;
}

.team-position {
    color: #3498db;
    font-size: 0.95rem;
    font-weight: 500;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .team-photo {
        width: 100px;
        height: 100px;
    }
}

@media (max-width: 480px) {
    .team-photo {
        width: 80px;
        height: 80px;
    }
}