:root {
    /* Dark shades of Green, Grey, Red, Black, Blue */
    --color-green-dark: #0d4a2d;
    --color-green-medium: #1a6d42;
    --color-green-light: #2d8f5a;
    
    --color-grey-dark: #1a1a1a;
    --color-grey-medium: #2d2d2d;
    --color-grey-light: #4a4a4a;
    
    --color-red-dark: #6b1f1f;
    --color-red-medium: #8b2e2e;
    --color-red-light: #a84141;
    
    --color-blue-dark: #0a2540;
    --color-blue-medium: #1a3d5c;
    --color-blue-light: #2a5a8c;
    
    --color-black: #000000;
    --color-white: #ffffff;
    --color-accent: #00d4ff;

    --transition: all 0.3s ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: var(--color-grey-dark);
    color: var(--color-white);
    line-height: 1.6;
    overflow-x: hidden;
}

body.light-mode {
    --color-green-dark: #e8f5e9;
    --color-green-medium: #c8e6c9;
    --color-green-light: #a5d6a7;
    
    --color-grey-dark: #f5f5f5;
    --color-grey-medium: #eeeeee;
    --color-grey-light: #e0e0e0;
    
    --color-red-dark: #ffebee;
    --color-red-medium: #ffcdd2;
    --color-red-light: #ef9a9a;
    
    --color-blue-dark: #e3f2fd;
    --color-blue-medium: #bbdefb;
    --color-blue-light: #90caf9;
    
    --color-white: #000000;
    --color-black: #ffffff;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Navigation */
.navbar {
    position: fixed;
    top: 20px;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 0 20px;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: rgba(26, 26, 26, 0.7);
    backdrop-filter: blur(10px);
    padding: 15px 30px;
    border-radius: 50px;
    border: 1px solid rgba(45, 143, 90, 0.3);
}

.nav-logo {
    font-size: 24px;
    letter-spacing: 2.5px;
    font-family: 'Clash Display', sans-serif;
    font-weight: bold;
    background: linear-gradient(135deg, var(--color-green-light), var(--color-blue-light));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 30px;
}

.nav-link {
    color: var(--color-blue-medium);
    text-decoration: none;
    font-weight: 500;
    position: relative;
    transition: var(--transition);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--color-green-light), var(--color-blue-light));
    transition: width 0.3s ease;
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

.theme-toggle {
    position: relative;
    width: 50px;
    height: 30px;
}

.toggle-checkbox {
    display: none;
}

.toggle-label {
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    background: var(--color-grey-medium);
    border-radius: 15px;
    transition: var(--transition);
}

.toggle-checkbox:checked + .toggle-label {
    background: var(--color-blue-light);
}

.toggle-icon {
    font-size: 16px;
    transition: transform 0.3s ease;
}

.toggle-checkbox:checked + .toggle-label .toggle-icon {
    transform: rotate(180deg);
}

/* Hero Section */
.hero {
    position: relative;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background: linear-gradient(135deg, var(--color-grey-dark) 0%, var(--color-blue-dark) 50%, var(--color-green-dark) 100%);
}

#particleCanvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
     /* background-image: url('/Images/herobg.gif'); */
      background-image: url('/Images/herobGG.gif');
    background-size: cover;
    background-position:initial;
    filter: blur(5px) brightness(0.6);
    transform: scale(1.1);
    z-index: -1;
    /* background: radial-gradient(circle at 30% 50%, rgba(45, 143, 90, 0.15) 0%, transparent 50%),
                radial-gradient(circle at 70% 70%, rgba(42, 90, 140, 0.15) 0%, transparent 50%); */
    z-index: 1;
    animation: gradientShift 8s ease infinite;
}

@keyframes gradientShift {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.7;
    }
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 800px;
}

.hero-title {
    font-size: 80px;
    font-weight: 800;
    margin-bottom: 20px;
    line-height: 1.2;
}

.hero-title .word {
    display: inline-block;
    margin: 0 10px;
    background: linear-gradient(135deg, var(--color-green-light), var(--color-blue-light), var(--color-red-light));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: revealText 0.8s ease forwards;
    opacity: 0;
}

