/* Custom CSS for Smart School App - Enhanced by a Senior Frontend Developer */
:root {
    /* Core color palette */
    --primary-color: #4A6FDC;
    --primary-dark: #3D5BC6;
    --primary-light: #7990E9;
    --secondary-color: #303B5A;
    --accent-color: #53C2AF;
    
    /* Text colors */
    --text-primary: #333;
    --text-secondary: #555;
    --text-light: #666;
    --text-on-dark: #fff;
    
    /* Background colors - more varied palette */
    --bg-main: #F4F4F6;
    --bg-light: #fff;
    --bg-subtle: #EAECF2;
    --bg-accent: #F7FAFF;
    
    /* UI elements */
    --card-bg: #fff;
    --border-color: rgba(0, 0, 0, 0.08);
    --divider-color: rgba(0, 0, 0, 0.06);
    
    /* Shadows */
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 5px 15px rgba(0, 0, 0, 0.07);
    --shadow-lg: 0 10px 25px rgba(0, 0, 0, 0.1);
    --shadow-hover: 0 15px 35px rgba(0, 0, 0, 0.12);
    
    /* Transitions */
    --transition-fast: all 0.2s ease;
    --transition-normal: all 0.3s ease;
    --transition-slow: all 0.4s ease;
    
    /* Spacing */
    --section-spacing: 80px 0;
    --content-spacing: 30px;

@media (max-width: 991px) {
    .section-padding {
        padding: 60px 0;
    }
    
    .hero {
        padding: 80px 0 50px;
        border-radius: 0 0 20% 0;
    }
    
    .section-header h2 {
        font-size: 2rem;
    }
    
    .phone-mockup {
        width: 220px;
        height: 440px;
        transform: perspective(800px) rotateY(-10deg) rotateX(5deg);
        margin-top: 30px;
    }
    
    .about-img::after {
        display: none;
    }
    
    .service-icon {
        width: 50px;
        height: 50px;
    }
    
    .contact-info-card {
        padding: 25px;
    }
    
    .login-form {
        padding: 25px;
    }
}

@media (max-width: 767px) {
    .section-padding {
        padding: 50px 0;
    }
    
    .hero {
        padding: 60px 0 40px;
        border-radius: 0 0 15% 0;
    }
    
    .section-header h2 {
        font-size: 1.8rem;
    }
    
    .hero h1 {
        font-size: 2.2rem;
    }
    
    .about-img {
        margin-bottom: 30px;
    }
    
    .about-img img {
        width: 80%;
        margin: 0 auto;
        display: block;
    }
    
    .feature-card {
        padding: 30px 20px;
        margin-bottom: 20px;
    }
    
    .service-item {
        margin-bottom: 15px;
    }
    
    .contact-info-card {
        margin-bottom: 20px;
    }
    
    .login-form {
        margin-bottom: 20px;
    }
}

@media (max-width: 575px) {
    .section-padding {
        padding: 40px 0;
    }
    
    .hero {
        padding: 50px 0 30px;
        border-radius: 0;
    }
    
    .phone-mockup {
        width: 180px;
        height: 360px;
        transform: none;
        margin-top: 30px;
    }
    
    .phone-mockup:hover {
        transform: translateY(-5px);
    }
    
    .section-header h2 {
        font-size: 1.6rem;
    }
    
    .hero h1 {
        font-size: 1.8rem;
    }
    
    .feature-icon {
        width: 60px;
        height: 60px;
        line-height: 60px;
        font-size: 24px;
    }
    
    .service-item {
        flex-direction: column;
        padding: 20px;
    }
    
    .service-icon {
        margin-bottom: 15px;
        margin-left: 0;
    }
    
    .contact-detail {
        flex-direction: column;
    }
    
    .contact-detail i {
        margin-bottom: 10px;
        margin-left: 0;
    }
    
    .login-form {
        padding: 20px;
    }
    
    .login-form input {
        padding: 12px 15px;
    }
    
    .login-form .btn {
        height: 45px;
        font-size: 1rem;
    }
}

/* Enhanced Accessibility */
:focus {
    outline: 3px solid rgba(74, 111, 220, 0.3);
    outline-offset: 2px;
}

/* Print Styles */
@media print {
    body {
        background: white;
        color: black;
    }
    
    .header, .phone-mockup, .btn, .service-icon, .feature-icon {
        display: none;
    }
    
    .container {
        width: 100%;
        max-width: 100%;
    }
    
    .section-padding {
        padding: 20px 0;
    }
    
    .service-item, .feature-card, .login-form, .contact-info-card {
        box-shadow: none;
        border: 1px solid #ddd;
        break-inside: avoid;
    }
}

/* Performance optimizations */
img, video {
    max-width: 100%;
    height: auto;
}

/* Add smooth scrolling to the entire page */
html {
    scroll-behavior: smooth;
}

/* Fix for Firefox form styling */
input::-moz-focus-inner {
    border: 0;
}
}

