:root {
    --primary:  rgb(149, 52, 13);
    --secondary: rgb(15, 24, 124);
    --dark:  rgb(6, 16, 60);
    --bg-color: #ffffff;
    --hover-bg: #f1f5f9;
    --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    --transition: all 0.3s ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Montserrat', sans-serif;
}

body {
    line-height: 1.6;
    overflow-x: hidden;
}
.gradient-text {
    font-family: "Montserrat", sans-serif;
    background-image: linear-gradient(
      90deg,
      rgb(149, 52, 13) 0%,
      rgb(165, 109, 86) 40%,
      rgb(15, 24, 124) 50%,
      rgb(68, 84, 147) 70%,
      rgb(6, 16, 60) 100%
    );
    color: transparent;
    background-size: contain;
    background-clip: text;
    -webkit-background-clip: text;
  }
  

.header {
    background: linear-gradient(rgba(81, 96, 154, 0.8), rgba(29, 31, 74, 0.8)), url('../Photos/720.jpg') center/cover;
    height: 450px;
   
    color: white;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    clip-path: polygon(0 0, 100% 0, 100% 80%, 0 100%);
   
}

.header::after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 100%;
    height: 100px;
    background-size: cover; 
  
}

.header-content {
    opacity: 0;
    transform: translateY(30px);
    animation: fadeUp 1s forwards 0.5s;
}

/* Sections */
section {
    padding: 100px 20px;
    opacity: 0;
    transition: all 1s ease;
}

section.visible {
    opacity: 1;
}

.section-title {
    text-align: center;
    font-size: 2.8em;
    margin-bottom: 70px;
    color:white;
    position: relative;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -20px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: var(--secondary);
    border-radius: 2px;
}


.about-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 50px;
    max-width: 1200px;
    margin: 0 auto;
}

.about-text {
    background: white;
    padding: 40px;
    border: 2px solid var(--secondary);
    border-radius: 20% 20% 20% 20%;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    transition: all 0.4s cubic-bezier(0.3, 0, 0.3, 1);
    position: relative;
    overflow: hidden;
    color: var(--primary);
}

.about-text::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg, var(--primary), var(--secondary));
    opacity: 0;
    transition: all 0.6s ease;
}

.about-text:hover::before {
    opacity: 0.1;
    transform: rotate(45deg);
}


.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto;
}

.service-card {
    background: white;
    color: #445493;
    padding: 40px 30px;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    text-align: center;
    transition: all 0.4s ease;
    transform: translateY(50px);
    opacity: 0;
}

section.visible .service-card {
    transform: translateY(0);
    opacity: 1;
 
}

.service-card i {
    font-size: 2.5em;
    color: var(--primary);
    margin-bottom: 20px;
    transition: all 0.3s ease;
}

.service-card:hover {
    color: white;
    background: var(--primary);
    transform: translateY(-10px);
}

.service-card:hover i {
    color: white;
    transform: scale(1.2);
}


.stat-item {
    transform: scale(0.8);
    opacity: 0;
    transition: all 0.6s ease;
}

section.visible .stat-item {
    transform: scale(1);
    opacity: 1;
}


.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto;
}

.team-member {
    position: relative;
    overflow: hidden;
    border-radius: 15px;
    transform: translateX(-50px);
    opacity: 0;
    transition: all 0.6s ease;
}

section.visible .team-member {
    transform: translateX(0);
    opacity: 1;
}

.team-member:hover .member-info {
    transform: translateY(0);
}

.member-info {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(0,0,0,0.8);
    color: white;
    padding: 20px;
    transform: translateY(100%);
    transition: all 0.4s ease;
}

