@import url('https://fonts.googleapis.com/css2?family=Aclonica&family=Aladin&family=Allura&family=Alumni+Sans+Pinstripe:ital@0;1&family=Cinzel:wght@400..900&family=Euphoria+Script&family=Playfair+Display:ital,wght@0,400..900;1,400..900&display=swap');
body{
    margin: 0;
    padding: 0;
    scroll-behavior: smooth;
    box-sizing: border-box;
}
ul {
    margin-top: 0;
    margin-bottom: 0;
}
nav{
    backdrop-filter: blur(10px);
    box-shadow: 3px 3px 5px rgba(0, 0, 0, 0.1);
}

nav ul{
    width: 100%;
    list-style: none;
    display: flex;
    justify-content: center;
    align-items: center;
}
nav li{
    height: 80px;
}
nav a{
    height: 100%;
    padding: 0 30px;
    text-decoration: none;
    display: flex;
    align-items: center;
    color: #34495E;
}
nav a:hover{
    background-color: #183547;
    color: #b24c52;
}

nav li:first-child{
    margin-right: auto;
}
.sidebar{
    position: fixed;
    top: 0;
    right: 0;
    height: 100vh;
    width: 250px;
    z-index: 9999;
    box-shadow: -10px 0 10px rgba(0, 0, 0, 0.1);
    display: none;
    transition: all 0.3s ease;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    background: url('./images/bg49.jpg') no-repeat center center/cover;
}
.sidebar li{
    width: 100%;
}
.sidebar a{
    width: 100%;
    color: #FFEDDA;
}
.menu-button{
    display: none;
}

@media (max-width: 778px){
    .sidebar{
        width: 80%;
    }
    .hideOnMobile{
        display: none;
    }
    .menu-button{
        display: block;
    }
}
@media(max-width: 400px){
    .sidebar{
        width: 100%;
    }
}

