@import url('https://fonts.googleapis.com/css?family=Montserrat:400,800');

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

:root {
    --primary: #6366f1;
    --primary-dark: #4f46e5;
    --secondary: #10b981;
    --background: #0f172a;
    --surface: #1e293b;
    --text: #e2e8f0;
    --text-secondary: #94a3b8;
    --accent: #f472b6;
    --gradient: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

body {
    font-family: 'Montserrat', sans-serif;
    background: var(--background);
    color: var(--text);
    line-height: 1.6;
    overflow-x: hidden;
}

/* Navigation */
nav {
    position: fixed;
    top: 0;
    width: 100%;
    padding: 1rem 2rem;
    background: rgba(15, 23, 42, 0.8);
    backdrop-filter: blur(10px);
    z-index: 1000;
    transition: all 0.3s ease;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.5rem;
    font-weight: bold;
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.nav-links {
    display: flex;
    gap: 2rem;
    align-items: center;
}

.nav-links a {
    color: var(--text-secondary);
    text-decoration: none;
    transition: color 0.3s ease;
}

.nav-links a:hover {
    color: var(--text);
}

.cta-button {
    background: var(--primary);
    color: white;
    padding: 0.5rem 1.5rem;
    border-radius: 0.5rem;
    text-decoration: none;
    transition: all 0.3s ease;
}

.cta-button:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(99, 102, 241, 0.3);
}

/* Mobile Menu */
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    gap: 4px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
}

.mobile-menu-toggle span {
    display: block;
    width: 25px;
    height: 3px;
    background: var(--text);
    transition: all 0.3s ease;
    transform-origin: center;
}

.mobile-menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.mobile-menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

.mobile-nav {
    display: none;
    position: fixed;
    top: 60px;
    left: 0;
    right: 0;
    background: rgba(15, 23, 42, 0.98);
    backdrop-filter: blur(10px);
    padding: 2rem;
    border-top: 1px solid rgba(99, 102, 241, 0.2);
    animation: slideDown 0.3s ease;
}

.mobile-nav.active {
    display: block;
}

.mobile-nav a {
    display: block;
    color: var(--text);
    text-decoration: none;
    padding: 1rem 0;
    font-size: 1.1rem;
    border-bottom: 1px solid rgba(99, 102, 241, 0.1);
    transition: all 0.3s ease;
}

.mobile-nav a:hover {
    color: var(--primary);
    transform: translateX(10px);
}

.mobile-nav .cta-button {
    display: inline-block;
    margin-top: 1rem;
    width: 100%;
    text-align: center;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Hero Section */
.hero1 {
    padding: 8rem 2rem 4rem;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero1::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(99, 102, 241, 0.1) 0%, transparent 70%);
    animation: pulse 20s ease-in-out infinite;
}

/* Rotating Background Images */
.hero1-backgrounds {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    transition: opacity 2s ease-in-out;
}

.hero-bg.active {
    opacity: 1;
}

.hero-bg::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(15, 23, 42, 0.7), rgba(15, 23, 42, 0.9));
}

.hero-bg:nth-child(1) {
    background-image: url('../images/1.jpg');
}

.hero-bg:nth-child(2) {
    background-image: url('../images/2.jpg');
}

.hero-bg:nth-child(3) {
    background-image: url('../images/3.jpg');
}

@keyframes pulse {

    0%,
    100% {
        transform: scale(1);
        opacity: 0.5;
    }

    50% {
        transform: scale(1.1);
        opacity: 0.3;
    }
}

