@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700;800;900&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
  
body {
    font-family: 'Segoe UI', sans-serif;
}
  
.header {
    background-color: white;
    border-bottom: 1px solid #000;
    padding: 15px 20px;
}
  
.container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
}
  
.logo-container {
    display: flex;
    align-items: center;
    gap: 12px;
}
  
.logo {
    width: 48px;
    height: 48px;
}
  
.site-title {
    font-size: 25px;
    font-weight: bold;
    color: #3171b7;
    letter-spacing: 1px;
    text-decoration: none;
}

.hamburger {
    display: none;
    font-size: 30px;
    cursor: pointer;
}
  
.nav-menu {
    display: flex;
    align-items: center;
    gap: 20px;
}
  
.nav-menu a {
    text-decoration: none;
    color: #333;
    font-weight: 600;
}
  
.nav-menu a:hover {
    color: #3171b7;
}
  
.header-buttons {
    display: flex;
    gap: 10px;
}
  
.header-buttons a {
    padding: 8px 16px;
    border-radius: 20px;
    font-weight: bold;
    cursor: pointer;
    transition: 0.3s ease;
}
  
.outline-btn {
    background: transparent;
    color: #3171b7;
    border: 2px solid #3171b7;
}
  
.filled-btn {
    background: #3171b7;
    color: white;
    border: none;
}
  
.outline-btn:hover,
.filled-btn:hover {
    opacity: 0.8;
}

/* Services Section */
.services {
    background-color: #f5f7fa;
}

.section {
    padding: 80px 0;
}

.containers {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.section-title {
    text-align: center;
    margin-bottom: 50px;
}

.section-title h2 {
    font-size: auto;
    margin-bottom: 20px;
    position: relative;
    display: inline-block;
    color: #333;
    width: 20ch;
    overflow: hidden;
    display: inline-block;
    text-wrap: nowrap;
    overflow: hidden;
    animation: typing 2s steps(20) infinite alternate-reverse;
}

@keyframes typing {
    from {
        width: 0ch;
    }
}

.section-title h2::after {
    content: '';
    display: block;
    width: 80px;
    height: 4px;
    background: #3b82f6;
    margin: 1rem auto 0;
    border-radius: 2px;
    transform: scaleX(0);
    animation: scaleIn 0.6s ease-out 0.4s forwards;
}

@keyframes scaleIn {
    from {
        transform: scaleX(0);
    }
    to {
        transform: scaleX(1);
    }
}

.section-title p {
    font-size: 1.1rem;
    max-width: 700px;
    margin: 0 auto;
    color: #777;
    line-height: 1.6;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.service-card {
    background-color: #ffffff;
    border-radius: 8px;
    padding: 30px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    text-align: center;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.service-icon {
    font-size: 2.5rem;
    color: #3171b7;
    margin-bottom: 20px;
    display: inline-block;
}

.service-card h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: #333;
}

.service-card p {
    margin-bottom: 20px;
    color: #666;
    line-height: 1.6;
}

.btn {
    display: inline-block;
    padding: 10px 20px;
    border-radius: 4px;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.3s ease;
}

.btn-outline {
    background-color: transparent;
    color: #3171b7;
    border: 2px solid #3171b7;
}

.btn-outline:hover {
    background-color: #3171b7;
    color: #ffffff;
}

/* Service Detail Pages */
.service-header {
    background-color: #3171b7;
    color: white;
    padding: 100px 0;
    text-align: center;
}

.service-header h1 {
    font-size: 2.8rem;
    margin-bottom: 15px;
}

.service-header p {
    font-size: 1.2rem;
    max-width: 700px;
    margin: 0 auto;
}

.service-details {
    padding: 80px 0;
}

.service-content {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
    align-items: center;
}

.service-image {
    flex: 1;
    min-width: 300px;
}

.service-image img {
    width: 100%;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.service-description {
    flex: 1;
    min-width: 300px;
}

.service-description h2 {
    color: #3171b7;
    margin-bottom: 20px;
    font-size: 2rem;
}

.service-description p {
    margin-bottom: 20px;
    color: #555;
    line-height: 1.8;
    font-size: 1.1rem;
}

.service-description h3 {
    margin: 30px 0 15px;
    color: #444;
    font-size: 1.5rem;
}

.service-description ul {
    margin-bottom: 30px;
    padding-left: 20px;
}

.service-description li {
    margin-bottom: 10px;
    color: #555;
    line-height: 1.6;
}

.btn-primary {
    background-color: #3171b7;
    color: white;
    padding: 12px 25px;
    border-radius: 4px;
    display: inline-block;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    font-size: 1rem;
}

.btn-primary:hover {
    background-color: #265a94;
    transform: translateY(-2px);
}

/* Footer */
.containerss {
	max-width: 1170px;
	margin:auto;
}

.row {
	display: flex;
	flex-wrap: wrap;
}

ul {
	list-style: none;
}

.footer {
	background: linear-gradient(135deg,rgb(46, 60, 73),rgb(50, 80, 151));
    color: white;
    padding: 70px 0;
}

.footer-col {
   width: 25%;
   padding: 0 15px;
}

.footer-col h4 {
	font-size: auto;
	color: #ffffff;
	text-transform: capitalize;
	margin-bottom: 35px;
	font-weight: 500;
	position: relative;
}

.footer-col h4::before {
	content: '';
	position: absolute;
	left:0;
	bottom: -10px;
	background-color: #e91e63;
	height: 2px;
	box-sizing: border-box;
	width: 50px;
}

.footer-col ul li:not(:last-child) {
	margin-bottom: 10px;
}

.footer-col ul li a {
	font-size: auto;
	text-transform: capitalize;
	color: #ffffff;
	text-decoration: none;
	font-weight: 400;
	color: #bbbbbb;
	display: block;
	transition: all 0.3s ease;
}

.footer-col ul li a:hover {
	color: #ffffff;
	padding-left: 8px;
}

.footer-col .social-links a {
	display: inline-block;
	height: 40px;
	width: 40px;
	background-color: rgba(255,255,255,0.2);
	margin:0 8px 10px 0;
	text-align: center;
	line-height: 40px;
	border-radius: 50%;
	color: #ffffff;
	transition: all 0.5s ease;
}

.footer-col .social-links a:hover {
	color: #24262b;
	background-color: #ffffff;
}

.copyright {
    text-align: center;
    padding: 20px 0;
    margin-top: 20px;
    border-top: 1px solid white;
    font-size: auto;
    color: white;
}

/* Header */
@media (max-width: 768px) {
    .hamburger {
        display: block;
    }
  
    .nav-menu {
        display: none;
        flex-direction: column;
        align-items: flex-start;
        width: 100%;
        background-color: #f5f5f5;
        margin-top: 10px;
        padding: 15px 20px;
        border-radius: 8px;
    }
  
    .nav-menu.active {
        display: flex;
    }
  
    .header-buttons {
        flex-direction: column;
        width: 100%;
        margin-top: 10px;
    }
  
    .header-buttons button {
        width: 100%;
    }
}

/* Footer */
@media(max-width: 767px) {
    .footer-col {
        width: 50%;
        margin-bottom: 30px;
    }
}

@media(max-width: 574px){
    .footer-col{
        width: 100%;
    }
}