:root {
    --primary: #2563eb;
    --secondary: #1e40af;
    --accent: #3b82f6;
    --light: #f3f4f6;
    --dark: #1f2937;
    --text: #374151;
}

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

body {
    color: var(--text);
    line-height: 1.6;
    background-color: #f9fafb;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

header {
    background-color: rgba(255, 255, 255, 0.95);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 0;
}

.logo {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--primary);
    text-decoration: none;
}

.logo span {
    color: var(--secondary)
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 40px;
}
.nav-links li {
    margin-left: 30px;
}        

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

.nav-links a:hover,
.nav-links a.active {
    color: var(--primary);
}

.nav-links a.active::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 100%;
    height: 3px;
    background-color: var(--primary);
    border-radius: 2px;
}

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

/* Hero section */
.hero {
    padding: 150px 0 100px;
    background: linear-gradient(rgba(0,0,0,0.7), rgba(0,0,0,0.7)),
    url('https://images.unsplash.com/photo-1518770660439-4636190af475?ixlib=rb-4.0.3&auto=format&fit=crop&w=1500&h=1000&q=80') no-repeat center center/cover;
    color: white;
    text-align: center;
    position: relative;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height:100%;
    background: linear-gradient(135deg, rgba(37,99,235,0.8) 0%, rgba(30,64,175,0.8) 10 0%);
    z-index: 1;
}
.hero-content {
    position: relative;
    z-index: 2;
}

.hero-content h1 {
    font-size: 3rem;
    margin-bottom: 20px;
    color: white;
}

.hero-content h1 span {
    color: #93c5fd;
}

.hero-content p {
    font-size: 1.2rem;
    max-width: 700px;
    margin: 0 auto 30px;
    color: #e5e7eb;
}
.hero-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
}

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

.btn-primary {
    background-color: var(--primary);
    color: white;
}

.btn-primary:hover {
    background-color: var(--secondary);
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

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

.btn-secondary:hover {
    background-color: white;
    color: var(--primary);
    transform: translateY(-3px);
}

/* Services Preview */
.services-preview {
    padding: 100px 0;
    background-color: white;
}
.section-title {
    text-align: center;
    margin-bottom: 50px;
}
.section-title h2 {
    font-size: 2.5rem;
    color: var(--dark);
    margin-bottom: 15px;
}

.section-title p {
    color: var(--text);
    max-width: 700px;
    margin: 0 auto;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}
.service-card {
    background-color: var(--light);
    padding: 30px;
    border-radius: 10px;
    text-align: center;
    transition: transform 0.3s, box-shadow 0.3s;
}
.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}
.service-icon {
    font-size: 3rem;
    color: var(--primary);
    margin-bottom: 20px;
}
.service-card h3 {
    margin-bottom: 15px;
    color: var(--dark);
}
/* CTA Section */
.cta {
    padding: 80px 0;
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    color: white;
    text-align: center;
}
.cta-content h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.cta-content p {
    max-width: 700px;
    margin: 0 auto 30px;
    font-size: 1.2rem;
}
/* Page Hero */
.page-hero {
    padding: 150px 0 80px;
    background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), 
                url('https://images.unsplash.com/photo-1517245386807-bb43f82c33c4?ixlib=rb-4.0.3&auto=format&fit=crop&w=1500&h=500&q=80') no-repeat center center/cover;
    color: white;
    text-align: center;
}

.page-hero-content h1 {
    font-size: 3rem;
    margin-bottom: 20px;
}

.page-hero-content p {
    font-size: 1.2rem;
    max-width: 700px;
    margin: 0 auto;
}

/* About Page */
.about-content {
    padding: 80px 0;
}

.about-section {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
    margin-bottom: 80px;
}

.about-text h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
    color: var(--dark);
}

.about-text p {
    margin-bottom: 20px;
}

.about-image {
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

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

.values-section {
    margin-bottom: 80px;
}

.values-section h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 50px;
    color: var(--dark);
}

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

.value-card {
    background-color: var(--light);
    padding: 30px;
    border-radius: 10px;
    text-align: center;
    transition: transform 0.3s;
}
.value-card:hover {
    transform: translateY(-10px);
}

.value-card i {
    font-size: 3rem;
    color: var(--primary);
    margin-bottom: 20px;
}
.value-card h3 {
    margin-bottom: 15px;
    color: var(--dark);
}

.team-section h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 50px;
    color: var(--dark);
}

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

