:root {
    --primary: #2563eb;
    --primary-dark: #1d4ed8;
    --secondary: #3b82f6;
    --light: #f3f4f6;
    --dark: #111827;
    --gray: #6b7280;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Inter', sans-serif;
}

body {
    line-height: 1.6;
    color: var(--dark);
    background-color: #ffffff;
}

header {
    background-color: #ffffff;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: fixed;
    width: 100%;
    z-index: 100;
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 10%;
}

address {
    font-style: normal;
}

.logo {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--primary);
}

a {
    text-decoration: none;
}

.logo a {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--primary);
    text-decoration: none;
}

.nav-links {
    display: flex;
    gap: 2rem;
}

.nav-links a {
    text-decoration: none;
    color: var(--dark);
    font-weight: 500;
    transition: color 0.3s;
}

.nav-links a:hover {
    color: var(--primary);
}

.cta-button {
    background: linear-gradient(to right top, #2563eb, #296bee, #2e73f1, #347af4, #3b82f6);
    color: white;
    border: none;
    padding: 0.75rem 1.5rem;
    border-radius: 4px;
    font-weight: 600;
    cursor: pointer;
    text-decoration: none;
}

.cta-button:hover {
    background: linear-gradient(to left bottom, #2563eb, #296bee, #2e73f1, #347af4, #3b82f6);
}

.hero {
    padding: 10rem 10% 6rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
    background-color: var(--light);
}

.hero-content {
    flex: 1;
}

.hero h1 {
    font-size: 3rem;
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.hero p {
    font-size: 1.25rem;
    color: var(--gray);
    margin-bottom: 2rem;
    max-width: 600px;
}

.hero-image {
    flex: 1;
    display: flex;
    justify-content: center;
}

.hero-image img {
    max-width: 100%;
    height: auto;
}

section {
    padding: 5rem 10%;
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
}

.section-subtitle {
    text-align: center;
    color: var(--gray);
    max-width: 700px;
    margin: 0 auto 3rem;
    font-size: 1.25rem;
}

.services-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.service-card {
    background-color: white;
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s, box-shadow 0.3s;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.service-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(to right top, #2563eb, #296bee, #2e73f1, #347af4, #3b82f6);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    margin-bottom: 1.5rem;
    font-size: 1.5rem;
}

.service-title {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.projects {
    background-color: var(--light);
}

.projects-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 350px));
    gap: 2rem;
    justify-content: center;
}

.project-card {
    overflow: hidden;
    border-radius: 8px;
    background-color: white;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

.project-image {
    height: 220px;
    background-color: #e2e8f0;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gray);
}

.project-content {
    padding: 1.5rem;
}

.project-title {
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
}

.project-description {
    color: var(--gray);
    margin-bottom: 1rem;
}

.project-tag {
    display: inline-block;
    background-color: #e0f2fe;
    color: var(--primary);
    padding: 0.3rem 0.8rem;
    border-radius: 20px;
    font-size: 0.85rem;
    margin-right: 0.5rem;
    margin-bottom: 0.5rem;
}

.clients {
    text-align: center;
}

.clients-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 3rem;
    margin-top: 2rem;
}

.client-logo {
    width: 150px;
    height: 80px;
    background-color: #f3f4f6;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gray);
    font-weight: 600;
    border-radius: 4px;
}

.team-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 350px));
    gap: 2rem;
    justify-content: center;
}

.team-member {
    background-color: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    text-align: center;
}

.team-image {
    height: 250px;
    background-color: #e2e8f0;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gray);
}

.member-image {
    height: 100%;
    width: 100%;
    object-fit: cover
}

.team-content {
    padding: 1.5rem;
}

.member-social-container {
    display: flex;
    justify-content: center;
}

.team-content a {
    width: 50px;
    height: 50px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background-color 0.3s;
    color: var(--primary);
    font-size: 2rem;
}

.team-content a:hover {
    background-color: var(--primary);
    color: white;
}

.team-name {
    font-size: 1.3rem;
    margin-bottom: 0.3rem;
}

.team-position {
    color: var(--primary);
    font-weight: 500;
    margin-bottom: 1rem;
}

.contact {
    background-color: var(--light);
}

