/* Gallery Section */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
#gallery {
    padding: 80px 20px;
    text-align: center;
    background-color: #fff; /* Background color for contrast */
}

.gallery h2 {
    font-size: 2.5rem;
    margin-bottom: 30px;
}

.gallery-slider {
    display: flex;
    overflow: hidden;
    width: 100%;
    max-width: 1200px;
    height: 70vh;
    margin: 0 auto;
    position: relative;
    align-items: center;
    justify-content: center;
    background-color: #f0f0f0;
    border-radius: 20px;
    padding: 20px;
}

.gallery-card {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 80%;
    max-width: 600px;
    height: 80%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: #fff;
    border-radius: 20px;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
    opacity: 0;
    transform: scale(0.9);
    transition: opacity 1s ease, transform 1s ease;
}

.gallery-card.active {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
    z-index: 1;
}

/* Adjust styles for the non-active cards */
.gallery-card:not(.active) {
    opacity: 0;
    transform: translate(-50%, -50%) scale(0.9);
}

.gallery-card img {
    width: 100%;
    height: auto;
    max-height: 70%;
    object-fit: cover;
    border-radius: 15px;
}

.gallery-card h3 {
    font-size: 1.5rem;
    margin-top: 15px;
}

.gallery-card p {
    color: #666;
    text-align: center;
    margin-top: 10px;
    font-size: 1rem;
}

/* Responsive Adjustments */
@media (max-width: 1024px) {
    .gallery-slider {
        height: 75vh;
    }

    .gallery-card {
        width: 85%;
        height: 85%;
    }
}

@media (max-width: 768px) {
    .gallery-slider {
        height: 70vh;
    }

    .gallery-card {
        width: 90%;
        height: 90%;
    }

    .gallery-card h3 {
        font-size: 1.3rem;
    }

    .gallery-card p {
        font-size: 0.9rem;
    }
}

@media (max-width: 576px) {
    .gallery-slider {
        height: 65vh;
        width: auto;
    }

    .gallery-card {
        width: 95%;
        height: 95%;
    }

    .gallery-card h3 {
        font-size: 1.2rem;
    }

    .gallery-card p {
        font-size: 0.8rem;
    }
}

/* Global styles */
body {
    font-family: 'Roboto', sans-serif;
    line-height: 1.6;
    background-color: #f4f4f4;
    width: 100%;
    overflow-x: hidden;
}

.typing-container {
    font-family: 'Courier New', Courier, monospace;
    font-size: 4vw; /* Responsive font size */
    color: #fff;
    white-space: nowrap;
    overflow: hidden;
    border-right: 3px solid #fff;
    width: fit-content; /* Width adjusts to the content */
    animation: typing 6s steps(40, end) infinite, blink-caret 0.75s step-end infinite;
    margin-bottom: 20px;
    margin: auto;
    text-align: center;
}.tp {
    font-family: 'Courier New', Courier, monospace;
    font-size: 4vh; /* Responsive font size */
    color: #000;
    white-space: nowrap;
    overflow: hidden;
    margin: auto;
    text-align: center;
    border-right: 3px solid #000; /* Changed to match text color */
    width: fit-content; /* Width adjusts to the content */
    animation: tpt 6s steps(40, end) infinite, blink-care 0.75s step-end infinite;
    max-width: 100%; /* Ensure it doesn’t overflow on small screens */
    font-weight: 300; /* Thin font weight */
}

@keyframes tpt {
    from { width: 0; }
    to { width: 100%; }
}

