/* CSS Reset & Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary: #C41E3A; /* Campa Cola Red */
    --primary-dark: #9C0A26;
    --secondary: #FFD700; /* Golden Yellow */
    --dark: #1A1A1A;
    --light: #FFFFFF;
    --gray: #F5F5F5;
    --gray-dark: #666666;
    --transition: all 0.3s ease;
    --shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 30px rgba(0, 0, 0, 0.15);
    --border-radius: 12px;
    --border-radius-lg: 20px;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Poppins', sans-serif;
    line-height: 1.6;
    color: var(--dark);
    background-color: var(--light);
    overflow-x: hidden;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Preloader */
.preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--light);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    transition: opacity 0.5s ease, visibility 0.5s ease;
}

.preloader.loaded {
    opacity: 0;
    visibility: hidden;
}

.loader {
    display: flex;
    gap: 12px;
}

.bubble {
    width: 20px;
    height: 20px;
    background: var(--primary);
    border-radius: 50%;
    animation: bubble 1.5s ease-in-out infinite;
}

.bubble:nth-child(2) {
    animation-delay: 0.2s;
    background: var(--secondary);
}

.bubble:nth-child(3) {
    animation-delay: 0.4s;
    background: var(--primary-dark);
}

@keyframes bubble {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-20px);
    }
}

/* Header & Navigation */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: var(--shadow);
    animation: slideDown 0.5s ease;
}

@keyframes slideDown {
    from {
        transform: translateY(-100%);
    }
    to {
        transform: translateY(0);
    }
}

.navbar {
    padding: 15px 0;
}
.navbar .container{
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    display: flex;
    align-items: center;
    text-decoration: none;
    gap: 12px;
    flex-shrink: 0;
    z-index: 1001;
}

.logo-icon {
    font-size: 2.5rem;
    color: var(--primary);
    animation: bounce 2s infinite;
}

.bouncing-stars{
    animation: bounce 2s infinite;
    font-size: 10px;
}

@keyframes bounce {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-5px);
    }
}

.logo-text {
    display: flex;
    flex-direction: column;
}

.logo-main {
    font-family: 'Montserrat', sans-serif;
    font-weight: 900;
    font-size: 1.8rem;
    color: var(--primary);
    line-height: 1;
}

.logo-sub {
    font-size: 0.8rem;
    color: var(--gray-dark);
    letter-spacing: 1px;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 30px;
    align-items: center;
}

.nav-item {
    position: relative;
}

.cta-nav {
    margin-left: 20px;
}

.cta-nav .btn {
    padding: 10px 20px;
    font-size: 0.95rem;
}

.nav-link {
    text-decoration: none;
    color: var(--light);
    font-weight: 500;
    padding: 8px 0;
    position: relative;
    transition: var(--transition);
    display: flex;
    align-items: center;
    gap: 8px;
}

.nav-link:hover,
.nav-link.active {
    color: var(--primary);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary);
    transition: var(--transition);
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

.menu-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 10px;
}

.menu-toggle span {
    display: block;
    width: 25px;
    height: 3px;
    background: var(--dark);
    margin: 5px 0;
    transition: var(--transition);
    border-radius: 3px;
}

/* Hero Section */
.hero {
    padding: 160px 0 100px;
    /* background: linear-gradient(135deg, rgba(196, 30, 58, 0.1) 0%, rgba(255, 215, 0, 0.1) 100%); */
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    position: relative;
    overflow: hidden;
}

/* .hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('../images/1new.png');
    background: url('https://www.pngmart.com/files/13/Vector-Pattern-Free-PNG-Image.png');
    opacity: 0.1;
    animation: movePattern 20s linear infinite;
} */

@keyframes movePattern {
    0% {
        background-position: 0 0;
    }
    100% {
        background-position: 100px 100px;
    }
}

.hero-content {
    position: relative;
    z-index: 1;
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.hero h1 {
    font-family: 'Montserrat', sans-serif;
    font-size: 3.5rem;
    font-weight: 900;
    margin-bottom: 20px;
    line-height: 1.2;
    color: var(--primary);
    animation: fadeInUp 1s ease;
}

.hero-highlight {
    color: var(--secondary);
    position: relative;
    display: inline-block;
}

.hero-highlight::after {
    content: '';
    position: absolute;
    bottom: 5px;
    left: 0;
    width: 100%;
    height: 8px;
    background: rgba(255, 215, 0, 0.3);
    z-index: -1;
}

.hero p {
    font-size: 1.2rem;
    color: var(--gray-dark);
    margin-bottom: 40px;
    animation: fadeInUp 1s ease 0.2s both;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    animation: fadeInUp 1s ease 0.4s both;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 15px 30px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition);
    border: none;
    cursor: pointer;
    font-size: 1rem;
    position: relative;
    overflow: hidden;
}

