:root {
    --primary: #fd5703;
    --secondary: #4a44b5;
    --dark: #25233a;
    --light: #f8f9fa;
    --accent: #ff6584;
    --dark-grey: #333333;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    color: var(--dark);
    overflow-x: hidden;
}

.navbar {
    backdrop-filter: blur(10px);
    background: rgba(255, 255, 255, 0.9);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    padding: 15px 0;
    transition: all 0.3s;
    
}


.navbar-logo {
    height: 40px;
    width: auto;
    transition: all 0.3s;
}

/* Optional hover effect */
.navbar-brand:hover .navbar-logo {
    transform: scale(1.05);
}


/* Add to main.css */
.brand-name {
    font-size: 1.8rem; /* Default size */
    font-weight: 700;
    line-height: 1.2;
    transition: all 0.3s;
    color: var(--dark-grey);
}

/* Navbar specific adjustments */
.navbar .brand-name {
    font-size: 1.5rem; /* Slightly smaller in navbar */
    color: var(--dark-grey);
}

/* Footer specific adjustments */
footer .brand-name {
    font-size: 2rem; /* Larger in footer */
    margin-bottom: 10px;
    display: block;
}


.hero {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: white;
    padding: 150px 0 100px;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: "";
    position: absolute;
    width: 300px;
    height: 300px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    top: -150px;
    right: -50px;
}

.hero::after {
    content: "";
    position: absolute;
    width: 200px;
    height: 200px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    bottom: -100px;
    left: -50px;
}

.section {
    padding: 100px 0;
}

.section-title {
    position: relative;
    margin-bottom: 60px;
    font-weight: 700;
}

.section-title::after {
    content: "";
    position: absolute;
    width: 80px;
    height: 4px;
    background: var(--primary);
    bottom: -15px;
    left: 0;
    border-radius: 2px;
}

.section-title.text-center::after {
    left: 50%;
    transform: translateX(-50%);
}

.card {
    border: none;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s, box-shadow 0.3s;
    height: 100%;
}

.card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.service-card {
    text-align: center;
    padding: 30px 20px;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.service-card p {
    flex-grow: 1; /* Makes the paragraph take available space */
    margin-bottom: 1.5rem; /* Space before button */
}

.service-card .btn {
    margin-top: auto;
    
}

.service-icon {
    width: 80px;
    height: 80px;
    background: rgba(108, 99, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px;
    color: var(--primary);
    font-size: 30px;
}

.portfolio-item {
    position: relative;
    overflow: hidden;
    border-radius: 15px;
    margin-bottom: 30px;
    height: 300px;
}

.portfolio-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s;
}

.portfolio-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(108, 99, 255, 0.85);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: opacity 0.3s;
    padding: 20px;
    text-align: center;
    color: white;
}

.portfolio-item:hover .portfolio-overlay {
    opacity: 1;
}

.portfolio-item:hover .portfolio-img {
    transform: scale(1.1);
}

.btn-primary {
    background: var(--primary);
    border: none;
    padding: 12px 30px;
    border-radius: 50px;
    font-weight: 600;
    transition: all 0.3s;
}

.btn-primary:hover {
    background: var(--secondary);
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(108, 99, 255, 0.3);
}

.btn-outline-primary {
    border: 2px solid var(--primary);
    color: var(--primary);
    padding: 10px 25px;
    border-radius: 50px;
    font-weight: 600;
    transition: all 0.3s;
}

.btn-outline-primary:hover {
    background: var(--primary);
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(108, 99, 255, 0.3);
}

.testimonial-card {
    padding: 30px;
    border-radius: 15px;
    background: white;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    position: relative;
    margin-top: 40px;
}

