/* General Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Header Section */
header {
    display: flex;
    flex-direction: column;
    align-items: center; /* Center elements horizontally */
    padding: 60px 10%; /* Responsive padding */
    background: url('images/headerImg.Webp') no-repeat center center/cover;
    color: rgb(255, 255, 255);
}

.overlay {
    width: 100%;
    max-width: 1200px; /* Maximum width to prevent stretching */
    margin: 0 auto; /* Center the container */
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    flex-wrap: wrap; /* Allow items to wrap on smaller screens */
}

.logo h1 {
    margin: 0;
}

.nav-links {
    display: flex;
    list-style: none;
    padding: 0;
    margin: 0;
}

.nav-links li {
    margin: 0 10px;
}

.nav-links a {
    color: rgb(255, 255, 255);
    text-decoration: none;
    font-weight: bolder;
    transition: color 0.3s ease;
    font-size: larger;
}

.nav-links a:hover {
    color: #00ADEF; /* Change color on hover */
}

.cta {
    background-color: #00ADEF; /* Call to action button color */
    color: rgb(255, 255, 255);
    padding: 10px 20px;
    border-radius: 5px;
    text-decoration: none;
    transition: background-color 0.3s ease;
}

.cta:hover {
    background-color: #0097D7; /* Darker shade on hover */
    scale: .9;
}

.header-images {
    margin-top: 30px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center; /* Center text */
}

.profile-img {
    width: 150px;
    height: 250px; /* Adjusted to maintain square aspect ratio */
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 20px;
    border: 3px solid white;
    transition: transform 0.3s ease;
}

.profile-img:hover {
    transform: scale(1.1); /* Hover zoom effect */
}

.header-text h2 {
    font-size: 2.5rem; /* Responsive font size */
    margin-bottom: 10px;
}

.header-text p {
    font-size: 1.2rem; /* Responsive font size */
}

/* Responsive Design */
@media (max-width: 768px) {
    .header-content {
        flex-direction: column; /* Stack logo, nav, and button vertically */
        align-items: center; /* Center elements */
    }

    .nav-links {
        flex-direction: column; /* Stack nav links vertically */
        margin-top: 10px; /* Space above nav */
    }

    .nav-links li {
        margin: 10px 0; /* Space between links */
    }

    .profile-img {
        width: 120px; /* Smaller image size on mobile */
        height: 220px; /* Maintain square aspect ratio */
    }

    .header-text h2 {
        font-size: 2rem; /* Adjust font size for smaller screens */
    }

    .header-text p {
        font-size: 1rem; /* Adjust font size for smaller screens */
    }
}

@media (max-width: 480px) {
    .header-text h2 {
        font-size: 1.5rem; /* Further reduce font size for very small screens */
    }

    .header-text p {
        font-size: 0.9rem; /* Further reduce font size for very small screens */
    }
}

/* General Styles */
.services {
    padding: 40px 20px;
}

h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 40px;
}

.offer-container {
    text-align: center;
    margin-bottom: 40px;
}

.offer-container p {
    font-size: 1.2rem;
}

/* Services Grid */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
}