.btn::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.btn:hover::after {
    width: 300px;
    height: 300px;
}

.btn-primary {
    background: var(--primary);
    color: var(--light);
}

.btn-primary:hover {
    background: var(--primary-dark);
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
}

.btn-secondary {
    background: var(--secondary);
    color: var(--dark);
}

.btn-secondary:hover {
    background: #e6c200;
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
}

.btn-outline {
    background: transparent;
    color: var(--primary);
    border: 2px solid var(--primary);
}

.btn-outline:hover {
    background: var(--primary);
    color: var(--light);
}

/* Features Section */
.section {
    padding: 100px 0;
}

.section-title {
    text-align: center;
    margin-bottom: 60px;
}

.section-title h2 {
    font-family: 'Montserrat', sans-serif;
    font-size: 2.5rem;
    color: var(--dark);
    margin-bottom: 15px;
    position: relative;
    display: inline-block;
}

.section-title h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: var(--primary);
    border-radius: 2px;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.feature-card {
    background: var(--light);
    padding: 40px 30px;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    text-align: center;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: var(--primary);
    transform: translateY(-100%);
    transition: var(--transition);
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
}

.feature-card:hover::before {
    transform: translateY(0);
}

.feature-icon1 {
    width: 80px;
    height: 80px;
    background: rgba(196, 30, 58, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 2rem;
    color: var(--primary);
}

/* Forms */
.form-container {
    max-width: 800px;
    margin: 0 auto;
    background: var(--light);
    padding: 50px;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-lg);
    animation: fadeIn 0.8s ease;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.form-group {
    margin-bottom: 25px;
}

.form-label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: var(--dark);
}

.form-control {
    width: 100%;
    padding: 15px 20px;
    border: 2px solid #e0e0e0;
    border-radius: var(--border-radius);
    font-family: 'Poppins', sans-serif;
    font-size: 1rem;
    transition: var(--transition);
    background: var(--gray);
}

.form-control:focus {
    outline: none;
    border-color: var(--primary);
    background: var(--light);
    box-shadow: 0 0 0 3px rgba(196, 30, 58, 0.1);
}

textarea.form-control {
    min-height: 150px;
    resize: vertical;
}

/* Contact Page */
.contact-info {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-bottom: 50px;
}

.contact-card {
    background: var(--light);
    padding: 30px;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    text-align: center;
    transition: var(--transition);
}