.hero-content {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

h1 {
    font-size: 3.5rem;
    margin-bottom: 1rem;
    background: linear-gradient(to right, #ffffff, #94a3b8);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: fadeInUp 0.8s ease-out;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--text-secondary);
    margin-bottom: 2rem;
    animation: fadeInUp 0.8s ease-out 0.2s both;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Features Section */
.Team {
    padding: 4rem 2rem;
    background: var(--surface);
}

.Team-container {
    max-width: 1200px;
    margin: 0 auto;
}

.Team-header {
    text-align: center;
    margin-bottom: 4rem;
}

.Team-header h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.Team-subtitle {
    color: var(--text-secondary);
    font-size: 1.1rem;
}

.Team-layout {
    display: flex;
    flex-direction: column;
    gap: 3rem;
}

/* Four team Column Features */
.features-two-col {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
}

.feature-card-large {
    background: rgba(30, 41, 59, 0.5);
    border: 1px solid rgba(99, 102, 241, 0.2);
    padding: 2.5rem;
    border-radius: 1rem;
    transition: all 0.3s ease;
}

.feature-card-large:hover {
    transform: translateY(-5px);
    border-color: var(--primary);
    box-shadow: 0 20px 40px rgba(99, 102, 241, 0.1);
}

.feature-icon {
    width: 60px;
    height: 60px;
    background: var(--gradient);
    border-radius: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    font-size: 2rem;
}

.feature-card-large h3 {
    font-size: 2rem;
    margin-bottom: 1rem;
}

.feature-checklist {
    list-style: none;
    margin-top: 1.5rem;
}

.feature-checklist li {
    padding: 0.5rem 0;
    color: var(--text-secondary);
    position: relative;
    padding-left: 1.5rem;
}

.feature-checklist li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--secondary);
    font-weight: bold;
}

/* Four small Column Features */
.features-four-col {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
}

.feature-card-small {
    background: rgba(30, 41, 59, 0.3);
    border: 1px solid rgba(99, 102, 241, 0.1);
    padding: 2rem;
    border-radius: 1rem;
    text-align: center;
    transition: all 0.3s ease;
}

.feature-card-small:hover {
    background: rgba(99, 102, 241, 0.1);
    border-color: var(--primary);
    transform: translateY(-3px);
}

.feature-icon-small {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    display: inline-block;
}

.feature-card-small h4 {
    font-size: 1.1rem;
    margin-bottom: 0.75rem;
}

.feature-card-small p {
    color: var(--text-secondary);
    font-size: 0.9rem;
}


/* Animated Background */
.floating-shapes {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: -1;
}

.shape {
    position: absolute;
    background: rgba(99, 102, 241, 0.1);
    filter: blur(40px);
    border-radius: 50%;
    animation: float 20s infinite ease-in-out;
}

.shape:nth-child(1) {
    width: 300px;
    height: 300px;
    top: 10%;
    left: 10%;
    animation-delay: 0s;
}

.shape:nth-child(2) {
    width: 200px;
    height: 200px;
    top: 60%;
    right: 10%;
    animation-delay: 5s;
}

.shape:nth-child(3) {
    width: 250px;
    height: 250px;
    bottom: 10%;
    left: 30%;
    animation-delay: 10s;
}

@keyframes float {

    0%,
    100% {
        transform: translate(0, 0) scale(1);
    }

    33% {
        transform: translate(30px, -30px) scale(1.1);
    }

    66% {
        transform: translate(-20px, 20px) scale(0.9);
    }
}

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

    .nav-links {
        display: none;
    }

    .pricing-cards {
        grid-template-columns: 1fr;
    }
}

/* Project Section */
.projects h1 {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 150px;
    margin-bottom: -70px;
    color: #fff;
    font-size: 3rem;
}


.hero {
    height: 1300px;
    width: 100%;
    padding: 8rem 2rem 4rem;
    text-align: center;
    position: relative;
    overflow: hidden;
}
@media (max-width: 800px) {
            .hero {
                height: 3100px;
            }
        }
.projects-container {
    display: flex; 
    justify-content: center; 
    flex-wrap: wrap; 
    gap: 20px; 
}

.project-card {
    width: 450px; 
    height: 250px;
    perspective: 1000px;
    cursor: pointer;
    box-sizing: border-box;
}

.project-inner {
    position: relative;
    width: 100%;
    height: 100%;
    text-align: center;
    transition: transform 0.6s;
    transform-style: preserve-3d;
}

.project-card:hover .project-inner {
    transform: rotateY(180deg);
}

.front,
.back {
    position: absolute;
    width: 100%;
    height: 100%;
    -webkit-backface-visibility: hidden; /* For Safari */
    backface-visibility: hidden;
    border-radius: 12px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.front {
    background: #1e293b;
}

.back {
    background: rgb(30, 41, 59);
    color: #000;
    transform: rotateY(180deg); 
    line-height: 40px;
}
.back a {
    text-decoration: none;
    color: #ffffff98;
    font-size: 15px;
    transition: all 0.3s ease;
}
.back h1{
    color: #ffffff9d;
    font-size: 30px;
    transition: all 0.3s ease;
    line-height: 30px;
}
.back p{
    margin-top: 10px;
    color: #ffffffb6;
    font-size: 13px;
    line-height: 20px;
    transition: all 0.3s ease;
}
.back p:hover {
    color: #fff; 
    text-shadow: 0 0 10px #fff, 0 0 20px #fff, 0 0 30px #fff; 
    transform: scale(1.05); 
}
.back a:hover {
    color: #fff; 
    text-shadow: 0 0 10px #fff, 0 0 20px #fff, 0 0 30px #fff; 
    transform: scale(1.05); 
}
.back h1:hover {
    color: #fff; 
    text-shadow: 0 0 10px #fff, 0 0 20px #fff, 0 0 30px #fff; 
    transform: scale(1.05); 
}


.front img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 12px;
}

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

    .nav-links {
        display: none;
    }

    .pricing-cards {
        grid-template-columns: 1fr;
    }
}