/* Global Styles */
body {
    font-family: 'Tajawal', 'Cairo', -apple-system, BlinkMacSystemFont, sans-serif;
    background: var(--bg-main);
    color: var(--text-primary);
    line-height: 1.6;
    direction: rtl;
    text-align: right;
    overflow-x: hidden;
    margin: 0;
    padding: 0;
}

h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.3;
    color: var(--secondary-color);
}

/* Gradient text for headings */
.display-4 {
    background: linear-gradient(90deg, var(--secondary-color), var(--primary-dark));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    color: transparent;
}

a {
    text-decoration: none;
    color: var(--primary-color);
    transition: var(--transition-fast);
}

a:hover {
    color: var(--primary-dark);
}

img {
    max-width: 100%;
}

.container {
    padding: 0 20px;
}

/* Header and Navigation */
.header {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    box-shadow: var(--shadow-md);
    transition: var(--transition-normal);
    position: sticky;
    top: 0;
    width: 100%;
    z-index: 1000;
}

.navbar {
    padding: 15px 0;
}

.navbar-scrolled {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    box-shadow: var(--shadow-lg);
}

.navbar-brand {
    display: flex;
    align-items: center;
}

.logo {
    width: 70px;
    height: auto;
    transition: var(--transition-normal);
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.1));
}

.logo:hover {
    transform: scale(1.05);
    filter: drop-shadow(0 4px 6px rgba(0, 0, 0, 0.15));
}

.navbar-toggler {
    border: none;
    color: var(--text-on-dark);
    font-size: 1.5rem;
    padding: 0.25rem 0.5rem;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 4px;
}

.navbar-toggler:focus {
    box-shadow: none;
    outline: none;
}

.nav-link {
    color: var(--text-on-dark);
    font-weight: 600;
    padding: 8px 15px;
    margin: 0 5px;
    position: relative;
    transition: var(--transition-normal);
    opacity: 0.9;
}

.nav-link:hover {
    color: var(--text-on-dark);
    transform: translateY(-2px);
    opacity: 1;
}

.nav-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 3px;
    background: var(--text-on-dark);
    bottom: 0;
    right: 0;
    transition: var(--transition-normal);
    border-radius: 5px;
    opacity: 0.7;
}

.nav-link:hover::after {
    width: 100%;
    opacity: 1;
}

/* Main Container */
.main-container {
    padding-top: 30px;
    overflow: hidden;
}

/* Section Styles */
.section-padding {
    padding: var(--section-spacing);
}

.section-header {
    margin-bottom: 50px;
    position: relative;
    text-align: center;
}

.section-header h2 {
    font-size: 2.5rem;
    color: var(--secondary-color);
    font-weight: 700;
    position: relative;
    display: inline-block;
    padding-bottom: 10px;
}

.divider {
    height: 4px;
    width: 70px;
    background: linear-gradient(90deg, var(--primary-light), var(--primary-color));
    border-radius: 5px;
    margin-top: 15px;
    position: relative;
    display: inline-block;
}

.divider::before {
    content: '';
    position: absolute;
    width: 12px;
    height: 12px;
    background: var(--primary-color);
    border-radius: 50%;
    top: -4px;
    right: -5px;
}

/* Hero Section */
.hero {
    padding: 100px 0 70px;
    position: relative;
    background: linear-gradient(135deg, var(--bg-accent) 0%, var(--bg-subtle) 100%);
    overflow: hidden;
    border-radius: 0 0 30% 0;
    margin-bottom: 40px;
}

.hero::before,
.hero::after {
    content: '';
    position: absolute;
    border-radius: 50%;
    z-index: 0;
}

.hero::before {
    top: -50px;
    left: -50px;
    width: 200px;
    height: 200px;
    background: linear-gradient(135deg, rgba(74, 111, 220, 0.1), rgba(83, 194, 175, 0.05));
    animation: float 8s ease-in-out infinite;
}

.hero::after {
    bottom: -100px;
    right: -100px;
    width: 300px;
    height: 300px;
    background: linear-gradient(135deg, rgba(83, 194, 175, 0.05), rgba(74, 111, 220, 0.08));
    animation: float 12s ease-in-out infinite alternate;
}