.service {
    background: #fff;
    border-radius: 10px;
    padding: 20px;
    text-align: center;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.service:hover {
    transform: translateY(-5px);
}

.service img {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
    margin-bottom: 20px;
}

.service h3 {
    font-size: 1.5rem;
    margin-bottom: 10px;
}

.service p {
    font-size: 1rem;
    margin-bottom: 10px;
}

.price {
    font-size: 1.2rem;
    margin-top: 20px;
}

.old-price {
    text-decoration: line-through;
    color: #888;
    margin-right: 10px;
}

.new-price {
    color: #e53935;
    font-weight: bold;
}

/* Countdown Timer */
.countdown-timer {
    font-size: 1.2rem;
    margin: 20px 0;
}

/* Media Queries */

/* For screens 768px and below */
@media (max-width: 768px) {
    h2 {
        font-size: 2rem;
    }

    .offer-container p {
        font-size: 1rem;
    }

    .service h3 {
        font-size: 1.3rem;
    }

    .service p {
        font-size: 0.9rem;
    }

    .price {
        font-size: 1rem;
    }

    .old-price,
    .new-price {
        font-size: 1rem;
    }
}

/* For screens 480px and below */
@media (max-width: 480px) {
    h2 {
        font-size: 1.8rem;
    }

    .offer-container p {
        font-size: 0.9rem;
    }

    .service h3 {
        font-size: 1.2rem;
    }

    .service p {
        font-size: 0.8rem;
    }

    .price {
        font-size: 0.9rem;
    }

    .old-price,
    .new-price {
        font-size: 0.9rem;
    }
}

/* Projects Section */
.projects {
    padding: 60px 10%;
    background: linear-gradient(to bottom, #f7f8fc, #ffffff); /* Soft gradient background */
    text-align: center;
}

.projects h2 {
    font-size: 38px;
    margin-bottom: 40px;
    color: #333;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    position: relative;
    display: inline-block;
}

.projects h2:after {
    content: "";
    display: block;
    width: 50px;
    height: 4px;
    background-color: #00FFB3; /* Accent color */
    margin: 10px auto;
}

/* Slider */
.slider {
    position: relative;
    max-width: 85%;
    margin: 0 auto;
    overflow: hidden;
    border-radius: 12px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1); /* Subtle shadow */
    background-color: #fafafa;
}

.slide {
    display: none;
    position: relative;
    text-align: center;
    opacity: 0;
    transition: opacity 1s ease-in-out; /* Smooth fade-in/out */
}

.slide.active {
    display: block;
    opacity: 1;
}

.slide img {
    width: 100%;
    border-radius: 10px;
    height: 400px;
    object-fit: cover;
    transition: transform 0.5s ease; /* Smooth zoom effect */
}

.slide img:hover {
    transform: scale(1.05); /* Zoom on hover */
}

/* Slider Controls */
.slider-controls {
    position: absolute;
    width: 100%;
    top: 50%;
    display: flex;
    justify-content: space-between;
    transform: translateY(-50%);
    pointer-events: none;
}

.prev, .next {
    pointer-events: auto;
    font-size: 30px;
    color: white;
    background-color: rgba(0, 0, 0, 0.5);
    padding: 10px;
    cursor: pointer;
    border-radius: 50%;
    transition: background-color 0.3s, transform 0.3s;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2); /* Glow effect */
}

.prev:hover, .next:hover {
    background-color: #00FFB3; /* Accent color */
    transform: scale(1.2); /* Enlarge on hover */
}

/* Responsive Design */
@media (max-width: 768px) {
    .projects h2 {
        font-size: 30px; /* Smaller heading for mobile */
        margin-bottom: 30px;
    }

    .slider {
        max-width: 90%; /* Adjust slider width for mobile */
    }

    .slide img {
        height: 300px; /* Smaller image height on mobile */
    }

    .prev, .next {
        font-size: 24px; /* Smaller arrows for mobile */
        padding: 8px;
    }
}

@media (max-width: 480px) {
    .projects h2 {
        font-size: 24px; /* Even smaller heading for very small screens */
    }

    .slider {
        max-width: 100%; /* Full width for very small screens */
    }

    .slide img {
        height: 250px; /* Smaller image height for very small screens */
    }

    .prev, .next {
        font-size: 20px; /* Smaller arrows for very small screens */
        padding: 6px;
    }
}



/* Styling for the download section */
.downloads-section {
    background-color: #f9f9f9;
    padding: 40px 0;
    text-align: center;
}

.downloads-section h1 {
    font-size: 2.5rem;
    color: #00ADEF;
    margin-bottom: 20px;
}

/* Link styling */
.downloads-section a {
    color: #ff0000; /* Link color */
    text-decoration: underline;
    font-size: 1.2rem;
    margin: 10px 0;
    display: inline-block;
    transition: color 0.3s ease;
}

.downloads-section a:hover {
    color: #ff0000; /* Darker shade on hover */
    text-decoration: none; /* Remove underline on hover */
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .downloads-section a {
        font-size: 1rem;
    }

    .downloads-section h1 {
        font-size: 2rem;
    }
}

@media (max-width: 480px) {
    .downloads-section a {
        font-size: 0.9rem;
    }

    
    .downloads-section h1 {
        font-size: 1.5rem;
    }
}


/* Team Section */
#team {
    padding: 60px 10%; /* Responsive padding */
    text-align: center;
    background-color: #f9f9f9; /* Light background color for contrast */
}

#team h2 {
    font-size: 2.5rem;
    margin-bottom: 40px; /* Space below heading */
}

.team-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); /* Responsive grid */
    gap: 20px; /* Space between cards */
}

.team-member {
    background-color: #fff; /* White card background */
    border-radius: 8px;
    padding: 20px;
    transition: transform 0.3s ease;
    border: 2px solid #00ADEF; /* Border color */
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1); /* Subtle shadow */
}

.team-member:hover {
    transform: translateY(-5px); /* Lift effect on hover */
}

