/* Variables */
:root {
    --primary: #FFD700;       /* Yellow */
    --primary-dark: #FFC000;  /* Darker yellow for hover states */
    --secondary: #000080;     /* Dark Navy Blue */
    --secondary-light: #1A237E; /* Lighter navy for hover states */
    --text: #333333;          /* Dark gray for text */
    --light-gray: #f5f5f5;    /* Light gray for backgrounds */
    --white: #ffffff;         /* White */
}

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

body { 
    font-family: 'Segoe UI', 'Roboto', sans-serif; 
    line-height: 1.7; 
    color: var(--text);
    background-color: var(--white);
}

/* Navigation */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 8%;
    background-color: var(--secondary);
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary);
    text-decoration: none;
}

.logo-img {
    width: 40px;
    height: 40px;
    border-radius: 8px;
    object-fit: cover;
}

.nav-links { 
    list-style: none; 
    display: flex; 
    align-items: center;
}

.nav-links li { 
    margin-left: 30px; 
}

.nav-links a { 
    text-decoration: none; 
    color: var(--white);
    font-weight: 500;
    font-size: 1rem;
    transition: color 0.3s ease;
    position: relative;
    padding: 5px 0;
}

.nav-links a:after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: 0;
    left: 0;
    background-color: var(--primary);
    transition: width 0.3s ease;
}

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

.nav-links a:hover:after {
    width: 100%;
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, var(--secondary) 0%, #1a237e 100%);
    color: white;
    padding: 100px 8% 120px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIxMDAlIiBoZWlnaHQ9IjEwMCUiPjxkZWZzPjxwYXR0ZXJuIGlkPSJwYXR0ZXJuIiB3aWR0aD0iNDAiIGhlaWdodD0iNDAiIHBhdHRlcm5Vbml0cz0idXNlclNwYWNlT25Vc2UiIHBhdHRlcm5UcmFuc2Zvcm09InJvdGF0ZSg0NSkiPjxyZWN0IHdpZHRoPSIyMCIgaGVpZ2h0PSIyMCIgZmlsbD0icmdiYSgyNTUsMjU1LDI1NSwwLjAzKSIvPjwvcGF0dGVybj48L2RlZnM+PHJlY3Qgd2lkdGg9IjEwMCUiIGhlaWdodD0iMTAwJSIgZmlsbD0idXJsKCNwYXR0ZXJuKSIvPjwvc3ZnPg==');
    opacity: 0.3;
}

.hero-content {
    max-width: 600px;
    z-index: 1;
    animation: fadeInUp 1s ease;
}

.hero h1 {
    font-size: 3.2rem;
    margin-bottom: 20px;
    color: var(--white);
    line-height: 1.2;
    text-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 30px;
    opacity: 0.9;
    line-height: 1.7;
}

.hero-image {
    width: 35%;
    max-width: 500px;
    animation: fadeInRight 1s ease;
    position: relative;
    z-index: 1;
}

.hero-image img {
    width: 100%;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.2);
    transition: transform 0.5s ease;
    object-fit: cover;
}


.hero-image:hover img {
    transform: translateY(-10px);
}

/* Buttons */
.btn-delete, .btn-primary, .btn-secondary {
    padding: 14px 28px;
    border-radius: 8px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
    display: inline-block;
    text-align: center;
    font-size: 0.95rem;
    margin: 0 10px 10px 0;
}

.btn-primary {
    background-color: var(--primary);
    color: var(--secondary) !important;
    box-shadow: 0 4px 15px rgba(255, 215, 0, 0.3);
}

.btn-primary:hover {
    background-color: var(--primary-dark);
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(255, 215, 0, 0.4);
}

.btn-secondary {
    background-color: transparent;
    color: white !important;
    border: 2px solid white;
    padding: 12px 26px;
}

.btn-secondary:hover {
    background-color: rgba(255, 255, 255, 0.1);
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
}

.btn-delete {
    font-size: 0.8rem !important;  /* Smaller font size with !important */
    padding: 8px 18px !important;  /* Slightly smaller padding to match */
    background-color: #e74c3c;
    color: white !important;
    text-transform: none !important;  /* Prevents uppercase transformation if any */
}

.btn-delete:hover {
    background-color: #c0392b;
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
}

/* Main Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 8%;
}

.section h1:first-child {
    padding-top: 30px;  /* Adds space above the h1 */
}


/* Features Section */
.features-section {
    padding: 100px 0;
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 60px;
    color: var(--secondary);
    position: relative;
    padding-bottom: 15px;
}

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

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr)); /* Increased min width from 250px to 350px */
    gap: 40px;
    margin: 50px auto;
    max-width: 1400px; /* Added max-width for better control on larger screens */
    padding: 0 20px; /* Add some padding on the sides */
}

.feature-card {
    background: white;
    border-radius: 12px;
    padding: 40px 30px; /* Slightly more horizontal padding */
    text-align: center;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    border: 1px solid rgba(0,0,0,0.05);
    height: 100%; /* Make sure all cards have the same height */
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between; /* Better content distribution */    
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.1);
    border-color: var(--primary);
}