@keyframes float {
    0% { transform: translateY(0) rotate(0deg); }
    50% { transform: translateY(-20px) rotate(5deg); }
    100% { transform: translateY(0) rotate(0deg); }
}

.hero-content {
    position: relative;
    z-index: 1;
}

.hero h1 {
    margin-bottom: 20px;
    font-weight: 800;
    line-height: 1.2;
}

.hero p {
    margin-bottom: 30px;
    color: var(--text-secondary);
    font-size: 1.1rem;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    border: none;
    border-radius: 50px;
    padding: 12px 30px;
    font-weight: 600;
    color: var(--text-on-dark);
    transition: var(--transition-normal);
    position: relative;
    overflow: hidden;
    z-index: 1;
    box-shadow: 0 4px 12px rgba(74, 111, 220, 0.2);
}

.btn-primary::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 0%;
    height: 100%;
    background: var(--primary-dark);
    transition: var(--transition-normal);
    z-index: -1;
    border-radius: 50px;
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 16px rgba(74, 111, 220, 0.3);
}

.btn-primary:hover::before {
    width: 100%;
}

/* Phone Mockup - Enhanced with modern design */
.phone-mockup {
    position: relative;
    width: 280px;
    height: 560px;
    background: var(--secondary-color);
    border-radius: 40px;
    padding: 10px;
    margin: 0 auto;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.25);
    transition: var(--transition-normal);
    border: 1px solid rgba(255, 255, 255, 0.1);
    transform: perspective(800px) rotateY(-15deg) rotateX(5deg);
}

.phone-mockup:before {
    content: '';
    position: absolute;
    width: 120px;
    height: 25px;
    background: var(--secondary-color);
    left: 50%;
    transform: translateX(-50%);
    top: 0;
    border-radius: 0 0 15px 15px;
    z-index: 2;
}

.phone-mockup:after {
    content: '';
    position: absolute;
    width: 50px;
    height: 5px;
    background: rgba(255, 255, 255, 0.2);
    left: 50%;
    transform: translateX(-50%);
    bottom: 12px;
    border-radius: 5px;
}

.phone-screen {
    width: 100%;
    height: 100%;
    background: var(--bg-light);
    border-radius: 30px;
    overflow: hidden;
    position: relative;
}

.app-screen-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-normal);
}

.phone-mockup:hover {
    transform: perspective(800px) rotateY(-5deg) rotateX(0deg) translateY(-10px);
    box-shadow: 0 40px 70px rgba(0, 0, 0, 0.3);
}

.phone-mockup:hover .app-screen-image {
    transform: scale(1.02);
}

/* About Section */
.about {
    background: linear-gradient(135deg, var(--bg-main) 0%, var(--bg-subtle) 100%);
    position: relative;
    overflow: hidden;
}

.about::before {
    content: '';
    position: absolute;
    width: 300px;
    height: 300px;
    background: linear-gradient(135deg, rgba(74, 111, 220, 0.03), rgba(83, 194, 175, 0.02));
    border-radius: 50%;
    top: -150px;
    right: -150px;
    z-index: 0;
}

.about-img img {
    transition: var(--transition-normal);
    width: 90%;
    height: auto;
    border-radius: 10px;
    box-shadow: var(--shadow-md);
}

.about-img {
    position: relative;
}

.about-img::after {
    content: '';
    position: absolute;
    width: 90%;
    height: 100%;
    border: 3px solid var(--primary-light);
    border-radius: 10px;
    top: 15px;
    left: 5%;
    z-index: -1;
}

.about-img:hover img {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
}

.about-content {
    padding: 20px;
}

.about-content h3 {
    color: var(--primary-dark);
    margin-bottom: 20px;
    font-weight: 700;
    position: relative;
    padding-right: 15px;
}

.about-content h3::before {
    content: '';
    position: absolute;
    width: 5px;
    height: 25px;
    background: var(--primary-color);
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    border-radius: 5px;
}

.about-content p {
    margin-bottom: 20px;
    line-height: 1.8;
    color: var(--text-secondary);
}

.about-content .lead {
    color: var(--secondary-color);
    font-weight: 500;
}

.about-content i {
    color: var(--accent-color);
    font-size: 1.2rem;
    background: rgba(83, 194, 175, 0.1);
    width: 30px;
    height: 30px;
    line-height: 30px;
    text-align: center;
    border-radius: 50%;
}

