/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    line-height: 1.6;
    color: #333;
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;

}
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    transition: all 0.3s ease;
    background: transparent;
}

.navbar.scrolled {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

.nav-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 4rem;
}

.brand-title {
    font-size: 1.5rem;
    font-weight: bold;
    color: white;
    transition: color 0.3s ease;
}

.navbar.scrolled .brand-title {
    color: #1e3a8a;
}

.nav-links {
    display: none;
    align-items: center;
    gap: 2rem;
}

@media (min-width: 768px) {
    .nav-links {
        display: flex;
    }
}

.nav-link {
    color: white;
    text-decoration: none;
    font-weight: 500;
    padding: 0.5rem 0.75rem;
    border-radius: 0.375rem;
    transition: all 0.3s ease;
}

.navbar.scrolled .nav-link {
    color: #374151;
}

.nav-link:hover {
    color: #3b82f6;
}

.mobile-menu-btn {
    display: block;
}

@media (min-width: 768px) {
    .mobile-menu-btn {
        display: none;
    }
}

.menu-btn {
    background: none;
    border: none;
    color: white;
    font-size: 1.5rem;
    cursor: pointer;
    padding: 0.5rem;
    border-radius: 0.375rem;
    transition: all 0.3s ease;
}

.navbar.scrolled .menu-btn {
    color: #374151;
}

.menu-btn:hover {
    background: rgba(255, 255, 255, 0.1);
}

.navbar.scrolled .menu-btn:hover {
    background: rgba(0, 0, 0, 0.05);
}

.mobile-menu {
    display: none;
    background: white;
    border-top: 1px solid #e5e7eb;
}

.mobile-menu.active {
    display: block;
}

.mobile-menu-content {
    padding: 0.5rem;
}

.mobile-nav-link {
    display: block;
    color: #374151;
    text-decoration: none;
    padding: 0.75rem;
    border-radius: 0.375rem;
    transition: all 0.3s ease;
}

.mobile-nav-link:hover {
    color: #3b82f6;
    background: #f9fafb;
}

/* Hero Section */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.2);
    z-index: 1;
}

.hero-bg {
    position: absolute;
    inset: 0;
    background-image: url('media/logofinal.png');
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
    z-index: 0;
}

.hero-gradient {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(30, 58, 138, 0.8) 0%, rgba(31, 255, 132, 0.7) 50%, rgba(20, 184, 166, 0.8) 100%);
    z-index: 2;
}

.hero-content {
    position: relative;
    z-index: 10;
    max-width: 64rem;
    margin: 0 auto;
    padding: 0 1rem;
    text-align: center;
}

.hero-title {
    font-size: 2.5rem;
    font-weight: bold;
    color: white;
    margin-bottom: 1.5rem;
    line-height: 1.2;
}
.brand-logo {
    padding-right: 2px;
  height: 120px; /* adjust as needed */
  width: auto;
  display: block;
}
@media (min-width: 768px) {
    .hero-title {
        font-size: 3.75rem;
    }
}


.hero-description {
    font-size: 1.25rem;
    color: #00000097;
    margin-bottom: 2rem;
    max-width: 48rem;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.6;
}

@media (min-width: 768px) {
    .hero-description {
        font-size: 1.5rem;
    }
}

.hero-buttons {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    justify-content: center;
    align-items: center;
}

@media (min-width: 640px) {
    .hero-buttons {
        flex-direction: row;
    }
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 1rem 2rem;
    border-radius: 0.5rem;
    font-weight: 600;
    font-size: 1.125rem;
    text-decoration: none;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    transform: translateY(0);
}

.btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
}