.contact-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.contact-info h3 {
    font-size: 1.8rem;
    margin-bottom: 2rem;
}

.contact-method {
    display: flex;
    align-items: flex-start;
    margin-bottom: 1.5rem;
}

.contact-icon {
    background-color: var(--primary);
    color: white;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    margin-right: 1rem;
}

.contact-details h4 {
    font-size: 1.1rem;
    margin-bottom: 0.3rem;
}

.contact-details p, .contact-details a {
    color: var(--gray);
}

form {
    display: grid;
    gap: 1.5rem;
}

.form-group {
    display: flex;
    flex-direction: column;
}

label {
    margin-bottom: 0.5rem;
    font-weight: 500;
}

input, textarea {
    padding: 0.75rem;
    border: 1px solid #d1d5db;
    border-radius: 4px;
    font-size: 1rem;
    outline: none;
}

textarea {
    min-height: 150px;
    resize: vertical;
}

input:focus, textarea:focus {
    border-color: var(--primary);
}

footer {
    background-color: var(--dark);
    color: white;
    padding: 2rem 10% 2rem;
}

.footer-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-column h3 {
    font-size: 1.3rem;
    margin-bottom: 1.5rem;
    color: white;
}

.footer-links a {
    display: block;
    color: #d1d5db;
    text-decoration: none;
    margin-bottom: 0.8rem;
    transition: color 0.3s;
}

.footer-links a:hover {
    color: white;
}

.footer-contact p, .footer-contact a {
    color: #d1d5db;
    margin-bottom: 0.8rem;
}

.social-icons {
    display: flex;
    gap: 1rem;
    margin-top: 1.5rem;
}

.social-icon {
    width: 40px;
    height: 40px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background-color 0.3s;
    color: white;
}

.social-icon:hover {
    background-color: var(--primary);
}

.copyright {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: #d1d5db;
    font-size: 0.9rem;
}

.loader {
    width: 48px;
    height: 48px;
    border: 5px solid var(--primary);
    border-bottom-color: transparent;
    border-radius: 50%;
    display: none;
    box-sizing: border-box;
    animation: rotation 1s linear infinite;
    }

    @keyframes rotation {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
} 

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

.spinner-container {
    display: flex;
    justify-content: center;
}

/* Modal Styles */
@keyframes fadeInScaleUp {
    from {
        opacity: 0;
        transform: scale(0.9);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

.modal {
    display: none; /* Hidden by default */
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5); /* Semi-transparent background */
    justify-content: center;
    align-items: center;
}

.modal-content {
    background-color: var(--light);
    padding: 20px;
    border-radius: 8px;
    width: 300px;
    text-align: center;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    animation: fadeInScaleUp 0.3s ease-out; /* Apply the animation */
}

.modal-content h2 {
    color: var(--dark);
    margin-bottom: 10px;
}

.modal-content p {
    color: var(--gray);
    margin-bottom: 20px;
}

.modal-content button {
    background-color: var(--primary);
    color: var(--light);
    border: none;
    padding: 10px 20px;
    border-radius: 5px;
    cursor: pointer;
    font-size: 16px;
}

.modal-content button:hover {
    background-color: var(--primary-dark);
}

.close:hover {
    color: var(--dark);
}

.animate {
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.5s ease-in-out;
}

.fade-in {
    opacity: 1;
    transform: translateY(0);
}

.float{
    position:fixed;
    width:60px;
    height:60px;
    bottom:40px;
    right:40px;
    background-color:#25d366;
    color:#FFF;
    border-radius:50px;
    text-align:center;
    font-size:30px;
	box-shadow: 2px 2px 3px #999;
    z-index:100;
}

.my-float{
	margin-top:16px;
} 

@media (max-width: 992px) {
    .hero {
        flex-direction: column;
        text-align: center;
    }
    
    .hero-content {
        order: 2;
    }
    
    .hero-image {
        order: 1;
        margin-bottom: 2rem;
    }
    
    .hero p {
        margin: 0 auto 2rem;
    }
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
    }
}

@media only screen and (max-width : 420px) {
   /* Styles here */
   .logo a {
    font-size: 1.5rem;
   }

   header .cta-button {
    font-size: 0.75rem;
   }
}