:root {
    --primary-color: #ec2028;
    --primary-dark: #c11a1e;
    --primary-light: #ff4b50;
    --secondary-color: #2c3e50;
    --accent-color: #3498db;
    --background-light: #ffffff;
    --background-dark: #f9f9f9;
    --text-color: #333333;
    --text-light: #666666;
    --border-color: #dddddd;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

/* Header and Navigation */
header {
    background-color: #ffffff;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    transition: all 0.3s ease;
}

/* Animation Classes */
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes slideInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-20px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(20px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Block Section Animations */
.block-section {
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.5s ease;
}

.block-section.active {
    opacity: 1;
    transform: translateY(0);
}

/* Card Animations */
.stat-card, .tech-card, .milestone-card, .team-member, .career-card {
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.5s ease;
}

.stat-card.active, .tech-card.active, .milestone-card.active, .team-member.active, .career-card.active {
    opacity: 1;
    transform: translateY(0);
}

/* Grid Animations */
.milestone-grid, .impact-stats, .tech-grid, .team-grid, .career-grid {
    opacity: 0;
    transform: translateX(-20px);
    transition: all 0.5s ease;
}

.milestone-grid.active, .impact-stats.active, .tech-grid.active, .team-grid.active, .career-grid.active {
    opacity: 1;
    transform: translateX(0);
}

/* Hero Banner Animations */
@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(20px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-20px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Service Card Hover Animations */
.service-card {
    transition: all 0.3s ease;
}

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

/* Section Animations */
section {
    opacity: 0;
    animation: fadeIn 1s ease forwards;
}

.service-card, .plan-card {
    animation: slideInUp 0.8s ease forwards;
}

.service-grid, .plan-grid {
    opacity: 0;
    animation: fadeIn 1s ease forwards;
}

/* Block Section Animations */
.block-section {
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.5s ease;
}

.block-section.active {
    opacity: 1;
    transform: translateY(0);
}

/* Card Animations */
.stat-card, .tech-card, .milestone-card, .team-member, .career-card {
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.5s ease;
}

.stat-card.active, .tech-card.active, .milestone-card.active, .team-member.active, .career-card.active {
    opacity: 1;
    transform: translateY(0);
}

/* Grid Animations */
.milestone-grid, .impact-stats, .tech-grid, .team-grid, .career-grid {
    opacity: 0;
    transform: translateX(-20px);
    transition: all 0.5s ease;
}

.milestone-grid.active, .impact-stats.active, .tech-grid.active, .team-grid.active, .career-grid.active {
    opacity: 1;
    transform: translateX(0);
}

/* Hero Section */
.hero {
    height: 450px;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
    transition: background-image 0.5s ease;
    animation: fadeIn 1s ease forwards;
}

.hero-slides {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 450px;
    z-index: 0;
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transition: opacity 1s ease-in-out;
}

.slide.active {
    opacity: 1;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
   /* background: linear-gradient(rgba(0,0,0,0.5), rgba(0,0,0,0.5)); */
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    padding: 2rem;
    text-align: center;
    color: white;
    transform: translateY(20px);
    opacity: 0;
    animation: slideInUp 1s ease forwards;
}

.hero h1 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    animation: fadeIn 0.8s ease forwards;
    animation-delay: 0.3s;
    text-shadow: -1px -1px 0 #000, 4px -1px 0 #000, -1px 1px 0 #000, 1px 1px 0 #000;

}

.hero p {
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
    animation: fadeIn 0.8s ease forwards;
    animation-delay: 0.5s;
    text-shadow: -1px -1px 0 #000, 4px -1px 0 #000, -1px 1px 0 #000, 1px 1px 0 #000;

}

.cta-button {
    display: inline-block;
    padding: 1rem 2rem;
    background-color: var(--primary-color);
    color: white;
    text-decoration: none;
    border-radius: 5px;
    transition: all 0.3s ease;
    box-shadow: 0 2px 5px rgba(236, 32, 40, 0.3);
    animation: fadeIn 0.8s ease forwards;
    animation-delay: 0.7s;
}

.cta-button:hover {
    background-color: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(236, 32, 40, 0.3);
}




/*
nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 5%;
    max-width: 1200px;
    margin: 0 auto;
}

.logo {
    font-size: 1.5rem;
    font-weight: bold;
    color: #2c3e50;
}

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

.nav-links li a {
    text-decoration: none;
    color: #2c3e50;
    padding: 0.5rem 1rem;
    transition: color 0.3s ease;
}

.nav-links li a:hover {
    color: #3498db;
}
*/
/* Basic styles */
nav {
	display: flex;
	 max-width: 1200px;
	justify-content: space-between;
	align-items: center;
	padding: 10px 20px;
	margin: 0 auto;
}

.logo {
	color: #000;
	font-size: 20px;
	font-weight: bold;
}

.nav-links {
	list-style: none;
	display: flex;
	gap: 20px;
	margin: 0;
	padding: 0;
}

.nav-links li a {
	color: #000;
	text-decoration: none;
}

/* Toggle icon hidden by default */
.menu-toggle {
	display: none;
	font-size: 28px;
	color: red;
	cursor: pointer;
}

/* Responsive styles */
@media (max-width: 768px) {
	.menu-toggle {
		display: block;
	}

	.nav-links {
		flex-direction: column;
		position: absolute;
		top: 60px;
		left: 0;
		width: 100%;
		background-color: #FFF;
		display: none;
		        padding-left: 20px;
	}

	.nav-links.active {
		display: flex;
	}
}







/* Services Section */
.services {
    padding: 5rem 5%;
    background-color: #f9f9f9;
}

.services h2 {
    text-align: center;
    margin-bottom: 3rem;
    color: #2c3e50;
    animation: slideInLeft 1s ease forwards;
}

.service-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
    opacity: 0;
    animation: fadeIn 1s ease forwards;
}

.service-card {
    text-align: center;
    padding: 2rem;
    background: white;
    border-radius: 10px;
    box-shadow: 0 3px 10px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

.service-card:hover {
    transform: translateY(-10px);
}

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

.service-card h3 {
    color: var(--primary-dark);
    margin-bottom: 1rem;
}

.service-card p {
    color: var(--text-light);
    line-height: 1.6;
}

/* Plans Section */
.plans {
    padding: 5rem 5%;
}

.plans h2 {
    text-align: center;
    margin-bottom: 3rem;
    color: #2c3e50;
    animation: slideInRight 1s ease forwards;
}

.plan-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
    opacity: 0;
    animation: fadeIn 1s ease forwards;
}

.plan-card {
    background: white;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 3px 10px rgba(0,0,0,0.1);
    text-align: center;
    transition: transform 0.3s ease;
}

.featured {
    border: 2px solid var(--primary-color);
}

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

.plan-card h3 {
    color: #2c3e50;
    margin-bottom: 1rem;
}

.price {
    font-size: 2rem;
    color: #3498db;
    margin-bottom: 1.5rem;
}

.plan-card ul {
    list-style: none;
    margin-bottom: 1.5rem;
}

.plan-card ul li {
    margin: 0.5rem 0;
    color: #666;
}

.plan-button {
    display: inline-block;
    padding: 0.8rem 1.5rem;
    background-color: var(--primary-color);
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.plan-button:hover {
    background-color: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(236, 32, 40, 0.3);
}

/* About Section */
.about {
    padding: 5rem 5%;
    background-color: #f9f9f9;
}

.about h2 {
    text-align: center;
    margin-bottom: 3rem;
    color: #2c3e50;
}

.about-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
    line-height: 25px;
}

/* Contact Section */
.contact {
    padding: 5rem 5%;
}

.contact h2 {
    text-align: center;
    margin-bottom: 3rem;
    color: #2c3e50;
    animation: slideInLeft 1s ease forwards;
}

.contact-form {
    max-width: 600px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.contact-form input,
.contact-form textarea {
    padding: 1rem;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.contact-form input:focus,
.contact-form textarea:focus {
    border-color: #3498db;
    outline: none;
}

.contact-form textarea {
    height: 150px;
    resize: vertical;
}

.submit-button {
    padding: 1rem 2rem;
    background-color: var(--primary-color);
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.submit-button:hover {
    background-color: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(236, 32, 40, 0.3);
}

.submit-button:hover {
    background-color: #2980b9;
}

/* Footer */
footer {
    background-color: var(--secondary-color);
    color: white;
    padding: 3rem 5% 1rem;
    line-height: 25px;
}

/* Services Page Styles */
.page-hero {
    height: 300px;
    background: linear-gradient(rgba(0,0,0,0.5), rgba(0,0,0,0.5)), url('https://images.unsplash.com/photo-1512917774080-9991f1c4c750?auto=format&fit=crop&w=1920&q=80');
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
    margin-bottom: 5rem;
}

.page-hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(rgba(0,0,0,0.5), rgba(0,0,0,0.5));
}

.page-hero-content {
    position: relative;
    z-index: 1;
    padding: 2rem;
}

.page-hero h1 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

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

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

.service-card h3 {
    color: var(--secondary-color);
    margin-bottom: 1rem;
}

.service-card p {
    color: var(--text-light);
    margin-bottom: 1.5rem;
}

.service-features {
    list-style: none;
    padding: 0;
}

.service-features li {
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
    color: var(--text-light);
}

.service-features i {
    color: var(--primary-color);
    margin-right: 0.5rem;
}

/* Responsive Design */
@media (max-width: 768px) {
    .page-hero {
        height: 200px;
    }
    
    .page-hero h1 {
        font-size: 2rem;
    }
    
    .service-category h2 {
        font-size: 1.8rem;
    }
}

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

.footer-section h3 {
    margin-bottom: 1rem;
}

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

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

.footer-section a {
    color: var(--primary-color);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section a:hover {
    color: var(--primary-light);
}

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

/* Responsive Design */
@media (max-width: 768px) {
    .nav-links {
        display: none;
    }
    
    .hero h1 {
        font-size: 2rem;
    }
    
    .service-grid,
    .plan-grid {
        grid-template-columns: 1fr;
    }
}