article {
    box-shadow: 5px 10px 29px 0px rgba(205, 206, 211, 1);
    background: linear-gradient(to right, rgba(255, 255, 255, 0.8) 40%, rgba(255, 255, 255, 0.5) 50%, rgba(255, 255, 255, 0) 60%),  
    url('./images/bg-skill2.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.panel {
    width: 100%;
    height: 70vh;
    padding: 10px;
    overflow: hidden;
}

.cards {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap; /* Allow cards to wrap on smaller screens */
}

.card-info-left {
    width: 70%;
    margin: 4rem;
}

.card-info-left h1 {
    color: #C84B31;
    width: 80%; /* Make h1 take up full width */
    font-size: 4rem;
    font-family: 'aladin', cursive;
}

.card-info-right {
    width: 50%;
}
.panel p {
    width: 60%;
    font-family: "Alumni Sans Pinstripe", serif;
    font-size: 1.8rem;
    color: #34495E;
    font-weight: bolder;
}

/* Button Styles */
.link-buttons a:nth-child(1),
.link-buttons a:nth-child(2) {
    display: inline-block;
    padding: 10px 20px;
    font-size: 16px;
    font-weight: bold;
    text-align: center;
    text-decoration: none;
    border-radius: 5px;
    transition: background-color 0.3s ease;
    margin-bottom: 10px; /* Add space between stacked buttons */
}

/* First Button - Red */
.link-buttons a:nth-child(1) {
    background-color: #FF2A00;
    color: #FFEDDA;
    border: none;
}

/* Second Button - White with Border */
.link-buttons a:nth-child(2) {
    background-color: white;
    color: #34495E;
    border: 1px solid #FF2A00;
}

/* Hover Effect */
.link-buttons a:hover {
    border: 1px solid #FFB400;
    color: #34495E;
    background-color: #FFB400;
    transform: translateY(-10px);
    transition: ease-in 0.5s;
}

/* Responsive Design for Smaller Screens */
@media (max-width: 768px) {
    article {
        background: url('./images/bg2.jpg'); /* New background image for mobile */
        background-size: cover;
        background-position: center;
        background-repeat: no-repeat;
    }
    .cards {
        flex-direction: column; /* Stack the cards vertically */
        align-items: center; /* Center the cards */
    }
    .cards h1{
        margin: 0 auto;
        color: #FF2A00;
        font-weight: bolder;
        background: #FDF7F4;
        border-radius: 25px;
        padding: 10px;
    }
    .cards p{
        width: 90%;
        margin: 0 auto;
        color: #34495E;
        padding: 20px;
    }
    span{
        color: #34495E;
    }
    .card-info-left,
    .card-info-right{
        width: 100%; /* Make cards take full width */
        margin: 2rem 0; /* Adjust margin for spacing */
        text-align: center;
    }
    .link-buttons a {
        width: 50%; /* Make buttons take full width on smaller screens */
        margin: 10px 0; /* Add margin to stack buttons */
    }
}

@media (max-width: 480px) {
    .panel {
        height: auto; /* Adjust height on very small screens */
        padding: 5px;
        text-align: center;
    }

    .panel p {
        font-size: 1.2rem; /* Adjust font size for smaller screens */
    }

    .panel h1 {
        font-size: 2rem; /* Adjust font size for smaller screens */
    }
    
}
/**Here starts the our services section*/

/* Section Styling */
.main-head-section{
    width: 100%;
    min-height: 100vh;
    background: #E4E0E1;
}
.head-section{
    width: 90%;
    max-width: 1200px; /* Prevents too much stretching */
    min-height: 100vh;
    margin: auto; /* Centers the section */
    padding: 20px;
}

/* Head Container */
.head-container {
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 20px;
}

.head {
    max-width: 600px;
}

.head h1 {
    font-size: 2.5rem; /* Reduced for better scaling */
    font-family: 'Aclonica', sans-serif;
    margin-top: 2rem;
    color: #FF2A00;
    line-height: 1.2;
}

.head p {
    font-family: 'Alumni Sans Pinstripe', sans-serif;
    font-size: 1.6rem;
    font-weight: 600;
    color: #7E7F9A;
    line-height: 1.5;
}

/* Card Container */
.card-container {
    display: flex;
    flex-wrap: wrap; /* Allows wrapping for smaller screens */
    gap: 20px; /* Adds spacing between cards */
    justify-content: center;
    padding: 20px;
}

/* Card Image */
.card-image {
    width: 100%;
    max-width: 300px; /* Prevents cards from being too large */
    margin: 10px;
    border-radius: 20px;
    background: snow;
    box-shadow: 0px 10px 15px 0px rgba(0,0,0,0.4);
}

.card-image img {
    width: 100%;
    height: 250px; /* Changed from vh to fixed height for consistency */
    object-fit: cover;
    border-radius: 20px 20px 0 0;
}

/* Card Content */
.card-content {
    width: 100%;
    margin: auto;
    text-align: center;
}

.card-content h3 {
    color: #34495E;
    margin-top: 15px;
    font-size: 1.5rem;
}

.card-content p {
    color: #183547;
    font-family: 'Alumni Sans Pinstripe', sans-serif;
    font-weight: bold;
    font-size: 1.2rem;
    padding: 10px;
    line-height: 1.4;
}

/* Checkmark List */
.checkmark{
    text-align: center;
}
.checkmark li {
    list-style: none;
    font-family: 'Alumni Sans Pinstripe', sans-serif;
    font-weight: bold;
    font-size: 1.2rem;
    color: #1E555C;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px;
}

/* Icons */
.fa-circle-check {
    color: #C84B31;
    font-size: 1.2rem;
}

/* Responsive Design */
@media (max-width: 768px) {
    .head h1 {
        font-size: 2rem;
    }

    .head p {
        font-size: 1.4rem;
    }

    .card-container {
        flex-direction: column; /* Stacks cards vertically */
        align-items: center;
    }

    .card-image {
        max-width: 90%;
    }

    .card-content {
        max-width: 90%;
    }
}

@media (max-width: 480px) {
    .head h1 {
        font-size: 1.8rem;
    }

    .head p {
        font-size: 1.2rem;
    }
    .card-image img {
        height: 200px; /* Adjusted for small screens */
    }
    .checkmark{
        padding: 0 ;
        margin: 0 ;
    }
    .card-content{
        padding: 20px 0;
    }
    .card-content li{
        font-size: 1.4rem;
        text-align: left;
        padding: 10px;
        line-height: 1.2;
    }
    .fa-circle-check {
        font-size: 1rem;
    }
}

a{
    text-decoration: none;
}
ul{
    list-style: none;
}
#blog {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    padding: 40px;
    border-bottom: 1px solid black;
    width: 100%;
}