/* Services Section */
.services {
    background: var(--bg-accent);
    position: relative;
}

.services::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100px;
    background: linear-gradient(to bottom, transparent, var(--bg-main));
    z-index: 0;
}

.services-content {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 25px;
    position: relative;
    z-index: 1;
}

.service-item {
    display: flex;
    background: var(--card-bg);
    padding: 25px;
    border-radius: 12px;
    box-shadow: var(--shadow-sm);
    transition: var(--transition-normal);
    height: 100%;
    align-items: flex-start;
    position: relative;
    overflow: hidden;
    border: 1px solid var(--border-color);
}

.service-item::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
    bottom: 0;
    right: 0;
    transition: var(--transition-normal);
    z-index: 0;
}

.service-item:hover::before {
    height: 5px;
}

.service-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
    background: linear-gradient(to bottom, var(--card-bg), var(--bg-subtle));
}

.service-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    background: rgba(74, 111, 220, 0.1);
    border-radius: 12px;
    margin-left: 20px;
    flex-shrink: 0;
    transition: var(--transition-normal);
}

.service-item:hover .service-icon {
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    border-radius: 50%;
    transform: rotate(10deg);
}

.service-icon i {
    font-size: 24px;
    color: var(--primary-color);
    transition: var(--transition-normal);
}

.service-item:hover .service-icon i {
    color: var(--text-on-dark);
}

.service-text {
    flex: 1;
}

.service-text h4 {
    color: var(--primary-dark);
    margin-bottom: 12px;
    font-size: 1.2rem;
    font-weight: 700;
    transition: var(--transition-normal);
}

.service-item:hover .service-text h4 {
    color: var(--primary-color);
}

.service-text p {
    margin-bottom: 0;
    color: var(--text-secondary);
    line-height: 1.6;
}

/* Features Section */
.features {
    background: linear-gradient(135deg, var(--bg-subtle) 0%, var(--bg-main) 100%);
    position: relative;
    z-index: 1;
}

.feature-card {
    background: var(--card-bg);
    padding: 40px 25px;
    border-radius: 16px;
    box-shadow: var(--shadow-sm);
    height: 100%;
    transition: var(--transition-normal);
    position: relative;
    overflow: hidden;
    border: 1px solid var(--border-color);
    z-index: 1;
}

.feature-card::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 0;
    background: linear-gradient(135deg, rgba(74, 111, 220, 0.03), rgba(83, 194, 175, 0.03));
    bottom: 0;
    left: 0;
    transition: var(--transition-normal);
    z-index: -1;
}

.feature-card:hover::before {
    height: 100%;
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
}

.feature-icon {
    width: 80px;
    height: 80px;
    line-height: 80px;
    font-size: 30px;
    background: rgba(74, 111, 220, 0.1);
    color: var(--primary-color);
    border-radius: 20px;
    margin: 0 auto 25px;
    transition: var(--transition-normal);
    position: relative;
    overflow: hidden;
}

.feature-icon::before {
    content: '';
    position: absolute;
    width: 150%;
    height: 150%;
    background: radial-gradient(circle, rgba(74, 111, 220, 0.1) 0%, transparent 70%);
    top: -25%;
    left: -25%;
    animation: pulse 3s ease-in-out infinite;
}

@keyframes pulse {
    0% { transform: scale(0.8); opacity: 0.5; }
    50% { transform: scale(1.2); opacity: 0.8; }
    100% { transform: scale(0.8); opacity: 0.5; }
}

.feature-card:hover .feature-icon {
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    color: var(--text-on-dark);
    border-radius: 50%;
    transform: rotate(360deg);
}

.feature-card h3 {
    font-size: 1.3rem;
    margin-bottom: 15px;
    color: var(--secondary-color);
    font-weight: 700;
    transition: var(--transition-normal);
}

.feature-card:hover h3 {
    color: var(--primary-dark);
}

.feature-card p {
    color: var(--text-secondary);
    margin-bottom: 0;
    line-height: 1.6;
}

/* Contact Section */
.contact {
    background: var(--bg-main);
    position: relative;
}

.contact-wrapper {
    background: var(--card-bg);
    border-radius: 16px;
    box-shadow: var(--shadow-md);
    overflow: hidden;
    position: relative;
    border: 1px solid var(--border-color);
}

.contact-wrapper::before,
.contact-wrapper::after {
    content: '';
    position: absolute;
    border-radius: 50%;
    z-index: 0;
}