.team-member {
    text-align: center;
    background-color: white;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.team-image {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    overflow: hidden;
    margin: 0 auto 20px;
}

.team-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.team-member h3 {
    color: var(--dark);
    margin-bottom: 10px;
}

.team-role {
    color: var(--primary);
    font-weight: 500;
    margin-bottom: 15px;
}

/* Services Page */
.services-content {
    padding: 80px 0;
}

.service-detail {
    margin-bottom: 60px;
}

.service-header {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
}

.service-header i {
    font-size: 2.5rem;
    color: var(--primary);
    margin-right: 20px;
}
.service-header h2 {
    color: var(--dark);
}

.service-detail p {
    margin-bottom: 15px;
}

.service-detail ul {
    margin-left: 30px;
    margin-bottom: 20px
}
.service-detail li {
    margin-bottom: 10px;
}
.portfolio-section {
    margin: 80px 0;
}
.portfolio-section h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 50px;
    color: var(--dark);
}
.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}
.portfolio-item {
    background-color: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}
.portfolio-image {
    height: 200px;
    overflow: hidden;
}

.portfolio-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s;
}

.portfolio-item:hover .portfolio-image img {
    transform: scale(1.05);
}

.portfolio-item h3 {
    padding: 20px 20px 10px;
    color: var(--dark);
}
.portfolio-item p {
    padding: 0 20px 20px;
    color: var(--text);
}
.testimonials-section {
    margin: 80px 0;
}
.testimonials-section h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 50px;
    color: var(--dark);
}
.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 30px;
}
.testimonial-card {
    background-color: var(--light);
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}
.testimonial-text {
    font-style: italic;
    margin-bottom: 20px;
    position: relative;
}
.testimonial-text::before {
    content: "";
    font-size: 4rem;
    color: var(--primary);
    opacity: 0.2;
    position: absolute;
    top: -20px;
    left: -10px;
}
.testimonial-author {
    display: flex;
    align-items: center;
}
.author-image {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    overflow: hidden;
    margin-right: 15px;
}
.author-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.author-details h4 {
    color: var(--dark);
    margin-bottom: 5px;
}
.author-details p {
    color: var(--text);
    font-size: 0.9rem;
}

/* Contact Page */
.contact-content {
    padding: 80px 0;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    margin-bottom: 50px;
}

.contact-info h2 {
    font-size: 2rem;
    margin-bottom: 30px;
    color: var(--dark);
}
.contact-details {
    margin-bottom: 30px;
}
.contact-details p {
    margin-bottom: 15px;
    display: flex;
    align-items: center;
}
.contact-details i {
    margin-right: 10px;
    color: var(--primary);
    width: 20px;
}
.contact-form h2 {
    font-size: 2rem;
    margin-bottom: 30px;
    color: var(--dark);
}
.form-group {
    margin-bottom: 20px;
}
.form-group label {
    display: block;
    margin-bottom: 5px;
    font-weight: 500;
    color: var(--dark);
}
.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 1rem;
    transition: border-color 0.3s;
}
.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary);
}
.form-group textarea {
    min-height: 150px;
    resize: vertical;
}
.map-container {
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}
.map-container iframe {
    width: 100%;
    height: 400px;
    border: 0;
}

/* Footer */
footer {
    background-color: var(--dark);
    color: white;
    padding: 50px 0 20px;
}
.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-bottom: 30px;
}
.footer-column h3 {
    font-size: 1.5rem;
    margin-bottom: 20px;
    color: white;
}
.footer-column ul {
    list-style: none;
}
.footer-column ul li {
    margin-bottom: 10px;
}
.footer-column a {
    color: #ddd;
    text-decoration: none;
    transition: color 0.3s;
}
.footer-column a:hover {
    color: var(--accent);
}

.social-links {
    display: flex;
    gap: 15px;
}
.social-links a {
    display: inline-block;
    width: 40px;
    height: 40px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    text-align: center;
    line-height: 40px;
    transition: background-color 0.3s;
    color: white;
}
.social-links a:hover {
    background-color: var(--primary);
}
.copyright {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}
/* Animation */
.fade-in {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.5s, transform 0.5s;
}
.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Responsive Design */
@media (max-width: 992px) {
    .about-section,
    .contact-grid {
        grid-template-columns: 1fr;
    }
      .hero-content h1 {
        font-size: 2.5rem;
    }
       .page-hero-content h1 {
        font-size: 2.5rem;
    }
}
@media (max-width: 768px) {
    .hamburger {
        display: block;
    } 
    .nav-links {
        position: fixed;
        top: 80px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 80px);
        background-color: white;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        transition: left 0.3s;
    }
      .nav-links.active {
        left: 0;
    }
    
    .nav-links li {
        margin: 15px 0;
    }
    .hero {
        padding: 120px 0 80px;
    }
    
    .hero-content h1 {
        font-size: 2rem;
    }
    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }
    .section-title h2 {
        font-size: 2rem;
    }
    
    .page-hero {
        padding: 120px 0 60px;
    }
    .page-hero-content h1 {
        font-size: 2rem;
    }
     .testimonials-grid {
        grid-template-columns: 1fr;
    }
}