/* Main container and box styling */
.about-us-container {
    margin-top: 100px;
    padding: 20px;
    width: 100%;
    display: flex;
    justify-content: center;
}

.content-box {
    background-color: #1e293b;
    max-width: 900px;
    width: 90%;
    padding: 50px;
    border-radius: 12px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.1);
    animation: fadeIn 1s ease-in-out;

}
.content-box:hover{
    border-color: #4f46e5;
    transform: scale(1.005);
}
/* Text started */
.main-heading {
    font-size: clamp(2rem, 5vw, 4rem);
    font-weight: 600;
    text-align: center;
    color: #cbd5e1;
    margin-bottom: 30px;
    letter-spacing: 1.5px;
}

.intro-paragraph,
.mission-paragraph,
.closing-paragraph {
    font-size: 1.1rem;
    line-height: 1.7;
    text-align: center;
    margin-bottom: 25px;
    font-weight: 300;
}

.sub-heading {
    font-size: clamp(1.5rem, 3vw, 2.2rem);
    font-weight: 400;
    text-align: center;
    color:#38bdf8;
    margin-top: 40px;
    margin-bottom: 20px;
}

/* List styling */
.activity-list {
    list-style: none;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
    margin-bottom: 35px;
}

.activity-list li {
    background-color: rgba(255, 255, 255, 0.05);
    padding: 20px 30px;
    border-radius: 8px;
    transition: transform 0.3s ease, background-color 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.1);
    flex-grow: 1;
    min-width: 250px;
    text-align: center;
    font-weight: 300;
}

.activity-list li:hover {
    transform: translateY(-5px);
    background-color: rgba(255, 255, 255, 0.1);
}

/*Fade effect at the start */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .content-box {
        margin-top: 50px;
        padding: 30px;
    }
    .intro-paragraph,
    .mission-paragraph,
    .closing-paragraph {
        font-size: 1rem;
    }
}
/* About Section */
.about {
    padding: 4rem 2rem;
    background: var(--surface);
    position: relative;
    overflow: hidden;
}

.about::before {
    content: '';
    position: absolute;
    top: 0;
    right: -20%;
    width: 40%;
    height: 100%;
    background: radial-gradient(circle, rgba(99, 102, 241, 0.1) 0%, transparent 70%);
}