.hero-title .word:nth-child(1) {
    animation-delay: 0.2s;
}

.hero-title .word:nth-child(2) {
    animation-delay: 0.4s;
}

.hero-title .word:nth-child(3) {
    animation-delay: 0.6s;
}

@keyframes revealText {
    0% {
        opacity: 0;
        transform: translateY(30px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-subtitle {
    font-size: 25px;
    color: var(--color-grey-light);
    margin-bottom: 40px;
    animation: fadeInUp 0.8s ease 0.8s forwards;
    opacity: 0;
}

.cta-button {
    display: inline-block;
    padding: 15px 40px;
    font-size: 20px;
    background: linear-gradient(135deg, var(--color-green-light), var(--color-blue-light));
    color: var(--color-white);
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    transition: var(--transition);
    border: 2px solid transparent;
    animation: fadeInUp 0.8s ease 1s forwards;
    opacity: 0;
    cursor: pointer;
}

.cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(45, 143, 90, 0.4);
    border-color: var(--color-accent);
}

@keyframes fadeInUp {
    0% {
        opacity: 0;
        transform: translateY(30px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Reveal Animation for Content */
.reveal-text {
    opacity: 0;
    transform: translateY(50px);
}

.reveal-text.visible {
    animation: revealContent 0.8s ease forwards;
}

@keyframes revealContent {
    0% {
        opacity: 0;
        transform: translateY(50px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Section Title */
.section-title {
    font-size: 48px;
    font-weight: 800;
    margin-bottom: 60px;
    text-align: center;
    background: linear-gradient(135deg, var(--color-green-light), var(--color-blue-light));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* About Section */
.about {
    padding: 100px 0;
    background: linear-gradient(135deg, var(--color-grey-dark) 75%, rgb(68, 68, 68) 50%);
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}
.about-text img {
    width: 250px;
    height: 250px;
    border-radius: 50%;
    border: 5px solid var(--color-green-dark);
    margin: auto;
    display: flex;
    align-items: center;
    justify-content: center;
}
.about-text p {
    font-size: 18px;
    padding: 10px;
    color: var(--color-grey-light);
    margin-bottom: 10px;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-bottom: 40px;
}

.stat-card {
    background: linear-gradient(135deg, rgba(45, 143, 90, 0.1), rgba(42, 90, 140, 0.1));
    padding: 30px;
    border-radius: 15px;
    border: 1px solid rgba(45, 143, 90, 0.2);
    text-align: center;
    transition: var(--transition);
}

.stat-card:hover {
    background: linear-gradient(135deg, rgba(45, 143, 90, 0.2), rgba(42, 90, 140, 0.2));
    transform: translateY(-5px);
}
.stat-card img{
    width: 50px;
    height: 50px;
}
.stat-number {
    font-size: 50px;
    font-weight: 800;
    color: var(--color-green-light);
    margin-bottom: 10px;
}

.stat-card p {
    color: var(--color-grey-light);
    font-size: 14px;
}

.skills-section h3 {
    font-size: 24px;
    margin-bottom: 30px;
    color: var(--color-white);
}

.skill-bar {
    margin-bottom: 30px;
}

.skill-label {
    display: flex;
    justify-content: space-between;
    margin-bottom: 10px;
    font-size: 14px;
}

.skill-percent {
    color: var(--color-green-light);
    font-weight: 600;
}

.skill-progress {
    height: 8px;
    background: var(--color-grey-medium);
    border-radius: 10px;
    overflow: hidden;
}

.skill-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--color-green-light), var(--color-blue-light));
    width: 0;
    border-radius: 10px;
    transition: width 1s ease;
}

/* Services Section */
.services {
    padding: 100px 0;
    background: linear-gradient(135deg, rgba(26, 26, 26, 0.5) 0%, rgba(45, 143, 90, 0.05) 100%);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
}

.service-card {
    background: linear-gradient(135deg, rgba(45, 143, 90, 0.1), rgba(42, 90, 140, 0.1));
    padding: 40px;
    border-radius: 15px;
    border: 1px solid rgba(45, 143, 90, 0.2);
    text-align: center;
    transition: var(--transition);
}

.service-card:hover {
    background: linear-gradient(135deg, rgba(45, 143, 90, 0.2), rgba(42, 90, 140, 0.2));
    transform: translateY(-10px);
    border-color: var(--color-accent);
}

.service-icon {
    font-size: 50px;
    margin-bottom: 20px;
}

.service-card h3 {
    font-size: 24px;
    margin-bottom: 15px;
    color: var(--color-white);
}

.service-card p {
    color: var(--color-grey-light);
    line-height: 1.8;
}

/* Process Section - Unique Timeline */
.process {
    padding: 100px 0;
    background: linear-gradient(135deg, var(--color-grey-dark) 0%, rgba(26, 26, 26, 0.95) 100%);
}
.process {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 50px 15px;
    overflow: hidden;
    background-color: #0a0a0a;
    z-index: 0;
}

/* Background Image Layer */
.process::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('/Images/linebg.gif');
    background-size: cover;
    background-repeat: no-repeat;
    background-position:initial;
    filter: blur(5px) brightness(0.6);
    transform: scale(1.1);
    z-index: -1;
}

.timeline-container {
    margin-top: 60px;
}

.timeline {
    position: relative;
    padding: 40px 0;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    width: 4px;
    height: 100%;
    background: linear-gradient(180deg, var(--color-green-light), var(--color-blue-light), var(--color-red-light));
    border-radius: 2px;
}

.timeline-item {
    margin-bottom: 60px;
    opacity: 0;
    transform: translateY(50px);
}

.timeline-item.visible {
    animation: revealContent 0.8s ease forwards;
}

.timeline-item:nth-child(1) { animation-delay: 0.1s; }
.timeline-item:nth-child(2) { animation-delay: 0.2s; }
.timeline-item:nth-child(3) { animation-delay: 0.3s; }
.timeline-item:nth-child(4) { animation-delay: 0.4s; }
.timeline-item:nth-child(5) { animation-delay: 0.5s; }
.timeline-item:nth-child(6) { animation-delay: 0.6s; }

.timeline-marker {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.marker-dot {
    width: 25px;
    height: 25px;
    background: linear-gradient(135deg, var(--color-green-light), var(--color-blue-light));
    border: 4px solid var(--color-grey-dark);
    border-radius: 50%;
    box-shadow: 0 0 0 10px rgba(45, 143, 90, 0.1);
    transition: var(--transition);
}

.timeline-item:hover .marker-dot {
    box-shadow: 0 0 0 15px rgba(45, 143, 90, 0.2);
}

.marker-number {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-weight: 800;
    font-size: 12px;
    color: var(--color-white);
}

.timeline-card {
    width: calc(50% - 40px);
    background: linear-gradient(135deg, rgba(45, 143, 90, 0.15), rgba(42, 90, 140, 0.15));
    border: 1px solid rgba(45, 143, 90, 0.3);
    border-radius: 15px;
    padding: 30px;
    transition: var(--transition);
}

.timeline-card:hover {
    background: linear-gradient(135deg, rgba(45, 143, 90, 0.25), rgba(42, 90, 140, 0.25));
    border-color: var(--color-accent);
    box-shadow: 0 10px 40px rgba(45, 143, 90, 0.2);
}

.timeline-left {
    margin-left: 0;
    text-align: right;
}

.timeline-right {
    margin-left: auto;
    text-align: left;
}

.card-header {
    font-size: 20px;
    font-weight: 700;
    color: var(--color-green-light);
    margin-bottom: 15px;
}

.timeline-card p {
    color: var(--color-grey-light);
    margin-bottom: 15px;
    line-height: 1.6;
}

.timeline-list {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.timeline-list li {
    display: inline-block;
    background: rgba(45, 143, 90, 0.2);
    padding: 8px 15px;
    border-radius: 20px;
    font-size: 12px;
    color: var(--color-green-light);
    border: 1px solid rgba(45, 143, 90, 0.3);
}

/* Contact Section */
.contact {
    padding: 100px 0;
    background: linear-gradient(135deg, rgba(26, 26, 26, 0.5) 0%, rgba(42, 90, 140, 0.05) 100%);
}

.contact-wrapper {
   display: flex;
   align-items: center;
   justify-content: center;
    gap: 60px;
    margin: auto;
}

.contact-info h3 {
    font-size: 24px;
    margin-bottom: 30px;
    color: var(--color-white);
}

.info-box {
    display: flex;
    align-items: center;
    /* flex-direction: column; */
    gap: 25px;
}

.info-item {
    display: flex;
    gap: 20px;
    background: linear-gradient(135deg, rgba(45, 143, 90, 0.1), rgba(42, 90, 140, 0.1));
    padding: 25px;
    border-radius: 15px;
    border: 1px solid rgba(45, 143, 90, 0.2);
    transition: var(--transition);
}

.info-item:hover {
    background: linear-gradient(135deg, rgba(45, 143, 90, 0.2), rgba(42, 90, 140, 0.2));
    transform: translateX(10px);
    border-color: var(--color-accent);
}

.info-icon {
    font-size: 28px;
    flex-shrink: 0;
}
.info-icon img{
    width: 50px;
    height:50px;
}

.info-content h4 {
    color: var(--color-white);
    margin-bottom: 8px;
    font-size: 16px;
}

.info-content p {
    color: var(--color-grey-light);
    font-size: 14px;
}

.info-content a {
    color: var(--color-green-light);
    text-decoration: none;
    transition: var(--transition);
}

.info-content a:hover {
    color: var(--color-accent);
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.form-group {
    position: relative;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 15px 20px;
    background: rgba(45, 45, 45, 0.5);
    border: 1px solid rgba(45, 143, 90, 0.3);
    border-radius: 10px;
    color: var(--color-white);
    font-family: inherit;
    font-size: 14px;
    transition: var(--transition);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: var(--color-grey-light);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    background: rgba(45, 45, 45, 0.8);
    border-color: var(--color-green-light);
    box-shadow: 0 0 20px rgba(45, 143, 90, 0.2);
}

.submit-btn {
    padding: 15px 40px;
    background: linear-gradient(135deg, var(--color-green-light), var(--color-blue-light));
    color: var(--color-white);
    border: none;
    border-radius: 10px;
    font-weight: 600;
    font-size: 16px;
    cursor: pointer;
    transition: var(--transition);
}

.submit-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(45, 143, 90, 0.4);
}

/* Footer */
.footer {
    background: var(--color-grey-dark);
    padding: 40px 0;
    text-align: center;
    border-top: 1px solid rgba(45, 143, 90, 0.2);
}

.footer p {
    color: var(--color-grey-light);
    margin-bottom: 20px;
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 20px;
}

.social-link {
    color: var(--color-green-light);
    text-decoration: none;
    transition: var(--transition);
}

.social-link:hover {
    color: var(--color-accent);
}

/* Responsive */
@media (max-width: 768px) {
    .nav-menu {
        gap: 15px;
        font-size: 14px;
    }

    .hero-title {
        font-size: 40px;
    }

    .section-title {
        font-size: 36px;
    }

    .timeline::before {
        left: 20px;
    }

    .timeline-marker {
        left: 20px;
        transform: translateX(0);
    }

    .timeline-card {
        width: calc(100% - 70px);
        margin-left: 60px !important;
        text-align: left !important;
    }

    .contact-wrapper {
        grid-template-columns: 1fr;
    }

    .about-content {
        grid-template-columns: 1fr;
    }

    .stats-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .nav-container {
        padding: 10px 15px;
    }

    .nav-menu {
        gap: 10px;
        font-size: 12px;
    }

    .hero-title {
        font-size: 28px;
    }

    .hero-title .word {
        margin: 5px;
    }

    .section-title {
        font-size: 24px;
        margin-bottom: 40px;
    }

    .services-grid {
        grid-template-columns: 1fr;
    }

    .service-card {
        padding: 25px;
    }

    .timeline-card {
        width: calc(100% - 60px);
        padding: 20px;
    }

    .timeline-list {
        flex-direction: column;
    }

    .info-item {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
}