.btn-primary {
    background: linear-gradient(135deg, #14b8a6, #3b82f6);
    color: white;
}

.btn-primary:hover {
    background: linear-gradient(135deg, #0f766e, #1d4ed8);
}

.btn-secondary {
    border: 2px solid white;
    color: white;
    background: transparent;
}

.btn-secondary:hover {
    background: white;
    color: #1e3a8a;
}

.btn-cta {
    background: linear-gradient(135deg, #ea580c, #dc2626);
    color: white;
}

.btn-cta:hover {
    background: linear-gradient(135deg, #c2410c, #b91c1c);
}

.btn-form {
    width: 100%;
    background: linear-gradient(135deg, #3b82f6, #14b8a6);
    color: white;
}

.btn-form:hover {
    background: linear-gradient(135deg, #1d4ed8, #0f766e);
}

.btn-icon {
    margin-left: 0.5rem;
    transition: transform 0.3s ease;
}

.btn:hover .btn-icon {
    transform: translateX(4px);
}

/* Services Section */
.services {
    padding: 5rem 0;
    background: #f9fafb;
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-title {
    font-size: 2.5rem;
    font-weight: bold;
    color: #111827;
    margin-bottom: 1rem;
}

.section-description {
    font-size: 1.25rem;
    color: #6b7280;
    max-width: 32rem;
    margin: 0 auto;
}

.services-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
}

@media (min-width: 768px) {
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .services-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

.service-card {
    background: white;
    padding: 2rem;
    border-radius: 0.75rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    transform: translateY(0);
    opacity: 0;
    animation: fadeInUp 0.6s ease forwards;
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.service-icon {
    width: 4rem;
    height: 4rem;
    border-radius: 0.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    font-size: 2rem;
    color: white;
    transition: transform 0.3s ease;
}

.service-card:hover .service-icon {
    transform: scale(1.1);
}

.blue-gradient {
    background: linear-gradient(135deg, #3b82f6, #14b8a6);
}

.teal-gradient {
    background: linear-gradient(135deg, #14b8a6, #10b981);
}

.orange-gradient {
    background: linear-gradient(135deg, #f97316, #dc2626);
}

.purple-gradient {
    background: linear-gradient(135deg, #8b5cf6, #ec4899);
}

.service-title {
    font-size: 1.25rem;
    font-weight: bold;
    color: #111827;
    margin-bottom: 1rem;
}

.service-description {
    color: #6b7280;
    line-height: 1.6;
}

/* About Section */
.about {
    padding: 5rem 0;
    background: white;
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 4rem;
    align-items: center;
}

@media (min-width: 1024px) {
    .about-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

.about-title {
    font-size: 2.5rem;
    font-weight: bold;;
    margin-bottom: 1.5rem;
    display: block;
    background: linear-gradient(135deg, #14b8a6, #f97316);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.title-gradient {
    background: linear-gradient(135deg, #3b82f6, #14b8a6);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.about-text {
    font-size: 1.125rem;
    color: #6b7280;
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    margin-top: 2rem;
    border:2px solid #111827;
}

.stat-item {
    text-align: center;
}

.stat-number {
    font-size: 1.875rem;
    font-weight: bold;
    color: #1e3a8a;
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 0.875rem;
    color: #6b7280;
    font-weight: 500;
}

.about-image {
    position: relative;
}

.image-decoration {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.2), rgba(20, 184, 166, 0.2));
    border-radius: 1rem;
    transform: rotate(3deg);
    z-index: 1;
}

.about-img {
    position: relative;
    z-index: 10;
    width: 100%;
    height: 24rem;
    object-fit: cover;
    border-radius: 1rem;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

/* Testimonials Section */
.testimonials {
    padding: 5rem 0;
    background: #f9fafb;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
}

@media (min-width: 768px) {
    .testimonials-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.testimonial-card {
    background: white;
    padding: 2rem;
    border-radius: 0.75rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.testimonial-card:hover {
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.stars {
    display: flex;
    gap: 0.25rem;
    margin-bottom: 1rem;
    color: #fbbf24;
}

.testimonial-content {
    color: #374151;
    margin-bottom: 1.5rem;
    line-height: 1.6;
    font-style: italic;
}

.testimonial-author {
    display: flex;
    align-items: center;
}

.author-avatar {
    width: 3rem;
    height: 3rem;
    border-radius: 50%;
    object-fit: cover;
    margin-right: 1rem;
}

.author-name {
    font-weight: 600;
    color: #111827;
}

.author-role {
    font-size: 0.875rem;
    color: #6b7280;
}

/* CTA Section */
.cta {
    padding: 5rem 0;
    background: linear-gradient(135deg, #1e3a8a, #0891b2);
}

.cta-content {
    text-align: center;
    max-width: 64rem;
    margin: 0 auto;
    padding: 0 1rem;
}

.cta-title {
    font-size: 2.5rem;
    font-weight: bold;
    color: white;
    margin-bottom: 1.5rem;
}

.cta-description {
    font-size: 1.25rem;
    color: #e5e7eb;
    margin-bottom: 2rem;
}

/* -----------------------------
   CONTACT SECTION (replace only)
   ----------------------------- */

.contact {
    padding: 5rem 0;
    background: white;
    /* keep vertical flow for section content */
}

/* Grid container: mobile-first (1 column) */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr; /* stack vertically on mobile */
    gap: 2.5rem;               /* space between form & info when stacked */
    width: 100%;
    padding: 0 1rem;
    align-items: start;        /* align children at top when side-by-side */
}

/* Desktop: make two columns (form wider than info) */
@media (min-width: 1024px) {
    .contact-grid {
        grid-template-columns: 2fr 1fr; /* form (left) = 2fr, info (right) = 1fr */
        gap: 3rem;
        padding: 0;
    }
}

/* Form container: keep it full width inside its grid cell */
.contact-form-container {
    width: 100%;
}

/* Form layout */
.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    width: 100%;
    margin: 0;
}

/* Form rows: single column on small, two columns on small tablets+ */
.form-row {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
}
@media (min-width: 640px) {
    .form-row {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Inputs */
.form-input {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 1.6px solid #d1d5db;
    border-radius: 0.5rem;
    box-sizing: border-box;
}

/* Textarea */
.form-textarea {
    min-height: 120px;
    padding: 0.75rem 1rem;
}

/* Contact info block */
.contact-info {
    width: 100%;
}

/* Title */
.contact-info-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: #111827;
    margin-bottom: 1.5rem;
}

/* Contact items list */
.contact-items {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

/* Each item: icon + details */
.contact-item {
    display: flex;
    align-items: center;
    gap: 1rem;
}

/* Icon sizing */
.contact-icon {
    width: 3rem;
    height: 3rem;
    min-width: 3rem;
    border-radius: 0.5rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin: 0;
    font-size: 1.25rem;
}

/* Link style in contact values */
.contact-value a {
    text-decoration: none;
    color: #1d4ed8; /* nicer link color than raw blue */
}

/* small visual tweak: keep submit button width reasonable on desktop */
@media (min-width: 1024px) {
    .btn-form {
        width: 60%; /* keeps button from being overly wide on very large screens */
        max-width: 320px;
    }
}


/* Footer */
.footer {
    background: #111827;
    color: white;
    padding: 4rem 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
}

@media (min-width: 768px) {
    .footer-grid {
        grid-template-columns: 2fr 1fr 1fr;
    }
}

.footer-brand {
    grid-column: span 1;
}

@media (min-width: 768px) {
    .footer-brand {
        grid-column: span 2;
    }
}

.footer-title {
    font-size: 1.5rem;
    font-weight: bold;
    margin-bottom: 1rem;
}

.footer-description {
    color: #9ca3af;
    margin-bottom: 1.5rem;
    max-width: 24rem;
    line-height: 1.6;
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-link {
    width: 2.5rem;
    height: 2.5rem;
    background: #374151;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-decoration: none;
    transition: all 0.3s ease;
}

.social-link:hover {
    background: #3b82f6;
    transform: translateY(-2px);
}

.footer-column-title {
    font-size: 1.125rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.footer-links {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.footer-link {
    color: #9ca3af;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-link:hover {
    color: white;
}

.footer-bottom {
    border-top: 1px solid #374151;
    margin-top: 3rem;
    padding-top: 2rem;
    text-align: center;
}

.footer-copyright {
    color: #9ca3af;
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.service-card[data-delay="0"] {
    animation-delay: 0ms;
}

.service-card[data-delay="100"] {
    animation-delay: 100ms;
}

.service-card[data-delay="200"] {
    animation-delay: 200ms;
}

.service-card[data-delay="300"] {
    animation-delay: 300ms;
}

/* Smooth scrolling */
html {
    scroll-behavior: smooth;
}

/* Responsive adjustments */
@media (max-width: 640px) {
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-description {
        font-size: 1.125rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .about-title {
        font-size: 2rem;
    }
    
    .cta-title {
        font-size: 2rem;
    }
}

/* our team */
.ourteam-bg{
    /* background-color: #065f46; */
    /* background: linear-gradient(to right,#0b664c 2% ,#0aaa78 50%,#0b664c 100%); */
    /* background: linear-gradient(60deg, #1D2B64, #F8CDDA ); */
    /* background: linear-gradient(60deg, #E55D87, #5FC3E4 ); */
    /* background: linear-gradient(80deg, #00467F, #A5CC82 ); */
    /* background: linear-gradient(130deg, #21623d 0% ,#57C785 50%, #EDDD53 100%); */
    background: linear-gradient(150deg, #21623d 0% ,#aed75b 50%, #c5b840 100%);
}
.team {
    position: relative;
    min-height: 100vh;
    display: flex;
    padding-top: 8rem;
    justify-content: center;
    overflow: hidden;
}
.team-title {
    font-size: 2.8rem;
    font-weight: bold;
    color:beige;
    margin-bottom: 3.5rem;
    line-height: 1.2;
}
.team-content {
    display: flex;
    flex-direction: column;
    max-width: 80rem;
    margin: 0 auto;
    align-items: center;
    padding-bottom: 4rem;
    padding-left: 1.25rem;
    padding-right: 1.25rem;
}

.teamrows{
    display: flex;
    flex-direction: column;
    gap: 3rem;
}
.teamrow{
    display: flex;
    flex-wrap: wrap;
    justify-content:center;
    flex-wrap: wrap;
    gap: 2.8rem;
}
/* our team card flip */
.teamcard {
    aspect-ratio: 3/4;
    position: relative;
    height: 13rem;
    width: 11rem;
    margin: 0 auto;
    perspective: 1000px; /* 3D depth */
}

.teamcard-inner {
    position: relative;
    width: 100%;
    height: 100%;
    text-align: center;
    transition: transform 0.8s;
    transform-style: preserve-3d;
}

/* Rotate the inner box on hover */
.teamcard:hover .teamcard-inner {
    transform: rotateY(180deg);
}

/* Front + back faces */
.teamcard-front,
.teamcard-back {
    position: absolute;
    width: 100%;
    height: 100%;
    -webkit-backface-visibility: hidden; /* Safari */
    backface-visibility: hidden;
    border-radius: 12px;
    overflow: hidden;
}

/* Front: just the image */
.teamcard-front img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top;
}

/* Back face */
.teamcard-back {
    background-color: rgb(35, 34, 34);
    color:rgb(205, 198, 172);
    transform: rotateY(180deg);
    display: flex;
    gap: 0.3rem;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 0.8rem;
}

/* Container below is still fine */
.teamcard-container {
    align-items: center;
    gap: 0.2rem;
    justify-content: space-around;
    display: flex;
    flex-direction: column;
}

.person-name {
    text-align: center;
    font-size: large;
    font-weight: 500;
    color: rgb(68, 68, 58);
}

/* Tablets */
@media (max-width: 1024px) {
    .team-title {
        padding-left: 1rem;
        font-size: 2.2rem;
        margin-bottom: 2.5rem;
    }
}

/* Mobiles */
@media (max-width: 768px) {
    .team-title {
        padding-left: 1rem;
        font-size: 1.9rem;
        margin-bottom: 2rem;
    }
}

/* Small mobiles */
@media (max-width: 480px) {
    .team-title {
        padding-left: 1rem;
        font-size: 1.6rem;
        margin-bottom: 1.5rem;
        line-height: 1.4;  /* better wrapping for long title */
    }
}

@media (max-width: 480px) {
    .team-content {
        padding-left: 1.5rem;
        padding-right: 1.5rem;
    }
}