.blog-heading {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    text-align: center;
    padding: 20px;
}

.blog-heading span {
    color: #FF2A00;
}

.blog-heading h3 {
    font-size: 2.3rem;
    color: #1E555C;
    font-weight: 600;
}

/* Blog container with grid for 3 posts per row */
.blog-container {
    display: grid;
    grid-template-columns: repeat(3, 1fr); /* Three columns */
    gap: 20px;
    justify-content: center;
    max-width: 1200px;
    width: 100%;
    margin: 20px auto;
}

.blog-box {
    background-color: #FFEDDA;
    border: 1px solid white;
    box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease-in-out;
    
    border-radius: 25px;
}

.blog-box:hover {
    transform: translateY(-5px);
}

.blog-img {
    width: 100%;
    height: 40vh;
    overflow: hidden;
}

.blog-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    
    border-radius: 25px 25px 0 0;
}

.blog-text {
    padding: 20px;
    display: flex;
    flex-direction: column;
    text-align: left;
}

.blog-text span {
    color: #FF2A00;
    font-size: 0.9rem;
}

.blog-title {
    font-size: 1.3rem;
    font-weight: 500;
    color: #34495E;
}

.blog-title:hover {
    color: #C84B31;
    transition: all ease-in-out 0.5s;
}

.blog-text p {
    color: #34495E;
    font-size: 0.9rem;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    margin: 15px 0;
}

.blog-text a {
    color: #006C67;
}

.blog-text a:hover {
    color: #FF2A00;
    transition: all ease-in-out 0.5s;
}

/* Responsive Design */
@media screen and (max-width: 1024px) {
    .blog-container {
        grid-template-columns: repeat(2, 1fr); /* Two columns */
    }
    .blog-heading h3 {
        font-size: 2rem;
    }
}

@media screen and (max-width: 768px) {
    .blog-container {
        grid-template-columns: repeat(1, 1fr); /* One column */
    }
    .blog-heading h3 {
        font-size: 1.8rem;
    }
}

@media screen and (max-width: 480px) {
    .blog-container {
        grid-template-columns: repeat(1, 1fr); /* One column on small screens */
    }
    .blog-text {
        padding: 15px;
    }
    .blog-heading h3 {
        font-size: 1.5rem;
    }
}
.start-project {
    width: 100%;
    height: 60vh;
    padding: 20px;
    background: #690B22;
    
    /* Centering content */
    display: flex;
    flex-direction: column;
    justify-content: center; /* Centers content vertically */
    align-items: center; /* Centers content horizontally */
    text-align: center;
}

.start-project h2 {
    color: #FFF7F3;
    font-size: 4rem;
    font-family: 'Allura', cursive;
}

.start-project p {
    color: #F2F6D0;
    font-size: 2.5rem;
    font-family: 'Alumni Sans Pinstripe', cursive;
    font-weight: bolder;
    width: 50%;
}