.feature-image {
    width: 300px;
    height: 300px;
    margin: 0 auto 25px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 215, 0, 0.1);
    border-radius: 50%;
    transition: all 0.3s ease;
}

.feature-card:hover .feature-image {
    background: var(--primary);
}

.feature-image img {
    width: 70%;
    height: 70%;
    object-fit: contain;
    transition: transform 0.3s ease;
}

.feature-card:hover .feature-image img {
    transform: scale(1.1); /* Slight zoom on hover */
}

.feature-card h3 {
    font-size: 1.4rem;
    margin-bottom: 15px;
    color: var(--secondary);
}

.feature-card p {
    color: #666;
    font-size: 1rem;
    line-height: 1.6;
}

/* How It Works Section */
.how-it-works {
    padding: 100px 0;
    background-color: var(--light-gray);
}

.steps {
    display: flex;
    justify-content: space-between;
    margin-top: 50px;
    flex-wrap: wrap;
    gap: 30px;
}

.step {
    flex: 1;
    min-width: 250px;
    text-align: center;
    padding: 0 15px;
    position: relative;
}

.step:not(:last-child)::after {
    content: '→';
    position: absolute;
    right: -20px;
    top: 40px;
    font-size: 2rem;
    color: var(--primary);
    opacity: 0.5;
}

.step-number {
    width: 60px;
    height: 60px;
    background: var(--primary);
    color: var(--secondary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
    margin: 0 auto 20px;
    box-shadow: 0 5px 15px rgba(255, 215, 0, 0.3);
}

.step h3 {
    font-size: 1.4rem;
    margin-bottom: 15px;
    color: var(--secondary);
}

.step p {
    color: #666;
    line-height: 1.6;
}

/* Account delete */
.text-container {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
    padding: 20px;
}

.image-container {
    display: flex;
    flex-direction: column;
    align-items: center;  /* This centers items horizontally */
    justify-content: center; /* This will center items vertically if needed */
    gap: 20px;
    margin: 20px auto;  /* Changed from 20px 0 to auto on sides for centering */
    max-width: 90%;
    width: 100%;  /* Ensure container takes full width */
}
.delete-image {
    width: 500px;
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    display: block;  /* Ensures the image respects margin auto */
    margin: 0 auto;  /* Centers the image within its container */
}

/* Contact Section */
.contact-section {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 50px;
    padding: 80px 0;
}

.contact-info h2, .contact-form h2 {
    font-size: 2rem;
    margin-bottom: 30px;
    color: var(--secondary);
    position: relative;
    padding-bottom: 15px;
}

.contact-info h2::after, .contact-form h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px;
    height: 4px;
    background: var(--primary);
}

.contact-info p {
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    color: #555;
}

.contact-info i {
    margin-right: 15px;
    color: var(--primary);
    width: 20px;
    text-align: center;
}

.contact-form form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.contact-form input,
.contact-form textarea {
    padding: 15px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.contact-form input:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 2px rgba(255, 215, 0, 0.2);
}

.contact-form textarea {
    min-height: 150px;
    resize: vertical;
}

/* Footer */
footer {
    background-color: var(--secondary);
    color: white;
    padding: 70px 0 0;
    margin-top: 50px;
}

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

.footer-section h3 {
    color: var(--primary);
    font-size: 1.3rem;
    margin-bottom: 25px;
    position: relative;
    padding-bottom: 15px;
}

.footer-section h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 2px;
    background: var(--primary);
}

.footer-section a {
    display: block;
    color: #ddd;
    margin-bottom: 12px;
    transition: all 0.3s ease;
    text-decoration: none;
}

.footer-section a:hover {
    color: var(--primary);
    padding-left: 5px;
}

.social-links {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}

.social-links a {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    color: white;
    text-decoration: none;
}

.social-links a:hover {
    background: var(--primary);
    color: var(--secondary) !important;
    transform: translateY(-3px);
}

.copyright {
    text-align: center;
    padding: 25px 0;
    margin-top: 50px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 0.9rem;
    color: #aaa;
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Responsive Design */
@media (max-width: 1024px) {
    .hero {
        flex-direction: column;
        text-align: center;
        padding: 80px 5%;
    }
    
    .hero-content {
        margin-bottom: 40px;
        max-width: 100%;
    }
    
    .hero-image {
        width: 80%;
    }
    
    .step:not(:last-child)::after {
        display: none;
    }
    
    .contact-section {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .navbar {
        padding: 15px 5%;
    }
    
    .nav-links {
        display: none;
    }
    
    .hero h1 {
        font-size: 2.5rem;
    }
    
    .hero p {
        font-size: 1.1rem;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
    }
    
    .step {
        margin-bottom: 40px;
    }
    
    .step:last-child {
        margin-bottom: 0;
    }
    
    .contact-section {
        padding: 50px 0;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }
}

/* Cards */
.card {
    background: white;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    padding: 30px;
    margin-bottom: 30px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.card h3 {
    color: var(--secondary);
    margin-bottom: 15px;
    font-size: 1.5rem;
}