/* Animations */
@keyframes fadeUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes wave {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

@media (max-width: 768px) {
    .header {
        clip-path: polygon(0 0, 100% 0, 100% 90%, 0 100%);
    }

    .section-title {
        font-size: 2.2em;
    }

    .service-card {
        padding: 30px 20px;
    }
}

    
        .photo-story {
            padding: 100px 20px;
           
        }

        .story-container {
            display: flex;
            align-items: center;
            gap: 60px;
            max-width: 1200px;
            margin: 0 auto;
            flex-wrap: wrap;
        }

        .photo-group {
            flex: 1;
            min-width: 300px;
            position: relative;
            height: 400px;
        }

        .triangle-photo {
            position: absolute;
            width: 250px;
            height: 300px;
            object-fit: cover;
            border-radius: 15px;
            box-shadow: 0 15px 30px rgba(0,0,0,0.2);
            transition: all 0.4s ease;
            opacity: 0;
            transform: translateY(30px);
        }

        .photo-1 {
            top: 0;
            left: 0;
            z-index: 3;
        }

        .photo-2 {
            top: 50px;
            left: 150px;
            z-index: 2;
        }

        .photo-3 {
            top: 100px;
            left: 300px;
            z-index: 1;
        }

        .story-content {
            flex: 1;
            min-width: 300px;
            opacity: 0;
            transform: translateX(50px);
        }

        section.visible .triangle-photo {
            opacity: 1;
            transform: translateY(0);
        }

        section.visible .story-content {
            opacity: 1;
            transform: translateX(0);
            transition: all 0.8s ease 0.3s;
        }

        /* Enhanced Team Section */
        .team-section {
            background: var(--dark);
            color: white;
        }

        .team-section .section-title::after {
            background: var(--primary);
        }

        .team-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
            gap: 40px;
            max-width: 1200px;
            margin: 0 auto;
        }

        .team-member {
            background: white;
            border-radius: 15px;
            overflow: hidden;
            position: relative;
            transform: scale(0.95);
            opacity: 0;
            transition: all 0.4s ease;
        }

        section.visible .team-member {
            transform: scale(1);
            opacity: 1;
        }

        .member-image {
            height: 350px;
            overflow: hidden;
        }

        .member-image img {
            width: 100%;
            height: 100%;
            object-fit: cover;
            transition: transform 0.4s ease;
        }

        .member-info {
            padding: 25px;
            text-align: center;
            background: white;
        }

        .member-info h3 {
            color: var(--dark);
            margin-bottom: 10px;
        }

        .member-info p {
            color: #666;
        }

        .team-member:hover .member-image img {
            transform: scale(1.1);
        }

        @media (max-width: 768px) {
            .photo-group {
                height: 500px;
            }

            .triangle-photo {
                width: 200px;
                height: 250px;
            }

            .photo-2 {
                left: 100px;
            }

            .photo-3 {
                left: 200px;
            }

            .story-container {
                justify-content: center;
            }
        }
        @media (max-width: 1026px) {
            .photo-group {
                height: 500px;
            }

            .triangle-photo {
                width: 200px;
                height: 250px;
            }

            .photo-2 {
                left: 100px;
            }

            .photo-3 {
                left: 200px;
            }

            .story-container {
                justify-content: center;
            }
        }
       
     
          
          .nav {
            display: flex;
            justify-content: space-between;
            align-items: center;
            padding: 0.5rem;
            background: white;
            box-shadow: var(--shadow);
            position: relative;
            z-index: 100;
          }
          
          .nav__logo {
            font-size: 1.25rem;
            font-weight: 600;
            width: 70px;
            height: 70px;
          }
          
          .nav__links {
            display: flex;
            gap: 2rem;
            align-items: center;
          }
          
          .nav__link {
            color: var(--primary);
            text-decoration: none;
            padding: 0.5rem;
          
          }
          
          .nav__link:hover {
            font-weight: bold;
            color: var(--secondary);
            border-bottom: 2px solid var(--primary);
          }
          
          
          .nav__hamburger {
            display: none;
            color: var(--primary);
            font-size: 25px;
            background: none;
            border: none;
            cursor: pointer;
            padding: 0.5rem;
            border-radius: 0.375rem;
          }
          
          
          @media (max-width: 768px) {
            .nav__links {
              position: absolute;
              top: 100%;
              left: 0;
              width: 100%;
              background: white;
              flex-direction: column;
              gap: 0;
              max-height: 0;
              overflow: hidden;
              transition: var(--transition);
              box-shadow: var(--shadow);
            }
          
            .nav__links--active {
              max-height: 1000px;
              padding: 1rem;
            }
          
            .nav__link {
              width: 100%;
              text-align: center;
              padding: 1rem;
            }
          
            .nav__hamburger {
              display: block;
              order: 1;
            }
          
            .nav__logo {
                font-size: 1.25rem;
                font-weight: 600;
                width: 70px;
                height: 70px;
              }
        }
          
     
        .site-footer {
            font-family: "Montserrat";
            background: #95340d;
            color: #ffffff;
            padding: 4rem 0 2rem;
            margin-top: 4rem;
          }
          
          .footer-container {
            max-width: 1200px;
            margin: 0 auto;
            padding: 0 2rem;
          }
          
          .footer-content {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
            gap: 3rem;
            margin-bottom: 3rem;
          }
          
          .footer-section {
            margin-bottom: 2rem;
          }
          
          .footer-heading {
            color: #ffffff;
            font-size: 1.2rem;
            margin-bottom: 1.5rem;
            padding-bottom: 0.5rem;
            position: relative;
          }
          
          .footer-heading::after {
            content: '';
            position: absolute;
            bottom: 0;
            left: 0;
            width: 50px;
            height: 2px;
            background: white;
          }
          
          .footer-text {
            color: #cccccc;
            line-height: 1.6;
            margin-bottom: 1.5rem;
          }
          
          .social-links {
            text-decoration: none;
            display: flex;
            gap: 1rem;
          }
          
          .social-icon {
            width: 40px;
            height: 40px;
            border-radius: 50%;
            background: rgba(255,255,255,0.1);
            display: flex;
            align-items: center;
            justify-content: center;
            color: #ffffff;
            transition: all 0.3s ease;
          }
          
          .social-icon:hover {
            background: #a56d56;
            transform: translateY(-3px);
          }
          
          .footer-links li {
            list-style: none; /* Add this line */
            text-decoration: none;
            margin-bottom: 0.8rem;
          }
          
          .footer-links a {
            color: #cccccc;
            text-decoration: none;
            transition: color 0.3s ease;
          }
          
          .footer-links a:hover {
            color: #a56d56;
          }
          
          .contact-info li {
            text-decoration: none;
            display: flex;
            align-items: center;
            margin-bottom: 1rem;
            color: #cccccc;
          }
          
          .contact-info i {
            margin-right: 1rem;
            color: #a56d56;
            width: 20px;
          }
          
          .footer-bottom {
            border-top: 1px solid rgba(255,255,255,0.1);
            padding-top: 2rem;
            display: flex;
            flex-wrap: wrap;
            justify-content: space-between;
            align-items: center;
            gap: 1rem;
          }
          
          .copyright {
            color: #cccccc;
            font-size: 0.9rem;
          }
          
          
          .back-to-top {
            position: fixed;
            bottom: 30px;
            right: 30px;
            background: #0f187c;
            color: white;
            width: 45px;
            height: 45px;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            opacity: 0;
            visibility: hidden;
            transition: all 0.3s ease;
            box-shadow: 0 5px 15px rgba(0,0,0,0.3);
          }
          
          .back-to-top.show {
            opacity: 1;
            visibility: visible;
          }
          
       
          @media (max-width: 768px) {
            .footer-content {
                grid-template-columns: 1fr;
                text-align: center;
            }
          
            .footer-heading::after {
                left: 50%;
                transform: translateX(-50%);
            }
          
            .social-links {
                justify-content: center;
            }
          
            .contact-info li {
                justify-content: center;
            }
          
            .footer-bottom {
                flex-direction: column;
                text-align: center;
            }}
            .whatsapp-button {
                position: fixed;
                bottom: 30px;
                right: 30px;
                background:#95340d; 
                color: white;
                width: 60px;
                height: 60px;
                border-radius: 50%;
                text-align: center;
                cursor: pointer;
                box-shadow: 0 4px 12px rgba(0,0,0,0.25);
                display: flex;
                align-items: center;
                justify-content: center;
                z-index: 1000;
                transition: all 0.3s ease;
                text-decoration: none;
            }
        
            .whatsapp-button:hover {
                background: #822c0a;
                transform: scale(1.1);
            }
        
            .whatsapp-icon {
                font-size: 32px;
            }
        
            /* Pulse animation */
            @keyframes pulse {
                0% { box-shadow: 0 0 0 0 rgba(149, 52, 13,0.4); }
                70% { box-shadow: 0 0 0 15px rgba(37, 211, 102, 0); }
                100% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0); }
            }
        
            .pulse-animation {
                animation: pulse 2s infinite;
            }
            .footer__links{
                text-decoration: none;
                color: #f8f9fa;
              }
              .footer__links:hover{
                text-decoration: none;
                color: #a56d56;
              }
              .card__links{
                text-decoration: none;
                color: #95340d;
              }
              .card__links:hover{
                text-decoration: none;
                color: #0f187c;
              }