.testimonial-img {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    position: absolute;
    top: -40px;
    left: 30px;
    border: 4px solid white;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.contact-form {
    padding: 40px;
    border-radius: 15px;
    background: white;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

.form-control {
    padding: 15px;
    border-radius: 10px;
    border: 1px solid #e0e0e0;
    margin-bottom: 20px;
    transition: all 0.3s;
}

.form-control:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(108, 99, 255, 0.2);
}

footer {
    background: var(--dark);
    color: white;
    padding: 80px 0 30px;
}

.social-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-right: 10px;
    transition: all 0.3s;
    color: var(--primary);
    text-decoration: none;
}

.social-icon:hover {
    background: var(--primary);
    transform: translateY(-3px);
    color: white;
    box-shadow: 0 5px 15px rgba(108, 99, 255, 0.4);
}



.tech-stack {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 20px;
    margin-top: 30px;
}

.tech-item {
    background: white;
    padding: 15px 25px;
    border-radius: 50px;
    display: flex;
    align-items: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.tech-icon {
    width: 40px;
    height: 40px;
    margin-right: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(108, 99, 255, 0.1);
    border-radius: 50%;
    color: var(--primary);
    font-size: 20px;
}

.feature-badge {
    display: inline-flex;
    align-items: center;
    background: rgba(108, 99, 255, 0.1);
    color: var(--light);
    padding: 5px 15px;
    border-radius: 50px;
    margin-bottom: 15px;
}

.alert-container {
    position: fixed;
    top: 80px; /* Height of navbar + some margin */
    left: 0;
    right: 0;
    z-index: 1050; /* Higher than navbar's z-index */
    padding: 0 15px;
}



/* Service Detail Page */
.service-detail .service-icon {
    width: 100px;
    height: 100px;
    background: rgba(108, 99, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 30px;
    color: var(--primary);
    font-size: 40px;
}

.service-content h3 {
    margin-top: 40px;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 15px;
}

.service-content h3::after {
    content: "";
    position: absolute;
    width: 60px;
    height: 3px;
    background: var(--primary);
    bottom: 0;
    left: 0;
    border-radius: 2px;
}

.process-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 30px;
}

.step {
    position: relative;
    padding: 30px;
    background: white;
    border-radius: 15px;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.05);
    transition: all 0.3s;
}

.step:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.step-number {
    position: absolute;
    top: -20px;
    left: 30px;
    width: 40px;
    height: 40px;
    background: var(--primary);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 18px;
}

.step h5 {
    margin-top: 15px;
    margin-bottom: 15px;
}



/* Policy Pages */
.policy-content, .terms-content {
    line-height: 1.8;
}

.policy-content h3, .terms-content h3 {
    margin-top: 40px;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--primary);
}

.policy-content ul, .terms-content ul {
    padding-left: 20px;
    margin-bottom: 20px;
}

.policy-content li, .terms-content li {
    margin-bottom: 10px;
}

.policy-content p, .terms-content p {
    margin-bottom: 20px;
}




/* Responsive adjustments */
@media (max-width: 992px) {
    .navbar .brand-name {
        font-size: 1.4rem;
    }
    
    footer .brand-name {
        font-size: 1.8rem;
    }
}


@media (max-width: 768px) {
    .hero {
        padding: 100px 0 60px;
    }
    
    .section {
        padding: 60px 0;
    }
    
    .tech-stack {
        gap: 10px;
    }
    
    .tech-item {
        padding: 10px 15px;
        font-size: 14px;
    }

    .navbar .brand-name {
        font-size: 1.3rem;
    }
    
    footer .brand-name {
        font-size: 1.6rem;
    }
}


@media (max-width: 576px) {
    .portfolio-item {
        height: 250px; /* Slightly shorter on very small screens */
    }
    
    .contact-form {
        padding: 25px; /* Reduce form padding */
    }
    
    .hero h1 {
        font-size: 2.5rem; /* Slightly smaller heading */
    }

    .navbar .brand-name {
        font-size: 1.2rem;
    }
    
    footer .brand-name {
        font-size: 1.4rem;
    }
}