.about-container {
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.about-content {
    text-align: center;
}

.about-content h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.about-subtitle {
    font-size: 1.25rem;
    color: var(--text-secondary);
    margin-bottom: 3rem;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.stat-card {
    background: rgba(99, 102, 241, 0.1);
    padding: 2rem;
    border-radius: 1rem;
    border: 1px solid rgba(99, 102, 241, 0.2);
    transition: all 0.3s ease;
}

.stat-card:hover {
    transform: translateY(-5px);
    background: rgba(99, 102, 241, 0.15);
}

.stat-number {
    font-size: 2.5rem;
    font-weight: bold;
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.stat-label {
    color: var(--text-secondary);
    margin-top: 0.5rem;
}

.about-text {
    max-width: 800px;
    margin: 0 auto;
    text-align: left;
}

.about-text p {
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 1.5rem;
}

/* Contact Section */
.contact {
    padding: 4rem 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.contact-header {
    text-align: center;
    margin-bottom: 3rem;
}

.contact-header h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.contact-subtitle {
    color: var(--text-secondary);
    font-size: 1.1rem;
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: start;
}

/* Contact Form Styling */
.contact-form-wrapper {
    background: var(--surface);
    padding: 2.5rem;
    border-radius: 1rem;
    border: 1px solid rgba(99, 102, 241, 0.2);
}

.form-header {
    margin-bottom: 2rem;
}

.form-header h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.form-header p {
    color: var(--text-secondary);
    font-size: 0.95rem;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.form-group {
    margin-bottom: 1.25rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    color: var(--text);
    font-weight: 500;
    font-size: 0.9rem;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 0.875rem;
    background: rgba(15, 23, 42, 0.5);
    border: 1px solid rgba(99, 102, 241, 0.2);
    border-radius: 0.5rem;
    color: var(--text);
    font-size: 0.95rem;
    transition: all 0.3s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary);
    background: rgba(15, 23, 42, 0.8);
}

.form-group textarea {
    resize: vertical;
}

.submit-button {
    width: 100%;
    padding: 1rem;
    background: var(--primary);
    color: white;
    border: none;
    border-radius: 0.5rem;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 0.5rem;
}

.submit-button:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(99, 102, 241, 0.3);
}

/* Contact Info Styling */
.contact-info {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.quick-contact {
    background: var(--surface);
    padding: 2rem;
    border-radius: 1rem;
    border: 1px solid rgba(99, 102, 241, 0.2);
}

.quick-contact h3 {
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
}

.contact-methods {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.contact-method {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    background: rgba(15, 23, 42, 0.5);
    border-radius: 0.75rem;
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
    border: 1px solid transparent;
}

.contact-method:hover {
    background: rgba(99, 102, 241, 0.1);
    border-color: var(--primary);
    transform: translateX(5px);
}

.method-icon {
    font-size: 1.5rem;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(99, 102, 241, 0.1);
    border-radius: 0.5rem;
}

.method-details {
    display: flex;
    flex-direction: column;
}

.method-details strong {
    color: var(--text);
    font-size: 0.95rem;
}

.method-details span {
    color: var(--text-secondary);
    font-size: 0.85rem;
}

.office-locations {
    background: var(--surface);
    padding: 2rem;
    border-radius: 1rem;
    border: 1px solid rgba(99, 102, 241, 0.2);
}

.office-locations h3 {
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
}

.location-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
}

.location {
    padding: 1rem;
    background: rgba(15, 23, 42, 0.5);
    border-radius: 0.75rem;
    border-left: 3px solid var(--primary);
    transition: all 0.3s ease;
}

.location:hover {
    background: rgba(15, 23, 42, 0.7);
    transform: translateX(5px);
}

.location strong {
    color: var(--text);
    display: block;
    margin-bottom: 0.5rem;
}

.location p {
    color: var(--text-secondary);
    font-size: 0.85rem;
    line-height: 1.5;
}

/* Footer */
.footer {
    background: var(--background);
    border-top: 1px solid rgba(99, 102, 241, 0.2);
    padding: 3rem 2rem 1rem;
    margin-top: 4rem;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 3fr;
    gap: 4rem;
    margin-bottom: 2rem;
}

.footer-brand p {
    color: var(--text-secondary);
    margin-top: 0.5rem;
}

.footer-links {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.footer-column h4 {
    margin-bottom: 1rem;
    color: var(--text);
}

.footer-column a {
    display: block;
    color: var(--text-secondary);
    text-decoration: none;
    margin-bottom: 0.5rem;
    transition: color 0.3s ease;
}

.footer-column a:hover {
    color: var(--primary);
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(99, 102, 241, 0.1);
    color: var(--text-secondary);
}

.social-links {
    display: flex;
    gap: 2rem;
}

.social-links a,
.footer a,
p a {
    color: var(--text-secondary);
    text-decoration: none;
    transition: color 0.3s ease;
}

.social-links a:hover,
.footer a:hover,
p a:hover {
    color: var(--primary);
}

/* Responsive Updates */
@media (max-width: 768px) {
    h1 {
        font-size: 2.5rem;
    }

    .nav-links {
        display: none;
    }

    .mobile-menu-toggle {
        display: flex;
    }

    .pricing-cards {
        grid-template-columns: 1fr;
    }

    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .contact-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .footer-links {
        grid-template-columns: 1fr;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 1rem;
    }

    /* Features Mobile */
    .feature-hero {
        grid-template-columns: 1fr;
        padding: 2rem;
        text-align: center;
    }

    .feature-hero-visual {
        display: none;
    }

    .features-two-col {
        grid-template-columns: 1fr;
    }

    .features-four-col {
        grid-template-columns: 1fr;
    }

    .feature-stats {
        justify-content: center;
    }
}