/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #333;
}

/* Navigation */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 5%;
    background-color: #fff;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
}

.logo {
    font-size: 2rem;
    font-weight: 700;
    color: #1a2a6c;
    letter-spacing: 1px;
    padding: 0.5rem 0;
    position: relative;
}

.logo::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: #1a2a6c;
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.3s ease;
}

.logo:hover::after {
    transform: scaleX(1);
}

.nav-links {
    display: flex;
    list-style: none;
}

.nav-links li {
    margin-left: 2rem;
}

.nav-links a {
    text-decoration: none;
    color: #2c3e50;
    font-weight: 500;
    transition: color 0.3s;
}

.nav-links a:hover {
    color: #3498db;
}

.hamburger {
    display: none;
    cursor: pointer;
}

.hamburger span {
    display: block;
    width: 25px;
    height: 3px;
    background-color: #2c3e50;
    margin: 5px 0;
    transition: 0.3s;
}

/* Hero Section */
#hero {
    min-height: 100vh;
    background: linear-gradient(135deg, rgba(26, 42, 108, 0.8), rgba(178, 31, 31, 0.8), rgba(253, 187, 45, 0.8));
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 5%;
    position: relative;
    overflow: hidden;
}

#hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('147MainImg.png') center/cover;
    z-index: 1;
    animation: zoomInOut 20s ease-in-out infinite;
}

#hero::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, 
        rgba(26, 42, 108, 0.7) 0%,
        rgba(178, 31, 31, 0.7) 50%,
        rgba(253, 187, 45, 0.7) 100%);
    z-index: 1;
    animation: gradientShift 15s ease infinite;
}

.hero-content {
    display: flex;
    align-items: center;
    justify-content: center;
    max-width: 1200px;
    width: 100%;
    position: relative;
    z-index: 2;
    text-align: center;
}

.hero-text {
    max-width: 800px;
    color: white;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    animation: fadeInUp 1s ease-out;
}

.hero-text h1 {
    font-size: 4rem;
    margin-bottom: 1.5rem;
    line-height: 1.2;
    animation: slideInLeft 1s ease-out;
}

.hero-text p {
    font-size: 1.5rem;
    margin-bottom: 2.5rem;
    opacity: 0.9;
    animation: slideInRight 1s ease-out;
}

.cta-button {
    padding: 1rem 2.5rem;
    font-size: 1.2rem;
    background-color: rgba(255, 255, 255, 0.9);
    color: #1a2a6c;
    border: none;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 600;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    backdrop-filter: blur(5px);
    animation: fadeInUp 1.5s ease-out;
}

.cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
    background-color: #fff;
}

/* Animations */
@keyframes zoomInOut {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.1);
    }
    100% {
        transform: scale(1);
    }
}