.start-project a {
    display: inline-block; /* Keeps button inline */
    width: auto;
    padding: 15px 30px;
    background-color: #FFB400;
    color: #183547;
    text-decoration: none;
    border-radius: 5px;
    font-size: 1.5rem;
    transition: background-color 0.3s ease;
}

/* Make it responsive */
@media screen and (max-width: 768px) {
    .start-project h2 {
        font-size: 3rem;
    }

    .start-project p {
        font-size: 2rem;
        width: 80%;
    }

    .start-project a {
        font-size: 1.2rem;
        padding: 12px 25px;
    }
}
/* Global Styles */
.certification {
    width: 100%;
    min-height: 60vh;
    padding: 5vw 3vw;
    text-align: center;
    background-color: #ffffff;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='800' height='800' viewBox='0 0 200 200'%3E%3Cdefs%3E%3ClinearGradient id='a' gradientUnits='userSpaceOnUse' x1='88' y1='88' x2='0' y2='0'%3E%3Cstop offset='0' stop-color='%23005092'/%3E%3Cstop offset='1' stop-color='%23007cc4'/%3E%3C/linearGradient%3E%3ClinearGradient id='b' gradientUnits='userSpaceOnUse' x1='75' y1='76' x2='168' y2='160'%3E%3Cstop offset='0' stop-color='%23868686'/%3E%3Cstop offset='0.09' stop-color='%23ababab'/%3E%3Cstop offset='0.18' stop-color='%23c4c4c4'/%3E%3Cstop offset='0.31' stop-color='%23d7d7d7'/%3E%3Cstop offset='0.44' stop-color='%23e5e5e5'/%3E%3Cstop offset='0.59' stop-color='%23f1f1f1'/%3E%3Cstop offset='0.75' stop-color='%23f9f9f9'/%3E%3Cstop offset='1' stop-color='%23FFFFFF'/%3E%3C/linearGradient%3E%3Cfilter id='c' x='0' y='0' width='200%25' height='200%25'%3E%3CfeGaussianBlur in='SourceGraphic' stdDeviation='12' /%3E%3C/filter%3E%3C/defs%3E%3Cpolygon fill='url(%23a)' points='0 174 0 0 174 0'/%3E%3Cpath fill='%23000' fill-opacity='.5' filter='url(%23c)' d='M121.8 174C59.2 153.1 0 174 0 174s63.5-73.8 87-94c24.4-20.9 87-80 87-80S107.9 104.4 121.8 174z'/%3E%3Cpath fill='url(%23b)' d='M142.7 142.7C59.2 142.7 0 174 0 174s42-66.3 74.9-99.3S174 0 174 0S142.7 62.6 142.7 142.7z'/%3E%3C/svg%3E");
    background-attachment: fixed;
    background-repeat: no-repeat;
    background-position: top left;
}

/* Title Styles */
.certificate h1 {
    font-size: clamp(2rem, 5vw, 3rem);
    font-family: 'Aclonica', sans-serif;
    font-weight: 600;
    color: #FF2A00;
    margin-top: 2rem;
}

/* Paragraph Styles */
.certificate p {
    font-size: clamp(1.2rem, 3vw, 2rem);
    font-family: 'Alumni Sans Pinstripe', sans-serif;
    font-weight: 600;
}

/* Container Adjustments */
.certificate-container {
    width: 100%;
    margin: 0 auto;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
}

/* Certificate Card */
.certificate-card {
    max-width: 500px;
    min-width: 250px;
    padding: 20px;
    border-radius: 10px;
    background-color: #F1F0E9;
    box-shadow: 2px 4px 10px 1px rgba(148,144,144,0.75);
    transition: transform 0.5s ease-in-out, opacity 0.5s;
}

/* Animation for Hover (Desktop Only) */
@media (hover: hover) {
    .certificate-card:hover {
        background: #690B22;
        animation: fadeInRotate 3s ease-in-out;
        color: #FDF7F4;
    }
}