.team-img {
    width: 100px;
    height: 100px; /* Circular profile image */
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 15px; /* Space below image */
}

.team-member h3 {
    font-size: 1.5rem;
    margin: 10px 0 5px; /* Space below name */
}

.job-role {
    font-weight: bold;
    color: #555; /* Darker color for job role */
}

.bio {
    font-size: 0.9rem;
    color: #777; /* Lighter color for bio */
}

/* Responsive Design */
@media (max-width: 768px) {
    #team h2 {
        font-size: 2rem; /* Adjust heading size */
    }

    .team-img {
        width: 80px; /* Smaller image size on mobile */
        height: 80px; /* Maintain circular shape */
    }

    .team-member h3 {
        font-size: 1.3rem; /* Adjust name size */
    }
}


/* About Me Section */
.about {
    background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url('background.jpg') no-repeat center center/cover;
    padding: 60px 10%; /* Responsive padding */
    color: white;
    text-align: center;
    position: relative;
    overflow: hidden;
}
.about-content {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 50px;
    animation: fadeIn 1.2s ease-out;
}
.about-text {
    flex: 1;
    max-width: 600px;
    text-align: left;
    position: relative;
    animation: slideInFromLeft 1s ease-out;
}
.about-text h2 {
    font-size: 48px;
    margin-bottom: 20px;
    color: #fff;
    position: relative;
    display: inline-block;
}
.about-text h2::after {
    content: '';
    width: 80px;
    height: 4px;
    background-color: #007BFF;
    display: block;
    position: absolute;
    left: 0;
    bottom: -10px;
}
.about-text p {
    font-size: 18px;
    color: #4a4444;
    line-height: 1.8;
    margin-bottom: 20px;
}
.about-text .btn {
    display: inline-block;
    padding: 12px 24px;
    background-color: #007BFF;
    color: white;
    text-decoration: none;
    border-radius: 30px;
    transition: background-color 0.3s ease;
}
.about-text .btn:hover {
    background-color: #0056b3;
}
.about-image {
    flex: 1;
    position: relative;
    animation: slideInFromRight 1s ease-out;
}
.about-image img {
    width: 350px;
    height: 350px;
    border-radius: 50%;
    border: 5px solid #fff;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.3);
    transition: transform 0.4s ease, box-shadow 0.4s ease;
}
.about-image img:hover {
    transform: scale(1.1);
    box-shadow: 0 25px 45px rgba(0, 0, 0, 0.5);
}

/* Background animations */
.about::before {
    content: '';
    position: absolute;
    top: -50px;
    left: -50px;
    width: 400px;
    height: 400px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    animation: moveBackground 15s linear infinite;
}
.about::after {
    content: '';
    position: absolute;
    bottom: -50px;
    right: -50px;
    width: 400px;
    height: 400px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    animation: moveBackground 20s linear infinite;
}

/* Animations */
@keyframes fadeIn {
    0% {
        opacity: 0;
    }
    100% {
        opacity: 1;
    }
}
@keyframes slideInFromLeft {
    0% {
        transform: translateX(-100%);
    }
    100% {
        transform: translateX(0);
    }
}
@keyframes slideInFromRight {
    0% {
        transform: translateX(100%);
    }
    100% {
        transform: translateX(0);
    }
}
@keyframes moveBackground {
    0% {
        transform: translate(0, 0);
    }
    100% {
        transform: translate(100px, 100px);
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .about-content {
        flex-direction: column;
        text-align: center;
    }
    .about-text {
        text-align: center;
    }
    .about-image img {
        margin-bottom: 20px;
    }
}



/* Contact Section */
.contact {
    padding: 60px 10%; /* Responsive padding */
    background-color: #f4f4f4;
    text-align: center;
}
.contact h2 {
    font-size: 36px;
    margin-bottom: 40px;
    color: #333;
}
.contact-info {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 40px;
}
.contact-item {
    font-size: 18px;
    color: #333;
}
.contact-item i {
    font-size: 24px;
    color: #007BFF;
    margin-bottom: 10px;
}
.contact-item p a {
    color: #007BFF;
    text-decoration: none;
}
.contact-item p a:hover {
    text-decoration: underline;
}
.social-media a {
    color: #007BFF;
    margin: 0 10px;
    font-size: 24px;
    transition: color 0.3s;
}
.social-media a:hover {
    color: #0056b3;
}



/* Footer Section */
footer {
    background-color: #333;
    color: #fff;
    padding: 60px 10%; /* Responsive padding */
    text-align: center;
}
footer p {
    margin: 0;
    font-size: 14px;
}