@keyframes gradientShift {
    0% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
    100% {
        background-position: 0% 50%;
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Add floating elements */
.hero-content::before {
    content: '';
    position: absolute;
    width: 100px;
    height: 100px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    top: 20%;
    left: 10%;
    animation: float 6s ease-in-out infinite;
}

.hero-content::after {
    content: '';
    position: absolute;
    width: 150px;
    height: 150px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    bottom: 20%;
    right: 10%;
    animation: float 8s ease-in-out infinite;
}

@keyframes float {
    0% {
        transform: translateY(0) rotate(0deg);
    }
    50% {
        transform: translateY(-20px) rotate(180deg);
    }
    100% {
        transform: translateY(0) rotate(360deg);
    }
}

/* Responsive adjustments for hero section */
@media (max-width: 992px) {
    .hero-text h1 {
        font-size: 3rem;
    }

    .hero-text p {
        font-size: 1.2rem;
    }
}

@media (max-width: 576px) {
    .hero-text h1 {
        font-size: 2.5rem;
    }

    .hero-text p {
        font-size: 1.1rem;
    }
}

/* Sections */
.section {
    padding: 5rem 5%;
    opacity: 0;
    transform: translateY(30px);
    transition: all 1s ease-out;
}

.section.animate {
    opacity: 1;
    transform: translateY(0);
}

.section h2 {
    text-align: center;
    margin-bottom: 3rem;
    color: #2c3e50;
}

/* Features Section */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    padding: 2rem 0;
}

.feature-card {
    background: rgba(255, 255, 255, 0.95);
    padding: 2rem;
    border-radius: 15px;
    text-align: center;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, #1a2a6c, #b21f1f, #fdbb2d);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.3s ease;
}

.feature-card:hover::before {
    transform: scaleX(1);
}

.feature-card i {
    font-size: 2.5rem;
    color: #1a2a6c;
    margin-bottom: 1.5rem;
    transition: all 0.3s ease;
}

.feature-card:hover i {
    transform: scale(1.1);
    color: #b21f1f;
}

.feature-card h3 {
    color: #1a2a6c;
    font-size: 1.4rem;
    margin-bottom: 1rem;
    font-weight: 600;
}

.feature-card p {
    color: #666;
    line-height: 1.6;
    font-size: 1rem;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

/* About Section */
.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
    opacity: 0;
    transform: translateX(-30px);
    transition: all 0.8s ease-out;
    max-width: 1200px;
    margin: 0 auto;
}

.about-content.animate {
    opacity: 1;
    transform: translateX(0);
}

.about-text {
    text-align: left;
    padding-right: 2rem;
}

.about-text p {
    margin-bottom: 1.5rem;
    line-height: 1.8;
    color: #2c3e50;
}

.about-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    text-align: center;
}

.stat {
    opacity: 0;
    transform: scale(0.8);
    transition: all 0.6s ease-out;
    background: rgba(255, 255, 255, 0.95);
    padding: 1.5rem;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.stat.animate {
    opacity: 1;
    transform: scale(1);
}

.stat:nth-child(1) { transition-delay: 0.3s; }
.stat:nth-child(2) { transition-delay: 0.5s; }
.stat:nth-child(3) { transition-delay: 0.7s; }

.stat h3 {
    font-size: 2.5rem;
    color: #1a2a6c;
    margin-bottom: 0.5rem;
    font-weight: 700;
}

.stat p {
    color: #666;
    font-size: 1.1rem;
    font-weight: 500;
}

@media (max-width: 992px) {
    .about-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .about-text {
        padding-right: 0;
        text-align: center;
    }

    .about-stats {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 576px) {
    .about-stats {
        grid-template-columns: 1fr;
    }

    .stat {
        padding: 1rem;
    }

    .stat h3 {
        font-size: 2rem;
    }
}

/* Functionalities Section */
.functionalities-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    padding: 2rem 0;
}

.functionality-item {
    background: rgba(255, 255, 255, 0.95);
    padding: 2rem;
    border-radius: 15px;
    display: flex;
    align-items: center;
    gap: 1.5rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    position: relative;
    overflow: hidden;
}

.functionality-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: linear-gradient(to bottom, #1a2a6c, #b21f1f, #fdbb2d);
    transform: scaleY(0);
    transform-origin: top;
    transition: transform 0.3s ease;
}

.functionality-item:hover::before {
    transform: scaleY(1);
}

.functionality-content {
    flex: 1;
}

.functionality-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #1a2a6c, #b21f1f);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.5rem;
    transition: all 0.3s ease;
    position: relative;
}

.functionality-icon i:first-child {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 1.8rem;
}

.functionality-icon i:last-child {
    position: absolute;
    bottom: 5px;
    right: 5px;
    font-size: 1rem;
    background: rgba(255, 255, 255, 0.2);
    padding: 3px;
    border-radius: 50%;
}

.functionality-item:hover .functionality-icon i:first-child {
    transform: translate(-50%, -50%) scale(1.1);
}

.functionality-item:hover .functionality-icon i:last-child {
    transform: scale(1.2);
}

.functionality-item h3 {
    color: #1a2a6c;
    font-size: 1.4rem;
    margin-bottom: 0.8rem;
    font-weight: 600;
}