/* Keyframe Animation */
@keyframes fadeInRotate {
    0% { opacity: 0; transform: rotate(0deg) translateY(-20px); }
    50% { opacity: 1; transform: rotate(180deg) translateY(0); }
    100% { opacity: 1; transform: rotate(360deg); }
}

/* Icon Styling */
.certificate-card i {
    font-size: clamp(1.5rem, 3vw, 2rem);
    padding: 1.5rem;
    color: #FFB400;
}

/* Text Styles */
.certificate-card h2 {
    font-size: clamp(1.2rem, 2.5vw, 1.5rem);
    font-family: 'Aclonica', sans-serif;
}

.certificate-card p {
    font-size: clamp(1rem, 2vw, 1.3rem);
    font-weight: bold;
    font-size: 1.2rem;
}

/* 📌 1024px - Small Laptops & Tablets */
@media (max-width: 1024px) {
    .certificate-container {
        justify-content: space-around;
    }
    .certificate-card {
        width: 40%;  /* Slightly larger for better layout */
        padding: 25px;
    }
}

/* 📌 768px - Tablets & Large Phones */
@media (max-width: 768px) {
    .certificate-container {
        flex-direction: column;
        align-items: center;
    }
    .certificate-card {
        width: 80%;
    }
}

/* 📌 400px - Small Phones */
@media (max-width: 400px) {
    .certificate h1 {
        font-size: 2rem;
    }
    .certificate p {
        font-size: 1.2rem;
    }
    .certificate-card {
        width: 90%;
        padding: 15px;
    }
    .certificate-card h2, .certificate-card p {
        font-size: 1rem;
    }
    .certificate-card i {
        font-size: 1.5rem;
    }
}


footer {
    position: relative;
    width: 100%;
    background: #5B2333;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    padding: 20px; /* Added padding for better spacing */
}

/* Social Links & Menu */
.social-links-footer, .menu {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    margin: 20px 0;
    gap: 15px; /* Ensures spacing between items */
}

.social-links-footer li, .menu li {
    list-style: none;
}

.social-links-footer a, .menu a {
    text-decoration: none;
    font-size: 1.8rem; /* Slightly smaller for responsiveness */
    color: #F7F4F3;
    margin: 0 8px;
    display: inline-block;
    transition: 0.3s;
}
.menu a{
    text-decoration: none;
    color: #F7F4F3;
    margin: 0 10px;
    font-size: 1.4rem;
    opacity: 0.7;
    display: inline-block;
}
.social-links-footer a:hover {
    color: #F7F4F3;
    transform: translateY(-5px); /* Keeps the slight bounce effect */
    text-shadow: 0 0 10px rgba(247, 244, 243, 0.8), 
                 0 0 20px rgba(247, 244, 243, 0.6), 
                 0 0 30px rgba(247, 244, 243, 0.4);
}
.menu a:hover {
    opacity: 1;
    transform: translateY(-5px); /* Keeps the slight bounce effect */
    text-shadow: 0 0 10px rgba(247, 244, 243, 0.8), 
                 0 0 20px rgba(247, 244, 243, 0.6), 
                 0 0 30px rgba(247, 244, 243, 0.4);
}

/* Footer Text */
footer p {
    color: #F7F4F3;
    font-family: "Alumni Sans Pinstripe", cursive;
    font-weight: bolder;
    font-size: 1.3rem;
    margin: 20px;
    text-align: center;
}

/* Responsive Design */
@media (max-width: 768px) {
     .menu {
        flex-direction: column; /* Stack elements on smaller screens */
        gap: 20px;
    }
    .social-links-footer a, .menu a {
        font-size: 1.5rem;
        margin: 5px 0;
    }
    footer p {
        font-size: 1.2rem;
        margin: 15px;
    }
}

@media (max-width: 480px) {
     .menu a {
        font-size: 1.3rem;
    }
    footer p {
        font-size: 1rem;
    }
}