@keyframes blink-care {
    from, to { border-color: transparent; }
    50% { border-color: #000; } /* Changed to match text color */
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .tp {
        font-size: 2.5vh; /* Smaller font size for tablets */
    }
}

@media (max-width: 576px) {
    .tp {
        font-size: 1.5vh; /* Even smaller font size for mobile phones */
    }
}


@keyframes blink-caret {
    from, to { border-color: transparent; }
    50% { border-color: #fff; } /* Changed to match text color */
}

@keyframes typing {
    from { width: 0; }
    to { width: 100%; } /* Animates only up to the text length */
}



/* Responsive adjustments */
@media (max-width: 768px) {
    .typing-container {
        font-size: 6vw; /* Adjust font size for tablets */
    }
}

@media (max-width: 576px) {
    .typing-container {
        font-size: 8vw; /* Adjust font size for mobile devices */
    }
}
.ico {
    height: 500px;
    width: 500px;
}

.profile {
    width: auto;
    text-align: center;
}

#imgs {
    display: none; /* Removed logo */
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

header {
    position: sticky;
    top: 0;
    background-color: #282c34;
    color: #fff;
    padding: 15px 0;
    z-index: 1000;
    display: flex;
    flex-direction: column;
    align-items: right;
    justify-content: center;
}

.menu-button {
    font-size: 1.5rem;
    cursor: pointer;
    color: #fff;
    position: absolute;
    top: 15px;
    left: 15px;
    display: none;
}

header .container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: relative;
    flex: 1;
}

header h1 {
    font-size: 2.5rem;
    margin: 0;
}

nav {
    display: flex;
    justify-content: center;
    width: 100%;
}

nav ul {
    list-style-type: none;
    padding: 0;
    margin: 0;
    display: flex;
    gap: 15px;
}

nav ul.nav-links {
    display: flex;
    gap: 15px;
}

nav ul.nav-links li {
    margin: 0;
}

nav ul.nav-links li a {
    color: #61dafb;
    text-decoration: none;
    padding: 5px 15px;
    border-radius: 5px;
    transition: background-color 0.3s ease, color 0.3s ease;
}

nav ul.nav-links li a:hover {
    background-color: #61dafb;
    color: #fff;
    transition: 1s ease-in-out;
}

/* Mobile Styles */
@media (max-width: 768px) {
    .menu-button {
        display: block;
    }

    nav ul.nav-links {
        display: none;
        flex-direction: column;
        background-color: #282c34;
        position: absolute;
        top: 60px;
        width: 100%;
    }

    nav ul.nav-links.active {
        display: flex;
    }

    nav ul.nav-links li {
        margin: 10px 0;
    }

    header h1 {
        font-size: 2rem;
    }
}

.service:hover {
    transform: scale(1.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.2);
}

.service {
    background: #fff;
    min-height: 200px;
    border-radius: 5px;
    padding: 20px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    transition: box-shadow 0.3s ease;
}

/* Larger Screens Styles */
@media (min-width: 769px) {
    .service:hover {
        transform: scale(1.05);
        transition: transform 0.3s ease, box-shadow 0.3s ease;
        box-shadow: 0 12px 24px rgba(0, 0, 0, 0.2);
    }

    .service {
        background: #fff;
        min-height: 200px;
        border-radius: 5px;
        padding: 20px;
        box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
        transition: box-shadow 0.3s ease;
    }

    nav ul.nav-links {
        display: flex;
        flex-direction: row;
        background-color: transparent;
        position: static;
    }
}

.hero {
    background-image: url("https://images.unsplash.com/photo-1445855743215-296f71d4b49c?w=500&auto=format&fit=crop&q=60&ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxzZWFyY2h8MTh8fGNvZGluZyUyMGJhY2tncm91bmR8ZW58MHx8MHx8fDA%3D");
    background-size: cover;
    background-position: center;
    color: #fff;
    text-align: center;
    padding: 120px 20px;
}

.hero h2 {
    font-size: calc(2rem + 3vw);
    margin-bottom: 20px;
}

.hero p {
    font-size: 1.2rem;
}

.about, .services {
    padding: 80px 20px;
    text-align: center;
}

.about h2, .services h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
}

 .about p, .services .service p {
    font-size: 1.2rem;
    color: #666;
}

.services .service {
    margin-bottom: 40px;
}

.services .service h3 {
    font-size: 2rem;
    margin-bottom: 10px;
}

.services .service p {
    font-size: 1.1rem;
    color: #555;
}

/* Tablets */
@media (max-width: 768px) {
    .hero h2 {
        font-size: calc(1.5rem + 2vw);
    }
}

/* Mobile Phones */
@media (max-width: 576px) {
    .hero h2 {
        font-size: 2rem;
    }
}

.button {
    color: #fff;
    background-color: #61dafb;
    cursor: pointer;
    padding: 12px 20px;
    font-size: 1rem;
    border: none;
    border-radius: 5px;
    font-weight: bold;
    transition: background-color 0.3s ease, transform 0.3s ease;
}

.button:hover {
    background-color: #21a1f1;
    transform: scale(1.05);
    
}

footer {
    background-color: #282c34;
    color: #fff;
    text-align: center;
    padding: 20px 20px;
}

footer p {
    font-size: 0.9rem;
}

/* Social Media Icons */
.social-media {
    margin: 20px 0;
}

.social-icon {
    color: #fff;
    font-size: 1.5rem;
    margin: 0 10px;
    transition: color 0.3s ease;
}

.social-icon:hover {
    color: #61dafb;
}

/* Animation */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.animate.visible {
    opacity: 1;
    transform: translateY(0);
}
/* Global styles */
