* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background-color: #1a1a2e; 
    color: #eaeaea; 
    font-family: 'Poppins', sans-serif;
    overflow-x: hidden;
    line-height: 1.6;
}


.navbar{
    display: flex;
    flex-wrap: inherit;
    align-items: center;
    justify-content: space-between;
    margin: 0px 20px;
    
}
.navbar-toggler {
    background: revert-layer;
}

.coo{
    color: #eaeaea; 
}

.coo:hover {
    color: #ffb703;
}
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.left {
    font-size: 1.5rem; 
    color: #ffb703; /* Amber */
}

.first {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 40px 0; /* Reduce padding */
    text-align: left; /* Center text for smaller screens */
}

.leftSection {
    font-size: 1.8rem; /* Reduce font size */
    max-width: 50%;
    /* margin: auto; Center content */
}

.leftSection .purple {
    color: #ffb703; /* Amber */
}

.rightSection img {
    width: 100%;
    max-width: 300px; /* Reduce image size */
    border-radius: 10px;
}

.second {
    padding: 40px 0; /* Reduce padding */
    text-align: center;
}

.second .text-gray {
    color: #ffb703; /* Amber */
}

.second h1 {
    font-size: 2rem; /* Reduce font size */
    color: #eaeaea; /* Light Gray */
    margin-bottom: 20px;
}

.second .box {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    gap: 20px;
}

.second .vertical {
    flex: 1 1 20%;
    background-color: #16213e; /* Dark Blue */
    padding: 20px;
    border-radius: 10px;
    text-align: center;
    transition: transform 0.3s ease;
}
.firstimg {
    max-width: 50px;
    margin-bottom: 10px;
}
.secondimg {
    max-width: 80px;
    margin-bottom: 10px;
}

.second .vertical-text {
    font-size: 1rem; /* Reduce font size */
    font-weight: bold;
    margin-bottom: 10px;
    color: #eaeaea; /* Light Gray */
}

.second .vertical-desc {
    color: #d1d1e9; /* Pale Lavender */
    font-size: 0.8rem; /* Reduce font size */
}

.second .vertical:hover {
    transform: translateY(-10px);
    background-color: #0f3460; /* Medium Blue */
}

#services {
    background-color: #16213e; /* Dark Blue */
    padding: 40px 20px; /* Reduce padding */
    text-align: center;
}

.services-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 20px; /* Reduce gap */
    margin-top: 30px;
}

.services-list div {
    background-color: #1a1a2e; /* Deep Blue */
    padding: 30px 15px; /* Reduce padding */
    border-radius: 10px;
    transition: background-color 0.3s ease, transform 0.3s ease;
    color: #eaeaea; /* Light Gray */
}

.services-list div i {
    font-size: 30px; /* Reduce icon size */
    margin-bottom: 15px;
    color: #ffb703; /* Amber */
}

.services-list div h2 {
    font-size: 1.2rem; /* Reduce font size */
    margin-bottom: 10px;
    color: #eaeaea; /* Light Gray */
}

.services-list div a {
    text-decoration: none;
    color: #ffb703; /* Amber */
    font-size: 0.9rem; /* Reduce font size */
    display: inline-block;
    margin-top: 15px;
}

.services-list div:hover {
    background-color: #0f3460; /* Medium Blue */
    transform: translateY(-10px);
}

#project {
    padding: 40px 20px; /* Reduce padding */
    text-align: center;
}

#project .box {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    gap: 20px;
}

footer {
    background-color: #0f3460; /* Medium Blue */
    /* padding: 40px 20px; Reduce padding */
    color: #eaeaea; /* Light Gray */
}

.footer_logo {
    text-align: center;
    margin-bottom: 20px;
}

.footer_logo h2 {
    font-size: 1.5rem; /* Reduce font size */
    color: #ffb703; /* Amber */
}

.pages, .social, .contact {
    text-align: center;
    margin-bottom: 10px; /* Reduce margin */
}

.pages h3, .social h3, .contact h3 {
    font-size: 1.2rem; /* Reduce font size */
    color: #ffb703; /* Amber */
}

.pages a, .social a, .contact a {
    text-decoration: none;
    margin: 5px;
    color: #eaeaea; /* Light Gray */
    transition: color 0.3s ease;
}

.pages a:hover, .social a:hover, .contact a:hover {
    color: #ffb703; /* Amber */
}

.social a {
    font-size: 1.2rem; /* Reduce font size */
    margin: 0 10px;
}

.contact a {
    font-size: 1.2rem; /* Reduce font size */
    margin: 0 10px;
}

.btn {
    display: inline-block;
    color: #ffb703; /* Amber */
    border: 2px solid #ffb703;
    padding: 10px 20px;
    border-radius: 5px;
    text-decoration: none;
    transition: background-color 0.3s ease;
}

.btn:hover {
    background-color: #ffb703; /* Amber */
    color: #1a1a2e; /* Deep Blue */
}

.rotating {
    animation: rotateAnimation 1s linear infinite;
  }
  
  @keyframes rotateAnimation {
    from {
      transform: rotate(0deg);
    }
    to {
      transform: rotate(360deg);
    }
  }