.contact-wrapper::before {
    width: 200px;
    height: 200px;
    background: radial-gradient(circle, rgba(74, 111, 220, 0.05) 0%, transparent 70%);
    top: -100px;
    right: -100px;
}

.contact-wrapper::after {
    width: 150px;
    height: 150px;
    background: radial-gradient(circle, rgba(83, 194, 175, 0.05) 0%, transparent 70%);
    bottom: -50px;
    left: -50px;
}

.contact-info-card {
    padding: 35px;
    height: 100%;
    position: relative;
    z-index: 1;
    transition: var(--transition-normal);
}

.contact-info-header {
    display: flex;
    align-items: center;
    margin-bottom: 25px;
    padding-bottom: 15px;
    border-bottom: 2px solid rgba(74, 111, 220, 0.1);
}

.contact-info-header i {
    font-size: 24px;
    color: var(--primary-color);
    margin-left: 15px;
    background: rgba(74, 111, 220, 0.1);
    width: 45px;
    height: 45px;
    line-height: 45px;
    text-align: center;
    border-radius: 10px;
    transition: var(--transition-normal);
}

.contact-info-card:hover .contact-info-header i {
    background: var(--primary-color);
    color: var(--text-on-dark);
    border-radius: 50%;
    transform: rotate(15deg);
}

.contact-info-header h3 {
    font-size: 1.5rem;
    color: var(--secondary-color);
    margin-bottom: 0;
    font-weight: 700;
}

.contact-info-content {
    text-align: center;
    padding: 20px 0;
}

.contact-info-content h4 {
    color: var(--secondary-color);
    font-weight: 700;
    margin-bottom: 10px;
}

.contact-info-content .lead {
    color: var(--primary-dark);
    margin-bottom: 20px;
    font-weight: 600;
}

.company-details {
    margin-top: 20px;
}

.company-logo {
    width: 120px;
    height: auto;
    margin: 15px auto 0;
    display: block;
    transition: var(--transition-normal);
    filter: drop-shadow(0 2px 5px rgba(0, 0, 0, 0.1));
}

.company-logo:hover {
    transform: scale(1.1);
    filter: drop-shadow(0 5px 10px rgba(0, 0, 0, 0.15));
}

.contact-info-details {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.contact-detail {
    display: flex;
    align-items: flex-start;
    padding: 15px 0;
    border-bottom: 1px dashed rgba(74, 111, 220, 0.2);
    transition: var(--transition-normal);
}

.contact-detail:last-child {
    border-bottom: none;
}

.contact-detail:hover {
    transform: translateX(-5px);
}

.contact-detail i {
    width: 40px;
    height: 40px;
    line-height: 40px;
    text-align: center;
    background: rgba(74, 111, 220, 0.1);
    color: var(--primary-color);
    border-radius: 10px;
    margin-left: 15px;
    transition: var(--transition-normal);
}

.contact-detail:hover i {
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    color: var(--text-on-dark);
    border-radius: 50%;
    transform: rotate(15deg);
}

.contact-detail h5 {
    color: var(--primary-dark);
    font-weight: 600;
    margin-bottom: 5px;
}

.contact-detail p {
    margin-bottom: 5px;
    color: var(--text-secondary);
}

.contact-detail a {
    color: var(--primary-color);
    text-decoration: none;
    transition: var(--transition-normal);
}

.contact-detail a:hover {
    color: var(--primary-dark);
    text-decoration: underline;
}

.social-link {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    background: rgba(74, 111, 220, 0.1);
    padding: 8px 15px;
    border-radius: 50px;
    transition: var(--transition-normal);
    color: var(--primary-color);
}

.social-link:hover {
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    color: var(--text-on-dark);
    transform: translateY(-3px);
    text-decoration: none !important;
}

/* Login Section */
.login {
    background: linear-gradient(135deg, var(--bg-accent) 0%, var(--bg-subtle) 100%);
    position: relative;
    overflow: hidden;
}

.login::before,
.login::after {
    content: '';
    position: absolute;
    width: 300px;
    height: 300px;
    background: rgba(74, 111, 220, 0.03);
    border-radius: 50%;
    z-index: 0;
}

.login::before {
    top: -150px;
    left: -150px;
}

.login::after {
    bottom: -150px;
    right: -150px;
    background: rgba(83, 194, 175, 0.03);
}

.login-form {
    background: var(--card-bg);
    padding: 35px;
    border-radius: 16px;
    box-shadow: var(--shadow-md);
    transition: var(--transition-normal);
    height: 100%;
    position: relative;
    overflow: hidden;
    z-index: 1;
    border: 1px solid var(--border-color);
}

.login-form::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 5px;
    background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
    top: 0;
    left: 0;
    z-index: -1;
}