.functionality-item p {
    color: #666;
    line-height: 1.6;
    font-size: 1rem;
}

.functionality-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

/* Add a subtle background pattern to the section */
#functionalities {
    background-color: #f8f9fa;
    background-image: 
        radial-gradient(circle at 10% 20%, rgba(52, 152, 219, 0.05) 0%, transparent 20%),
        radial-gradient(circle at 90% 80%, rgba(44, 62, 80, 0.05) 0%, transparent 20%);
    background-size: 100% 100%;
}

/* FAQ Section */
.faq-container {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    margin-bottom: 1rem;
    border: 1px solid #ddd;
    border-radius: 5px;
    overflow: hidden;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.5s ease-out;
}

.faq-item.animate {
    opacity: 1;
    transform: translateY(0);
}

.faq-item:nth-child(1) { transition-delay: 0.2s; }
.faq-item:nth-child(2) { transition-delay: 0.3s; }
.faq-item:nth-child(3) { transition-delay: 0.4s; }
.faq-item:nth-child(4) { transition-delay: 0.5s; }

.faq-question {
    padding: 1rem;
    background-color: #f8f9fa;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.faq-answer {
    padding: 1rem;
    display: none;
}

.faq-answer.active {
    display: block;
}

/* Footer */
footer {
    background-color: #2c3e50;
    color: white;
    padding: 3rem 5% 1rem;
    opacity: 0;
    transform: translateY(20px);
    transition: all 1s ease-out;
}

footer.animate {
    opacity: 1;
    transform: translateY(0);
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.social-links a {
    color: white;
    margin-right: 1rem;
    font-size: 1.5rem;
    transition: color 0.3s;
}

.social-links a:hover {
    color: #3498db;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255,255,255,0.1);
}

.footer-section p {
    margin-bottom: 0.8rem;
    display: flex;
    align-items: center;
    gap: 0.8rem;
}

.footer-section i {
    font-size: 1.2rem;
    color: white;
    width: 20px;
    text-align: center;
}

.footer-section .fa-whatsapp {
    color: white;
}

/* Responsive Design */
@media (max-width: 768px) {
    .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background-color: #fff;
        padding: 1rem;
        box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    }

    .nav-links.active {
        display: flex;
        flex-direction: column;
    }

    .nav-links li {
        margin: 0.5rem 0;
    }

    .hamburger {
        display: block;
    }

    .about-content {
        grid-template-columns: 1fr;
    }

    .hero-content h1 {
        font-size: 2rem;
    }

    .section {
        padding: 3rem 5%;
    }

    .functionality-item {
        flex-direction: column;
        text-align: center;
        padding: 1.5rem;
    }

    .functionality-content {
        padding-right: 0;
        margin-bottom: 1rem;
    }

    .functionality-icon {
        margin: 0 auto;
    }
}

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.section {
    animation: fadeIn 1s ease-out;
}

/* Responsive adjustments for features section */
@media (max-width: 992px) {
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 576px) {
    .features-grid {
        grid-template-columns: 1fr;
    }
    
    .feature-card {
        padding: 1.5rem;
    }
    
    .feature-card i {
        font-size: 2rem;
    }
    
    .feature-card h3 {
        font-size: 1.2rem;
    }
}

/* Responsive adjustments for functionalities section */
@media (max-width: 992px) {
    .functionalities-list {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 576px) {
    .functionalities-list {
        grid-template-columns: 1fr;
    }
    
    .functionality-item {
        padding: 1.5rem;
        flex-direction: column;
        text-align: center;
    }
    
    .functionality-icon {
        margin-bottom: 1rem;
    }
}

/* Responsive adjustments for logo */
@media (max-width: 992px) {
    .logo {
        font-size: 1.8rem;
    }
}

@media (max-width: 576px) {
    .logo {
        font-size: 1.5rem;
    }
}

@media (max-width: 576px) {
    .footer-section p {
        font-size: 0.9rem;
    }
    
    .footer-section i {
        font-size: 1rem;
    }
} 