.contact-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.contact-icon {
    width: 60px;
    height: 60px;
    background: rgba(196, 30, 58, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 1.5rem;
    color: var(--primary);
}

/* Responsive inline styles fix */
/* Override inline grid layouts on mobile */
div[style*="grid-template-columns: 1fr 1fr"],
div[style*="display: grid"] {
    gap: 30px !important;
}

@media (max-width: 992px) {
    div[style*="grid-template-columns: 1fr 1fr"],
    div[style*="display: grid"] {
        display: flex !important;
        flex-direction: column !important;
        gap: 30px !important;
    }
}

@media (max-width: 768px) {
    div[style*="grid-template-columns: 1fr 1fr"],
    div[style*="display: grid"] {
        display: flex !important;
        flex-direction: column !important;
        gap: 25px !important;
    }
}

@media (max-width: 600px) {
    div[style*="grid-template-columns: 1fr 1fr"],
    div[style*="display: grid"] {
        display: flex !important;
        flex-direction: column !important;
        gap: 20px !important;
    }
}

/* Image height responsive */
div[style*="height: 500px"] {
    max-height: 500px;
}

@media (max-width: 992px) {
    div[style*="height: 500px"] {
        max-height: 400px !important;
    }
}

@media (max-width: 768px) {
    div[style*="height: 500px"] {
        max-height: 300px !important;
    }
}

@media (max-width: 600px) {
    div[style*="height: 500px"] {
        max-height: 250px !important;
    }
}

/* Footer */
.footer {
    background: var(--dark);
    color: var(--light);
    padding: 80px 0 30px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 50px;
}

.footer-logo {
    margin-bottom: 20px;
}

.footer-links h3,
.footer-contact h3 {
    color: var(--light);
    margin-bottom: 25px;
    font-size: 1.3rem;
}

.footer-links ul {
    list-style: none;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    color: #cccccc;
    text-decoration: none;
    transition: var(--transition);
    display: flex;
    align-items: center;
    gap: 10px;
}

.footer-links a:hover {
    color: var(--secondary);
    transform: translateX(5px);
}

.footer-contact p {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 15px;
    color: #cccccc;
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: #999999;
}

/* Success/Error Messages */
.message {
    padding: 15px 20px;
    border-radius: var(--border-radius);
    margin-bottom: 30px;
    display: flex;
    align-items: center;
    gap: 15px;
    animation: slideInRight 0.5s ease;
}

@keyframes slideInRight {
    from {
        transform: translateX(100%);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

.message.success {
    background: rgba(46, 204, 113, 0.1);
    border-left: 4px solid #2ecc71;
    color: #27ae60;
}

.message.error {
    background: rgba(231, 76, 60, 0.1);
    border-left: 4px solid #e74c3c;
    color: #c0392b;
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive Design */
@media (max-width: 992px) {
    .hero h1 {
        font-size: 2.8rem;
    }
    
    .nav-menu {
        position: fixed;
        top: 80px;
        left: -100%;
        width: 100%;
        flex-direction: column;
        background: var(--light);
        padding: 20px;
        box-shadow: var(--shadow);
        transition: var(--transition);
        gap: 0;
        max-height: calc(100vh - 80px);
        overflow-y: auto;
        z-index: 999;
    }
    
    .nav-menu.active {
        left: 0;
    }
    
    .nav-item {
        width: 100%;
        margin-bottom: 0;
    }
    
    .cta-nav {
        margin-left: 0;
        margin-top: 15px;
        width: 100%;
    }
    
    .cta-nav .btn {
        width: 100%;
    }
    
    .nav-link {
        padding: 12px 15px;
        border-radius: var(--border-radius);
        color: var(--dark) !important;
        width: 100%;
        display: block;
    }
    
    .nav-link::after {
        display: none;
    }
    
    .nav-link:hover {
        background: var(--gray);
    }
    
    .menu-toggle {
        display: block;
    }
    
    .menu-toggle.active span:nth-child(1) {
        transform: rotate(45deg) translate(8px, 8px);
    }
    
    .menu-toggle.active span:nth-child(2) {
        opacity: 0;
    }
    
    .menu-toggle.active span:nth-child(3) {
        transform: rotate(-45deg) translate(7px, -7px);
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .btn {
        width: 100%;
        max-width: 300px;
        justify-content: center;
    }
}

@media (max-width: 768px) {
    .hero {
        padding: 140px 0 80px;
    }
    
    .hero h1 {
        font-size: 2.2rem;
    }
    
    .section {
        padding: 80px 0;
    }
    
    .section-title h2 {
        font-size: 2rem;
    }
    
    .form-container {
        padding: 30px 20px;
    }
}

@media (max-width: 600px) {
    /* General */
    body {
        font-size: 14px;
    }
    
    .container {
        padding: 0 15px;
    }
    
    /* Header & Navigation */
    .navbar .container {
        padding: 10px 15px;
    }
    
    .logo-text {
        gap: 2px;
    }
    
    .logo-main {
        font-size: 1.4rem;
    }
    
    .logo-icon {
        font-size: 1.8rem;
    }
    
    .logo-sub {
        font-size: 0.65rem;
    }
    
    .nav-menu {
        position: fixed;
        top: 70px;
        left: -100%;
        width: 100%;
        flex-direction: column;
        background: var(--light);
        padding: 20px;
        box-shadow: var(--shadow);
        transition: var(--transition);
        gap: 0;
        max-height: calc(100vh - 70px);
        overflow-y: auto;
        z-index: 999;
    }
    
    .nav-menu.active {
        left: 0;
    }
    
    .nav-item {
        width: 100%;
        margin-bottom: 0;
    }
    
    .cta-nav {
        margin-left: 0;
        margin-top: 15px;
        width: 100%;
    }
    
    .cta-nav .btn {
        width: 100%;
        padding: 12px 15px;
    }
    
    .nav-link {
        padding: 12px 15px;
        border-radius: var(--border-radius);
        color: var(--dark) !important;
        width: 100%;
        display: block;
    }
    
    .nav-link::after {
        display: none;
    }
    
    .nav-link:hover {
        background: var(--gray);
        color: var(--primary) !important;
    }
    
    .menu-toggle {
        display: block;
    }
    
    .menu-toggle span {
        width: 22px;
        height: 2.5px;
    }
    
    .menu-toggle.active span:nth-child(1) {
        transform: rotate(45deg) translate(6px, 6px);
    }
    
    .menu-toggle.active span:nth-child(2) {
        opacity: 0;
    }
    
    .menu-toggle.active span:nth-child(3) {
        transform: rotate(-45deg) translate(5px, -5px);
    }
    
    /* Hero Section */
    .hero {
        padding: 120px 0 70px;
    }
    
    .hero h1 {
        font-size: 1.8rem;
        margin-bottom: 15px;
        line-height: 1.3;
    }
    
    .hero p {
        font-size: 1rem;
        margin-bottom: 30px;
    }
    
    .hero-buttons {
        flex-direction: column;
        gap: 15px;
    }
    
    .btn {
        width: 100%;
        padding: 12px 20px;
        font-size: 0.95rem;
    }
    
    /* Sections */
    .section {
        padding: 60px 0;
    }
    
    .section-title h2 {
        font-size: 1.8rem;
        margin-bottom: 10px;
    }
    
    .section-title h2::after {
        width: 60px;
    }
    
    .section-title p {
        font-size: 0.95rem;
    }
    
    .section-title {
        margin-bottom: 40px;
    }
    
    /* Features Grid */
    .features-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .feature-card {
        padding: 30px 20px;
        margin-bottom: 10px;
    }
    
    .feature-card h3 {
        font-size: 1.3rem;
        margin-bottom: 12px;
    }
    
    .feature-card p {
        font-size: 0.95rem;
        margin-bottom: 12px;
    }
    
    .feature-card ul {
        font-size: 0.9rem;
    }
    
    .feature-card ul li {
        margin-bottom: 8px;
    }
    
    .feature-icon1 {
        width: 70px;
        height: 70px;
        font-size: 2rem;
    }
    
    .feature-icon1 {
        width: 70px;
        height: 70px;
        font-size: 1.8rem;
    }
    
    /* About Section */
    div[style*="grid-template-columns: 1fr 1fr"] {
        flex-direction: column;
    }
    
    div[style*="grid-template-columns: 1fr 1fr"] > div:first-child {
        order: 1;
    }
    
    div[style*="grid-template-columns: 1fr 1fr"] > div:last-child {
        order: 2;
    }
    
    div[style*="grid-template-columns: 1fr 1fr"] > div:last-child h3 {
        font-size: 1.3rem;
        margin-bottom: 15px !important;
    }
    
    div[style*="grid-template-columns: 1fr 1fr"] > div:last-child p {
        font-size: 0.95rem !important;
        line-height: 1.6;
    }
    
    [style*="height: 500px"] {
        height: 300px !important;
    }
    
    /* Form Container */
    .form-container {
        padding: 30px 20px;
        margin: 20px 0;
    }
    
    .form-group {
        margin-bottom: 20px;
    }
    
    .form-label {
        font-size: 0.95rem;
    }
    
    .form-control {
        padding: 12px 15px;
        font-size: 16px; /* Prevents zoom on iOS */
    }
    
    textarea.form-control {
        min-height: 120px;
    }
    
    /* Contact Info */
    .contact-info {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .contact-card {
        padding: 25px 20px;
    }
    
    .contact-icon {
        width: 50px;
        height: 50px;
        font-size: 1.3rem;
    }
    
    /* Footer */
    .footer {
        padding: 60px 0 20px;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .footer-links h3,
    .footer-contact h3 {
        font-size: 1.1rem;
        margin-bottom: 15px;
    }
    
    .footer-links li {
        margin-bottom: 10px;
    }
    
    .footer-links a {
        font-size: 0.95rem;
    }
    
    .footer-contact p {
        font-size: 0.95rem;
        gap: 12px;
    }
    
    /* Testimonials Grid */
    .feature-card {
        text-align: left;
    }
    
    .feature-card img {
        width: 50px;
        height: 50px;
    }
    
    /* Messages */
    .message {
        flex-direction: column;
        padding: 12px 15px;
        font-size: 0.95rem;
    }
}

@media (max-width: 480px) {
    .hero h1 {
        font-size: 1.6rem;
    }
    
    .section-title h2 {
        font-size: 1.6rem;
    }
    
    .logo-main {
        font-size: 1.2rem;
    }
    
    .logo-icon {
        font-size: 1.6rem;
    }
    
    .btn {
        padding: 10px 18px;
        font-size: 0.9rem;
    }
    
    .feature-card h3 {
        font-size: 1.1rem;
    }
    
    /* Ensure better touch targets */
    .nav-link {
        min-height: 44px;
        display: flex;
        align-items: center;
    }
    
    .btn {
        min-height: 44px;
        display: flex;
        align-items: center;
        justify-content: center;
    }
}