.login-form:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
}

.login-form h3 {
    color: var(--secondary-color);
    text-align: center;
    margin-bottom: 25px;
    font-weight: 700;
    position: relative;
    padding-bottom: 15px;
}

.login-form h3::after {
    content: '';
    position: absolute;
    width: 50px;
    height: 3px;
    background: var(--primary-color);
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    border-radius: 5px;
}

.login-form input {
    padding: 14px 18px;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    margin-bottom: 20px;
    transition: var(--transition-normal);
    background-color: var(--bg-subtle);
    color: var(--text-primary);
    font-size: 1rem;
}

.login-form input:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(74, 111, 220, 0.15);
    background-color: var(--bg-light);
    outline: none;
}

.login-form .btn {
    height: 50px;
    font-size: 1.1rem;
}

/* Designer Section - Improved */
.designer {
    background: linear-gradient(135deg, var(--bg-subtle) 0%, var(--bg-main) 100%);
    position: relative;
    overflow: hidden;
}

.designer::before,
.designer::after {
    content: '';
    position: absolute;
    border-radius: 50%;
    z-index: 0;
}

.designer::before {
    width: 200px;
    height: 200px;
    background: radial-gradient(circle, rgba(74, 111, 220, 0.05) 0%, transparent 70%);
    top: -100px;
    left: -100px;
}

.designer::after {
    width: 150px;
    height: 150px;
    background: radial-gradient(circle, rgba(83, 194, 175, 0.05) 0%, transparent 70%);
    bottom: -50px;
    right: -50px;
}

/* Designer logo - size reduced */
.designer-logo {
    width: 100px;
    height: 100px;
    object-fit: cover;
    margin: 0 auto 20px;
    transition: var(--transition-normal);
    border-radius: 50%; /* Changed to circular shape */
    box-shadow: var(--shadow-sm);
    filter: drop-shadow(0 2px 5px rgba(0, 0, 0, 0.1));
    border: 3px solid rgba(74, 111, 220, 0.1); /* Added border */
}

.designer-logo:hover {
    transform: scale(1.05);
    filter: drop-shadow(0 5px 10px rgba(0, 0, 0, 0.15));
    box-shadow: var(--shadow-md);
    border-color: var(--primary-light);
}

/* Phone number styling */
.phone-number {
    display: flex;
    align-items: center;
    margin-bottom: 0;
    color: var(--text-secondary);
}

/* Flag icon styling */
.flag-icon {
    font-size: 0.85rem;
    color: var(--primary-color);
    background: rgba(74, 111, 220, 0.1);
    width: 22px;
    height: 22px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-left: 10px;
    transition: var(--transition-normal);
}

.contact-detail:hover .flag-icon {
    background: var(--primary-color);
    color: var(--text-on-dark);
    transform: rotate(10deg);
}

@media (max-width: 575px) {
    .designer-logo {
        width: 80px;
        height: 80px;
    }
    
    .phone-number {
        justify-content: center;
    }
}

/* Ensure consistent styling with contact section */
.designer .contact-info-card {
    background: var(--card-bg);
    border-radius: 16px;
    box-shadow: var(--shadow-md);
    overflow: hidden;
    position: relative;
    border: 1px solid var(--border-color);
    transition: var(--transition-normal);
}

.designer .contact-info-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
}

/* Media queries for the designer section */
@media (max-width: 767px) {
    .designer .contact-info-card {
        margin-bottom: 20px;
    }
}

@media (max-width: 575px) {
    .designer .contact-detail {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
    
    .designer .contact-detail i {
        margin-bottom: 10px;
        margin-left: 0;
    }
    
    .designer-logo {
        max-width: 120px;
    }
}

/* Scroll Animation Classes */
.scroll-hidden {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s cubic-bezier(0.215, 0.61, 0.355, 1);
}

.scroll-visible {
    opacity: 1;
    transform: translateY(0);
}

/* Responsive Styles */
@media (max-width: 1199px) {
    .section-padding {
        padding: 70px 0;
    }
    
    .section-header h2 {
        font-size: 2.2rem;
    }
    
    .services-content {
        grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    }
    
    .phone-mockup {
        width: 250px;
        height: 500px;
    }
}

@media (max-width: 575px) {
    .designer .contact-detail .d-flex {
        justify-content: center;
    }
    
    .designer-logo {
        max-width: 100px;
        height: 100px;
    }
}